/* ============================================================
   NOURA AL KAABI — Official Website
   Designed & Managed by Creaa Designs | creaadesigns.com
   Digant Sharma · +91-9920808363 · im@digantsharma.com
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,700;1,400;1,700&family=Noto+Naskh+Arabic:wght@400;500;600;700&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  --bg-deep:      #05060e;
  --bg-primary:   #080b18;
  --bg-secondary: #0c1020;
  --bg-card:      #101526;
  --bg-glass:     rgba(8, 11, 24, 0.88);

  --gold:         #c9a045;
  --gold-light:   #e8d4a0;
  --gold-dim:     #8a6820;
  --gold-pale:    rgba(201, 160, 69, 0.07);
  --gold-border:  rgba(201, 160, 69, 0.18);
  --gold-glow:    rgba(201, 160, 69, 0.14);

  --text-primary:   #f0ece4;
  --text-secondary: #b5a898;
  --text-muted:     #665e54;

  --grad-gold:  linear-gradient(135deg, #c9a045 0%, #e8d4a0 50%, #c9a045 100%);
  --grad-dark:  linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-deep) 100%);

  --shadow-sm:   0 2px 8px rgba(0,0,0,.3);
  --shadow-md:   0 8px 32px rgba(0,0,0,.45);
  --shadow-lg:   0 20px 60px rgba(0,0,0,.55);
  --shadow-gold: 0 0 50px rgba(201,160,69,.12);

  --font-display: 'Playfair Display', serif;
  --font-elegant: 'Cormorant Garamond', serif;
  --font-body:    'Inter', sans-serif;
  --font-arabic:  'Noto Naskh Arabic', serif;

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --t:    all 0.4s var(--ease);
  --tf:   all 0.2s ease;

  --container-max: 1300px;
  --section-pad:   110px 0;
}

/* ===== RESET ===== */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; font-size:16px; }
body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration:none; color:inherit; transition:var(--tf); }
img { max-width:100%; display:block; }
ul,ol { list-style:none; }
button { cursor:pointer; border:none; background:none; font-family:inherit; }
input, textarea, select { font-family:inherit; }

/* ===== SCROLL PROGRESS ===== */
#progress-bar {
  position:fixed; top:0; left:0; height:2px;
  background: var(--grad-gold);
  z-index:9999; width:0; transition:width 0.1s;
}

/* ===== CUSTOM CURSOR ===== */
.cursor {
  width:8px; height:8px;
  background: var(--gold); border-radius:50%;
  position:fixed; pointer-events:none; z-index:10000;
  transform:translate(-50%,-50%);
  transition:transform .15s ease, width .3s, height .3s, opacity .3s, background .3s, border .3s;
}
.cursor-follower {
  width:34px; height:34px;
  border:1px solid rgba(201,160,69,.45); border-radius:50%;
  position:fixed; pointer-events:none; z-index:9999;
  transform:translate(-50%,-50%);
  transition:transform .4s ease, width .3s, height .3s, opacity .3s;
}

/* ===== PAGE TRANSITION ===== */
#page-transition {
  position:fixed; inset:0; background:var(--bg-deep);
  z-index:8888; pointer-events:none; opacity:0;
  transition:opacity 0.5s ease;
}
#page-transition.active { opacity:1; pointer-events:all; }

/* ===== BLOOM OVERLAY ===== */
.bloom-overlay {
  position:fixed; inset:0;
  background:radial-gradient(circle at center, rgba(201,160,69,.35) 0%, rgba(201,160,69,.1) 40%, transparent 70%);
  z-index:9999; pointer-events:none;
  opacity:0; transform:scale(0);
  transition:all 0.9s var(--ease);
}
.bloom-overlay.active { opacity:1; transform:scale(4); }

/* ===== ARABIC GEOMETRIC PATTERN ===== */
.geo-pattern {
  background-image:
    linear-gradient(30deg,  rgba(201,160,69,.035) 12%, transparent 12.5%, transparent 87%, rgba(201,160,69,.035) 87.5%),
    linear-gradient(150deg, rgba(201,160,69,.035) 12%, transparent 12.5%, transparent 87%, rgba(201,160,69,.035) 87.5%),
    linear-gradient(30deg,  rgba(201,160,69,.035) 12%, transparent 12.5%, transparent 87%, rgba(201,160,69,.035) 87.5%),
    linear-gradient(150deg, rgba(201,160,69,.035) 12%, transparent 12.5%, transparent 87%, rgba(201,160,69,.035) 87.5%),
    linear-gradient(60deg,  rgba(201,160,69,.055) 25%, transparent 25.5%, transparent 75%, rgba(201,160,69,.055) 75%),
    linear-gradient(60deg,  rgba(201,160,69,.055) 25%, transparent 25.5%, transparent 75%, rgba(201,160,69,.055) 75%);
  background-size:80px 140px;
  background-position:0 0, 0 0, 40px 70px, 40px 70px, 0 0, 40px 70px;
}

/* ===== CONTAINER ===== */
.container   { max-width:var(--container-max); margin:0 auto; padding:0 2rem; }
.container-sm{ max-width:960px; margin:0 auto; padding:0 2rem; }

/* ===== TYPOGRAPHY ===== */
h1,h2,h3,h4 { font-family:var(--font-display); line-height:1.2; color:var(--text-primary); }

.gold-text {
  background:var(--grad-gold);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
}
.section-label {
  font-family:var(--font-body); font-size:.68rem; font-weight:600;
  letter-spacing:.32em; text-transform:uppercase; color:var(--gold);
  display:flex; align-items:center; gap:12px; margin-bottom:1rem;
}
.section-label::before { content:''; width:28px; height:1px; background:var(--gold); }
.section-title { font-size:clamp(1.8rem,3vw,2.9rem); font-weight:700; margin-bottom:1rem; }
.section-subtitle { font-size:1.05rem; color:var(--text-secondary); max-width:620px; line-height:1.8; }
.arabic-accent {
  font-family:var(--font-arabic); direction:rtl; color:var(--gold-light);
  opacity:.45; font-size:1.05rem; display:block;
}

/* ===== DIVIDER ===== */
.divider { width:55px; height:1px; background:var(--grad-gold); margin:1.8rem 0; }
.divider-center { margin:1.8rem auto; }

/* ===== BUTTONS ===== */
.btn {
  display:inline-flex; align-items:center; gap:10px;
  padding:13px 30px; font-size:.78rem; font-weight:500;
  letter-spacing:.12em; text-transform:uppercase; transition:var(--t);
  position:relative; overflow:hidden; cursor:pointer;
}
.btn-outline {
  background:transparent; border:1px solid var(--gold); color:var(--gold);
}
.btn-outline::before {
  content:''; position:absolute; inset:0;
  background:var(--gold); transform:scaleX(0);
  transform-origin:left; transition:transform .4s var(--ease); z-index:-1;
}
.btn-outline:hover { color:var(--bg-deep); }
.btn-outline:hover::before { transform:scaleX(1); }
.btn-solid {
  background:var(--gold); border:1px solid var(--gold);
  color:var(--bg-deep); font-weight:600;
}
.btn-solid:hover { background:var(--gold-light); border-color:var(--gold-light); }
.btn-ghost {
  background:transparent; border:1px solid var(--gold-border);
  color:var(--text-secondary);
}
.btn-ghost:hover { border-color:var(--gold); color:var(--gold); }

/* ===== NAVIGATION ===== */
.navbar {
  position:fixed; top:0; left:0; right:0; z-index:1000;
  padding:1.6rem 2.5rem; transition:var(--t);
}
.navbar.scrolled {
  background:rgba(8,11,24,.96); backdrop-filter:blur(20px);
  padding:1rem 2.5rem; border-bottom:1px solid var(--gold-border);
}
.nav-container {
  max-width:var(--container-max); margin:0 auto;
  display:flex; align-items:center; justify-content:space-between;
}
.nav-logo { display:flex; flex-direction:column; gap:3px; }
.nav-logo .name {
  font-family:var(--font-display); font-size:1.05rem; font-weight:700;
  letter-spacing:.04em; color:var(--text-primary); white-space:nowrap;
}
.nav-logo .title {
  font-size:.6rem; letter-spacing:.22em; text-transform:uppercase;
  color:var(--gold); white-space:nowrap;
}
.nav-links { display:flex; align-items:center; gap:2.2rem; }
.nav-links a {
  font-size:.7rem; letter-spacing:.16em; text-transform:uppercase;
  color:var(--text-secondary); position:relative; padding-bottom:4px;
}
.nav-links a::after {
  content:''; position:absolute; bottom:0; left:0;
  width:0; height:1px; background:var(--gold); transition:width .3s ease;
}
.nav-links a:hover, .nav-links a.active { color:var(--gold); }
.nav-links a:hover::after, .nav-links a.active::after { width:100%; }
.nav-toggle {
  display:none; flex-direction:column; gap:5px; cursor:pointer; padding:4px;
}
.nav-toggle span { width:24px; height:1px; background:var(--text-primary); transition:var(--t); display:block; }
.nav-toggle.active span:nth-child(1) { transform:translateY(6px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity:0; }
.nav-toggle.active span:nth-child(3) { transform:translateY(-6px) rotate(-45deg); }

.nav-mobile {
  position:fixed; top:0; right:-100%; width:300px; height:100vh;
  background:var(--bg-secondary); border-left:1px solid var(--gold-border);
  z-index:999; padding:6rem 2.5rem 3rem;
  transition:right .5s var(--ease); display:flex; flex-direction:column; gap:1.5rem;
}
.nav-mobile.open { right:0; }
.nav-mobile a {
  font-family:var(--font-display); font-size:1.3rem; color:var(--text-secondary);
  border-bottom:1px solid var(--gold-border); padding-bottom:1.2rem; transition:var(--t);
}
.nav-mobile a:hover { color:var(--gold); padding-left:8px; }
.nav-overlay {
  position:fixed; inset:0; background:rgba(0,0,0,.72); z-index:998;
  opacity:0; pointer-events:none; transition:opacity .5s;
}
.nav-overlay.open { opacity:1; pointer-events:all; }

/* ===== FOOTER ===== */
footer {
  background:var(--bg-deep); border-top:1px solid var(--gold-border);
  padding:70px 0 30px; margin-top:110px;
}
.footer-grid {
  display:grid; grid-template-columns:2fr 1fr 1fr;
  gap:4rem; margin-bottom:3.5rem;
}
.footer-brand .name { font-family:var(--font-display); font-size:1.25rem; font-weight:700; margin-bottom:3px; }
.footer-brand .title { font-size:.62rem; letter-spacing:.22em; text-transform:uppercase; color:var(--gold); margin-bottom:1rem; }
.footer-brand p { color:var(--text-muted); font-size:.875rem; line-height:1.7; max-width:300px; }
.footer-col h4 {
  font-size:.62rem; letter-spacing:.22em; text-transform:uppercase;
  color:var(--gold); margin-bottom:1.5rem; font-family:var(--font-body); font-weight:600;
}
.footer-col ul { display:flex; flex-direction:column; gap:.75rem; }
.footer-col a { font-size:.85rem; color:var(--text-muted); transition:var(--tf); display:block; }
.footer-col a:hover { color:var(--gold); padding-left:5px; }
.footer-col p { font-size:.85rem; color:var(--text-muted); line-height:1.8; }
.footer-bottom {
  border-top:1px solid var(--gold-border); padding-top:1.5rem;
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:1rem;
}
.footer-bottom p { font-size:.72rem; color:var(--text-muted); }
.footer-bottom a { color:var(--gold); }
.social-icons { display:flex; gap:10px; margin-top:1.5rem; }
.social-icons a {
  width:36px; height:36px; border:1px solid var(--gold-border);
  display:flex; align-items:center; justify-content:center;
  font-size:.82rem; color:var(--text-muted); transition:var(--t);
}
.social-icons a:hover { border-color:var(--gold); color:var(--gold); background:var(--gold-pale); transform:translateY(-2px); }

/* ===== PASSWORD PAGE ===== */
.password-page {
  min-height:100vh; display:flex; align-items:center; justify-content:center;
  background:var(--bg-deep); position:relative; overflow:hidden;
}
.pw-bg {
  position:absolute; inset:0;
}
.pw-glow {
  position:absolute; top:50%; left:50%;
  transform:translate(-50%,-50%);
  width:700px; height:700px;
  background:radial-gradient(circle, rgba(201,160,69,.07) 0%, transparent 65%);
  animation:breathe 5s ease-in-out infinite; pointer-events:none;
}
@keyframes breathe {
  0%,100% { transform:translate(-50%,-50%) scale(1); opacity:.7; }
  50%      { transform:translate(-50%,-50%) scale(1.12); opacity:1; }
}
.pw-ring {
  position:absolute; top:50%; left:50%;
  border:1px solid rgba(201,160,69,.08); border-radius:50%;
  animation:ring-expand 6s ease-in-out infinite; pointer-events:none;
}
.pw-ring:nth-child(1){ width:300px; height:300px; transform:translate(-50%,-50%); animation-delay:0s; }
.pw-ring:nth-child(2){ width:500px; height:500px; transform:translate(-50%,-50%); animation-delay:1s; }
.pw-ring:nth-child(3){ width:700px; height:700px; transform:translate(-50%,-50%); animation-delay:2s; }
@keyframes ring-expand {
  0%,100% { opacity:.4; transform:translate(-50%,-50%) scale(1); }
  50%      { opacity:.8; transform:translate(-50%,-50%) scale(1.03); }
}
.pw-card {
  position:relative; z-index:2;
  background:var(--bg-glass); backdrop-filter:blur(24px);
  border:1px solid var(--gold-border); padding:60px 52px;
  width:100%; max-width:480px; text-align:center;
  box-shadow:var(--shadow-gold), var(--shadow-lg);
}
.pw-card::before {
  content:''; position:absolute; top:0; left:50%; transform:translateX(-50%);
  width:90px; height:2px; background:var(--grad-gold);
}
.pw-monogram {
  width:72px; height:72px; border:1px solid var(--gold-border); border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  margin:0 auto 2rem; font-family:var(--font-arabic); font-size:1.6rem;
  color:var(--gold); background:var(--gold-pale);
  box-shadow:0 0 30px rgba(201,160,69,.1);
}
.pw-eyebrow {
  font-size:.62rem; letter-spacing:.32em; text-transform:uppercase;
  color:var(--gold); margin-bottom:.75rem;
}
.pw-title {
  font-family:var(--font-display); font-size:1.9rem; font-weight:700;
  color:var(--text-primary); margin-bottom:.4rem;
}
.pw-subtitle {
  font-family:var(--font-elegant); font-size:1rem; font-style:italic;
  color:var(--text-secondary); margin-bottom:.5rem;
}
.pw-arabic {
  font-family:var(--font-arabic); font-size:1rem; color:var(--gold-light);
  opacity:.5; direction:rtl; margin-bottom:2.5rem;
}
.pw-input-wrap { position:relative; margin-bottom:1.2rem; }
.pw-input {
  width:100%; padding:15px 50px 15px 20px;
  background:rgba(255,255,255,.025); border:1px solid var(--gold-border);
  color:var(--text-primary); font-size:.92rem; letter-spacing:.32em;
  text-align:center; outline:none; transition:var(--t);
}
.pw-input:focus { border-color:var(--gold); background:rgba(201,160,69,.03); box-shadow:0 0 24px rgba(201,160,69,.1); }
.pw-input::placeholder { letter-spacing:.1em; color:var(--text-muted); }
.pw-toggle {
  position:absolute; right:14px; top:50%; transform:translateY(-50%);
  color:var(--text-muted); cursor:pointer; background:none; border:none; padding:0;
  transition:var(--tf); font-size:.9rem;
}
.pw-toggle:hover { color:var(--gold); }
.pw-btn {
  width:100%; padding:16px; background:transparent;
  border:1px solid var(--gold); color:var(--gold);
  font-size:.75rem; letter-spacing:.3em; text-transform:uppercase;
  font-weight:500; cursor:pointer; transition:var(--t);
  position:relative; overflow:hidden;
}
.pw-btn::before {
  content:''; position:absolute; inset:0; background:var(--gold);
  transform:scaleX(0); transform-origin:left; transition:transform .4s var(--ease); z-index:-1;
}
.pw-btn:hover { color:var(--bg-deep); }
.pw-btn:hover::before { transform:scaleX(1); }
.pw-error {
  margin-top:1rem; font-size:.8rem; color:#c0504a;
  opacity:0; transition:opacity .3s; letter-spacing:.05em;
}
.pw-error.show { opacity:1; }
.pw-card.shake { animation:shake .4s ease; }
@keyframes shake {
  0%,100% { transform:translateX(0); }
  20%      { transform:translateX(-9px); }
  40%      { transform:translateX(9px); }
  60%      { transform:translateX(-6px); }
  80%      { transform:translateX(6px); }
}
.pw-footer { margin-top:2.5rem; font-size:.6rem; letter-spacing:.15em; text-transform:uppercase; color:var(--text-muted); }
.pw-footer a { color:var(--gold); }

/* ===== PAGE HERO (Split Layout) ===== */
.page-hero {
  min-height:100vh; display:grid; grid-template-columns:1fr 1fr;
  align-items:stretch; padding-top:80px;
}
.hero-content {
  padding:6rem 3.5rem 5rem 4rem;
  display:flex; flex-direction:column; justify-content:center;
}
.hero-image-side {
  position: relative;
  overflow: hidden;
}
.hero-image-side img {
  position: absolute;
  top: 3.5rem;
  left: 2.5rem;
  right: 2.5rem;
  bottom: 3.5rem;
  width: calc(100% - 5rem);
  height: calc(100% - 7rem);
  object-fit: cover;
  object-position: top center;
}
.hero-eyebrow { display:flex; align-items:center; gap:14px; margin-bottom:1.5rem; }
.hero-eyebrow .line { width:36px; height:1px; background:var(--gold); }
.hero-eyebrow .label { font-size:.68rem; letter-spacing:.3em; text-transform:uppercase; color:var(--gold); }
.hero-title {
  font-family:var(--font-display); font-size:clamp(2.8rem,5.5vw,5.5rem);
  font-weight:700; line-height:1.04; letter-spacing:-.02em; margin-bottom:1rem;
}
.hero-arabic {
  font-family:var(--font-arabic); font-size:1.4rem; color:var(--gold-light);
  opacity:.45; margin-bottom:1.5rem; direction:rtl; text-align:left; display:block;
}
.hero-lead { font-size:1.05rem; color:var(--text-secondary); line-height:1.8; margin-bottom:2rem; max-width:500px; }
.hero-badges { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:2.5rem; }
.badge {
  display:inline-flex; align-items:center; gap:8px; padding:8px 16px;
  border:1px solid var(--gold-border); font-size:.7rem; letter-spacing:.1em;
  text-transform:uppercase; color:var(--text-secondary); background:var(--gold-pale);
}
.badge i { color:var(--gold); font-size:.65rem; }
.hero-actions { display:flex; gap:1rem; flex-wrap:wrap; }

/* ===== MARQUEE ===== */
.marquee-wrap {
  background:var(--bg-secondary); overflow:hidden; white-space:nowrap;
  border-top:1px solid var(--gold-border); border-bottom:1px solid var(--gold-border); padding:14px 0;
}
.marquee-track { display:inline-block; animation:marquee 44s linear infinite; }
.marquee-item {
  display:inline-flex; align-items:center; gap:14px; padding:0 2rem;
  font-size:.68rem; letter-spacing:.22em; text-transform:uppercase; color:var(--text-muted);
}
.marquee-dot { width:4px; height:4px; border-radius:50%; background:var(--gold); display:inline-block; }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ===== STATS ===== */
.stats-grid {
  display:grid; grid-template-columns:repeat(4,1fr);
  border:1px solid var(--gold-border);
}
.stat-item {
  padding:3rem 2rem; border-right:1px solid var(--gold-border);
  text-align:center; transition:var(--t);
}
.stat-item:last-child { border-right:none; }
.stat-item:hover { background:var(--gold-pale); }
.stat-number {
  font-family:var(--font-display); font-size:3.2rem; font-weight:700;
  background:var(--grad-gold); -webkit-background-clip:text;
  -webkit-text-fill-color:transparent; background-clip:text;
  line-height:1; margin-bottom:10px;
}
.stat-label { font-size:.68rem; letter-spacing:.18em; text-transform:uppercase; color:var(--text-muted); line-height:1.5; }

/* ===== CARDS ===== */
.card {
  background:var(--bg-card); border:1px solid var(--gold-border);
  padding:2.5rem; transition:var(--t); position:relative; overflow:hidden;
}
.card::before {
  content:''; position:absolute; bottom:0; left:0;
  width:100%; height:2px; background:var(--grad-gold);
  transform:scaleX(0); transition:transform .4s var(--ease);
}
.card:hover { border-color:rgba(201,160,69,.38); transform:translateY(-5px); box-shadow:var(--shadow-md); }
.card:hover::before { transform:scaleX(1); }
.card-icon {
  width:58px; height:58px; border:1px solid var(--gold-border);
  display:flex; align-items:center; justify-content:center;
  color:var(--gold); font-size:1.5rem; margin-bottom:1.5rem; background:var(--gold-pale);
}
.card-title { font-family:var(--font-display); font-size:1.3rem; margin-bottom:.75rem; }
.card-text { font-size:.88rem; color:var(--text-secondary); line-height:1.75; }

/* ===== QUOTE SECTION ===== */
.quote-section {
  padding:80px 0; text-align:center;
  background:var(--bg-secondary); position:relative;
}
.quote-mark {
  font-family:var(--font-display); font-size:9rem; line-height:.4;
  color:var(--gold); opacity:.18; font-weight:700; display:block; margin-bottom:1.2rem;
}
.quote-text {
  font-family:var(--font-elegant); font-size:clamp(1.4rem,2.8vw,2.2rem);
  font-style:italic; color:var(--text-primary); max-width:820px;
  margin:0 auto 1.5rem; line-height:1.65;
}
.quote-author { font-size:.7rem; letter-spacing:.22em; text-transform:uppercase; color:var(--gold); }

/* ===== TIMELINE ===== */
.timeline { position:relative; padding-left:2rem; }
.timeline::before {
  content:''; position:absolute; left:0; top:0; bottom:0; width:1px;
  background:linear-gradient(to bottom, transparent, var(--gold) 10%, var(--gold) 90%, transparent);
}
.timeline-item { position:relative; padding-left:2.5rem; padding-bottom:3rem; }
.timeline-item:last-child { padding-bottom:0; }
.timeline-dot {
  position:absolute; left:-2rem; top:6px;
  width:13px; height:13px; border:2px solid var(--gold);
  background:var(--bg-primary); border-radius:50%;
  transform:translateX(50%); transition:var(--t);
}
.timeline-item:hover .timeline-dot { background:var(--gold); box-shadow:0 0 20px rgba(201,160,69,.4); }
.timeline-year { font-size:.68rem; letter-spacing:.22em; text-transform:uppercase; color:var(--gold); margin-bottom:.4rem; }
.timeline-title { font-family:var(--font-display); font-size:1.2rem; margin-bottom:.5rem; }
.timeline-org { font-size:.82rem; color:var(--gold-light); opacity:.7; margin-bottom:.5rem; letter-spacing:.06em; }
.timeline-text { font-size:.88rem; color:var(--text-secondary); line-height:1.7; }

/* ===================================================================
   IMAGE DISPLAY SYSTEM
   • All gallery frames are uniform fixed-height boxes
   • object-fit:contain keeps full subject visible — no cropping
   • Images are top-aligned inside each box
   =================================================================== */

/* --- Gallery grids --- */
.gallery-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.gallery-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

/* --- Base frame — uniform box, image fills it from the top --- */
.img-contain-frame {
  overflow: hidden;
  height: 320px;
}
.img-contain-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* --- Larger standalone frame (youth section etc.) --- */
.img-hero-frame {
  overflow: hidden;
  height: 420px;
}
.img-hero-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* ===== SPLIT SECTION ===== */
.split-section { display:grid; grid-template-columns:1fr 1fr; align-items:stretch; }
.split-image {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 2.5rem;
}
.split-image img {
  display: block;
  max-width: 86%;
  max-height: 520px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: top center;
}
/* Default section bg shows through — no extra background needed */
section .split-image { background: transparent; }
section.bg-alt .split-image { background: transparent; }
.split-content { padding:5rem 4rem; display:flex; flex-direction:column; justify-content:center; }

/* ===== ROLE CARDS ===== */
.role-card {
  border:1px solid var(--gold-border); padding:3rem;
  background:var(--bg-card); position:relative; overflow:hidden; transition:var(--t);
}
.role-card::after {
  content:''; position:absolute; top:0; left:0;
  width:3px; height:0; background:var(--grad-gold); transition:height .5s var(--ease);
}
.role-card:hover::after { height:100%; }
.role-card:hover { border-color:rgba(201,160,69,.38); transform:translateX(4px); }
.role-period { font-size:.68rem; letter-spacing:.22em; text-transform:uppercase; color:var(--gold); margin-bottom:.4rem; }
.role-title { font-family:var(--font-display); font-size:1.7rem; margin-bottom:.4rem; }
.role-org { font-size:.84rem; color:var(--text-secondary); letter-spacing:.05em; margin-bottom:1.5rem; }
.role-text { font-size:.88rem; color:var(--text-secondary); line-height:1.75; margin-bottom:1.5rem; }
.role-list { display:flex; flex-direction:column; gap:.5rem; }
.role-list li { display:flex; align-items:flex-start; gap:10px; font-size:.85rem; color:var(--text-secondary); }
.role-list li::before { content:'—'; color:var(--gold); flex-shrink:0; }

/* ===== INITIATIVE / PROGRAM CARDS ===== */
.init-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:1.5rem; }
.init-card {
  border:1px solid var(--gold-border); padding:2.2rem;
  background:var(--bg-card); position:relative; transition:var(--t); overflow:hidden;
}
.init-card:hover { transform:translateY(-5px); border-color:rgba(201,160,69,.4); box-shadow:var(--shadow-md); }
.init-num {
  font-family:var(--font-display); font-size:4rem; font-weight:700;
  color:var(--gold-border); line-height:1; margin-bottom:1rem; opacity:.35;
}
.init-title { font-family:var(--font-display); font-size:1.1rem; margin-bottom:.7rem; }
.init-text { font-size:.875rem; color:var(--text-secondary); line-height:1.65; }

/* ===== PARTNERS ===== */
.partners-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(190px,1fr)); border:1px solid var(--gold-border); }
.partner-item {
  padding:2rem 1.5rem; border-right:1px solid var(--gold-border); border-bottom:1px solid var(--gold-border);
  display:flex; align-items:center; justify-content:center; min-height:100px; transition:var(--t);
}
.partner-item:hover { background:var(--gold-pale); }
.partner-item span { font-family:var(--font-display); font-size:.9rem; color:var(--text-muted); text-align:center; transition:var(--t); }
.partner-item:hover span { color:var(--gold); }

/* ===== INSIGHT CARDS ===== */
.insight-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(340px,1fr)); gap:2rem; }
.insight-card { border:1px solid var(--gold-border); transition:var(--t); background:var(--bg-card); }
.insight-card:hover { transform:translateY(-5px); border-color:rgba(201,160,69,.4); box-shadow:var(--shadow-md); }
.insight-img {
  overflow: hidden;
  height: 240px;
}
.insight-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.insight-body { padding:1.6rem; }
.insight-cat { font-size:.62rem; letter-spacing:.22em; text-transform:uppercase; color:var(--gold); margin-bottom:.7rem; }
.insight-title { font-family:var(--font-display); font-size:1.1rem; margin-bottom:.7rem; line-height:1.4; }
.insight-text { font-size:.85rem; color:var(--text-secondary); line-height:1.65; }

/* ===== CONTACT PAGE ===== */
.contact-grid { display:grid; grid-template-columns:1fr 2fr; gap:4.5rem; align-items:start; }
.contact-detail { display:flex; align-items:flex-start; gap:1rem; padding:1.4rem 0; border-bottom:1px solid var(--gold-border); }
.contact-detail:last-of-type { border-bottom:none; }
.contact-icon { width:42px; height:42px; border:1px solid var(--gold-border); display:flex; align-items:center; justify-content:center; color:var(--gold); font-size:.9rem; flex-shrink:0; background:var(--gold-pale); }
.contact-label { font-size:.6rem; letter-spacing:.22em; text-transform:uppercase; color:var(--gold); margin-bottom:3px; }
.contact-val { font-size:.88rem; color:var(--text-secondary); }
.contact-form { display:flex; flex-direction:column; gap:1.5rem; }
.form-group { display:flex; flex-direction:column; gap:7px; }
.form-label { font-size:.65rem; letter-spacing:.22em; text-transform:uppercase; color:var(--gold); font-weight:500; }
.form-input, .form-textarea {
  background:rgba(255,255,255,.02); border:1px solid var(--gold-border);
  color:var(--text-primary); font-size:.9rem; padding:14px 18px;
  outline:none; transition:var(--t); width:100%; resize:none;
}
.form-input:focus, .form-textarea:focus { border-color:var(--gold); background:rgba(201,160,69,.025); box-shadow:0 0 20px rgba(201,160,69,.06); }
.form-input::placeholder, .form-textarea::placeholder { color:var(--text-muted); }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }

/* ===== SECTIONS ===== */
section { padding:var(--section-pad); }
.section-header { margin-bottom:4rem; }
.section-header-center { text-align:center; }
.section-header-center .section-label { justify-content:center; }
.section-header-center .section-label::before { display:none; }
.section-header-center .divider { margin:1.5rem auto; }
.bg-alt { background:var(--bg-secondary); }
.bg-deep { background:var(--bg-deep); }

/* ===== GRID LAYOUTS ===== */
.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; }

/* ===== INLINE INFO STRIP ===== */
.info-strip {
  display:flex; align-items:center; gap:2.5rem; flex-wrap:wrap;
  padding:1.5rem 2rem; border:1px solid var(--gold-border); background:var(--gold-pale);
}
.info-strip-item { display:flex; align-items:center; gap:10px; font-size:.8rem; color:var(--text-secondary); }
.info-strip-item i { color:var(--gold); }

/* ===== DECORATIVE ===== */
.gold-bar { width:100%; height:1px; background:var(--gold-border); margin:3rem 0; }
.large-quote {
  font-family:var(--font-elegant); font-size:clamp(1.6rem,3.5vw,3rem);
  font-style:italic; color:var(--text-primary); line-height:1.5;
  padding-left:2rem; border-left:3px solid var(--gold);
}
.text-gold { color:var(--gold); }
.text-muted { color:var(--text-muted); }
.text-sm { font-size:.85rem; }
.mt-1 { margin-top:.5rem; }
.mt-2 { margin-top:1rem; }
.mt-3 { margin-top:1.5rem; }
.mt-4 { margin-top:2rem; }
.mb-3 { margin-bottom:1.5rem; }
.mb-4 { margin-bottom:2rem; }

/* ===== RESPONSIVE ===== */
@media (max-width:1100px) {
  .page-hero { grid-template-columns:1fr; min-height:auto; padding-top:80px; }
  /* On mobile the hero stacks — give image side a fixed sensible height */
  .hero-image-side { min-height:auto; padding:2.5rem 2rem; }
  .hero-image-side img { max-width:92%; max-height:55vw; }
  .hero-image-side::before { background:linear-gradient(to bottom, var(--bg-primary) 0%, transparent 30%); }
  .hero-content { padding:5rem 2rem 2.5rem; max-width:100%; }
  .stats-grid { grid-template-columns:repeat(2,1fr); }
  .stat-item:nth-child(2) { border-right:none; }
  .stat-item:nth-child(1), .stat-item:nth-child(2) { border-bottom:1px solid var(--gold-border); }
  .grid-3, .grid-4 { grid-template-columns:repeat(2,1fr); }
  .split-section { grid-template-columns:1fr; }
  .split-image { min-height:auto; padding:2rem 1.5rem; }
  .split-image img { max-width:92%; max-height:380px; }
  .split-content { padding:3rem 2rem; }
  .contact-grid { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .nav-links { display:none; }
  .nav-toggle { display:flex; }
}
@media (max-width:768px) {
  :root { --section-pad:70px 0; }
  .stats-grid { grid-template-columns:repeat(2,1fr); }
  .footer-grid { grid-template-columns:1fr; gap:2rem; }
  .pw-card { padding:40px 28px; margin:1rem; }
  .gallery-2 { grid-template-columns:1fr; }
  .gallery-3 { grid-template-columns:1fr 1fr; }
  /* aspect-ratio is maintained automatically — no height overrides needed */
  .form-row { grid-template-columns:1fr; }
  .hero-actions { flex-direction:column; }
  .btn { justify-content:center; width:100%; }
  .init-grid { grid-template-columns:1fr; }
  .insight-grid { grid-template-columns:1fr; }
  .grid-2 { grid-template-columns:1fr; }
}
@media (max-width:480px) {
  .hero-title { font-size:2.3rem; }
  .section-title { font-size:1.7rem; }
  .stat-number { font-size:2.6rem; }
  .quote-text { font-size:1.3rem; }
  .footer-bottom { flex-direction:column; }
}
