/********** Template CSS **********/
:root {
    --primary: #2563eb;
    --secondary: #1e40af;
    --accent: #f59e0b;
    --dark: #0f172a;
    --light: #f8fafc;
    --muted: #64748b;
    --glass: rgba(255, 255, 255, 0.85);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.owl-nav{
        display: flex;
    gap: 10px;
}
.owl-next, .owl-prev{
    display: flex;
    align-items: center;
    justify-content: center;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    background-color: #ffffff;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: var(--transition);
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 600;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background-color: var(--secondary);
    border-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-square {
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.btn-sm-square {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
    border-radius: 50%;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}


/*** Navbar ***/
.navbar {
    transition: var(--transition);
    padding: 15px 0;
}

.navbar.sticky-top {
    background: var(--glass) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    top: 0;
    box-shadow: var(--shadow-sm);
}

.navbar .navbar-brand img {
    max-height: 50px;
    transition: var(--transition);
}

.navbar .navbar-nav .nav-link {
    margin-left: 25px;
    padding: 10px 0;
    color: var(--dark);
    font-weight: 500;
    font-size: 1.05rem;
    position: relative;
}

.navbar .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 5px;
    left: 0;
    background-color: var(--primary);
    transition: var(--transition);
}

.navbar .navbar-nav .nav-link:hover::after,
.navbar .navbar-nav .nav-link.active::after {
    width: 100%;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.4));
    z-index: 1;
}

.display-4 {
    font-weight: 800;
    letter-spacing: -1px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        min-height: 450px;
    }

    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}


/*** Facts ***/
.facts {
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.facts::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
}


/*** Service ***/
.service-item {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-item .service-icon {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.service-item .service-icon img {
    max-width: 40px;
    filter: invert(30%) sepia(80%) saturate(2000%) hue-rotate(200deg);
}


/*** Testimonial ***/
.testimonial-carousel .testimonial-item {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow);
    margin: 15px;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    color: #ffffff;
    font-size: 20px;
    transition: var(--transition);
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
    transform: scale(1.1);
}


/*** Footer ***/
.footer {
    background-color: var(--dark);
    color: #cbd5e1;
}

.footer h1,
.footer h5 {
    color: #ffffff;
}

.footer .btn.btn-link {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition);
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    padding-left: 10px;
}

/*** Floating Call Button ***/
.floating-call {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
}

.pulse-button {
    width: 65px;
    height: 65px;
    background-color: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: pulse 2s infinite;
    text-decoration: none;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 20px rgba(34, 197, 94, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

/*** Responsive Utilities ***/
@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        background: #ffffff;
        padding: 20px;
        border-radius: 12px;
        margin-top: 15px;
        box-shadow: var(--shadow-lg);
    }
}