/* ============================================================
   AL FAJR ARROW — GLOBAL DESIGN SYSTEM
   css/style.css
   v1.0 — Production Ready
   ============================================================ */

/* ── 1. FONT IMPORTS ─────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600&family=Amiri:wght@400;700&display=swap');

/* ── 2. CSS CUSTOM PROPERTIES ────────────────────────────── */
:root {
  /* PRIMARY — Emerald */
  --color-emerald-900: #064E3B;
  --color-emerald-800: #065F46;
  --color-emerald-700: #047857;
  --color-emerald-600: #059669;
  --color-emerald-500: #10B981;
  --color-emerald-200: #A7F3D0;
  --color-emerald-100: #D1FAE5;
  --color-emerald-50:  #ECFDF5;

  /* ACCENT — Gold */
  --color-gold-700:    #92400E;
  --color-gold-600:    #B45309;
  --color-gold-500:    #D97706;
  --color-gold-400:    #F59E0B;
  --color-gold-300:    #FCD34D;
  --color-gold-100:    #FEF3C7;
  --color-gold-50:     #FFFBEB;

  /* NEUTRAL */
  --color-cream-50:    #FAFAF7;
  --color-cream-100:   #F5F5F0;
  --color-stone-200:   #E7E5E4;
  --color-stone-300:   #D6D3D1;
  --color-stone-400:   #A8A29E;
  --color-stone-500:   #78716C;
  --color-stone-600:   #57534E;
  --color-stone-700:   #44403C;
  --color-stone-800:   #292524;
  --color-stone-900:   #1C1917;

  /* SEMANTIC TOKENS */
  --color-bg:          #FAFAF7;
  --color-bg-alt:      #F0F0E8;
  --color-bg-card:     #FFFFFF;
  --color-text:        #1C1917;
  --color-text-muted:  #57534E;
  --color-text-light:  #A8A29E;
  --color-border:      #E7E5E4;
  --color-border-dark: #D6D3D1;
  --color-primary:     #064E3B;
  --color-primary-hover: #065F46;
  --color-accent:      #D97706;
  --color-accent-hover: #F59E0B;
  --color-white:       #FFFFFF;

  /* TYPOGRAPHY */
  --font-heading: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body:    'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-arabic:  'Amiri', serif;
  --font-mono:    'Fira Code', 'Cascadia Code', 'Courier New', monospace;

  /* TYPE SCALE */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;
  --text-7xl:  4.5rem;

  /* SPACING */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* BORDER RADIUS */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   20px;
  --radius-2xl:  28px;
  --radius-full: 9999px;

  /* SHADOWS */
  --shadow-xs:  0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm:  0 1px 4px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md:  0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-lg:  0 8px 24px rgba(0, 0, 0, 0.10), 0 4px 8px rgba(0, 0, 0, 0.06);
  --shadow-xl:  0 16px 40px rgba(0, 0, 0, 0.12), 0 8px 16px rgba(0, 0, 0, 0.06);

  /* TRANSITIONS */
  --transition-fast:   150ms ease;
  --transition-base:   250ms ease;
  --transition-slow:   400ms ease;

  /* LAYOUT */
  --container-max:     1200px;
  --container-narrow:  720px;
  --container-wide:    1400px;
  --nav-height:        72px;
  --section-py:        var(--space-24);
  --section-px:        var(--space-6);
}

/* ── 3. DARK MODE ────────────────────────────────────────── */
@media (prefers-color-scheme: dark) {
  :root {
    --color-bg:          #0D1F1A;
    --color-bg-alt:      #111F1B;
    --color-bg-card:     #162920;
    --color-text:        #F5F5F0;
    --color-text-muted:  #A8A29E;
    --color-text-light:  #78716C;
    --color-border:      #1E3A30;
    --color-border-dark: #245440;
    --color-primary:     #10B981;
    --color-primary-hover: #34D399;
    --color-accent:      #F59E0B;
    --color-accent-hover: #FCD34D;
    --color-white:       #FFFFFF;

    --color-emerald-900: #064E3B;
    --color-emerald-800: #065F46;
    --color-emerald-100: #D1FAE5;
    --color-emerald-50:  #0D2B22;

    --color-stone-200:   #292524;
    --color-stone-400:   #57534E;
    --color-stone-600:   #A8A29E;
    --color-stone-800:   #D6D3D1;
    --color-stone-900:   #F5F5F0;

    --shadow-sm:  0 1px 4px rgba(0, 0, 0, 0.20);
    --shadow-md:  0 4px 12px rgba(0, 0, 0, 0.28);
    --shadow-lg:  0 8px 24px rgba(0, 0, 0, 0.36);
  }
}

/* ── 4. RESET & BASE ─────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.15;
  font-weight: 600;
  color: var(--color-text);
}

p {
  max-width: 68ch;
}

/* Focus styles */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Selection */
::selection {
  background-color: var(--color-emerald-100);
  color: var(--color-emerald-900);
}

/* ── 5. ISLAMIC PATTERN UTILITIES ────────────────────────── */
.islamic-pattern {
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 10px,
      rgba(6, 78, 59, 0.03) 10px,
      rgba(6, 78, 59, 0.03) 11px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 10px,
      rgba(6, 78, 59, 0.03) 10px,
      rgba(6, 78, 59, 0.03) 11px
    );
}

.islamic-pattern-strong {
  background-image:
    repeating-linear-gradient(
      60deg,
      transparent,
      transparent 20px,
      rgba(6, 78, 59, 0.04) 20px,
      rgba(6, 78, 59, 0.04) 21px
    ),
    repeating-linear-gradient(
      -60deg,
      transparent,
      transparent 20px,
      rgba(6, 78, 59, 0.04) 20px,
      rgba(6, 78, 59, 0.04) 21px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 20px,
      rgba(6, 78, 59, 0.02) 20px,
      rgba(6, 78, 59, 0.02) 21px
    );
}

/* ── 6. LAYOUT SYSTEM ────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--section-px);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.container--wide {
  max-width: var(--container-wide);
}

.section {
  padding-block: var(--section-py);
}

.section--sm {
  padding-block: var(--space-16);
}

.section--lg {
  padding-block: var(--space-32);
}

.section--alt {
  background-color: var(--color-bg-alt);
}

.section--dark {
  background-color: var(--color-emerald-900);
  color: var(--color-white);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark p {
  color: inherit;
}

/* ── 7. TYPOGRAPHY UTILITIES ─────────────────────────────── */
.heading-display {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, var(--text-7xl));
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.heading-1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, var(--text-6xl));
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.heading-2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, var(--text-5xl));
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.heading-3 {
  font-family: var(--font-heading);
  font-size: clamp(1.375rem, 2.5vw, var(--text-4xl));
  font-weight: 600;
  line-height: 1.2;
}

.heading-4 {
  font-family: var(--font-heading);
  font-size: clamp(1.125rem, 2vw, var(--text-3xl));
  font-weight: 600;
  line-height: 1.25;
}

.heading-5 {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 600;
}

.heading-6 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
}

.text-serif {
  font-family: var(--font-heading);
}

.text-arabic {
  font-family: var(--font-arabic);
  direction: rtl;
  line-height: 2;
}

.text-lead {
  font-size: var(--text-xl);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.text-muted {
  color: var(--color-text-muted);
}

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

.text-primary {
  color: var(--color-primary);
}

.text-accent {
  color: var(--color-accent);
}

.text-white {
  color: var(--color-white);
}

.text-sm   { font-size: var(--text-sm); }
.text-base { font-size: var(--text-base); }
.text-lg   { font-size: var(--text-lg); }
.text-xl   { font-size: var(--text-xl); }

.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.font-normal  { font-weight: 400; }
.font-medium  { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold    { font-weight: 700; }

/* Section label / eyebrow text */
.label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.label--primary {
  color: var(--color-primary);
}

/* ── 8. BUTTONS ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 500;
  line-height: 1;
  border-radius: var(--radius-md);
  border: 1.5px solid transparent;
  text-decoration: none;
  transition: all var(--transition-base);
  white-space: nowrap;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}

.btn:disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* Primary — dark emerald */
.btn--primary {
  background-color: var(--color-emerald-800);
  border-color: var(--color-emerald-800);
  color: var(--color-white);
}

.btn--primary:hover {
  background-color: var(--color-emerald-700);
  border-color: var(--color-emerald-700);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--primary:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Secondary — outlined emerald */
.btn--secondary {
  background-color: transparent;
  border-color: var(--color-emerald-800);
  color: var(--color-emerald-800);
}

.btn--secondary:hover {
  background-color: var(--color-emerald-50);
  transform: translateY(-1px);
}

.btn--secondary:active {
  transform: translateY(0);
}

/* Gold — CTA accent */
.btn--gold {
  background-color: var(--color-gold-500);
  border-color: var(--color-gold-500);
  color: var(--color-white);
}

.btn--gold:hover {
  background-color: var(--color-gold-400);
  border-color: var(--color-gold-400);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(217, 119, 6, 0.35);
}

.btn--gold:active {
  transform: translateY(0);
}

/* Ghost */
.btn--ghost {
  background-color: transparent;
  border-color: transparent;
  color: var(--color-text-muted);
}

.btn--ghost:hover {
  background-color: var(--color-stone-200);
  color: var(--color-text);
}

/* White outlined (for dark backgrounds) */
.btn--white {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--color-white);
}

.btn--white:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--color-white);
}

/* Sizes */
.btn--sm {
  padding: 0.5rem 1.25rem;
  font-size: var(--text-sm);
}

.btn--lg {
  padding: 1rem 2.25rem;
  font-size: var(--text-lg);
  border-radius: var(--radius-lg);
}

.btn--xl {
  padding: 1.125rem 2.5rem;
  font-size: var(--text-xl);
  border-radius: var(--radius-lg);
}

.btn--full {
  width: 100%;
}

/* Icon inside button */
.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn--sm svg {
  width: 16px;
  height: 16px;
}

/* ── 9. BADGES & TAGS ────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 0.25rem 0.75rem;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius-full);
  line-height: 1;
}

.badge--primary {
  background-color: var(--color-emerald-100);
  color: var(--color-emerald-800);
}

.badge--accent {
  background-color: var(--color-gold-100);
  color: var(--color-gold-700);
}

.badge--stone {
  background-color: var(--color-stone-200);
  color: var(--color-stone-700);
}

.badge--white {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--color-white);
}

/* Category tag */
.tag {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  font-size: var(--text-sm);
  font-weight: 500;
  border-radius: var(--radius-full);
  background-color: var(--color-emerald-50);
  color: var(--color-emerald-800);
  border: 1px solid var(--color-emerald-100);
  transition: all var(--transition-fast);
}

.tag:hover,
.tag--active {
  background-color: var(--color-emerald-100);
  border-color: var(--color-emerald-200);
}

/* ── 10. CARDS ───────────────────────────────────────────── */
.card {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card__body {
  padding: var(--space-6);
}

.card__header {
  padding: var(--space-6) var(--space-6) 0;
}

.card__footer {
  padding: 0 var(--space-6) var(--space-6);
}

.card__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.card--flat {
  box-shadow: none;
}

.card--flat:hover {
  box-shadow: var(--shadow-sm);
}

.card--elevated {
  box-shadow: var(--shadow-md);
}

.card--elevated:hover {
  box-shadow: var(--shadow-xl);
}

/* Value card */
.card--value {
  background-color: var(--color-emerald-50);
  border-color: var(--color-emerald-100);
  text-align: center;
}

/* Dark card */
.card--dark {
  background-color: var(--color-emerald-800);
  border-color: var(--color-emerald-700);
  color: var(--color-white);
}

.card--dark h3,
.card--dark p {
  color: inherit;
}

/* Stat card */
.card--stat {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
}

.card--stat .stat__number {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.card--stat .stat__label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 500;
}

/* ── 11. NAVBAR ──────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background-color: rgba(250, 250, 247, 0.92);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

#navbar.scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

@media (prefers-color-scheme: dark) {
  #navbar {
    background-color: rgba(13, 31, 26, 0.92);
  }
}

.navbar__inner {
  display: flex;
  align-items: center;
  height: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--section-px);
  gap: var(--space-8);
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
  text-decoration: none;
}

.navbar__logo-img {
  height: 36px;
  width: auto;
}

.navbar__logo-text {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.navbar__logo-sub {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  line-height: 1;
  margin-top: 2px;
}

.navbar__nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  flex: 1;
  justify-content: center;
}

.navbar__link {
  position: relative;
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  border-radius: var(--radius-md);
  transition: color var(--transition-fast), background-color var(--transition-fast);
  white-space: nowrap;
}

.navbar__link:hover {
  color: var(--color-primary);
  background-color: var(--color-emerald-50);
}

.navbar__link--active {
  color: var(--color-primary);
}

.navbar__link--active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: var(--space-3);
  right: var(--space-3);
  height: 2px;
  background-color: var(--color-primary);
  border-radius: var(--radius-full);
}

/* Dropdown */
.navbar__dropdown {
  position: relative;
}

.navbar__dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-2);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
  z-index: 100;
}

.navbar__dropdown:hover .navbar__dropdown-menu,
.navbar__dropdown:focus-within .navbar__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.navbar__dropdown-link {
  display: block;
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  border-radius: var(--radius-md);
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.navbar__dropdown-link:hover {
  color: var(--color-primary);
  background-color: var(--color-emerald-50);
}

/* Right side of navbar */
.navbar__right {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  background-color: var(--color-stone-200);
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 2px;
}

.lang-switcher__btn {
  padding: 0.2rem 0.6rem;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-muted);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  letter-spacing: 0.03em;
}

.lang-switcher__btn--active {
  background-color: var(--color-white);
  color: var(--color-primary);
  box-shadow: var(--shadow-xs);
}

/* Mobile hamburger */
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  cursor: pointer;
  border: none;
  background: none;
  border-radius: var(--radius-md);
}

.navbar__toggle-line {
  width: 22px;
  height: 2px;
  background-color: var(--color-text);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  display: block;
}

.navbar__toggle[aria-expanded="true"] .navbar__toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar__toggle[aria-expanded="true"] .navbar__toggle-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.navbar__toggle[aria-expanded="true"] .navbar__toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.navbar__mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background-color: var(--color-bg-card);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-4) var(--space-6);
  box-shadow: var(--shadow-lg);
  z-index: 999;
  max-height: calc(100vh - var(--nav-height));
  overflow-y: auto;
}

.navbar__mobile.open {
  display: block;
}

.navbar__mobile-link {
  display: block;
  padding: var(--space-3) var(--space-3);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text-muted);
  border-radius: var(--radius-md);
  transition: color var(--transition-fast), background-color var(--transition-fast);
  border-bottom: 1px solid var(--color-border);
}

.navbar__mobile-link:last-child {
  border-bottom: none;
}

.navbar__mobile-link:hover {
  color: var(--color-primary);
  background-color: var(--color-emerald-50);
}

.navbar__mobile-cta {
  margin-top: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

/* ── 12. HERO SECTION ────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-color: var(--color-emerald-900);
  z-index: 0;
}

.hero__bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image:
    repeating-linear-gradient(45deg, transparent, transparent 30px, rgba(255,255,255,0.04) 30px, rgba(255,255,255,0.04) 31px),
    repeating-linear-gradient(-45deg, transparent, transparent 30px, rgba(255,255,255,0.04) 30px, rgba(255,255,255,0.04) 31px);
}

.hero__glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--section-px);
  padding-block: var(--space-24);
  width: 100%;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold-400);
  margin-bottom: var(--space-6);
}

.hero__eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background-color: var(--color-gold-400);
}

.hero__heading {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--color-white);
  margin-bottom: var(--space-6);
  max-width: 18ch;
}

.hero__heading em {
  font-style: italic;
  color: var(--color-gold-400);
}

.hero__subheading {
  font-size: clamp(1rem, 2vw, var(--text-xl));
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: var(--space-10);
  max-width: 52ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
}

.hero__arabic {
  font-family: var(--font-arabic);
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.5);
  margin-top: var(--space-12);
  direction: rtl;
  text-align: left;
}

/* ── 13. SECTION HEADER ──────────────────────────────────── */
.section-header {
  margin-bottom: var(--space-12);
}

.section-header--center {
  text-align: center;
}

.section-header--center p {
  max-width: 54ch;
  margin-inline: auto;
}

.section-header .label {
  display: block;
  margin-bottom: var(--space-3);
}

.section-header h2 {
  margin-bottom: var(--space-4);
}

.section-header p {
  color: var(--color-text-muted);
  font-size: var(--text-lg);
}

/* ── 14. GRID UTILITIES ──────────────────────────────────── */
.grid {
  display: grid;
  gap: var(--space-6);
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid--auto-3 {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.grid--auto-4 {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

/* ── 15. DIVIDER ─────────────────────────────────────────── */
.divider {
  height: 1px;
  background-color: var(--color-border);
  margin-block: var(--space-8);
}

.divider--ornament {
  position: relative;
  text-align: center;
  border: none;
  margin-block: var(--space-12);
}

.divider--ornament::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background-color: var(--color-border);
}

.divider--ornament::after {
  content: '◆';
  position: relative;
  display: inline-block;
  padding-inline: var(--space-4);
  background-color: var(--color-bg);
  color: var(--color-stone-400);
  font-size: var(--text-xs);
}

/* ── 16. QUOTE / AYAT BLOCK ──────────────────────────────── */
.quran-block {
  background-color: var(--color-emerald-50);
  border-left: 3px solid var(--color-emerald-600);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: var(--space-8);
  margin-block: var(--space-8);
}

.quran-block__arabic {
  font-family: var(--font-arabic);
  font-size: clamp(1.25rem, 3vw, 2rem);
  color: var(--color-emerald-800);
  text-align: right;
  direction: rtl;
  line-height: 2.2;
  margin-bottom: var(--space-4);
}

.quran-block__translation {
  font-style: italic;
  color: var(--color-text-muted);
  font-size: var(--text-lg);
  line-height: 1.7;
  margin-bottom: var(--space-3);
}

.quran-block__source {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-emerald-700);
  letter-spacing: 0.04em;
}

/* Dark version */
.quran-block--dark {
  background-color: rgba(255, 255, 255, 0.06);
  border-left-color: var(--color-gold-400);
}

.quran-block--dark .quran-block__arabic {
  color: var(--color-gold-300);
}

.quran-block--dark .quran-block__translation {
  color: rgba(255, 255, 255, 0.7);
}

.quran-block--dark .quran-block__source {
  color: var(--color-gold-400);
}

/* ── 17. VALUE / PRINSIP CARD ────────────────────────────── */
.value-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-8);
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
}

.value-card:hover {
  border-color: var(--color-emerald-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.value-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  background-color: var(--color-emerald-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-emerald-700);
  flex-shrink: 0;
}

.value-card__icon svg {
  width: 26px;
  height: 26px;
}

.value-card__name {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--color-primary);
}

.value-card__desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ── 18. STEP / PROSES ITEM ──────────────────────────────── */
.step-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.step-item {
  display: flex;
  gap: var(--space-6);
}

.step-item__number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-emerald-800);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.step-list .step-item:not(:last-child) .step-item__number::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: calc(var(--space-6) + 100%);
  background: linear-gradient(to bottom, var(--color-emerald-800), transparent);
}

.step-item__content {
  padding-top: 10px;
  flex: 1;
}

.step-item__title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.step-item__desc {
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ── 19. SOCIAL PROOF / STATS BAR ────────────────────────── */
.stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-1);
  padding: var(--space-6) 0;
}

.stats-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-6) var(--space-8);
  text-align: center;
}

.stats-bar__divider {
  width: 1px;
  height: 40px;
  background-color: var(--color-border);
  flex-shrink: 0;
}

.stats-bar__number {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-1);
}

.stats-bar__label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 500;
}

/* ── 20. ARTICLE CARD ────────────────────────────────────── */
.article-card {
  display: flex;
  flex-direction: column;
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  text-decoration: none;
  color: inherit;
}

.article-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.article-card__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background-color: var(--color-emerald-50);
}

.article-card__body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-card__category {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}

.article-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-text);
  margin-bottom: var(--space-3);
  transition: color var(--transition-fast);
}

.article-card:hover .article-card__title {
  color: var(--color-primary);
}

.article-card__excerpt {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: auto;
  padding-bottom: var(--space-4);
}

.article-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
  color: var(--color-text-light);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
  margin-top: var(--space-4);
}

.article-card__meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background-color: var(--color-text-light);
  flex-shrink: 0;
}

/* ── 21. CTA SECTION ─────────────────────────────────────── */
.cta-section {
  background-color: var(--color-emerald-900);
  padding-block: var(--space-24);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section__bg {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent, transparent 30px, rgba(255,255,255,0.02) 30px, rgba(255,255,255,0.02) 31px),
    repeating-linear-gradient(-45deg, transparent, transparent 30px, rgba(255,255,255,0.02) 30px, rgba(255,255,255,0.02) 31px);
}

.cta-section__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin-inline: auto;
  padding-inline: var(--section-px);
}

.cta-section__label {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold-400);
  margin-bottom: var(--space-4);
}

.cta-section__heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, var(--text-5xl));
  font-weight: 600;
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: var(--space-5);
}

.cta-section__text {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-lg);
  line-height: 1.65;
  margin-bottom: var(--space-8);
}

.cta-section__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
}

/* ── 22. FOOTER ──────────────────────────────────────────── */
#footer {
  background-color: var(--color-stone-900);
  color: var(--color-stone-400);
}

.footer__main {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--section-px);
  padding-block: var(--space-16);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
}

.footer__brand {}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  text-decoration: none;
}

.footer__logo-img {
  height: 32px;
  width: auto;
}

.footer__logo-text {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1;
}

.footer__tagline {
  font-size: var(--text-sm);
  line-height: 1.65;
  color: var(--color-stone-400);
  max-width: 30ch;
  margin-bottom: var(--space-6);
}

.footer__social {
  display: flex;
  gap: var(--space-3);
}

.footer__social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background-color: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-stone-400);
  transition: all var(--transition-fast);
}

.footer__social-link:hover {
  background-color: var(--color-emerald-800);
  color: var(--color-white);
}

.footer__social-link svg {
  width: 16px;
  height: 16px;
}

.footer__col-title {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-stone-300);
  margin-bottom: var(--space-5);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__link {
  font-size: var(--text-sm);
  color: var(--color-stone-400);
  text-decoration: none;
  transition: color var(--transition-fast);
  line-height: 1;
}

.footer__link:hover {
  color: var(--color-emerald-500);
}

/* Newsletter */
.footer__newsletter {
  margin-top: var(--space-4);
}

.footer__newsletter-text {
  font-size: var(--text-sm);
  color: var(--color-stone-400);
  margin-bottom: var(--space-4);
  line-height: 1.6;
}

.footer__newsletter-form {
  display: flex;
  gap: var(--space-2);
}

.footer__newsletter-input {
  flex: 1;
  padding: 0.6rem 1rem;
  font-size: var(--text-sm);
  background-color: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--color-white);
  outline: none;
  transition: border-color var(--transition-fast);
}

.footer__newsletter-input::placeholder {
  color: var(--color-stone-500);
}

.footer__newsletter-input:focus {
  border-color: var(--color-emerald-600);
}

.footer__newsletter-btn {
  padding: 0.6rem 1.25rem;
  font-size: var(--text-sm);
  font-weight: 600;
  background-color: var(--color-emerald-700);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background-color var(--transition-fast);
  white-space: nowrap;
}

.footer__newsletter-btn:hover {
  background-color: var(--color-emerald-600);
}

/* Footer bottom bar */
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__bottom-inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--section-px);
  padding-block: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer__copyright {
  font-size: var(--text-sm);
  color: var(--color-stone-500);
}

.footer__legal-links {
  display: flex;
  gap: var(--space-5);
}

.footer__legal-link {
  font-size: var(--text-sm);
  color: var(--color-stone-500);
  transition: color var(--transition-fast);
}

.footer__legal-link:hover {
  color: var(--color-stone-300);
}

/* ── 23. BREADCRUMB ──────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding-block: var(--space-4);
}

.breadcrumb__item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.breadcrumb__link {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.breadcrumb__link:hover {
  color: var(--color-primary);
}

.breadcrumb__separator {
  color: var(--color-stone-300);
  font-size: var(--text-xs);
}

.breadcrumb__current {
  color: var(--color-text);
  font-weight: 500;
}

/* ── 24. ACCORDION / FAQ ─────────────────────────────────── */
.accordion {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.accordion__item {
  border-bottom: 1px solid var(--color-border);
}

.accordion__item:last-child {
  border-bottom: none;
}

.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background-color var(--transition-fast);
}

.accordion__trigger:hover {
  background-color: var(--color-bg-alt);
}

.accordion__trigger[aria-expanded="true"] {
  color: var(--color-primary);
}

.accordion__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-text-muted);
  transition: transform var(--transition-base);
}

.accordion__trigger[aria-expanded="true"] .accordion__icon {
  transform: rotate(45deg);
  color: var(--color-primary);
}

.accordion__panel {
  display: none;
  padding: 0 var(--space-6) var(--space-5);
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
}

.accordion__panel.open {
  display: block;
}

/* ── 25. FORM ELEMENTS ───────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
}

.form-label--required::after {
  content: ' *';
  color: #DC2626;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg-card);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  appearance: none;
  -webkit-appearance: none;
}

.form-input:hover,
.form-textarea:hover,
.form-select:hover {
  border-color: var(--color-border-dark);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--color-emerald-600);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.12);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-text-light);
}

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

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23A8A29E' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-hint {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.form-error {
  font-size: var(--text-xs);
  color: #DC2626;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

/* ── 26. PAGE HERO (for inner pages) ─────────────────────── */
.page-hero {
  background-color: var(--color-emerald-900);
  padding-block: var(--space-20);
  padding-top: calc(var(--nav-height) + var(--space-20));
  position: relative;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent, transparent 30px, rgba(255,255,255,0.02) 30px, rgba(255,255,255,0.02) 31px),
    repeating-linear-gradient(-45deg, transparent, transparent 30px, rgba(255,255,255,0.02) 30px, rgba(255,255,255,0.02) 31px);
}

.page-hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--section-px);
}

.page-hero__label {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold-400);
  margin-bottom: var(--space-4);
}

.page-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, var(--text-6xl));
  font-weight: 600;
  line-height: 1.1;
  color: var(--color-white);
  margin-bottom: var(--space-5);
  max-width: 20ch;
}

.page-hero__desc {
  font-size: var(--text-xl);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  max-width: 52ch;
}

/* ── 27. TABLE ───────────────────────────────────────────── */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.table th {
  background-color: var(--color-bg-alt);
  padding: var(--space-4) var(--space-5);
  text-align: left;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
}

.table td {
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
  vertical-align: top;
}

.table tr:last-child td {
  border-bottom: none;
}

.table tr:hover td {
  background-color: var(--color-bg-alt);
}

/* ── 28. AVATAR ──────────────────────────────────────────── */
.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background-color: var(--color-emerald-100);
  color: var(--color-emerald-800);
  font-weight: 600;
  font-size: var(--text-sm);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar--sm  { width: 32px;  height: 32px;  font-size: var(--text-xs); }
.avatar--md  { width: 48px;  height: 48px;  font-size: var(--text-sm); }
.avatar--lg  { width: 64px;  height: 64px;  font-size: var(--text-base); }
.avatar--xl  { width: 96px;  height: 96px;  font-size: var(--text-xl); }
.avatar--2xl { width: 128px; height: 128px; font-size: var(--text-2xl); }

/* Team member card */
.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-8);
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
}

.team-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.team-card__avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin-bottom: var(--space-5);
  object-fit: cover;
  border: 3px solid var(--color-emerald-100);
}

.team-card__name {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-1);
}

.team-card__role {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}

.team-card__bio {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ── 29. ALERT / NOTICE ──────────────────────────────────── */
.alert {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.alert svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

.alert--info {
  background-color: var(--color-emerald-50);
  border: 1px solid var(--color-emerald-100);
  color: var(--color-emerald-800);
}

.alert--warning {
  background-color: var(--color-gold-50);
  border: 1px solid var(--color-gold-100);
  color: var(--color-gold-700);
}

/* ── 30. SPLIT / TWO-COL LAYOUT ──────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.split--reverse .split__media {
  order: -1;
}

.split__media {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

/* ── 31. PORTFOLIO CARD ──────────────────────────────────── */
.portfolio-card {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: all var(--transition-base);
}

.portfolio-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-emerald-200);
  transform: translateY(-2px);
}

.portfolio-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-4);
}

.portfolio-card__logo {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  object-fit: contain;
  background-color: var(--color-bg-alt);
  padding: var(--space-2);
}

.portfolio-card__year {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-light);
  letter-spacing: 0.06em;
}

.portfolio-card__name {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.portfolio-card__sector {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}

.portfolio-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ── 32. LOADING SKELETON ────────────────────────────────── */
@keyframes skeleton-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

.skeleton {
  animation: skeleton-pulse 1.8s ease-in-out infinite;
  background-color: var(--color-stone-200);
  border-radius: var(--radius-md);
}

/* ── 33. SCROLLBAR ───────────────────────────────────────── */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: var(--color-stone-300);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--color-stone-400);
}

/* ── 34. UTILITY CLASSES ─────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hidden  { display: none !important; }
.visible { visibility: visible; }

.flex         { display: flex; }
.flex-col     { flex-direction: column; }
.flex-wrap    { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start  { align-items: flex-start; }
.justify-center  { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2  { gap: var(--space-2); }
.gap-3  { gap: var(--space-3); }
.gap-4  { gap: var(--space-4); }
.gap-6  { gap: var(--space-6); }
.gap-8  { gap: var(--space-8); }

.mt-2  { margin-top: var(--space-2); }
.mt-4  { margin-top: var(--space-4); }
.mt-6  { margin-top: var(--space-6); }
.mt-8  { margin-top: var(--space-8); }
.mb-2  { margin-bottom: var(--space-2); }
.mb-4  { margin-bottom: var(--space-4); }
.mb-6  { margin-bottom: var(--space-6); }
.mb-8  { margin-bottom: var(--space-8); }

.p-4  { padding: var(--space-4); }
.p-6  { padding: var(--space-6); }
.p-8  { padding: var(--space-8); }
.px-4 { padding-inline: var(--space-4); }
.px-6 { padding-inline: var(--space-6); }
.py-4 { padding-block: var(--space-4); }
.py-6 { padding-block: var(--space-6); }

.rounded-md   { border-radius: var(--radius-md); }
.rounded-lg   { border-radius: var(--radius-lg); }
.rounded-full { border-radius: var(--radius-full); }

.w-full  { width: 100%; }
.h-full  { height: 100%; }

.overflow-hidden { overflow: hidden; }
.relative        { position: relative; }
.absolute        { position: absolute; }

.border     { border: 1px solid var(--color-border); }
.border-top { border-top: 1px solid var(--color-border); }

/* ── 35. PROSE (artikel body) ────────────────────────────── */
.prose {
  max-width: var(--container-narrow);
  font-size: var(--text-lg);
  line-height: 1.8;
  color: var(--color-text);
}

.prose h2 {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 600;
  margin-top: var(--space-12);
  margin-bottom: var(--space-5);
  line-height: 1.2;
}

.prose h3 {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 600;
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
}

.prose h4 {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 600;
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}

.prose p {
  margin-bottom: var(--space-5);
  max-width: none;
}

.prose ul, .prose ol {
  margin-bottom: var(--space-5);
  padding-left: var(--space-6);
}

.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }

.prose li {
  margin-bottom: var(--space-2);
  padding-left: var(--space-2);
}

.prose strong {
  font-weight: 600;
  color: var(--color-text);
}

.prose em {
  font-style: italic;
}

.prose a {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-color: var(--color-emerald-200);
  transition: text-decoration-color var(--transition-fast);
}

.prose a:hover {
  text-decoration-color: var(--color-primary);
}

.prose blockquote {
  border-left: 3px solid var(--color-emerald-600);
  padding: var(--space-4) var(--space-6);
  background-color: var(--color-emerald-50);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-block: var(--space-8);
  font-style: italic;
  font-size: var(--text-xl);
  color: var(--color-text-muted);
}

.prose img {
  width: 100%;
  border-radius: var(--radius-lg);
  margin-block: var(--space-8);
}

.prose hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin-block: var(--space-8);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin-block: var(--space-6);
  font-size: var(--text-base);
}

.prose th {
  background-color: var(--color-bg-alt);
  padding: var(--space-3) var(--space-4);
  text-align: left;
  font-weight: 600;
  border: 1px solid var(--color-border);
}

.prose td {
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
}

/* ── 36. PAGINATION ──────────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-12);
}

.pagination__btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  background-color: var(--color-bg-card);
  transition: all var(--transition-fast);
  cursor: pointer;
  text-decoration: none;
}

.pagination__btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.pagination__btn--active {
  background-color: var(--color-emerald-800);
  border-color: var(--color-emerald-800);
  color: var(--color-white);
}

.pagination__btn--active:hover {
  background-color: var(--color-emerald-700);
  border-color: var(--color-emerald-700);
  color: var(--color-white);
}

/* ── 37. TIMELINE ────────────────────────────────────────── */
.timeline {
  position: relative;
  padding-left: var(--space-8);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-emerald-800), var(--color-emerald-200));
  border-radius: var(--radius-full);
}

.timeline__item {
  position: relative;
  margin-bottom: var(--space-8);
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-8) - 5px);
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--color-emerald-800);
  border: 2px solid var(--color-bg);
  box-shadow: 0 0 0 2px var(--color-emerald-800);
}

.timeline__year {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-2);
}

.timeline__title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.timeline__desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ── 38. SHARE BUTTONS ───────────────────────────────────── */
.share-buttons {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  padding-block: var(--space-6);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin-block: var(--space-8);
}

.share-buttons__label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  margin-right: var(--space-2);
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.5rem 1rem;
  font-size: var(--text-sm);
  font-weight: 500;
  border-radius: var(--radius-md);
  border: 1.5px solid;
  transition: all var(--transition-fast);
  cursor: pointer;
  text-decoration: none;
}

.share-btn svg {
  width: 16px;
  height: 16px;
}

.share-btn--whatsapp {
  background-color: #F0FFF4;
  border-color: #86EFAC;
  color: #15803D;
}

.share-btn--whatsapp:hover {
  background-color: #DCFCE7;
}

.share-btn--telegram {
  background-color: #EFF6FF;
  border-color: #93C5FD;
  color: #1D4ED8;
}

.share-btn--telegram:hover {
  background-color: #DBEAFE;
}

.share-btn--x {
  background-color: #F9FAFB;
  border-color: var(--color-stone-200);
  color: var(--color-stone-800);
}

.share-btn--x:hover {
  background-color: var(--color-stone-200);
}

.share-btn--copy {
  background-color: var(--color-emerald-50);
  border-color: var(--color-emerald-100);
  color: var(--color-emerald-800);
}

.share-btn--copy:hover {
  background-color: var(--color-emerald-100);
}

/* ── 39. TOAST NOTIFICATION ──────────────────────────────── */
.toast {
  position: fixed;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background-color: var(--color-stone-900);
  color: var(--color-white);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  box-shadow: var(--shadow-xl);
  z-index: 9999;
  transition: transform var(--transition-base);
  white-space: nowrap;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

/* ── 40. BACK TO TOP ─────────────────────────────────────── */
#back-to-top {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-8);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-emerald-800);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
  border: none;
  z-index: 900;
}

#back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

#back-to-top:hover {
  background-color: var(--color-emerald-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

#back-to-top svg {
  width: 20px;
  height: 20px;
}

/* ── 41. PAGE TRANSITION ─────────────────────────────────── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp var(--transition-slow) ease both;
}

.animate-fade-in-up--delay-1 { animation-delay: 100ms; }
.animate-fade-in-up--delay-2 { animation-delay: 200ms; }
.animate-fade-in-up--delay-3 { animation-delay: 300ms; }
.animate-fade-in-up--delay-4 { animation-delay: 400ms; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ── 42. RESPONSIVE ──────────────────────────────────────── */

/* Tablet: 768px */
@media (max-width: 768px) {
  :root {
    --section-py: var(--space-16);
    --section-px: var(--space-5);
  }

  /* Navbar */
  .navbar__nav   { display: none; }
  .navbar__right .btn { display: none; }
  .navbar__toggle { display: flex; }

  /* Hero */
  .hero__heading { font-size: clamp(2rem, 8vw, 3rem); }
  .hero__actions { flex-direction: column; align-items: flex-start; }

  /* Grids */
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .grid--auto-3,
  .grid--auto-4 {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  }

  /* Stats bar */
  .stats-bar {
    flex-direction: column;
    gap: 0;
  }

  .stats-bar__divider {
    width: 100%;
    height: 1px;
  }

  /* Split layout */
  .split {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .split--reverse .split__media {
    order: 0;
  }

  /* Footer */
  .footer__main {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  /* Form */
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile: 480px */
@media (max-width: 480px) {
  :root {
    --section-py: var(--space-12);
    --section-px: var(--space-4);
  }

  .hero__heading { font-size: 2rem; }
  .hero__subheading { font-size: var(--text-base); }

  .footer__main {
    grid-template-columns: 1fr;
  }

  .footer__newsletter-form {
    flex-direction: column;
  }

  .share-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-section__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-section__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Desktop: 1024px+ */
@media (min-width: 1024px) {
  .grid--2 { gap: var(--space-8); }
  .grid--3 { gap: var(--space-8); }
}

/* Large desktop: 1280px+ */
@media (min-width: 1280px) {
  :root {
    --section-py: var(--space-24);
  }
}

/* ── 43. PRINT ───────────────────────────────────────────── */
@media print {
  #navbar, #footer, #back-to-top,
  .share-buttons, .cta-section {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .prose {
    max-width: 100%;
  }
}

/* ── 44. REDUCED MOTION ──────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ── END OF STYLE.CSS ────────────────────────────────────── */
