/* ── CREA GLOBAL STYLESHEET ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --navy: #0A1628;
  --navy-mid: #122040;
  --navy-light: #1a2f58;
  --teal: #00C9A7;
  --teal-light: #00e0bc;
  --teal-muted: rgba(0,201,167,0.12);
  --purple: #7B5EA7;
  --purple-muted: rgba(123,94,167,0.1);
  --gold: #F4B942;
  --gold-muted: rgba(244,185,66,0.15);
  --white: #ffffff;
  --off-white: #f7f8fc;
  --text-body: #2c3e55;
  --text-muted: #6b7a94;
  --border: rgba(10,22,40,0.1);
  --shadow-sm: 0 2px 12px rgba(10,22,40,0.08);
  --shadow-md: 0 6px 30px rgba(10,22,40,0.12);
  --shadow-lg: 0 16px 60px rgba(10,22,40,0.15);
  --radius: 10px;
  --radius-lg: 16px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ALL headings — Playfair Display */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.22;
  font-weight: 700;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── LAYOUT ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.section { padding: 88px 0; }
.section-alt { background: var(--off-white); }
.section-sm { padding: 56px 0; }

/* ── TYPOGRAPHY ── */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  margin-bottom: 12px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 24px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.22s ease;
  border: none;
  white-space: nowrap;
}
.btn-lg { padding: 14px 34px; font-size: 1rem; }
.btn-sm { padding: 8px 18px; font-size: 0.82rem; }

.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-light); transform: translateY(-1px); box-shadow: var(--shadow-sm); }

.btn-outline { background: transparent; border: 1.5px solid var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-outline-white { background: transparent; border: 1.5px solid rgba(255,255,255,0.3); color: rgba(255,255,255,0.85); }
.btn-outline-white:hover { border-color: rgba(255,255,255,0.6); color: var(--white); }

.btn-teal { background: var(--teal); color: var(--navy); font-weight: 600; }
.btn-teal:hover { background: var(--teal-light); transform: translateY(-1px); box-shadow: 0 4px 20px rgba(0,201,167,0.28); }

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
}
.logo-mark {
  width: 38px;
  height: 38px;
  background: var(--navy);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-dot { color: var(--teal); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-body);
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}
.nav-actions { display: flex; align-items: center; gap: 12px; }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }

/* ── MOBILE NAV ── */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 300;
  flex-direction: column;
  padding: 24px 28px;
}
.mobile-nav.open { display: flex; }
.mobile-nav-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.mobile-nav-links { display: flex; flex-direction: column; gap: 0; flex: 1; }
.mobile-nav-links a {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.2s;
}
.mobile-nav-links a:hover { color: var(--teal); }
.mobile-nav-cta { margin-top: 40px; display: flex; flex-direction: column; gap: 12px; }

/* ── FOOTER ── */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.55);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand .logo { color: var(--white); margin-bottom: 16px; }
.footer-brand p { font-size: 0.84rem; line-height: 1.75; color: rgba(255,255,255,0.45); }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul a {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--teal); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.78rem; }
.footer-reg {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.28);
}

/* ── CARD SHARED ── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: box-shadow 0.25s, transform 0.25s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

/* ── BADGE CHIPS ── */
.chip {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 5px;
}
.chip-teal { background: var(--teal-muted); color: var(--teal); }
.chip-purple { background: var(--purple-muted); color: var(--purple); }
.chip-gold { background: var(--gold-muted); color: #b8892a; }
.chip-navy { background: rgba(10,22,40,0.07); color: var(--navy); }
.chip-muted { background: var(--off-white); color: var(--text-muted); border: 1px solid var(--border); }

/* ── POPUP ── */
.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,22,40,0.6);
  backdrop-filter: blur(4px);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.popup-overlay.open { display: flex; }
.popup-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 500px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: popIn 0.3s ease;
}
@keyframes popIn {
  from { opacity:0; transform: scale(0.94) translateY(10px); }
  to { opacity:1; transform: scale(1) translateY(0); }
}
.popup-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none; border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 1.4rem;
  line-height: 1;
  padding: 4px 8px;
  transition: color 0.2s;
}
.popup-close:hover { color: var(--navy); }

/* ── COMING SOON BANNER ── */
.coming-banner {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(244,185,66,0.12);
  border: 1px solid rgba(244,185,66,0.3);
  color: #b8892a;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 4px 10px;
  border-radius: 4px;
}

/* ── CHECK LIST ── */
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}
.check-list li:last-child { border-bottom: none; }
.check-icon {
  width: 18px; height: 18px;
  background: var(--teal-muted);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.check-icon svg { width: 9px; height: 9px; }

/* ── FAQ ACCORDION ── */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.93rem;
  color: var(--navy);
  gap: 16px;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--teal); }
.faq-q svg { flex-shrink:0; transition: transform 0.25s; color: var(--teal); }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a {
  font-size: 0.87rem; color: var(--text-muted);
  line-height: 1.75;
  max-height: 0; overflow: hidden;
  transition: max-height 0.32s ease, padding 0.32s ease;
}
.faq-item.open .faq-a { max-height: 400px; padding-bottom: 18px; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
}

/* ── CERT ICONS ── */
.cert-icon-wrap { display:flex; align-items:center; gap:12px; margin-bottom:18px; }
.cert-icon-wrap svg { width:52px; height:52px; border-radius:12px; }
.cert-icon-sm { width:32px!important; height:32px!important; border-radius:8px!important; }
.cert-icons-row { display:flex; gap:16px; align-items:center; flex-wrap:wrap; margin:24px 0; }
.cert-icon-item { display:flex; flex-direction:column; align-items:center; gap:6px; font-size:0.7rem; color:var(--text-muted); text-align:center; }
.cert-icon-item svg { width:56px; height:56px; border-radius:14px; }

/* ── PROCTORING NOTICE POPUP ── */
.proctoring-notice-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  max-width: 480px;
  width: 90%;
  position: relative;
  text-align: center;
}
.proctoring-icon {
  width: 56px; height: 56px;
  background: rgba(244,185,66,0.12);
  border: 2px solid rgba(244,185,66,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.6rem;
}
.proctoring-date {
  display: inline-block;
  background: rgba(244,185,66,0.15);
  color: #9a7000;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}

/* ── BLOG NAV LINK ── */
.nav-links a.active { color: var(--teal); }
