/* ============================================================
   DESIGN SYSTEM — H.E. Sana bint Mohamed Suhail
   Premium Government + Corporate Leadership Website
   ============================================================ */

/* ---- CSS Variables ---- */
:root {
    --navy: #0a1628;
    --navy-mid: #132240;
    --navy-light: #1b3a5c;
    --royal: #1a3a6b;
    --gold: #c9a84c;
    --gold-light: #e3c96e;
    --gold-dark: #a8872e;
    --white: #ffffff;
    --off-white: #f7f8fa;
    --gray-50: #f0f2f5;
    --gray-100: #e2e5ea;
    --gray-200: #c5c9d2;
    --gray-400: #8a90a0;
    --gray-600: #555c6e;
    --gray-800: #2a2f3e;
    --text: #1a1e2c;
    --text-light: #555c6e;
    --text-muted: #8a90a0;
    --font-heading: 'Playfair Display', 'Georgia', serif;
    --font-body: 'Inter', 'Segoe UI', sans-serif;
    --font-accent: 'Cormorant Garamond', 'Georgia', serif;
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --shadow-sm: 0 2px 8px rgba(10,22,40,0.06);
    --shadow-md: 0 8px 32px rgba(10,22,40,0.1);
    --shadow-lg: 0 16px 64px rgba(10,22,40,0.14);
    --shadow-gold: 0 4px 24px rgba(201,168,76,0.2);
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); line-height: 1.7; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.3s; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input { font-family: inherit; }

/* ---- Utilities ---- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.hidden { display: none !important; }
.text-gold { color: var(--gold); }
.light { color: var(--white) !important; }

/* ============================================================
   PASSWORD GATE
   ============================================================ */
.password-gate {
    position: fixed; inset: 0; z-index: 10000;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--navy) 0%, #0d2847 40%, var(--navy-mid) 100%);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.password-gate.fade-out {
    opacity: 0; transform: scale(1.05);
    pointer-events: none;
}
.gate-bg-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridFloat 20s linear infinite;
}
@keyframes gridFloat {
    0% { transform: translate(0,0); }
    100% { transform: translate(60px,60px); }
}
.gate-shimmer {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 600px 400px at 50% 50%, rgba(201,168,76,0.08), transparent);
    animation: shimmerPulse 4s ease-in-out infinite;
}
@keyframes shimmerPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}
.gate-content { position: relative; z-index: 2; width: 100%; max-width: 440px; padding: 1.5rem; }
.gate-card {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    text-align: center;
    box-shadow: 0 24px 80px rgba(0,0,0,0.3);
}
.gate-emblem { margin-bottom: 1.5rem; }
.gate-icon { width: 64px; height: 64px; color: var(--gold); }
.gate-title { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 600; color: var(--white); margin-bottom: 0.3rem; }
.gate-subtitle { font-size: 0.85rem; color: var(--gray-400); margin-bottom: 2rem; letter-spacing: 0.05em; text-transform: uppercase; }
.gate-input-wrap { display: flex; gap: 0.5rem; margin-bottom: 0.75rem; }
.gate-input {
    flex: 1; padding: 0.9rem 1.2rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-sm);
    color: var(--white); font-size: 0.95rem;
    outline: none; transition: var(--transition);
}
.gate-input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,0.15); }
.gate-input::placeholder { color: var(--gray-400); }
.gate-btn {
    padding: 0.9rem 1.2rem;
    background: var(--gold);
    border-radius: var(--radius-sm);
    color: var(--navy);
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
}
.gate-btn:hover { background: var(--gold-light); transform: translateX(2px); }
.gate-error { color: #e74c3c; font-size: 0.85rem; min-height: 1.2em; }
.gate-footer-text { margin-top: 1.5rem; font-size: 0.75rem; color: var(--gray-400); letter-spacing: 0.1em; text-transform: uppercase; }

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.main-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    background: transparent;
}
.main-header.scrolled {
    background: rgba(10,22,40,0.95);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    padding: 0.6rem 0;
    box-shadow: 0 4px 32px rgba(0,0,0,0.2);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; max-width: 1400px; margin: 0 auto; padding: 0 2rem; }
.header-logo { display: flex; flex-direction: column; }
.logo-text { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 600; color: var(--white); line-height: 1.2; }
.logo-sub { font-size: 0.7rem; color: var(--gold); letter-spacing: 0.08em; text-transform: uppercase; }
.main-nav { display: flex; gap: 0.2rem; align-items: center; }
.nav-link {
    padding: 0.5rem 0.8rem; font-size: 0.82rem; font-weight: 500; color: rgba(255,255,255,0.75);
    border-radius: 8px; transition: var(--transition); letter-spacing: 0.01em;
}
.nav-link:hover, .nav-link.active { color: var(--white); background: rgba(255,255,255,0.08); }
.nav-link.active { color: var(--gold); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 1001; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); transition: var(--transition); border-radius: 2px; }
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, var(--royal) 100%);
    overflow: hidden; padding: 8rem 0 4rem;
}
.hero-bg-overlay {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(201,168,76,0.06) 0%, transparent 60%);
}
.hero-pattern {
    position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(201,168,76,0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.02) 0%, transparent 40%);
}
.hero-content {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
    max-width: 1400px; margin: 0 auto; padding: 0 3rem; position: relative; z-index: 2;
}
.hero-badge {
    display: inline-block; padding: 0.5rem 1.2rem;
    background: rgba(201,168,76,0.12); border: 1px solid rgba(201,168,76,0.25);
    border-radius: 50px; color: var(--gold); font-size: 0.8rem;
    font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.hero-title {
    font-family: var(--font-heading); font-size: clamp(2.2rem, 4vw, 3.6rem);
    font-weight: 700; color: var(--white); line-height: 1.15; margin-bottom: 1.5rem;
}
.hero-accent { color: var(--gold); font-style: italic; }
.hero-desc { font-size: 1.1rem; color: rgba(255,255,255,0.7); line-height: 1.8; margin-bottom: 2rem; max-width: 540px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-portrait { display: flex; justify-content: center; }
.portrait-frame {
    position: relative; width: 420px; height: 520px;
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: 0 32px 80px rgba(0,0,0,0.4);
}
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; }
.portrait-glow {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(10,22,40,0.6) 100%);
}
.hero-scroll-indicator {
    position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
    color: rgba(255,255,255,0.4); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
}
.scroll-line { width: 1px; height: 40px; background: linear-gradient(180deg, var(--gold), transparent); animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.85rem 2rem; font-size: 0.9rem; font-weight: 600;
    border-radius: var(--radius-sm); transition: var(--transition);
    letter-spacing: 0.02em;
}
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.btn-outline { border: 1.5px solid rgba(255,255,255,0.3); color: var(--white); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,0.08); }
.btn-outline.light { border-color: rgba(255,255,255,0.4); color: var(--white); }
.btn-outline.light:hover { border-color: var(--gold); color: var(--gold); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-mid); transform: translateY(-2px); }

/* ============================================================
   SECTIONS (COMMON)
   ============================================================ */
.section { padding: 6rem 0; position: relative; }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 4rem; }
.section-tag {
    display: inline-block; padding: 0.4rem 1rem;
    background: rgba(201,168,76,0.1); color: var(--gold);
    font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
    border-radius: 50px; margin-bottom: 1rem;
}
.section-tag.light { background: rgba(255,255,255,0.1); color: var(--gold-light); }
.section-title {
    font-family: var(--font-heading); font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700; line-height: 1.25; margin-bottom: 1rem; color: var(--text);
}
.section-title.light { color: var(--white); }
.section-desc { font-size: 1.05rem; color: var(--text-light); line-height: 1.8; }

/* ============================================================
   LEADERSHIP SECTION
   ============================================================ */
.leadership-section { background: var(--off-white); }
.leadership-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.leadership-card {
    background: var(--white); padding: 2.5rem 2rem;
    border-radius: var(--radius-md); text-align: center;
    box-shadow: var(--shadow-sm); transition: var(--transition);
    border: 1px solid transparent;
}
.leadership-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: rgba(201,168,76,0.2); }
.lc-icon { width: 56px; height: 56px; margin: 0 auto 1.5rem; color: var(--gold); }
.lc-icon svg { width: 100%; height: 100%; }
.leadership-card h3 { font-family: var(--font-heading); font-size: 1.15rem; margin-bottom: 0.75rem; color: var(--navy); }
.leadership-card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.7; }

/* ============================================================
   INITIATIVES SECTION
   ============================================================ */
.initiatives-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.initiatives-image { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.initiatives-image img { width: 100%; height: 500px; object-fit: cover; }
.img-overlay-badge {
    position: absolute; top: 1.5rem; left: 1.5rem;
    padding: 0.5rem 1.2rem; background: var(--gold); color: var(--navy);
    font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
    border-radius: 50px;
}
.initiatives-content .section-tag { margin-bottom: 0.8rem; }
.initiatives-content .section-title { text-align: left; font-size: clamp(1.6rem, 2.5vw, 2.2rem); margin-bottom: 2rem; }
.initiative-item { display: flex; gap: 1.2rem; padding: 1.2rem 0; border-bottom: 1px solid var(--gray-100); }
.initiative-item:last-of-type { border-bottom: none; }
.init-number {
    font-family: var(--font-heading); font-size: 2rem; font-weight: 700;
    color: var(--gold); opacity: 0.4; line-height: 1; min-width: 48px;
}
.initiative-item h4 { font-size: 1rem; font-weight: 600; color: var(--navy); margin-bottom: 0.3rem; }
.initiative-item p { font-size: 0.9rem; color: var(--text-light); line-height: 1.7; }

/* ============================================================
   METRICS SECTION
   ============================================================ */
.metrics-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    padding: 6rem 0; position: relative; overflow: hidden;
}
.metrics-bg-pattern {
    position: absolute; inset: 0;
    background-image: radial-gradient(circle at 30% 50%, rgba(201,168,76,0.05) 0%, transparent 60%);
}
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.metric-card {
    background: rgba(255,255,255,0.05); backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md); padding: 2.5rem 2rem; text-align: center;
    transition: var(--transition);
}
.metric-card:hover { background: rgba(255,255,255,0.08); transform: translateY(-4px); }
.metric-value {
    font-family: var(--font-heading); font-size: 3rem; font-weight: 700;
    color: var(--gold); margin-bottom: 0.5rem;
}
.metric-label { font-size: 0.9rem; color: rgba(255,255,255,0.7); margin-bottom: 1.5rem; }
.metric-bar { width: 100%; height: 4px; background: rgba(255,255,255,0.1); border-radius: 4px; overflow: hidden; }
.metric-bar-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold-light)); border-radius: 4px; transition: width 1.5s ease; }

/* ============================================================
   POLICY SECTION
   ============================================================ */
.policy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.policy-card { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); }
.policy-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.policy-card.large { grid-column: 1 / 2; grid-row: 1 / 3; }
.policy-card-inner { position: relative; height: 100%; display: flex; flex-direction: column; background: var(--white); }
.policy-card-inner img { width: 100%; height: 280px; object-fit: cover; }
.policy-card.large .policy-card-inner img { height: 100%; flex: 1; min-height: 300px; }
.policy-card-content { padding: 2rem; }
.policy-tag {
    display: inline-block; padding: 0.3rem 0.8rem;
    background: rgba(201,168,76,0.1); color: var(--gold-dark);
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    border-radius: 50px; margin-bottom: 0.75rem;
}
.policy-card h3 { font-family: var(--font-heading); font-size: 1.2rem; color: var(--navy); margin-bottom: 0.5rem; }
.policy-card p { font-size: 0.88rem; color: var(--text-light); line-height: 1.7; margin-bottom: 1rem; }
.card-link { font-size: 0.85rem; font-weight: 600; color: var(--gold-dark); transition: var(--transition); }
.card-link:hover { color: var(--gold); }

/* ============================================================
   QUOTE SECTION
   ============================================================ */
.quote-section {
    background: var(--off-white); padding: 5rem 0; position: relative; overflow: hidden;
}
.quote-bg-animation {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(201,168,76,0.04) 0%, transparent 70%);
}
.quote-block { max-width: 800px; margin: 0 auto; text-align: center; position: relative; }
.quote-mark { width: 60px; height: 45px; color: var(--gold); opacity: 0.2; margin-bottom: 1.5rem; }
.quote-block blockquote {
    font-family: var(--font-accent); font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-style: italic; color: var(--navy); line-height: 1.7; margin-bottom: 2rem;
}
.quote-author { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.quote-author-line { width: 40px; height: 2px; background: var(--gold); }
.quote-author span { font-size: 0.9rem; font-weight: 600; color: var(--navy); letter-spacing: 0.04em; }

/* ============================================================
   PROGRAMS SECTION
   ============================================================ */
.programs-carousel { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.program-slide {
    background: var(--white); border: 1px solid var(--gray-100);
    border-radius: var(--radius-md); padding: 2.5rem 2rem; text-align: center;
    transition: var(--transition);
}
.program-slide:hover { border-color: var(--gold); box-shadow: var(--shadow-md); transform: translateY(-6px); }
.program-icon-wrap { width: 64px; height: 64px; margin: 0 auto 1.5rem; color: var(--gold); }
.program-icon-wrap svg { width: 100%; height: 100%; }
.program-slide h3 { font-family: var(--font-heading); font-size: 1.05rem; color: var(--navy); margin-bottom: 0.75rem; }
.program-slide p { font-size: 0.88rem; color: var(--text-light); line-height: 1.7; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--royal) 100%);
    padding: 5rem 0; text-align: center; position: relative; overflow: hidden;
}
.cta-bg {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 100%, rgba(201,168,76,0.08), transparent 60%);
}
.cta-content { position: relative; z-index: 2; max-width: 640px; margin: 0 auto; }
.cta-content h2 { font-family: var(--font-heading); font-size: clamp(1.6rem, 2.8vw, 2.4rem); color: var(--white); margin-bottom: 1rem; }
.cta-content p { font-size: 1rem; color: rgba(255,255,255,0.7); margin-bottom: 2rem; line-height: 1.8; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.main-footer {
    background: var(--navy); color: rgba(255,255,255,0.7); position: relative; overflow: hidden;
}
.footer-bg-animation {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 20% 0%, rgba(201,168,76,0.04), transparent 50%),
                radial-gradient(ellipse at 80% 100%, rgba(26,58,107,0.3), transparent 50%);
}
.footer-top { padding: 4rem 0 3rem; position: relative; z-index: 2; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; }
.footer-logo-text { font-family: var(--font-heading); font-size: 1.2rem; color: var(--white); margin-bottom: 1rem; }
.footer-about-text { font-size: 0.88rem; line-height: 1.7; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: 0.75rem; }
.social-link {
    width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px; color: rgba(255,255,255,0.6); transition: var(--transition);
}
.social-link:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.footer-col h4 {
    font-family: var(--font-heading); font-size: 1rem; color: var(--white);
    margin-bottom: 1.2rem; position: relative; padding-bottom: 0.75rem;
}
.footer-col h4::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 30px; height: 2px; background: var(--gold);
}
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { font-size: 0.88rem; color: rgba(255,255,255,0.6); transition: var(--transition); }
.footer-links a:hover { color: var(--gold); padding-left: 4px; }
.footer-contact-col p { font-size: 0.88rem; margin-bottom: 0.4rem; }
.footer-contact-col a { color: var(--gold); }
.footer-contact-col a:hover { color: var(--gold-light); }
.footer-newsletter { margin-top: 1.5rem; }
.footer-newsletter h4 { margin-bottom: 0.8rem; }
.newsletter-form { display: flex; gap: 0.5rem; }
.newsletter-input {
    flex: 1; padding: 0.7rem 1rem;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-sm); color: var(--white); font-size: 0.85rem;
    outline: none; transition: var(--transition);
}
.newsletter-input:focus { border-color: var(--gold); }
.newsletter-input::placeholder { color: var(--gray-400); }
.newsletter-btn {
    padding: 0.7rem 1.2rem; background: var(--gold); color: var(--navy);
    border-radius: var(--radius-sm); font-size: 0.85rem; font-weight: 600;
    transition: var(--transition);
}
.newsletter-btn:hover { background: var(--gold-light); }
.footer-map { position: relative; z-index: 2; opacity: 0.6; }
.footer-map iframe { display: block; }
.footer-bottom {
    padding: 1.5rem 0; border-top: 1px solid rgba(255,255,255,0.08);
    position: relative; z-index: 2;
}
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.footer-credit a { color: var(--gold); font-weight: 600; }
.footer-credit a:hover { color: var(--gold-light); }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
    position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
    width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
    background: var(--gold); color: var(--navy);
    border-radius: 14px; box-shadow: var(--shadow-gold);
    opacity: 0; transform: translateY(20px); transition: var(--transition);
    pointer-events: none;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
.back-to-top:hover { background: var(--gold-light); transform: translateY(-4px); }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal-up, .reveal-left, .reveal-right {
    opacity: 0; transition: opacity 0.8s ease, transform 0.8s ease;
    transition-delay: var(--delay, 0s);
}
.reveal-up { transform: translateY(40px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-up.revealed, .reveal-left.revealed, .reveal-right.revealed {
    opacity: 1; transform: translate(0);
}

/* ============================================================
   INNER PAGE HERO (reused across subpages)
   ============================================================ */
.page-hero {
    position: relative; padding: 10rem 0 4rem;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, var(--royal) 100%);
    overflow: hidden;
}
.page-hero-pattern {
    position: absolute; inset: 0;
    background-image: radial-gradient(circle at 80% 20%, rgba(201,168,76,0.05) 0%, transparent 50%);
}
.page-hero-content { position: relative; z-index: 2; max-width: 720px; }
.page-hero .section-tag { margin-bottom: 1rem; }
.page-hero h1 {
    font-family: var(--font-heading); font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700; color: var(--white); margin-bottom: 1rem; line-height: 1.2;
}
.page-hero p { font-size: 1.05rem; color: rgba(255,255,255,0.7); line-height: 1.8; }

/* ============================================================
   INNER PAGE CONTENT SECTIONS
   ============================================================ */
.content-section { padding: 5rem 0; }
.content-section.alt { background: var(--off-white); }
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.content-grid.reverse { direction: rtl; }
.content-grid.reverse > * { direction: ltr; }
.content-wide { max-width: 900px; margin: 0 auto; }
.content-narrow { max-width: 720px; margin: 0 auto; }

/* Timeline */
.timeline { position: relative; padding-left: 3rem; }
.timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--gray-100); }
.timeline-item { position: relative; margin-bottom: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--gray-50); }
.timeline-item:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.timeline-item::before {
    content: ''; position: absolute; left: -3rem; top: 0.5rem;
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--gold); border: 3px solid var(--white);
    box-shadow: 0 0 0 3px rgba(201,168,76,0.2);
    transform: translateX(-6px);
}
.timeline-year { font-family: var(--font-heading); font-size: 0.9rem; font-weight: 700; color: var(--gold); margin-bottom: 0.3rem; }
.timeline-title { font-size: 1.1rem; font-weight: 600; color: var(--navy); margin-bottom: 0.4rem; }
.timeline-desc { font-size: 0.9rem; color: var(--text-light); line-height: 1.7; }

/* Info cards */
.info-card {
    background: var(--white); border-radius: var(--radius-md);
    padding: 2rem; box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100); transition: var(--transition);
}
.info-card:hover { box-shadow: var(--shadow-md); border-color: rgba(201,168,76,0.15); }
.info-card h3 { font-family: var(--font-heading); font-size: 1.1rem; color: var(--navy); margin-bottom: 0.75rem; }
.info-card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.7; }

/* Stat boxes */
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.stat-box {
    background: var(--white); border-radius: var(--radius-md);
    padding: 2rem; text-align: center; box-shadow: var(--shadow-sm);
    border-top: 3px solid var(--gold);
}
.stat-number { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 700; color: var(--gold); }
.stat-label { font-size: 0.88rem; color: var(--text-light); margin-top: 0.3rem; }

/* Feature list */
.feature-list { display: grid; gap: 1.5rem; }
.feature-item { display: flex; gap: 1rem; align-items: start; }
.feature-dot {
    width: 10px; height: 10px; min-width: 10px;
    background: var(--gold); border-radius: 50%; margin-top: 0.5rem;
}
.feature-item h4 { font-size: 1rem; font-weight: 600; color: var(--navy); margin-bottom: 0.2rem; }
.feature-item p { font-size: 0.9rem; color: var(--text-light); line-height: 1.7; }

/* Image with caption */
.img-block { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); }
.img-block img { width: 100%; height: auto; }

/* Gallery grid */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.gallery-item {
    border-radius: var(--radius-md); overflow: hidden;
    box-shadow: var(--shadow-sm); transition: var(--transition);
}
.gallery-item:hover { transform: scale(1.03); box-shadow: var(--shadow-lg); }
.gallery-item img { width: 100%; height: 280px; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.05); }

/* Contact form */
.contact-form { display: grid; gap: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--navy); }
.form-group input, .form-group textarea, .form-group select {
    padding: 0.85rem 1.1rem;
    background: var(--white); border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm); font-size: 0.9rem;
    outline: none; transition: var(--transition);
    font-family: var(--font-body); color: var(--text);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}
.form-group textarea { min-height: 150px; resize: vertical; }

/* Board / membership cards */
.board-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.board-card {
    background: var(--white); border-radius: var(--radius-md);
    padding: 2rem; box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--gold); transition: var(--transition);
}
.board-card:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }
.board-card h3 { font-family: var(--font-heading); font-size: 1.05rem; color: var(--navy); margin-bottom: 0.5rem; }
.board-card .board-role { font-size: 0.8rem; color: var(--gold-dark); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.75rem; }
.board-card p { font-size: 0.88rem; color: var(--text-light); line-height: 1.7; }

/* Achievement highlight cards */
.achieve-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.achieve-card {
    background: var(--white); border-radius: var(--radius-md);
    padding: 2rem; text-align: center; box-shadow: var(--shadow-sm);
    transition: var(--transition); border: 1px solid var(--gray-100);
}
.achieve-card:hover { box-shadow: var(--shadow-md); border-color: var(--gold); transform: translateY(-6px); }
.achieve-icon { width: 48px; height: 48px; margin: 0 auto 1rem; color: var(--gold); }
.achieve-icon svg { width: 100%; height: 100%; }
.achieve-card h3 { font-family: var(--font-heading); font-size: 1rem; color: var(--navy); margin-bottom: 0.5rem; }
.achieve-card p { font-size: 0.85rem; color: var(--text-light); line-height: 1.7; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
    .leadership-grid { grid-template-columns: repeat(2, 1fr); }
    .metrics-grid { grid-template-columns: repeat(2, 1fr); }
    .programs-carousel { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .achieve-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
    .hero-desc { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .portrait-frame { width: 320px; height: 400px; }
    .initiatives-layout { grid-template-columns: 1fr; gap: 3rem; }
    .policy-grid { grid-template-columns: 1fr; }
    .policy-card.large { grid-column: auto; grid-row: auto; }
    .content-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .content-grid.reverse { direction: ltr; }
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
    .board-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .nav-toggle { display: flex; }
    .main-nav {
        position: fixed; top: 0; right: -100%; width: 300px; height: 100vh;
        background: var(--navy); flex-direction: column; padding: 5rem 2rem 2rem;
        gap: 0.3rem; transition: right 0.4s ease;
        box-shadow: -8px 0 32px rgba(0,0,0,0.3);
    }
    .main-nav.open { right: 0; }
    .nav-link { width: 100%; padding: 0.8rem 1rem; font-size: 0.95rem; }
}

@media (max-width: 768px) {
    .container { padding: 0 1.25rem; }
    .section { padding: 4rem 0; }
    .hero { padding: 7rem 0 3rem; }
    .hero-content { padding: 0 1.5rem; }
    .hero-title { font-size: 1.8rem; }
    .portrait-frame { width: 280px; height: 350px; }
    .leadership-grid { grid-template-columns: 1fr; }
    .metrics-grid { grid-template-columns: 1fr; }
    .programs-carousel { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom .container { flex-direction: column; text-align: center; }
    .form-row { grid-template-columns: 1fr; }
    .stat-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .achieve-grid { grid-template-columns: 1fr; }
    .gate-card { padding: 2rem 1.5rem; }
    .page-hero { padding: 8rem 0 3rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.5rem; }
    .hero-badge { font-size: 0.7rem; }
    .btn { padding: 0.75rem 1.5rem; font-size: 0.85rem; }
    .section-title { font-size: 1.5rem; }
}
