/* ============================================
   MAIN.CSS - Alap stílusok, változók, layout
   ============================================ */

/* ============================================
   1. CSS VÁLTOZÓK
   ============================================ */
:root {
    /* Színek */
    --primary-dark: #0f172a;        /* Slate 900 */
    --secondary-dark: #1e293b;      /* Slate 800 */
    --accent-gold: #fbbf24;         /* Amber 400 */
    --accent-gold-hover: #f59e0b;   /* Amber 500 */
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
    --text-dark: #334155;
    --bg-light: #f1f5f9;
    
    /* Méretek */
    --header-height: 110px;
    --container-max: 1280px;
    --border-radius: 8px;
    
    /* Effektek */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --glass-border: rgba(255, 255, 255, 0.1);
    
    /* Animációk */
    --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Reszponzív breakpoint-ok */
    --breakpoint-mobile-small: 480px;
    --breakpoint-mobile: 640px;
    --breakpoint-tablet: 968px;
    --breakpoint-desktop-small: 1200px;
}

/* ============================================
   2. RESET & BASE STYLES
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--primary-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-dark);
    border: 2px solid var(--primary-dark);
    border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}

/* ============================================
   3. TYPOGRAPHY
   ============================================ */
h1, h2, h3, .serif-font {
    font-family: 'Playfair Display', serif;
}

a, button {
    transition: all 0.2s var(--ease-out);
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ============================================
   4. UTILITY CLASSES
   ============================================ */
.hidden {
    display: none !important;
}

body.menu-open,
body.modal-open {
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Reszponzív container padding */
@media (max-width: 640px) {
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ============================================
   5. HEADER
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--primary-dark);
    box-shadow: var(--shadow-md);
    transition: padding 0.3s ease;
}

.header-main {
    height: var(--header-height);
    border-bottom: 1px solid var(--glass-border);
}

.header-container {
    height: 100%;
}

.header-actions {
    gap: 1rem;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--accent-gold);
    color: var(--primary-dark);
    border-radius: 50%;
    font-size: 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* Desktop Navigation */
.desktop-nav {
    display: none;
}

@media (min-width: 968px) {
    .desktop-nav {
        display: flex;
        gap: 0.5rem;
    }
}

.nav-link {
    padding: 0.5rem 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
}

.nav-link i {
    color: var(--accent-gold);
    transition: transform 0.2s;
}

.nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.nav-link:hover i.ri-arrow-down-s-line {
    transform: rotate(180deg);
}

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

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 240px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s var(--ease-out);
    z-index: 1001;
    overflow: hidden;
}

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

.dropdown-link {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--text-dark);
    font-size: 0.9rem;
    border-left: 3px solid transparent;
}

.dropdown-link:hover {
    background: #fffbeb;
    color: #b45309;
    border-left-color: var(--accent-gold);
    padding-left: 1.5rem;
}

/* Profile Section */
.profile-wrapper {
    position: relative;
    display: none;
}

@media (min-width: 968px) {
    .profile-wrapper {
        display: block;
    }
    
    .mobile-toggle {
        display: none;
    }
    
    .lang-switch.hidden-mobile {
        display: flex !important;
    }
}

.btn-profile-icon {
    width: 40px;
    height: 40px;
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    background: transparent;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1.2rem;
}

.btn-profile-icon:hover,
.btn-profile-icon.active {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.05);
}

.profile-dropdown {
    position: absolute;
    top: 120%;
    right: 0;
    width: 260px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s var(--ease-out);
    z-index: 1002;
    text-align: center;
}

.profile-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.profile-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 14px;
    width: 12px;
    height: 12px;
    background: white;
    transform: rotate(45deg);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-left: 1px solid rgba(0, 0, 0, 0.05);
}

.profile-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.profile-desc {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 1.25rem;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.profile-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.profile-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.profile-icon-gold {
    color: var(--accent-gold);
}

.profile-admin-btn {
    width: 100%;
    text-align: center;
    margin-bottom: 5px;
}

.profile-logout-btn {
    background: #ef4444;
    border-color: #ef4444;
}

.btn-login-outline {
    display: block;
    width: 100%;
    padding: 0.6rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.btn-login-outline:hover {
    border-color: var(--primary-dark);
    background: #f8fafc;
}

.btn-register-fill {
    display: block;
    width: 100%;
    padding: 0.6rem;
    background: var(--accent-gold);
    border: 1px solid var(--accent-gold);
    border-radius: 6px;
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.btn-register-fill:hover {
    background: var(--accent-gold-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Language Switcher */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: 0.5rem;
    padding-left: 0.5rem;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-switch-hidden {
    display: none;
}

.lang-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 2px 4px;
    transition: color 0.2s;
}

.lang-btn:hover {
    color: white;
}

.lang-btn.active {
    color: var(--accent-gold);
}

.lang-divider {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.85rem;
}

/* Mobile Toggle */
.mobile-toggle {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.75rem;
    cursor: pointer;
    padding: 0.25rem;
    display: none;
    z-index: 1001;
    position: relative;
}

@media (max-width: 967px) {
    .mobile-toggle {
        display: block;
    }
}

/* ============================================
   6. SEARCH BAR
   ============================================ */
.search-wrapper {
    background: var(--secondary-dark);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.75rem 0;
    position: relative;
}

.search-input-group {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 99px;
    padding: 0.6rem 1rem 0.6rem 3rem;
    color: white;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.2s;
}

.search-input:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.15);
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
}

/* Search Autocomplete */
.search-autocomplete {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    margin-top: 0.5rem;
}

.search-autocomplete.hidden {
    display: none;
}

.search-autocomplete:not(.hidden) {
    display: block;
}

.search-autocomplete-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    text-decoration: none;
    color: var(--primary-dark);
    border-bottom: 1px solid #e2e8f0;
    transition: background 0.2s ease;
}

.search-autocomplete-item:last-child {
    border-bottom: none;
}

.search-autocomplete-item:hover {
    background: #f8f9fa;
}

.search-autocomplete-item i {
    font-size: 1.25rem;
    color: var(--accent-gold);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.search-autocomplete-content {
    flex: 1;
    min-width: 0;
}

.search-autocomplete-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    color: var(--primary-dark);
}

.search-autocomplete-title mark {
    background: var(--accent-gold);
    color: var(--primary-dark);
    padding: 0 2px;
    border-radius: 2px;
    font-weight: 700;
}

.search-autocomplete-description {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.4;
}

.search-autocomplete-description mark {
    background: rgba(251, 191, 36, 0.3);
    color: var(--primary-dark);
    padding: 0 2px;
    border-radius: 2px;
    font-weight: 600;
}

.search-autocomplete-empty {
    padding: 1.5rem;
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
}

.search-autocomplete::-webkit-scrollbar {
    width: 6px;
}

.search-autocomplete::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 12px;
}

.search-autocomplete::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 12px;
}

.search-autocomplete::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* ============================================
   7. MOBILE MENU
   ============================================ */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(4px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease-out);
}

.mobile-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 85%;
    max-width: 320px;
    background: white;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    transform: translateX(100%);
    transition: transform 0.3s var(--ease-out);
    display: flex;
    flex-direction: column;
}

.mobile-overlay.open .mobile-drawer {
    transform: translateX(0);
}

.mobile-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-title {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-dark);
}

.mobile-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #64748b;
    cursor: pointer;
}

.mobile-close:hover {
    color: #ef4444;
}

.mobile-content {
    overflow-y: auto;
    flex: 1;
    padding-bottom: 2rem;
}

.mobile-nav-section {
    padding: 1.5rem;
}

.mobile-nav-link {
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

.mobile-nav-button {
    width: 100%;
    background-color: var(--primary-dark);
}

.mobile-nav-button-logout {
    background-color: #ef4444;
    border-color: #ef4444;
    color: white;
}

/* Accordion */
.accordion-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    border-bottom: 1px solid #f1f5f9;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    text-align: left;
}

.accordion-btn i.icon-left {
    margin-right: 0.75rem;
    color: #b45309;
    width: 20px;
    text-align: center;
}

.accordion-btn i.arrow {
    transition: transform 0.3s;
    color: #94a3b8;
}

.accordion-btn[aria-expanded="true"] {
    background: #f8fafc;
    color: #b45309;
}

.accordion-btn[aria-expanded="true"] i.arrow {
    transform: rotate(180deg);
    color: var(--accent-gold);
}

.accordion-btn-active {
    border-left: 4px solid var(--accent-gold);
    background: #fffbeb;
}

.accordion-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s var(--ease-out);
    background: #f8fafc;
}

.accordion-content[aria-hidden="false"] {
    grid-template-rows: 1fr;
}

.accordion-inner {
    overflow: hidden;
}

.mobile-sub-link {
    display: block;
    padding: 0.75rem 1rem 0.75rem 3.5rem;
    color: #64748b;
    font-size: 0.95rem;
    border-left: 2px solid #e2e8f0;
    margin-left: 1.5rem;
}

.mobile-sub-link:hover {
    border-color: var(--accent-gold);
    color: #b45309;
    background: white;
}

.mobile-lang-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
    margin-top: 1rem;
}

.mobile-lang-btn {
    font-weight: 700;
    color: #64748b;
    padding: 0.5rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: none;
    cursor: pointer;
}

.mobile-lang-btn.active {
    background-color: var(--primary-dark);
    color: var(--accent-gold);
    border-color: var(--primary-dark);
}

/* ============================================
   8. HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--header-height);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg,
        rgba(15, 23, 42, 0.98) 0%,
        rgba(30, 41, 59, 0.85) 55%,
        rgba(251, 191, 36, 0.25) 100%);
}

.hero-container {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 1rem;
    animation: fadeIn 1s var(--ease-out);
}

.hero-title {
    font-size: clamp(2rem, 5vw, 4.5rem);
    line-height: 1.1;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-text {
    font-size: clamp(0.9rem, 2vw, 1.25rem);
    color: #cbd5e1;
    margin-bottom: 2.5rem;
    font-weight: 300;
    padding: 0 1rem;
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .hero-text {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
}

.highlight {
    color: var(--accent-gold);
    font-weight: 600;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

/* ============================================
   9. FOOTER
   ============================================ */
/* ============================================
   9. EGYSZERI TÁMOGATÓK SZEKCIÓ
   ============================================ */
.one-time-sponsors-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 4rem 20px;
    border-top: 2px solid var(--accent-gold);
    border-bottom: 1px solid #e2e8f0;
}

.one-time-sponsors-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.one-time-sponsors-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-dark);
    line-height: 1.6;
    font-family: 'Playfair Display', serif;
}

.one-time-sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.one-time-sponsor-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.one-time-sponsor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold), #f59e0b);
}

.one-time-sponsor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-gold);
}

.one-time-sponsor-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--accent-gold), #f59e0b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

.one-time-sponsor-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.one-time-sponsor-badge {
    display: inline-block;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    color: #92400e;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid var(--accent-gold);
}

.one-time-sponsor-message {
    color: #64748b;
    font-size: 0.95rem;
    font-style: italic;
    margin-top: 1rem;
    line-height: 1.6;
}

@media (max-width: 640px) {
    .one-time-sponsors-section {
        padding: 3rem 20px;
    }
    
    .one-time-sponsors-title {
        font-size: 1.1rem;
    }
    
    .one-time-sponsors-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .one-time-sponsor-card {
        padding: 1.5rem;
    }
}

.site-footer {
    background-color: var(--primary-dark);
    color: var(--text-muted);
    padding-top: 5rem;
    margin-top: auto;
    border-top: 1px solid var(--secondary-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    padding-bottom: 4rem;
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-bottom: 3rem;
    }
    
    .site-footer {
        padding-top: 3rem;
    }
}

.footer-title {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary-dark);
    display: inline-block;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--accent-gold);
}

.footer-link i {
    color: var(--accent-gold);
    font-size: 1.1rem;
}

.footer-link-gold {
    color: var(--accent-gold);
    font-weight: 600;
}

.footer-link-no-margin {
    margin: 0;
}

.footer-contact-group {
    margin-bottom: 1rem;
}

.footer-contact-label {
    color: white;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.social-grid {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.social-item {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--secondary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.2s;
}

.social-item:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

/* FOOTER JOGI DOKUMENTUMOK - Kártya Design */
.footer-docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.footer-doc-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(212, 175, 55, 0.02) 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.footer-doc-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.5s ease;
}

.footer-doc-card:hover::before {
    left: 100%;
}

.footer-doc-card:hover {
    border-color: rgba(212, 175, 55, 0.5);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.05) 100%);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.15);
}

.footer-doc-icon {
    width: 1.8rem;
    height: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.15);
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: var(--accent-gold);
    transition: all 0.3s ease;
}

.footer-doc-card:hover .footer-doc-icon {
    background: rgba(212, 175, 55, 0.25);
    transform: scale(1.1);
}

.footer-doc-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    position: relative;
    z-index: 1;
}

.footer-doc-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: white;
    line-height: 1.3;
    word-break: break-word;
    transition: color 0.3s ease;
}

.footer-doc-card:hover .footer-doc-label {
    color: var(--accent-gold);
}

.footer-doc-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    background: rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    color: var(--accent-gold);
    font-size: 0.75rem;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.footer-doc-card:hover .footer-doc-action {
    opacity: 1;
    transform: scale(1);
}

@media (max-width: 768px) {
    .footer-docs-grid {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
        gap: 0.75rem;
    }
    
    .footer-doc-card {
        padding: 0.75rem;
    }
    
    .footer-doc-icon {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.25rem;
    }
    
    .footer-doc-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .footer-docs-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
}

.docs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 500px) {
    .docs-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.doc-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.doc-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(251, 191, 36, 0.3);
    transform: translateY(-2px);
}

.doc-icon {
    font-size: 1.25rem;
    color: #64748b;
    min-width: 24px;
}

.doc-item:hover .doc-icon {
    color: var(--accent-gold);
}

.doc-text h5 {
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.2;
}

.doc-text span {
    font-size: 0.7rem;
    color: #64748b;
    display: block;
}

.copyright {
    text-align: center;
    padding: 1.5rem;
    border-top: 1px solid var(--secondary-dark);
    font-size: 0.875rem;
    background: rgba(0, 0, 0, 0.2);
}

.footer-copyright-brand {
    color: var(--accent-gold);
    font-weight: 700;
}

/* ============================================
   10. ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   11. RESPONSIVE HEADER
   ============================================ */
@media (max-width: 968px) {
    .header-main {
        height: 95px;
    }
    
    .logo {
        font-size: 1.25rem;
    }
    
    .logo-icon {
        width: 2.25rem;
        height: 2.25rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 640px) {
    .header-main {
        height: 85px;
    }
    
    .logo {
        font-size: 1.1rem;
        gap: 0.5rem;
    }
    
    .logo-icon {
        width: 2rem;
        height: 2rem;
        font-size: 1rem;
    }
    
    .search-wrapper {
        padding: 0.5rem 0;
    }
    
    .search-input {
        padding: 0.5rem 0.75rem 0.5rem 2.5rem;
        font-size: 0.875rem;
    }
    
    .search-icon {
        left: 0.75rem;
    }
}

@media (max-width: 480px) {
    .header-main {
        height: 80px;
    }
    
    .logo {
        font-size: 1rem;
        gap: 0.5rem;
    }
    
    .logo span {
        font-size: 0.95rem;
    }
    
    .logo-icon {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.9rem;
    }
    
    .mobile-toggle {
        font-size: 1.5rem;
    }
}

/* ============================================
   12. RESPONSIVE MOBILE MENU
   ============================================ */
@media (max-width: 640px) {
    .mobile-drawer {
        width: 90%;
        max-width: 100%;
    }
    
    .mobile-nav-section {
        padding: 1rem;
    }
    
    .accordion-btn {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }
    
    .mobile-sub-link {
        padding: 0.625rem 0.75rem 0.625rem 3rem;
        font-size: 0.875rem;
    }
}

/* ============================================
   13. RESPONSIVE PROFILE DROPDOWN
   ============================================ */
@media (max-width: 968px) {
    .profile-dropdown {
        width: 240px;
        padding: 1.25rem;
    }
}

@media (max-width: 640px) {
    .profile-dropdown {
        width: 220px;
        right: -10px;
    }
}
