/* ========================================
   Header Reset & Base
   ======================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    height: 70px;
}

.container-fluid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

/* ========================================
   Logo Section
   ======================================== */
.header-logo {
    flex-shrink: 0;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

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

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--site-accent-bright, #0066cc);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ========================================
   Navigation
   ======================================== */
.header-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    margin: 0 1rem;
}

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

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    color: #5b9bd5;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 3px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav-link:hover {
    background: var(--site-accent-hover-bg, #f0f7ff);
    color: var(--site-accent-bright, #0066cc);
}

.nav-link.active {
    background: var(--site-accent-hover-bg, #f0f7ff);
    color: var(--site-accent-bright, #0066cc);
}

.nav-link i {
    font-size: 15px;
}

.nav-link span {
    display: inline;
}

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

.nav-item.active .dropdown-arrow {
    transform: rotate(180deg);
}

/* ========================================
   Dropdown Menus
   ======================================== */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    border-radius: 3px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    min-width: 280px;
    z-index: 100;
    pointer-events: none;
    display: block;
}

.nav-item.has-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.services-dropdown {
    min-width: 500px;
    left: 0;
    transform: translateX(0);
}

.social-dropdown,
.courses-dropdown {
    min-width: 280px;
}

.dropdown-content {
    display: flex;
    gap: 24px;
    padding: 24px;
}

.dropdown-section {
    flex: 1;
}

.dropdown-section.highlight {
    background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f5 100%);
    border-radius: 4px;
    padding: 24px;
    border: 1px solid #e9ecef;
}

.dropdown-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #5b9bd5;
    margin: 0 0 14px 0;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

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

.dropdown-list li {
    margin-bottom: 2px;
}

/* Services Dropdown - Keep icon colors on hover */
.services-dropdown .dropdown-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-primary, #5b9bd5);
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.2s ease;
}

.services-dropdown .dropdown-list a i {
    font-size: 1.2rem;
    color: var(--site-accent, #5b9bd5);
    transition: all 0.2s ease;
}

/* Keep icon color on hover - don't let it disappear */
.services-dropdown .dropdown-list a:hover {
    background: var(--site-accent-subtle, rgba(91, 155, 213, 0.1));
    color: var(--site-accent, #5b9bd5);
}

.services-dropdown .dropdown-list a:hover i {
    color: var(--site-accent, #5b9bd5) !important;
    transform: scale(1.1);
}

.dropdown-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    color: #5b9bd5;
    text-decoration: none;
    font-size: 14px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.dropdown-list a:hover {
    background: #f8f9fa;
    color: var(--site-accent-bright, #0066cc);
    transform: translateX(4px);
}

.dropdown-list a i {
    font-size: 16px;
    color: #6c757d;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

.dropdown-list a:hover i {
    color: var(--site-accent-bright, #0066cc);
}

/* Feature Card in Services Dropdown */
.feature-card {
    text-align: center;
}

.feature-card i {
    font-size: 32px;
    color: #6c757d;
    margin-bottom: 12px;
    display: block;
}

.feature-card h5 {
    font-size: 15px;
    font-weight: 600;
    color: #343a40;
    margin: 0 0 8px 0;
}

.feature-card p {
    font-size: 13px;
    color: #6c757d;
    margin: 0 0 14px 0;
    line-height: 1.5;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #343a40;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    padding: 8px 18px;
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.feature-link:hover {
    background: #f8f9fa;
    border-color: #adb5bd;
    color: #343a40;
}

/* Services Simple List */
.services-simple-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.services-simple-list li {
    margin-bottom: 6px;
}

.services-simple-list li:last-child {
    margin-bottom: 0;
}

/* Services simple list specific */
.services-simple-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-primary, #5b9bd5);
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.2s ease;
}

.services-simple-list a i {
    font-size: 1.2rem;
    color: var(--site-accent, #5b9bd5);
    width: 24px;
    text-align: center;
}

.services-simple-list a:hover {
    background: var(--site-accent-subtle, rgba(91, 155, 213, 0.1));
}

.services-simple-list a:hover i {
    color: var(--site-accent, #5b9bd5) !important;
}

/* ========================================
   Header Actions (Buttons)
   ======================================== */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.btn-header {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.btn-secondary {
    background: #f8f9fa;
    color: #5b9bd5;
    border: 1px solid #e9ecef;
}

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

.btn-primary {
    background: var(--site-accent-bright, #0066cc);
    color: #ffffff;
    box-shadow: 0 4px 12px var(--site-accent-glow, rgba(91, 155, 213, 0.3));
}

.btn-primary:hover {
    background: var(--site-accent-dark, #5b9bd5);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px var(--site-accent-glow, rgba(91, 155, 213, 0.3));
    color: #ffffff;
}

/* ========================================
   Auth Buttons
   ======================================== */
.auth-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-auth {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 3px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-login {
    color: #5b9bd5;
    background: transparent;
    border: 1px solid #e9ecef;
}

.btn-login:hover {
    background: #f8f9fa;
    border-color: var(--site-accent-bright, #0066cc);
    color: var(--site-accent-bright, #0066cc);
}

.btn-register-wrapper {
    position: relative;
}

.btn-register {
    color: white;
    background: linear-gradient(135deg, var(--site-accent-dark, #5b9bd5), var(--site-accent, #5b9bd5));
    border: none;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--site-accent-glow, rgba(91, 155, 213, 0.3));
    color: white;
}

.promo-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
    transform: rotate(5deg);
    box-shadow: 0 2px 10px rgba(239, 68, 68, 0.4);
    animation: badge-pulse 2s infinite;
}

@keyframes badge-pulse {
    0%, 100% { transform: rotate(5deg) scale(1); }
    50% { transform: rotate(5deg) scale(1.05); }
}

/* ========================================
   User Dropdown
   ======================================== */
.user-dropdown {
    position: relative;
}

.user-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
    border-radius: 4px;
    color: #5b9bd5;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-dropdown-toggle:hover {
    background: rgba(0, 0, 0, 0.08);
    border-color: var(--site-accent-bright, #0066cc);
}

.user-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--site-accent-dark, #5b9bd5), var(--site-accent, #5b9bd5));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    flex-shrink: 0;
}

.user-name {
    font-size: 0.85rem;
    font-weight: 500;
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 260px;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 3px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
}

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

.user-dropdown-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #f8f9fa;
}

.user-avatar-lg {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--site-accent-dark, #5b9bd5), var(--site-accent, #5b9bd5));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    flex-shrink: 0;
}

.user-info {
    flex: 1;
    overflow: hidden;
}

.user-fullname {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #5b9bd5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-email {
    display: block;
    font-size: 0.75rem;
    color: #6c757d;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-dropdown-divider {
    height: 1px;
    background: #e9ecef;
    margin: 6px 0;
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: #5b9bd5;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    background: transparent;
    border: none;
    width: 100%;
    cursor: pointer;
    text-align: left;
}

.user-dropdown-item:hover {
    background: var(--site-accent-hover-bg, #f0f7ff);
    color: var(--site-accent-bright, #0066cc);
}

.user-dropdown-item i {
    font-size: 1rem;
    width: 18px;
    text-align: center;
}

.user-dropdown-item.admin-link {
    color: var(--site-accent-bright, #0066cc);
}

.user-dropdown-item.admin-link:hover {
    background: var(--site-accent-hover-bg, #f0f7ff);
}

.logout-btn {
    color: #ef4444;
}

.logout-btn:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* ========================================
   Mobile Menu Toggle
   ======================================== */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #5b9bd5;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   Mobile Menu
   ======================================== */
.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: #ffffff;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 999;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-nav {
    padding: 16px;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
    flex: 1;
}

.mobile-nav-menu > li {
    margin-bottom: 4px;
}

.mobile-nav-menu > li > a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    color: #5b9bd5;
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 0.95rem;
}

.mobile-nav-menu > li > a:hover,
.mobile-nav-menu > li > a.active {
    background: var(--site-accent-hover-bg, #f0f7ff);
    color: var(--site-accent-bright, #0066cc);
}

.mobile-nav-menu > li > a i {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

/* Mobile Dropdown */
.mobile-dropdown {
    margin-bottom: 4px;
}

.mobile-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 16px;
    background: transparent;
    border: none;
    color: #5b9bd5;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: left;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-dropdown-toggle:hover {
    background: var(--site-accent-hover-bg, #f0f7ff);
    color: var(--site-accent-bright, #0066cc);
}

.mobile-dropdown-toggle span {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-dropdown-toggle span i {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

.mobile-dropdown-toggle > i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.mobile-dropdown.active .mobile-dropdown-toggle {
    background: var(--site-accent-hover-bg, #f0f7ff);
    color: var(--site-accent-bright, #0066cc);
}

.mobile-dropdown.active .mobile-dropdown-toggle > i {
    transform: rotate(180deg);
}

.mobile-dropdown-menu {
    list-style: none;
    padding: 0;
    margin: 4px 0 0 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #f8f9fa;
    border-radius: 3px;
}

.mobile-dropdown.active .mobile-dropdown-menu {
    max-height: 600px;
    padding: 8px;
}

.mobile-dropdown-menu li {
    margin-bottom: 2px;
}

.mobile-dropdown-menu li:last-child {
    margin-bottom: 0;
}

.mobile-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    color: #5b9bd5;
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: 3px;
    transition: all 0.2s ease;
}

.mobile-dropdown-menu a:hover {
    background: #ffffff;
    color: var(--site-accent-bright, #0066cc);
}

.mobile-dropdown-menu a i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
    color: #6c757d;
}

.mobile-dropdown-menu a:hover i {
    color: var(--site-accent-bright, #0066cc);
}

/* Mobile Auth Section */
.mobile-auth-section {
    padding: 16px 0;
    border-top: 1px solid #e9ecef;
    margin-top: auto;
}

.mobile-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 3px;
    margin-bottom: 12px;
}

.mobile-user-info .user-avatar {
    width: 44px;
    height: 44px;
    font-size: 0.9rem;
}

.mobile-user-info .user-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #5b9bd5;
    max-width: none;
}

.mobile-user-info .user-email {
    font-size: 0.8rem;
    color: #6c757d;
}

.mobile-auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 3px;
    text-decoration: none;
    background: #f8f9fa;
    color: #5b9bd5;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    width: 100%;
    margin-bottom: 8px;
}

.mobile-auth-btn:last-child {
    margin-bottom: 0;
}

.mobile-auth-btn:hover {
    background: #e9ecef;
}

.mobile-auth-btn.primary {
    background: linear-gradient(135deg, var(--site-accent-dark, #5b9bd5), var(--site-accent, #5b9bd5));
    border: none;
    color: white;
}

.mobile-auth-btn.primary:hover {
    box-shadow: 0 4px 15px var(--site-accent-glow, rgba(91, 155, 213, 0.3));
}

.mobile-auth-btn.admin {
    background: var(--site-accent-subtle, rgba(91, 155, 213, 0.1));
    border-color: var(--site-accent-bright, #0066cc);
    color: var(--site-accent-bright, #0066cc);
}

.mobile-auth-btn.logout {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.mobile-promo-tag {
    position: absolute;
    top: -8px;
    right: 10px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 3px;
    transform: rotate(3deg);
}

/* Mobile Book Event Button */
.mobile-book-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    margin-top: 12px;
    background: linear-gradient(135deg, var(--site-accent-dark, #5b9bd5), var(--site-accent, #5b9bd5));
    color: white;
    text-decoration: none;
    border-radius: 3px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.mobile-book-btn:hover {
    box-shadow: 0 5px 15px var(--site-accent-glow, rgba(91, 155, 213, 0.3));
    color: white;
}

/* ========================================
   Nested Submenu (Desktop - Odoo Services)
   ======================================== */
.services-simple-list li.has-submenu {
    position: relative;
}

.services-simple-list li.has-submenu > a {
    justify-content: space-between;
}

.services-simple-list li.has-submenu .submenu-arrow {
    font-size: 0.75rem;
    color: #6c757d;
    transition: transform 0.2s ease;
}

.services-simple-list li.has-submenu:hover .submenu-arrow {
    transform: translateX(3px);
    color: var(--site-accent-bright, #0066cc);
}

.submenu {
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 200px;
    background: #ffffff;
    border-radius: 3px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.2s ease;
    padding: 8px;
    margin-left: 8px;
    list-style: none;
    z-index: 1001;
}

.services-simple-list li.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.submenu li {
    margin-bottom: 2px;
}

.submenu li:last-child {
    margin-bottom: 0;
}

.submenu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: #5b9bd5;
    text-decoration: none;
    font-size: 13px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.submenu a:hover {
    background: var(--site-accent-subtle, rgba(91, 155, 213, 0.1));
    color: var(--site-accent-bright, #0066cc);
}

.submenu a i {
    font-size: 14px;
    width: 18px;
    text-align: center;
    color: #6c757d;
}

.submenu a:hover i {
    color: var(--site-accent-bright, #0066cc);
}

/* Odoo Submenu - Special styling */
.odoo-submenu {
    border-top: 3px solid #714B67;
}

.odoo-submenu a:hover {
    background: rgba(113, 75, 103, 0.1);
    color: #714B67;
}

.odoo-submenu a:hover i {
    color: #714B67;
}

/* ========================================
   Mobile Nested Dropdown
   ======================================== */
.mobile-nested-dropdown {
    margin: 4px 0;
}

.mobile-nested-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 14px;
    background: rgba(113, 75, 103, 0.05);
    border: none;
    color: #5b9bd5;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: left;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-left: 3px solid #714B67;
}

.mobile-nested-toggle:hover {
    background: rgba(113, 75, 103, 0.1);
}

.mobile-nested-toggle span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-nested-toggle span i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
    color: #714B67;
}

.mobile-nested-toggle > i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
    color: #714B67;
}

.mobile-nested-dropdown.active .mobile-nested-toggle {
    background: rgba(113, 75, 103, 0.15);
}

.mobile-nested-dropdown.active .mobile-nested-toggle > i {
    transform: rotate(180deg);
}

.mobile-nested-menu {
    list-style: none;
    padding: 0;
    margin: 4px 0 0 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(113, 75, 103, 0.05);
    border-radius: 3px;
    margin-left: 12px;
}

.mobile-nested-dropdown.active .mobile-nested-menu {
    max-height: 400px;
    padding: 6px;
}

.mobile-nested-menu li {
    margin-bottom: 2px;
}

.mobile-nested-menu li:last-child {
    margin-bottom: 0;
}

.mobile-nested-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    color: #5b9bd5;
    text-decoration: none;
    font-size: 0.85rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.mobile-nested-menu a:hover {
    background: rgba(113, 75, 103, 0.1);
    color: #714B67;
}

.mobile-nested-menu a i {
    font-size: 0.9rem;
    width: 18px;
    text-align: center;
    color: #714B67;
}

/* ========================================
   Responsive Breakpoints
   ======================================== */

/* Large Desktop - Full navigation */
@media (min-width: 1200px) {
    .header-nav {
        margin: 0 2rem;
    }
    
    .nav-link {
        padding: 10px 16px;
        font-size: 15px;
    }
}

/* Desktop - Compact navigation */
@media (max-width: 1199px) and (min-width: 992px) {
    .container-fluid {
        padding: 0 1.5rem;
    }
    
    .header-nav {
        margin: 0 1rem;
    }
    
    .nav-link {
        padding: 8px 10px;
        font-size: 13px;
        gap: 4px;
    }
    
    .nav-link i {
        font-size: 14px;
    }
    
    .btn-header {
        padding: 8px 14px;
        font-size: 12px;
    }
    
    .btn-auth {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .user-name {
        display: none;
    }
    
    .user-dropdown-toggle {
        padding: 6px 10px;
    }
}

/* Tablet & Mobile - Hide desktop nav, show mobile toggle */
@media (max-width: 991px) {
    .header-nav {
        display: none;
    }
    
    .auth-buttons {
        display: none;
    }
    
    .user-dropdown {
        display: none;
    }
    
    .btn-header.btn-primary {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .container-fluid {
        padding: 0 1rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .logo-img {
        height: 30px;
    }
    
    .mobile-nav {
        padding: 12px;
    }
    
    .mobile-nav-menu > li > a,
    .mobile-dropdown-toggle {
        padding: 12px 14px;
        font-size: 0.9rem;
    }
    
    .mobile-dropdown-menu a {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
}

/* ========================================
   Announcement Banner Adjustments
   ======================================== */
body.has-announcement .main-header {
    top: 42px;
}

body.has-announcement .mobile-menu {
    top: 112px;
    height: calc(100vh - 112px);
}

/* ========================================
   Touch Device Optimizations
   ======================================== */
@media (hover: none) and (pointer: coarse) {
    .nav-link:hover {
        background: transparent;
        color: #5b9bd5;
    }
    
    .nav-link.active,
    .nav-item.active .nav-link {
        background: var(--site-accent-hover-bg, #f0f7ff);
        color: var(--site-accent-bright, #0066cc);
    }
    
    .dropdown-list a:hover {
        transform: none;
    }
}

/* ========================================
   Body States
   ======================================== */
body.mobile-menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* Ensure proper stacking */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}

/* ========================================
   Print Styles
   ======================================== */
@media print {
    .main-header,
    .mobile-menu {
        display: none;
    }
}
