* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Satoshi', sans-serif;
}

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

/* =========================
   TOP BAR
========================= */
.top-bar {
    background: #013A70;
    color: #fff;
    font-size: 14px;
}

.top-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 8px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.top-left span {
    margin-right: 18px;
    opacity: 0.9;
    white-space: nowrap;
}

.top-left i {
    margin-right: 6px;
    font-size: 13px;
    color: #75C3C6;
}

/* Hide email on mobile initially */
.mobile-email {
    display: none;
}

/* Social Icons (Top Bar) */
.social-icons a {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    margin-left: 10px;
    transition: transform 0.25s ease, opacity 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.social-icons a:hover {
    background: #fff;
    color: #013A70;
}

/* =========================
   MAIN HEADER
========================= */
.main-header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
    z-index: 1000;
}

.main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px 5%;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
}

/* Logo */
.logo img {
    height: 25px;
    width: auto;
}

/* Navigation */
.nav-menu {
    display: flex;
    justify-content: center;
    gap: 36px;
}

.nav-link {
    text-decoration: none;
    color: #013A70;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
    position: relative;
    display: inline-block;
}

.nav-link:hover {
    color: #75C3C6;
}

/* Dropdown */
.nav-item {
    position: relative;
}

/* Desktop dropdown header */
.dropdown-header {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown-main-link {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Original dropdown menu (for other dropdowns if any) */
.dropdown-menu:not(.mega-menu) {
    position: absolute;
    top: 120%;
    left: 0;
    background: #fff;
    min-width: 190px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: transform 0.25s ease, opacity 0.25s ease, background-color 0.25s ease, color 0.25s ease;
    z-index: 1001;
}

.dropdown-menu:not(.mega-menu) a {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #013A70;
    text-decoration: none;
    white-space: nowrap;
}

.dropdown-menu:not(.mega-menu) a:hover {
    background: #f1f5f9;
    color: #013A70;
}

/* Desktop: Show on hover for regular dropdowns */
.nav-item:not(.mega-menu-wrapper):hover .dropdown-menu:not(.mega-menu) {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* =========================
   MEGA MENU STYLES
========================= */

/* Mega Menu Wrapper */
.mega-menu-wrapper {
    position: static !important;
}

/* Mega Menu Container */
.mega-menu {
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    max-width: 100%;
    background: #fff;
    border-radius: 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: transform 0.3s cubic-bezier, opacity 0.3s cubic-bezier, background-color 0.3s cubic-bezier, color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    border-top: 2px solid #013A70;
    border-bottom: 1px solid #e5e7eb;
    overflow: hidden;
}

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

/* Mega Menu Content Layout */
.mega-menu-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 5%;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    min-height: 400px;
}

/* Left Sidebar - Sub Menu */
.mega-menu-sidebar {
    background: #f8fafc;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #e5e7eb;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.mega-menu-title {
    font-size: 18px;
    font-weight: 700;
    color: #013A70;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #75C3C6;
}

.sub-menu-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Sub-menu items for desktop */
.sub-menu-item-link {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-radius: 8px;
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    font-size: 15px;
    transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease;
    background: transparent;
    border-left: 3px solid transparent;
    cursor: pointer;
}

.sub-menu-item-link:hover {
    background: #e0f2fe;
    color: #013A70;
    border-left-color: #75C3C6;
    text-decoration: none;
}

.sub-menu-item-link.active {
    background: #013A70;
    color: white;
    border-left-color: #75C3C6;
}

.sub-menu-icon {
    width: 20px;
    margin-right: 12px;
    text-align: center;
    opacity: 0.8;
}

.sub-menu-item-link:hover .sub-menu-icon {
    opacity: 1;
}

.sub-menu-item-link.active .sub-menu-icon {
    opacity: 1;
    color: white;
}

.sub-menu-text {
    flex: 1;
}

.sub-menu-arrow {
    opacity: 0.5;
    font-size: 12px;
    transition: transform 0.2s ease;
}

.sub-menu-item-link.active .sub-menu-arrow {
    opacity: 1;
    color: white;
}

/* Desktop sub-menu items container */
.desktop-sub-menu-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Mobile-only class */
.mobile-only {
    display: none;
}

/* Desktop-only class */
.desktop-only {
    display: block;
}

/* Right Main Content */
.mega-menu-main {
    padding: 10px 0;
    min-height: 340px;
}

.menu-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.menu-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-section {
    margin-bottom: 30px;
}

.menu-section:last-child {
    margin-bottom: 0;
}

.menu-section-title {
    font-size: 14px;
    font-weight: 700;
    color: #013A70;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f5f9;
}

.menu-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 5px;
}

.menu-item {
    display: flex;
    align-items: center;
    /* padding: 14px 18px; */
    padding: 7px 9px;
    background: #f8fafc;
    border-radius: 10px;
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    font-size: 12px;
    transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease;
    border: 1px solid transparent;
}

.menu-item:hover {
    background: #e0f2fe;
    color: #013A70;
    border-color: #75C3C6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(117, 195, 198, 0.15);
}

.menu-item.highlight {
    background: linear-gradient(135deg, #013A70, #1e5ca3);
    color: white;
    border: none;
}

.menu-item.highlight:hover {
    background: linear-gradient(135deg, #002954, #013A70);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(1, 58, 112, 0.3);
}

.menu-item i {
    margin-right: 6px;
    font-size: 14px;
    width: 20px;
    text-align: center;
    color: #75C3C6;
}

.menu-item.highlight i {
    color: white;
}

/* Login Button */
.login-btn {
    background: #013A70;
    color: #fff;
    padding: 8px 22px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    white-space: nowrap;
    display: inline-block;
}

.login-btn:hover {
    background: #002954;
    transform: translateY(-1px);
}

/* Mobile header right section */
.mobile-header-right {
    display: none;
    align-items: center;
    gap: 10px;
}

/* Mobile login button (small) */
.mobile-header-login {
    padding: 6px 14px;
    font-size: 13px;
    border-radius: 20px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #013A70;
    cursor: pointer;
    padding: 5px;
    z-index: 1002;
}

/* Mobile Menu Styles */
.mobile-menu-header {
    display: none;
}

.mobile-logo {
    display: none;
}

.nav-menu {
    display: flex;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.mobile-login-btn {
    display: none;
}

/* Mobile dropdown toggle button */
.dropdown-toggle {
    display: flex;
    background: none;
    border: none;
    color: #013A70;
    cursor: pointer;
    padding: 5px;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.dropdown-toggle.active i {
    transform: rotate(45deg);
}

/* =========================
   RESPONSIVE STYLES
========================= */

/* Tablet */
@media (max-width: 992px) {
    .top-container {
        padding: 8px 4%;
    }

    .main-container {
        padding: 10px 4%;
        gap: 15px;
    }

    .nav-links {
        gap: 25px;
    }

    .top-left span {
        margin-right: 15px;
        font-size: 13px;
    }

    /* Mega Menu Adjustments */
    .mega-menu-content {
        grid-template-columns: 1fr;
        padding: 25px 4%;
        min-height: auto;
        gap: 30px;
    }

    .mega-menu-sidebar {
        margin-bottom: 0;
        position: static;
    }

    .menu-items-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mega-menu-main {
        min-height: auto;
    }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {

    /* Hide desktop-only elements on mobile */
    .desktop-only {
        display: none !important;
    }

    /* Show mobile-only elements */
    .mobile-only {
        display: block !important;
    }

    /* Hide desktop sub-menu items */
    .desktop-sub-menu-items {
        display: none !important;
    }

    /* Mobile sub-menu items */
    .mobile-sub-menu-item {
        display: block;
        border-bottom: 1px solid #e5e7eb;
        padding-bottom: 12px;
        margin-bottom: 12px;
    }

    .mobile-sub-menu-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .mobile-sub-menu-item:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    /* Adjust sub-menu item links for mobile */
    .sub-menu-item-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 0;
        text-decoration: none;
        color: #013A70;
        font-weight: 500;
        font-size: 16px;
        width: 100%;
        border-left: none;
        border-radius: 0;
        background: transparent;
    }

    .mobile-sub-menu-row .sub-menu-item-link {
        flex: 1;
        width: auto;
        min-width: 0;
    }

    .sub-menu-item-link:hover {
        background: transparent;
        color: #013A70;
    }

    .sub-menu-item-link.active {
        background: transparent;
        color: #013A70;
        border-left: none;
    }

    .sub-menu-item-link .sub-menu-text {
        flex: 1;
    }

    .sub-menu-item-link .sub-menu-icon {
        margin-right: 12px;
        width: 20px;
        text-align: center;
        color: #75C3C6;
        opacity: 1;
    }

    /* Remove arrow on mobile */
    .sub-menu-item-link .sub-menu-arrow {
        display: none;
    }

    /* Mobile expand button */
    .mobile-expand-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        color: #013A70;
        cursor: pointer;
        padding: 8px 12px;
        font-size: 14px;
        margin-left: 10px;
        border-radius: 4px;
        transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease;
        min-width: 30px;
        height: 30px;
    }

    .mobile-expand-btn:hover {
        background: #f1f5f9;
    }

    .mobile-expand-btn.active i {
        transform: rotate(45deg);
    }

    .mobile-expand-btn i {
        transition: transform 0.3s ease;
        font-size: 12px;
    }

    /* Mobile menu items container */
    .mobile-menu-items {
        display: none;
        padding-left: 12px;
        margin-top: 8px;
        /* border-left: 2px solid #e5e7eb; */
        margin-left: 10px;
    }

    .mobile-menu-items.active {
        display: block;
        animation: slideDown 0.3s ease;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            max-height: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            max-height: 500px;
            transform: translateY(0);
        }
    }

    /* Mobile menu item */
    .mobile-menu-item {
        display: flex;
        align-items: center;
        padding: 10px 0;
        text-decoration: none;
        color: #374151;
        font-size: 14px;
        font-weight: 500;
        transition: color 0.2s ease;
        border-bottom: 1px solid transparent;
    }

    .mobile-menu-item:hover {
        color: #013A70;
    }

    .mobile-menu-item i {
        margin-right: 10px;
        width: 16px;
        text-align: center;
        color: #75C3C6;
        font-size: 14px;
    }

    .mobile-menu-item.highlight {
        color: #013A70;
        font-weight: 600;
    }

    .mobile-menu-item.highlight i {
        color: #013A70;
    }

    /* Hide mega menu title on mobile */
    .mega-menu-title {
        display: none;
    }

    /* Adjust mega menu for mobile */
    .mega-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        border: none;
        display: none;
        padding: 0;
        margin-top: 10px;
        background: transparent;
        opacity: 1;
        visibility: visible;
        transform: none;
        overflow: visible;
    }

    .mega-menu.active {
        display: block;
    }

    /* Adjust mega menu content for mobile */
    .mega-menu-content {
        padding: 0 !important;
        grid-template-columns: 1fr;
        gap: 0 !important;
        min-height: auto !important;
    }

    .mega-menu-sidebar {
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
        position: static !important;
    }

    .sub-menu-list {
        flex-direction: column;
        gap: 0;
    }

    /* Hide desktop right content on mobile */
    .mega-menu-main {
        display: none;
    }

    /* =========================
       MOBILE HEADER STYLES
    ========================= */

    .top-bar {
        display: block;
        padding: 6px 0;
    }

    .top-container {
        padding: 5px 4%;
        justify-content: space-between;
        gap: 15px;
    }

    .top-left {
        display: flex;
        align-items: center;
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .desktop-email {
        display: none;
    }

    .mobile-email {
        display: inline;
    }

    .top-left span {
        margin-right: 0;
        font-size: 12px;
    }

    .social-icons {
        display: flex;
        gap: 8px;
    }

    .social-icons a {
        width: 24px;
        height: 24px;
        font-size: 12px;
        margin-left: 0;
    }

    .main-container {
        padding: 10px 4%;
        grid-template-columns: auto 1fr;
        position: relative;
    }

    .mobile-header-right {
        display: flex;
        justify-self: end;
    }

    .mobile-menu-toggle {
        margin-right: 0;
    }

    .mobile-menu-toggle {
        display: block;
        justify-self: end;
        margin-right: 10px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 650px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        justify-content: flex-start;
        padding: 0;
        gap: 0;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
        border-bottom: 1px solid #e5e7eb;
        background: #f8fafc;
    }

    .mobile-logo {
        display: block;
    }

    .mobile-logo img {
        height: 22px;
        width: auto;
    }

    .close-menu {
        background: none;
        border: none;
        font-size: 1.5rem;
        color: #013A70;
        cursor: pointer;
        padding: 5px;
    }

    .nav-links {
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: 20px;
    }

    .nav-link {
        display: flex;
        align-items: center;
        width: 100%;
        padding: 16px 0;
        font-size: 16px;
        color: #013A70;
    }

    .nav-item {
        width: 100%;
    }

    /* Mobile dropdown header */
    .dropdown-header {
        width: 100%;
        justify-content: space-between;
        align-items: center;
        padding: 16px 0;
    }

    .dropdown-main-link {
        padding: 0;
        border: none;
        flex: 1;
    }

    .dropdown-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
    }

    .header-actions {
        display: none;
    }

    .mobile-login-btn {
        display: block;
        width: 100%;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid #e5e7eb;
    }

    .mobile-login-btn .login-btn {
        width: 100%;
        text-align: center;
        padding: 12px;
        font-size: 15px;
    }

    .logo {
        grid-column: 1;
    }

    .mobile-menu-toggle {
        grid-column: 2;
        justify-self: end;
    }

    /* Hide hover effects for mega menu on mobile */
    .mega-menu-wrapper:hover .mega-menu {
        opacity: 1;
        visibility: visible;
        transform: none;
    }
}

/* Desktop styles (769px and above) */
@media (min-width: 769px) {
    .mobile-only {
        display: none !important;
    }

    .desktop-only {
        display: block !important;
    }

    .desktop-sub-menu-items {
        display: flex !important;
    }

    .mobile-sub-menu-item,
    .mobile-expand-btn,
    .mobile-menu-items,
    .mobile-menu-item {
        display: none !important;
    }

    /* Ensure dropdown doesn't overflow viewport on large screens */
    .mega-menu {
        left: 50%;
        transform: translateX(-50%) translateY(15px);
        width: 100%;
        max-width: 100%;
        max-height: 500px;
        overflow: auto;
    }

    .mega-menu-wrapper:hover .mega-menu {
        transform: translateX(-50%) translateY(0);
    }

    /* Hover delay for better UX */
    .mega-menu {
        transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .mega-menu-wrapper:hover .mega-menu {
        transition-delay: 0.1s;
    }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
    .top-container {
        padding: 5px 3%;
        gap: 10px;
    }

    .top-left {
        gap: 10px;
    }

    .top-left span {
        font-size: 11px;
    }

    .social-icons a {
        width: 22px;
        height: 22px;
        font-size: 11px;
    }

    .main-container {
        padding: 8px 3%;
    }

    .logo img {
        height: 20px;
    }

    .mobile-menu-toggle {
        font-size: 1.3rem;
        margin-right: 5px;
    }

    .nav-menu {
        width: 100%;
    }

    .mobile-logo img {
        height: 20px;
    }

    .nav-links {
        padding: 15px;
    }

    .nav-link {
        padding: 14px 0;
        font-size: 15px;
    }

    .dropdown-header {
        padding: 0px 0;
    }

    .mobile-login-btn .login-btn {
        padding: 12px;
        font-size: 14px;
    }

    /* Mega Menu Mobile Adjustments */
    .mega-menu-sidebar {
        padding: 0 !important;
    }

    .mobile-sub-menu-item {
        padding-bottom: 10px;
        margin-bottom: 10px;
    }

    .sub-menu-item-link {
        padding: 10px 0;
        font-size: 15px;
    }

    .sub-menu-icon {
        font-size: 14px;
        margin-right: 10px;
    }

    .mobile-expand-btn {
        padding: 6px 10px;
        min-width: 28px;
        height: 28px;
    }

    .mobile-menu-item {
        padding: 8px 0;
        font-size: 13px;
    }

    .mobile-menu-item i {
        font-size: 12px;
        margin-right: 8px;
    }

    .mobile-menu-items {
        padding-left: 28px;
        margin-left: 8px;
    }
}

/* Large Desktop (1400px and above) */
@media (min-width: 1400px) {

    .top-container,
    .main-container {
        padding: 10px 2%;
    }

    .mega-menu-content {
        padding: 30px 2%;
    }
}

/* Very Small Mobile (360px and below) */
@media (max-width: 360px) {
    .top-left {
        flex-direction: column;
        gap: 5px;
        align-items: center;
    }

    .social-icons {
        justify-content: center;
    }

    .nav-menu {
        width: 95%;
    }

    .sub-menu-item-link {
        font-size: 14px;
    }

    .mobile-menu-items {
        padding-left: 24px;
    }
}

/* Fix for z-index issues */
.main-header {
    position: relative;
    z-index: 1000;
}

.mega-menu {
    z-index: 1001;
}

.mobile-menu-toggle {
    z-index: 999;
}

/* =========================
   STICKY MAIN HEADER ONLY
========================= */

#main-header-spacer {
    height: 0;
}

/* Default state */
#main-header {
    position: relative;
    width: 100%;
    z-index: 1000;
    background: #fff;
}

/* Sticky state */
#main-header.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    animation: slideDown 0.3s ease;
}

/* Optional compact effect on scroll */
#main-header.is-sticky .main-container {
    padding-top: 8px;
    padding-bottom: 8px;
}

/* Smooth entry animation */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

/* =========================
   USER DROPDOWN STYLES
========================= */
.user-dropdown {
    position: relative;
    display: inline-block;
}

.user-btn {
    background: #013A70;
    color: #fff;
    padding: 8px 20px;
    border: none;
    border-radius: 999px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.user-btn:hover {
    background: #002954;
}

.user-dropdown-menu {
    position: absolute;
    top: 120%;
    right: 0;
    background: #ffffff;
    min-width: 200px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: transform 0.25s ease, opacity 0.25s ease, background-color 0.25s ease, color 0.25s ease;
    z-index: 1002;
    overflow: hidden;
}

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

.user-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    color: #374151;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s ease;
}

.user-dropdown-menu a:last-child {
    border-bottom: none;
    color: #ef4444;
    /* Red color for logout */
}

.user-dropdown-menu a:hover {
    background: #f8fafc;
    color: #013A70;
}

.user-dropdown-menu a:last-child:hover {
    background: #fef2f2;
    color: #dc2626;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .user-dropdown {
        width: 100%;
    }

    .user-btn {
        width: 100%;
        justify-content: center;
        padding: 12px;
    }

    .user-dropdown-menu {
        width: 100%;
        position: static;
        box-shadow: none;
        border: none;
        background: transparent;
        display: none;
    }

    .user-dropdown-menu.active {
        display: block;
    }

    .mobile-top-dropdown .user-dropdown-menu {
        position: absolute !important;
        top: 130% !important;
        right: -10px !important;
        width: 180px !important;
        background: #ffffff !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
        border: 1px solid #e5e7eb !important;
        display: block !important;
        /* Overrides the 'display: none' from base mobile rules */
    }

    .mobile-top-dropdown .user-btn {
        width: auto !important;
    }
}

/* Breadcrumb Navigation */
.breadcrumb {
    padding: 16px 0;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
    font-size: 14px;
}
.breadcrumb-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}
.breadcrumb ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}
.breadcrumb li {
    display: flex;
    align-items: center;
    color: #64748b;
    font-weight: 500;
}
.breadcrumb li:not(:last-child)::after {
    content: "\203A";
    margin: 0 10px;
    color: #94a3b8;
    font-size: 16px;
    line-height: 1;
}
.breadcrumb a {
    color: #013A70;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 6px;
}
.breadcrumb a:hover {
    color: #013A70;
    background: #e0f2fe;
}
.breadcrumb li[aria-current="page"] {
    color: #013A70;
    font-weight: 600;
    padding: 6px 12px;
    background: #e0f2fe;
    border-radius: 6px;
}

/* Accessibility */
.skip-link {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.skip-link:focus {
    position: absolute;
    width: auto;
    height: auto;
    padding: 10px 20px;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    top: 0;
    left: 20px;
    background: #013A70;
    color: white;
    z-index: 100000;
    border-radius: 0 0 8px 8px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    outline: 2px solid #75C3C6;
}
/* Breadcrumb Styling */
.breadcrumb {
    padding: 15px 20px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    font-size: 14px;
    margin-bottom: 20px;
}
.breadcrumb-container {
    max-width: 1200px;
    margin: 0 auto;
}
.breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
    padding: 0;
}
.breadcrumb li {
    display: flex;
    align-items: center;
    color: #6c757d;
}
.breadcrumb li a {
    color: #072B46;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}
.breadcrumb li a:hover {
    color: #15989C;
}
.breadcrumb li + li::before {
    content: "/";
    padding: 0 10px;
    color: #6c757d;
}

