/* ==========================================================================
   Top Menu Navigation Styles & Theme - Exact innovationmerge.com replica
   ========================================================================== */

/* Sticky Header Wrapper */
header.navbar-fixed,
.navbar-fixed,
header.custom-header {
    position: fixed !important;
    top: 0 !important;
    z-index: 1000 !important;
    height: 70px !important;
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
}

/* Gradient Top Navigation Bar */
header.navbar-fixed nav,
nav#headNav,
.im-navbar,
nav.bg-color,
nav {
    background: linear-gradient(135deg, #003366, #0074d9 10%) !important;
    height: 70px !important;
    line-height: 70px !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
    position: relative !important;
    z-index: 1000 !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
}

/* Centered Container */
.navbar-container,
#navContainer {
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    height: 70px !important;
    gap: 0 !important;
}

/* Brand Logo Badge Styling */
.brand-logo.logo,
nav .brand-logo {
    display: flex !important;
    align-items: center !important;
    position: relative !important;
    left: 0 !important;
    transform: none !important;
    height: 70px !important;
    margin: 0 !important;
    padding: 0 !important;
    order: 1 !important;
    flex-shrink: 0 !important;
}

.brand-logo a,
.brand-logo .logo-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 4px 10px !important;
    border-radius: 6px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    transition: background 0.3s ease !important;
    text-decoration: none !important;
    height: 50px !important;
}

.brand-logo a:hover,
.brand-logo .logo-link:hover {
    background: #ffffff !important;
}

.brand-logo img,
.brand-logo .logo-image,
header .brand-logo .logo-img {
    max-height: 40px !important;
    max-width: 180px !important;
    object-fit: contain !important;
    display: block !important;
    padding: 0 !important;
    vertical-align: middle !important;
}

.brand-logo .logo-text {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #001f3f !important;
    letter-spacing: 1px !important;
}

/* Back Button Container */
.back-button-container {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 70px !important;
    margin-left: 10px !important;
    margin-right: auto !important;
    flex-shrink: 0 !important;
    order: 2 !important;
}

/* Back Button Styling */
.back-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 6px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    border: none !important;
    color: #ffffff !important;
    font-size: 18px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    padding: 0 !important;
    margin: 0 !important;
    outline: none !important;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    transform: translateX(-3px) !important;
}

.back-btn:active {
    background: rgba(255, 255, 255, 0.35) !important;
    transform: translateX(-5px) !important;
}

.back-btn i {
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Desktop - Back button visible (>992px) */
@media (min-width: 993px) {
    .back-button-container {
        display: flex !important;
        margin-left: 12px !important;
    }

    .back-btn {
        width: 35px !important;
        height: 35px !important;
        font-size: 12px !important;
    }
}

/* Tablet (601px - 992px) */
@media (min-width: 601px) and (max-width: 992px) {
    .back-button-container {
        display: flex !important;
        margin-left: 8px !important;
    }

    .back-btn {
        width: 35px !important;
        height: 35px !important;
        font-size: 12px !important;
    }
}

/* Mobile (< 600px) */
@media (max-width: 600px) {
    .back-button-container {
        display: flex !important;
        margin-left: 6px !important;
        margin-right: 8px !important;
    }

    .back-btn {
        width: 36px !important;
        height: 36px !important;
        font-size: 15px !important;
    }
}

/* Desktop Navigation Menu Container */
.nav-menu-desktop {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex: 1 1 auto !important;
    height: 70px !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    z-index: 1000 !important;
}

/* Navigation Items Container */
.nav-items-container {
    display: flex !important;
    align-items: center !important;
    gap: 30px !important;
    height: 70px !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    z-index: 1000 !important;
}

/* Individual Navigation Item Wrapper */
.nav-item-wrapper {
    display: flex !important;
    align-items: center !important;
    height: 70px !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Navigation Links - Main Styling */
.nav-items-container .nav-link {
    color: #ffffff !important;
    font-weight: 500 !important;
    font-size: 15px !important;
    cursor: pointer !important;
    padding: 8px 0 !important;
    border-bottom: 2px solid transparent !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: border-bottom-color 0.3s ease, color 0.3s ease, transform 0.3s ease !important;
    height: auto !important;
    line-height: 1.5 !important;
    white-space: nowrap !important;
}

.nav-items-container .nav-link:hover {
    border-bottom-color: #0099ff !important;
    color: #0099ff !important;
    transform: translateY(-2px) !important;
}

.nav-items-container .nav-link:active {
    color: #0099ff !important;
    border-bottom-color: #0099ff !important;
}

/* Dropdown Toggle Button */
.nav-item-dropdown {
    position: relative !important;
}

.nav-item-dropdown .dropdown-toggle {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    color: #ffffff !important;
    font-weight: 500 !important;
    font-size: 15px !important;
    cursor: pointer !important;
    padding: 8px 0 !important;
    border-bottom: 2px solid transparent !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: border-bottom-color 0.3s ease, color 0.3s ease !important;
    height: auto !important;
    line-height: 1.5 !important;
}

.nav-item-dropdown .dropdown-toggle i {
    font-size: 12px !important;
    transition: transform 0.3s ease !important;
}

.nav-item-dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg) !important;
}

.nav-item-dropdown:hover .dropdown-toggle {
    border-bottom-color: #0099ff !important;
    color: #0099ff !important;
}

/* Dropdown Menu Styling */
.dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    background: #003366 !important;
    border: 1px solid rgba(0, 102, 204, 0.3) !important;
    border-radius: 8px !important;
    min-width: 200px !important;
    padding: 8px 0 !important;
    margin: 8px 0 0 0 !important;
    list-style: none !important;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-10px) !important;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease !important;
    z-index: 2000 !important;
}

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

.dropdown-menu li {
    list-style: none !important;
}

.dropdown-menu li a {
    display: block !important;
    padding: 12px 20px !important;
    color: #ffffff !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    font-size: 14px !important;
}

.dropdown-menu li a:hover {
    background: rgba(0, 153, 255, 0.2) !important;
    color: #0099ff !important;
    padding-left: 24px !important;
}

/* Search Button */
.search-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
    color: #ffffff !important;
    font-size: 18px !important;
    cursor: pointer !important;
}

.search-btn:hover {
    background: rgba(0, 153, 255, 0.2) !important;
    color: #0099ff !important;
}

.desktop-nav .search-btn:hover,
nav #searchIcon:hover,
nav .fa-search:hover {
    color: #0099ff !important;
    background: transparent !important;
}

/* Mobile Trigger Button & Drawer */
.mobile-menu-btn,
nav .sidenav-trigger,
.button-collapse {
    color: #ffffff !important;
    font-size: 24px !important;
    height: 70px !important;
    line-height: 70px !important;
    margin: 0 !important;
}

/* Below 992px the sidenav-trigger/mobile-menu-btn becomes visible (Materialize default);
   keep the desktop menu (and any of its dropdowns) fully hidden and non-interactive here. */
@media (max-width: 992px) {
    .desktop-nav,
    .desktop-nav .sub-nav,
    .desktop-nav .menus_item_child {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    .navbar-container {
        justify-content: flex-start !important;
    }
}

nav .sidenav-trigger i,
.button-collapse i {
    color: #ffffff !important;
    line-height: 70px !important;
}

/* Backdrop overlay for mobile drawer (Materialize sidenav-overlay) */
.sidenav-overlay {
    z-index: 998 !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
}

.side-nav.mobile-nav,
.sidenav.mobile-nav {
    background: #003366 !important;
    color: #ffffff !important;
    position: fixed !important;
    left: 0 !important;
    top: 0 !important;
    z-index: 999 !important;
    height: 100vh !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
}

.mobile-nav .mobile-head {
    background: linear-gradient(135deg, #001f3f, #0074d9) !important;
    padding: 25px 15px 30px 15px !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 10px !important;
    border-bottom: 2px solid rgba(0, 102, 204, 0.3) !important;
}

.mobile-nav .mobile-head .logo-img {
    width: 70px !important;
    height: 70px !important;
    margin: 0 auto 15px !important;
    display: block !important;
    object-fit: contain !important;
}

.mobile-nav .mobile-head .logo-name {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 10px 0 5px 0 !important;
}

.mobile-nav .mobile-head .logo-desc {
    font-size: 13px !important;
    color: rgba(255, 255, 255, 0.85) !important;
    margin: 5px 0 0 0 !important;
}

/* HIDE MENUS BY DEFAULT */
.mobile-menu-list {
    visibility: hidden !important;
    max-height: 0 !important;
    opacity: 0 !important;
    transition: visibility 0.3s ease, opacity 0.3s ease, max-height 0.3s ease !important;
    overflow: hidden !important;
    padding: 10px 0 !important;
    margin: 0 !important;
}

/* SHOW MENUS WHEN SIDENAV IS OPEN - Using class toggled by JavaScript */
#mobile-nav.sidenav-open .mobile-menu-list {
    visibility: visible !important;
    max-height: 100vh !important;
    opacity: 1 !important;
}

/* Alternative: Show when sidenav has left: 0 style (Materialize open state) */
.sidenav[style*="left: 0"] .mobile-menu-list,
.sidenav.show .mobile-menu-list {
    visibility: visible !important;
    max-height: 100vh !important;
    opacity: 1 !important;
}

/* Fallback for transform-based opening */
.sidenav[style*="transform: translateX(0)"] .mobile-menu-list {
    visibility: visible !important;
    max-height: 100vh !important;
    opacity: 1 !important;
}

/* Menu Item Styling */
.mobile-menu-list .m-nav-item {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.mobile-menu-list .m-nav-item a {
    padding: 0px 20px !important;
    color: #ffffff !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease, border-left-color 0.3s ease, padding-left 0.3s ease !important;
    border-left: 3px solid transparent !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    font-size: 15px !important;
}

.mobile-menu-list .m-nav-item a:hover {
    background: rgba(0, 102, 204, 0.3) !important;
    border-left-color: #0099ff !important;
    padding-left: 25px !important;
    text-decoration: none !important;
}

.mobile-menu-list .m-nav-item a i {
    min-width: 0px !important;
    text-align: center !important;
}

/* When a mobile submenu is expanded, hide the other top-level menu items */
.mobile-menu-list.submenu-open .m-nav-item:not(.m-nav-show) {
    display: none !important;
}

@media (max-width: 992px) {
    header .sidenav.mobile-nav {
        width: min(320px, 86vw) !important;
        max-height: 100vh !important;
        overflow-y: auto !important;
        background: #003366 !important;
    }

    header .sidenav.mobile-nav .mobile-head {
        background: linear-gradient(135deg, #001f3f, #0074d9) !important;
    }
    
    /* Show menus when sidenav opens */
    header .sidenav.mobile-nav.sidenav-open .mobile-menu-list {
        visibility: visible !important;
        max-height: 100vh !important;
        opacity: 1 !important;
    }
}

/* Tablet: wider drawer and roomier tap targets than phone */
@media (min-width: 601px) and (max-width: 992px) {
    header .sidenav.mobile-nav {
        width: min(360px, 60vw) !important;
    }

    .mobile-nav .mobile-nav-link {
        padding: 18px 24px !important;
        font-size: 16px !important;
    }
}


/* About iNNovationMerge Blog Section */
.about-blog-container {
    padding: 30px 15px 40px;
}

.about-blog-header {
    text-align: center;
    margin-bottom: 40px;
}

.about-blog-badge {
    display: inline-block;
    color: #0066cc;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
    background: rgba(0, 102, 204, 0.08);
    padding: 6px 16px;
    border-radius: 20px;
}

.about-blog-title {
    font-size: 2.2rem !important;
    font-weight: 700 !important;
    color: #111827 !important;
    margin: 8px 0 16px 0 !important;
    line-height: 1.2 !important;
}

.about-blog-subtitle {
    font-size: 16px;
    color: #4b5563;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.blog-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.blog-feature-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 102, 204, 0.1);
    border-color: #0066cc;
}

.blog-feature-card .feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 102, 204, 0.1);
    color: #0066cc;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
    transition: background 0.3s ease, color 0.3s ease;
}

.blog-feature-card:hover .feature-icon {
    background: #0066cc;
    color: #ffffff;
}

.blog-feature-card h3 {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: #111827 !important;
    margin: 0 0 10px 0 !important;
}

.blog-feature-card p {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Recommended Posts & Videos Styles */
.recommend-container {
    padding: 30px 20px 40px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    margin-top: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.recommend-header {
    text-align: center;
    margin-bottom: 35px;
}

.recommend-title {
    font-size: 2rem !important;
    font-weight: 700 !important;
    color: #111827 !important;
    margin: 0 0 8px 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.recommend-title i {
    color: #0066cc;
}

.recommend-subtitle {
    font-size: 15px;
    color: #6b7280;
    margin: 0;
}

.recommend-grid {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 40px;
    row-gap: 20px;
}

.recommend-grid .col {
    padding-top: 15px;
    padding-bottom: 15px;
}

.recommend-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
}


.recommend-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 102, 204, 0.12);
    border-color: #0066cc;
}


.recommend-card-img-wrap {
    display: block;
    height: 180px;
    overflow: hidden;
    position: relative;
}

.recommend-card-img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    transition: transform 0.5s ease;
}

.recommend-card:hover .recommend-card-img {
    transform: scale(1.05);
}

.recommend-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.recommend-card-categories {
    margin-bottom: 12px;
}

.recommend-badge {
    display: inline-block;
    background-color: rgba(0, 102, 204, 0.1);
    color: #0066cc !important;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none !important;
    transition: background 0.3s ease;
}

.recommend-badge:hover {
    background-color: #0066cc;
    color: #ffffff !important;
}

.recommend-card-title-link {
    text-decoration: none !important;
}

.recommend-card-title {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: #111827 !important;
    line-height: 1.4 !important;
    margin: 0 0 10px 0 !important;
    transition: color 0.3s ease;
}

.recommend-card-title-link:hover .recommend-card-title {
    color: #0066cc !important;
}

.recommend-card-summary {
    color: #4b5563;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 16px 0;
    flex-grow: 1;
}

.recommend-card-footer {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #f3f4f6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.recommend-card-date {
    color: #9ca3af;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.recommend-read-btn {
    color: #0066cc !important;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s ease, color 0.3s ease;
}

.recommend-read-btn:hover {
    color: #004499 !important;
    gap: 10px;
}

/* Recommended Video Section */
.recommend-video-section {
    margin-top: 40px;
    text-align: center;
}

.recommend-video-card {
    max-width: 800px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.recommend-video-card:hover {
    border-color: #0066cc;
    box-shadow: 0 12px 24px rgba(0, 102, 204, 0.1);
}


.video-responsive-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}

.video-responsive-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Footer Styles matching innovationmerge.com */
.footer {
    background: linear-gradient(135deg, #003366, #001a33) !important;
    color: #d1d5db !important;
    padding: 60px 0 20px !important;
    margin-top: 0 !important;
    font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px !important;
    }
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 60px;
    padding: 42px;
    color: #fff;
    background: #0066cc;
    border-radius: 12px;
}

.footer-cta .footer-eyebrow {
    margin: 0 0 12px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.footer-cta h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    line-height: 1.2;
    font-weight: 700;
}

.footer-cta p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
}

.footer-cta-btn {
    flex: 0 0 auto;
    color: #102b3f !important;
    background: #fff;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-cta-btn:hover {
    color: #fff !important;
    background: #003366;
}

@media (max-width: 600px) {
    .footer-cta {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 40px;
        padding: 30px 24px;
    }
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.footer-section h4 {
    color: #fff !important;
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-section p {
    color: #9ca3af !important;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #d1d5db !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.footer-section ul li a:hover {
    color: #0099ff !important;
    transform: translateX(4px);
}

.footer-section.contact-list ul li a {
    flex-direction: row;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: rgba(0, 102, 204, 0.2);
    border-radius: 50%;
    color: #0099ff !important;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.social-links a:hover {
    background-color: #0099ff;
    color: #fff !important;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

@media (max-width: 600px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

.footer-bottom p {
    margin: 0;
    color: #9ca3af !important;
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #9ca3af !important;
    text-decoration: none !important;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #0099ff !important;
}

/* ========================================================================
   NEW NAVIGATION MENU STYLES FOR UPDATED STRUCTURE
   ======================================================================== */

/* Desktop Navigation Menu Container */
.nav-menu-desktop {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex: 1 1 auto !important;
    height: 70px !important;
    margin: 0 20px !important;
    padding: 0 !important;
    order: 2 !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
}

/* Navigation Items Container */
.nav-items-container {
    display: flex !important;
    align-items: center !important;
    gap: 30px !important;
    height: 70px !important;
    margin: 0 !important;
    padding: 0 !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
}

/* Individual Navigation Item Wrapper */
.nav-item-wrapper {
    display: flex !important;
    align-items: center !important;
    height: 70px !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Navigation Links */
.nav-items-container .nav-link {
    color: #ffffff !important;
    font-weight: 500 !important;
    font-size: 15px !important;
    cursor: pointer !important;
    padding: 8px 0 !important;
    border-bottom: 2px solid transparent !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: border-bottom-color 0.3s ease, color 0.3s ease, transform 0.3s ease !important;
    height: auto !important;
    line-height: 1.5 !important;
}

.nav-items-container .nav-link:hover {
    border-bottom-color: #0099ff !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
}

/* Dropdown Toggle Button */
.nav-item-dropdown {
    position: relative !important;
}

.nav-item-dropdown .dropdown-toggle {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.nav-item-dropdown .dropdown-toggle i {
    font-size: 12px !important;
    transition: transform 0.3s ease !important;
}

.nav-item-dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg) !important;
}

/* Dropdown Menu Styling */
.dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    background: #003366 !important;
    border: 1px solid rgba(0, 102, 204, 0.3) !important;
    border-radius: 8px !important;
    min-width: 200px !important;
    padding: 8px 0 !important;
    margin: 8px 0 0 0 !important;
    list-style: none !important;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-10px) !important;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease !important;
    z-index: 1000 !important;
}

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

.dropdown-menu li {
    margin: 0 !important;
    padding: 0 !important;
}

.dropdown-menu li a {
    display: block !important;
    padding: 12px 20px !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    transition: background-color 0.3s ease, color 0.3s ease, padding-left 0.3s ease !important;
    cursor: pointer !important;
}

.dropdown-menu li a:hover {
    background-color: rgba(0, 102, 204, 0.3) !important;
    color: #0099ff !important;
    padding-left: 25px !important;
}

/* Search Button in Navigation */
.nav-items-container .search-btn {
    font-size: 18px !important;
    padding: 0 !important;
    border: none !important;
}

.nav-items-container .search-btn:hover {
    color: #0099ff !important;
}

/* Mobile Navigation Menu Button */
.nav-menu-mobile {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 70px !important;
    margin: 0 !important;
    margin-left: auto !important;
    padding: 0 !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
    order: 3 !important;
}

/* Mobile Menu Button (Hamburger Icon) */
.nav-menu-mobile .mobile-menu-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 50px !important;
    height: 50px !important;
    color: #ffffff !important;
    font-size: 24px !important;
    cursor: pointer !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: color 0.3s ease !important;
    outline: none !important;
    line-height: 1 !important;
}

.nav-menu-mobile .mobile-menu-btn:hover {
    color: #0099ff !important;
}

/* WhatsApp Counsel Widget */
.whatsapp-counsel {
    margin: 40px 0 !important;
    padding: 40px 20px !important;
    background: linear-gradient(135deg, #001f3f, #0074d9) !important;
    border-radius: 12px !important;
    text-align: center !important;
    box-shadow: 0 8px 24px rgba(0, 20, 63, 0.2) !important;
}

.whatsapp-icon-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 80px !important;
    height: 80px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    border-radius: 50% !important;
    margin: 0 auto 25px auto !important;
    font-size: 40px !important;
    color: #25d366 !important;
    animation: pulse-icon 2s ease-in-out infinite !important;
}

@keyframes pulse-icon {
    0%, 100% {
        transform: scale(1) !important;
    }
    50% {
        transform: scale(1.1) !important;
    }
}

.whatsapp-counsel h3 {
    color: #ffffff !important;
    font-size: 28px !important;
    font-weight: 600 !important;
    margin: 0 0 15px 0 !important;
}

.whatsapp-counsel p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 16px !important;
    margin: 0 0 25px 0 !important;
    line-height: 1.6 !important;
}

.whatsapp-qr-section {
    display: flex !important;
    justify-content: center !important;
    margin: 25px 0 !important;
}

.whatsapp-qr-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding: 15px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 10px !important;
}

.whatsapp-qr-code {
    width: 200px !important;
    height: 200px !important;
    border-radius: 8px !important;
    padding: 10px !important;
    background: #ffffff !important;
    display: block !important;
    margin-bottom: 10px !important;
}

.qr-label {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 14px !important;
    margin: 0 !important;
    font-weight: 500 !important;
}

.whatsapp-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 14px 32px !important;
    background: #25d366 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    border: none !important;
}

.whatsapp-btn:hover {
    background: #20ba5a !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3) !important;
}

.whatsapp-btn:active {
    transform: translateY(0) !important;
}

.whatsapp-btn i {
    font-size: 20px !important;
}

/* Responsive WhatsApp Widget */
@media (max-width: 992px) {
    .whatsapp-counsel {
        margin: 30px 0 !important;
        padding: 30px 15px !important;
    }
    
    .whatsapp-icon-wrapper {
        width: 70px !important;
        height: 70px !important;
        margin: 0 auto 20px auto !important;
        font-size: 36px !important;
    }
    
    .whatsapp-counsel h3 {
        font-size: 24px !important;
        margin: 0 0 12px 0 !important;
    }
    
    .whatsapp-counsel p {
        font-size: 15px !important;
        margin: 0 0 20px 0 !important;
    }
    
    .whatsapp-qr-code {
        width: 160px !important;
        height: 160px !important;
    }
    
    .whatsapp-btn {
        padding: 12px 28px !important;
        font-size: 15px !important;
    }
}

@media (max-width: 600px) {
    .whatsapp-counsel {
        margin: 25px 0 !important;
        padding: 25px 12px !important;
    }
    
    .whatsapp-icon-wrapper {
        width: 60px !important;
        height: 60px !important;
        margin: 0 auto 18px auto !important;
        font-size: 32px !important;
    }
    
    .whatsapp-counsel h3 {
        font-size: 20px !important;
        margin: 0 0 10px 0 !important;
    }
    
    .whatsapp-counsel p {
        font-size: 14px !important;
        margin: 0 0 18px 0 !important;
    }
    
    .whatsapp-qr-code {
        width: 140px !important;
        height: 140px !important;
    }
    
    .whatsapp-btn {
        padding: 10px 24px !important;
        font-size: 14px !important;
        gap: 8px !important;
    }
    
    .whatsapp-btn i {
        font-size: 18px !important;
    }
}

/* Back Button Container - Align with mobile menu button */
.back-button-container {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 70px !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
    order: 4 !important;
}

/* Back Button Styling - Same size as mobile menu button */
.back-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 6px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    border: none !important;
    color: #ffffff !important;
    font-size: 18px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    padding: 0 !important;
    margin: 0 !important;
    outline: none !important;
    line-height: 1 !important;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    transform: translateX(-3px) !important;
}

.back-btn:active {
    background: rgba(255, 255, 255, 0.35) !important;
    transform: translateX(-5px) !important;
}

.back-btn i {
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Desktop - Back button visible (>992px) - positioned after search */
@media (min-width: 993px) {
    .back-button-container {
        display: flex !important;
        margin-left: 12px !important;
    }

    .back-btn {
        width: 42px !important;
        height: 42px !important;
        font-size: 18px !important;
        line-height: 1 !important;
    }
}

/* Tablet (601px - 992px) - Both buttons on same line */
@media (min-width: 601px) and (max-width: 992px) {
    .nav-menu-mobile {
        display: flex !important;
        gap: 4px !important;
    }

    .nav-menu-mobile .mobile-menu-btn {
        width: 48px !important;
        height: 48px !important;
        font-size: 22px !important;
        line-height: 1 !important;
    }

    .back-button-container {
        display: flex !important;
        margin-left: 0 !important;
    }

    .back-btn {
        width: 48px !important;
        height: 48px !important;
        font-size: 18px !important;
        line-height: 1 !important;
    }
}

/* Mobile (< 600px) - Both buttons on same line */
@media (max-width: 600px) {
    .nav-menu-mobile {
        display: flex !important;
        gap: 2px !important;
    }

    .nav-menu-mobile .mobile-menu-btn {
        width: 44px !important;
        height: 44px !important;
        font-size: 20px !important;
        line-height: 1 !important;
    }

    .back-button-container {
        display: flex !important;
        margin-left: 0 !important;
        margin-right: 8px !important;
    }

    .back-btn {
        width: 44px !important;
        height: 44px !important;
        font-size: 15px !important;
        line-height: 1 !important;
    }

    /* Hide desktop navigation on mobile */
    .nav-menu-desktop {
        display: none !important;
    }

    /* Show mobile navigation on mobile */
    .nav-menu-mobile {
        display: flex !important;
    }
}

/* Tablet (601px - 992px) */
@media (min-width: 601px) and (max-width: 992px) {
    /* Hide desktop navigation on tablet */
    .nav-menu-desktop {
        display: none !important;
    }

    /* Show mobile navigation on tablet */
    .nav-menu-mobile {
        display: flex !important;
    }
}

/* Desktop (993px+) */
@media (min-width: 993px) {
    /* Show desktop navigation on desktop */
    .nav-menu-desktop {
        display: flex !important;
    }

    /* Hide mobile navigation on desktop */
    .nav-menu-mobile {
        display: none !important;
    }
}

/* ==========================================================================
   Loading Spinner Styles
   ========================================================================== */

.loading-spinner {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(255, 255, 255, 0.6) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 9999 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
    backdrop-filter: blur(2px) !important;
}

.loading-spinner.hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.spinner-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 30px !important;
}

.spinner-wrapper {
    position: relative !important;
    width: 120px !important;
    height: 120px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.spinner-ring {
    position: absolute !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    border: 4px solid rgba(0, 0, 0, 0.08) !important;
    border-top-color: #0099ff !important;
    border-right-color: #00ccff !important;
    animation: spin-rotation 1.2s cubic-bezier(0.4, 0, 0.6, 1) infinite !important;
}

@keyframes spin-rotation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.spinner-logo {
    position: relative !important;
    z-index: 2 !important;
    font-size: 28px !important;
    font-weight: 900 !important;
    color: #0066cc !important;
    letter-spacing: 2px !important;
}
