/* Global spacing fixes */
body, html {
    margin: 0;
    padding: 0;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

body {
    overflow-x: hidden;
    position: relative;
    margin: 0;
    padding: 0;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
    max-width: 100vw;
    width: 100%;
}

html {
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
}

/* Ensure first element after navbar has no top margin */
body > *:first-of-type:not(.page-transition-loader):not(.enhanced-navbar) {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Remove whitespace after navbar, before carousel */
.enhanced-navbar {
    margin-bottom: 0 !important;
}

/* Ensure no gaps in the layout */
.enhanced-navbar ~ * {
    margin-top: 0 !important;
}

/* Carousel should start immediately after navbar - NO WHITE SPACE */
/* CRITICAL: Force display BEFORE owl-carousel JS loads */
.header-carousel {
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    top: 0;
    left: 0;
    width: 100% !important;
    background-color: var(--bs-primary) !important;
    display: block !important; /* Override owl-carousel default display:none */
    visibility: visible !important;
    opacity: 1 !important;
}

.header-carousel.owl-carousel,
.header-carousel.owl-carousel.owl-loaded,
.header-carousel.owl-carousel.owl-loading,
.header-carousel.owl-carousel.owl-hidden {
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    top: 0;
    left: 0;
    width: 100% !important;
    background-color: var(--bs-primary) !important;
    display: block !important; /* Override owl-carousel default display:none */
    visibility: visible !important;
    opacity: 1 !important;
}

/* Ensure carousel items are visible before JS loads */
.header-carousel .header-carousel-item {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.header-carousel .owl-item {
    display: block !important;
    visibility: visible !important;
}

.header-carousel img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-width: 100%;
    height: auto;
}

/* Ensure carousel images container is visible */
.header-carousel .calrousel-img,
.header-carousel .carousel-img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100%;
    position: relative;
}

.header-carousel .calrousel-img img,
.header-carousel .carousel-img img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    height: auto !important;
    position: relative;
    z-index: 1;
    /* Blue shadow effects for carousel images */
    box-shadow: 
        0 0 30px rgba(0, 123, 255, 0.5),
        0 0 60px rgba(0, 123, 255, 0.3),
        0 10px 40px rgba(0, 0, 0, 0.4),
        0 20px 60px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    transition: all 0.4s ease;
    filter: brightness(1.05);
}

/* Hover effects for carousel images */
.header-carousel .calrousel-img img:hover,
.header-carousel .carousel-img img:hover {
    box-shadow: 
        0 0 40px rgba(0, 123, 255, 0.7),
        0 0 80px rgba(0, 123, 255, 0.5),
        0 15px 50px rgba(0, 0, 0, 0.5),
        0 25px 70px rgba(0, 0, 0, 0.3);
    transform: translateY(-5px);
    filter: brightness(1.1);
}

/* Remove blue shadow from bg-breadcrumb.jpg - only allow heartbeat animation */
.header-carousel img[src*="bg-breadcrumb.jpg"] {
    box-shadow: none !important;
    border-radius: 0 !important;
    filter: none !important;
}

/* Ensure animated elements are visible initially */
.header-carousel .animated {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.header-carousel .fadeInLeft,
.header-carousel .fadeInRight {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Override owl-carousel hiding behavior - CRITICAL for images to show */
.header-carousel.owl-carousel {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.header-carousel.owl-carousel.owl-loaded {
    display: block !important;
    opacity: 1 !important;
}

.header-carousel.owl-carousel.owl-loading {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.header-carousel.owl-carousel.owl-hidden {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Ensure first carousel item is visible before JS loads */
.header-carousel .header-carousel-item:first-child {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative;
}

/* Ensure all carousel items and their content are visible */
.header-carousel .header-carousel-item {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.header-carousel .header-carousel-item * {
    visibility: visible !important;
}

/* Make sure images are not hidden by any parent elements */
.header-carousel .carousel-caption img,
.header-carousel .header-carousel-item img,
.header-carousel.owl-carousel .carousel-caption img,
.header-carousel.owl-carousel .header-carousel-item img,
.header-carousel .owl-item img,
.header-carousel.owl-carousel .owl-item img,
.header-carousel img,
.header-carousel.owl-carousel img,
.header-carousel .owl-stage img,
.header-carousel .owl-stage-outer img,
.header-carousel .owl-wrapper img,
.header-carousel .calrousel-img img,
.header-carousel .carousel-img img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    position: relative !important;
    z-index: 10 !important;
}

/* Force visibility of all nested elements in carousel */
.header-carousel *,
.header-carousel.owl-carousel * {
    visibility: visible !important;
}

/* Ensure first item displays immediately - BEFORE owl-carousel JS loads */
.header-carousel > .header-carousel-item:first-child {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    background-color: var(--bs-primary) !important;
}

/* Ensure no gap before carousel */
body > .header-carousel,
.enhanced-navbar + .header-carousel {
    margin-top: 0 !important;
    padding-top: 0 !important;
    border-top: none !important;
}

/* Carousel content should account for navbar */
.header-carousel .header-carousel-item .carousel-caption {
    padding-top: 85px; /* Account for fixed navbar - pushes content below */
    margin-top: 0;
}

/* Add padding-top to content sections that come after navbar */
.container-fluid.feature:not(.header-carousel),
.container-fluid.testimonial:not(.header-carousel),
.container-fluid.about:not(.header-carousel),
.faq-section,
.bg-breadcrumb {
    padding-top: 85px; /* Account for fixed navbar */
    /* Remove all shadows */
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
}

/* Adjust body padding - removed to prevent white space */
/* Individual sections will handle their own padding */

/*** Spinner Start ***/
#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;
}
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    left: 30px;
    bottom: 30px;
    transition: 0.5s;
    z-index: 99;
}


/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
    pointer-events: auto !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 1 !important;
    touch-action: manipulation !important;
}

/* Ensure all buttons are clickable */
button.btn,
a.btn,
.btn {
    pointer-events: auto !important;
    cursor: pointer !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
}

/* Ensure buttons are not blocked by overlays */
.btn:not(:disabled),
button:not(:disabled),
a.btn {
    pointer-events: auto !important;
    cursor: pointer !important;
}

/* Ensure button containers don't block clicks */
.text-center .btn,
.d-flex .btn,
.feature-item .btn,
.carousel-caption .btn {
    pointer-events: auto !important;
    cursor: pointer !important;
    z-index: 10 !important;
    position: relative !important;
}

/* Responsive button fixes */
@media (max-width: 991px) {
    .btn,
    button.btn,
    a.btn {
        pointer-events: auto !important;
        cursor: pointer !important;
        touch-action: manipulation !important;
        -webkit-tap-highlight-color: rgba(0, 123, 255, 0.3) !important;
        z-index: 10 !important;
        position: relative !important;
    }
    
    /* Ensure button containers don't block */
    .text-center,
    .d-flex,
    .feature-item,
    .carousel-caption {
        pointer-events: auto !important;
    }
}

@media (max-width: 768px) {
    .btn,
    button.btn,
    a.btn {
        pointer-events: auto !important;
        cursor: pointer !important;
        touch-action: manipulation !important;
        -webkit-tap-highlight-color: rgba(0, 123, 255, 0.3) !important;
        z-index: 10 !important;
        position: relative !important;
    }
}

@media (max-width: 576px) {
    .btn,
    button.btn,
    a.btn {
        pointer-events: auto !important;
        cursor: pointer !important;
        touch-action: manipulation !important;
        -webkit-tap-highlight-color: rgba(0, 123, 255, 0.3) !important;
        z-index: 10 !important;
        position: relative !important;
        min-height: 44px !important; /* Ensure touch target is large enough */
    }
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-xl-square {
    width: 66px;
    height: 66px;
}

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

.btn.btn-primary {
    color: var(--bs-white);
    border: none;
}

.btn.btn-primary:hover {
    background: var(--bs-dark);
    color: var(--bs-white);
}

.btn.btn-light {
    color: var(--bs-primary);
    border: none;
}

.btn.btn-light:hover {
    color: var(--bs-white);
    background: var(--bs-dark);
}

.btn.btn-dark {
    color: var(--bs-white);
    border: none;
}

.btn.btn-dark:hover {
    color: var(--bs-primary);
    background: var(--bs-light);
}


/*** Topbar Start ***/ 
.topbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
    color: var(--bs-primary);
}

.topbar .dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.topbar .dropdown .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light);
    padding-top: 10px;
    border: 0;
    transition: .5s;
    opacity: 1;
}
/*** Topbar End ***/


/* Destination Cards Show/Hide Animation */
.destination-card-hidden {
    display: none !important;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    visibility: hidden !important;
}

.destination-card-hidden.show {
    opacity: 1 !important;
    transform: translateY(0) !important;
    display: block !important;
    visibility: visible !important;
}

/* Ensure hidden cards can be shown when toggled */
.destination-card-hidden[style*="display: block"],
.destination-card-hidden.show,
.destination-card-hidden[data-visible="true"] {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Override inline display:none when show class is present */
.destination-card-hidden.show[style*="display: none"] {
    display: block !important;
}

.destination-card-visible {
    transition: all 0.3s ease;
}

.destination-item {
    transition: all 0.3s ease;
}

.destination-item:hover {
    transform: translateY(-5px);
}

/* Ensure Explore All Destinations button is always clickable */
#exploreAllBtn {
    pointer-events: auto !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 10 !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: rgba(0, 123, 255, 0.3) !important;
}

#exploreAllBtn:active,
#exploreAllBtn:focus {
    outline: 2px solid rgba(0, 123, 255, 0.5) !important;
    outline-offset: 2px !important;
}

/* Hide global offices in responsive mode */
@media (max-width: 991px) {
    .global-office-hidden {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
    
    /* Show when toggled */
    .global-office-hidden.show,
    .global-office-hidden[data-visible="true"],
    .global-office-hidden[style*="display: block"] {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

@media (max-width: 768px) {
    .global-office-hidden {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
    
    /* Show when toggled */
    .global-office-hidden.show,
    .global-office-hidden[data-visible="true"],
    .global-office-hidden[style*="display: block"] {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

@media (max-width: 576px) {
    .global-office-hidden {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
    
    /* Show when toggled */
    .global-office-hidden.show,
    .global-office-hidden[data-visible="true"],
    .global-office-hidden[style*="display: block"] {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/*** Navbar Start ***/
.nav-bar {
    background: var(--bs-white);
    transition: 1s;
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.nav-bar .navbar-light .navbar-brand img {
    max-height: 50px;
}

.navbar .navbar-nav .nav-item .nav-link {
    padding: 0;
}

.navbar .navbar-nav .nav-item {
    display: flex;
    align-items: center;
    padding: 15px;
}

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

@media (max-width: 991px) {
    .navbar {
        padding: 20px 0;
    }

    .navbar .navbar-nav .nav-link {
        padding: 0;
    }

    .navbar .navbar-nav .nav-item {
        display: flex;
        padding: 20px;
        flex-direction: column;
        justify-content: start;
        align-items: start;
    }

    .navbar .navbar-nav .nav-btn {
        display: flex;
        justify-content: start;
    }

    .navbar .navbar-nav {
        width: 100%;
        display: flex;
        margin-top: 20px;
        padding-bottom: 20px;
        background: var(--bs-light);
        border-radius: 10px;
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 8px 15px;
        border: 1px solid var(--bs-primary);
        color: var(--bs-primary);
    }
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
}

.dropdown .dropdown-menu .dropdown-item:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

@media (min-width: 992px) {
    .navbar {
        padding: 20px 0;
    }

    .navbar .nav-btn {
        display: flex;
        align-items: center;
        justify-content: end;
    }

    .navbar .navbar-nav {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        background: var(--bs-light);
        border-radius: 10px;
    }

    .navbar .navbar-nav .nav-btn {
        width: 100%;
        display: flex;
        margin-left: auto;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        margin-top: 20px;
        background: var(--bs-light);
        transition: .5s;
        opacity: 1;
    }
}
/*** Navbar End ***/


/*** Enhanced Navigation Bar Start ***/
/* Consolidated Navigation Styles - Standardized across all pages */
.enhanced-navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 10000 !important;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(0, 123, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100% !important;
    box-shadow: 0 2px 15px rgba(0, 123, 255, 0.08);
    margin: 0 !important;
    padding: 0 !important;
}

/* Ensure navbar stays fixed on all sections - highest priority */
body .enhanced-navbar,
html body .enhanced-navbar,
.enhanced-navbar,
nav.enhanced-navbar,
body nav.enhanced-navbar,
html body nav.enhanced-navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 10000 !important;
    width: 100% !important;
}

/* Ensure navbar stays fixed when viewing specific sections - Enhanced specificity */
body:has(#study-abroad) .enhanced-navbar,
body:has(#hr-advisory) .enhanced-navbar,
html body:has(#study-abroad) .enhanced-navbar,
html body:has(#hr-advisory) .enhanced-navbar,
#study-abroad ~ * .enhanced-navbar,
#hr-advisory ~ * .enhanced-navbar,
body #study-abroad ~ * .enhanced-navbar,
body #hr-advisory ~ * .enhanced-navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 10000 !important;
    width: 100% !important;
}

/* Additional fallback rules for maximum compatibility */
#hr-advisory ~ .enhanced-navbar,
#study-abroad ~ .enhanced-navbar,
body:target(#hr-advisory) .enhanced-navbar,
body:target(#study-abroad) .enhanced-navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 10000 !important;
}

/* ULTIMATE FALLBACK: Force fixed position regardless of any other rules */
.enhanced-navbar[style*="position"],
.enhanced-navbar[style*="top"],
.enhanced-navbar[class*="sticky"],
.enhanced-navbar[class*="fixed"] {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 10000 !important;
    width: 100% !important;
}

/* Override any potential sticky-top class from Bootstrap or other libraries */
.enhanced-navbar.sticky-top {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 10000 !important;
}

.enhanced-navbar.scrolled {
    background: rgba(255, 255, 255, 0.99);
    box-shadow: 0 4px 25px rgba(0, 123, 255, 0.15);
    border-bottom: 1px solid rgba(0, 123, 255, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 85px;
    width: 100%;
    gap: 25px;
    position: relative;
    box-sizing: border-box;
}

/* Ensure proper flex behavior on mobile */
@media (max-width: 992px) {
    .nav-container {
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
        gap: 10px;
    }
    
    .nav-brand {
        flex: 0 0 auto;
        min-width: 0;
        margin-right: 10px;
    }
    
    .mobile-toggle {
        flex: 0 0 auto;
        margin-left: auto;
    }
}

.nav-brand {
    flex-shrink: 0;
    margin-left: 0;
    padding-left: 0;
    margin-right: 20px;
}

.brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
    margin-left: 0;
}

.brand-link:hover {
    transform: scale(1.05);
}

.brand-logo {
    height: 45px;
    width: auto;
    margin-right: 12px;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 28px;
    font-weight: 700;
    color: #007bff;
    line-height: 1;
    margin-bottom: 2px;
}

.brand-tagline {
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    gap: 2px;
    flex-wrap: nowrap;
}

.nav-item {
    position: relative;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 13px;
    transition: all 0.3s ease;
    position: relative;
    gap: 6px;
    white-space: nowrap;
    min-width: fit-content;
}

.nav-link i {
    font-size: 12px;
    width: 14px;
    text-align: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    display: inline-block;
    color: #007bff;
}

.nav-link span {
    white-space: nowrap;
}

.nav-link:hover {
    color: #007bff;
    text-decoration: underline;
    text-decoration-color: #007bff;
    text-underline-offset: 4px;
}

.nav-link:hover i {
    transform: scale(1.1);
}

.nav-link.active {
    color: #007bff;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: #007bff;
    text-underline-offset: 4px;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: #007bff;
    border-radius: 1px;
}

.dropdown-toggle {
    position: relative;
}

.dropdown-icon {
    font-size: 10px;
    margin-left: 6px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 123, 255, 0.1);
    padding: 8px 0;
    margin-top: 8px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Support click-to-open via Bootstrap */
.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    border-radius: 6px;
    margin: 0 8px;
    gap: 10px;
    white-space: nowrap;
}

.dropdown-item i {
    font-size: 14px;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.dropdown-item:hover {
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
    transform: translateX(4px);
}

.dropdown-item:hover i {
    transform: scale(1.1);
}

.nav-cta {
    flex-shrink: 0;
    margin-left: 10px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    gap: 8px;
    white-space: nowrap;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
    color: white;
}

.cta-button i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(4px);
}

.mobile-toggle {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
    z-index: 10001;
    position: relative;
}

/* CRITICAL: Force hide mobile toggle on desktop by default */
@media (min-width: 993px) {
    .mobile-toggle,
    .mobile-toggle.active,
    button.mobile-toggle,
    button#mobileToggle,
    .enhanced-navbar .mobile-toggle,
    .nav-container .mobile-toggle {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        position: absolute !important;
        left: -9999px !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }
}

.mobile-toggle:hover {
    background: rgba(0, 123, 255, 0.1);
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-top: 1px solid rgba(0, 123, 255, 0.1);
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.15);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
    overflow-y: auto;
    overflow-x: hidden;
    padding-top: 85px;
    display: none !important;
    -webkit-overflow-scrolling: touch;
}

/* Ensure navbar stays above mobile menu */
.enhanced-navbar,
.enhanced-navbar .nav-container,
.enhanced-navbar .nav-brand,
.enhanced-navbar .nav-brand *,
.enhanced-navbar .brand-link,
.enhanced-navbar .brand-logo,
.enhanced-navbar .brand-text,
.enhanced-navbar .brand-name,
.enhanced-navbar .brand-tagline {
    z-index: 10001 !important;
    position: relative;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    display: block !important;
}

/* CRITICAL: Force hide mobile menu on desktop - must override .active class */
@media (min-width: 993px) {
    .mobile-menu,
    .mobile-menu.active {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        transform: translateY(-100%) !important;
        pointer-events: none !important;
    }
}

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 30px 0 20px 0;
    width: 100%;
}

.mobile-nav-item {
    border-bottom: 1px solid rgba(0, 123, 255, 0.1);
    width: 100%;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    padding: 18px 25px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 17px;
    transition: all 0.3s ease;
    gap: 15px;
    width: 100%;
    position: relative;
}

.mobile-nav-link i {
    font-size: 16px;
    width: 20px;
    text-align: center;
    color: #007bff;
    flex-shrink: 0;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: #007bff;
    background: linear-gradient(90deg, rgba(0, 123, 255, 0.1) 0%, rgba(0, 123, 255, 0.05) 100%);
    padding-left: 35px;
    font-weight: 600;
    transform: translateX(5px);
}

.mobile-nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #007bff, #0056b3);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.mobile-nav-link:hover::before,
.mobile-nav-link.active::before {
    transform: scaleY(1);
}

.mobile-cta {
    padding: 20px;
    border-top: 1px solid rgba(0, 123, 255, 0.1);
}

.mobile-cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    gap: 8px;
}

.mobile-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
    color: white;
}

/* Enhanced Navigation Responsive Design */
/* Desktop - Hide mobile menu, show desktop menu */
@media (min-width: 993px) {
    .mobile-toggle {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
    
    .mobile-menu,
    .mobile-menu.active {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        transform: translateY(-100%) !important;
        pointer-events: none !important;
        position: fixed !important;
        top: -100vh !important;
    }
    
    .nav-menu,
    .enhanced-navbar .nav-menu,
    nav.enhanced-navbar .nav-menu,
    .nav-container .nav-menu {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .nav-cta,
    .enhanced-navbar .nav-cta,
    nav.enhanced-navbar .nav-cta,
    .nav-container .nav-cta {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

@media (max-width: 992px) {
    .nav-menu {
        display: none !important;
    }
    
    .nav-cta {
        display: none !important;
    }
    
    .mobile-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        position: relative !important;
        left: auto !important;
        width: auto !important;
        height: auto !important;
        overflow: visible !important;
        flex-shrink: 0;
        order: 2;
    }
    
    .mobile-menu {
        display: block !important;
    }
    
    .nav-container {
        padding: 0 15px;
        justify-content: space-between;
        align-items: center;
    }
    
    .nav-brand {
        order: 1;
        flex: 1 1 auto;
        min-width: 0;
        max-width: calc(100% - 60px);
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .brand-link {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .brand-logo {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .brand-text {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        flex-direction: column !important;
    }
    
    .brand-name {
        display: block !important;
        visibility: visible !important;
    }
    
    .brand-tagline {
        display: block !important;
        visibility: visible !important;
    }
}

@media (max-width: 768px) {
    .brand-name {
        font-size: 24px;
    }
    
    .brand-tagline {
        font-size: 11px;
    }
    
    .brand-logo {
        height: 40px;
    }
}

@media (max-width: 576px) {
    .brand-name {
        font-size: 20px;
    }
    
    .brand-tagline {
        font-size: 10px;
    }
    
    .brand-logo {
        height: 35px;
        flex-shrink: 0;
    }
    
    .nav-container {
        padding: 0 10px;
        height: 75px;
        gap: 8px;
    }
    
    .nav-brand {
        max-width: calc(100% - 50px);
        margin-right: 8px;
    }
    
    .mobile-toggle {
        flex-shrink: 0;
    }
    
    .mobile-menu {
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        padding-top: 75px !important;
        z-index: 9999 !important;
    }
}

@media (max-width: 480px) {
    .brand-name {
        font-size: 18px;
    }
    
    .brand-tagline {
        display: block !important; /* Keep tagline visible */
        font-size: 9px !important; /* Smaller but visible */
    }
    
    .brand-logo {
        height: 30px;
        margin-right: 6px;
        flex-shrink: 0;
    }
    
    .nav-container {
        height: 70px;
        padding: 0 8px;
        gap: 6px;
    }
    
    .nav-brand {
        max-width: calc(100% - 45px);
        margin-right: 6px;
    }
    
    .mobile-toggle {
        flex-shrink: 0;
        padding: 6px;
    }
    
    .mobile-menu {
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        padding-top: 70px !important;
        z-index: 9999 !important;
    }
}
/*** Enhanced Navigation Bar End ***/


/*** Page Transition Loader Start ***/
/* Page Transition Loader Styles */
.page-transition-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #007bff, #0056b3);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.loader-plane {
    animation: fly 2s ease-in-out infinite;
}

.loader-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: white;
    border-radius: 50%;
    animation: bounce 1.4s ease-in-out infinite both;
}

.dot:nth-child(1) { 
    animation-delay: -0.32s; 
}

.dot:nth-child(2) { 
    animation-delay: -0.16s; 
}

.dot:nth-child(3) { 
    animation-delay: 0s; 
}

@keyframes fly {
    0% { 
        transform: translateX(-30px) rotate(0deg); 
        opacity: 0; 
    }
    50% { 
        transform: translateX(0) rotate(3deg); 
        opacity: 1; 
    }
    100% { 
        transform: translateX(30px) rotate(0deg); 
        opacity: 0; 
    }
}

@keyframes bounce {
    0%, 80%, 100% { 
        transform: scale(0); 
    }
    40% { 
        transform: scale(1); 
    }
}
/*** Page Transition Loader End ***/


/*** Utility Classes Start ***/
/* Spinner utilities */
.spinner-lg {
    width: 3rem;
    height: 3rem;
}

/* Container utilities */
.max-w-800 {
    max-width: 800px;
}

.max-w-900 {
    max-width: 900px;
}

/* Make utility classes responsive on mobile */
@media (max-width: 768px) {
    .max-w-800,
    .max-w-900 {
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 576px) {
    .max-w-800,
    .max-w-900 {
        max-width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* Image utilities */
.flag-img {
    width: 80px;
    height: 50px;
    object-fit: cover;
}

.logo-sm {
    height: 45px;
}

/* Map utilities */
.map-container {
    position: relative;
    width: 100%;
    height: 400px;
}

@media (max-width: 768px) {
    .map-container {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .map-container {
        height: 250px;
    }
}
/*** Utility Classes End ***/


/*** Professional Enhancements Start ***/
/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Enhanced Typography */
h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.display-1, .display-2, .display-3, .display-4 {
    font-weight: 700;
    letter-spacing: -0.03em;
}

/* Professional Section Spacing */
section {
    position: relative;
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #0056b3);
    border-radius: 2px;
}

/* Enhanced Cards with Professional Shadows */
.feature-item,
.service-item,
.blog-item,
.team-item {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 123, 255, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.feature-item:hover,
.service-item:hover,
.blog-item:hover,
.team-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 123, 255, 0.15);
    border-color: rgba(0, 123, 255, 0.3);
}

/* Professional Gradient Overlays */
.gradient-overlay {
    position: relative;
}

.gradient-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.9) 0%, rgba(0, 86, 179, 0.8) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
}

.gradient-overlay:hover::before {
    opacity: 1;
}

/* Enhanced Background Patterns */
.bg-pattern-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 50%, #004085 100%);
    position: relative;
    overflow: hidden;
}

.bg-pattern-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    opacity: 0.6;
}

/* Professional Divider */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 123, 255, 0.3), transparent);
    margin: 4rem 0;
    border: none;
}

/* Enhanced Buttons - Professional Touch */
.btn.enhanced {
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.875rem;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn.enhanced::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn.enhanced:hover::after {
    width: 300px;
    height: 300px;
}

/* Enhanced Button Variants */
.btn-light.enhanced {
    background: rgba(255, 255, 255, 0.95);
    color: #007bff;
    border: 2px solid transparent;
}

.btn-light.enhanced:hover {
    background: #ffffff;
    color: #0056b3;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.btn-dark.enhanced {
    background: linear-gradient(135deg, #212529, #343a40);
    border: none;
}

.btn-dark.enhanced:hover {
    background: linear-gradient(135deg, #343a40, #495057);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Additional Button Enhancement */
.btn:not(.enhanced) {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:not(.enhanced):hover {
    transform: translateY(-2px);
}

/* Professional Icons */
.feature-icon,
.service-icon {
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-icon::before,
.service-icon::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1), rgba(0, 86, 179, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-item:hover .feature-icon::before,
.service-item:hover .service-icon::before {
    opacity: 1;
}

.feature-item:hover .feature-icon i,
.service-item:hover .service-icon i {
    transform: scale(1.1) rotate(5deg);
}

/* Enhanced Text Effects */
.text-gradient {
    background: linear-gradient(135deg, #007bff, #0056b3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Professional Image Overlays */
.image-overlay {
    position: relative;
    overflow: hidden;
}

.image-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.8), rgba(0, 86, 179, 0.6));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.image-overlay:hover::after {
    opacity: 1;
}

/* Enhanced Form Elements */
.form-control,
.form-select {
    border: 2px solid rgba(0, 123, 255, 0.2);
    border-radius: 10px;
    padding: 0.75rem 1.25rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.95);
}

.form-control:focus,
.form-select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.15);
    background: #ffffff;
}

.form-control::placeholder {
    color: rgba(108, 117, 125, 0.6);
}

/* Professional Badges and Tags */
.badge {
    padding: 0.5rem 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 50px;
}

.badge-primary {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
}

/* Enhanced Statistics/Numbers */
.counter-item {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.counter-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0, 123, 255, 0.15);
}

.counter-item .counter-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #007bff, #0056b3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Professional Scroll Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced Footer Gradient */
/* Footer styles consolidated - see below for complete footer styling */

/* Professional Breadcrumb Enhancement */
.bg-breadcrumb {
    position: relative;
}

/* Remove the ::after overlay to show clean image */
.bg-breadcrumb::after {
    display: none;
}

/* Enhanced Navigation Active State */
.nav-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 20px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 0 3px 3px 0;
}

/* Professional Loading State */
.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Enhanced Focus States */
*:focus {
    outline: none;
}

.btn:focus,
.form-control:focus,
.nav-link:focus {
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

/* Professional Hover Transitions */
a, button, .btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Remove blue color from bi-arrow-right icon on hover/click */
.bi-arrow-right,
i.bi-arrow-right,
.bi.bi-arrow-right,
[class*="bi-arrow-right"] {
    color: inherit !important;
    text-decoration: none !important;
}

/* Prevent default link blue color for any element with bi-arrow-right */
*:has(.bi-arrow-right),
*:has(i.bi-arrow-right) {
    color: inherit !important;
}

/* Prevent blue color on hover for elements containing bi-arrow-right */
a:hover .bi-arrow-right,
a:hover i.bi-arrow-right,
button:hover .bi-arrow-right,
button:hover i.bi-arrow-right,
.btn:hover .bi-arrow-right,
.btn:hover i.bi-arrow-right {
    color: inherit !important;
}

/* Prevent blue color on active/click for elements containing bi-arrow-right */
a:active .bi-arrow-right,
a:active i.bi-arrow-right,
a:focus .bi-arrow-right,
a:focus i.bi-arrow-right,
a:focus-visible .bi-arrow-right,
a:focus-visible i.bi-arrow-right,
button:active .bi-arrow-right,
button:active i.bi-arrow-right,
button:focus .bi-arrow-right,
button:focus i.bi-arrow-right,
button:focus-visible .bi-arrow-right,
button:focus-visible i.bi-arrow-right,
.btn:active .bi-arrow-right,
.btn:active i.bi-arrow-right,
.btn:focus .bi-arrow-right,
.btn:focus i.bi-arrow-right,
.btn:focus-visible .bi-arrow-right,
.btn:focus-visible i.bi-arrow-right {
    color: inherit !important;
}

/* Prevent blue color on the link/button itself when it contains bi-arrow-right */
a:has(.bi-arrow-right):hover,
a:has(i.bi-arrow-right):hover,
button:has(.bi-arrow-right):hover,
button:has(i.bi-arrow-right):hover,
.btn:has(.bi-arrow-right):hover,
.btn:has(i.bi-arrow-right):hover {
    color: inherit !important;
}

a:has(.bi-arrow-right):active,
a:has(.bi-arrow-right):focus,
a:has(.bi-arrow-right):focus-visible,
a:has(i.bi-arrow-right):active,
a:has(i.bi-arrow-right):focus,
a:has(i.bi-arrow-right):focus-visible,
button:has(.bi-arrow-right):active,
button:has(.bi-arrow-right):focus,
button:has(.bi-arrow-right):focus-visible,
button:has(i.bi-arrow-right):active,
button:has(i.bi-arrow-right):focus,
button:has(i.bi-arrow-right):focus-visible,
.btn:has(.bi-arrow-right):active,
.btn:has(.bi-arrow-right):focus,
.btn:has(.bi-arrow-right):focus-visible,
.btn:has(i.bi-arrow-right):active,
.btn:has(i.bi-arrow-right):focus,
.btn:has(i.bi-arrow-right):focus-visible {
    color: inherit !important;
    outline: none !important;
    text-decoration: none !important;
}

/* Enhanced Container Padding */
.container-fluid {
    padding-left: 2rem;
    padding-right: 2rem;
}

@media (max-width: 768px) {
    .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Professional Section Backgrounds */
.bg-light {
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%) !important;
}

.bg-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%) !important;
}

/* Enhanced Text Shadows for Better Readability */
.bg-primary h1,
.bg-primary h2,
.bg-primary h3,
.bg-primary h4 {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Professional Back to Top Button - Right Side */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 123, 255, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    border: none;
    text-decoration: none;
    cursor: pointer;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.back-to-top:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 8px 30px rgba(0, 123, 255, 0.6);
    background: linear-gradient(135deg, #0056b3, #004085);
}

.back-to-top i {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.back-to-top:hover i {
    transform: translateX(-3px);
}

/* Rotate arrow-right to point up for back-to-top functionality */
.back-to-top i.fa-arrow-right {
    transform: rotate(-90deg);
}

.back-to-top:hover i.fa-arrow-right {
    transform: rotate(-90deg) translateY(-3px);
}
/*** Professional Enhancements End ***/


/*** Page-Specific Component Styles Start ***/
/* Destination/Country Flag Hover Effects */
.destination-item {
    transition: all 0.3s ease;
    border-radius: 10px;
}

.destination-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.flag-icon img {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.destination-item:hover .flag-icon img {
    border-color: #007bff;
    transform: scale(1.1);
}

/* Testimonials Enhanced Styling */
.testimonial-item {
    border: none !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100% !important;
    min-height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Ensure all testimonial items in carousel have equal height */
.testimonial-carousel .owl-stage {
    display: flex !important;
    align-items: stretch !important;
}

.testimonial-carousel .owl-item {
    display: flex !important;
    align-items: stretch !important;
    height: auto !important;
}

.testimonial-carousel .owl-item .testimonial-item {
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

.testimonial-item .row {
    height: 100% !important;
    min-height: 100% !important;
    flex: 1 !important;
    display: flex !important;
    align-items: stretch !important;
}

.testimonial-item .row > [class*="col-"] {
    display: flex !important;
    flex-direction: column !important;
}

.testimonial-item .col-lg-8 {
    flex: 1 !important;
    justify-content: center !important;
    display: flex !important;
    flex-direction: column !important;
}

.testimonial-item .d-flex.flex-column {
    height: 100% !important;
    min-height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    flex: 1 !important;
}

.testimonial-item .position-relative {
    flex: 1 !important;
    display: flex !important;
    align-items: flex-start !important;
    min-height: 120px !important;
}

/* Force equal height for testimonial paragraphs */
.testimonial-item .position-relative p {
    min-height: 120px !important;
    margin-bottom: 0 !important;
}

/* Ensure both testimonial items have exactly the same height */
.testimonial-carousel .owl-item:first-child .testimonial-item,
.testimonial-carousel .owl-item:last-child .testimonial-item {
    height: 100% !important;
    min-height: 100% !important;
}

/* Additional rules for index.html testimonials to ensure equal heights */
.testimonial-carousel .owl-item .testimonial-item .row {
    min-height: 100% !important;
    height: 100% !important;
}

.testimonial-carousel .owl-item .testimonial-item .row .col-lg-8 {
    min-height: 100% !important;
    height: 100% !important;
}

.testimonial-carousel .owl-item .testimonial-item .row .col-lg-8 .d-flex.flex-column {
    min-height: 100% !important;
    height: 100% !important;
    justify-content: space-between !important;
}

/* Force equal heights for all testimonial items in carousel */
.testimonial-carousel .owl-stage {
    display: flex !important;
    align-items: stretch !important;
}

.testimonial-carousel .owl-item {
    display: flex !important;
    align-items: stretch !important;
    height: auto !important;
}

.testimonial-carousel .owl-item .testimonial-item {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 100% !important;
}

.testimonial-item:hover {
    box-shadow: 0 15px 40px rgba(0, 123, 255, 0.15);
    transform: translateY(-5px);
}

.testimonial-item img {
    border-radius: 50% !important;
    width: 150px !important;
    height: 150px !important;
    object-fit: cover;
    margin: 0 auto;
    display: block;
    border: 4px solid #007bff;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.2);
}

.testimonial-item .col-4,
.testimonial-item .col-lg-4,
.testimonial-item .col-xl-3 {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.testimonial-item .col-8,
.testimonial-item .col-lg-8,
.testimonial-item .col-xl-9 {
    padding: 20px;
}

@media (max-width: 991px) {
    .testimonial-item img {
        width: 120px !important;
        height: 120px !important;
        margin-bottom: 15px;
    }
    
    .testimonial-item .col-4,
    .testimonial-item .col-lg-4 {
        padding-bottom: 0;
    }
}

/* Button Enhanced Hover Effects */
.btn-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border: none;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

.btn-outline-primary {
    border: 2px solid #007bff;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}
/*** Page-Specific Component Styles End ***/


/*** Carousel Hero Header Start ***/
.header-carousel {
    margin-top: 0 !important;
    padding-top: 0 !important;
    position: relative;
    width: 100%;
    margin-bottom: 0 !important;
    clear: both;
}

.header-carousel .owl-stage-outer,
.header-carousel.owl-carousel .owl-stage-outer {
    height: 100%;
    margin-top: 0 !important;
    padding-top: 0 !important;
    background-color: var(--bs-primary) !important;
    display: block !important;
    visibility: visible !important;
    overflow: visible !important;
}

/* Show content even before owl-carousel wraps it */
.header-carousel:not(.owl-loaded) .header-carousel-item,
.header-carousel:not(.owl-loaded) > .header-carousel-item {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
}

/* Ensure owl-carousel transforms don't hide content - allow transforms but keep visibility */
.header-carousel .owl-stage,
.header-carousel .owl-stage-outer {
    visibility: visible !important;
    opacity: 1 !important;
}

/* Ensure images load and display */
.header-carousel img[src] {
    content: attr(src);
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.header-carousel .owl-stage-outer .owl-stage,
.header-carousel.owl-carousel .owl-stage-outer .owl-stage {
    background-color: var(--bs-primary) !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.header-carousel .owl-stage,
.header-carousel.owl-carousel .owl-stage {
    height: 100%;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.header-carousel .owl-item,
.header-carousel.owl-carousel .owl-item {
    background-color: var(--bs-primary) !important;
    height: 100% !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    float: none !important;
    position: relative !important;
}

.header-carousel .owl-wrapper,
.header-carousel.owl-carousel .owl-wrapper {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* CRITICAL: Force first item to be visible immediately */
.header-carousel .owl-item:first-child,
.header-carousel.owl-carousel .owl-item:first-child {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.header-carousel .header-carousel-item {
    height: calc(100vh - 85px); /* Full viewport minus navbar */
    min-height: 700px;
    max-height: 900px;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    background-color: var(--bs-primary) !important;
    position: relative;
    overflow: hidden;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 60px;
    background: rgba(255, 255, 255, 0.9) !important;
    color: #333 !important;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.header-carousel .owl-nav .owl-prev {
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    margin-left: 30px;
}
.header-carousel .owl-nav .owl-next {
    bottom: 30px;
    right: 50%;
    transform: translateX(-50%);
    margin-right: 30px;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: rgba(255, 255, 255, 1) !important;
    color: #333 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Remove blue color on click/active/focus states */
.header-carousel .owl-nav .owl-prev:active,
.header-carousel .owl-nav .owl-prev:focus,
.header-carousel .owl-nav .owl-prev:focus-visible,
.header-carousel .owl-nav .owl-next:active,
.header-carousel .owl-nav .owl-next:focus,
.header-carousel .owl-nav .owl-next:focus-visible,
.header-carousel .owl-nav button:active,
.header-carousel .owl-nav button:focus,
.header-carousel .owl-nav button:focus-visible {
    background: rgba(255, 255, 255, 0.95) !important;
    color: #333 !important;
    outline: none !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.header-carousel .owl-nav .owl-prev:active:hover,
.header-carousel .owl-nav .owl-next:active:hover {
    background: rgba(255, 255, 255, 1) !important;
    color: #333 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.header-carousel .header-carousel-item .carousel-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .2);
    display: flex;
    align-items: center;
    padding-top: 85px; /* Account for fixed navbar */
    box-sizing: border-box;
}

.header-carousel .header-carousel-item .carousel-caption .container {
    margin-top: 0;
    padding-top: 0;
}

@media (max-width: 991px) {
    .header-carousel {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    
    .header-carousel .header-carousel-item .carousel-caption {
        padding-top: 85px; /* Account for navbar */
    }

    .header-carousel .header-carousel-item {
        height: calc(100vh - 85px);
        min-height: 800px;
        max-height: 900px;
    }
}

@media (max-width: 767px) {
    .header-carousel {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    
    .header-carousel .header-carousel-item .carousel-caption {
        padding-top: 85px; /* Account for navbar */
    }
    
    .header-carousel .header-carousel-item {
        height: calc(100vh - 85px);
        min-height: 600px;
        max-height: 700px;
    }

    .header-carousel .owl-nav .owl-prev {
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
        margin-left: -45px;
    }

    .header-carousel .owl-nav .owl-next {
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
        margin-left: 45px;
    }
}
/*** Carousel Hero Header End ***/


/*** Single Page Hero Header Start ***/

.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    /* Remove gradient overlay - show image directly */
    background: url(../img/bg-breadcrumb.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 145px 0 60px 0; /* 85px navbar + 60px original top padding */
    /* Remove all shadows and filters */
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
    /* No animation on other pages - only index.html gets animation */
}

.bg-breadcrumb .breadcrumb {
    position: relative;
}

.bg-breadcrumb .breadcrumb .breadcrumb-item a {
    color: var(--bs-white);
}
/*** Single Page Hero Header End ***/


/*** Feature Start ***/
.feature .feature-item {
    border-radius: 10px;
    background: var(--bs-white);
    transition: 0.5s;
}

.feature .feature-item:hover {
    background: var(--bs-primary);
}

.feature .feature-item .feature-icon {
    position: relative;
    width: 100px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-light);
}

.feature .feature-item:hover .feature-icon i {
    z-index: 9;
}

.feature .feature-item .feature-icon::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-dark);
    transition: 0.5s;
    z-index: 1;
}

.feature .feature-item:hover .feature-icon::after {
    height: 100%;
}

.feature .feature-item .feature-icon {
    color: var(--bs-primary);
}

.feature .feature-item .feature-icon,
.feature .feature-item h4,
.feature .feature-item p {
    transition: 0.5s;
}

.feature .feature-item:hover .feature-icon {
    color: var(--bs-white);
}
.feature .feature-item:hover h4,
.feature .feature-item:hover p {
    color: var(--bs-white);
}

.feature .feature-item:hover a.btn {
    background: var(--bs-white);
    color: var(--bs-primary);
}

.feature .feature-item:hover a.btn:hover {
    background: var(--bs-dark);
    color: var(--bs-white);
}
/*** Feature End ***/


/*** Service Start ***/
.service .service-item {
    border-radius: 10px;
}
.service .service-item .service-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.service .service-item .service-img img {
    transition: 0.5s;
}

.service .service-item:hover .service-img img {
    transform: scale(1.1);
}

.service .service-item .service-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: rgba(1, 95, 201, .2);
    transition: 0.5s;
    z-index: 1;
}

.service .service-item:hover .service-img::after {
    height: 100%;
}

.service .service-item .service-img .service-icon {
    position: absolute;
    width: 70px;
    bottom: 0;
    right: 25px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: var(--bs-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 9;
}

.service .service-item .service-img .service-icon i {
    color: var(--bs-primary);
    transition: 0.5s;
}

.service .service-item:hover .service-img .service-icon i {
    transform: rotateX(360deg);
    color: var(--bs-white);
}

.service .service-item:hover .service-img .service-icon {
    bottom: 0;
    color: var(--bs-white);
    background: var(--bs-primary);
}

.service .service-content {
    position: relative;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-light);
}

.service .service-item .service-content .service-content-inner {
    position: relative;
    z-index: 9;
}

.service .service-item .service-content .service-content-inner .h4,
.service .service-item .service-content .service-content-inner p {
    transition: 0.5s;
}

.service .service-item:hover .service-content .service-content-inner .h4,
.service .service-item:hover .service-content .service-content-inner p {
    color: var(--bs-white);
}

.service .service-item:hover .service-content .service-content-inner .btn.btn-primary {
    color: var(--bs-primary);
    background: var(--bs-white);
}

.service .service-item:hover .service-content .service-content-inner .btn.btn-primary:hover {
    color: var(--bs-white);
    background: var(--bs-dark);
}

.service .service-item:hover .service-content .service-content-inner .h4:hover {
    color: var(--bs-dark);
}

.service .service-item .service-content::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-primary);
    transition: 0.5s;
    z-index: 1;
}

.service .service-item:hover .service-content::after {
    height: 100%;
}
/*** Service End ***/


/*** FAQs Start ***/
.faq-section .accordion .accordion-item .accordion-header .accordion-button {
    color: var(--bs-white);
    background: rgba(1, 95, 201, .8);
    font-size: 18px;
}

.faq-section .accordion .accordion-item .accordion-header .accordion-button.collapsed {
    color: var(--bs-primary);
    background: var(--bs-light);
}
/*** FAQs End ***/


/*** Blog Start ***/
.blog .blog-item {
    border-radius: 10px;
    transition: 0.5s;
}

.blog .blog-item:hover {
    box-shadow: 0 0 45px rgba(0, 0, 0, .1);
}

.blog .blog-item:hover .blog-content {
    background: var(--bs-white);
}

.blog .blog-item .blog-img {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    position: relative;
    overflow: hidden;
}

.blog .blog-item .blog-img img {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img img {
    transform: scale(1.2);
}

.blog .blog-item .blog-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: rgba(1, 95, 201, .2);
    transition: 0.5s;
    z-index: 1;
}

.blog .blog-item:hover .blog-img::after {
    height: 100%;
}

.blog .blog-item .blog-img .blog-categiry {
    position: absolute;
    bottom: 0;
    right: 0;
    border-top-left-radius: 10px;
    display: inline-flex;
    color: var(--bs-white);
    background: var(--bs-primary);
    z-index: 9;
}

.blog .blog-item .blog-content {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-light);
}

.blog .blog-item .blog-content a.btn {
    color: var(--bs-dark);
}

.blog .blog-item:hover .blog-content a.btn:hover {
    color: var(--bs-primary);
}
/*** Blog End ***/


/*** Team Start ***/
.team .team-item .team-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
} 

.team .team-item .team-img img {
    transition: 0.5s;
}

.team .team-item:hover .team-img img {
    transform: scale(1.1);
}

.team .team-item .team-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transition: 0.5s;
}

.team .team-item:hover .team-img::after {
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
}

.team .team-item .team-img .team-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    margin-bottom: -100%;
    transition: 0.5s;
    z-index: 9;
}

.team .team-item:hover .team-img .team-icon {
    margin-bottom: 0;
}

.team .team-item .team-title {
    color: var(--bs-white);
    background: var(--bs-primary);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    transition: 0.5s;
}

.team .team-item .team-title h4 {
    color: var(--bs-white);
}

.team .team-item:hover .team-title {
    background: var(--bs-dark);
}
/*** Team End ***/


/*** Testimonial Start ***/
.testimonial-carousel .owl-stage-outer {
    margin-top: 58px;
    margin-right: -1px;
}

.testimonial .owl-nav .owl-prev {
    position: absolute;
    top: -58px;
    left: 0;
    background: rgba(255, 255, 255, 0.9) !important;
    color: #333 !important;
    padding: 5px 30px;
    border-radius: 30px;
    transition: 0.5s;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.testimonial .owl-nav .owl-prev:hover {
    background: rgba(255, 255, 255, 1) !important;
    color: #333 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.testimonial .owl-nav .owl-next {
    position: absolute;
    top: -58px;
    right: 0;
    background: rgba(255, 255, 255, 0.9) !important;
    color: #333 !important;
    padding: 5px 30px;
    border-radius: 30px;
    transition: 0.5s;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.testimonial .owl-nav .owl-next:hover {
    background: rgba(255, 255, 255, 1) !important;
    color: #333 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Remove blue color on click/active/focus states for testimonial carousel */
.testimonial .owl-nav .owl-prev:active,
.testimonial .owl-nav .owl-prev:focus,
.testimonial .owl-nav .owl-prev:focus-visible,
.testimonial .owl-nav .owl-next:active,
.testimonial .owl-nav .owl-next:focus,
.testimonial .owl-nav .owl-next:focus-visible {
    background: rgba(255, 255, 255, 0.95) !important;
    color: #333 !important;
    outline: none !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.testimonial .owl-nav .owl-prev:active:hover,
.testimonial .owl-nav .owl-next:active:hover {
    background: rgba(255, 255, 255, 1) !important;
    color: #333 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
/*** Testimonial End ***/


/*** Contact Start ***/
.contact .contact-img {
    position: relative;
}

.contact .contact-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: rgba(255, 255, 255, 0.9);
    z-index: 1;
    animation-name: image-efects;
    animation-duration: 10s;
    animation-delay: 1s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    transition: 0.5s
}

@keyframes image-efects {
    0%  {border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;}

    25% {border-radius: 35% 65% 27% 73% / 71% 25% 75% 29%;}

    50% {border-radius: 41% 59% 45% 55% / 32% 21% 79% 68%;}

    75% {border-radius: 69% 31% 39% 61% / 70% 83% 17% 30%;}

    100% {border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;}
}

.contact .contact-img .contact-img-inner {
    position: relative;
    z-index: 9;
}
/*** Contact End ***/


/*** Footer Start ***/
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    margin: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    position: relative;
    overflow: hidden;
}

/* Override Bootstrap py-5 padding-bottom for footer */
.footer.py-5 {
    padding-bottom: 0 !important;
}

.footer .container-fluid,
.footer .container {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.footer .container.py-5 {
    padding-bottom: 2rem !important;
    padding-top: 3rem;
}

/* Remove any extra margins from footer rows */
.footer .row {
    margin-bottom: 0 !important;
}

.footer .row:last-child {
    margin-bottom: 0 !important;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #0056b3);
}

.footer .footer-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
    padding-bottom: 0;
}

.footer .footer-item h4 {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer .footer-item h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #0056b3);
    border-radius: 2px;
}

.footer .footer-item a {
    line-height: 2.5;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    font-size: 0.95rem;
}

.footer .footer-item a i {
    margin-right: 8px;
    font-size: 0.75rem;
    width: 16px;
    transition: all 0.3s ease;
}

.footer .footer-item a:hover {
    color: #007bff;
    padding-left: 5px;
    transform: translateX(5px);
}

.footer .footer-item a:hover i {
    color: #007bff;
}

.footer .footer-item p {
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.footer .footer-brand {
    margin-bottom: 1.5rem;
}

.footer .footer-brand a {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-bottom: 1rem;
}

.footer .footer-brand span {
    color: #ffffff;
    font-weight: 700;
}

.footer .footer-social {
    display: flex;
    gap: 12px;
    margin-top: 1.5rem;
}

.footer .footer-social a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.footer .footer-social a:hover {
    background: #007bff;
    border-color: #007bff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
    padding-left: 0;
    transform: translateY(-3px);
}

.footer .footer-social a:hover i {
    color: #ffffff;
    transform: scale(1.1);
}

.footer .footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.footer .footer-contact-item:hover {
    transform: translateX(5px);
}

.footer .footer-contact-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 10px;
    margin-right: 15px;
    color: #ffffff;
    font-size: 1.1rem;
}

.footer .footer-contact-info h5 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.footer .footer-contact-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.6;
}

.footer .footer-newsletter {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .footer-newsletter input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 12px 20px;
}

.footer .footer-newsletter input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.footer .footer-newsletter input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #007bff;
    color: #ffffff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.footer .footer-newsletter button {
    background: linear-gradient(135deg, #007bff, #0056b3);
    border: none;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer .footer-newsletter button:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

.footer .footer-call-button {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    min-width: 0;
}

.footer .footer-call-button .footer-call-info {
    flex: 1;
    min-width: 0;
}

.footer .footer-call-button:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.footer .footer-call-button a.btn {
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.5rem;
    position: relative;
    flex-shrink: 0;
}

.footer .footer-call-button a.btn i {
    font-size: 1.5rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.footer .footer-call-button a.btn::after {
    content: '';
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: #28a745;
    border-radius: 50%;
    border: 3px solid #1a1a2e;
}

.footer .footer-call-info {
    flex: 1;
}

.footer .footer-call-info span:first-child {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    display: block;
    margin-bottom: 0.25rem;
}

.footer .footer-call-info a {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
}

.footer .footer-call-info a:hover {
    color: #007bff;
    padding-left: 0;
    transform: none;
}

/* Fix Bootstrap grid gaps causing extra spacing */
.footer .row.g-4,
.footer .row.g-5,
.footer .row.g-lg-5 {
    margin-bottom: 0 !important;
}

.footer .row.g-4 > *,
.footer .row.g-5 > *,
.footer .row.g-lg-5 > * {
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Ensure footer columns don't have extra spacing */
.footer [class*="col-"] {
    margin-bottom: 0;
}

.footer [class*="col-"]:last-child {
    margin-bottom: 0;
}

/* Fix spacing between footer sections */
.footer .footer-brand,
.footer .footer-social,
.footer .footer-newsletter,
.footer .footer-call-button {
    margin-bottom: 1.5rem;
}

.footer .footer-brand:last-child,
.footer .footer-social:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .footer .footer-item {
        margin-bottom: 2rem;
    }
    
    .footer .footer-item:last-child {
        margin-bottom: 0;
    }
    
    .footer .footer-item h4 {
        margin-bottom: 1rem;
    }
    
    .footer .container.py-5 {
        padding-bottom: 1.5rem !important;
    }
}
/*** Footer End ***/


/*** copyright Start ***/
.copyright {
    background: var(--bs-dark);
    border-top: 1px solid rgba(255, 255, 255, .08);
    margin: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    padding-top: 1rem !important;
}

/* Override Bootstrap py-4 padding-bottom for copyright */
.copyright.py-4 {
    padding-bottom: 0 !important;
    padding-top: 1rem !important;
}

.copyright .container,
.copyright .container-fluid {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 1rem !important;
}

.copyright .row {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Copyright Mobile Responsive */
@media (max-width: 768px) {
    .copyright {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
    
    .copyright .container,
    .copyright .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
    
    .copyright .row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
    }
    
    .copyright .row > [class*="col-"] {
        width: 100%;
        text-align: center !important;
        margin-bottom: 0.5rem;
    }
    
    .copyright .row > [class*="col-"]:last-child {
        margin-bottom: 0;
    }
    
    .copyright span,
    .copyright a {
        font-size: 0.9rem;
        display: inline-block;
    }
}

@media (max-width: 576px) {
    .copyright {
        padding-top: 0.875rem !important;
        padding-bottom: 0.875rem !important;
    }
    
    .copyright .container,
    .copyright .container-fluid {
        padding-left: 0.875rem;
        padding-right: 0.875rem;
        padding-top: 0.875rem !important;
        padding-bottom: 0.875rem !important;
    }
    
    .copyright .row {
        gap: 0.5rem;
    }
    
    .copyright span,
    .copyright a {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .copyright {
        padding-top: 0.75rem !important;
        padding-bottom: 0.75rem !important;
    }
    
    .copyright .container,
    .copyright .container-fluid {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        padding-top: 0.75rem !important;
        padding-bottom: 0.75rem !important;
    }
    
    .copyright span,
    .copyright a {
        font-size: 0.8rem;
        line-height: 1.5;
    }
    
    .copyright .row {
        gap: 0.4rem;
    }
}

/* Ensure no white space after copyright */
body {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

html {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Ensure footer and copyright are connected with no gap */
.footer + .copyright {
    margin-top: 0 !important;
    padding-top: 1rem !important;
}

/* Remove any spacing after copyright */
.copyright:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Ensure no white space at bottom of page */
body > *:last-child {
    margin-bottom: 0 !important;
}

/* Remove any default spacing from main content before footer */
main,
.content-wrapper,
section {
    margin-bottom: 0;
}

section:last-of-type {
    margin-bottom: 0;
    padding-bottom: 0;
}
/*** copyright end ***/


/*** Mobile Responsive Improvements Start ***/
/* Prevent horizontal overflow and ensure responsive base */
* {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    overflow-x: hidden;
    word-wrap: break-word;
}

/* Image Responsiveness */
img {
    max-width: 100%;
    height: auto;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

/* Container & Padding Responsive Adjustments */
@media (max-width: 991px) {
    .py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
    
    .px-5 {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
    
    .px-4 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

@media (max-width: 768px) {
    .container,
    .container-fluid {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .px-5 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    .px-4 {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
    
    .mb-5 {
        margin-bottom: 2rem !important;
    }
    
    .mt-5 {
        margin-top: 2rem !important;
    }
}

@media (max-width: 576px) {
    .container,
    .container-fluid {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .py-5 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    .px-5,
    .px-4 {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
    
    .mb-5 {
        margin-bottom: 1.5rem !important;
    }
    
    .mt-5 {
        margin-top: 1.5rem !important;
    }
    
    .mb-4 {
        margin-bottom: 1rem !important;
    }
    
    .mt-4 {
        margin-top: 1rem !important;
    }
}

/* Typography Responsive Scaling */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem !important;
        line-height: 1.2;
    }
    
    h2 {
        font-size: 1.75rem !important;
        line-height: 1.3;
    }
    
    h3 {
        font-size: 1.5rem !important;
        line-height: 1.3;
    }
    
    h4 {
        font-size: 1.25rem !important;
        line-height: 1.4;
    }
    
    h5 {
        font-size: 1.1rem !important;
        line-height: 1.4;
    }
    
    h6 {
        font-size: 1rem !important;
        line-height: 1.4;
    }
    
    p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .lead {
        font-size: 1.1rem !important;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.75rem !important;
        line-height: 1.2;
    }
    
    h2 {
        font-size: 1.5rem !important;
        line-height: 1.3;
    }
    
    h3 {
        font-size: 1.3rem !important;
        line-height: 1.3;
    }
    
    h4 {
        font-size: 1.15rem !important;
        line-height: 1.4;
    }
    
    h5 {
        font-size: 1rem !important;
        line-height: 1.4;
    }
    
    h6 {
        font-size: 0.95rem !important;
        line-height: 1.4;
    }
    
    p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .lead {
        font-size: 1rem !important;
    }
}

/* Breadcrumb Header Responsive */
@media (max-width: 768px) {
    .bg-breadcrumb {
        padding: 120px 0 30px 0 !important; /* 85px navbar + 35px top, 30px bottom */
    }
    
    .bg-breadcrumb h1 {
        font-size: 1.75rem !important;
    }
    
    .bg-breadcrumb .breadcrumb {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .bg-breadcrumb {
        padding: 110px 0 25px 0 !important; /* 85px navbar + 25px top, 25px bottom */
    }
    
    .bg-breadcrumb h1 {
        font-size: 1.5rem !important;
    }
    
    .bg-breadcrumb .breadcrumb {
        font-size: 0.8rem;
    }
}

/* Footer Mobile Improvements - Enhanced Responsive Design */
@media (max-width: 992px) {
    .footer {
        padding: 0 !important;
    }
    
    .footer .container,
    .footer .container-fluid {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .footer .container.py-5 {
        padding-top: 3rem !important;
        padding-bottom: 2.5rem !important;
    }
    
    .footer .row {
        margin-bottom: 0;
        margin-left: 0;
        margin-right: 0;
    }
    
    .footer .row [class*="col-"] {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        margin-bottom: 0;
    }
    
    .footer .footer-item {
        text-align: center;
        margin-bottom: 2.5rem;
        padding: 0;
    }
    
    .footer .footer-item:last-child {
        margin-bottom: 0;
    }
    
    .footer .footer-item h4 {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }
    
    .footer .footer-item h4::after {
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
    }
    
    .footer .footer-item a {
        font-size: 1rem;
        line-height: 2.2;
        padding: 8px 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .footer .footer-item p {
        font-size: 1rem;
        line-height: 1.8;
        margin-bottom: 1rem;
    }
    
    .footer .footer-brand {
        margin-bottom: 2rem;
    }
    
    .footer .footer-brand a {
        justify-content: center;
        margin-bottom: 1.5rem;
    }
    
    .footer .footer-social {
        justify-content: center;
        margin-top: 1.5rem;
        gap: 15px;
    }
    
    .footer .footer-social a {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .footer .footer-contact-item {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 2rem;
        padding: 1rem;
        background: rgba(255, 255, 255, 0.03);
        border-radius: 12px;
        transition: all 0.3s ease;
    }
    
    .footer .footer-contact-item:hover {
        background: rgba(255, 255, 255, 0.08);
        transform: translateY(-3px);
    }
    
    .footer .footer-contact-icon {
        margin-right: 0;
        margin-bottom: 1rem;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .footer .footer-contact-info {
        width: 100%;
    }
    
    .footer .footer-contact-info h5 {
        font-size: 1.05rem;
        margin-bottom: 0.5rem;
    }
    
    .footer .footer-contact-info p {
        font-size: 0.95rem;
    }
    
    .footer .footer-call-button {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 1.5rem;
        padding: 1.5rem;
        margin-top: 0;
    }
    
    .footer .footer-call-button a.btn {
        width: 70px;
        height: 70px;
        min-width: 70px;
        min-height: 70px;
        font-size: 1.8rem;
        flex-shrink: 0;
    }
    
    .footer .footer-call-button a.btn i {
        font-size: 1.8rem !important;
        width: 100% !important;
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .footer .footer-call-info {
        text-align: center;
    }
    
    .footer .footer-call-info span:first-child {
        font-size: 0.9rem;
        display: block;
        margin-bottom: 0.5rem;
    }
    
    .footer .footer-call-info a {
        font-size: 1.15rem;
    }
}

@media (max-width: 768px) {
    .footer {
        padding-top: 3rem !important;
        padding-bottom: 2rem !important;
    }
    
    .footer .container,
    .footer .container-fluid {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
    
    .footer .container.py-5 {
        padding-top: 3rem !important;
        padding-bottom: 2rem !important;
    }
    
    .footer .row {
        margin-left: 0;
        margin-right: 0;
    }
    
    .footer .row [class*="col-"] {
        padding-left: 0.625rem;
        padding-right: 0.625rem;
        margin-bottom: 0;
    }
    
    .footer .footer-item {
        text-align: center;
        margin-bottom: 2.5rem;
        padding: 0 1rem;
    }
    
    .footer .footer-item:last-child {
        margin-bottom: 0;
    }
    
    .footer .footer-item h4 {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
        color: #ffffff;
    }
    
    .footer .footer-item a {
        font-size: 1rem;
        line-height: 2;
        padding: 0.5rem 0;
        display: block;
        margin-bottom: 0.5rem;
    }
    
    .footer .footer-item p {
        font-size: 0.95rem;
    }
    
    .footer .footer-brand {
        justify-content: center;
        margin-bottom: 2rem;
    }
    
    .footer .footer-brand a {
        justify-content: center;
    }
    
    .footer .footer-social {
        justify-content: center;
        margin-top: 2rem;
        gap: 15px;
    }
    
    .footer .footer-social a {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
    }
    
    .footer .footer-contact-item {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 2rem;
        padding: 1rem;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 10px;
        transition: all 0.3s ease;
    }
    
    .footer .footer-contact-item:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateY(-3px);
    }
    
    .footer .footer-contact-icon {
        margin-right: 0;
        margin-bottom: 1rem;
        width: 50px;
        height: 50px;
        min-width: 50px;
        font-size: 1.2rem;
    }
    
    .footer .footer-contact-info {
        text-align: center;
        width: 100%;
    }
    
    .footer .footer-contact-info h5 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .footer .footer-contact-info p {
        font-size: 1rem;
    }
    
    .footer .footer-call-button {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 1.5rem;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 15px;
        margin-top: 2rem;
        gap: 1.5rem;
    }
    
    .footer .footer-call-button a.btn {
        width: 70px;
        height: 70px;
        min-width: 70px;
        min-height: 70px;
        font-size: 1.8rem;
        margin-bottom: 1rem;
        flex-shrink: 0;
    }
    
    .footer .footer-call-button a.btn i {
        font-size: 1.8rem !important;
        width: 100% !important;
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .footer .footer-call-info {
        text-align: center;
    }
    
    .footer .footer-call-info span:first-child {
        font-size: 0.95rem;
        display: block;
        margin-bottom: 0.5rem;
    }
    
    .footer .footer-call-info a {
        font-size: 1.15rem;
        display: inline-block;
    }
}

@media (max-width: 576px) {
    .footer {
        padding-top: 2.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    .footer .container,
    .footer .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .footer .container.py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    .footer .row {
        margin-left: 0;
        margin-right: 0;
    }
    
    .footer .row [class*="col-"] {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        margin-bottom: 0;
    }
    
    .footer .footer-item {
        text-align: center;
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }
    
    .footer .footer-item:last-child {
        margin-bottom: 0;
    }
    
    .footer .footer-item h4 {
        font-size: 1.2rem;
        margin-bottom: 1.25rem;
        color: #ffffff;
        padding-bottom: 0.75rem;
    }
    
    .footer .footer-item h4::after {
        width: 50px;
    }
    
    .footer .footer-item a {
        font-size: 0.95rem;
        line-height: 2;
        padding: 0.5rem 0;
        display: block;
        margin-bottom: 0.5rem;
    }
    
    .footer .footer-item p {
        font-size: 0.9rem;
        line-height: 1.7;
    }
    
    .footer .footer-brand {
        justify-content: center;
        margin-bottom: 2rem;
    }
    
    .footer .footer-brand a {
        justify-content: center;
        margin-bottom: 1.25rem;
    }
    
    .footer .footer-brand img {
        height: 40px !important;
    }
    
    .footer .footer-brand span {
        font-size: 1.5rem !important;
    }
    
    .footer .footer-social {
        justify-content: center;
        margin-top: 2rem;
        gap: 15px;
    }
    
    .footer .footer-social a {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        font-size: 1rem;
        flex-shrink: 0;
    }
    
    .footer .footer-contact-item {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 1.5rem;
        padding: 0.75rem;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 10px;
        transition: all 0.3s ease;
    }
    
    .footer .footer-contact-item:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateY(-3px);
    }
    
    .footer .footer-contact-icon {
        margin-right: 0;
        margin-bottom: 1rem;
        width: 45px;
        height: 45px;
        min-width: 45px;
        min-height: 45px;
        font-size: 1.1rem;
    }
    
    .footer .footer-contact-info {
        text-align: center;
        width: 100%;
    }
    
    .footer .footer-contact-info h5 {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }
    
    .footer .footer-contact-info p {
        font-size: 0.9rem;
    }
    
    .footer .footer-call-button {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 1.25rem;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 15px;
        margin-top: 2rem;
        gap: 1.25rem;
    }
    
    .footer .footer-call-button a.btn {
        width: 65px;
        height: 65px;
        min-width: 65px;
        min-height: 65px;
        font-size: 1.6rem;
        margin-bottom: 1rem;
        flex-shrink: 0;
    }
    
    .footer .footer-call-button a.btn i {
        font-size: 1.6rem !important;
        width: 100% !important;
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .footer .footer-call-info {
        text-align: center;
    }
    
    .footer .footer-call-info span:first-child {
        font-size: 0.95rem;
        display: block;
        margin-bottom: 0.5rem;
    }
    
    .footer .footer-call-info a {
        font-size: 1.15rem;
        display: inline-block;
    }
}

@media (max-width: 480px) {
    .footer {
        padding-top: 2rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    .footer .container,
    .footer .container-fluid {
        padding-left: 0.875rem;
        padding-right: 0.875rem;
    }
    
    .footer .container.py-5 {
        padding-top: 2rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    .footer .row {
        margin-left: 0;
        margin-right: 0;
    }
    
    .footer .row [class*="col-"] {
        padding-left: 0.375rem;
        padding-right: 0.375rem;
        margin-bottom: 0;
    }
    
    .footer .footer-item {
        text-align: center;
        margin-bottom: 1.5rem;
        padding: 0 0.25rem;
    }
    
    .footer .footer-item:last-child {
        margin-bottom: 0;
    }
    
    .footer .footer-item h4 {
        font-size: 1rem;
        margin-bottom: 0.875rem;
        padding-bottom: 0.625rem;
        color: #ffffff;
    }
    
    .footer .footer-item h4::after {
        width: 40px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer .footer-item a {
        font-size: 0.875rem;
        line-height: 1.75;
        padding: 0.4rem 0;
        display: block;
        margin-bottom: 0.4rem;
    }
    
    .footer .footer-item p {
        font-size: 0.85rem;
        line-height: 1.6;
        word-break: break-word;
    }
    
    .footer .footer-brand {
        justify-content: center;
        margin-bottom: 1.5rem;
    }
    
    .footer .footer-brand a {
        justify-content: center;
        margin-bottom: 1rem;
    }
    
    .footer .footer-brand img {
        height: 36px !important;
        max-width: 36px !important;
    }
    
    .footer .footer-brand span {
        font-size: 1.3rem !important;
    }
    
    .footer .footer-social {
        justify-content: center;
        margin-top: 1.5rem;
        gap: 8px;
        flex-wrap: wrap;
    }
    
    .footer .footer-social a {
        width: 38px;
        height: 38px;
        min-width: 38px;
        min-height: 38px;
        font-size: 0.95rem;
        flex-shrink: 0;
    }
    
    .footer .footer-contact-item {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 1.25rem;
        padding: 0.875rem;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .footer .footer-contact-item:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateY(-3px);
    }
    
    .footer .footer-contact-icon {
        margin-right: 0;
        margin-bottom: 0.75rem;
        width: 42px;
        height: 42px;
        min-width: 42px;
        min-height: 42px;
        font-size: 1rem;
        flex-shrink: 0;
    }
    
    .footer .footer-contact-info {
        text-align: center;
        width: 100%;
    }
    
    .footer .footer-contact-info h5 {
        font-size: 0.9rem;
        margin-bottom: 0.35rem;
    }
    
    .footer .footer-contact-info p {
        font-size: 0.8rem;
        word-break: break-word;
        line-height: 1.5;
    }
    
    .footer .footer-call-button {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 1rem;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 12px;
        margin-top: 1.5rem;
        gap: 1rem;
    }
    
    .footer .footer-call-button a.btn {
        width: 58px;
        height: 58px;
        min-width: 58px;
        min-height: 58px;
        font-size: 1.4rem;
        margin-bottom: 0.875rem;
        flex-shrink: 0;
    }
    
    .footer .footer-call-button a.btn i {
        font-size: 1.4rem !important;
        width: 100% !important;
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .footer .footer-call-info {
        text-align: center;
        width: 100%;
    }
    
    .footer .footer-call-info span:first-child {
        font-size: 0.8rem;
        display: block;
        margin-bottom: 0.35rem;
        line-height: 1.4;
    }
    
    .footer .footer-call-info a {
        font-size: 0.95rem;
        display: inline-block;
        word-break: break-word;
        line-height: 1.4;
    }
}

/* Extra small devices (iPhone Pro, etc. - 390px and below) */
@media (max-width: 390px) {
    .footer {
        padding-top: 1.75rem !important;
        padding-bottom: 1.25rem !important;
    }
    
    .footer .container,
    .footer .container-fluid {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    .footer .container.py-5 {
        padding-top: 1.75rem !important;
        padding-bottom: 1.25rem !important;
    }
    
    .footer .row {
        margin-left: 0;
        margin-right: 0;
    }
    
    .footer .row [class*="col-"] {
        padding-left: 0.25rem;
        padding-right: 0.25rem;
        margin-bottom: 0;
    }
    
    .footer .footer-item {
        text-align: center;
        margin-bottom: 1.25rem;
        padding: 0 0.125rem;
    }
    
    .footer .footer-item:last-child {
        margin-bottom: 0;
    }
    
    .footer .footer-item h4 {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
        padding-bottom: 0.5rem;
        color: #ffffff;
    }
    
    .footer .footer-item h4::after {
        width: 35px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer .footer-item a {
        font-size: 0.8rem;
        line-height: 1.7;
        padding: 0.35rem 0;
        display: block;
        margin-bottom: 0.35rem;
    }
    
    .footer .footer-item p {
        font-size: 0.8rem;
        line-height: 1.5;
        word-break: break-word;
    }
    
    .footer .footer-brand {
        justify-content: center;
        margin-bottom: 1.25rem;
    }
    
    .footer .footer-brand a {
        justify-content: center;
        margin-bottom: 0.875rem;
    }
    
    .footer .footer-brand img {
        height: 32px !important;
        max-width: 32px !important;
    }
    
    .footer .footer-brand span {
        font-size: 1.2rem !important;
    }
    
    .footer .footer-social {
        justify-content: center;
        margin-top: 1.25rem;
        gap: 6px;
        flex-wrap: wrap;
    }
    
    .footer .footer-social a {
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
        font-size: 0.9rem;
        flex-shrink: 0;
    }
    
    .footer .footer-contact-item {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 1rem;
        padding: 0.75rem;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .footer .footer-contact-item:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateY(-3px);
    }
    
    .footer .footer-contact-icon {
        margin-right: 0;
        margin-bottom: 0.625rem;
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        font-size: 0.95rem;
        flex-shrink: 0;
    }
    
    .footer .footer-contact-info {
        text-align: center;
        width: 100%;
    }
    
    .footer .footer-contact-info h5 {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
    }
    
    .footer .footer-contact-info p {
        font-size: 0.75rem;
        word-break: break-word;
        line-height: 1.4;
    }
    
    .footer .footer-call-button {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 0.875rem;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 10px;
        margin-top: 1.25rem;
        gap: 0.875rem;
    }
    
    .footer .footer-call-button a.btn {
        width: 55px;
        height: 55px;
        min-width: 55px;
        min-height: 55px;
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
        flex-shrink: 0;
    }
    
    .footer .footer-call-button a.btn i {
        font-size: 1.3rem !important;
        width: 100% !important;
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .footer .footer-call-info {
        text-align: center;
        width: 100%;
    }
    
    .footer .footer-call-info span:first-child {
        font-size: 0.75rem;
        display: block;
        margin-bottom: 0.3rem;
        line-height: 1.3;
    }
    
    .footer .footer-call-info a {
        font-size: 0.875rem;
        display: inline-block;
        word-break: break-word;
        line-height: 1.3;
    }
}

/* Back to Top Button Mobile */
@media (max-width: 768px) {
    .back-to-top {
        right: 15px;
        bottom: 15px;
        width: 48px;
        height: 48px;
    }
    
    .back-to-top i {
        font-size: 1.25rem;
    }
}

@media (max-width: 576px) {
    .back-to-top {
        right: 12px;
        bottom: 12px;
        width: 44px;
        height: 44px;
    }
    
    .back-to-top i {
        font-size: 1.1rem;
    }
}

/* Button Responsive Improvements */
@media (max-width: 768px) {
    .btn {
        font-size: 0.95rem;
        padding: 0.5rem 1rem;
        min-height: 44px; /* Ensure touch target is at least 44px */
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .btn-lg {
        font-size: 1rem;
        padding: 0.625rem 1.25rem;
        min-height: 48px;
    }
    
    .btn-sm {
        font-size: 0.85rem;
        padding: 0.375rem 0.75rem;
        min-height: 40px;
    }
    
    /* Ensure buttons wrap text properly */
    .btn {
        white-space: normal;
        word-wrap: break-word;
    }
}

@media (max-width: 576px) {
    .btn {
        font-size: 0.9rem;
        padding: 0.45rem 0.9rem;
        min-height: 44px;
    }
    
    .btn-lg {
        font-size: 0.95rem;
        padding: 0.55rem 1.1rem;
        min-height: 46px;
    }
    
    /* Full width buttons on very small screens */
    .btn-lg,
    .consultation-btn,
    .footer .footer-newsletter button {
        width: 100%;
        display: block;
        margin-top: 0.5rem;
    }
    
    /* Stack buttons vertically when side by side */
    .d-flex.justify-content-center .btn {
        width: 100%;
        margin: 0.25rem 0;
    }
}

@media (max-width: 480px) {
    .btn {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
        min-height: 44px;
    }
    
    .btn-lg {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
}

/* Form Elements Responsive */
@media (max-width: 768px) {
    .form-control {
        font-size: 0.95rem;
        padding: 0.5rem 0.75rem;
    }
    
    .form-label {
        font-size: 0.95rem;
    }
    
    .form-select {
        font-size: 0.95rem;
        padding: 0.5rem 0.75rem;
    }
}

@media (max-width: 576px) {
    .form-control {
        font-size: 0.9rem;
        padding: 0.45rem 0.7rem;
    }
    
    .form-label {
        font-size: 0.9rem;
    }
    
    .form-select {
        font-size: 0.9rem;
        padding: 0.45rem 0.7rem;
    }
}

/* Card Responsive Improvements */
@media (max-width: 768px) {
    .card {
        margin-bottom: 1.5rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .card-title {
        font-size: 1.15rem;
    }
    
    .card-text {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .card-body {
        padding: 0.75rem;
    }
    
    .card-title {
        font-size: 1rem;
    }
    
    .card-text {
        font-size: 0.9rem;
    }
}

/* Grid Improvements for Mobile */
@media (max-width: 768px) {
    .row {
        margin-left: -10px;
        margin-right: -10px;
    }
    
    [class*="col-"] {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    /* Prevent horizontal overflow */
    .container-fluid,
    .container {
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }
}

@media (max-width: 576px) {
    .row {
        margin-left: -7.5px;
        margin-right: -7.5px;
    }
    
    [class*="col-"] {
        padding-left: 7.5px;
        padding-right: 7.5px;
    }
    
    /* Prevent horizontal overflow on small screens */
    .container-fluid,
    .container {
        padding-left: 10px;
        padding-right: 10px;
        overflow-x: hidden;
    }
}

@media (max-width: 480px) {
    .row {
        margin-left: -5px;
        margin-right: -5px;
    }
    
    [class*="col-"] {
        padding-left: 5px;
        padding-right: 5px;
    }
    
    .container-fluid,
    .container {
        padding-left: 8px;
        padding-right: 8px;
    }
}

/* Destination Cards Mobile */
@media (max-width: 768px) {
    .destination-card {
        margin-bottom: 1.5rem;
        padding: 1rem !important;
    }
    
    .destination-item {
        padding: 1rem !important;
        margin-bottom: 1rem;
    }
    
    .destination-item h5 {
        font-size: 1rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .destination-item p {
        font-size: 0.85rem !important;
    }
}

@media (max-width: 576px) {
    .destination-card {
        padding: 0.75rem !important;
        margin-bottom: 1rem;
    }
    
    .destination-card img {
        width: 60px !important;
        height: 40px !important;
    }
    
    .destination-item {
        padding: 0.75rem !important;
        margin-bottom: 0.75rem;
    }
    
    .destination-item h5 {
        font-size: 0.95rem !important;
        margin-bottom: 0.4rem !important;
    }
    
    .destination-item p {
        font-size: 0.8rem !important;
    }
    
    /* Fix inline fixed-width styles for flag images */
    .flag-icon img,
    .flag-icon img[style*="width: 60px"],
    .flag-icon img[style*="height: 40px"],
    .flag-icon img[style*="width"],
    .flag-icon img[style*="height"] {
        max-width: 100% !important;
        width: auto !important;
        height: auto !important;
        max-height: 40px !important;
        object-fit: contain !important;
    }
}

@media (max-width: 480px) {
    .destination-item {
        padding: 0.5rem !important;
    }
    
    .flag-icon {
        margin-bottom: 0.5rem !important;
    }
    
    .flag-icon img {
        max-width: 50px !important;
        max-height: 35px !important;
    }
}

/* Ensure Featured Study Destinations Section is Visible in Responsive Mode */
/* Target the section directly - it's the container-fluid.py-5 that contains destinationsContainer */
@media (max-width: 991px) {
    /* Ensure the parent section container is visible */
    .destinations-section,
    .container-fluid.destinations-section,
    .container-fluid.py-5.destinations-section,
    .container-fluid:has(#destinationsContainer),
    .container-fluid.py-5:has(#destinationsContainer) {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Ensure destinations container is visible */
    #destinationsContainer {
        display: flex !important;
        flex-wrap: wrap !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Ensure visible destination cards are visible in responsive mode */
    #destinationsContainer .destination-card-visible {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Keep hidden cards hidden by default - only show when toggled */
    #destinationsContainer .destination-card-hidden {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
    
    /* Ensure hidden cards become visible when shown */
    #destinationsContainer .destination-card-hidden.show,
    #destinationsContainer .destination-card-hidden[style*="display: block"],
    #destinationsContainer .destination-card-hidden[data-visible="true"] {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: translateY(0) !important;
        max-width: 100% !important;
        flex: 0 0 auto !important;
    }
    
    /* Ensure Explore All Destinations button is visible and clickable */
    #exploreAllBtn {
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        cursor: pointer !important;
        z-index: 10 !important;
        position: relative !important;
    }
    
    /* Ensure parent containers are visible */
    #destinationsContainer,
    #destinationsContainer + *,
    #destinationsContainer ~ * {
        display: block !important;
        visibility: visible !important;
    }
    
    /* Ensure heading section is visible */
    #destinationsContainer ~ .text-center,
    .container:has(#destinationsContainer) .text-center {
        display: block !important;
        visibility: visible !important;
    }
}

@media (max-width: 768px) {
    /* Additional mobile fixes for destinations section */
    /* Ensure parent section is visible */
    .destinations-section,
    .container-fluid.destinations-section,
    .container-fluid.py-5.destinations-section,
    .container-fluid:has(#destinationsContainer),
    .container-fluid.py-5:has(#destinationsContainer) {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .destinations-section .container,
    .container:has(#destinationsContainer) {
        display: block !important;
        visibility: visible !important;
    }
    
    #destinationsContainer {
        display: flex !important;
        flex-wrap: wrap !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
    }
    
    #destinationsContainer > div {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin-bottom: 1rem !important;
    }
    
    /* Ensure hidden cards are visible and take proper space when shown */
    #destinationsContainer > div.destination-card-hidden.show,
    #destinationsContainer > div.destination-card-hidden[data-visible="true"],
    #destinationsContainer > div.destination-card-hidden[style*="display: block"] {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: auto !important;
        flex: 0 0 auto !important;
        max-width: 100% !important;
    }
    
    /* Ensure visible destination cards are visible */
    #destinationsContainer .col-md-4.destination-card-visible,
    #destinationsContainer .col-lg-2.destination-card-visible,
    #destinationsContainer .destination-card-visible {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Keep hidden cards hidden by default - only show when toggled */
    #destinationsContainer .col-md-4.destination-card-hidden,
    #destinationsContainer .col-lg-2.destination-card-hidden,
    #destinationsContainer .destination-card-hidden {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
    
    /* Ensure hidden cards become visible when shown in mobile */
    #destinationsContainer .destination-card-hidden.show,
    #destinationsContainer .destination-card-hidden[style*="display: block"],
    #destinationsContainer .destination-card-hidden[data-visible="true"],
    #destinationsContainer .destination-card-hidden.show[style*="display: none"] {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: translateY(0) !important;
        max-width: 100% !important;
        flex: 0 0 auto !important;
    }
    
    /* Ensure heading section is visible */
    .destinations-section .container .text-center,
    .destinations-section .container h1,
    .destinations-section .container h4,
    .destinations-section .container p,
    .container:has(#destinationsContainer) .text-center,
    .container:has(#destinationsContainer) h1,
    .container:has(#destinationsContainer) h4,
    .container:has(#destinationsContainer) p {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Ensure button is visible and clickable */
    #exploreAllBtn {
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin-top: 1.5rem !important;
        pointer-events: auto !important;
        cursor: pointer !important;
        z-index: 10 !important;
        position: relative !important;
        user-select: none !important;
        -webkit-user-select: none !important;
        -moz-user-select: none !important;
        -ms-user-select: none !important;
    }
    
    /* Ensure button container is not blocking clicks */
    .destinations-section .text-center {
        pointer-events: auto !important;
    }
    
    .destinations-section .text-center:has(#exploreAllBtn) #exploreAllBtn,
    .destinations-section #exploreAllBtn {
        pointer-events: auto !important;
    }
}

@media (max-width: 576px) {
    /* Small screen fixes */
    /* Ensure parent section is visible */
    .destinations-section,
    .container-fluid.destinations-section,
    .container-fluid.py-5.destinations-section,
    .container-fluid:has(#destinationsContainer),
    .container-fluid.py-5:has(#destinationsContainer) {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .destinations-section .container,
    .container:has(#destinationsContainer) {
        display: block !important;
        visibility: visible !important;
    }
    
    #destinationsContainer {
        display: flex !important;
        flex-wrap: wrap !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
    }
    
    #destinationsContainer > div {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        flex: 0 0 50% !important;
        max-width: 50% !important;
        width: 50% !important;
    }
    
    /* Ensure hidden cards take proper width when shown */
    #destinationsContainer > div.destination-card-hidden.show,
    #destinationsContainer > div.destination-card-hidden[data-visible="true"] {
        display: block !important;
        flex: 0 0 50% !important;
        max-width: 50% !important;
        width: 50% !important;
    }
    
    /* Ensure visible cards are visible */
    #destinationsContainer .col-md-4.destination-card-visible,
    #destinationsContainer .col-lg-2.destination-card-visible,
    #destinationsContainer .destination-card-visible {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Keep hidden cards hidden by default - only show when toggled */
    #destinationsContainer .col-md-4.destination-card-hidden,
    #destinationsContainer .col-lg-2.destination-card-hidden,
    #destinationsContainer .destination-card-hidden {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
    
    /* Ensure hidden cards become visible when shown on small screens */
    #destinationsContainer .destination-card-hidden.show,
    #destinationsContainer .destination-card-hidden[style*="display: block"],
    #destinationsContainer .destination-card-hidden[data-visible="true"],
    #destinationsContainer .destination-card-hidden.show[style*="display: none"] {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: translateY(0) !important;
        max-width: 100% !important;
        flex: 0 0 auto !important;
    }
    
    /* Ensure heading section is visible */
    .destinations-section .container .text-center,
    .destinations-section .container h1.display-4,
    .container:has(#destinationsContainer) .text-center,
    .container:has(#destinationsContainer) h1.display-4 {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        font-size: 1.5rem !important;
    }
    
    .destinations-section .container h4,
    .container:has(#destinationsContainer) h4 {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        font-size: 1rem !important;
    }
    
    /* Ensure button is visible and clickable */
    #exploreAllBtn {
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: auto !important;
        padding: 0.75rem 1.5rem !important;
        font-size: 0.9rem !important;
        pointer-events: auto !important;
        cursor: pointer !important;
        z-index: 10 !important;
        position: relative !important;
        user-select: none !important;
        -webkit-user-select: none !important;
        -moz-user-select: none !important;
        -ms-user-select: none !important;
        touch-action: manipulation !important;
    }
    
    /* Ensure button container is not blocking clicks */
    .destinations-section .text-center {
        pointer-events: auto !important;
    }
    
    .destinations-section .text-center:has(#exploreAllBtn) #exploreAllBtn,
    .destinations-section #exploreAllBtn {
        pointer-events: auto !important;
    }
    
    /* Ensure no overlay is blocking the button */
    .destinations-section::before,
    .destinations-section::after {
        pointer-events: none !important;
    }
    
    /* Ensure button wrapper doesn't block clicks */
    .destinations-section .mt-5 {
        pointer-events: auto !important;
    }
}

/* Partner Cards Mobile */
@media (max-width: 768px) {
    .partner-card {
        margin-bottom: 1.5rem;
        padding: 1rem !important;
    }
}

@media (max-width: 576px) {
    .partner-card {
        padding: 0.75rem !important;
        margin-bottom: 1rem;
    }
    
    .partner-card img {
        max-width: 100%;
        height: auto;
    }
}

/* Testimonial Cards Mobile */
@media (max-width: 768px) {
    .testimonial-item {
        padding: 1rem !important;
        margin-bottom: 1.5rem;
        height: 100% !important;
    }
    
    /* Ensure equal heights on mobile */
    .testimonial-carousel .owl-item {
        display: flex !important;
        align-items: stretch !important;
    }
    
    .testimonial-carousel .owl-item .testimonial-item {
        height: 100% !important;
    }
}

@media (max-width: 576px) {
    .testimonial-item {
        padding: 0.75rem !important;
        height: 100% !important;
    }
    
    .testimonial-item img {
        width: 80px !important;
        height: 80px !important;
    }
    
    /* Ensure equal heights on small mobile */
    .testimonial-carousel .owl-item {
        display: flex !important;
        align-items: stretch !important;
    }
    
    .testimonial-carousel .owl-item .testimonial-item {
        height: 100% !important;
    }
}

/* Fix any fixed width elements that might cause overflow */
@media (max-width: 768px) {
    *[style*="width"]:not([style*="max-width"]) {
        max-width: 100% !important;
    }
    
    /* Override inline fixed widths for flag images */
    .flag-icon img[style*="width: 60px"],
    .flag-icon img[style*="height: 40px"] {
        max-width: 100% !important;
        width: auto !important;
        height: auto !important;
        max-height: 50px !important;
    }
}

/*** Enhanced Navbar Responsive Fixes ***/
/* Mobile menu positioning - full screen from top - ONLY on mobile */
@media (max-width: 992px) {
    .mobile-menu {
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        padding-top: 85px !important;
        z-index: 9999 !important;
    }
    
    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden !important;
        position: fixed !important;
        width: 100% !important;
        height: 100% !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
    }
    
    /* Prevent scrolling on html element as well */
    html.menu-open {
        overflow: hidden !important;
        height: 100% !important;
    }
}

/* Brand responsiveness improvements */
@media (max-width: 576px) {
    .brand-name {
        font-size: 20px !important; /* Further reduced from 24px */
    }
    
    .brand-tagline {
        font-size: 10px !important; /* Reduced from 11px */
    }
    
    .brand-logo {
        height: 35px !important; /* Reduced from 40px */
    }
    
    .nav-container {
        padding: 0 10px !important; /* Reduced padding on very small screens */
        height: 75px !important; /* Slightly reduced navbar height on mobile */
        justify-content: space-between !important;
        align-items: center !important;
        gap: 8px !important;
    }
    
    .nav-brand {
        max-width: calc(100% - 50px) !important;
        margin-right: 8px !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
        order: 1 !important;
    }
    
    .mobile-toggle {
        flex-shrink: 0 !important;
        order: 2 !important;
        margin-left: auto !important;
    }
    
    /* Adjust body padding if navbar height changes */
    body {
        padding-top: 0 !important; /* No body padding */
    }
    
    .header-carousel .header-carousel-item .carousel-caption {
        padding-top: 75px !important; /* Account for smaller navbar */
    }
    
    .mobile-menu {
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        padding-top: 75px !important;
        z-index: 9999 !important;
    }
}

@media (max-width: 480px) {
    .brand-name {
        font-size: 18px !important;
    }
    
    .brand-tagline {
        display: block !important; /* Keep tagline visible */
        font-size: 9px !important; /* Smaller but visible */
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    
    .brand-logo {
        height: 30px !important;
        margin-right: 8px !important;
    }
    
    .nav-container {
        height: 70px !important;
        padding: 0 8px !important;
        gap: 6px !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    
    .nav-brand {
        max-width: calc(100% - 45px) !important;
        margin-right: 6px !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
    }
    
    .mobile-toggle {
        flex-shrink: 0 !important;
        order: 2 !important;
        margin-left: auto !important;
        padding: 6px !important;
    }
    
    body {
        padding-top: 0 !important; /* No body padding */
    }
    
    .header-carousel .header-carousel-item .carousel-caption {
        padding-top: 70px !important; /* Account for smaller navbar */
    }
    
    .mobile-menu {
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        padding-top: 70px !important;
        z-index: 9999 !important;
    }
}

/* Ensure mobile toggle is visible and properly positioned - only on mobile */
@media (min-width: 993px) {
    .mobile-toggle {
        display: none !important;
    }
    
    .mobile-menu {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
    
    .mobile-menu.active {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
}

@media (max-width: 992px) {
    .mobile-toggle {
        display: flex !important;
        z-index: 10001;
        position: relative;
        flex-shrink: 0;
        order: 2;
        margin-left: auto;
    }
    
    .nav-container {
        padding: 0 15px;
        justify-content: space-between;
        align-items: center;
    }
    
    .nav-brand {
        order: 1;
        flex: 1 1 auto;
        min-width: 0;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .brand-link {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .brand-logo {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .brand-text {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        flex-direction: column !important;
    }
    
    .brand-name {
        display: block !important;
        visibility: visible !important;
    }
    
    .brand-tagline {
        display: block !important;
        visibility: visible !important;
    }
}

/* Prevent brand overflow */
.nav-brand {
    max-width: calc(100% - 60px); /* Leave space for mobile toggle on mobile */
    overflow: hidden;
    flex-shrink: 1;
    min-width: 0;
}

/* On desktop, brand can use full width */
@media (min-width: 993px) {
    .nav-brand {
        max-width: 100%;
        flex-shrink: 0;
    }
}

.brand-link {
    max-width: 100%;
    display: flex;
    align-items: center;
    min-width: 0;
    flex-shrink: 1;
}

.brand-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    flex-shrink: 1;
}

.brand-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.brand-tagline {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Responsive brand improvements */
@media (max-width: 992px) {
    .brand-link {
        width: 100%;
        max-width: 100%;
    }
    
    .brand-logo {
        flex-shrink: 0;
    }
    
    .brand-text {
        flex: 1;
        min-width: 0;
    }
}

@media (max-width: 768px) {
    .nav-brand {
        max-width: calc(100% - 55px);
    }
    
    .brand-logo {
        margin-right: 8px;
    }
}

@media (max-width: 576px) {
    .nav-brand {
        max-width: calc(100% - 50px);
    }
    
    .brand-logo {
        margin-right: 6px;
    }
}

@media (max-width: 480px) {
    .nav-brand {
        max-width: calc(100% - 45px);
    }
}

/* Carousel responsive caption improvements */
@media (max-width: 767px) {
    .header-carousel .header-carousel-item .carousel-caption {
        padding: 170px 15px 20px 15px !important; /* Maximum top padding to clearly separate from navbar */
    }
    
    .header-carousel .header-carousel-item .carousel-caption .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    /* Add extra margin-top to h4 "Welcome To TalenPulse" for better spacing */
    .header-carousel .header-carousel-item .carousel-caption h4 {
        margin-top: 3rem !important;
        margin-bottom: 1rem !important;
    }
    
    /* Ensure text-center container has spacing from top */
    .header-carousel .header-carousel-item .carousel-caption .text-center {
        padding-top: 1.5rem !important;
    }
    
    .header-carousel .header-carousel-item .carousel-caption h1 {
        font-size: 1.75rem !important;
        line-height: 1.2 !important;
        margin-bottom: 1rem !important;
    }
    
    .header-carousel .header-carousel-item .carousel-caption .display-1 {
        font-size: 1.75rem !important;
        line-height: 1.2 !important;
    }
    
    .header-carousel .header-carousel-item .carousel-caption p {
        font-size: 0.85rem !important;
        margin-bottom: 1.5rem !important;
        line-height: 1.5 !important;
    }
    
    .header-carousel .header-carousel-item .carousel-caption .fs-5 {
        font-size: 0.85rem !important;
    }
    
    .header-carousel .header-carousel-item .carousel-caption .btn {
        padding: 0.5rem 1rem !important;
        font-size: 0.8rem !important;
        margin: 0.25rem !important;
        white-space: nowrap;
    }
    
    .header-carousel .header-carousel-item .carousel-caption .btn i {
        font-size: 0.75rem !important;
        margin-right: 0.25rem !important;
    }
    
    .header-carousel .header-carousel-item .carousel-caption .d-flex {
        flex-wrap: wrap !important;
        justify-content: center !important;
    }
    
    .header-carousel .header-carousel-item .carousel-caption .calrousel-img {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
    
    .header-carousel .header-carousel-item .carousel-caption .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .header-carousel .header-carousel-item .carousel-caption [class*="col-"] {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

@media (max-width: 991px) {
    .header-carousel .header-carousel-item .carousel-caption {
        padding: 150px 20px 30px 20px !important; /* Increased top padding to clearly separate from navbar */
    }
    
    /* Add extra margin-top to h4 "Welcome To TalenPulse" for better spacing */
    .header-carousel .header-carousel-item .carousel-caption h4 {
        margin-top: 2.5rem !important;
        margin-bottom: 1rem !important;
    }
    
    /* Ensure text-center container has spacing from top */
    .header-carousel .header-carousel-item .carousel-caption .text-center {
        padding-top: 1rem !important;
    }
    
    .header-carousel .header-carousel-item .carousel-caption h1,
    .header-carousel .header-carousel-item .carousel-caption .display-1 {
        font-size: 2.5rem !important;
        line-height: 1.2 !important;
    }
    
    .header-carousel .header-carousel-item .carousel-caption .fs-5 {
        font-size: 1rem !important;
    }
}

@media (max-width: 576px) {
    .header-carousel .header-carousel-item .carousel-caption {
        padding: 180px 10px 15px 10px !important; /* Maximum top padding to clearly separate from navbar */
    }
    
    .header-carousel .header-carousel-item .carousel-caption .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    
    /* Add extra margin-top to h4 "Welcome To TalenPulse" for better spacing */
    .header-carousel .header-carousel-item .carousel-caption h4 {
        margin-top: 3.5rem !important;
        margin-bottom: 1rem !important;
    }
    
    /* Ensure text-center container has spacing from top */
    .header-carousel .header-carousel-item .carousel-caption .text-center {
        padding-top: 1.5rem !important;
    }
    
    .header-carousel .header-carousel-item .carousel-caption h1,
    .header-carousel .header-carousel-item .carousel-caption .display-1 {
        font-size: 1.5rem !important;
        line-height: 1.2 !important;
        margin-bottom: 0.75rem !important;
    }
    
    .header-carousel .header-carousel-item .carousel-caption h4 {
        font-size: 0.85rem !important;
        margin-top: 1.5rem !important;
        margin-bottom: 1rem !important;
    }
    
    .header-carousel .header-carousel-item .carousel-caption p,
    .header-carousel .header-carousel-item .carousel-caption .fs-5 {
        font-size: 0.8rem !important;
        margin-bottom: 1rem !important;
        line-height: 1.4 !important;
    }
    
    .header-carousel .header-carousel-item .carousel-caption .btn {
        padding: 0.4rem 0.75rem !important;
        font-size: 0.75rem !important;
        margin: 0.15rem !important;
    }
    
    .header-carousel .header-carousel-item .carousel-caption .px-md-5 {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
    
    .header-carousel .header-carousel-item .carousel-caption .py-3 {
        padding-top: 0.5rem !important;
        padding-bottom: 0.5rem !important;
    }
}

@media (max-width: 480px) {
    .header-carousel .header-carousel-item .carousel-caption {
        padding: 190px 8px 15px 8px !important; /* Maximum top padding for very small screens to clearly separate from navbar */
    }
    
    .header-carousel .header-carousel-item .carousel-caption .container {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
    
    /* Add extra margin-top to h4 "Welcome To TalenPulse" for maximum spacing */
    .header-carousel .header-carousel-item .carousel-caption h4 {
        margin-top: 4rem !important;
        margin-bottom: 1rem !important;
    }
    
    /* Ensure text-center container also has spacing */
    .header-carousel .header-carousel-item .carousel-caption .text-center {
        padding-top: 2rem !important;
    }
    
    .header-carousel .header-carousel-item .carousel-caption .btn {
        padding: 0.4rem 0.75rem !important;
        font-size: 0.75rem !important;
        margin: 0.15rem !important;
    }
    
    .header-carousel .header-carousel-item .carousel-caption .px-md-5 {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
    
    .header-carousel .header-carousel-item .carousel-caption .py-3 {
        padding-top: 0.5rem !important;
        padding-bottom: 0.5rem !important;
    }
}

@media (max-width: 320px) {
    .header-carousel .header-carousel-item .carousel-caption {
        padding: 200px 5px 15px 5px !important; /* Maximum top padding for extra small screens */
    }
    
    .header-carousel .header-carousel-item .carousel-caption .container {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
    
    /* Add extra margin-top to h4 "Welcome To TalenPulse" for maximum spacing */
    .header-carousel .header-carousel-item .carousel-caption h4 {
        margin-top: 4.5rem !important;
        margin-bottom: 1rem !important;
    }
    
    /* Ensure text-center container also has spacing */
    .header-carousel .header-carousel-item .carousel-caption .text-center {
        padding-top: 2.5rem !important;
    }
}

/* Ensure no horizontal scrolling */
.container-fluid,
.container {
    max-width: 100%;
    overflow-x: hidden;
}

/* Optimize container padding for mobile */
@media (max-width: 768px) {
    .container-fluid {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Reduce excessive padding in sections */
    .py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
    
    .py-4 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
}

@media (max-width: 576px) {
    .container-fluid {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    /* Further reduce padding on small screens */
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .py-4 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    .px-5 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    .px-4 {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
}

@media (max-width: 480px) {
    .container-fluid {
        padding-left: 8px;
        padding-right: 8px;
    }
    
    .container {
        padding-left: 8px;
        padding-right: 8px;
    }
    
    .py-5 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    .py-4 {
        padding-top: 1.25rem !important;
        padding-bottom: 1.25rem !important;
    }
}

/* Fix carousel overflow on mobile */
/* CRITICAL RESPONSIVE FIXES FOR CAROUSEL - MOBILE */
@media (max-width: 767px) {
    /* Force carousel container visible */
    .header-carousel,
    .header-carousel.owl-carousel,
    .header-carousel.owl-carousel.owl-loaded,
    .header-carousel.owl-carousel.owl-loading,
    .header-carousel.owl-carousel.owl-hidden {
        margin-top: 0 !important;
        padding-top: 0 !important;
        position: relative !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        background-color: var(--bs-primary) !important;
        width: 100% !important;
        overflow: visible !important;
    }
    
    /* Force owl-stage-outer visible */
    .header-carousel .owl-stage-outer,
    .header-carousel.owl-carousel .owl-stage-outer {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        background-color: var(--bs-primary) !important;
        width: 100% !important;
        overflow: visible !important;
        position: relative !important;
    }
    
    /* Force owl-stage visible - Limit width to prevent duplicates */
    .header-carousel .owl-stage,
    .header-carousel.owl-carousel .owl-stage {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        background-color: var(--bs-primary) !important;
        transform: translate3d(0px, 0px, 0px) !important;
        -webkit-transform: translate3d(0px, 0px, 0px) !important;
        -moz-transform: translate3d(0px, 0px, 0px) !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Prevent stage from creating multiple items */
    .header-carousel .owl-stage .owl-item {
        min-width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Force owl-item visible - CRITICAL - Prevent duplicates */
    .header-carousel .owl-item,
    .header-carousel.owl-carousel .owl-item {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
    
    /* Only show active/first item to prevent duplicates */
    .header-carousel .owl-item.active,
    .header-carousel .owl-item:first-child,
    .header-carousel.owl-carousel .owl-item.active,
    .header-carousel.owl-carousel .owl-item:first-child {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        background-color: var(--bs-primary) !important;
        width: 100% !important;
        float: none !important;
        position: relative !important;
        margin: 0 !important;
        transform: none !important;
        -webkit-transform: none !important;
        -moz-transform: none !important;
    }
    
    /* Hide cloned items and prevent duplicates */
    .header-carousel .owl-item.cloned,
    .header-carousel.owl-carousel .owl-item.cloned {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Limit to single item view on mobile */
    .header-carousel .owl-stage {
        transform: translate3d(0px, 0px, 0px) !important;
    }
    
    /* Ensure only one item shows at a time */
    .header-carousel .owl-item:not(.active):not(:first-child) {
        display: none !important;
    }
    
    /* Force header-carousel-item visible */
    .header-carousel .header-carousel-item,
    .header-carousel.owl-carousel .header-carousel-item,
    .header-carousel .owl-item .header-carousel-item {
        overflow: visible !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        background-color: var(--bs-primary) !important;
        width: 100% !important;
        height: auto !important;
        min-height: 600px;
        position: relative !important;
    }
    
    /* Force carousel-caption visible */
    .header-carousel .header-carousel-item .carousel-caption,
    .header-carousel .owl-item .carousel-caption {
        overflow: visible !important;
        padding-top: 75px !important;
        padding-bottom: 20px !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
    }
    
    /* Force ALL images visible - ULTIMATE OVERRIDE */
    .header-carousel img,
    .header-carousel.owl-carousel img,
    .header-carousel .owl-item img,
    .header-carousel .header-carousel-item img,
    .header-carousel .carousel-caption img,
    .header-carousel .owl-stage img,
    .header-carousel .owl-stage-outer img,
    .header-carousel .owl-wrapper img {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        position: relative !important;
        z-index: 100 !important;
        transform: none !important;
        -webkit-transform: none !important;
    }
    
    /* Force image containers visible */
    .header-carousel .calrousel-img,
    .header-carousel .carousel-img,
    .header-carousel .owl-item .calrousel-img,
    .header-carousel .owl-item .carousel-img {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        position: relative !important;
        z-index: 100 !important;
        margin: 1rem 0 !important;
    }
    
    /* Force image inside containers visible */
    .header-carousel .calrousel-img img,
    .header-carousel .carousel-img img,
    .header-carousel .owl-item .calrousel-img img,
    .header-carousel .owl-item .carousel-img img {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        position: relative !important;
        z-index: 101 !important;
        object-fit: contain !important;
    }
    
    /* Force columns visible */
    .header-carousel .header-carousel-item .col-lg-5,
    .header-carousel .header-carousel-item .col-lg-7,
    .header-carousel .owl-item .col-lg-5,
    .header-carousel .owl-item .col-lg-7 {
        display: block !important;
        visibility: visible !important;
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    /* Force animated elements visible */
    .header-carousel .header-carousel-item .animated,
    .header-carousel .owl-item .animated {
        opacity: 1 !important;
        visibility: visible !important;
        animation: none !important;
    }
    
    .header-carousel .header-carousel-item .fadeInRight,
    .header-carousel .header-carousel-item .fadeInLeft,
    .header-carousel .owl-item .fadeInRight,
    .header-carousel .owl-item .fadeInLeft {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        -webkit-transform: none !important;
        animation: none !important;
    }
    
    /* Row adjustments */
    .header-carousel .header-carousel-item .row,
    .header-carousel .owl-item .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
        display: block !important;
    }
    
    /* Text alignment */
    .header-carousel .header-carousel-item .text-sm-center,
    .header-carousel .owl-item .text-sm-center {
        text-align: center !important;
    }
    
    .header-carousel .header-carousel-item .text-md-start,
    .header-carousel .header-carousel-item .text-md-end,
    .header-carousel .owl-item .text-md-start,
    .header-carousel .owl-item .text-md-end {
        text-align: center !important;
    }
}

/* Remove any spacing before carousel */
.enhanced-navbar + .header-carousel,
.enhanced-navbar + * + .header-carousel {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Ensure carousel displays immediately without white space */
.header-carousel.owl-carousel {
    background-color: var(--bs-primary) !important;
    padding-top: 0 !important;
    min-height: 700px;
}

.header-carousel.owl-carousel.owl-loaded {
    background-color: var(--bs-primary) !important;
}

/* Fix white space before carousel loads */
.header-carousel:not(.owl-loaded) {
    background-color: var(--bs-primary) !important;
    padding-top: 0 !important;
    min-height: 700px;
    display: block;
}

@media (max-width: 991px) {
    .header-carousel.owl-carousel,
    .header-carousel:not(.owl-loaded),
    .header-carousel {
        min-height: 800px;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        background-color: var(--bs-primary) !important;
    }
    
    .header-carousel .owl-stage-outer,
    .header-carousel .owl-stage,
    .header-carousel .owl-item {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        background-color: var(--bs-primary) !important;
    }
    
    .header-carousel .header-carousel-item {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        background-color: var(--bs-primary) !important;
    }
    
    .header-carousel img {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
    }
    
    .header-carousel .calrousel-img,
    .header-carousel .carousel-img {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        position: relative !important;
    }
    
    .header-carousel .calrousel-img img,
    .header-carousel .carousel-img img {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }
    
    /* Ensure image column displays on tablet */
    .header-carousel .header-carousel-item .col-lg-5,
    .header-carousel .header-carousel-item .col-lg-7 {
        display: block !important;
        visibility: visible !important;
    }
    
    .header-carousel .header-carousel-item .animated {
        opacity: 1 !important;
        visibility: visible !important;
    }
}

@media (max-width: 767px) {
    .header-carousel.owl-carousel,
    .header-carousel:not(.owl-loaded),
    .header-carousel {
        min-height: 600px;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        background-color: var(--bs-primary) !important;
    }
    
    .header-carousel .owl-stage-outer,
    .header-carousel .owl-stage,
    .header-carousel .owl-item {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        background-color: var(--bs-primary) !important;
    }
    
    .header-carousel .header-carousel-item {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        background-color: var(--bs-primary) !important;
        min-height: 600px;
    }
    
    .header-carousel img {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }
    
    .header-carousel .calrousel-img,
    .header-carousel .carousel-img {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        position: relative !important;
        z-index: 10 !important;
    }
    
    .header-carousel .calrousel-img img,
    .header-carousel .carousel-img img {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        position: relative !important;
        z-index: 10 !important;
        object-fit: contain !important;
    }
    
    /* Ensure columns display properly on mobile */
    .header-carousel .header-carousel-item .col-lg-5,
    .header-carousel .header-carousel-item .col-lg-7 {
        display: block !important;
        visibility: visible !important;
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    
    .header-carousel .header-carousel-item .animated {
        opacity: 1 !important;
        visibility: visible !important;
    }
}

/* Prevent horizontal overflow from fixed-width elements */
img, video, iframe, embed, object {
    max-width: 100%;
    height: auto;
}

/* Enhanced image responsiveness for mobile */
@media (max-width: 768px) {
    img {
        max-width: 100% !important;
        height: auto !important;
    }
    
    /* Override inline styles for images */
    img[style*="width"],
    img[style*="height"] {
        max-width: 100% !important;
        width: auto !important;
        height: auto !important;
    }
    
    /* Specific fixes for carousel images */
    .header-carousel img,
    .calrousel-img img,
    .carousel-img img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    /* Fix flag images with inline styles */
    .flag-icon img {
        max-width: 100% !important;
        width: auto !important;
        height: auto !important;
        max-height: 50px !important;
    }
}

@media (max-width: 576px) {
    img {
        max-width: 100% !important;
        height: auto !important;
    }
    
    .flag-icon img {
        max-width: 50px !important;
        max-height: 35px !important;
        width: auto !important;
        height: auto !important;
    }
}

@media (max-width: 480px) {
    .flag-icon img {
        max-width: 45px !important;
        max-height: 30px !important;
    }
}

/* Ensure tables don't cause overflow */
table {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    display: block;
}

@media (max-width: 768px) {
    table {
        font-size: 0.85rem;
    }
}

/* Prevent text overflow */
.text-nowrap {
    white-space: normal !important;
}

@media (min-width: 992px) {
    .text-nowrap {
        white-space: nowrap;
    }
}

/* Enhanced text overflow fixes for mobile */
@media (max-width: 768px) {
    /* Prevent text overflow in containers */
    p, span, div, h1, h2, h3, h4, h5, h6 {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    /* Fix long words breaking layout */
    * {
        word-break: break-word;
        overflow-wrap: break-word;
    }
    
    /* Ensure headings don't overflow */
    h1, h2, h3, h4, h5, h6 {
        max-width: 100%;
        overflow-wrap: break-word;
    }
    
    /* Fix text in cards */
    .card-body,
    .feature-item,
    .destination-item,
    .testimonial-item {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Prevent long URLs from breaking layout */
    a {
        word-break: break-all;
        overflow-wrap: break-word;
    }
}

@media (max-width: 576px) {
    /* More aggressive text wrapping on small screens */
    p {
        word-break: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    /* Ensure display classes don't cause overflow */
    .display-1,
    .display-2,
    .display-3,
    .display-4 {
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }
}

/* Comprehensive Mobile Overrides - Fix all fixed-width elements */
@media (max-width: 480px) {
    /* Override any remaining fixed widths */
    *[style*="width"]:not([style*="max-width"]):not([style*="min-width"]) {
        max-width: 100% !important;
    }
    
    /* Ensure all images are responsive */
    img[style*="width"],
    img[style*="height"] {
        max-width: 100% !important;
        width: auto !important;
        height: auto !important;
    }
    
    /* Fix any fixed height elements */
    *[style*="height"]:not([style*="max-height"]):not([style*="min-height"]) {
        max-height: 100vh !important;
        height: auto !important;
    }
    
    /* Ensure flex containers don't overflow */
    .d-flex,
    .flex-row,
    .flex-column {
        flex-wrap: wrap;
    }
    
    /* Fix any absolute positioned elements */
    [style*="position: absolute"],
    [style*="position:fixed"] {
        max-width: 100vw !important;
    }
    
    /* Ensure max-width in inline styles doesn't cause issues on very small screens */
    *[style*="max-width: 800px"],
    *[style*="max-width:800px"],
    .mx-auto[style*="max-width"] {
        max-width: 100% !important;
    }
    
    /* Override any container max-widths that might be too large for mobile */
    .text-center.mx-auto {
        max-width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 320px) {
    /* Extra small devices - most aggressive fixes */
    .container-fluid,
    .container {
        padding-left: 5px;
        padding-right: 5px;
    }
    
    .row {
        margin-left: -5px;
        margin-right: -5px;
    }
    
    [class*="col-"] {
        padding-left: 5px;
        padding-right: 5px;
    }
    
    /* Reduce all font sizes further */
    h1 { font-size: 1.5rem !important; }
    h2 { font-size: 1.3rem !important; }
    h3 { font-size: 1.1rem !important; }
    h4 { font-size: 1rem !important; }
    h5 { font-size: 0.9rem !important; }
    h6 { font-size: 0.85rem !important; }
    
    p { font-size: 0.85rem !important; }
    
    .btn {
        font-size: 0.8rem !important;
        padding: 0.35rem 0.7rem !important;
    }
    
    /* Ensure no element exceeds viewport */
    * {
        max-width: 100vw !important;
    }
}

/*** Mobile Responsive Improvements End ***/


/*** Organogram Flowchart Styling Start ***/
/* Service Flow Container */
.service-flow-container {
    position: relative;
    padding: 3rem 0;
    overflow: hidden;
}

/* Organogram */
.organogram {
    --grid-gap: 1.5rem;
    display: grid;
    gap: var(--grid-gap);
    color: white;
    font-family: inherit;
    font-weight: 600;
    max-width: 1000px;
    margin: 2rem auto 0;
}

.organogram > div {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    position: relative;
}

.organogram > div > span {
    padding-block: 0.75rem;
    padding-inline: 1.25rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #007bff, #0056b3);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.organogram > div > span:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
    background: linear-gradient(135deg, #0056b3, #004085);
}

.organogram > div > span i {
    font-size: 1.1rem;
}

/* Organogram Details Styling - Always Visible Flow */
.organogram-details {
    margin-top: 1rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.15);
    border: 1px solid rgba(0, 123, 255, 0.2);
    opacity: 1;
    visibility: visible;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
}

.organogram > div:hover .organogram-details {
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.25);
    border-color: rgba(0, 123, 255, 0.4);
    transform: translateY(-2px);
}

.organogram-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.organogram-list li {
    padding: 0.5rem 0;
    color: #4a5568;
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.organogram-list li i {
    color: #007bff;
    margin-top: 0.2rem;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.organogram-list li:hover {
    color: #007bff;
    padding-left: 0.25rem;
}

.organogram-details .test-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.organogram-details .test-tag {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.2);
    transition: all 0.3s ease;
}

.organogram-details .test-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.organogram > .main {
    justify-content: center;
    align-items: center;
}

.organogram > .main > span {
    aspect-ratio: 1;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    min-height: 140px;
    max-width: 160px;
    max-height: 160px;
    font-size: 0.85rem;
    padding: 0.75rem;
    text-align: center;
    width: fit-content;
    margin: 0 auto;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.organogram > .main > span > i {
    font-size: 1rem;
    margin-bottom: 0.4rem;
    flex-shrink: 0;
}

/* Details flow below each item - always visible */
.organogram > .main .organogram-details {
    margin-top: 1.5rem;
    text-align: left;
}

.organogram > .main .organogram-list {
    text-align: left;
}

.organogram > .main .organogram-list li {
    justify-content: flex-start;
}

.organogram > .sub .organogram-details {
    margin-top: 1rem;
}

.organogram > .sub {
    padding-inline-start: calc(var(--grid-gap) * 2);
}

/* Lines */
.organogram > .sub::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: calc(var(--grid-gap) * 2);
    height: calc(100% + var(--grid-gap));
    
    /* position */
    inset-block-start: auto;
    inset-inline-end: auto;
    inset-block-end: 50%;
    inset-inline-start: var(--grid-gap);
    
    /* border */
    --borderW: 2px;
    --borderR: 0.5rem;
    border-style: dashed;
    border-color: #5360EA;
    
    /* border-width */
    border-block-start-width: 0;
    border-inline-end-width: 0;
    border-block-end-width: var(--borderW);
    border-inline-start-width: var(--borderW);
 
    /* border-radius */
    border-end-start-radius: var(--borderR);
}

/* Airplane animation on connecting lines */
.organogram > .sub::before {
    content: "\f072"; /* Font Awesome plane icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    z-index: 10;
    color: #007bff;
    font-size: 1.5rem;
    opacity: 0;
    pointer-events: none;
    text-shadow: 0 2px 8px rgba(0, 123, 255, 0.5);
    filter: drop-shadow(0 0 4px rgba(0, 123, 255, 0.8));
}

@media (min-width: 30rem) {
    .organogram {
        grid-template-columns: repeat(3, 1fr);
        grid-template-areas: 
            'tl tc tr' 
            'cl cc cr' 
            'bl bc br';
        text-align: center;
    }
    
    .organogram > div {
        grid-area: var(--area);
        justify-content: center;
    }
    
    .organogram > .sub {
        padding-inline-start: unset;
    }
    
    .organogram > .sub > span {
        padding-block: 1rem;
        padding-inline: 1.5rem;
        border-radius: 1rem;
        font-size: 0.95rem;
    }
    
    .organogram > .main > span {
        font-size: 0.9rem;
        min-width: 150px;
        min-height: 150px;
        max-width: 170px;
        max-height: 170px;
        padding: 1rem;
        line-height: 1.25;
    }
    
    .organogram > .main > span > i {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    /* set up       |grid-area | position after element  |     border-width      | border-radius */       
    .organogram > .tl {--area: tl; --i-bs: 50%; --i-is: 50%; --bw-be: 1; --bw-is: 1; --br-es: 1}
    .organogram > .tc {--area: tc; --i-bs: 50%; --i-is: 50%; --bw-is: 1}
    .organogram > .tr {--area: tr; --i-bs: 50%; --i-ie: 50%; --bw-be: 1; --bw-ie: 1; --br-ee: 1}
    .organogram > .cl {--area: cl; --i-bs: 50%; --i-is: 50%; --bw-bs: 1}
    .organogram > .cc {--area: cc}
    .organogram > .cr {--area: cr; --i-bs: 50%; --i-ie: 50%; --bw-bs: 1}
    .organogram > .bl {--area: bl; --i-be: 50%; --i-is: 50%; --bw-bs: 1; --bw-is: 1; --br-ss: 1}
    .organogram > .bc {--area: bc; --i-be: 50%; --i-is: 50%; --bw-is: 1}
    .organogram > .br {--area: br; --i-be: 50%; --i-ie: 50%; --bw-bs: 1; --bw-ie: 1; --br-se: 1}
    
    .organogram > .sub::after {
        width: 100%;
        height: calc(50% + var(--grid-gap) * 1.5);
       
        /* position */
        inset-block-start: var(--i-bs, auto);
        inset-inline-end: var(--i-ie, auto);
        inset-block-end: var(--i-be, auto);
        inset-inline-start: var(--i-is, auto);
        
        /* border-width*/
        border-block-start-width: calc(var(--borderW) * var(--bw-bs, 0));
        border-inline-end-width: calc(var(--borderW) * var(--bw-ie, 0));
        border-block-end-width: calc(var(--borderW) * var(--bw-be, 0));
        border-inline-start-width: calc(var(--borderW) * var(--bw-is, 0));
        
        /* border-radius */
        border-start-start-radius: calc(var(--borderR) * var(--br-ss, 0));
        border-start-end-radius: calc(var(--borderR) * var(--br-se, 0));
        border-end-end-radius: calc(var(--borderR) * var(--br-ee, 0));
        border-end-start-radius: calc(var(--borderR) * var(--br-es, 0));
    }
    
    /* Position airplanes along the connecting paths - following the dashed lines */
    /* Airplanes positioned relative to the ::after border paths */
    .organogram > .sub::before {
        font-size: 1.3rem;
        /* Positioned to follow the border path of ::after */
    }
    
    /* Top Left: airplane follows L-shaped path (up then left, with curve) */
    .organogram > .tl::before {
        top: 50%;
        left: 50%;
        animation: flyTopLeft 6s linear infinite;
        animation-delay: 0s;
    }
    
    /* Top Center: airplane follows straight vertical path up */
    .organogram > .tc::before {
        top: 50%;
        left: 50%;
        animation: flyTopCenter 6s linear infinite;
        animation-delay: 1.2s;
    }
    
    /* Top Right: airplane follows L-shaped path (up then right, with curve) */
    .organogram > .tr::before {
        top: 50%;
        left: 50%;
        animation: flyTopRight 6s linear infinite;
        animation-delay: 2.4s;
    }
    
    /* Bottom Left: airplane follows straight vertical path down-left */
    .organogram > .cl::before {
        top: 50%;
        left: 50%;
        animation: flyBottomLeft 6s linear infinite;
        animation-delay: 3.6s;
    }
    
    /* Bottom Right: airplane follows straight vertical path down-right */
    .organogram > .cr::before {
        top: 50%;
        left: 50%;
        animation: flyBottomRight 6s linear infinite;
        animation-delay: 4.8s;
    }
    
    /* Airplane animations following the exact border paths of the dashed lines */
    /* Top Left: follows border path - vertical up to 50% from top, then horizontal left to 50% from left */
    @keyframes flyTopLeft {
        0% {
            top: 100%;
            left: 50%;
            opacity: 0;
            transform: translate(-50%, -50%) rotate(-90deg) scale(0.6);
        }
        3% {
            opacity: 1;
        }
        /* First segment: moving up vertically along border-block-end */
        45% {
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) rotate(-90deg) scale(0.9);
        }
        /* Curve point - transitioning from vertical to horizontal at the corner */
        50% {
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) rotate(-135deg) scale(1);
        }
        /* Second segment: moving left horizontally along border-inline-start */
        92% {
            top: 50%;
            left: 0%;
            opacity: 1;
            transform: translate(-50%, -50%) rotate(-180deg) scale(0.9);
        }
        100% {
            top: 50%;
            left: 0%;
            opacity: 0;
            transform: translate(-50%, -50%) rotate(-180deg) scale(0.7);
        }
    }
    
    /* Top Center: follows straight vertical border path up */
    @keyframes flyTopCenter {
        0% {
            top: 100%;
            left: 50%;
            opacity: 0;
            transform: translate(-50%, -50%) rotate(-90deg) scale(0.6);
        }
        3% {
            opacity: 1;
        }
        /* Following vertical border path straight up along border-block-end */
        50% {
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) rotate(-90deg) scale(0.9);
        }
        80% {
            top: 25%;
            left: 50%;
            transform: translate(-50%, -50%) rotate(-90deg) scale(1);
        }
        97% {
            opacity: 1;
        }
        100% {
            top: 0%;
            left: 50%;
            opacity: 0;
            transform: translate(-50%, -50%) rotate(-90deg) scale(0.7);
        }
    }
    
    /* Top Right: follows L-shaped path (up then right, with curve) */
    @keyframes flyTopRight {
        0% {
            top: 100%;
            left: 50%;
            opacity: 0;
            transform: translate(-50%, -50%) rotate(-90deg) scale(0.6);
        }
        3% {
            opacity: 1;
        }
        /* First segment: moving up vertically along border-block-end */
        45% {
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) rotate(-90deg) scale(0.9);
        }
        /* Curve point - transitioning from vertical to horizontal at the corner */
        50% {
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) rotate(-45deg) scale(1);
        }
        /* Second segment: moving right horizontally along border-inline-end */
        92% {
            top: 50%;
            left: 100%;
            opacity: 1;
            transform: translate(-50%, -50%) rotate(0deg) scale(0.9);
        }
        100% {
            top: 50%;
            left: 100%;
            opacity: 0;
            transform: translate(-50%, -50%) rotate(0deg) scale(0.7);
        }
    }
    
    /* Bottom Left: follows straight vertical border path down */
    @keyframes flyBottomLeft {
        0% {
            top: 0%;
            left: 50%;
            opacity: 0;
            transform: translate(-50%, -50%) rotate(90deg) scale(0.6);
        }
        3% {
            opacity: 1;
        }
        /* Following vertical border path straight down along border-block-start */
        50% {
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) rotate(90deg) scale(0.9);
        }
        80% {
            top: 75%;
            left: 50%;
            transform: translate(-50%, -50%) rotate(90deg) scale(1);
        }
        97% {
            opacity: 1;
        }
        100% {
            top: 100%;
            left: 50%;
            opacity: 0;
            transform: translate(-50%, -50%) rotate(90deg) scale(0.7);
        }
    }
    
    /* Bottom Right: follows straight vertical border path down */
    @keyframes flyBottomRight {
        0% {
            top: 0%;
            left: 50%;
            opacity: 0;
            transform: translate(-50%, -50%) rotate(90deg) scale(0.6);
        }
        3% {
            opacity: 1;
        }
        /* Following vertical border path straight down along border-block-start */
        50% {
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) rotate(90deg) scale(0.9);
        }
        80% {
            top: 75%;
            left: 50%;
            transform: translate(-50%, -50%) rotate(90deg) scale(1);
        }
        97% {
            opacity: 1;
        }
        100% {
            top: 100%;
            left: 50%;
            opacity: 0;
            transform: translate(-50%, -50%) rotate(90deg) scale(0.7);
        }
    }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .organogram {
        grid-template-columns: 1fr;
        grid-template-areas: 
            'cc'
            'tl'
            'tc'
            'tr'
            'cl'
            'cr'
            'bl'
            'bc'
            'br';
        text-align: center;
    }
    
    .organogram > div {
        grid-area: var(--area);
        justify-content: center;
        align-items: center;
    }
    
    /* Hide connecting lines on mobile */
    .organogram > .sub::after {
        display: none;
    }
    
    /* Add arrow indicators between items */
    .organogram > div:not(:last-child)::before {
        content: '';
        position: relative;
        width: 3px;
        height: 30px;
        background: linear-gradient(180deg, #007bff, transparent);
        margin: 1rem auto;
        display: block;
        border-radius: 2px;
    }
    
    .organogram > .main::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .service-flow-container {
        padding: 2rem 0;
    }
    
    .organogram {
        --grid-gap: 1.5rem;
        gap: 2rem;
    }
    
    .organogram > .main > span {
        min-width: 140px;
        min-height: 140px;
        font-size: 1rem;
        padding: 1.25rem;
    }
    
    .organogram > .sub > span {
        font-size: 0.9rem;
        padding-block: 0.85rem;
        padding-inline: 1.25rem;
    }
    
    .organogram-details {
        margin-top: 1rem;
        padding: 1.25rem;
        max-width: 100%;
        width: 100%;
    }
    
    .organogram-list {
        text-align: center;
    }
    
    .organogram-list li {
        font-size: 0.9rem;
        justify-content: center;
    }
    
    .organogram > .main .organogram-details {
        margin-top: 1.5rem;
    }
    
    .organogram > div::before {
        height: 25px;
    }
}

@media (max-width: 576px) {
    .organogram {
        --grid-gap: 1rem;
        gap: 1.5rem;
    }
    
    .organogram > .main > span {
        min-width: 120px;
        min-height: 120px;
        font-size: 0.95rem;
        padding: 1rem;
    }
    
    .organogram > .sub > span {
        font-size: 0.85rem;
        padding-block: 0.75rem;
        padding-inline: 1rem;
    }
    
    .organogram-details {
        padding: 1rem;
        margin-top: 0.75rem;
    }
    
    .organogram-list li {
        font-size: 0.85rem;
        padding: 0.4rem 0;
    }
    
    .organogram > div::before {
        height: 20px;
    }
}

/* FINAL OVERRIDE: Ensure mobile menu is ALWAYS hidden on desktop - highest priority */
@media (min-width: 993px) {
    .mobile-toggle,
    .mobile-toggle.active {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        position: absolute !important;
        left: -9999px !important;
    }
    
    .mobile-menu,
    .mobile-menu.active,
    body .mobile-menu,
    body .mobile-menu.active,
    html body .mobile-menu,
    html body .mobile-menu.active {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        transform: translateY(-100%) !important;
        pointer-events: none !important;
        position: fixed !important;
        top: -100vh !important;
        left: 0 !important;
        right: 0 !important;
        height: 0 !important;
        max-height: 0 !important;
        overflow: hidden !important;
        z-index: -1 !important;
    }
    
    .nav-menu,
    .enhanced-navbar .nav-menu,
    nav.enhanced-navbar .nav-menu,
    .nav-container .nav-menu {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .nav-cta,
    .enhanced-navbar .nav-cta,
    nav.enhanced-navbar .nav-cta,
    .nav-container .nav-cta {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Ensure mobile menu is hidden on desktop */
    .mobile-menu,
    .mobile-menu.active,
    .enhanced-navbar .mobile-menu,
    nav.enhanced-navbar .mobile-menu {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        transform: translateY(-100%) !important;
        pointer-events: none !important;
    }
    
    /* Ensure mobile toggle is hidden on desktop */
    .mobile-toggle,
    .mobile-toggle.active,
    .enhanced-navbar .mobile-toggle,
    nav.enhanced-navbar .mobile-toggle,
    .nav-container .mobile-toggle {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
}
/*** Organogram Flowchart Styling End ***/

/* Form validation styles */
.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #dc3545 !important;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 3.6 .4.4.4-.4m0 4.8-.4-.4-.4.4'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.is-invalid:focus,
.form-select.is-invalid:focus {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25) !important;
}

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

.form-control.is-invalid ~ .invalid-feedback,
.form-select.is-invalid ~ .invalid-feedback {
    display: block;
}


