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

:root {
  --navy:        #14213D;
  --navy-light:  #1E3356;
  --gold:        #C4882A;
  --gold-light:  #E0A84A;
  --gold-pale:   #F5E8C8;
  --forest:      #1B4D35;
  --cream:       #F7F3EA;
  --cream-dark:  #EDE8DC;
  --white:       #FFFFFF;
  --gray-400:    #9E998F;
  --gray-600:    #6B6558;
  --text:        #1C1916;
  --text-muted:  #5C5750;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  background: var(--cream);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
}

/* ── NAV ─────────────────────────────────── */
.site-header {
  background: var(--navy);
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--gold);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.site-logo { text-decoration: none; display: flex; flex-direction: column; }
.logo-abbr {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.08em;
  line-height: 1;
}
.logo-sub {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 300;
}
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
  padding-bottom: 2px;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
}

/* ── PAGE HERO ───────────────────────────── */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 4rem 2rem 3.5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: attr(data-arabic);
  position: absolute;
  right: 2%;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: 14rem;
  color: rgba(255,255,255,0.035);
  pointer-events: none;
  line-height: 1;
}
.hero-inner { max-width: 1100px; margin: 0 auto; }
.hero-eyebrow {
  font-size: 0.73rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 0.4rem;
}
.hero-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  color: var(--gold);
  font-style: italic;
  margin-bottom: 1.2rem;
}
.hero-desc {
  max-width: 580px;
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
}
.hero-badge {
  display: flex;
  flex-direction: column;
  border-left: 2px solid var(--gold);
  padding-left: 0.75rem;
}
.badge-label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.badge-value {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  font-weight: 400;
}

/* ── LAYOUT ──────────────────────────────── */
.main { max-width: 1100px; margin: 0 auto; padding: 4rem 2rem; }
.section { margin-bottom: 4rem; }

.section-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--forest);
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.5rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--cream-dark);
  position: relative;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--gold);
}

/* ── ANNOUNCEMENT CARD ───────────────────── */
.announcement {
  background: linear-gradient(130deg, var(--navy) 0%, var(--forest) 100%);
  border-radius: 4px;
  padding: 2.5rem 3rem;
  color: var(--white);
  margin: 2rem 0 3rem;
  position: relative;
  overflow: hidden;
  border-left: 5px solid var(--gold);
}
.announcement::after {
  content: 'NLP';
  position: absolute;
  right: -1rem;
  bottom: -2rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 9rem;
  font-weight: 700;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  pointer-events: none;
}
.ann-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 2px;
  margin-bottom: 1rem;
}
.ann-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 0.3rem;
}
.ann-subtitle {
  font-style: italic;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}
.ann-details {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  margin-bottom: 2rem;
}
.ann-detail {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.8);
}
.ann-detail-icon { color: var(--gold); }

.btn {
  display: inline-block;
  padding: 0.75rem 1.8rem;
  border-radius: 2px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-family: 'Jost', sans-serif;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.35);
  margin-left: 0.75rem;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ── MISSION CARDS ───────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-top: 3px solid transparent;
  border-radius: 3px;
  padding: 1.75rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:nth-child(1) { border-top-color: var(--gold); }
.card:nth-child(2) { border-top-color: var(--forest); }
.card:nth-child(3) { border-top-color: var(--navy); }
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(20,33,61,0.09); }
.card-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--cream-dark);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.card-text { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }

/* ── SCHEDULE ACCORDION ──────────────────── */
.schedule { margin-top: 1.5rem; }
.day-block {
  border: 1px solid var(--cream-dark);
  border-left: 4px solid var(--gold);
  border-radius: 0 3px 3px 0;
  margin-bottom: 0.75rem;
  background: var(--white);
  overflow: hidden;
}
.day-header {
  background: var(--navy);
  padding: 1rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.day-label {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.day-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-top: 0.1rem;
}
.day-chevron {
  color: var(--gold);
  font-size: 1.1rem;
  transition: transform 0.25s;
  line-height: 1;
}
.day-header.open .day-chevron { transform: rotate(180deg); }
.day-body { padding: 1.5rem; display: none; }
.day-body.open { display: block; }

.day-section { margin-bottom: 1.25rem; }
.day-section-label {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--forest);
  font-weight: 700;
  margin-bottom: 0.5rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--cream-dark);
}
.topic-list { list-style: none; padding: 0; }
.topic-list li {
  padding: 0.3rem 0 0.3rem 1.4rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  position: relative;
  line-height: 1.6;
}
.topic-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.8rem;
  top: 0.38rem;
}

/* ── INSTRUCTORS ─────────────────────────── */
.instructors {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.instructor {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  padding: 1.5rem 1.25rem;
  text-align: center;
  border-radius: 3px;
  transition: transform 0.2s;
}
.instructor:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(20,33,61,0.08); }
.inst-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 auto 0.9rem;
}
.inst-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 0.25rem;
}
.inst-affil {
  font-size: 0.75rem;
  color: var(--gray-400);
  letter-spacing: 0.04em;
  font-weight: 500;
}
.inst-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.03em;
  border: 1px solid var(--cream-dark);
  padding: 0.22rem 0.6rem;
  border-radius: 2px;
  transition: border-color 0.2s, color 0.2s;
}
.inst-linkedin:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

/* ── REGISTRATION BOX ────────────────────── */
.reg-box {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-top: 4px solid var(--gold);
  padding: 2.5rem;
  border-radius: 0 0 3px 3px;
  text-align: center;
  margin: 2rem 0;
}
.reg-fee {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.reg-fee-unit { font-size: 1.1rem; color: var(--gray-600); font-weight: 300; }
.reg-deadline {
  display: inline-block;
  margin: 0.5rem 0 0.25rem;
  background: var(--gold-pale);
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.2rem 0.75rem;
  border-radius: 2px;
  letter-spacing: 0.05em;
}
.reg-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0.75rem auto 1.75rem;
  line-height: 1.7;
}

/* ── EVENTS GRID ─────────────────────────── */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.75rem;
  margin-top: 1.5rem;
}
.event-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 3px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.event-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(20,33,61,0.12); }
.event-poster {
  height: 300px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: rgba(255,255,255,0.18);
  font-family: 'Cormorant Garamond', serif;
  position: relative;
  overflow: hidden;
}
.event-poster::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 20px,
    rgba(196,136,42,0.03) 20px,
    rgba(196,136,42,0.03) 21px
  );
}
.poster-icon { font-size: 2.5rem; opacity: 0.3; }
.poster-label { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.4; }
.event-poster img { width: 100%; height: 100%; object-fit: contain; }
.event-info { padding: 1.2rem 1.25rem; }
.event-date {
  font-size: 0.72rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.event-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
}

/* ── ABOUT PAGE ──────────────────────────── */
.pronunciation-box {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-left: 4px solid var(--gold);
  padding: 1.5rem 2rem;
  border-radius: 0 3px 3px 0;
  margin: 1.5rem 0;
}
.pronunciation-arabic {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy);
  direction: rtl;
  margin-bottom: 0.25rem;
}
.pronunciation-phonetic {
  font-style: italic;
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}
.pronunciation-meaning { font-size: 0.9rem; color: var(--text-muted); }

.mission-list { list-style: none; padding: 0; margin-top: 1rem; }
.mission-list li {
  padding: 1rem 1rem 1rem 2.5rem;
  border-bottom: 1px solid var(--cream-dark);
  font-size: 0.92rem;
  color: var(--text-muted);
  position: relative;
  line-height: 1.7;
}
.mission-list li:last-child { border-bottom: none; }
.mission-list li::before {
  content: '▸';
  position: absolute;
  left: 0.5rem;
  top: 1.1rem;
  color: var(--gold);
  font-size: 0.9rem;
}
.mission-list li strong { color: var(--navy); display: block; font-weight: 600; margin-bottom: 0.15rem; }

/* ── INFO TABLE ──────────────────────────── */
.info-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.9rem; }
.info-table tr { border-bottom: 1px solid var(--cream-dark); }
.info-table td { padding: 0.7rem 0.5rem; }
.info-table td:first-child {
  width: 35%;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── TWO COL ─────────────────────────────── */
.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: start; }
.prose p { margin-bottom: 1rem; font-size: 0.95rem; color: var(--text-muted); line-height: 1.8; }
.prose p:last-child { margin-bottom: 0; }

/* ── TAG PILLS ───────────────────────────── */
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.75rem; }
.tag {
  display: inline-block;
  background: var(--gold-pale);
  color: var(--forest);
  font-size: 0.73rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  letter-spacing: 0.04em;
}

/* ── FOOTER ──────────────────────────────── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.55);
  padding: 3rem 2rem 2rem;
  margin-top: 4rem;
  border-top: 3px solid var(--gold);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}
.footer-brand-full {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.5;
}
.footer-brand-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  font-style: italic;
  margin-top: 0.75rem;
  line-height: 1.6;
}
.footer-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.72rem;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1100px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
}

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; }
  .page-hero::before { display: none; }
  .ann-details { gap: 1rem; }
  .announcement { padding: 1.75rem; }
  .cards-grid { grid-template-columns: 1fr; }
}
