/* ══════════════════════════════════════════
   THRESHOLD GLOBAL — SHARED STYLESHEET
   ASAF Global Group · Washington DC · 2026
══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400;1,600&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500&family=Noto+Nastaliq+Urdu:wght@400;700&display=swap');

:root {
  --cream: #faf6f0;
  --cream2: #f2ebe0;
  --saffron: #d4792a;
  --saffron-light: #e8964a;
  --saffron-dim: rgba(212,121,42,0.1);
  --terra: #b83d0c;
  --forest: #2d5a27;
  --indigo: #1a237e;
  --brown: #8b5e3c;
  --brown-light: #a87c55;
  --charcoal: #1a1a1a;
  --charcoal2: #242424;
  --text-mid: rgba(26,26,26,0.62);
  --text-light: rgba(26,26,26,0.38);
  --border: rgba(26,26,26,0.09);
  --shadow: 0 4px 32px rgba(26,26,26,0.08);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--charcoal);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 56px;
  background: rgba(250,246,240,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: all 0.4s;
}
.nav-brand { text-decoration: none; display: flex; flex-direction: column; }
.nav-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px; font-weight: 700; letter-spacing: 0.04em;
  color: var(--charcoal);
}
.nav-brand-tag {
  font-size: 9px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--saffron); margin-top: 1px;
}
.nav-links { display: flex; gap: 6px; list-style: none; }
.nav-links a {
  color: var(--text-mid); text-decoration: none;
  font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 8px 14px; transition: all 0.3s; border-radius: 2px;
}
.nav-links a:hover { color: var(--saffron); }
.nav-links a.active {
  color: var(--saffron);
  background: var(--saffron-dim);
}
.nav-cta {
  background: var(--saffron); border: none; color: white;
  padding: 11px 24px; font-family: 'DM Sans', sans-serif;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  cursor: pointer; transition: background 0.3s; text-decoration: none;
  display: inline-block;
}
.nav-cta:hover { background: var(--terra); }
.nav-mobile-btn { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-mobile-btn span { display: block; width: 24px; height: 1.5px; background: var(--charcoal); margin: 5px 0; transition: all 0.3s; }

/* ── PAGE HERO ── */
.page-hero {
  background: var(--charcoal);
  padding: 140px 56px 80px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 15% 60%, rgba(212,121,42,0.1), transparent 50%);
}
.page-hero-inner { max-width: 1200px; margin: 0 auto; position: relative; }
.page-eyebrow {
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--saffron); margin-bottom: 20px;
  display: flex; align-items: center; gap: 14px;
}
.page-eyebrow-line { width: 28px; height: 1px; background: var(--saffron); opacity: 0.5; }
.page-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 300; color: white; line-height: 1.08; margin-bottom: 24px;
}
.page-hero-title em { font-style: italic; color: var(--saffron-light); }
.page-hero-sub {
  font-size: 15px; line-height: 1.85;
  color: rgba(250,246,240,0.5); max-width: 600px;
}

/* ── SHARED ELEMENTS ── */
.section-eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.eyebrow-line { width: 28px; height: 1px; background: var(--saffron); opacity: 0.5; }
.eyebrow-text { font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--saffron); }
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 3.8vw, 56px);
  font-weight: 300; line-height: 1.12; color: var(--charcoal);
}
.section-title em { font-style: italic; color: var(--saffron); }
.section-title.light { color: white; }
.section-title.light em { color: var(--saffron-light); }

.btn-primary {
  display: inline-block; background: var(--saffron); color: white; border: none;
  padding: 16px 44px; font-family: 'DM Sans', sans-serif;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  cursor: pointer; text-decoration: none; transition: all 0.3s;
}
.btn-primary:hover { background: var(--terra); transform: translateY(-2px); }
.btn-outline {
  display: inline-block; background: transparent;
  border: 1px solid rgba(212,121,42,0.5); color: var(--saffron);
  padding: 14px 32px; font-family: 'DM Sans', sans-serif;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  cursor: pointer; text-decoration: none; transition: all 0.3s;
}
.btn-outline:hover { background: var(--saffron); color: white; border-color: var(--saffron); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 14px;
  color: var(--saffron); text-decoration: none;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  transition: gap 0.3s;
}
.link-arrow:hover { gap: 22px; }
.link-arrow-line {
  width: 36px; height: 1px; background: currentColor;
  position: relative; transition: width 0.3s;
}
.link-arrow:hover .link-arrow-line { width: 50px; }
.link-arrow-line::after {
  content: ''; position: absolute; right: 0; top: -3px;
  width: 6px; height: 6px;
  border-right: 1px solid currentColor; border-top: 1px solid currentColor;
  transform: rotate(45deg);
}

.note-box {
  background: rgba(212,121,42,0.06); border-left: 3px solid var(--saffron);
  padding: 18px 22px; margin: 24px 0;
  font-size: 13px; line-height: 1.8; color: var(--charcoal);
}
.note-box strong { color: var(--saffron); }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; } .d4 { transition-delay: .4s; }

/* ── CRED BAR ── */
.cred-bar {
  background: var(--forest); padding: 22px 56px;
  display: flex; align-items: center; gap: 40px; overflow: hidden;
}
.cred-label {
  font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(250,246,240,0.5); white-space: nowrap; flex-shrink: 0;
}
.cred-track {
  display: flex; gap: 40px;
  animation: scrollx 32s linear infinite; white-space: nowrap;
}
.cred-item { font-family: 'Cormorant Garamond', serif; font-size: 15px; color: rgba(250,246,240,0.8); white-space: nowrap; }
.cred-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--saffron); opacity: 0.5; flex-shrink: 0; }

/* ── UNIVERSITY TABLES ── */
.tier-header { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; margin-top: 48px; }
.tier-badge { padding: 6px 16px; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; }
.tier-elite { background: var(--charcoal); color: var(--saffron-light); }
.tier-mid { background: var(--forest); color: white; }
.tier-access { background: var(--indigo); color: white; }
.tier-line { flex: 1; height: 1px; background: var(--border); }

.uni-table { width: 100%; border-collapse: collapse; margin-bottom: 8px; }
.uni-table thead tr { background: var(--charcoal); }
.uni-table thead th {
  padding: 14px 16px; text-align: left;
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(250,246,240,0.6); font-weight: 400;
}
.uni-table tbody tr { border-bottom: 1px solid var(--border); transition: background 0.2s; }
.uni-table tbody tr:hover { background: rgba(212,121,42,0.04); }
.uni-table tbody tr:nth-child(even) { background: rgba(26,26,26,0.02); }
.uni-table tbody tr:nth-child(even):hover { background: rgba(212,121,42,0.04); }
.uni-table td { padding: 14px 16px; font-size: 12.5px; line-height: 1.5; vertical-align: top; }
.uni-name { font-family: 'Cormorant Garamond', serif; font-size: 15px; font-weight: 600; color: var(--charcoal); margin-bottom: 2px; }
.uni-location { font-size: 10.5px; color: var(--text-light); }
.uni-hl { display: inline-block; padding: 2px 8px; background: var(--saffron-dim); color: var(--saffron); font-size: 9.5px; letter-spacing: 0.08em; margin-top: 4px; }
.acc-low { color: var(--terra); font-weight: 500; }
.acc-med { color: var(--saffron); font-weight: 500; }
.acc-good { color: var(--forest); font-weight: 500; }

/* ── DISC TABS ── */
.disc-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.dtab {
  padding: 10px 20px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-mid); background: transparent; border: 1px solid var(--border);
  cursor: pointer; transition: all 0.3s; font-family: 'DM Sans', sans-serif;
}
.dtab.active { background: var(--saffron); color: white; border-color: var(--saffron); }
.dtab:hover:not(.active) { border-color: var(--saffron); color: var(--saffron); }
.disc-section { display: none; }
.disc-section.active { display: block; }

/* ── SUCCESS CARDS ── */
.success-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.success-card {
  border: 1px solid var(--border); padding: 36px; background: white;
  position: relative; transition: all 0.3s; cursor: pointer;
}
.success-card:hover { border-color: var(--saffron); box-shadow: 0 20px 60px rgba(212,121,42,0.1); transform: translateY(-4px); }
.success-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(to right, var(--saffron), var(--terra));
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s;
}
.success-card:hover::before { transform: scaleX(1); }
.success-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-size: 18px; font-weight: 600;
  color: white; margin-bottom: 20px;
}
.success-photo {
  width: 56px; height: 56px; border-radius: 50%;
  overflow: hidden; border: 2px solid var(--saffron); margin-bottom: 20px;
}
.success-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.success-quote {
  font-family: 'Cormorant Garamond', serif; font-size: 16px; font-style: italic;
  line-height: 1.75; color: var(--charcoal); margin-bottom: 22px;
}
.success-name { font-size: 12.5px; font-weight: 500; color: var(--charcoal); margin-bottom: 4px; }
.success-uni { font-size: 11.5px; color: var(--saffron); }
.success-tag { position: absolute; bottom: 28px; right: 28px; font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-light); }

/* ── STATS ── */
.stats-strip { padding: 72px 56px; background: var(--saffron); }
.stats-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: rgba(255,255,255,0.18); }
.stat-box { background: var(--saffron); padding: 52px 40px; text-align: center; }
.stat-num { font-family: 'Cormorant Garamond', serif; font-size: clamp(48px,5vw,72px); font-weight: 300; color: white; line-height: 1; margin-bottom: 10px; }
.stat-lbl { font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255,255,255,0.65); }

/* ── BOOKING ── */
.booking-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.booking-card {
  border: 1px solid var(--border); padding: 36px 28px; background: white;
  text-align: center; transition: all 0.3s; cursor: pointer; text-decoration: none; display: block;
}
.booking-card:hover { border-color: var(--saffron); box-shadow: var(--shadow); transform: translateY(-4px); }
.booking-card-icon { font-size: 32px; margin-bottom: 16px; }
.booking-card-title { font-family: 'Cormorant Garamond', serif; font-size: 18px; font-weight: 600; color: var(--charcoal); margin-bottom: 8px; }
.booking-card-desc { font-size: 12.5px; color: var(--text-mid); line-height: 1.7; }
.booking-calendly { background: var(--charcoal); padding: 48px; text-align: center; margin-top: 24px; }
.booking-cal-title { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 300; color: white; margin-bottom: 8px; }
.booking-cal-sub { font-size: 13px; color: rgba(250,246,240,0.4); margin-bottom: 24px; }
.booking-hours { display: flex; justify-content: center; gap: 24px; margin-bottom: 32px; }
.booking-hour { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(250,246,240,0.45); }
.booking-hour strong { color: var(--saffron-light); }

/* ── FOOTER ── */
.site-footer { background: var(--charcoal); padding: 80px 56px 40px; border-top: 3px solid var(--saffron); }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 56px; margin-bottom: 56px; }
.footer-brand-name { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 700; color: white; margin-bottom: 4px; }
.footer-brand-tag { font-size: 9px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--saffron); margin-bottom: 6px; }
.footer-brand-urdu { font-family: 'Noto Nastaliq Urdu', serif; font-size: 15px; color: var(--brown-light); direction: rtl; margin-bottom: 18px; }
.footer-brand-bio { font-size: 13px; line-height: 1.9; color: rgba(250,246,240,0.35); max-width: 270px; }
.footer-col-title { font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--saffron); margin-bottom: 22px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-links a { color: rgba(250,246,240,0.38); text-decoration: none; font-size: 13px; transition: color 0.3s; }
.footer-links a:hover { color: var(--saffron); }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 36px; border-top: 1px solid rgba(255,255,255,0.07); display: flex; justify-content: space-between; align-items: center; }
.footer-bottom-text { font-size: 11px; color: rgba(250,246,240,0.28); }
.footer-bottom-text span { color: var(--saffron); }

/* ── FLOATING ── */
.wa-btn {
  position: fixed; bottom: 36px; right: 36px; z-index: 300;
  width: 56px; height: 56px; border-radius: 50%; background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 32px rgba(37,211,102,0.35); text-decoration: none; transition: all 0.3s;
}
.wa-btn:hover { transform: scale(1.1); }
.wa-btn svg { width: 28px; height: 28px; fill: white; }

/* ── DOC CHECKLIST ── */
.docs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.docs-card { border: 1px solid var(--border); padding: 44px; background: white; position: relative; }
.docs-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(to right, var(--saffron), var(--terra)); }
.docs-card-title { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 600; color: var(--charcoal); margin-bottom: 6px; }
.docs-card-sub { font-size: 12px; color: var(--text-light); margin-bottom: 28px; }
.doc-item { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--border); }
.doc-item:last-child { border-bottom: none; }
.doc-check { width: 20px; height: 20px; border-radius: 50%; background: var(--saffron-dim); border: 1px solid var(--saffron); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.doc-check::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--saffron); }
.doc-text { font-size: 13.5px; line-height: 1.6; color: var(--charcoal); }
.doc-tip { font-size: 11px; color: var(--text-light); margin-top: 3px; font-style: italic; }

/* ── SCHOLARSHIP CARDS ── */
.scholarship-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.scholarship-card { border: 1px solid var(--border); background: white; overflow: hidden; transition: all 0.3s; }
.scholarship-card:hover { border-color: var(--saffron); box-shadow: 0 16px 48px rgba(212,121,42,0.1); transform: translateY(-4px); }
.scholarship-top { height: 6px; }
.scholarship-inner { padding: 32px; }
.scholarship-badge { display: inline-block; padding: 4px 12px; font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 16px; }
.badge-full { background: rgba(45,90,39,0.1); color: var(--forest); }
.badge-merit { background: rgba(212,121,42,0.1); color: var(--saffron); }
.badge-govt { background: rgba(26,35,126,0.1); color: var(--indigo); }
.scholarship-name { font-family: 'Cormorant Garamond', serif; font-size: 19px; font-weight: 600; color: var(--charcoal); margin-bottom: 6px; line-height: 1.3; }
.scholarship-by { font-size: 11px; color: var(--text-light); margin-bottom: 14px; }
.scholarship-desc { font-size: 13px; line-height: 1.85; color: var(--text-mid); margin-bottom: 18px; }
.scholarship-detail { display: flex; gap: 10px; font-size: 12px; color: var(--text-mid); margin-bottom: 6px; }
.scholarship-detail-label { color: var(--saffron); font-weight: 500; flex-shrink: 0; width: 70px; }
.scholarship-cta-row { padding: 14px 32px; border-top: 1px solid var(--border); }

/* ── ANIMATIONS ── */
@keyframes scrollx { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse { 0%,100% { opacity: 0.3; } 50% { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 16px 24px; }
  .nav-links { display: none; }
  .nav-mobile-btn { display: block; }
  .nav-links.open { display: flex; flex-direction: column; position: fixed; top: 64px; left: 0; right: 0; background: rgba(250,246,240,0.98); padding: 24px; gap: 4px; border-bottom: 1px solid var(--border); }
  .page-hero { padding: 120px 24px 60px; }
  .success-grid { grid-template-columns: 1fr; }
  .docs-grid { grid-template-columns: 1fr; }
  .scholarship-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2,1fr); }
  .booking-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
