/* CSS Started from 1766518200 - START */

/* Multi-Level Menu Text Alignment Fixes - Desktop */
/* .header .meain-menu > ul > li > ul {
    min-width: 280px !important;
    max-width: 350px !important;
} */

/* Second Level Submenu Items - Desktop */
.header .meain-menu > ul > li > ul > li > a {
    white-space: normal !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
    line-height: 1.5 !important;
    padding: 12px !important;
    text-align: left !important;
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    hyphens: auto;
    border-bottom: 1px solid #f5f5f5 !important;
}

/* Third Level Submenu Items - Desktop */
/* .header .meain-menu > ul > li > ul > li > ul {
    min-width: 280px !important;
    max-width: 350px !important;
} */

.header .meain-menu > ul > li > ul > li > ul > li > a {
    white-space: normal !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
    line-height: 1.5 !important;
    padding: 12px !important;
    text-align: left !important;
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    hyphens: auto;
    border-bottom: 1px solid #f5f5f5 !important;
}

/* Remove border from last item in all submenu levels - Desktop */
.header .meain-menu > ul > li > ul > li:last-child > a,
.header .meain-menu > ul > li > ul > li > ul > li:last-child > a {
    border-bottom: none !important;
}

/* Ensure proper spacing for menu items with submenu arrows */
.header .meain-menu > ul > li > ul > li.has-submenu > a {
    padding-right: 40px !important;
}

/* Mobile Menu Fixes - Responsive and Mobile-Friendly */
@media (max-width: 991px) {
    /* Main menu container */
    .header .meain-menu {
        position: fixed !important;
        top: 50px !important;
        left: 0 !important;
        background: #094990 !important;
        width: 100% !important;
        height: calc(100vh - 72px) !important;
        z-index: 999 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        display: none !important;
    }

    .header .meain-menu.active {
        display: block !important;
    }

    /* Main menu list */
    .header .meain-menu > ul {
        text-align: left !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        list-style: none !important;
    }

    /* Main menu items */
    .header .meain-menu > ul > li {
        display: block !important;
        padding: 0 !important;
        margin: 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        position: relative !important;
    }

    .header .meain-menu > ul > li:last-child {
        border-bottom: none !important;
    }

    /* Main menu links */
    .header .meain-menu > ul > li > a {
        color: #fff !important;
        padding: 15px 50px 15px 20px !important;
        display: block !important;
        font-size: 16px !important;
        text-transform: uppercase !important;
        font-weight: 500 !important;
        text-decoration: none !important;
        position: relative !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Opener button positioning for main menu items */
    .header .meain-menu > ul > li > .opener {
        position: absolute !important;
        top: 25px !important;
        right: 15px !important;
        width: 30px !important;
        height: 30px !important;
        transform: translateY(-50%) !important;
        z-index: 10 !important;
        cursor: pointer !important;
    }

    .header .meain-menu > ul > li > .opener:before,
    .header .meain-menu > ul > li > .opener:after {
        content: "" !important;
        position: absolute !important;
        background: #fff !important;
        transition: all 0.3s ease !important;
    }

    .header .meain-menu > ul > li > .opener:before {
        /* top: 50% !important; */
        right: 8px !important;
        width: 14px !important;
        height: 2px !important;
        transform: translateY(-50%) !important;
    }

    .header .meain-menu > ul > li > .opener:after {
        /* top: 50% !important; */
        right: 15px !important;
        width: 2px !important;
        height: 14px !important;
        transform: translateY(-50%) !important;
    }

    .header .meain-menu > ul > li > .opener.active:after {
        transform: translateY(-50%) rotate(90deg) !important;
        opacity: 0 !important;
    }

    /* First level submenu */
    .header .meain-menu > ul > li > ul {
        display: none !important;
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        background: rgba(0, 0, 0, 0.2) !important;
        padding: 0 !important;
        margin: 0 !important;
        transform: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        min-width: auto !important;
        max-width: 100% !important;
        padding-left: 0 !important;
    }

    .header .meain-menu > ul > li.active > ul {
        display: block !important;
    }

    /* First level submenu items */
    .header .meain-menu > ul > li > ul > li {
        display: block !important;
        padding: 0 !important;
        margin: 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        position: relative !important;
    }

    .header .meain-menu > ul > li > ul > li:last-child {
        border-bottom: none !important;
    }

    /* First level submenu links */
    .header .meain-menu > ul > li > ul > li > a {
        color: #fff !important;
        padding: 12px 50px 12px 40px !important;
        display: block !important;
        font-size: 15px !important;
        text-transform: none !important;
        font-weight: 400 !important;
        text-decoration: none !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        line-height: 1.5 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Nested submenu (2nd level) - Advanced Analysis submenu */
    .header .meain-menu > ul > li > ul > li > ul {
        display: none !important;
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        background: rgba(0, 0, 0, 0.3) !important;
        padding: 0 !important;
        margin: 0 !important;
        transform: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        min-width: auto !important;
        max-width: 100% !important;
        padding-left: 0 !important;
    }

    .header .meain-menu > ul > li > ul > li.active > ul {
        display: block !important;
    }

    /* Nested submenu items */
    .header .meain-menu > ul > li > ul > li > ul > li {
        display: block !important;
        padding: 0 !important;
        margin: 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

    /* Remove border from last item in all submenu levels - Mobile */
    .header .meain-menu > ul > li > ul > li:last-child,
    .header .meain-menu > ul > li > ul > li > ul > li:last-child {
        border-bottom: none !important;
    }

    /* Nested submenu links */
    .header .meain-menu > ul > li > ul > li > ul > li > a {
        color: #fff !important;
        padding: 10px 50px 10px 60px !important;
        display: block !important;
        font-size: 14px !important;
        text-transform: none !important;
        font-weight: 400 !important;
        text-decoration: none !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        line-height: 1.5 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Opener for nested submenus */
    .header .meain-menu > ul > li > ul > li.has-submenu > .opener {
        position: absolute !important;
        top: 25px !important;
        right: 15px !important;
        width: 30px !important;
        height: 30px !important;
        transform: translateY(-50%) !important;
        z-index: 10 !important;
        cursor: pointer !important;
    }

    .header .meain-menu > ul > li > ul > li.has-submenu > .opener:before,
    .header .meain-menu > ul > li > ul > li.has-submenu > .opener:after {
        content: "" !important;
        position: absolute !important;
        background: #fff !important;
        transition: all 0.3s ease !important;
    }

    .header .meain-menu > ul > li > ul > li.has-submenu > .opener:before {
        /* top: 50% !important; */
        right: 8px !important;
        width: 14px !important;
        height: 2px !important;
        transform: translateY(-50%) !important;
    }

    .header .meain-menu > ul > li > ul > li.has-submenu > .opener:after {
        /* top: 50% !important; */
        right: 15px !important;
        width: 2px !important;
        height: 14px !important;
        transform: translateY(-50%) !important;
    }

    .header .meain-menu > ul > li > ul > li.has-submenu > .opener.active:after {
        transform: translateY(-50%) rotate(90deg) !important;
        opacity: 0 !important;
    }

    /* Remove hover effects on mobile */
    .header .meain-menu > ul > li > a:hover,
    .header .meain-menu > ul > li > ul > li > a:hover,
    .header .meain-menu > ul > li > ul > li > ul > li > a:hover {
        background-color: rgba(255, 255, 255, 0.1) !important;
        /* padding-left: inherit !important; */
    }
}

.top-bar .has-dropdown, .top-bar-mobile .has-dropdown { position: relative; }

.top-bar .has-dropdown .dropdown-menu, .top-bar-mobile .has-dropdown .dropdown-menu { position: absolute !important; top: 100% !important; left: unset !important; right: 0 !important; background: #ffffff !important; border: 1px solid #e0e0e0 !important; border-radius: 4px !important; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important; min-width: 200px !important; opacity: 0 !important; visibility: hidden !important; transform: translateY(-10px) !important; transition: all 0.3s ease !important; z-index: 1003 !important; padding: 8px 0 !important; margin-top: 0px !important; text-align: left !important; }

.top-bar .has-dropdown:hover .dropdown-menu, .top-bar-mobile .has-dropdown:hover .dropdown-menu { opacity: 1 !important; visibility: visible !important; transform: translateY(0) !important; }

.top-bar .has-dropdown.active .dropdown-menu, .top-bar-mobile .has-dropdown.active .dropdown-menu { opacity: 1 !important; visibility: visible !important; transform: translateY(0) !important; }

.top-bar .dropdown-menu ul, .top-bar-mobile .dropdown-menu ul { list-style: none; padding: 0; margin: 0; }

.top-bar .dropdown-menu ul li, .top-bar-mobile .dropdown-menu ul li { margin: 0; }

.top-bar .dropdown-menu ul li a { display: block !important; padding: 8px 16px !important; color: #333 !important; text-decoration: none !important; font-size: 14px !important; font-weight: 500 !important; transition: all 0.3s ease !important; border-bottom: 1px solid #f5f5f5 !important; text-align: left !important; background: #ffffff !important; }

.top-bar .dropdown-menu ul li:last-child a { border-bottom: none !important; }

.top-bar .dropdown-menu ul li a:hover { background-color: #f8f9fa !important; color: #094990 !important; padding-left: 20px !important; text-align: left !important; }


.top-bar .has-dropdown:hover .dropdown-menu, .top-bar-mobile .has-dropdown:hover .dropdown-menu { opacity: 1 !important; visibility: visible !important; transform: translateY(0) !important; display: block !important; }

/* Mobile dropdown styles - 768px to 991px */
@media (max-width: 768px) {
    .top-bar .has-dropdown .dropdown-menu { position: static !important; opacity: 1 !important; visibility: visible !important; transform: none !important; box-shadow: none !important; border: none !important; background: transparent !important; padding: 0 !important; margin: 0 !important; }
    
    .top-bar .dropdown-menu ul li a { padding: 8px 0 !important; border-bottom: none !important; color: #fff !important; background: transparent !important; }
    
    .top-bar .dropdown-menu ul li a:hover { background-color: transparent !important; color: #fff !important; padding-left: 0 !important; }
}


/* Main Banner Slider Styles */
.main-banner-section {
    position: relative;
    width: 100%;
    min-height: 350px;
    height: auto;
    overflow: hidden;
    transition: height 0.3s ease;
    background: transparent !important;
}

/* Desktop: taller minimum height */
@media (min-width: 1200px) {
    .main-banner-section {
        min-height: 600px;
    }
}

/* Remove all loading states - banners should show immediately */
.main-banner-section.loading,
.main-banner-section.loaded {
    background: transparent !important;
}

.main-banner-section.loading::before,
.main-banner-section.loading::after {
    display: none !important;
    content: none !important;
}

.main-banner-section.loading .main-banner-slider,
.main-banner-section.loaded .main-banner-slider {
    opacity: 1 !important;
}

.main-banner-slider {
    opacity: 1 !important;
}

.main-banner-section:not(.loading) .main-banner-slider {
    opacity: 1 !important;
}

.main-banner-section.loading .banner-img {
    background: transparent !important;
    animation: none !important;
}

.main-banner-slider {
    width: 100%;
    height: auto;
    min-height: 350px;
    display: block !important;
    overflow: hidden;
    position: relative;
    background: transparent !important;
}

/* Desktop: taller slider */
@media (min-width: 1200px) {
    .main-banner-slider {
        min-height: 600px;
    }
}

/* Ensure navigation buttons are positioned relative to banner section, not slider */
.main-banner-section .swiper-button-next,
.main-banner-section .swiper-button-prev {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin-top: 0 !important;
}

/* Swiper Banner Slider Styles */

/* Desktop: taller swiper */
@media (min-width: 1200px) {
    .main-banner-slider.swiper {
        min-height: 550px !important;
    }
    .main-banner-slider .swiper-wrapper {
        min-height: 550px !important;
    }
    .main-banner-slider .swiper-slide {
        min-height: 550px !important;
    }
}
.main-banner-slider.swiper {
    width: 100%;
    height: 350px;
    min-height: 350px;
    background: transparent !important;
}

.main-banner-slider .swiper-wrapper {
    height: 100%;
    min-height: 350px;
    background: transparent !important;
}

.main-banner-slider .swiper-slide {
    height: auto;
    min-height: 350px;
    background: transparent !important;
}

.banner-slide {
    position: relative;
    min-height: 350px;
    height: auto;
    display: block;
    overflow: hidden;
    transition: height 0.3s ease;
    padding: 0;
    margin: 0;
    background: transparent !important;
}

/* Desktop: taller banner slides */
@media (min-width: 1200px) {
    .banner-slide {
        min-height: 600px;
    }
}

.banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: transparent !important;
}

.banner-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* Changed from cover to contain to prevent cropping on desktop */
    object-position: center;
    background: transparent !important;
    /* Hide until loaded to prevent broken image display */
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* On desktop, use cover but ensure adequate height prevents cropping */
@media (min-width: 1200px) {
    .banner-img {
        object-fit: cover; /* Use cover on desktop but with taller height */
    }
}

/* Show image once it has a valid src and is loaded */
.banner-img[src]:not([src=""]):not([src="#"]) {
    opacity: 1;
}

/* Banner images are injected via JavaScript based on device size */
.banner-img.loaded {
    display: block;
    visibility: visible;
    opacity: 1 !important;
}

@media (max-width: 992px) {
    .main-banner-section {
        min-height: 350px; /* Adjusted for better ratio-based sizing on tablets */
    }
    
    .banner-slide {
        min-height: 350px; /* Adjusted for better ratio-based sizing on tablets */
    }
}


.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(9, 73, 144, 0.8) 0%, rgba(9, 73, 144, 0.6) 50%, rgba(9, 73, 144, 0.4) 100%);
    z-index: 2;
}

/* Swiper Navigation Styles - Desktop Only */
.main-banner-slider .swiper-button-next,
.main-banner-slider .swiper-button-prev {
    color: #094990 !important;
    background: rgba(255, 255, 255, 0.95) !important;
    width: 45px !important;
    height: 45px !important;
    border-radius: 50% !important;
    transition: all 0.3s ease;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    z-index: 10 !important;
    opacity: 1 !important;
    visibility: visible !important;
    margin-top: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.main-banner-slider .swiper-button-next:hover,
.main-banner-slider .swiper-button-prev:hover {
    background: #fff;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.main-banner-slider .swiper-button-next::after,
.main-banner-slider .swiper-button-prev::after {
    font-size: 18px;
    font-weight: bold;
}

.main-banner-slider .swiper-button-prev {
    left: 30px;
    position: absolute !important;
}

.main-banner-slider .swiper-button-next {
    right: 30px;
    position: absolute !important;
}

/* Swiper Pagination Styles - Mobile Only */
.main-banner-slider .swiper-pagination {
    /* bottom: 2rem !important; */
    z-index: 10 !important;
    display: none; /* Hidden by default on desktop */
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: auto !important;
}

/* Desktop: Show arrows, hide dots */
@media (min-width: 769px) {
    .main-banner-slider .swiper-button-next,
    .main-banner-slider .swiper-button-prev {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        z-index: 10 !important;
    }
    
    .main-banner-slider .swiper-pagination {
        display: none !important;
    }
}

.main-banner-slider .swiper-pagination-bullet {
    width: 12px !important;
    height: 12px !important;
    background: rgba(223, 118, 13, 0.4) !important; /* Mindforce orange - inactive, semi-transparent */
    border: 2px solid #df760d !important; /* Mindforce orange border */
    opacity: 1 !important;
    margin: 0 5px !important;
    transition: all 0.3s ease !important;
    border-radius: 50% !important;
    cursor: pointer !important;
}

.main-banner-slider .swiper-pagination-bullet-active {
    background: #df760d !important; /* Mindforce orange - active, fully opaque */
    border-color: #df760d !important;
    transform: scale(1.2) !important;
    opacity: 1 !important;
}

@media (max-width: 992px) {
    .main-banner-section {
        min-height: 350px; /* Adjusted for better ratio-based sizing on tablets */
    }
    
    .banner-slide {
        min-height: 350px; /* Adjusted for better ratio-based sizing on tablets */
    }
}

@media (max-width: 768px) {
    .main-banner-section {
        min-height: 300px; /* Mobile: smaller min-height for better ratio-based sizing */
    }
    
    .banner-slide {
        min-height: 300px; /* Mobile: smaller min-height for better ratio-based sizing */
    }
    
    .banner-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    /* Hide navigation arrows on mobile */
    .main-banner-slider .swiper-button-next,
    .main-banner-slider .swiper-button-prev {
        display: none !important;
    }
    
    /* Show pagination dots on mobile */
    .main-banner-slider .swiper-pagination {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        z-index: 10 !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}

@media (max-width: 576px) {
    .main-banner-section {
        min-height: 260px;
    }
    
    .banner-slide {
        min-height: 260px;
    }
    
    .main-banner-slider .swiper-pagination {
        z-index: 10 !important;
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    /* Ensure arrows are hidden on small mobile */
    .main-banner-slider .swiper-button-next,
    .main-banner-slider .swiper-button-prev {
        display: none !important;
    }
    
    /* Ensure pagination is visible on small mobile */
    .main-banner-slider .swiper-pagination {
        display: flex !important;
    }
    
    .main-banner-slider .swiper-pagination-bullet {
        width: 10px !important;
        height: 10px !important;
        margin: 0 3px !important;
        background: rgba(223, 118, 13, 0.4) !important;
        border: 2px solid #df760d !important;
    }
    
    .main-banner-slider .swiper-pagination-bullet-active {
        background: #df760d !important;
        border-color: #df760d !important;
    }
}

/* Animation for banner content */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Force transparent backgrounds on all banner elements - override any white backgrounds */
.main-banner-section,
.main-banner-section *,
.main-banner-slider,
.main-banner-slider *,
.banner-slide,
.banner-slide *,
.banner-image,
.banner-image *,
.banner-img,
.swiper,
.swiper-wrapper,
.swiper-slide {
    background: transparent !important;
}

.main-banner-section.loading,
.main-banner-section.loaded {
    background: transparent !important;
}

/* CSS Started from 1766518200 - END */