/* ============================================================
   SRS E-Services Public Portal – Design System v2.0 (2026)
   Modern, Professional, Clean UI
   ============================================================ */

/* ─── Google Fonts & Variables ──────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* --- Aquatic Theme (Default) --- */
    --theme-bg: radial-gradient(circle at 10% 10%, rgba(37, 99, 235, 0.08), transparent 40%),
                radial-gradient(circle at 90% 90%, rgba(16, 185, 129, 0.08), transparent 40%),
                radial-gradient(circle at 50% 50%, rgba(30, 58, 138, 0.05), transparent 60%);
    --brand:          #1e3a8a;
    --brand-rgb:      30, 58, 138;
    --brand-mid:      #2563eb;
    --brand-light:    #eff6ff;
    --accent:         #10b981;
    --bluelight:      #3b82f6;
    --theme-bg: radial-gradient(circle at 10% 10%, rgba(37, 99, 235, 0.08), transparent 40%),
                radial-gradient(circle at 90% 90%, rgba(16, 185, 129, 0.08), transparent 40%),
                radial-gradient(circle at 50% 50%, rgba(30, 58, 138, 0.05), transparent 60%);

    /* Base Layout & Shape (Same for all themes) */
    --max-w:          1440px;
    --nav-h:          70px;
    --radius-sm:  6px;
    --radius-md:  12px;
    --radius-lg:  20px;
    --radius-xl:  28px;
    --ease: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --glass-blur: blur(12px);
    --glass-surface: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);

    /* Text & Surfaces */
    --surface:        #ffffff;
    --surface-alt:    #f8fafc;
    --text-primary:   #0f172a;
    --text-secondary: #334155;
    --text-muted:     #64748b;
    --text-light:     #94a3b8;
    --border-light:   #e2e8f0;
    --shadow-sm:  0 2px 8px rgba(0,0,0,0.06);
    --shadow-md:  0 8px 24px rgba(0,0,0,0.08);

    /* Old variables that are now theme-specific or removed from root */
    --accent-light:   rgba(16, 185, 129, 0.1);
    --surface-card:   #ffffff;
    --border-mid:     #cbd5e1;
    --shadow-xs:  0 1px 2px rgba(0,0,0,0.04);
    --shadow-lg:  0 20px 48px rgba(0,0,0,0.1);
    --shadow-blue: 0 8px 24px rgba(37,99,235,0.2);
    --glass: rgba(255, 255, 255, 0.03);
}

/* --- Theme Variations --- */
body.theme-desert {
    --brand: #92400e;
    --brand-rgb: 146, 64, 14;
    --brand-mid: #d97706;
    --brand-light: #fff7ed;
    --accent: #d97706;
    --bluelight: #f59e0b;
    --surface: #fffbeb;
    --surface-alt: #fef3c7;
    --theme-bg: radial-gradient(circle at 10% 10%, rgba(217, 119, 6, 0.12), transparent 40%),
                radial-gradient(circle at 90% 90%, rgba(146, 64, 14, 0.1), transparent 40%),
                radial-gradient(circle at 50% 50%, rgba(253, 186, 116, 0.08), transparent 60%);
}

body.theme-dusk {
    --brand: #4c1d95;
    --brand-rgb: 76, 29, 149;
    --brand-mid: #7c3aed;
    --brand-light: #f5f3ff;
    --accent: #ec4899;
    --bluelight: #8b5cf6;
    --surface: #faf5ff;
    --surface-alt: #f3e8ff;
    --theme-bg: radial-gradient(circle at 10% 10%, rgba(124, 58, 237, 0.15), transparent 40%),
                radial-gradient(circle at 90% 90%, rgba(236, 72, 153, 0.12), transparent 40%),
                radial-gradient(circle at 50% 50%, rgba(76, 29, 149, 0.1), transparent 60%);
}

body.theme-night-sky {
    --brand: #1e1b4b;
    --brand-rgb: 30, 27, 75;
    --brand-mid: #4338ca;
    --brand-light: #eef2ff;
    --accent: #818cf8;
    --bluelight: #6366f1;
    --surface: #f5f3ff;
    --surface-alt: #e0e7ff;
    --theme-bg: radial-gradient(circle at 10% 10%, rgba(67, 56, 202, 0.15), transparent 40%),
                radial-gradient(circle at 90% 90%, rgba(6, 182, 212, 0.1), transparent 40%),
                radial-gradient(circle at 50% 50%, rgba(30, 27, 75, 0.08), transparent 60%);
}

body.dark-theme {
    --surface:        #0f172a;
    --surface-alt:    #1e293b;
    --text-primary:   #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted:     #94a3b8;
    --text-light:     #64748b;
    --border-light:   #334155;
    --glass-surface: rgba(15, 23, 42, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
}

/* ─── Animated Background ───────────────────────────────── */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--theme-bg);
    z-index: -1;
    animation: bgMove 25s infinite alternate ease-in-out;
}

@keyframes bgMove {
    0% { transform: scale(1) translate(0, 0); }
    50% { transform: scale(1.1) translate(2% , 2%); }
    100% { transform: scale(1) translate(0, 0); }
}

/* ─── Dark Theme Overrides ──────────────────────────────── */
body.dark-theme {
    --surface:        #111827;
    --surface-alt:    #030712;
    --surface-card:   rgba(31, 41, 55, 0.4);
    --glass:          rgba(17, 24, 39, 0.6);
    --glass-border:   rgba(255, 255, 255, 0.08);
    --text-primary:   #f9fafb;
    --text-secondary: #e5e7eb;
    --text-muted:     #9ca3af;
    --text-light:     #6b7280;
    --border-light:   #374151;
    --border-mid:     #4b5563;
    --shadow-xs:      0 1px 2px rgba(0,0,0,0.4);
    --shadow-sm:      0 2px 8px rgba(0,0,0,0.5);
    --shadow-md:      0 8px 24px rgba(0,0,0,0.6);
}

body.dark-theme .org-card { background: var(--surface-card) !important; border-color: var(--border-light); }
body.dark-theme .service-card { background: var(--surface-card); }
body.dark-theme .summary-card { background: var(--surface-card); }
body.dark-theme .news-home-card { background: var(--surface-card); }
body.dark-theme .video-card-home { background: var(--surface-card); }
body.dark-theme .article-content { background: var(--surface-card); }
body.dark-theme .info-card { background: var(--surface-card); }
body.dark-theme .contact-item { background: var(--surface-card); }
body.dark-theme .form-input { background: var(--surface-alt); border-color: var(--border-light); color: white; }
body.dark-theme .form-input:focus { background: var(--surface-card); }
body.dark-theme .footer-bottom { border-top-color: rgba(255,255,255,0.05); }

/* ─── Custom Theme Selector ────────────────────────────── */
.theme-selector-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

/* ─── Custom Language Selector ─────────────────────────── */
.lang-selector-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.lang-trigger {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    color: white;
    padding: 0.5rem 0.9rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--ease);
}

.lang-trigger:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.3);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 160px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-md);
    padding: 0.5rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
}

.lang-selector-wrap:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    padding: 0.6rem 0.85rem;
    border-radius: var(--radius-sm);
    color: rgba(255,255,255,0.85);
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--ease);
    text-decoration: none;
}

.lang-option:hover {
    background: rgba(255,255,255,0.1);
    color: white;
    padding-left: 1.1rem;
}

.lang-option.active {
    background: var(--brand-mid);
    color: white;
}

.theme-trigger {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    color: white;
    padding: 0.5rem 0.9rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--ease);
}

.theme-trigger:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.3);
}

.theme-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 180px;
    background: rgba(var(--brand-rgb), 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-md);
    padding: 0.6rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
}

.theme-selector-wrap:hover .theme-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.theme-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-sm);
    color: rgba(255,255,255,0.85);
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--ease);
}

.theme-option:hover {
    background: rgba(255,255,255,0.1);
    color: white;
    padding-left: 1.1rem;
}

.theme-option.active {
    background: var(--brand-mid);
    color: white;
}

.theme-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dot-aquatic { background: #3b82f6; box-shadow: 0 0 10px rgba(59, 130, 246, 0.4); }
.dot-desert  { background: #f59e0b; box-shadow: 0 0 10px rgba(245, 158, 11, 0.4); }
.dot-dusk    { background: #a855f7; box-shadow: 0 0 10px rgba(168, 85, 247, 0.4); }
.dot-night   { background: #6366f1; box-shadow: 0 0 10px rgba(99, 102, 241, 0.4); }

/* Theme Colors Integration for interactivity */
.theme-desert .view-btn-pill, .theme-desert .submit-btn { background: var(--brand-mid); }
.theme-dusk .view-btn-pill, .theme-dusk .submit-btn { background: var(--brand-mid); }
.theme-night-sky .view-btn-pill, .theme-night-sky .submit-btn { background: var(--brand-mid); }

.theme-toggle {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    color: white;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--ease);
    font-size: 1rem;
}
.theme-toggle:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.05);
}
.theme-toggle i { transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
body.dark-theme .theme-toggle i.fa-moon { display: none; }
body:not(.dark-theme) .theme-toggle i.fa-sun { display: none; }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.action-btn {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    color: white;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--ease);
    font-size: 1rem;
    text-decoration: none;
}

.action-btn:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.05);
    color: white;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--surface-alt);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* ─── Layout Utilities ──────────────────────────────────── */
.container       { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section         { padding: 5rem 0; background: transparent; position: relative; }
.section-sm      { padding: 3rem 0; }
.text-center     { text-align: center; }
.flex            { display: flex; }
.flex-col        { flex-direction: column; }
.items-center    { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }

/* ─── Section Headers ───────────────────────────────────── */
.section-header { text-align: center; max-width: 1000px; margin: 0 auto 3.5rem; }
.section-label {
    display: inline-block;
    background: var(--brand-light);
    color: var(--brand-mid);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}
.section-title {
    font-size: clamp(2rem, 5vw, 3.75rem);
    font-weight: 200;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 0.75rem;
    animation: revealText 1s cubic-bezier(0.77, 0, 0.175, 1) both;
}
.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
    animation: revealText 1s cubic-bezier(0.77, 0, 0.175, 1) 0.1s both;
}

@keyframes revealText {
    0% { clip-path: inset(0 100% 0 0); transform: translateX(-20px); opacity: 0; }
    100% { clip-path: inset(0 0 0 0); transform: translateX(0); opacity: 1; }
}

/* ─── Navbar ────────────────────────────────────────────── */
.top-navbar {
    height: var(--nav-h);
    background: rgba(var(--brand-rgb), 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 0 rgba(255,255,255,0.06),
                0 4px 24px rgba(0,0,0,0.2);
    gap: 2rem;
    transition: var(--ease);
}

.top-navbar.scrolled {
    background: rgba(var(--brand-rgb), 0.85);
    padding: 0.5rem 2rem;
    height: calc(var(--nav-h) - 10px);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    text-decoration: none;
    color: white;
    flex-shrink: 0;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-logo img {
    height: 44px;
    width: auto;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
    background: rgba(255,255,255,0.08); /* Soft glass background */
    padding: 3px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.15);
    animation: logoPulse 5s ease-in-out infinite, logoIn 1s cubic-bezier(0.23, 1, 0.32, 1) both;
}

@keyframes logoPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3)); }
    50% { transform: scale(1.02) rotate(1deg); filter: drop-shadow(0 6px 16px rgba(var(--brand-rgb), 0.4)); }
}

@keyframes logoIn {
    0% { opacity: 0; transform: translateX(-30px) rotate(-15deg) scale(0.8); filter: blur(10px); }
    100% { opacity: 1; transform: translateX(0) rotate(0) scale(1); filter: blur(0); }
}

.logo-text { display: flex; flex-direction: column; gap: 1px; }
.logo-text .main-title {
    font-weight: 900;
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 0.1em; /* Increased slightly */
    line-height: 1;
    color: white;
    background: linear-gradient(
        90deg, 
        rgba(255,255,255,1) 0%, 
        var(--brand-mid) 25%, 
        rgba(255,255,255,1) 50%, 
        var(--accent) 75%, 
        rgba(255,255,255,1) 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 6s linear infinite;
    display: inline-block;
}
.logo-text .sub-title {
    font-size: 0.7rem;
    opacity: 0.8;
    letter-spacing: 0.06em;
    font-weight: 600;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
    position: relative;
    padding-left: 2px;
    animation: textSlideIn 1s cubic-bezier(0.23, 1, 0.32, 1) 0.2s both;
}

@keyframes textSlideIn {
    0% { opacity: 0; transform: translateX(20px); filter: blur(5px); }
    100% { opacity: 1; transform: translateX(0); filter: blur(0); }
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 0.25rem;
    flex: 1;
    justify-content: center;
}

.nav-link {
    display: inline-block;
    color: rgba(255,255,255,0.75);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
    border: 1px solid transparent;
}

.nav-link:hover {
    color: white;
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.12);
    transform: translateY(-1px);
}

.nav-link.active {
    color: white;
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.25);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    font-weight: 800;
}

/* --- Premium Mega Dropdown Styles --- */
/* --- Premium Mega Dropdown Styles --- */
.nav-menu li {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(30px);
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    min-width: 240px;
    border-radius: var(--radius-lg);
    padding: 1.25rem 0;
    list-style: none;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(255, 255, 255, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1100;
    pointer-events: none;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -25px;
    left: 0;
    right: 0;
    height: 25px;
    display: block;
}

/* Organizations Mega UI */
.has-mega-menu .dropdown-menu {
    min-width: 800px;
    padding: 2.5rem;
    display: flex;
    gap: 3rem;
    left: 50%;
    transform: translateX(-50%) translateY(30px);
}

.has-mega-menu .dropdown-menu.single-col-menu {
    min-width: 300px;
    padding: 1.5rem;
    display: block;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(10px);
    pointer-events: auto;
}

/* Mega Columns */
.mega-col {
    flex: 1;
    animation: megaFadeIn 0.6s ease-out both;
}

.mega-col:nth-child(2) { animation-delay: 0.1s; }
.mega-col:nth-child(3) { animation-delay: 0.2s; }

@keyframes megaFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.mega-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.mega-title i {
    font-size: 1rem;
    background: linear-gradient(135deg, var(--accent), #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mega-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.mega-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    color: rgba(255,255,255,0.7);
    font-size: 0.92rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.mega-item i {
    font-size: 1.1rem;
    color: var(--brand-mid);
    transition: transform 0.3s;
}

.mega-item img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    background: white;
    padding: 3px;
    border-radius: 6px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.mega-item:hover {
    background: rgba(255,255,255,0.06);
    color: white;
    padding-left: 1.25rem;
}

.mega-item:hover i, .mega-item:hover img {
    transform: scale(1.1) rotate(-5deg);
}

.mega-item::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--brand-mid);
    transition: height 0.3s;
    border-radius: 0 4px 4px 0;
}

.mega-item:hover::after {
    height: 60%;
}

.mega-item.active {
    color: var(--accent);
    background: rgba(16, 185, 129, 0.08);
}

/* Standard Dropdown Enhancement */
.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
    text-align: left;
    border-radius: var(--radius-md);
    margin: 0 0.75rem;
}

.dropdown-menu li a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    padding-left: 2rem;
}

/* Mobile Glass Menu Fix */
@media (max-width: 991px) {
    .dropdown-menu {
        position: static;
        transform: none !important;
        opacity: 1;
        visibility: visible;
        background: rgba(0,0,0,0.25);
        box-shadow: none;
        border: none;
        padding: 1.5rem;
        display: none;
        min-width: 100% !important;
        flex-direction: column !important;
        gap: 2rem !important;
        pointer-events: auto;
    }
    
    .has-dropdown.active .dropdown-menu {
        display: flex;
    }

    .mega-col {
        animation: none;
    }
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.lang-selector {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--ease);
    color: white;
}
.lang-selector:hover { background: rgba(255,255,255,0.2); }

.action-icon {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    transition: var(--ease);
    padding: 0.4rem;
    border-radius: var(--radius-sm);
}
.action-icon:hover { color: white; background: rgba(255,255,255,0.12); }

/* Hamburger – mobile */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem;
}

/* ─── Hero Section ──────────────────────────────────────── */
.hero {
    min-height: 88vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a1628;
}

.hero-slider,
.hero-slider .slide {
    position: absolute;
    inset: 0;
}

.hero-slider .slide {
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.hero-slider .slide.active { 
    opacity: 1; 
    animation: heroBounceOnly 8s ease-in-out infinite;
}

@keyframes heroBounceOnly {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 22, 40, 0.85) 0%,
        rgba(30, 58, 138, 0.6) 50%,
        rgba(10, 22, 40, 0.9) 100%
    );
}

.hero-container {
    position: relative;
    z-index: 10;
    text-align: center;
    width: 100%;
    max-width: 860px;
    padding: 3rem 2rem;
    color: white;
}

/* Staggered Bounce Entrance - Line by Line */
.hero-container h1 {
    animation: 
        bounceInSlow 1.8s cubic-bezier(0.23, 1, 0.32, 1.2) both,
        split10s 10s ease-in-out infinite 1.8s,
        shine 6s linear infinite;
}
.hero-subtitle {
    animation: bounceInSlow 1.8s cubic-bezier(0.23, 1, 0.32, 1.2) 0.6s both;
}
.hero-description {
    animation: bounceInSlow 1.8s cubic-bezier(0.23, 1, 0.32, 1.2) 1.2s both;
}
.search-container {
    animation: textFocusIn 0.8s cubic-bezier(0.23, 1, 0.32, 1) 1.8s both;
}

@keyframes bounceInSlow {
    0% { opacity: 0; transform: translateY(-100px); }
    40% { opacity: 1; transform: translateY(25px); }
    60% { transform: translateY(-12px); }
    80% { transform: translateY(6px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes textFocusIn {
    0% { filter: blur(12px); opacity: 0; transform: translateY(20px); letter-spacing: 0.2em; }
    100% { filter: blur(0); opacity: 1; transform: translateY(0); letter-spacing: normal; }
}

.hero-container h1 {
    background: linear-gradient(
        90deg, 
        rgba(255,255,255,1) 0%, 
        var(--brand-mid) 25%, 
        rgba(255,255,255,1) 50%, 
        var(--accent) 75%, 
        rgba(255,255,255,1) 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    /* -webkit-text-fill-color: transparent; Removed to avoid overriding inline styles from database if any, but we will use transition */
    /* animation: shine 6s linear infinite; */ /* Moved to the main h1 block to avoid overwriting entrance bounce */
    transition: transform 0.3s var(--ease);
}

@keyframes split10s {
    0%, 100% { 
        letter-spacing: -0.03em;
        filter: drop-shadow(0 0 0 transparent);
        transform: scale(1);
    }
    50% { 
        letter-spacing: 0.12em; 
        filter: drop-shadow(12px 0 0 rgba(255,255,255,0.1)) drop-shadow(-12px 0 0 rgba(var(--brand-rgb), 0.2));
        transform: scale(1.05);
    }
}

.hero-container h1:hover {
    transform: scale(1.02);
}

@keyframes shine {
    to { background-position: 200% center; }
}

.hero-logo-box { margin-bottom: 2rem; }
.hero-logo-box img {
    height: 110px;
    width: auto;
    margin: 0 auto;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,0.4));
    animation: floatAnim 4s ease-in-out infinite;
}

@keyframes floatAnim {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

.hero-container h1 {
    font-size: clamp(2rem, 5vw, 3.75rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    margin-bottom: 1rem;
}

.hero-description {
    font-size: clamp(0.9rem, 1.5vw, 1.05rem);
    color: rgba(255,255,255,0.65);
    max-width: 660px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

/* Hero Search */
.search-container {
    max-width: 580px;
    margin: 0 auto;
    position: relative;
}

.search-box {
    width: 100%;
    padding: 1.1rem 1.5rem 1.1rem 3.5rem;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    color: white;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--ease);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    outline: none;
}
.search-box::placeholder { color: rgba(255,255,255,0.5); }
.search-box:focus {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.5);
    box-shadow: 0 12px 48px rgba(37,99,235,0.4);
    transform: translateY(-2px);
}
.search-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.6);
    font-size: 1rem;
    pointer-events: none;
}

/* Quick Results in Hero */
.quick-results-container {
    position: absolute;
    top: calc(100% + 15px);
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: left;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.quick-results-container.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.quick-res-header {
    padding: 1rem 1.5rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-light);
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.quick-res-item {
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--ease);
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.quick-res-item:hover {
    background: rgba(255,255,255,0.1);
    padding-left: 2rem;
}

.quick-res-item i {
    color: var(--brand-mid);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.quick-res-footer {
    padding: 0.85rem 1.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    background: rgba(0,0,0,0.2);
}

.quick-res-none {
    padding: 2rem;
    text-align: center;
    color: var(--text-light);
    font-style: italic;
}

/* Hero Content Transition */
#heroMainContent {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* ─── Cards & Grid ──────────────────────────────────────── */
.card {
    background: var(--glass-surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease), background var(--ease);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-mid);
    background: var(--glass);
}

/* ─── Mesh Gradient backgrounds ─────────────────────────── */
.mesh-bg {
    position: relative;
    overflow: hidden;
}

.mesh-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(37, 99, 235, 0.15), transparent 40%),
                radial-gradient(circle at 70% 60%, rgba(30, 58, 138, 0.2), transparent 40%),
                radial-gradient(circle at 40% 80%, rgba(16, 185, 129, 0.1), transparent 40%);
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
    animation: meshRotate 20s infinite linear;
}

@keyframes meshRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero .hero-overlay {
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.3) 0%, rgba(15, 23, 42, 0.8) 100%);
}

/* ─── Organization Section ──────────────────────────────── */
.org-section {
    background: var(--surface);
    padding: 5rem 0;
}

.org-section .section-header { margin-bottom: 3rem; }

.org-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.org-card {
    background: var(--glass-surface);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--radius-lg);
    padding: 2.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--ease);
    cursor: pointer;
    border: 1px solid var(--glass-border);
    min-height: 180px;
    justify-content: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}
.org-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}
.org-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.org-card:hover::after { border-color: rgba(37,99,235,0.3); }

.org-logo { height: 58px; object-fit: contain; }
.org-name { font-weight: 700; font-size: 0.95rem; color: var(--text-primary); }

/* ─── Services Section ──────────────────────────────────── */
.services-section { background: var(--surface-alt); padding: 5rem 0; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 1.5rem;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.service-card {
    background: var(--glass-surface);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--radius-lg);
    padding: 2.22rem;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--glass-border);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-mid), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--brand-mid);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.15);
    background: var(--glass);
}
.service-card:hover::before { transform: scaleX(1); }

/* --- Lightbox / Image Zoom --- */
.zoom-target {
    cursor: zoom-in;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.zoom-target:hover {
    transform: scale(1.05);
}

#lightboxOverlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}
#lightboxOverlay.active { display: flex; animation: fadeIn 0.3s ease; }
#lightboxOverlay img { 
    max-width: 90%; max-height: 85vh; 
    border-radius: 12px; 
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    transform: scale(0.9); transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
#lightboxOverlay.active img { transform: scale(1); }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.service-card-icon {
    width: 58px;
    height: 58px;
    background: var(--brand-light);
    color: var(--brand-mid);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
    transition: var(--ease);
    flex-shrink: 0;
}
.service-card:hover .service-card-icon {
    background: var(--brand-mid);
    color: white;
}

.service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
    line-height: 1.3;
}
.service-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 1.5rem;
    flex: 1;
}

.view-btn-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    align-self: flex-start;
    padding: 0.5rem 1.1rem;
    background: var(--surface-alt);
    color: var(--text-secondary);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid var(--border-light);
    transition: var(--ease);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.service-card:hover .view-btn-pill {
    background: var(--brand-mid);
    color: white;
    border-color: var(--brand-mid);
}

/* ─── Summary Section ───────────────────────────────────── */
.summary-home-section { padding: 5rem 0; background: var(--surface); }

.summary-section-title {
    font-size: clamp(2rem, 5vw, 3.75rem);
    font-weight: 200;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 0.75rem;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 1.5rem;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.summary-card {
    background: var(--glass-surface);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--ease);
    box-shadow: var(--shadow-sm);
}
.summary-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: #3b82f6;
}

.summary-logo { width: 72px; height: 72px; margin-bottom: 1rem; object-fit: contain; }

.summary-abbrev {
    font-size: 1.6rem;
    font-weight: 900;
    color: #3b82f6; /* Bluelight */
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.summary-stats-box {
    background: var(--surface-alt);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
    width: 100%;
    text-align: left;
}

.stat-line {
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.25rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.stat-line::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #3b82f6; /* Bluelight */
    flex-shrink: 0;
}

.progress-container {
    width: 100%;
    height: 8px;
    background: var(--border-light);
    border-radius: 50px;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: visible;
}
.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--brand-mid), var(--accent));
    border-radius: 50px;
    transition: width 1s ease-out;
}
.progress-percent {
    position: absolute;
    top: -26px;
    right: 0;
    background: var(--text-primary);
    color: white;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    transform: translateX(50%);
}

.summary-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.75rem;
    border-radius: 50px;
    background: transparent;
    color: var(--brand-mid);
    border: 1.5px solid var(--brand-mid);
    font-weight: 700;
    font-size: 0.85rem;
    transition: var(--ease);
    text-decoration: none;
}
.summary-read-more:hover {
    background: var(--brand-mid);
    color: white;
}

/* Dashboard Bar */
.summary-dashboard-bar {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-mid) 100%);
    padding: 3rem 4rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: var(--max-w);
    margin: 4rem auto 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-blue);
    color: white;
}
.dash-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-right: 1.5rem;
    border-right: 1px solid rgba(255,255,255,0.15);
}
.dash-item:last-child { border-right: none; padding-right: 0; }
.dash-num { font-size: 3.5rem; font-weight: 900; color: white; line-height: 1; }
.dash-label { font-size: 1rem; font-weight: 600; line-height: 1.35; color: rgba(255,255,255,0.85); max-width: 160px; }

/* ─── News Section ──────────────────────────────────────── */
.news-home-section { background: transparent; padding: 5rem 0; }
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 1.5rem;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.news-home-card {
    background: var(--glass-surface);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: var(--ease);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}
.news-home-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand-mid);
}

.news-home-img { height: 200px; overflow: hidden; position: relative; }
.news-home-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.news-home-card:hover .news-home-img img { transform: scale(1.06); }

.news-home-content { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.news-home-meta { color: var(--text-light); font-size: 0.8rem; margin-bottom: 0.5rem; font-weight: 500; }
.news-home-title { font-size: 1.15rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.5rem; line-height: 1.35; }
.news-home-excerpt {
    color: var(--text-muted); font-size: 0.92rem; line-height: 1.6; margin-bottom: 1.25rem; flex: 1;
    display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.read-more-link {
    margin-top: auto;
    color: var(--brand-mid);
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

/* ─── Video Section ─────────────────────────────────────── */
.video-home-section { background: var(--surface); padding: 5rem 0; }
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.video-card-home {
    background: var(--glass-surface);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    cursor: pointer;
    transition: var(--ease);
    box-shadow: var(--shadow-sm);
}
.video-card-home:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand-mid);
}

.video-thumb-container { position: relative; height: 210px; overflow: hidden; }
.video-thumb-container img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s ease; }
.video-card-home:hover .video-thumb-container img { transform: scale(1.05); }

.play-overlay {
    position: absolute; inset: 0;
    background: rgba(15,23,42,0.35);
    display: flex; align-items: center; justify-content: center;
    transition: background 0.3s;
}
.video-card-home:hover .play-overlay { background: rgba(37,99,235,0.45); }

.play-btn-circle {
    width: 62px; height: 62px;
    background: white;
    color: var(--brand-mid);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    transition: var(--ease);
}
.video-card-home:hover .play-btn-circle { transform: scale(1.1); background: var(--brand-mid); color: white; }

.video-info-home { padding: 1.25rem 1.5rem; }
.video-title-home { font-size: 1.15rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.35rem; line-height: 1.3; }
.video-desc-home { color: var(--text-muted); font-size: 0.92rem; line-height: 1.5; }

/* ─── About Section ─────────────────────────────────────── */
.about-section { padding: 6rem 0; background: transparent; }
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 5rem; align-items: center; }

.badge-about {
    display: inline-block;
    background: #f1f5f9;
    color: #334155;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 0.6rem 1.4rem;
    border-radius: 100px;
    letter-spacing: 0.02em;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.about-main-title {
    font-size: clamp(2rem, 5vw, 3.75rem);
    font-weight: 200;
    color: var(--text-primary);
    margin-bottom: 2rem;
    line-height: 1.1;
    letter-spacing: -0.04em;
    text-align: left;
}

.about-description { 
    color: var(--text-secondary); 
    font-size: 1.15rem; 
    line-height: 1.8; 
    margin-bottom: 3rem; 
    max-width: 700px;
}

.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 0.5rem; }
.stat-item { padding: 0.5rem 0; border-left: 2px solid rgba(37, 99, 235, 0.1); padding-left: 1.25rem; }
.stat-item h3 { font-size: 2.25rem; color: var(--brand-mid); font-weight: 900; margin-bottom: 0.35rem; display: flex; align-items: baseline; gap: 8px; }
.stat-symbol { color: var(--brand-mid); opacity: 0.85; font-size: 0.8em; font-weight: 700; }
.stat-item p { color: #64748b; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }

.about-visual { position: relative; }
.visual-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    height: 460px;
    box-shadow: var(--shadow-lg);
    border: 6px solid white;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.visual-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.visual-card:hover { transform: translateY(-10px); box-shadow: 0 40px 80px -15px rgba(15,23,42,0.25); }
.visual-card:hover img { transform: scale(1.04); }

/* ─── Modal ─────────────────────────────────────────────── */
.modal-overlay {
    position: fixed; inset: 0;
    background: rgba(10, 20, 40, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 1.5rem;
}
.modal-overlay.active { display: flex; opacity: 1; }

.service-modal {
    background: white;
    width: 100%;
    max-width: 660px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}
.modal-overlay.active .service-modal { transform: translateY(0); }

.modal-header {
    padding: 2rem 2rem 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    border-bottom: 1px solid var(--border-light);
}
.modal-icon {
    width: 72px; height: 72px;
    background: var(--brand-light);
    color: var(--brand-mid);
    border-radius: var(--radius-lg);
    display: flex; align-items: center; justify-content: center;
    font-size: 2.25rem; flex-shrink: 0;
}
.modal-title-area h2 { font-size: 1.5rem; font-weight: 800; color: var(--text-primary); margin-bottom: 0.35rem; }
.modal-title-area p  { color: var(--brand-mid); font-weight: 600; font-size: 0.9rem; }

.modal-body { padding: 1.5rem 2rem; }
.detail-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1.5rem; }
.detail-item { background: var(--surface-alt); padding: 1rem 1.25rem; border-radius: var(--radius-md); border: 1px solid var(--border-light); }
.detail-item label { display: block; color: var(--text-muted); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.4rem; }
.detail-item span  { color: var(--text-primary); font-weight: 700; font-size: 0.95rem; }

.description-box { margin-bottom: 1.25rem; }
.description-box h4 { font-size: 0.8rem; font-weight: 800; color: var(--text-primary); margin-bottom: 0.6rem; text-transform: uppercase; letter-spacing: 0.05em; border-left: 3px solid var(--brand-mid); padding-left: 10px; }
.description-box p  { color: var(--text-secondary); line-height: 1.65; font-size: 0.95rem; }

.docs-list { background: #fffbeb; border: 1px solid #fde68a; padding: 1.25rem; border-radius: var(--radius-md); margin-top: 1.25rem; }
.docs-list h4 { color: #92400e; font-size: 0.82rem; font-weight: 800; margin-bottom: 0.6rem; display: flex; align-items: center; gap: 6px; }
.docs-list p  { color: #b45309; font-size: 0.9rem; line-height: 1.55; }

.modal-footer {
    padding: 1.25rem 2rem;
    background: var(--surface-alt);
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.btn-apply {
    background: var(--text-primary);
    color: white;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--ease);
    text-decoration: none;
    display: inline-block;
}
.btn-apply:hover { background: var(--brand); }

.btn-close {
    background: var(--border-light);
    color: var(--text-muted);
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--ease);
    font-size: 0.92rem;
    font-family: inherit;
}
.btn-close:hover { background: var(--border-mid); color: var(--text-primary); }

/* Org Services Modal */
#orgServicesModal .service-modal { max-width: 820px; }
.org-modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-light);
    position: sticky; top: 0;
    background: white; z-index: 10;
    display: flex; justify-content: center; align-items: center;
}
.org-modal-header h2 { font-size: 1.5rem; font-weight: 800; color: var(--text-primary); margin: 0; }
.org-modal-close { position: absolute; right: 1.5rem; cursor: pointer; font-size: 1.4rem; color: var(--text-muted); padding: 0.25rem; border-radius: var(--radius-sm); transition: color 0.2s; }
.org-modal-close:hover { color: var(--text-primary); }

.service-accordion-item { border: 1px solid var(--border-light); border-radius: var(--radius-md); margin-bottom: 0.75rem; overflow: hidden; }
.service-accordion-header { padding: 1.25rem 1.5rem; display: flex; justify-content: space-between; align-items: center; cursor: pointer; transition: 0.2s; background: white; }
.service-accordion-header:hover { background: var(--surface-alt); }
.service-accordion-header h3 { font-size: 1.05rem; font-weight: 700; color: var(--text-primary); margin: 0; }
.service-accordion-header .arrow { transition: transform 0.3s; color: var(--text-muted); }
.service-accordion-item.active .service-accordion-header .arrow { transform: rotate(180deg); }
.service-accordion-content { display: none; padding: 1.5rem; border-top: 1px solid var(--border-light); background: white; }
.service-accordion-item.active .service-accordion-content { display: block; animation: slideDown 0.3s ease-out; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* Video Player Modal */
#videoPlayerModal .service-modal { max-width: 820px; padding: 0; background: black; border-radius: var(--radius-lg); }
.video-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; }
.video-container iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }

/* ─── Buttons ───────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: var(--ease);
    font-family: inherit;
}
.btn-primary-site {
    background: var(--brand-mid);
    color: white;
}
.btn-primary-site:hover {
    background: var(--brand);
    transform: translateY(-2px);
    box-shadow: var(--shadow-blue);
}
.btn-outline-site {
    background: transparent;
    color: var(--brand-mid);
    border: 2px solid var(--brand-mid);
    border-radius: 50px;
}
.btn-outline-site:hover {
    background: var(--brand-mid);
    color: white;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2.5rem;
    padding: 0.75rem 2rem;
    background: transparent;
    color: var(--brand-mid);
    border: 2px solid var(--brand-mid);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--ease);
}
.view-all-btn:hover { background: var(--brand-mid); color: white; }

/* ─── Footer ────────────────────────────────────────────── */
footer {
    background: linear-gradient(160deg, #0f172a 0%, #111e40 100%);
    color: white;
    padding: 2.5rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 2rem;
    align-items: start;
}

.footer-logo img { 
    height: 110px; 
    margin-bottom: 1.5rem; 
    margin-left: 2rem;
    object-fit: contain; 
    border-radius: 12px; 
    background: white; 
    padding: 8px; 
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}
.footer-contact { display: flex; flex-direction: column; gap: 0.5rem; }
.contact-glass-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.45rem 1rem;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: var(--ease);
    margin-bottom: 0.2rem;
}
.contact-glass-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}
.contact-glass-item i { color: var(--brand-mid); font-size: 0.85rem; width: 18px; text-align: center; }
.contact-glass-item a { color: inherit; text-decoration: none; transition: color 0.2s; }
.contact-glass-item a:hover { color: white; }
.footer-contact a { color: white; transition: color 0.2s; }
.footer-contact a:hover { color: var(--accent); }

.footer-title {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-light);
    margin-bottom: 1rem;
    padding-left: 2.75rem;
}

.footer-links { display: flex; flex-direction: column; gap: 0.5rem; list-style: none; }
.footer-links li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.5rem 1.1rem;
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    transition: var(--ease);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    line-height: 1;
}
.footer-links li a i { color: var(--brand-mid); font-size: 0.8rem; }
.footer-links li a:hover { 
    background: rgba(255,255,255,0.1); 
    border-color: var(--brand-mid);
    color: white; 
    transform: translateX(6px); 
}

.footer-socials { display: flex; flex-direction: column; gap: 0.5rem; }
.social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 0.5rem 1.1rem;
    border-radius: 10px;
    text-decoration: none;
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    font-weight: 700;
    transition: var(--ease);
    line-height: 1;
}
.social-link:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--brand-mid);
    color: white;
    transform: translateX(4px);
}
.social-link i { width: 18px; text-align: center; color: var(--brand-mid); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    margin-top: 2rem;
    padding-top: 1rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    max-width: var(--max-w);
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* ─── Contact Page Specifics ────────────────────────────── */
.page-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    padding: 5rem 0 4rem;
    text-align: center;
    color: white;
}
.page-hero h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; margin-bottom: 0.75rem; letter-spacing: -0.03em; }
.page-hero p  { color: rgba(255,255,255,0.7); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* Contact form & cards */
.contact-section { padding: 5rem 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 3.5rem; max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; align-items: start; }

.contact-sidebar { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-info-card {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    box-shadow: var(--shadow-xs);
    transition: var(--ease);
}
.contact-info-card:hover { box-shadow: var(--shadow-sm); border-color: var(--brand-mid); }
.contact-icon {
    width: 48px; height: 48px;
    background: var(--brand-light);
    color: var(--brand-mid);
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem; flex-shrink: 0;
}
.contact-info-card h4 { font-size: 0.85rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.35rem; }
.contact-info-card p, .contact-info-card a { font-size: 0.95rem; color: var(--text-secondary); text-decoration: none; transition: color 0.2s; }
.contact-info-card a:hover { color: var(--brand-mid); }

.contact-form-card {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
}
.contact-form-card h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 0.5rem; }
.contact-form-card .subtitle { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 2rem; }

.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 700; color: var(--text-secondary); margin-bottom: 0.5rem; letter-spacing: 0.01em; }
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text-primary);
    background: var(--surface-alt);
    transition: var(--ease);
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--brand-mid);
    background: white;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.form-group textarea { resize: vertical; min-height: 130px; }

.social-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 0.5rem; }
.social-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    background: var(--surface-alt);
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
    transition: var(--ease);
}
.social-btn:hover { background: var(--brand-light); color: var(--brand-mid); border-color: var(--brand-mid); }

/* ─── About Page ────────────────────────────────────────── */
.page-intro { text-align: center; padding: 5rem 0 3rem; }
.page-intro h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; color: var(--text-primary); margin-bottom: 1.25rem; letter-spacing: -0.03em; }
.page-intro p  { font-size: 1.1rem; color: var(--text-muted); max-width: 780px; margin: 0 auto; line-height: 1.75; }

.info-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-xs);
    border: 1px solid var(--border-light);
    transition: var(--ease);
}
.info-card:hover { box-shadow: var(--shadow-sm); }
.card-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.card-icon {
    width: 52px; height: 52px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; flex-shrink: 0;
}
.card-header h2 { font-size: 1.35rem; font-weight: 800; color: var(--text-primary); }

.feature-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; margin-top: 1.25rem; }
.feature-item {
    background: var(--surface-alt);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--ease);
}
.feature-item:hover { border-color: var(--brand-mid); color: var(--brand-mid); background: var(--brand-light); }
.feature-item i { color: var(--brand-mid); font-size: 1.1rem; }

/* About Page Specific Layouts */
.card-container { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 4rem; }
@media (max-width: 768px) { .card-container { grid-template-columns: 1fr; } }

/* Values Section */
.values-section { padding: 4rem 0 6rem; text-align: center; }
.values-section h2 { font-size: 2rem; font-weight: 800; margin-bottom: 3rem; color: var(--text-primary); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
@media (max-width: 768px) { .values-grid { grid-template-columns: 1fr; } }

.value-card {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--ease);
    box-shadow: var(--shadow-xs);
}
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--brand-mid); }

.value-icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 1.5rem;
    flex-shrink: 0;
    overflow: hidden;
}

.value-card h3 { font-size: 1.25rem; font-weight: 800; color: var(--text-primary); margin-bottom: 1rem; }
.value-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

/* Icon Color Helpers */
.icon-blue { background: #eff6ff; color: #3b82f6; }
.icon-gold { background: #fffbeb; color: #f59e0b; }
.icon-green { background: #ecfdf5; color: #10b981; }
.icon-red { background: #fef2f2; color: #ef4444; }
.icon-purple { background: #f5f3ff; color: #8b5cf6; }

/* Footer Banner (Shared with Index) */
.footer-banner {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-mid) 100%);
    color: white;
    text-align: center;
    padding: 6rem 2rem;
    border-radius: var(--radius-xl);
    margin: 4rem 0 6rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.footer-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.05;
}
.banner-icon {
    width: 80px; height: 80px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 2rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
}
.banner-icon img { width: 100%; height: 100%; object-fit: contain; }
.footer-banner h2 { font-size: 2.5rem; font-weight: 900; margin-bottom: 1rem; position: relative; z-index: 1; letter-spacing: -0.02em; }
.footer-banner p { font-size: 1.25rem; color: rgba(255,255,255,0.8); max-width: 700px; margin: 0 auto; position: relative; z-index: 1; }

/* ─── Blog / News List Page ─────────────────────────────── */
.page-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: white;
    padding: 5rem 2rem 4rem;
    text-align: center;
}
.page-header h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 900; margin-bottom: 0.75rem; letter-spacing: -0.03em; }
.page-header p  { color: rgba(255,255,255,0.7); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

.news-section { padding: 5rem 0; background: var(--surface-alt); }
.news-section .container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

.news-card {
    display: block;
    background: var(--surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: var(--ease);
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-xs);
}
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand-mid);
}

.news-image {
    height: 210px;
    overflow: hidden;
    position: relative;
    background: var(--surface-alt);
}
.news-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; display: block; }
.news-card:hover .news-image img { transform: scale(1.06); }

.news-category {
    position: absolute;
    top: 1rem; left: 1rem;
    background: var(--brand-mid);
    color: white;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    z-index: 2;
}

.news-content { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; }
.news-meta { color: var(--text-light); font-size: 0.8rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.news-meta span { display: flex; align-items: center; gap: 0.35rem; }
.news-title { font-size: 1.1rem; font-weight: 700; color: var(--text-primary); line-height: 1.35; }
.news-excerpt { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.read-more { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 0.5rem; color: var(--brand-mid); font-weight: 700; font-size: 0.85rem; transition: gap var(--ease); }
.news-card:hover .read-more { gap: 0.6rem; }

/* ─── Contact Page ──────────────────────────────────────── */
.contact-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    padding: 5rem 2rem 4rem;
    text-align: center;
    color: white;
}
.contact-hero h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; margin-bottom: 0.75rem; letter-spacing: -0.03em; }
.contact-hero p  { color: rgba(255,255,255,0.7); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

.info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.sidebar-logo img { height: 64px; margin-bottom: 0.5rem; }

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    box-shadow: var(--shadow-xs);
    transition: var(--ease);
}
.contact-item:hover { border-color: var(--brand-mid); box-shadow: var(--shadow-sm); }
.contact-item > i {
    width: 44px; height: 44px; flex-shrink: 0;
    background: var(--brand-light);
    color: var(--brand-mid);
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
}
.contact-item h4 { font-size: 0.78rem; font-weight: 800; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.3rem; }
.contact-item p, .contact-item a { font-size: 0.92rem; color: var(--text-secondary); text-decoration: none; transition: color 0.2s; line-height: 1.5; }
.contact-item a:hover { color: var(--brand-mid); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-input {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text-primary);
    background: var(--surface-alt);
    transition: var(--ease);
    outline: none;
}
.form-input:focus {
    border-color: var(--brand-mid);
    background: white;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.form-textarea { resize: vertical; min-height: 140px; }

.form-card-title { margin-bottom: 2rem; }
.form-card-title h2 { font-size: 1.5rem; font-weight: 800; color: var(--text-primary); margin-bottom: 0.35rem; }
.form-card-title p  { color: var(--text-muted); font-size: 0.92rem; }

.submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--brand-mid);
    color: white;
    border: none;
    padding: 0.9rem 2rem;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: var(--ease);
    margin-top: 0.5rem;
}
.submit-btn:hover { background: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow-blue); }
.submit-btn:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

#notification {
    display: none;
    position: fixed;
    bottom: 2rem; right: 2rem;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    z-index: 9999;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.3s ease;
}
@keyframes slideUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ─── News Detail Page ──────────────────────────────────── */
.article-header {
    padding: 3.5rem 0 2.5rem;
    max-width: 780px;
    margin: 0 auto;
}
.category-tag {
    display: inline-block;
    background: var(--brand-light);
    color: var(--brand-mid);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.25rem;
}
.article-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
}
.article-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 500;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}
.article-meta span { display: flex; align-items: center; gap: 0.4rem; }

.article-image {
    max-width: 900px;
    margin: 0 auto 3rem;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.article-image img { width: 100%; height: auto; object-fit: cover; }

.article-container {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem 5rem;
    align-items: start;
}

.article-content {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 1px solid var(--border-light);
    line-height: 1.8;
    font-size: 1rem;
    color: var(--text-secondary);
}
.article-content p { margin-bottom: 1.25rem; }

.sidebar h3 {
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-light);
}

.related-card {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--border-light);
    text-decoration: none;
    color: inherit;
    transition: var(--ease);
}
.related-card:hover { opacity: 0.75; }
.related-card:last-child { border-bottom: none; }

.related-img {
    width: 72px;
    height: 58px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}
.related-info h4 { font-size: 0.88rem; font-weight: 700; color: var(--text-primary); line-height: 1.3; margin-bottom: 0.3rem; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.related-info span { font-size: 0.78rem; color: var(--text-muted); }


/* ─── Modern Responsive Overhaul (Mobile-First) ────────── */

/* 1. Base Adaptive Utilities */
@media (max-width: 1200px) {
    .container { padding: 0 5%; }
    .org-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
    .summary-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

@media (max-width: 1024px) {
    :root { --nav-h: 70px; }
    
    .about-grid { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
    .about-visual { order: -1; height: 350px; }
    .about-stats { justify-content: center; }
    
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
    
    .has-mega-menu .dropdown-menu {
        flex-direction: column;
        min-width: 280px;
        padding: 1.5rem;
        gap: 1.5rem;
    }
}

/* --- Layout Stability --- */
html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
}

/* --- ALL DEVICES MOBILE BREAKPOINT (FORCED PRO VIEW) --- */
@media (max-width: 1024px) {
    /* MOBILE HEADER REFINEMENT */
    .top-navbar { height: 60px !important; padding: 0 1rem !important; }
    .nav-actions { display: flex !important; align-items: center; gap: 0.5rem; }
    
    /* REMOVE THEME BUTTON FROM MOBILE HEADER (AS REQUESTED) */
    .theme-trigger { display: none !important; }
    
    .logo-text { display: none !important; } /* Clean header for mobile */

    /* PREMIUM GLASS MOBILE MENU */
    .nav-menu {
        position: fixed;
        top: 0; left: 0; width: 100%; height: 100vh;
        background: rgba(15, 23, 42, 0.8) !important; 
        backdrop-filter: blur(30px) !important;
        -webkit-backdrop-filter: blur(30px) !important;
        flex-direction: column;
        justify-content: center;
        padding: 5rem 2rem;
        gap: 0.5rem;
        z-index: 2000;
        display: none;
        opacity: 0;
        transform: translateY(-20px);
        transition: all 0.4s ease;
    }
    
    .nav-menu.open { display: flex; opacity: 1; transform: translateY(0); }

    /* THE TOGGLE & DARK MODE BUTTON PAIR */
    .nav-toggle, #navThemeToggle { 
        display: flex !important; 
        width: 40px; height: 40px;
        background: rgba(255,255,255,0.1);
        border: 1px solid rgba(255,255,255,0.2) !important;
        border-radius: 10px;
        align-items: center; justify-content: center;
        color: white; cursor: pointer;
    }

    /* ULTRA-STRICT DROPDOWN BEHAVIOR */
    .nav-link { font-size: 1.3rem; padding: 1rem 0; color: white !important; width: 100%; border-bottom: 1px solid rgba(255,255,255,0.05); }
    
    .dropdown-menu {
        display: none !important; 
        visibility: hidden;
        position: static;
        width: 100%;
        background: rgba(255,255,255,0.03) !important;
        margin-top: 5px;
        border-radius: 8px;
    }
    
    .has-dropdown.active > .dropdown-menu {
        display: block !important; 
        visibility: visible;
        animation: slideDownFade 0.3s forwards;
    }
    
    .mega-col { padding: 1rem; }
    .mega-title { font-size: 0.7rem; color: var(--accent); opacity: 0.8; margin-bottom: 0.5rem; }

    /* HERO CLEANUP */
    .hero { min-height: 50vh !important; }
    .hero-container h1 { font-size: 2rem !important; }
    .hero-subtitle, .hero-description { display: none !important; }
}

@media (max-width: 480px) {
    .nav-logo .main-title { display: none; }
    .nav-logo img { height: 32px; }
}

/* ─── Smooth Animations ─────────────────────────────────── */
@keyframes slideDownFade {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.zoom-target { transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); cursor: pointer; }
.zoom-target:hover { transform: scale(1.02); }

/* Reveal on Scroll Enhancements */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
