/* AIFF-Style Header CSS */

.aiff-header {
    position: relative;
    z-index: 1000;
    font-family: 'Poppins', Arial, sans-serif;
}

/* Top Bar */
.aiff-top-bar {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3c72 100%);
    color: white;
    padding: 8px 0;
    font-size: 13px;
    position: relative;
}

.aiff-top-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6b35 0%, #f7931e 25%, #ffd700 50%, #f7931e 75%, #ff6b35 100%);
}

.spotlight-section {
    display: flex;
    align-items: center;
    gap: 8px;
}

.spotlight-label {
    font-weight: 600;
    color: #ffd700;
    font-size: 14px;
}

.spotlight-text {
    font-weight: 400;
    color: white;
    font-size: 13px;
}

.spotlight-link {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease-in-out;
}

.spotlight-link:hover {
    opacity: 0.8;
    text-decoration: none;
    color: inherit;
}

.spotlight-link:visited {
    color: inherit;
}

.top-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.social-link {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* User Authentication */
.user-dropdown-container {
    position: relative;
}

.user-link {
    color: white;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.user-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
}

.user-dropdown-container .dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: none;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 8px 0;
    min-width: 180px;
    margin-top: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

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

.user-dropdown-container .dropdown-item {
    padding: 8px 15px;
    color: #333;
    font-size: 14px;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    transition: background 0.2s ease;
}

.user-dropdown-container .dropdown-item:hover {
    background: #f8f9fa;
    color: #2c5aa0;
}

.user-dropdown-container .dropdown-divider {
    height: 1px;
    margin: 8px 0;
    background-color: #e9ecef;
    border: none;
}

.auth-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.auth-link {
    color: white;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.auth-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
}

.separator {
    color: rgba(255, 255, 255, 0.6);
}

/* Main Header */
.aiff-main-header {
    background: linear-gradient(135deg, #1a365d 0%, #2c5aa0 50%, #1e3c72 100%) !important;
    color: white !important;
    padding: 8px 0 !important;
    position: relative !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    border-bottom: none !important;
}

/* Fix Bootstrap grid issues */
.aiff-main-header .container-fluid {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

.aiff-main-header .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
}

.aiff-main-header [class*="col-"] {
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* Logo Section - Force to far left */
.aiff-main-header .col-lg-2,
.aiff-main-header .col-md-6 {
    flex: 0 0 auto !important;
}

/* Navigation Section - Force to center */
.aiff-main-header .col-lg-8.col-md-6 {
    flex: 1 1 auto !important;
    display: flex !important;
    justify-content: center !important;
}

/* Right Actions Section - Force to far right */
.aiff-main-header .col-lg-2.col-md-12 {
    flex: 0 0 auto !important;
    display: flex !important;
    justify-content: flex-end !important;
}

/* Logo */
.aiff-logo {
    display: flex !important;
    align-items: center !important;
    margin-left: -15px !important; /* Move logo further left */
}

.aiff-logo a {
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
    gap: 12px !important;
    color: white !important;
    transition: opacity 0.3s ease !important;
}

.aiff-logo a:hover {
    text-decoration: none !important;
    color: white !important;
    opacity: 0.9 !important;
}

.logo-img {
    height: 45px !important;
    width: auto !important;
}

.logo-icon {
    width: 50px !important;
    height: 50px !important;
    background: #ffd700 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 24px !important;
    color: #1e3c72 !important;
    font-weight: bold !important;
    flex-shrink: 0 !important;
}

.logo-text {
    display: flex !important;
    flex-direction: column !important;
    line-height: 1 !important;
}

.logo-main {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: white !important;
    letter-spacing: 1px !important;
}

.logo-sub {
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #a0aec0 !important;
    letter-spacing: 0.5px !important;
}

/* Navigation */
.aiff-navigation {
    display: flex !important;
    justify-content: flex-start !important; /* Changed from center to flex-start */
    width: 100% !important;
    align-items: center !important;
    padding: 15px 0 !important;
}

.nav-list {
    display: flex !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 2px !important;
    align-items: center !important;
    justify-content: flex-start !important; /* Changed from center to flex-start */
    flex-wrap: nowrap !important;
}

.nav-item {
    position: relative !important;
    flex-shrink: 0 !important;
}

/* Tilted White Box Design for Navigation Links */
.nav-link {
    display: block !important;
    padding: 12px 20px !important;
    color: #2c5aa0 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    letter-spacing: 0.5px !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    white-space: nowrap !important;
    background: white !important;
    border: 1px solid #e0e6ed !important;
    transform: skew(-15deg) !important;
    margin: 0 !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    border-radius: 4px !important;
}

/* Counter-skew the text to keep it straight */
.nav-link span {
    display: inline-block !important;
    transform: skew(15deg) !important;
    color: #2c5aa0 !important;
}

.nav-link:hover,
.nav-item:hover .nav-link {
    background: #2c5aa0 !important;
    color: white !important;
    text-decoration: none !important;
    border-color: #2c5aa0 !important;
    transform: skew(-15deg) translateY(-2px) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
}

.nav-link:hover span,
.nav-item:hover .nav-link span {
    transform: skew(15deg) !important;
    color: white !important;
}

/* Dropdown Content */
.has-dropdown {
    position: relative !important;
}

.dropdown-content {
    position: absolute !important;
    top: 100% !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(-10px) !important;
    background: white !important;
    min-width: 200px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    border-radius: 6px !important;
    padding: 8px 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s ease !important;
    z-index: 1000 !important;
    margin-top: 8px !important;
    border: 1px solid #e0e6ed !important;
}

.has-dropdown:hover .dropdown-content {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(0) !important;
}

.dropdown-content a {
    display: block !important;
    padding: 8px 16px !important;
    color: #333 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    transition: background 0.2s ease !important;
    border-left: none !important;
    transform: none !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.dropdown-content a:hover {
    background: #f8f9fa !important;
    color: #2c5aa0 !important;
    text-decoration: none !important;
    padding-left: 16px !important;
    transform: none !important;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
}

.search-btn {
    background: none;
    border: 2px solid #2c5aa0;
    color: #2c5aa0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.search-btn:hover {
    background: #2c5aa0;
    color: white;
    transform: scale(1.1);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #2c5aa0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-btn:hover span {
    background: #1e3c72;
}

/* Mobile Navigation */
.mobile-navigation {
    background: white;
    border-top: 1px solid #e9ecef;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: none;
}

.mobile-navigation.active {
    display: block;
}

.mobile-nav-content {
    padding: 20px 0;
}

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-list > li > a {
    display: block;
    padding: 12px 20px;
    color: #2c5aa0;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border-bottom: 1px solid #f1f1f1;
    transition: all 0.3s ease;
}

.mobile-nav-list > li > a:hover {
    background: #f8f9fa;
    color: #1e3c72;
    padding-left: 30px;
}

.mobile-nav-list .has-submenu > a::after {
    content: '+';
    float: right;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.mobile-nav-list .has-submenu.active > a::after {
    transform: rotate(45deg);
}

.submenu {
    display: none;
    background: #f8f9fa;
    list-style: none;
    margin: 0;
    padding: 0;
}

.submenu.active {
    display: block;
}

.submenu a {
    display: block;
    padding: 10px 40px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.submenu a:hover {
    color: #2c5aa0;
    background: white;
    padding-left: 50px;
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-container {
    background: white;
    border-radius: 10px;
    padding: 40px;
    width: 90%;
    max-width: 600px;
    position: relative;
}

.search-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;
}

.search-close:hover {
    color: #2c5aa0;
}

.search-form {
    display: flex;
    gap: 10px;
    align-items: center;
}

.search-input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    border-color: #2c5aa0;
}

.search-submit {
    background: #2c5aa0;
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 16px;
}

.search-submit:hover {
    background: #1e3c72;
}

/* Ensure header doesn't interfere with content below */
.aiff-header + * {
    position: relative;
    z-index: 1;
}

/* Fix any potential Bootstrap conflicts */
.aiff-header .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
}

.aiff-header .row {
    margin-left: 0;
    margin-right: 0;
}

.aiff-header .col-lg-2,
.aiff-header .col-lg-8,
.aiff-header .col-md-3,
.aiff-header .col-md-6,
.aiff-header .col-md-7,
.aiff-header .col-lg-4,
.aiff-header .col-md-5 {
    padding-left: 15px;
    padding-right: 15px;
}

/* Hero Slider Fix - Override original styles with maximum specificity */
.hero-slider-wrap {
    height: 60vh !important;
    min-height: 500px !important;
    max-height: 700px !important;
    overflow: hidden !important;
    position: relative !important;
}

.hero-slider {
    height: 100% !important;
    width: 100% !important;
}

.hero-slider-item {
    height: 60vh !important;
    min-height: 500px !important;
    max-height: 700px !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Ultra-strong override for hero slider content centering */
.hero-slider-content,
.hero-slider-item .hero-slider-content,
.hero-slider-wrap .hero-slider-content,
div.hero-slider-content {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
    width: 100% !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin: 0 !important;
    min-height: 100% !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
}

/* Force container to use full height and center content */
.hero-slider-item .container,
.hero-slider-content .container {
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto !important;
    max-width: 1200px !important;
    position: relative !important;
    z-index: 2 !important;
}

/* Override Bootstrap row to maintain full height centering */
.hero-slider-content .row,
.hero-slider-item .container .row {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    min-height: 100% !important;
}

/* Center the content column */
.hero-slider-content .col-md-12 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin: 0 !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Override any Swiper container styles */
.swiper-container.hero-slider,
.swiper-container.hero-slider .swiper-wrapper,
.swiper-container.hero-slider .swiper-slide {
    height: 100% !important;
}

.swiper-container.hero-slider .hero-slider-content {
    padding-top: 0 !important;
    transform: none !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
}

/* Responsive slider adjustments */
@media (max-width: 768px) {
    .hero-slider-wrap,
    .hero-slider-item {
        height: 60vh !important;
        min-height: 400px !important;
    }

    .hero-slider-content {
        padding-top: 0 !important;
    }

    .hero-slider-content h3 {
        font-size: 28px !important;
        margin-bottom: 15px;
    }

    .hero-slider-content h4 {
        font-size: 20px !important;
        margin-bottom: 15px;
    }

    .hero-slider-content p {
        font-size: 14px !important;
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .hero-slider-wrap,
    .hero-slider-item {
        height: 70vh !important;
        min-height: 350px !important;
    }

    .hero-slider-content h3 {
        font-size: 24px !important;
    }

    .hero-slider-content h4 {
        font-size: 18px !important;
    }

    .hero-slider-content p {
        font-size: 13px !important;
    }
}

@media (max-width: 768px) {
    .aiff-top-bar {
        padding: 6px 0;
        font-size: 12px;
    }

    .spotlight-text {
        font-size: 11px;
    }

    .social-icons {
        gap: 5px;
    }

    .social-link {
        width: 24px;
        height: 24px;
        font-size: 10px;
    }

    .logo-img {
        height: 35px;
    }

    .logo-main {
        font-size: 14px;
    }

    .logo-sub {
        font-size: 10px;
    }

    .aiff-main-header {
        padding: 8px 0;
    }

    /* Reset logo margin on mobile */
    .aiff-logo {
        margin-left: 0 !important;
    }
}

@media (max-width: 576px) {
    .social-icons {
        display: none;
    }

    .spotlight-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .spotlight-label {
        font-size: 12px;
    }

    .spotlight-text {
        font-size: 10px;
    }

    .spotlight-link:hover {
        opacity: 1; /* Disable hover effect on mobile */
    }

    .logo-text {
        display: none;
    }
}

/* FontAwesome Icon Fixes */
.social-link i,
.user-link i,
.search-btn i {
    font-family: "Font Awesome 5 Brands", "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    display: inline-block !important;
}

/* Important overrides to ensure styles apply */
body .aiff-header {
    position: relative !important;
    z-index: 1000 !important;
}

body .aiff-header .aiff-main-header {
    background: white !important;
    border-bottom: 1px solid #e9ecef !important;
    padding: 15px 0 !important;
}

body .aiff-header .aiff-navigation {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
}

body .aiff-header .nav-list {
    display: flex !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    justify-content: center !important;
}

body .aiff-header .nav-link {
    color: #2c5aa0 !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    padding: 18px 25px !important;
    text-decoration: none !important;
}

/* Force proper grid layout */
body .aiff-header .container-fluid {
    width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

body .aiff-header .row {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
}

body .aiff-header [class*="col-"] {
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* Ultimate Overrides - Maximum Specificity */

/* Header Layout Fixes */
body .aiff-header .aiff-main-header {
    background: linear-gradient(135deg, #1a365d 0%, #2c5aa0 50%, #1e3c72 100%) !important;
    color: white !important;
}

body .aiff-header .aiff-main-header .container-fluid {
    max-width: 1400px !important;
    margin: 0 auto !important;
}

body .aiff-header .aiff-main-header .row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

body .aiff-header .logo-main {
    color: white !important;
}

body .aiff-header .logo-sub {
    color: #a0aec0 !important;
}

body .aiff-header .nav-link {
    color: white !important;
}

body .aiff-header .nav-link:hover {
    color: #ffd700 !important;
}

/* Hero Slider Ultimate Fixes */
body .hero-slider-wrap {
    height: 60vh !important;
    min-height: 500px !important;
    max-height: 700px !important;
    overflow: hidden !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
}

body .hero-slider-item {
    height: 60vh !important;
    min-height: 500px !important;
    max-height: 700px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
}

body .hero-slider-content {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: center !important;
}

body .hero-slider_content .row {
    height: 100% !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
}

body .hero-slider-content .col-md-12 {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: center !important;
}

/* Override original style.css padding-top completely */
body .hero-slider-content,
body .swiper-container .hero-slider-content,
body .hero-slider-wrap .hero-slider-content,
body .hero-slider-item .hero-slider-content {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    transform: none !important;
}

/* Hide any duplicate or conflicting navigation elements */

/* Hide original navigation if it exists */
.site-navbar,
.site-navbar-wrap,
.header.v1,
.header.v2,
.header.transparent,
.main-header,
.original-header {
    display: none !important;
}

/* Ensure only AIFF header is visible */
.aiff-header {
    display: block !important;
    position: relative !important;
    z-index: 1000 !important;
}

/* Hide specific duplicate menu structures */
.nav-tabs,
.nav-pills,
.navbar-nav {
    display: none !important;
}

/* Hide any navigation that appears outside the AIFF header */
body > nav:not(.aiff-header nav),
body > .nav:not(.aiff-header .nav),
body > ul.nav:not(.aiff-header .nav-list) {
    display: none !important;
}

/* Target specific duplicate menu patterns */
.container > ul:not(.aiff-header ul),
.row > ul:not(.aiff-header ul) {
    display: none !important;
}

/* Mobile Navigation Fixes */

/* Ensure mobile navigation is hidden on desktop */
.mobile-navigation {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: -100% !important;
    width: 280px !important;
    height: 100vh !important;
    background: white !important;
    z-index: 9999 !important;
    transition: left 0.3s ease !important;
    overflow-y: auto !important;
}

.mobile-navigation.active {
    left: 0 !important;
    display: block !important;
}

/* Hide any leftover mobile menu elements that might be showing */
.mobile-nav-menu,
.mobile-submenu,
.mobile-dropdown-toggle,
.mobile-nav-list {
    display: none !important;
}

/* Hide any sidebar navigation that might be appearing incorrectly */
.sidebar-nav,
.side-navigation,
.left-navigation,
.nav-sidebar {
    display: none !important;
}

/* Ensure only main header navigation is visible on desktop */
@media (min-width: 768px) {
    .mobile-navigation,
    .mobile-nav-menu,
    .mobile-menu-btn,
    .mobile-menu-trigger,
    .hamburger-menu {
        display: none !important;
    }

    .aiff-navigation {
        display: flex !important;
    }
}

/* Hide any stray list items that appear as navigation outside the header */
body .container > ul:first-child,
body .row > ul:first-child {
    display: none !important;
}

/* Target specific layout patterns that might show duplicate menus */
.col-md-2 > ul,
.col-lg-2 > ul {
    display: none !important;
}

/* Button Color Theme Update - Change from teal (#0cbcb7) to AIFF Blue (#2c5aa0) */

/* Primary Button Styles - Override all teal buttons to AIFF blue */
.btn.v1,
.btn.v3,
.btn.v4,
.btn.v6.red,
.btn.v7,
.btn.v8 {
    background: #2c5aa0 !important;
    border-color: #2c5aa0 !important;
}

.btn.v1:hover,
.btn.v3:hover,
.btn.v4:hover,
.btn.v7:hover,
.btn.v8:hover {
    background: #1e3c72 !important;
    border-color: #1e3c72 !important;
    color: #fff !important;
}

.btn.v3.white {
    background: #fff !important;
    color: #2c5aa0 !important;
    border-color: #2c5aa0 !important;
}

.btn.v3.white:hover {
    background: #2c5aa0 !important;
    color: #fff !important;
    border-color: #2c5aa0 !important;
}

/* Slider Button Styles */
.slider-btn.v2:hover,
.slider-btn.v3,
.slider-btn.v4 {
    background: #2c5aa0 !important;
    border-color: #2c5aa0 !important;
}

.slider-btn.v2:hover i,
.slider-btn.v3 i,
.slider-btn.v4 i {
    color: #fff !important;
}

/* Button Size Variants - Ensure all button sizes use AIFF blue */
.btn.btn-lg,
.btn.btn-sm,
.btn.btn-xs {
    background: #2c5aa0 !important;
    border-color: #2c5aa0 !important;
}

.btn.btn-lg:hover,
.btn.btn-sm:hover,
.btn.btn-xs:hover {
    background: #1e3c72 !important;
    border-color: #1e3c72 !important;
}

/* Slider Specific Button Overrides */
.hero-slider-content .btn,
.hero-slider .btn,
.swiper-slide .btn {
    background: #2c5aa0 !important;
    border-color: #2c5aa0 !important;
    color: #fff !important;
}

.hero-slider-content .btn:hover,
.hero-slider .btn:hover,
.swiper-slide .btn:hover {
    background: #1e3c72 !important;
    border-color: #1e3c72 !important;
    color: #fff !important;
}

/* Newsletter Section Button */
.newsletter-section button,
.subscribe-section button,
form button[type="submit"] {
    background: #2c5aa0 !important;
    border-color: #2c5aa0 !important;
    color: #fff !important;
}

.newsletter-section button:hover,
.subscribe-section button:hover,
form button[type="submit"]:hover {
    background: #1e3c72 !important;
    border-color: #1e3c72 !important;
}

/* Generic Button Fallback */
.btn:not(.btn-secondary):not(.btn-light):not(.btn-outline):not(.btn-transparent) {
    background: #2c5aa0 !important;
    border-color: #2c5aa0 !important;
    color: #fff !important;
}

.btn:not(.btn-secondary):not(.btn-light):not(.btn-outline):not(.btn-transparent):hover {
    background: #1e3c72 !important;
    border-color: #1e3c72 !important;
    color: #fff !important;
}
