/* iimcertification.co.in — Reference/Comparison Design System */
/* Palette: Clean White + Cobalt Blue + Slate accents */
:root {
  --cobalt:      #1E40AF;
  --cobalt-mid:  #2563EB;
  --cobalt-light:#3B82F6;
  --cobalt-pale: rgba(37,99,235,0.06);
  --cobalt-border:rgba(37,99,235,0.15);
  --slate:       #0F172A;
  --slate-mid:   #1E293B;
  --white:       #FFFFFF;
  --gray-50:     #F8FAFC;
  --gray-100:    #F1F5F9;
  --gray-200:    #E2E8F0;
  --gray-300:    #CBD5E1;
  --text:        #0F172A;
  --text-muted:  #475569;
  --text-light:  #94A3B8;
  --border:      #E2E8F0;
  --border-dark: #CBD5E1;
  --r:           6px;
  --r-lg:        10px;
  --shadow-sm:   0 1px 6px rgba(15,23,42,0.06);
  --shadow:      0 4px 24px rgba(15,23,42,0.08);
  --font-head:   'Space Grotesk', system-ui, sans-serif;
  --font-body:   'Inter', 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); background: var(--white); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }

/* ── NAV ── */
.nav { position: sticky; top: 0; z-index: 200; background: var(--slate); height: 60px; display: flex; align-items: center; padding: 0 5%; gap: 2rem; border-bottom: 3px solid var(--cobalt); }
.nav-logo { font-family: var(--font-head); font-size: 0.95rem; font-weight: 700; color: #fff; white-space: nowrap; letter-spacing: -0.01em; }
.nav-logo span { color: var(--cobalt-light); }
.nav-links { display: flex; gap: 1.75rem; list-style: none; flex: 1; }
.nav-links a { font-size: 0.8rem; color: rgba(255,255,255,0.55); font-weight: 500; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.on { color: #fff; }
.nav-cta { background: var(--cobalt-mid); color: #fff; padding: 0.4rem 1rem; border-radius: var(--r); font-weight: 600; font-size: 0.78rem; transition: background 0.2s; }
.nav-cta:hover { background: var(--cobalt-light); }
.nav-ham { display: none; background: none; border: none; color: rgba(255,255,255,0.8); font-size: 1.3rem; cursor: pointer; margin-left: auto; }

/* ── INNER ── */
.inner { max-width: 1200px; margin: 0 auto; padding: 0 5%; }

/* ── STATS ── */
.stats-band { background: var(--slate-mid); display: flex; flex-wrap: wrap; justify-content: center; border-bottom: 1px solid rgba(255,255,255,0.06); }
.sbi { padding: 1.5rem 3rem; text-align: center; border-right: 1px solid rgba(255,255,255,0.06); }
.sbi:last-child { border-right: none; }
.sbi-n { font-family: var(--font-head); font-size: 1.7rem; font-weight: 700; color: var(--cobalt-light); letter-spacing: -0.02em; line-height: 1; margin-bottom: 0.2rem; }
.sbi-l { font-size: 0.65rem; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.1em; }

/* ── SECTIONS ── */
.section { padding: 64px 0; }
.section-white { background: var(--white); }
.section-gray { background: var(--gray-50); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.eyebrow { display: block; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cobalt-mid); margin-bottom: 0.5rem; }
.sec-title { font-family: var(--font-head); font-size: clamp(1.25rem,2.5vw,1.75rem); font-weight: 700; color: var(--text); letter-spacing: -0.02em; margin-bottom: 0.4rem; }

/* ── PROG GRID ── */
.prog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px,1fr)); gap: 1rem; margin-top: 1.5rem; }

/* ── COMPARE TABLE ── */
.ctable { width: 100%; border-collapse: collapse; font-size: 0.795rem; }
.ctable th { background: var(--slate); color: #fff; padding: 0.6rem 0.85rem; text-align: left; font-weight: 600; font-size: 0.72rem; letter-spacing: 0.02em; }
.ctable td { padding: 0.65rem 0.85rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
.ctable tr:hover td { background: var(--cobalt-pale); }
.ctable-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }

/* ── BUTTONS ── */
.btn { display: inline-block; padding: 0.6rem 1.3rem; border-radius: var(--r); font-weight: 600; font-size: 0.82rem; transition: all 0.2s; cursor: pointer; border: none; font-family: var(--font-body); }
.btn-cobalt { background: var(--cobalt-mid); color: #fff; }
.btn-cobalt:hover { background: var(--cobalt-light); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-slate { background: var(--slate); color: #fff; }
.btn-slate:hover { background: var(--slate-mid); }
.btn-outline { background: transparent; color: var(--text-muted); border: 1.5px solid var(--border-dark); }
.btn-outline:hover { border-color: var(--cobalt-mid); color: var(--cobalt-mid); }
.btn-lg { padding: 0.8rem 1.8rem; font-size: 0.9rem; }

/* ── CTA ── */
.cta-band { background: linear-gradient(135deg, var(--slate) 0%, var(--cobalt) 100%); padding: 64px 5%; text-align: center; }
.cta-band h2 { font-family: var(--font-head); font-size: clamp(1.4rem,3vw,2rem); font-weight: 700; color: #fff; margin-bottom: 0.75rem; }
.cta-band p { font-size: 0.9rem; color: rgba(255,255,255,0.6); margin-bottom: 2rem; max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-btns { display: flex; gap: 0.875rem; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ── */
.footer { background: var(--slate); padding: 56px 5% 28px; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1.2fr 1fr 1.2fr; gap: 2.5rem; max-width: 1200px; margin: 0 auto 2.5rem; }
.footer-brand .footer-logo { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.78rem; color: rgba(255,255,255,0.4); line-height: 1.7; }
.fcol-title { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cobalt-light); margin-bottom: 0.875rem; }
.fcol ul { list-style: none; }
.fcol li { margin-bottom: 0.45rem; }
.fcol a { font-size: 0.78rem; color: rgba(255,255,255,0.5); transition: color 0.15s; }
.fcol a:hover { color: #fff; }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-bottom span { font-size: 0.7rem; color: rgba(255,255,255,0.25); }

/* ── STICKY ── */
.sticky-mb { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 300; height: 52px; }
.smb-call { flex: 0 0 72px; display: flex; align-items: center; justify-content: center; background: var(--slate-mid); color: rgba(255,255,255,0.8); font-size: 0.78rem; font-weight: 600; border-top: 1px solid rgba(255,255,255,0.08); }
.smb-cta { flex: 1; display: flex; align-items: center; justify-content: center; background: var(--cobalt-mid); color: #fff; font-size: 0.82rem; font-weight: 700; }

/* ── ARTICLE ── */
.awrap { max-width: 1020px; margin: 0 auto; padding: 52px 5%; display: grid; grid-template-columns: 1fr 240px; gap: 3rem; }
.art h2 { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--text); margin: 1.75rem 0 0.65rem; padding-top: 1.4rem; border-top: 1px solid var(--border); }
.art h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.art p { font-size: 0.845rem; color: var(--text-muted); line-height: 1.85; margin-bottom: 0.75rem; }
.art a { color: var(--cobalt-mid); }
.art strong { color: var(--text); }
.art table { width: 100%; border-collapse: collapse; font-size: 0.775rem; margin: 1rem 0; }
.art table th { background: var(--slate); color: #fff; padding: 0.55rem 0.85rem; text-align: left; font-weight: 600; }
.art table td { padding: 0.58rem 0.85rem; border-bottom: 1px solid var(--border); }
.art table tr:nth-child(even) td { background: var(--gray-50); }

/* ── MOBILE ── */
@media(max-width:900px) { .footer-grid{grid-template-columns:1fr 1fr;} .prog-grid{grid-template-columns:1fr;} .stats-band{flex-wrap:nowrap;overflow-x:auto;justify-content:flex-start;} .sbi{flex-shrink:0;padding:1.25rem 1.75rem;} }
@media(max-width:680px) { .nav-links{display:none;} .nav-ham{display:block;} .footer-grid{grid-template-columns:1fr;gap:1.5rem;} .awrap{grid-template-columns:1fr;} }
