/* ==========================================================================
   STYLE.CSS
   Md Adnan - Premium Personal Brand Website
   Colors: Deep Black, Emerald Green, and Gold
   Typography: Cinzel (Serif Luxury) & Outfit (Sans-Serif Modern)
   ========================================================================== */

/* 1. CSS VARIABLES & SYSTEM DESIGN */
:root {
    /* Color Palette - Default Dark Theme (Emerald Gold Legacy) */
    --bg-primary: #0A0A0A;
    --bg-secondary: #121212;
    --bg-card: rgba(17, 24, 39, 0.7); /* Dark Slate #111827 with transparency for glassmorphism */
    --bg-card-hover: rgba(17, 24, 39, 0.95);
    
    --color-text-primary: #FFFFFF;
    --color-text-muted: #A1A1AA;
    --color-text-dark: #71717A;
    
    /* Emerald Green Accents */
    --emerald-primary: #0F766E;
    --emerald-light: #14b8a6;
    --emerald-dark: #0f766e;
    --emerald-glow: rgba(15, 118, 110, 0.25);
    --emerald-glow-heavy: rgba(15, 118, 110, 0.6);
    
    /* Gold Accents */
    --gold-primary: #D4AF37;
    --gold-light: #F3E5AB;
    --gold-dark: #AA7C11;
    --gold-bright: #FFD700;
    --gold-text: #F3E5AB;
    --gold-glow: rgba(212, 175, 55, 0.2);
    
    /* Section Gradients */
    --bg-gradient-main: linear-gradient(180deg, #0A0A0A 0%, #0F766E 50%, #0A0A0A 100%);
    --bg-gradient-header: rgba(10, 10, 10, 0.75);
    
    /* Font Families */
    --font-heading: 'Playfair Display', serif;
    --font-heading-decor: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --font-arabic: 'Amiri', serif;
    --font-urdu: 'Noto Nastaliq Urdu', serif;
    
    /* Transitions & Borders */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --border-gold: 1px solid rgba(212, 175, 55, 0.25);
    --border-gold-hover: 1px solid rgba(212, 175, 55, 0.5);
    --border-green: 1px solid rgba(15, 118, 110, 0.2);
    --radius-premium: 12px;
}

[data-theme="light"] {
    /* Color Palette - Light Theme */
    --bg-primary: #FAFAFA;
    --bg-secondary: #FAFAFA;
    --bg-card: rgba(255, 255, 255, 0.85); /* Pure White with glassmorphism */
    --bg-card-hover: rgba(255, 255, 255, 0.98);
    
    --color-text-primary: #111111;
    --color-text-muted: #525252;
    --color-text-dark: #71717A;
    
    /* Emerald Green Accents */
    --emerald-primary: #0F766E;
    --emerald-light: #0d9488;
    --emerald-dark: #115e59;
    --emerald-glow: rgba(15, 118, 110, 0.15);
    --emerald-glow-heavy: rgba(15, 118, 110, 0.4);
    
    /* Gold Accents */
    --gold-primary: #D4AF37;
    --gold-light: #AA7C11;
    --gold-dark: #8A6208;
    --gold-bright: #D4AF37;
    --gold-text: #8A6208;
    --gold-glow: rgba(212, 175, 55, 0.1);
    
    /* Section Gradients - light mode adapts */
    --bg-gradient-main: linear-gradient(180deg, #FAFAFA 0%, rgba(15, 118, 110, 0.08) 50%, #FAFAFA 100%);
    --bg-gradient-header: rgba(250, 250, 250, 0.85);
    
    /* Transitions & Borders */
    --border-gold: 1px solid rgba(15, 118, 110, 0.20);
    --border-gold-hover: 1px solid rgba(15, 118, 110, 0.45);
    --border-green: 1px solid rgba(15, 118, 110, 0.15);
}

/* 2. BASE RESET & INITIALIZATION */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--color-text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

/* Global transitions for theme elements */
header, section, footer, .contact-card, .timeline-card, .vision-card, .accordion-header, .accordion-content, .modal-card, input, textarea, select, .story-btn, .theme-toggle-btn, .secret-search-header input {
    transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Arabic and Urdu Typography mapping */
.arabic-quote, .arabic-overlay-text, .footer-arabic, .tribute-quote {
    font-family: var(--font-urdu), var(--font-arabic), serif !important;
}

/* Light mode background orb opacity override */
[data-theme="light"] .orb {
    opacity: 0.15 !important;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

button, input, textarea {
    font-family: inherit;
    outline: none;
    border: none;
    background: none;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: rgba(217, 119, 6, 0.3);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-primary);
}

/* 3. PREMIUM LOADER */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg-primary);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
}

.loader-wrapper.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.arabic-monogram {
    font-family: var(--font-heading);
    font-size: 5rem;
    color: var(--gold-light);
    text-shadow: 0 0 20px var(--gold-glow);
    margin-bottom: 20px;
    animation: monogram-pulse 2s infinite ease-in-out;
}

.loader-bar {
    width: 180px;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
}

.loader-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--emerald-primary), var(--gold-light));
    animation: load-animation 2.2s infinite ease-in-out;
}

.loader-text {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 4px;
    color: var(--color-text-muted);
}

/* 4. BACKGROUND LAYERS & ORBS */
.bg-vignette {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 30%, rgba(0,0,0,0.8) 100%);
    pointer-events: none;
    z-index: 1;
}

.bg-glow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.15;
    mix-blend-mode: screen;
}

.orb-1 {
    top: -10%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: var(--emerald-primary);
    animation: float-slow 20s infinite alternate;
}

.orb-2 {
    bottom: -10%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: var(--gold-dark);
    animation: float-slow 25s infinite alternate-reverse;
}

.orb-3 {
    top: 40%;
    left: 30%;
    width: 40vw;
    height: 40vw;
    background: var(--emerald-dark);
    animation: float-slow 30s infinite alternate;
}

/* 5. NAVBAR HEADER & NAVIGATION */
.navbar-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: var(--transition-smooth);
}

.navbar-header.scrolled {
    background: rgba(5, 5, 5, 0.9);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    font-family: var(--font-heading-decor);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold-light);
    letter-spacing: 2px;
}

.logo-letters {
    position: relative;
    padding-right: 5px;
}

.logo-letters::after {
    content: '.';
    color: var(--emerald-light);
}

.nav-desktop {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--gold-primary), var(--emerald-primary));
    transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
    color: var(--color-text-primary);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-cta-btn {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    letter-spacing: 1px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 10px 20px;
    border: 1px solid var(--gold-primary);
    border-radius: 4px;
    color: var(--gold-light);
    overflow: hidden;
    position: relative;
    background: transparent;
}

.contact-cta-btn:hover {
    background: var(--gold-primary);
    color: #000;
    box-shadow: 0 0 15px var(--gold-glow);
}

.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 22px;
    height: 16px;
    cursor: pointer;
}

.mobile-nav-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--color-text-primary);
    transition: var(--transition-smooth);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 5, 5, 0.98);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

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

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-text-muted);
}

.mobile-link.active, .mobile-link:hover {
    color: var(--gold-light);
    text-shadow: 0 0 10px var(--gold-glow);
}

/* 6. GENERAL STRUCTURAL LAYOUT */
main {
    position: relative;
    z-index: 2;
    padding-top: 80px; /* Offset for sticky navbar */
}

.page-view {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-view.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.section-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 80px 24px;
}

.section-header-centered {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--emerald-light);
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-text-primary);
    letter-spacing: 1px;
}

.gold-divider {
    width: 60px;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    margin: 15px auto 0 auto;
}

.gold-divider-left {
    width: 60px;
    height: 1.5px;
    background: linear-gradient(90deg, var(--gold-primary), transparent);
    margin-top: 15px;
}

/* 7. HERO SECTION */
.hero-section {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

/* Hero Portrait Styling */
.portrait-container {
    position: relative;
    width: 100%;
    aspect-ratio: 0.82;
    max-width: 400px;
    margin: 0 auto;
}

.portrait-glow {
    position: absolute;
    top: 5%;
    left: 5%;
    width: 90%;
    height: 90%;
    background: radial-gradient(circle, var(--emerald-glow-heavy) 0%, transparent 70%);
    z-index: 1;
    filter: blur(10px);
    pointer-events: none;
    opacity: 0.7;
}

.portrait-border-gold {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid var(--gold-primary);
    border-radius: 8px;
    z-index: 3;
    pointer-events: none;
    box-shadow: 0 0 25px rgba(217, 119, 6, 0.1);
    transition: var(--transition-smooth);
}

.portrait-container:hover .portrait-border-gold {
    transform: scale(1.03);
    border-color: var(--gold-light);
    box-shadow: 0 0 35px var(--gold-glow);
}

.portrait-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    position: relative;
    z-index: 2;
    filter: grayscale(20%) contrast(105%) brightness(95%);
    transition: var(--transition-smooth);
}

.portrait-container:hover .portrait-image {
    filter: grayscale(0%) contrast(100%) brightness(100%);
}

.arabic-overlay-text {
    position: absolute;
    bottom: -15px;
    right: -15px;
    z-index: 4;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--gold-primary);
    border-radius: 4px;
    padding: 8px 16px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--gold-text);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    white-space: nowrap;
}

/* Hero Texts */
.brand-tag {
    font-size: 0.7rem;
    letter-spacing: 5px;
    color: var(--emerald-light);
    font-weight: 700;
    margin-bottom: 12px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--color-text-primary) 40%, var(--gold-light) 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    letter-spacing: 2px;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.hero-alias {
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 400;
    letter-spacing: 1.5px;
    color: var(--gold-light);
    margin-bottom: 25px;
    text-transform: uppercase;
    opacity: 0.85;
}

.hero-intro {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: 30px;
    max-width: 540px;
    font-weight: 300;
}

.tagline-quote-block {
    position: relative;
    border-left: 2px solid var(--emerald-primary);
    padding-left: 24px;
    margin-bottom: 40px;
    max-width: 500px;
}

.quote-symbol {
    position: absolute;
    top: -20px;
    left: 10px;
    font-size: 3rem;
    color: rgba(5, 150, 105, 0.15);
    font-family: var(--font-heading);
    line-height: 1;
}

.quote-text {
    font-style: italic;
    color: var(--color-text-primary);
    font-size: 1.05rem;
    margin-bottom: 10px;
    font-weight: 400;
}

.tagline-quote-block .arabic-quote {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--gold-light);
    margin: 8px 0 2px 0;
}

.arabic-translation {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-style: italic;
    display: block;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.btn-primary-luxury {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: var(--emerald-primary);
    border: var(--border-gold);
    border-radius: 4px;
    color: #ffffff !important;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--emerald-glow);
    transition: var(--transition-smooth);
}

.btn-primary-luxury:hover {
    transform: translateY(-2px);
    background: var(--gold-primary) !important;
    color: #000000 !important;
    box-shadow: 0 8px 25px var(--gold-glow);
    border-color: var(--gold-primary);
}

.btn-primary-luxury .btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: 0.5s;
}

.btn-primary-luxury:hover .btn-glow {
    left: 100%;
}

.btn-secondary-luxury {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--color-text-primary);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-secondary-luxury:hover {
    border-color: var(--gold-primary);
    color: var(--gold-light);
    background: rgba(217, 119, 6, 0.04);
    transform: translateY(-2px);
}

/* 8. ABOUT SECTION & GLASSMORPHISM CARDS */
.about-section {
    background-color: var(--bg-secondary);
    position: relative;
}

.about-grid {
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.about-text-panel {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: var(--border-gold);
    border-radius: var(--radius-premium);
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
    position: relative;
    z-index: 2;
}

.about-lead {
    font-size: 1.2rem;
    color: var(--color-text-primary);
    margin-bottom: 20px;
    font-weight: 400;
    line-height: 1.5;
}

.about-body {
    font-size: 0.98rem;
    color: var(--color-text-muted);
    margin-bottom: 30px;
    font-weight: 300;
}

.arabic-verse-container {
    border-top: 1px dashed rgba(217, 119, 6, 0.2);
    padding-top: 25px;
    text-align: center;
}

.arabic-verse {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--gold-light);
    text-shadow: 0 0 15px var(--gold-glow);
    margin-bottom: 5px;
}

.verse-translation {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-style: italic;
}

/* Life at a Glance Cards */
.glance-container {
    margin-top: 60px;
}

.glance-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--gold-light);
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 30px;
}

.glance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.glance-card {
    background: var(--bg-card);
    border: var(--border-gold);
    border-radius: var(--radius-premium);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.glance-card:hover {
    transform: translateY(-5px);
    border-color: var(--emerald-primary);
    box-shadow: 0 10px 25px var(--emerald-glow);
    background: var(--bg-card-hover);
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: rgba(5, 150, 105, 0.1);
    border: 1px solid rgba(5, 150, 105, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-light);
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.glance-card:hover .card-icon {
    background: var(--emerald-primary);
    color: #fff;
    box-shadow: 0 0 12px var(--emerald-primary);
}

.card-content h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    letter-spacing: 1.5px;
    color: var(--gold-light);
    text-transform: uppercase;
    margin-bottom: 6px;
    font-weight: 700;
    transition: var(--transition-smooth);
}

.glance-card:hover .card-content h4 {
    color: var(--gold-primary);
    text-shadow: 0 0 8px var(--gold-glow);
}

.card-content p {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--color-text-primary);
}

.card-glow {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--emerald-primary);
    filter: blur(35px);
    opacity: 0;
    transition: var(--transition-smooth);
    pointer-events: none;
}

.glance-card:hover .card-glow {
    opacity: 0.4;
}

/* 9. JOURNEY SECTION (INTERACTIVE TIMELINE) */
.journey-section {
    position: relative;
}

.timeline-interactive-wrapper {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

/* Timeline Navigation */
.timeline-years-nav {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 45px;
    padding: 10px 0;
}

.timeline-progress-bar {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-50%);
    z-index: 1;
}

.timeline-progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0; /* Updated via JS */
    background: linear-gradient(90deg, var(--gold-primary), var(--emerald-primary));
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.year-btn {
    position: relative;
    z-index: 2;
    background: var(--bg-primary);
    border: 1.5px solid rgba(255,255,255,0.12);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.year-btn:hover, .year-btn.active {
    color: var(--gold-bright);
    border-color: var(--gold-primary);
    box-shadow: 0 0 15px var(--gold-glow);
    transform: scale(1.1);
}

.year-btn.active {
    border-color: var(--emerald-light);
    box-shadow: 0 0 15px var(--emerald-glow);
    color: var(--color-text-primary);
}

/* Timeline Content Cards */
.timeline-cards-viewport {
    position: relative;
    min-height: 200px;
}

.timeline-card-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95) translateY(10px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s;
    pointer-events: none;
}

.timeline-card-wrapper.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
    pointer-events: all;
}

.timeline-card-luxury {
    background: var(--bg-card);
    border: var(--border-gold);
    border-radius: var(--radius-premium);
    padding: 35px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

.timeline-card-luxury::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--gold-primary), var(--emerald-primary));
}

.timeline-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.timeline-card-year {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold-light);
}

.timeline-card-heading {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

.timeline-card-text {
    font-size: 0.98rem;
    color: var(--color-text-muted);
    font-weight: 300;
}

.timeline-card-bg-icon {
    position: absolute;
    bottom: -20px;
    right: -10px;
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.02);
    pointer-events: none;
    z-index: 0;
}

.journey-action-centered {
    text-align: center;
    margin-top: 50px;
}

/* 10. VISION SECTION */
.vision-section {
    background-color: var(--bg-secondary);
}

.vision-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.vision-card {
    background: var(--bg-card);
    border-radius: var(--radius-premium);
    padding: 35px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.vision-card-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-premium);
    pointer-events: none;
    z-index: 2;
    transition: var(--transition-smooth);
}

.vision-card:hover {
    transform: translateY(-5px);
}

.vision-card:hover .vision-card-border {
    border-color: rgba(217, 119, 6, 0.25);
    box-shadow: inset 0 0 15px rgba(217, 119, 6, 0.05);
}

.vision-card-bg-glow {
    position: absolute;
    top: -20%;
    right: -20%;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: var(--gold-dark);
    filter: blur(80px);
    opacity: 0;
    transition: var(--transition-smooth);
    pointer-events: none;
}

.vision-card:hover .vision-card-bg-glow {
    opacity: 0.15;
}

.vision-card-icon {
    font-size: 1.8rem;
    color: var(--gold-light);
    margin-bottom: 20px;
}

.vision-card-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-text-primary);
}

.vision-card-desc {
    font-size: 0.92rem;
    color: var(--color-text-muted);
    font-weight: 300;
}

/* Mission Box */
.mission-statement-box {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.08) 0%, rgba(217, 119, 6, 0.03) 100%);
    border: 1px dashed rgba(217, 119, 6, 0.2);
    border-radius: var(--radius-premium);
    padding: 40px;
    text-align: center;
    max-width: 800px;
    margin: 40px auto;
}

.mission-label {
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 4px;
    color: var(--gold-light);
    font-weight: 700;
    margin-bottom: 15px;
}

.mission-text {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    line-height: 1.5;
    color: var(--color-text-primary);
    font-style: italic;
}

.vision-actions {
    text-align: center;
}

/* 11. SPECIAL ACTION BUTTONS (DIRECT PORTALS) */
.action-portals-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.portal-tile-wrapper {
    position: relative;
    width: 100%;
}

.portal-tile {
    width: 100%;
    text-align: left;
    background: var(--bg-card);
    border: var(--border-gold);
    border-radius: var(--radius-premium);
    padding: 35px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: var(--transition-smooth);
}

.portal-tile-content {
    position: relative;
    z-index: 2;
    max-width: 80%;
}

.portal-category {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--emerald-light);
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.portal-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.portal-description {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    font-weight: 300;
    margin-bottom: 15px;
}

.portal-action-link {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gold-light);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.portal-action-link i {
    transition: var(--transition-smooth);
}

.portal-decor-icon {
    position: absolute;
    right: 25px;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.02);
    z-index: 1;
    transition: var(--transition-smooth);
}

.portal-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.08) 0%, rgba(217, 119, 6, 0.05) 100%);
    opacity: 0;
    z-index: 0;
    transition: var(--transition-smooth);
}

/* Hover effects for portals */
.portal-tile:hover {
    transform: translateY(-5px);
    border-color: var(--gold-primary);
    box-shadow: 0 15px 35px var(--gold-glow), 0 0 15px rgba(5, 150, 105, 0.1);
    background: var(--bg-card-hover);
}

.portal-tile:hover .portal-action-link {
    color: var(--color-text-primary);
}

.portal-tile:hover .portal-action-link i {
    transform: translateX(5px);
}

.portal-tile:hover .portal-decor-icon {
    color: rgba(217, 119, 6, 0.08);
    transform: scale(1.1);
}

.portal-tile:hover .portal-bg-gradient {
    opacity: 1;
}

/* 12. THE STORY VIEW (ACCORDIONS) */
.story-hero-section, .gallery-hero-section {
    padding: 40px 0 80px 0;
}

.back-home-btn {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    margin-bottom: 40px;
    padding: 8px 16px;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 4px;
    background: rgba(255,255,255,0.02);
    transition: var(--transition-smooth);
}

.back-home-btn:hover {
    color: var(--gold-light);
    border-color: var(--gold-primary);
    background: rgba(217, 119, 6, 0.05);
}

.story-header, .gallery-header {
    text-align: center;
    margin-bottom: 50px;
}

.story-subtitle, .gallery-subtitle {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--emerald-light);
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.story-title, .gallery-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--color-text-primary);
    letter-spacing: 1px;
}

.story-tagline, .gallery-tagline {
    font-size: 1rem;
    color: var(--color-text-muted);
    font-weight: 300;
    margin-top: 10px;
}

/* Accordion Container */
.story-accordion-container {
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.accordion-item {
    border-bottom: 1px solid rgba(217, 119, 6, 0.15);
    margin-bottom: 12px;
    background: var(--bg-card);
    border-radius: 6px;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    transition: var(--transition-smooth);
}

.accordion-header:hover {
    background: rgba(217, 119, 6, 0.04);
}

.chapter-number {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--emerald-light);
    width: 120px;
    flex-shrink: 0;
}

.chapter-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-text-primary);
    flex-grow: 1;
}

.accordion-toggle-icon {
    color: var(--gold-light);
    font-size: 0.85rem;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Open Accordion State styling */
.accordion-item.active {
    border: 1px solid rgba(217, 119, 6, 0.3);
    box-shadow: 0 10px 25px rgba(217, 119, 6, 0.05);
}

.accordion-item.active .accordion-header {
    background: rgba(217, 119, 6, 0.06);
    border-bottom: 1px solid rgba(217, 119, 6, 0.1);
}

.accordion-item.active .chapter-title {
    color: var(--gold-light);
}

.accordion-item.active .accordion-toggle-icon {
    transform: rotate(45deg);
    color: var(--emerald-light);
}

/* Accordion Content Panel */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-inner-content {
    padding: 30px;
}

.accordion-inner-content p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    font-weight: 300;
    margin-bottom: 18px;
    line-height: 1.7;
}

.accordion-inner-content p:last-child {
    margin-bottom: 0;
}

.chapter-highlight {
    background: rgba(5, 150, 105, 0.04);
    border-left: 2px solid var(--emerald-primary);
    padding: 16px 20px;
    font-style: italic;
    font-size: 0.95rem;
    color: var(--color-text-primary);
    margin: 20px 0;
}

.signature-line {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--gold-light);
    margin-top: 25px;
    text-align: right;
}

.story-footer-action {
    text-align: center;
}

/* 13. MEMORY VAULT (GALLERY & LIGHTBOX) */
.gallery-filters-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 45px;
}

.filter-btn {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 10px 20px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 4px;
    color: var(--color-text-muted);
    cursor: pointer;
    background: rgba(255,255,255,0.02);
    transition: var(--transition-smooth);
}

.filter-btn:hover, .filter-btn.active {
    color: var(--gold-light);
    border-color: var(--gold-primary);
    background: rgba(217, 119, 6, 0.04);
}

.filter-btn.active {
    color: var(--color-text-primary);
    border-color: var(--emerald-primary);
    background: rgba(5, 150, 105, 0.06);
}

/* Gallery Grid */
.gallery-masonry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gallery-grid-item {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.gallery-img-card {
    position: relative;
    border-radius: var(--radius-premium);
    overflow: hidden;
    aspect-ratio: 1.05;
    border: 1px solid rgba(255,255,255,0.04);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    background: var(--bg-secondary);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 10%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.2) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: var(--transition-smooth);
}

.img-category {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--emerald-light);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.img-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-text-primary);
    margin-bottom: 5px;
}

.img-desc {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    font-weight: 300;
    margin-bottom: 12px;
}

.view-img-zoom {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gold-primary);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
    align-self: flex-start;
    transition: var(--transition-smooth);
}

.view-img-zoom:hover {
    background: var(--gold-light);
    transform: scale(1.1);
}

/* Hover active state */
.gallery-img-card:hover .gallery-img {
    transform: scale(1.08);
}

.gallery-img-card:hover .gallery-img-overlay {
    opacity: 1;
}

/* Lightbox Modal */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.95);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

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

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.lightbox-close:hover {
    background: var(--gold-primary);
    color: #000;
}

.lightbox-container {
    max-width: 800px;
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-img {
    max-height: 70vh;
    max-width: 100%;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    border: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 20px;
}

.lightbox-caption {
    text-align: center;
    max-width: 600px;
}

.lightbox-cat {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--emerald-light);
    display: block;
    margin-bottom: 5px;
}

.lightbox-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 5px;
}

.lightbox-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 300;
}

/* 14. CONTACT SECTION & CARDS */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.contact-card {
    background: var(--bg-card);
    border: var(--border-gold);
    border-radius: var(--radius-premium);
    padding: 30px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--color-text-muted);
    margin-bottom: 18px;
    transition: var(--transition-smooth);
}

.contact-card-title {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-text-primary);
    margin-bottom: 8px;
}

.contact-card-detail {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-weight: 300;
    margin-bottom: 15px;
    word-break: break-all;
}

.contact-card-action {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gold-light);
    display: flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition-smooth);
}

.contact-card-glow {
    position: absolute;
    bottom: -30px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0;
    transition: var(--transition-smooth);
    pointer-events: none;
}

/* Hover interactions */
.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-primary);
    background: var(--bg-card-hover);
    box-shadow: 0 10px 25px var(--gold-glow);
}

.contact-card:hover .contact-card-icon {
    transform: scale(1.1);
    color: #fff;
}

.contact-card:hover .contact-card-icon.whatsapp {
    background: rgba(37, 211, 102, 0.1);
    border-color: #25d366;
    color: #25d366;
    box-shadow: 0 0 10px rgba(37, 211, 102, 0.2);
}

.contact-card:hover .contact-card-icon.email {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    color: #ef4444;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.2);
}

.contact-card:hover .contact-card-icon.instagram {
    background: rgba(225, 48, 108, 0.1);
    border-color: #e1306c;
    color: #e1306c;
    box-shadow: 0 0 10px rgba(225, 48, 108, 0.2);
}

.contact-card:hover .contact-card-icon.linkedin {
    background: rgba(29, 161, 242, 0.1);
    border-color: #1da1f2;
    color: #1da1f2;
    box-shadow: 0 0 10px rgba(29, 161, 242, 0.2);
}

.contact-card:hover .contact-card-icon.website {
    background: rgba(16, 185, 129, 0.1);
    border-color: #10b981;
    color: #10b981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
}

.contact-card:hover .contact-card-icon.youtube {
    background: rgba(255, 0, 0, 0.1);
    border-color: #ff0000;
    color: #ff0000;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.2);
}

.contact-card:hover .contact-card-icon.facebook {
    background: rgba(24, 119, 242, 0.1);
    border-color: #1877f2;
    color: #1877f2;
    box-shadow: 0 0 10px rgba(24, 119, 242, 0.2);
}

.contact-card:hover .contact-card-icon.snapchat {
    background: rgba(255, 252, 0, 0.1);
    border-color: #fffc00;
    color: #fffc00;
    box-shadow: 0 0 10px rgba(255, 252, 0, 0.2);
}

.contact-card:hover .contact-card-action {
    color: var(--color-text-primary);
}

/* Multi-link support inside cards */
.contact-links-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    margin-top: 10px;
    z-index: 5;
}

.contact-sub-link {
    font-size: 0.72rem;
    color: var(--color-text-muted);
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
    padding: 8px 12px;
    border-radius: 4px;
    text-align: center;
    transition: var(--transition-smooth);
    font-weight: 400;
    text-decoration: none;
    display: block;
    width: 100%;
    font-family: var(--font-body);
}

/* Individual brand link overrides on hover */
.contact-sub-link.sub-whatsapp:hover {
    border-color: #25d366;
    color: #25d366;
    background: rgba(37, 211, 102, 0.05);
    box-shadow: 0 0 10px rgba(37, 211, 102, 0.1);
}

.contact-sub-link.sub-join:hover {
    border-color: var(--emerald-primary);
    color: var(--emerald-light);
    background: rgba(16, 185, 129, 0.05);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.1);
}

.contact-sub-link.sub-email:hover {
    border-color: #ef4444;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.05);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.1);
}

.contact-sub-link.sub-instagram:hover {
    border-color: #e1306c;
    color: #e1306c;
    background: rgba(225, 48, 108, 0.05);
    box-shadow: 0 0 10px rgba(225, 48, 108, 0.1);
}

.contact-sub-link.sub-twitter:hover {
    border-color: #1da1f2;
    color: #1da1f2;
    background: rgba(29, 161, 242, 0.05);
    box-shadow: 0 0 10px rgba(29, 161, 242, 0.1);
}

.contact-sub-link.sub-facebook:hover {
    border-color: #1877f2;
    color: #1877f2;
    background: rgba(24, 119, 242, 0.05);
    box-shadow: 0 0 10px rgba(24, 119, 242, 0.1);
}

.contact-sub-link.sub-snapchat:hover {
    border-color: #fffc00;
    color: #fffc00;
    background: rgba(255, 252, 0, 0.05);
    box-shadow: 0 0 10px rgba(255, 252, 0, 0.1);
}

.contact-sub-link.sub-website:hover {
    border-color: var(--gold-primary);
    color: var(--gold-light);
    background: rgba(217, 119, 6, 0.05);
    box-shadow: 0 0 10px rgba(217, 119, 6, 0.1);
}

.contact-sub-link.sub-youtube:hover {
    border-color: #ff0000;
    color: #ff0000;
    background: rgba(255, 0, 0, 0.05);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.1);
}

.contact-card:hover .contact-card-glow {
    opacity: 0.3;
}

.contact-card:hover .contact-card-glow {
    background: var(--gold-primary);
}

/* 15. MODAL SYSTEM */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10001;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

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

.modal-card {
    background: var(--bg-secondary);
    border: var(--border-gold);
    border-radius: var(--radius-premium);
    width: 90%;
    max-width: 550px;
    padding: 40px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    transform: translateY(30px);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open .modal-card {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.modal-close:hover {
    background: var(--gold-primary);
    color: #000;
}

.modal-subtitle {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--emerald-light);
    display: block;
    margin-bottom: 5px;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    color: var(--color-text-primary);
}

.modal-body {
    margin-top: 30px;
}

/* Modal specific elements */
.roadmap-milestones {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.roadmap-step {
    display: flex;
    gap: 20px;
}

.step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(217, 119, 6, 0.08);
    border: 1px solid rgba(217, 119, 6, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    color: var(--gold-light);
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.step-details h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--color-text-primary);
}

.step-details p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-weight: 300;
}

.business-status-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: rgba(5, 150, 105, 0.06);
    border: 1px solid rgba(5, 150, 105, 0.15);
    border-radius: 4px;
    margin-bottom: 20px;
}

.status-indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--emerald-light);
}

.status-text {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--emerald-light);
}

.business-p {
    font-size: 0.92rem;
    color: var(--color-text-muted);
    font-weight: 300;
    margin-bottom: 20px;
}

.business-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
}

.business-list li {
    font-size: 0.9rem;
    color: var(--color-text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.text-emerald {
    color: var(--emerald-light);
}

.business-footer-action, .legacy-footer-action {
    text-align: right;
}

.legacy-tribute-box {
    position: relative;
    background: rgba(217, 119, 6, 0.04);
    border-left: 2px solid var(--gold-primary);
    padding: 20px 24px;
    border-radius: 0 4px 4px 0;
    margin-bottom: 25px;
}

.tribute-quote {
    font-style: italic;
    font-size: 0.95rem;
    color: var(--color-text-primary);
    line-height: 1.5;
    margin-bottom: 10px;
}

.tribute-author {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gold-light);
    display: block;
    text-align: right;
}

.legacy-p {
    font-size: 0.92rem;
    color: var(--color-text-muted);
    font-weight: 300;
    margin-bottom: 18px;
}

/* 16. MAIN FOOTER */
.main-footer {
    border-top: 1px solid rgba(255,255,255,0.03);
    background: #020202;
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1.2fr 1fr;
    gap: 50px;
    padding-top: 60px;
    padding-bottom: 50px;
}

.footer-logo {
    font-family: var(--font-heading-decor);
    font-size: 1.8rem;
    color: var(--gold-light);
    margin-bottom: 15px;
    display: inline-block;
}

.footer-logo::after {
    content: '.';
    color: var(--emerald-light);
}

.footer-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 4px;
}

.footer-titles {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-arabic {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--gold-text);
    text-shadow: 0 0 10px var(--gold-glow);
    margin-bottom: 2px;
}

.footer-arabic-sub {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    font-style: italic;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text-primary);
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 1px;
    background: var(--gold-primary);
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.footer-contact-item .contact-icon {
    color: var(--gold-light);
    font-size: 0.95rem;
    width: 20px;
}

.footer-contact-item a:hover {
    color: var(--emerald-light);
}

.footer-nav-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav-link {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.footer-nav-link:hover {
    color: var(--gold-light);
    transform: translateX(4px);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.03);
    padding: 30px 24px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1140px;
    margin: 0 auto;
    font-size: 0.8rem;
    color: var(--color-text-dark);
}

.footer-tagline {
    font-style: italic;
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

/* 17. ANIMATIONS */
@keyframes monogram-pulse {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.05); opacity: 1; text-shadow: 0 0 30px var(--gold-glow); }
}

@keyframes load-animation {
    0% { left: -100%; width: 50%; }
    50% { left: 25%; width: 60%; }
    100% { left: 100%; width: 50%; }
}

@keyframes float-slow {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, -50px) scale(1.05); }
    100% { transform: translate(-20px, 40px) scale(0.95); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.animate-pulse {
    animation: pulse 2s infinite ease-in-out;
}

/* Scroll reveal helper classes */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* 18. MOBILE RESPONSIVE ADAPTABILITY (MOBILE-FIRST) */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .gallery-masonry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Navbar header adapt */
    .nav-desktop {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
    
    /* Hero layout */
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-image-col {
        order: -1;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .tagline-quote-block {
        margin: 20px auto 30px auto;
        padding-left: 0;
        border-left: none;
        border-top: 1px dashed rgba(5, 150, 105, 0.2);
        border-bottom: 1px dashed rgba(5, 150, 105, 0.2);
        padding: 20px 0;
    }
    
    .quote-symbol {
        display: none;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    /* Life at Glance */
    .glance-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Vision Section */
    .vision-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Portals Section */
    .action-portals-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Contact Section */
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Timeline Interaction */
    .timeline-years-nav {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        height: auto;
    }
    
    .timeline-progress-bar {
        left: 50%;
        top: 0;
        width: 2px;
        height: 100%;
        transform: translateX(-50%);
    }
    
    .timeline-progress-fill {
        width: 100%;
        height: 0; /* Updated via JS */
        transition: height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .year-btn {
        width: 44px;
        height: 44px;
    }
    
    /* Footer layout */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-logo {
        margin-bottom: 10px;
    }
    
    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.4rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    
    .btn-primary-luxury, .btn-secondary-luxury {
        width: 100%;
    }
    
    .about-text-panel {
        padding: 24px;
    }
    
    .arabic-verse {
        font-size: 1.4rem;
    }
    
    .glance-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-masonry-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .story-title, .gallery-title {
        font-size: 2rem;
    }
    
    .accordion-header {
        padding: 16px 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .accordion-toggle-icon {
        align-self: flex-end;
        margin-top: -15px;
    }
    
    .accordion-inner-content {
        padding: 20px;
    }
}

/* ==========================================================================
   19. CONNECT PORTAL & ADMIN CONTROL CENTER STYLES
   ========================================================================== */
.connect-portal-section {
    padding: 40px 0 80px 0;
}

.connect-header {
    text-align: center;
    margin-bottom: 50px;
}

.connect-subtitle {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--emerald-light);
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.connect-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--color-text-primary);
    letter-spacing: 1px;
}

.connect-tagline {
    font-size: 1rem;
    color: var(--color-text-muted);
    font-weight: 300;
    margin-top: 10px;
}

.connect-grid-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 60px;
    transition: var(--transition-smooth);
}

/* Form Panes */
.connect-form-pane, .connect-user-pane {
    background: var(--bg-card);
    border: var(--border-gold);
    border-radius: var(--radius-premium);
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
    position: relative;
    overflow: hidden;
}

.card-glow-emerald::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--emerald-primary);
    filter: blur(60px);
    opacity: 0.2;
    pointer-events: none;
}

.card-glow-gold::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--gold-primary);
    filter: blur(60px);
    opacity: 0.15;
    pointer-events: none;
}

.pane-header {
    margin-bottom: 30px;
}

.pane-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-text-primary);
    margin-bottom: 8px;
}

.pane-desc {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    font-weight: 300;
}

/* Onboarding helper example */
.form-helper-example {
    background: rgba(217, 119, 6, 0.03);
    border: 1px dashed rgba(217, 119, 6, 0.2);
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

.example-badge {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gold-light);
    background: rgba(217, 119, 6, 0.1);
    padding: 2px 8px;
    border-radius: 3px;
}

.btn-example-autofill {
    font-size: 0.8rem;
    color: var(--color-text-primary);
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-smooth);
    padding: 4px 0;
}

.btn-example-autofill:hover {
    color: var(--emerald-light);
    transform: translateX(2px);
}

/* User avatar */
.user-avatar-monogram {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(5, 150, 105, 0.1);
    border: 1px solid var(--emerald-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--emerald-light);
    font-weight: 700;
    box-shadow: 0 0 15px var(--emerald-glow);
    margin-bottom: 15px;
}

.badge-status-green {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--emerald-light);
    background: rgba(5, 150, 105, 0.08);
    padding: 4px 12px;
    border-radius: 30px;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--emerald-light);
    animation: pulse 1.5s infinite ease-in-out;
}

/* Forms & Inputs */
.connect-form-element {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group-luxury {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group-luxury label {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--color-text-muted);
    text-transform: uppercase;
}

.input-wrapper {
    position: relative;
    width: 100%;
}

.input-wrapper i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.25);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.input-wrapper input, .input-wrapper select, .input-wrapper textarea {
    width: 100%;
    padding: 14px 16px 14px 45px;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    color: var(--color-text-primary);
    font-size: 0.92rem;
    transition: var(--transition-smooth);
}

.input-wrapper textarea {
    resize: none;
    line-height: 1.5;
}

.input-wrapper textarea-wrapper i {
    top: 20px;
    transform: none;
}

.input-wrapper input:focus, .input-wrapper select:focus, .input-wrapper textarea:focus {
    border-color: var(--gold-primary);
    background: rgba(0,0,0,0.6);
    box-shadow: 0 0 10px var(--gold-glow);
}

.input-wrapper input:focus + i, .input-wrapper select:focus + i, .input-wrapper textarea:focus + i {
    color: var(--gold-light);
}

.form-toggle-link-container {
    margin-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.form-toggle-link-container a {
    color: var(--gold-light);
    font-weight: 600;
    text-decoration: underline;
}

.user-console-footer {
    margin-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 20px;
}

/* Info Pane */
.info-luxury-box {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.03);
    border-radius: var(--radius-premium);
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.info-luxury-box h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--color-text-primary);
}

.info-bullet {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.bullet-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(217, 119, 6, 0.05);
    border: 1px solid rgba(217, 119, 6, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-light);
    font-size: 1rem;
    flex-shrink: 0;
}

.bullet-text h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--color-text-primary);
    margin-bottom: 4px;
}

.bullet-text p {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    font-weight: 300;
    line-height: 1.5;
}

.admin-trigger-container {
    margin-top: 30px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.admin-trigger-container a {
    color: var(--gold-light);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.w-100 {
    width: 100%;
}

.text-emerald {
    color: var(--emerald-light) !important;
}

/* ==========================================================================
   20. OWNER ADMIN CONTROL PANEL
   ========================================================================== */
.admin-dashboard-container {
    background: var(--bg-card);
    border: var(--border-gold);
    border-radius: var(--radius-premium);
    padding: 40px;
    margin-top: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.7);
    animation: fadeInUp 0.5s ease;
}

.admin-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding-bottom: 25px;
    margin-bottom: 30px;
}

.admin-tag {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--emerald-light);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.admin-header-title h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--color-text-primary);
}

.admin-stats-row {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
}

.stat-pill-luxury {
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 8px;
    padding: 15px 25px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 150px;
}

.stat-pill-luxury .label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-pill-luxury .value {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold-light);
}

.admin-data-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 30px;
}

.admin-pane {
    background: rgba(0,0,0,0.25);
    border: 1px solid rgba(255,255,255,0.03);
    border-radius: 8px;
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.admin-pane h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-text-primary);
}

.messages-list-wrapper, .accounts-list-wrapper {
    margin-top: 25px;
    max-height: 400px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-right: 5px;
}

.empty-list-message {
    text-align: center;
    color: var(--color-text-dark);
    font-size: 0.9rem;
    padding: 30px 0;
    font-style: italic;
}

/* Admin list items card style */
.admin-message-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.04);
    border-left: 3px solid var(--gold-primary);
    border-radius: 4px;
    padding: 20px;
    position: relative;
    transition: var(--transition-smooth);
}

.admin-message-card:hover {
    background: rgba(255,255,255,0.04);
    border-color: rgba(217, 119, 6, 0.2);
}

.msg-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.msg-sender-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

.msg-sender-info p {
    font-size: 0.78rem;
    color: var(--color-text-muted);
}

.msg-tag {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: rgba(5, 150, 105, 0.1);
    color: var(--emerald-light);
    padding: 2px 8px;
    border-radius: 3px;
}

.msg-body-text {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    font-weight: 300;
    line-height: 1.5;
    word-break: break-word;
    white-space: pre-wrap;
    margin-bottom: 12px;
}

.msg-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.03);
    padding-top: 10px;
    font-size: 0.72rem;
}

.msg-time {
    color: var(--color-text-dark);
}

.btn-msg-delete {
    color: #ef4444;
    cursor: pointer;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition-smooth);
}

.btn-msg-delete:hover {
    text-shadow: 0 0 5px rgba(239, 68, 68, 0.5);
    transform: scale(1.05);
}

.admin-account-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.04);
    border-left: 3px solid var(--emerald-primary);
    border-radius: 4px;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.acc-details h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

.acc-details p {
    font-size: 0.78rem;
    color: var(--color-text-muted);
}

.acc-date {
    font-size: 0.7rem;
    color: var(--color-text-dark);
}

/* Owner Admin login overlay */
.admin-login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10002;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.4s ease;
}

.admin-login-card {
    background: var(--bg-secondary);
    border: var(--border-gold);
    border-radius: var(--radius-premium);
    width: 90%;
    max-width: 450px;
    padding: 40px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    animation: scaleUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.admin-login-close {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.admin-login-close:hover {
    background: var(--gold-primary);
    color: #000;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleUp {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* Responsive Connect Portal */
@media (max-width: 900px) {
    .connect-grid-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .admin-data-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .connect-form-pane, .connect-user-pane, .admin-dashboard-container {
        padding: 24px 20px;
    }
    
    .connect-title {
        font-size: 2.2rem;
    }
    
    .admin-stats-row {
        flex-direction: column;
        gap: 12px;
    }
    
    .admin-pane {
        padding: 20px 15px;
    }
    
    .admin-dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .admin-dashboard-header button {
        width: 100%;
    }
}

/* Responsive Search elements visibility */
.search-desktop-only {
    display: block;
}
.search-mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .search-desktop-only {
        display: none !important;
    }
    .search-mobile-only {
        display: block !important;
    }
}

/* Footer Social Icons Buttons */
.footer-social-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
    color: var(--color-text-muted);
    font-size: 0.85rem;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.footer-social-icon-btn:hover {
    transform: translateY(-2px);
    color: var(--gold-primary);
    border-color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.05);
    box-shadow: 0 0 10px var(--gold-glow);
}

[data-theme="light"] .footer-social-icon-btn {
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: rgba(0, 0, 0, 0.02);
}

[data-theme="light"] .footer-social-icon-btn:hover {
    color: var(--emerald-primary);
    border-color: var(--emerald-primary);
    background: rgba(15, 118, 110, 0.05);
    box-shadow: 0 0 10px var(--emerald-glow);
}

