/********** Template CSS **********/

/*** 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: .5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
/* ==================== ANNOUNCEMENT BAR ==================== */
.bg-primary {
    background: linear-gradient(90deg, #06d03c, #0b5ed7) !important;
}

/* ==================== MAIN NAVBAR ==================== */
.sticky-top {
    top: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1030;
}

.navbar {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.08rem;
}

/* Logo */
.navbar-brand {
    transition: transform 0.3s ease;
}
.navbar-brand:hover {
    transform: scale(1.05);
}

/* Links - Cooling Hover Effect */
.navbar-nav .nav-link {
    color: #1f2937;
    font-weight: 600;
    position: relative;
    padding: 8px 12px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #6d03ca;
    transform: translateY(-3px);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(to right, #6d03ca, #60a5fa);
    transition: all 0.4s ease;
    transform: translateX(-50%);
    border-radius: 3px;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 65%;
}

/* CTAs */
.btn-outline-primary {
    border-width: 2px;
    transition: all 0.3s ease;
}
.btn-outline-primary:hover {
    background: #6d03ca;
    color: white;
    transform: translateY(-3px);
}

.btn-primary {
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.3);
    transition: all 0.3s ease;
}
.btn-primary:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 30px rgba(13, 110, 253, 0.4);
}

/* Mobile Styling */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: white;
        padding: 25px 20px;
        border-top: 1px solid #e5e7eb;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    
    .navbar-nav {
        gap: 12px !important;
        text-align: center;
    }
    
    .nav-link {
        font-size: 1.15rem;
        padding: 14px 0 !important;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Scroll Effect - Slight Shrink */
#mainNav.scrolled {
    padding-top: 8px;
    padding-bottom: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

/*** Hero Header ***/
.hero-header {
    margin-top: -100px;
    padding-top: 150px;
    background: url(../img/hero-bg.jpg) top center no-repeat;
    background-size: cover;
}

.hero-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.header-carousel {
    position: relative;
    padding: 45px 90px 45px 0;
}

.header-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    width: calc(50% + 45px);
    height: 100%;
    background: var(--bs-primary);
    z-index: -1;
}

.header-carousel .owl-dots {
    position: absolute;
    top: 50%;
    right: 38px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 5px 0;
    width: 15px;
    height: 15px;
    border: 2px solid var(--bs-white);
    transition: .5s;
}

.header-carousel .owl-dot.active {
    height: 30px;
    background: var(--bs-white);
}


/*** About ***/
.about-img {
    position: relative;
    overflow: visible;
}

.about-img img {
    border-radius: 12px;
}

/* Floating Experience Badge */
.experience-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: linear-gradient(90deg, #06d03c, #0b5ed7) !important;
    color: #fff;
    padding: 20px 25px;
    border-radius: 12px;
    text-align: center;
}

.experience-badge h4 {
    font-weight: 700;
}


/*** Service ***/
.service-item {
    position: relative;
    padding: 30px 25px;
    transition: .5s;
}

.service-item.bg-primary:hover {
    background: var(--bs-light) !important;
}

.service-item.bg-primary p {
    color: var(--bs-light);
    transition: .5s;
}

.service-item.bg-primary:hover p {
    color: var(--bs-secondary);
}

.service-item.bg-light:hover {
    background: var(--bs-primary) !important;
}

.service-item.bg-light p {
    color: var(--bs-secondary);
    transition: .5s;
}

.service-item.bg-light:hover p {
    color: var(--bs-light);
}


.service-item .service-img h3 {
    position: absolute;
    top: 0;
    left: 0;
    padding: 0 12px 7px 0;
}

.service-item.bg-primary .service-img h3 {
    background: var(--bs-primary);
    color: var(--bs-white);
    transition: .5s;
}

.service-item.bg-primary:hover .service-img h3 {
    background: var(--bs-light);
    color: var(--bs-dark);
}

.service-item.bg-light .service-img h3 {
    background: var(--bs-light);
    color: var(--bs-dark);
    transition: .5s;
}

.service-item.bg-light:hover .service-img h3 {
    background: var(--bs-primary);
    color: var(--bs-white);
}

/* contact */

.cta-section {
  
    position: relative;
}

.cta-section h2 {
    font-size: 2rem;
}

.cta-section .btn-light {
    transition: all 0.3s ease;
}

.cta-section .btn-light:hover {
    background-color: #ffffff;
    transform: translateY(-3px);
}

#why-choose-us .border {
    transition: all 0.3s ease;
}

#why-choose-us .border:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-color: linear-gradient(90deg, #06d03c, #0b5ed7) !important;
}
/*** Footer ***/
.footer-section {
    background: #0f172a;
    color: rgba(255,255,255,0.7);
}

.footer-section h3,
.footer-section h5 {
    font-weight: 600;
}

.footer-link {
    display: block;
    color: rgba(255,255,255,0.6);
    margin-bottom: 10px;
    text-decoration: none;
    transition: 0.3s ease;
}

.footer-link:hover {
    color: #ffffff;
    padding-left: 6px;
}

.footer-contact {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: 0.3s ease;
}

.footer-contact:hover {
    color: #ffffff;
}

.footer-section .btn-primary {
     background: linear-gradient(90deg, #06d03c, #0b5ed7) !important;
    border: none;
}

.footer-section .btn-primary:hover {
    background: linear-gradient(90deg, #06d03c, #0b5ed7) !important;
}