/* ================================================
   SHEIKH NAHYAN BIN MUBARAK AL NAHYAN
   Official Leadership Website
   Designed by Creaa Designs | Digant Sharma
   ================================================ */

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

/* ─── Design Tokens ─────────────────────────────── */
:root {
  --gold:        #C8A458;
  --gold-light:  #E8D5A3;
  --gold-pale:   rgba(200,164,88,0.12);
  --gold-dark:   #8B6B14;

  --dark:        #07090F;
  --dark-mid:    #0D1320;
  --navy:        #111827;
  --navy-mid:    #1A2540;

  --teal:        #1B5C5C;
  --green:       #2B6948;

  --cream:       #F8F4ED;
  --ivory:       #FDFAF6;
  --warm-white:  #FAF7F2;

  --text-dark:   #1A1208;
  --text-mid:    #564732;
  --text-light:  #8A7A66;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Nunito Sans', 'Helvetica Neue', sans-serif;
  --font-arabic:  'Noto Naskh Arabic', serif;

  --nav-h:        80px;
  --pad-section:  110px;
  --container:    1300px;

  --ease:         cubic-bezier(0.4,0,0.2,1);
  --t:            0.4s;
  --t-slow:       0.9s;
}

/* ─── Reset & Base ──────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--ivory);
  line-height: 1.7;
  overflow-x: hidden;
}

body.page-loading { opacity: 0; }
body.page-ready { animation: pageReveal 0.7s var(--ease) forwards; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }

/* ─── Container ─────────────────────────────────── */
.container {
  width: 92%;
  max-width: var(--container);
  margin: 0 auto;
}

/* ─── Typography ────────────────────────────────── */
h1,h2,h3,h4,h5 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-dark);
}

.display-title {
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.section-label::before {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 400;
  margin-bottom: 1.2rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-mid);
  font-weight: 300;
  max-width: 640px;
  line-height: 1.8;
}

.arabic-text {
  font-family: var(--font-arabic);
  font-size: 1.4rem;
  color: var(--gold);
  direction: rtl;
  margin-bottom: 0.5rem;
}

/* ─── Geometric Pattern (Islamic Art Background) ── */
.geo-pattern {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='rgba(200,164,88,0.10)' stroke-width='0.6'%3E%3Crect x='5' y='5' width='70' height='70'/%3E%3Crect x='20' y='20' width='40' height='40' transform='rotate(45 40 40)'/%3E%3Ccircle cx='40' cy='40' r='26'/%3E%3Cline x1='40' y1='5' x2='40' y2='75'/%3E%3Cline x1='5' y1='40' x2='75' y2='40'/%3E%3Cline x1='5' y1='5' x2='75' y2='75'/%3E%3Cline x1='75' y1='5' x2='5' y2='75'/%3E%3C/g%3E%3C/svg%3E");
}

.geo-pattern-light {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='rgba(200,164,88,0.06)' stroke-width='0.6'%3E%3Crect x='5' y='5' width='70' height='70'/%3E%3Crect x='20' y='20' width='40' height='40' transform='rotate(45 40 40)'/%3E%3Ccircle cx='40' cy='40' r='26'/%3E%3Cline x1='40' y1='5' x2='40' y2='75'/%3E%3Cline x1='5' y1='40' x2='75' y2='40'/%3E%3Cline x1='5' y1='5' x2='75' y2='75'/%3E%3Cline x1='75' y1='5' x2='5' y2='75'/%3E%3C/g%3E%3C/svg%3E");
}

/* ─── Navigation ────────────────────────────────── */
.main-nav {
  position: sticky;
  top: 0;
  left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(7,9,15,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(200,164,88,0.18);
  transition: background var(--t) var(--ease), box-shadow var(--t) var(--ease);
}

.main-nav.scrolled {
  background: rgba(7,9,15,0.98);
  box-shadow: 0 1px 0 rgba(200,164,88,0.25);
}

.main-nav.light-nav {
  background: rgba(253,250,246,0.97);
  box-shadow: 0 1px 0 rgba(200,164,88,0.15);
}

.main-nav.light-nav.scrolled {
  background: rgba(253,250,246,0.99);
  box-shadow: 0 1px 0 rgba(200,164,88,0.2);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 92%;
  max-width: var(--container);
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-arabic {
  font-family: var(--font-arabic);
  font-size: 0.85rem;
  color: var(--gold);
  direction: rtl;
}

.logo-en {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.04em;
}

.main-nav.light-nav .logo-en { color: var(--text-dark); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color var(--t);
  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 var(--t) var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

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

.main-nav.light-nav .nav-links a { color: var(--text-mid); }
.main-nav.light-nav .nav-links a:hover,
.main-nav.light-nav .nav-links a.active { color: var(--gold-dark); }

.nav-cta {
  border: 1px solid rgba(200,164,88,0.5) !important;
  padding: 8px 20px !important;
  border-radius: 2px;
  color: var(--gold) !important;
  transition: background var(--t), color var(--t) !important;
}
.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--dark) !important;
}
.nav-cta::after { display: none !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--gold);
  transition: var(--t);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ─── Hero Section ──────────────────────────────── */
.page-hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}

.hero-image-side {
  position: relative;
  overflow: hidden;
  background: var(--navy);
}

.hero-image-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Portrait-safe image display */
.portrait-safe {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark-mid);
}

.portrait-safe img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  display: block;
}

.hero-content-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 80px 80px;
  background: var(--dark-mid);
  position: relative;
}

.hero-content-side.light {
  background: var(--ivory);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 30px;
}
.hero-badge::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--gold);
}

.hero-title {
  font-size: clamp(2.8rem, 4.5vw, 5rem);
  font-weight: 300;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-content-side.light .hero-title { color: var(--text-dark); }

.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-content-side.light .hero-title em { color: var(--gold-dark); }

.hero-text {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  max-width: 440px;
  line-height: 1.85;
  margin-bottom: 40px;
}

.hero-content-side.light .hero-text { color: var(--text-mid); }

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 80px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.hero-scroll-hint::after {
  content: '';
  display: block;
  width: 40px; height: 1px;
  background: rgba(200,164,88,0.5);
  animation: scrollLine 2s ease infinite;
}
@keyframes scrollLine {
  0%,100% { width: 40px; opacity: 0.5; }
  50% { width: 60px; opacity: 1; }
}

/* ─── Full-Width Hero (Home page) ───────────────── */
.hero-fullwidth {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(7,9,15,0.85) 0%,
    rgba(7,9,15,0.6) 50%,
    rgba(7,9,15,0.2) 100%
  );
}

.hero-overlay-content {
  position: relative;
  z-index: 2;
  padding: 0 0 90px;
  width: 92%;
  max-width: var(--container);
  margin: 0 auto;
}

.hero-name {
  font-family: var(--font-arabic);
  font-size: 1.2rem;
  color: var(--gold);
  direction: rtl;
  text-align: right;
  margin-bottom: 6px;
  float: right;
  clear: right;
  margin-right: 0;
}

/* ─── Buttons ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid;
  transition: var(--t) var(--ease);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  transform: translateX(-101%);
  transition: transform var(--t) var(--ease);
}

.btn:hover::before { transform: translateX(0); }

.btn-gold {
  border-color: var(--gold);
  color: var(--dark);
  background: var(--gold);
}
.btn-gold::before { background: var(--gold-dark); }
.btn-gold:hover { color: #fff; }

.btn-outline {
  border-color: var(--gold);
  color: var(--gold);
  background: transparent;
}
.btn-outline::before { background: var(--gold); }
.btn-outline:hover { color: var(--dark); }

.btn-outline-white {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
  background: transparent;
}
.btn-outline-white::before { background: rgba(255,255,255,0.1); }
.btn-outline-white:hover { color: #fff; }

/* ─── Section Wrapper ────────────────────────────── */
.section {
  padding: var(--pad-section) 0;
}

.section-dark {
  background: var(--dark-mid);
  color: #fff;
}

.section-dark .section-title { color: #fff; }
.section-dark .section-subtitle { color: rgba(255,255,255,0.6); }

.section-cream { background: var(--cream); }
.section-ivory { background: var(--ivory); }
.section-navy { background: var(--navy); }

/* ─── Gold Divider ───────────────────────────────── */
.gold-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 40px 0;
}
.gold-divider::before,
.gold-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}
.gold-divider-icon {
  width: 24px; height: 24px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gold-divider-icon::before {
  content: '✦';
  color: var(--gold);
  font-size: 1rem;
}

/* ─── Stat Cards ─────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.stat-card {
  padding: 48px 36px;
  text-align: center;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(200,164,88,0.1);
  transition: background var(--t);
}
.stat-card:hover { background: rgba(200,164,88,0.06); }

.stat-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 10px;
}

/* ─── Quote Block ────────────────────────────────── */
.quote-block {
  position: relative;
  padding: 56px 80px;
  border-left: 3px solid var(--gold);
  background: var(--gold-pale);
}

.quote-block::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 60px;
  font-family: var(--font-display);
  font-size: 8rem;
  color: var(--gold);
  opacity: 0.2;
  line-height: 1;
}

.quote-text {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.6;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.quote-attribution {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
}

/* ─── Timeline ───────────────────────────────────── */
.timeline {
  position: relative;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold) 10%, var(--gold) 90%, transparent);
  transform: translateX(-50%);
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: 0;
  margin-bottom: 80px;
  align-items: center;
}

.timeline-content {
  padding: 36px 48px;
  background: var(--ivory);
  border: 1px solid rgba(200,164,88,0.15);
  transition: border-color var(--t), box-shadow var(--t);
}

.timeline-content:hover {
  border-color: rgba(200,164,88,0.4);
  box-shadow: 0 8px 40px rgba(200,164,88,0.08);
}

.timeline-item:nth-child(odd) .timeline-content:first-child { order: 1; }
.timeline-item:nth-child(odd) .timeline-dot { order: 2; }
.timeline-item:nth-child(odd) .timeline-content:last-child { order: 3; }

.timeline-item:nth-child(even) .timeline-content:first-child { order: 3; text-align: right; }
.timeline-item:nth-child(even) .timeline-dot { order: 2; }
.timeline-item:nth-child(even) .timeline-content:last-child { order: 1; }

.timeline-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.timeline-dot::after {
  content: '';
  width: 14px; height: 14px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--ivory), 0 0 0 6px var(--gold);
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.timeline-role {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.timeline-desc {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.75;
}

/* ─── Feature Cards ──────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.feature-card {
  padding: 56px 44px;
  background: var(--ivory);
  border: 1px solid rgba(200,164,88,0.1);
  position: relative;
  overflow: hidden;
  transition: transform var(--t) var(--ease), box-shadow var(--t);
}

.feature-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--gold), var(--gold-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t) var(--ease);
}

.feature-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(200,164,88,0.12); }
.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
  width: 56px; height: 56px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg { width: 100%; height: 100%; }

.feature-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 14px;
  color: var(--text-dark);
}

.feature-text {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.8;
}

/* ─── Image Gallery / Grid ───────────────────────── */
.image-mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  gap: 4px;
}

.mosaic-main {
  grid-row: span 2;
  position: relative;
  overflow: hidden;
  min-height: 600px;
  background: var(--navy);
}

.mosaic-main img,
.mosaic-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.8s var(--ease);
}

.mosaic-main:hover img,
.mosaic-side:hover img { transform: scale(1.04); }

.mosaic-side {
  position: relative;
  overflow: hidden;
  min-height: 295px;
  background: var(--navy);
}

/* ─── Split Section ──────────────────────────────── */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 620px;
}

.split-image {
  position: relative;
  overflow: hidden;
  background: var(--navy);
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.8s var(--ease);
}

.split-image:hover img { transform: scale(1.03); }

.split-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 72px;
}

/* ─── Initiatives/Programs ───────────────────────── */
.initiatives-list { display: flex; flex-direction: column; gap: 2px; }

.initiative-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0;
  background: var(--ivory);
  overflow: hidden;
  border: 1px solid rgba(200,164,88,0.1);
  transition: border-color var(--t);
}
.initiative-item:hover { border-color: rgba(200,164,88,0.35); }

.initiative-year {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-pale);
  writing-mode: vertical-lr;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--gold-dark);
  padding: 20px 0;
}

.initiative-body { padding: 28px 36px; }

.initiative-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.initiative-text {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.75;
}

/* ─── Pillar Cards (Philosophy page) ────────────── */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.pillar-card {
  position: relative;
  padding: 64px 56px;
  overflow: hidden;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.pillar-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  filter: brightness(0.35);
  transition: filter 0.6s var(--ease);
}
.pillar-card:hover .pillar-card-bg { filter: brightness(0.45); }

.pillar-card-content { position: relative; z-index: 2; }

.pillar-number {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 300;
  color: var(--gold);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: -10px;
}

.pillar-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 12px;
}

.pillar-text {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
}

/* ─── Insights / Articles ────────────────────────── */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.insight-card {
  background: var(--ivory);
  border: 1px solid rgba(200,164,88,0.1);
  overflow: hidden;
  transition: transform var(--t) var(--ease), box-shadow var(--t);
}
.insight-card:hover { transform: translateY(-8px); box-shadow: 0 24px 60px rgba(0,0,0,0.1); }

.insight-thumb {
  height: 240px;
  overflow: hidden;
  background: var(--navy);
}

.insight-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.8s var(--ease);
}
.insight-card:hover .insight-thumb img { transform: scale(1.06); }

.insight-body { padding: 32px 28px; }

.insight-tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 12px;
}

.insight-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.35;
  margin-bottom: 12px;
}

.insight-excerpt {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.75;
}

/* ─── Contact Form ───────────────────────────────── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.form-group {
  position: relative;
}

.form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 10px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(200,164,88,0.3);
  padding: 12px 0;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-dark);
  outline: none;
  transition: border-color var(--t);
}

.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: var(--gold);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ─── Footer ─────────────────────────────────────── */
.main-footer {
  background: var(--dark);
  padding: 72px 0 40px;
  border-top: 1px solid rgba(200,164,88,0.15);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(200,164,88,0.1);
  margin-bottom: 36px;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 6px;
}

.footer-brand-title {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-brand-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.8;
  max-width: 300px;
}

.footer-nav-title {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

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

.footer-nav-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  transition: color var(--t);
}
.footer-nav-links a:hover { color: var(--gold); }

.footer-social {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.social-icon {
  width: 40px; height: 40px;
  border: 1px solid rgba(200,164,88,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  transition: var(--t);
  border-radius: 2px;
}
.social-icon:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-pale);
}

.footer-credit {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.9;
}

.footer-credit a {
  color: var(--gold);
  transition: opacity var(--t);
}
.footer-credit a:hover { opacity: 0.7; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.2);
}

/* ─── Scroll Animation Classes ───────────────────── */
.aos-fade {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.aos-fade.in-view {
  opacity: 1;
  transform: translateY(0);
}

.aos-fade-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.aos-fade-left.in-view { opacity: 1; transform: translateX(0); }

.aos-fade-right {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.aos-fade-right.in-view { opacity: 1; transform: translateX(0); }

.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
.delay-5 { transition-delay: 0.5s !important; }
.delay-6 { transition-delay: 0.6s !important; }

/* ─── Page Transition Overlay ────────────────────── */
.page-transition {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.page-transition.active { opacity: 1; pointer-events: all; }

/* ─── Password Page ──────────────────────────────── */
.password-page {
  min-height: 100vh;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.password-page .geo-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.8;
}

.pw-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.pw-particle {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  animation: particleFloat var(--dur, 8s) var(--delay, 0s) ease-in-out infinite;
}

@keyframes particleFloat {
  0%   { transform: translateY(100vh) translateX(0); opacity: 0; }
  10%  { opacity: 0.4; }
  90%  { opacity: 0.2; }
  100% { transform: translateY(-10vh) translateX(var(--drift, 40px)); opacity: 0; }
}

.pw-card {
  position: relative;
  z-index: 10;
  width: 460px;
  max-width: 90vw;
  text-align: center;
  padding: 72px 60px;
  background: rgba(13,19,32,0.92);
  border: 1px solid rgba(200,164,88,0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  animation: cardReveal 1.2s var(--ease) forwards;
}

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

.pw-card::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.pw-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.pw-emblem {
  width: 70px; height: 70px;
  margin: 0 auto 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pw-emblem svg {
  width: 100%;
  height: 100%;
}

.pw-arabic {
  font-family: var(--font-arabic);
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 6px;
  direction: rtl;
}

.pw-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 300;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 6px;
}

.pw-subtitle {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 48px;
}

.pw-input-wrap {
  position: relative;
  margin-bottom: 10px;
}

.pw-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(200,164,88,0.3);
  padding: 14px 48px 14px 0;
  font-family: var(--font-body);
  font-size: 1rem;
  color: #fff;
  text-align: center;
  letter-spacing: 0.3em;
  outline: none;
  transition: border-color var(--t);
}
.pw-input:focus { border-bottom-color: var(--gold); }
.pw-input::placeholder { letter-spacing: 0.1em; color: rgba(255,255,255,0.3); }

.pw-toggle {
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.3);
  font-size: 0.85rem;
  cursor: pointer;
  transition: color var(--t);
}
.pw-toggle:hover { color: var(--gold); }

.pw-error {
  font-size: 0.78rem;
  color: #c0392b;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  opacity: 0;
  transition: opacity var(--t);
  margin-bottom: 24px;
}
.pw-error.show { opacity: 1; }

.pw-error-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #c0392b;
}

.pw-btn {
  width: 100%;
  padding: 16px;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background var(--t), transform var(--t);
}
.pw-btn:hover { background: var(--gold-dark); color: #fff; }
.pw-btn:active { transform: scale(0.98); }

.pw-hint {
  margin-top: 28px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.08em;
  font-style: italic;
}

.pw-input-wrap.error .pw-input {
  border-bottom-color: #c0392b;
  animation: shake 0.4s var(--ease);
}

@keyframes shake {
  0%,100% { transform: translateX(0); }
  20%     { transform: translateX(-8px); }
  40%     { transform: translateX(8px); }
  60%     { transform: translateX(-5px); }
  80%     { transform: translateX(5px); }
}

.pw-success-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--gold);
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pw-success-overlay.active {
  pointer-events: all;
  animation: bloomReveal 1.4s var(--ease) forwards;
}

@keyframes bloomReveal {
  0%   { opacity: 0; transform: scale(0.95); }
  40%  { opacity: 1; transform: scale(1); }
  70%  { opacity: 1; }
  100% { opacity: 0; transform: scale(1.05); }
}

/* ─── Biography specific ─────────────────────────── */
.bio-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.bio-portrait {
  position: relative;
}

.bio-portrait-frame {
  position: relative;
  overflow: hidden;
  background: var(--dark-mid);
}

.bio-portrait-frame img {
  width: 100%;
  display: block;
  object-fit: contain;
  object-position: center top;
}

.bio-portrait-frame::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--gold), transparent);
}

.bio-portrait-accent {
  position: absolute;
  top: 20px;
  left: -20px;
  width: 80%;
  height: 80%;
  border: 1px solid rgba(200,164,88,0.2);
  z-index: -1;
}

/* ─── Ministry specific ──────────────────────────── */
.ministry-hero-strip {
  background: var(--dark-mid);
  padding: 180px 0 100px;
  position: relative;
  overflow: hidden;
}

.ministry-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: -60px;
  position: relative;
  z-index: 10;
}

.ministry-pillar {
  padding: 48px 32px;
  background: var(--ivory);
  border-top: 3px solid var(--gold);
  transition: background var(--t), transform var(--t);
}
.ministry-pillar:hover { background: var(--cream); transform: translateY(-4px); }

/* ─── Global Dialogue specific ───────────────────── */
.world-initiatives {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.world-item {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
}

.world-item-bg {
  position: absolute;
  inset: 0;
}

.world-item-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.8s var(--ease);
  filter: brightness(0.5);
}
.world-item:hover .world-item-bg img { transform: scale(1.05); filter: brightness(0.6); }

.world-item-content {
  position: relative;
  z-index: 2;
  padding: 40px;
}

/* ─── Responsive ─────────────────────────────────── */
@media (max-width: 1100px) {
  :root { --pad-section: 80px; }

  .page-hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-image-side { height: 65vw; min-height: 420px; }
  .hero-content-side { padding: 60px 40px; }
  .hero-scroll-hint { left: 40px; }

  .timeline::before { left: 28px; }
  .timeline-item {
    grid-template-columns: 56px 1fr;
    grid-template-rows: auto auto;
  }
  .timeline-item .timeline-dot { grid-column: 1; grid-row: 1; }
  .timeline-item .timeline-content:first-child { grid-column: 2; grid-row: 1; text-align: left !important; }
  .timeline-item .timeline-content:last-child { display: none; }
  .timeline-item:nth-child(even) .timeline-content:first-child { order: unset; }
  .timeline-item:nth-child(even) .timeline-dot { order: unset; }
  .timeline-item:nth-child(even) .timeline-content:last-child { order: unset; }

  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .insights-grid { grid-template-columns: repeat(2, 1fr); }
  .ministry-pillars { grid-template-columns: repeat(2, 1fr); }
  .world-initiatives { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .bio-intro-grid { grid-template-columns: 1fr; gap: 50px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 66px; --pad-section: 64px; }

  .nav-links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--dark);
    flex-direction: column;
    gap: 0;
    padding: 20px 0;
    transform: translateY(-110%);
    transition: transform var(--t) var(--ease);
    border-bottom: 1px solid rgba(200,164,88,0.15);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 14px 30px;
    font-size: 0.85rem;
  }
  .nav-links a::after { display: none; }
  .nav-toggle { display: flex; }

  .hero-content-side { padding: 50px 28px; }
  .hero-image-side { height: 80vw; }
  .split-section { grid-template-columns: 1fr; }
  .split-image { height: 60vw; }
  .split-content { padding: 48px 28px; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .insights-grid { grid-template-columns: 1fr; }
  .ministry-pillars { grid-template-columns: 1fr; margin-top: 0; }
  .pillars-grid { grid-template-columns: 1fr; }
  .image-mosaic { grid-template-columns: 1fr; }
  .mosaic-main { grid-row: span 1; min-height: 300px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .quote-block { padding: 40px 28px; }
  .quote-block::before { font-size: 5rem; left: 20px; }
  .pw-card { padding: 52px 32px; }
}
