/* ═══════════════════════════════════════════════
   GNDCE Majatrian — Main Stylesheet
   ═══════════════════════════════════════════════ */

/* ── CSS Tokens ── */
:root {
  --navy:       #3C4681;
  --navy-dk:    #2D3563;
  --navy-lt:    #4E5A9E;
  --burgundy:   #8B1A1A;
  --burgundy-h: #A52020;
  --gold:       #C8A04A;
  --gold-lt:    #D4B870;

  --bg:         #F5F4F0;
  --surface:    #FFFFFF;
  --surface-2:  #EFF0F8;
  --border:     #E0DFED;

  --text:       #1A1A2E;
  --muted:      #5C5C6E;
  --on-dk:      #ECE9FF;
  --on-dk-m:    #A8A6C4;

  --r:     8px;
  --r-lg:  16px;
  --sh-sm: 0 2px 8px rgba(60,70,129,.08);
  --sh-md: 0 6px 28px rgba(60,70,129,.15);
  --t:     200ms ease;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:       #0D1020;
    --surface:  #151928;
    --surface-2:#1C2240;
    --border:   #292F52;
    --text:     #E4E2F8;
    --muted:    #9494B0;
    --on-dk:    #E4E2F8;
    --on-dk-m:  #9494B0;
    --navy-lt:  #6272C8;
    --sh-sm:    0 2px 8px rgba(0,0,0,.35);
    --sh-md:    0 6px 28px rgba(0,0,0,.45);
  }
}
:root[data-theme="dark"] {
  --bg:       #0D1020;
  --surface:  #151928;
  --surface-2:#1C2240;
  --border:   #292F52;
  --text:     #E4E2F8;
  --muted:    #9494B0;
  --navy-lt:  #6272C8;
  --sh-sm:    0 2px 8px rgba(0,0,0,.35);
  --sh-md:    0 6px 28px rgba(0,0,0,.45);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
  background: var(--bg); color: var(--text);
  font-size: 16px; line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--burgundy); }
h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.22;
}

/* ── Top Bar ── */
.topbar {
  background: var(--navy-dk); color: var(--on-dk-m);
  font-size: 12.5px; padding: 5px 24px;
  display: flex; flex-wrap: wrap; gap: 6px 20px;
  justify-content: space-between; align-items: center;
}
.topbar a { color: var(--on-dk-m); }
.topbar a:hover { color: var(--gold); }
.topbar-left { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.topbar-item { display: flex; align-items: center; gap: 5px; }
.topbar-right { display: flex; gap: 8px; }
.topbar-pill {
  font-size: 11px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--gold);
  border: 1px solid rgba(200,160,74,.4);
  padding: 2px 10px; border-radius: 4px; transition: all var(--t);
}
.topbar-pill:hover { background: var(--gold); color: #1A1A2E; }

/* ── Site Header ── */
.site-header {
  background: var(--surface); padding: 14px 24px;
  display: flex; align-items: center; gap: 18px;
  border-bottom: 1px solid var(--border);
}
.header-emblem {
  flex-shrink: 0; width: 78px; height: 78px;
  border-radius: 50%; background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--sh-sm); overflow: hidden;
  border: 2px solid var(--gold);
}
.header-emblem img { width: 68px; height: auto; object-fit: contain; }
.header-text { flex: 1; min-width: 0; }
.college-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1rem, 3vw, 1.55rem); font-weight: 700;
  color: var(--navy); line-height: 1.2;
}
.college-location { font-size: 13px; color: var(--muted); margin-top: 2px; }
.header-badges { display: flex; gap: 8px; margin-top: 7px; flex-wrap: wrap; }
.hbadge {
  font-size: 11px; font-weight: 600; letter-spacing: .05em;
  text-transform: uppercase; padding: 2px 9px; border-radius: 4px;
  background: var(--surface-2); color: var(--navy); border: 1px solid var(--border);
}
.header-right { flex-shrink: 0; display: flex; align-items: center; gap: 12px; }
.header-affil-logo { width: 56px; height: 56px; object-fit: contain; filter: grayscale(20%); opacity: .85; }

/* ── Main Nav ── */
.main-nav {
  background: var(--navy);
  position: sticky; top: 0; z-index: 100; box-shadow: var(--sh-md);
}
.nav-inner {
  max-width: 1300px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-list { list-style: none; display: flex; }
.nav-item > a {
  display: block; padding: 13px 15px;
  color: rgba(240,238,255,.88);
  font-size: 13.5px; font-weight: 500; letter-spacing: .02em;
  white-space: nowrap; transition: all var(--t);
}
.nav-item > a:hover,
.nav-item > a.active { color: var(--gold); background: rgba(255,255,255,.06); }
.nav-item { position: relative; }
.nav-dropdown {
  position: absolute; top: 100%; left: 0;
  background: var(--navy-dk); min-width: 240px;
  list-style: none; border-top: 2px solid var(--gold);
  box-shadow: var(--sh-md);
  opacity: 0; pointer-events: none;
  transform: translateY(-4px); transition: all var(--t); z-index: 200;
}
.nav-item:hover .nav-dropdown { opacity: 1; pointer-events: auto; transform: translateY(0); }
.nav-dropdown a {
  display: block; padding: 9px 16px;
  color: var(--on-dk-m); font-size: 13px;
  transition: all var(--t); border-bottom: 1px solid rgba(255,255,255,.05);
}
.nav-dropdown a:hover { color: var(--gold); background: rgba(255,255,255,.05); padding-left: 22px; }
.nav-hamburger {
  display: none; background: none; border: none;
  color: white; cursor: pointer; padding: 8px; font-size: 22px;
}
.mobile-menu { display: none; flex-direction: column; background: var(--navy-dk); }
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: block; padding: 11px 24px;
  color: rgba(255,255,255,.82); font-size: 15px;
  border-bottom: 1px solid rgba(255,255,255,.06); transition: all var(--t);
}
.mobile-menu a:hover { color: var(--gold); background: rgba(255,255,255,.05); }
.mobile-menu .sub a { padding-left: 38px; font-size: 13.5px; color: var(--on-dk-m); background: rgba(0,0,0,.12); }

/* ── Hero Slider ── */
.hero {
  position: relative; overflow: hidden;
  height: min(500px, 58vw); min-height: 260px;
  background: var(--navy-dk);
}
.slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  padding: 48px; opacity: 0; transition: opacity 700ms ease;
}
.slide.active { opacity: 1; z-index: 1; }
.slide-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.slide-bg-1 { background-image: url('https://gndce.co.in/wp-content/uploads/2022/01/home-bg3.jpg'),   linear-gradient(130deg,#1A1F3C,#3C4681 55%,#2D1B4E); }
.slide-bg-2 { background-image: url('https://gndce.co.in/wp-content/uploads/2022/01/Slider-26.jpg'), linear-gradient(130deg,#1A3A2E,#1A7A64 55%,#0D5048); }
.slide-bg-3 { background-image: url('https://gndce.co.in/wp-content/uploads/2022/01/Slider-27.jpg'), linear-gradient(130deg,#2D1B4E,#7B3CA0 55%,#1A1F3C); }
.slide-bg-4 { background-image: url('https://gndce.co.in/wp-content/uploads/2022/01/Slider-28.jpg'), linear-gradient(130deg,#1A1F3C,#3A52B0 55%,#3C4681); }
.slide-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to right, rgba(0,0,0,.65) 0%, rgba(0,0,0,.25) 60%, rgba(0,0,0,.1) 100%);
}
.slide-content { position: relative; z-index: 2; max-width: 620px; color: white; }
.slide-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 10px;
}
.slide-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.55rem, 4.5vw, 2.75rem);
  font-weight: 700; line-height: 1.18;
  text-shadow: 0 2px 10px rgba(0,0,0,.4); margin-bottom: 18px;
}
.slide-action-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.slide-cta {
  display: inline-block; padding: 10px 28px;
  background: var(--gold); color: #1A1A2E;
  font-weight: 700; font-size: 13.5px;
  border-radius: 6px; letter-spacing: .04em;
  transition: all var(--t); flex-shrink: 0;
}
.slide-cta:hover { background: var(--gold-lt); color: #1A1A2E; transform: translateY(-1px); }
.slide-caption {
  font-size: 12px; color: rgba(255,255,255,.8);
  line-height: 1.5; max-width: 240px;
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
}
.slider-prev, .slider-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10; background: rgba(0,0,0,.3);
  border: none; color: white;
  width: 42px; height: 42px; border-radius: 50%;
  cursor: pointer; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--t);
}
.slider-prev:hover, .slider-next:hover { background: var(--gold); color: #1A1A2E; }
.slider-prev { left: 14px; }
.slider-next { right: 14px; }
.slider-dots {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 7px; z-index: 10;
}
.sdot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.4); border: none;
  cursor: pointer; padding: 0; transition: all var(--t);
}
.sdot.active { background: var(--gold); width: 22px; border-radius: 4px; }

/* ── Motto ── */
.motto {
  background: var(--surface);
  border-top: 3px solid var(--gold); border-bottom: 1px solid var(--border);
  padding: 18px 24px; text-align: center;
}
.motto blockquote {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  font-style: italic; color: var(--navy);
}

/* ── Layout helpers ── */
.outer { max-width: 1300px; margin: 0 auto; padding-inline: 24px; }
.section { padding-block: 60px; }
.sec-header { text-align: center; margin-bottom: 40px; }
.sec-eye {
  font-size: 11px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 7px;
}
.sec-title { font-size: clamp(1.4rem, 2.8vw, 2rem); color: var(--navy); font-weight: 700; }
.sec-rule { width: 44px; height: 3px; border-radius: 2px; background: var(--gold); margin: 10px auto 0; }

/* ── Programs ── */
.programs { background: var(--bg); }
.programs-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.prog-card {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg); min-height: 195px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 20px; box-shadow: var(--sh-md);
  transition: transform var(--t), box-shadow var(--t);
}
.prog-card:hover { transform: translateY(-4px); }
.prog-c1 { background: linear-gradient(150deg,#8B1A1A,#4A0A0A); }
.prog-c2 { background: linear-gradient(150deg,#1A3A72,#0D1F45); }
.prog-c3 { background: linear-gradient(150deg,#1A5C3C,#0A3020); }
.prog-c4 { background: linear-gradient(150deg,#3C2060,#1E0A38); }
.prog-num {
  position: absolute; top: -10px; right: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(88px,16vw,128px); font-weight: 700;
  color: rgba(255,255,255,.07); line-height: 1;
  pointer-events: none; user-select: none;
}
.prog-yrs {
  font-size: 10.5px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 5px;
}
.prog-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(.95rem,1.8vw,1.2rem); font-weight: 600;
  color: white; line-height: 1.3;
}
.prog-abbr { font-size: 12px; color: rgba(255,255,255,.6); margin-top: 3px; }

/* ── About & Stats ── */
.about-wrap { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.about-grid { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; }
.about-body h2 { font-size: clamp(1.3rem,2.4vw,1.75rem); color: var(--navy); margin-bottom: 14px; font-weight: 700; }
.about-body p { color: var(--muted); line-height: 1.78; margin-bottom: 12px; }
.about-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; color: var(--navy); font-size: 14px;
  border-bottom: 2px solid var(--gold); padding-bottom: 2px;
  margin-top: 16px; transition: color var(--t);
}
.about-link:hover { color: var(--burgundy); }
.stats-col { display: flex; flex-direction: column; gap: 14px; }
.stat-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r); padding: 14px 18px;
  display: flex; align-items: center; gap: 14px; box-shadow: var(--sh-sm);
}
.stat-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--navy); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; flex-shrink: 0;
}
.stat-val { font-family: 'Playfair Display', serif; font-size: 1.45rem; font-weight: 700; color: var(--navy); line-height: 1; }
.stat-lbl { font-size: 12.5px; color: var(--muted); margin-top: 2px; }

/* ── Infrastructure strip ── */
.infra-outer {
  background: var(--surface-2); border-top: 1px solid var(--border); padding: 0 0 32px;
}
.infra-strip {
  padding: 32px 24px;
  max-width: 1300px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.infra-row2 {
  max-width: 1300px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.infra-item {
  display: flex; align-items: center; gap: 12px;
  background: white; border: 1px solid var(--border);
  border-radius: 10px; padding: 14px 18px;
  font-size: 13.5px; color: var(--muted);
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.infra-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--navy); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
@media (max-width: 768px) {
  .infra-strip  { grid-template-columns: 1fr; }
  .infra-row2   { grid-template-columns: 1fr; }
}

/* ── News & Downloads ── */
.news-section { background: var(--bg); }
.news-grid { display: grid; grid-template-columns: 1fr 275px; gap: 40px; }
.news-panel h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid var(--gold); }
.news-list { list-style: none; }
.news-item { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--border); }
.news-date {
  flex-shrink: 0; width: 50px; background: var(--navy); color: white;
  border-radius: 6px; padding: 3px 0; text-align: center;
  font-size: 11px; font-weight: 600; line-height: 1.3;
}
.news-date-day { display: block; font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; }
.news-title { font-weight: 600; font-size: 14.5px; color: var(--text); line-height: 1.4; }
.news-title:hover { color: var(--navy); }
.news-meta { font-size: 12px; color: var(--muted); margin-top: 3px; }
.dl-panel h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid var(--gold); }
.dl-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--r);
  margin-bottom: 8px; font-size: 13.5px; color: var(--text); transition: all var(--t);
}
.dl-item:hover { border-color: var(--navy); background: var(--surface-2); color: var(--navy); }
.dl-icon {
  width: 30px; height: 30px; border-radius: 6px;
  background: var(--burgundy); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; flex-shrink: 0;
}

/* ── Affiliations ── */
.affiliations { background: var(--navy); }
.affiliations .sec-title { color: white; }
.affiliations .sec-eye { color: var(--gold); }
.aff-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.aff-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-lg); padding: 28px 22px;
  text-align: center; transition: all var(--t);
}
.aff-card:hover { background: rgba(255,255,255,.13); transform: translateY(-2px); }
.aff-logo-wrap {
  width: 80px; height: 80px; border-radius: 12px;
  background: white; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding: 6px;
}
.aff-logo-wrap img { width: 100%; height: 100%; object-fit: contain; }
.aff-name { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; color: white; margin-bottom: 8px; }
.aff-desc { font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.6; margin-bottom: 14px; }
.aff-link {
  font-size: 11.5px; font-weight: 700; color: var(--gold);
  letter-spacing: .07em; text-transform: uppercase;
  border-bottom: 1px solid rgba(200,160,74,.4); padding-bottom: 1px;
}
.aff-link:hover { color: var(--gold-lt); }

/* ── Quick Actions ── */
.quick-wrap { background: var(--surface); border-top: 1px solid var(--border); }
.qa-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.qa-card {
  border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px 22px;
  background: var(--bg); box-shadow: var(--sh-sm);
  display: flex; flex-direction: column; align-items: center;
  gap: 11px; text-align: center;
}
.qa-icon {
  width: 54px; height: 54px; border-radius: 14px;
  background: var(--navy); color: white;
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.qa-title { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; color: var(--navy); }
.qa-desc { font-size: 13px; color: var(--muted); line-height: 1.55; }
.qa-btn {
  display: inline-block; padding: 8px 22px; border-radius: 6px;
  font-weight: 600; font-size: 13px; letter-spacing: .03em;
  border: 2px solid var(--navy); color: var(--navy);
  background: transparent; cursor: pointer; margin-top: 4px; transition: all var(--t);
}
.qa-btn:hover { background: var(--navy); color: white; }
.qa-btn-primary { background: var(--burgundy); border-color: var(--burgundy); color: white; }
.qa-btn-primary:hover { background: var(--burgundy-h); border-color: var(--burgundy-h); }

/* ── Page banner (inner pages) ── */
.page-banner {
  background: var(--navy);
  padding: 42px 24px; text-align: center; position: relative; overflow: hidden;
}
.page-banner::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(200,160,74,.08) 0%, transparent 60%);
}
.page-banner h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 700;
  color: white; position: relative;
}
.page-banner .breadcrumb {
  font-size: 13px; color: var(--on-dk-m); margin-top: 8px; position: relative;
}
.page-banner .breadcrumb a { color: var(--gold); }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-form label { display: block; font-size: 13.5px; font-weight: 600; color: var(--text); margin-bottom: 5px; }
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%; padding: 9px 13px;
  border: 1px solid var(--border); border-radius: var(--r);
  background: var(--surface); color: var(--text);
  font-size: 14.5px; font-family: inherit;
  transition: border-color var(--t);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none; border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(60,70,129,.1);
}
.contact-form .form-row { margin-bottom: 16px; }
.contact-form textarea { min-height: 130px; resize: vertical; }
.btn-submit {
  background: var(--navy); color: white;
  border: none; padding: 11px 32px; border-radius: 6px;
  font-size: 15px; font-weight: 600; cursor: pointer;
  transition: background var(--t); letter-spacing: .02em;
}
.btn-submit:hover { background: var(--navy-lt); }
.contact-info h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: 18px; border-bottom: 2px solid var(--gold); padding-bottom: 8px; }
.contact-info-item { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; font-size: 14px; color: var(--muted); }
.contact-info-item strong { color: var(--text); display: block; margin-bottom: 2px; }
.ci-icon {
  width: 38px; height: 38px; border-radius: 8px; flex-shrink: 0;
  background: var(--navy); color: white; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
}
.alert { padding: 12px 16px; border-radius: var(--r); margin-bottom: 18px; font-size: 14px; }
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.alert-error   { background: #fee2e2; color: #7f1d1d; border: 1px solid #fca5a5; }

/* ── Footer ── */
.site-footer { background: var(--navy-dk); color: var(--on-dk-m); padding: 52px 24px 0; }
.footer-grid {
  max-width: 1300px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-logo-row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-emblem {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(200,160,74,.12); border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; overflow: hidden;
}
.footer-emblem img { width: 44px; height: auto; object-fit: contain; }
.footer-cname { font-family: 'Playfair Display', serif; font-size: .95rem; font-weight: 700; color: white; line-height: 1.3; }
.footer-tagline { font-style: italic; font-size: 12.5px; }
.footer-desc { font-size: 13px; line-height: 1.75; margin-bottom: 14px; }
.footer-addr { font-size: 13px; display: flex; flex-direction: column; gap: 5px; }
.footer-addr span { display: flex; align-items: flex-start; gap: 6px; }
.footer-heading {
  font-family: 'Playfair Display', serif; font-size: .95rem;
  font-weight: 700; color: white;
  margin-bottom: 14px; padding-bottom: 8px;
  border-bottom: 1px solid rgba(200,160,74,.35);
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.footer-links a { font-size: 13px; color: var(--on-dk-m); display: flex; align-items: center; gap: 6px; transition: color var(--t); }
.footer-links a::before { content: '›'; color: var(--gold); font-size: 15px; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1300px; margin: 0 auto; padding: 14px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; flex-wrap: wrap; gap: 6px;
}

/* Social icons */
.social-icons { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.social-icon {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.7); transition: all .2s;
}
.social-icon svg { width: 16px; height: 16px; }
.social-icon:hover { color: #fff; border-color: #fff; transform: translateY(-2px); }
.social-fb:hover  { background: #1877f2; border-color: #1877f2; }
.social-ig:hover  { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); border-color: transparent; }
.social-tw:hover  { background: #1da1f2; border-color: #1da1f2; }
.social-yt:hover  { background: #ff0000; border-color: #ff0000; }
.social-wa:hover  { background: #25d366; border-color: #25d366; }

/* Portal buttons in footer */
.portal-links { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.portal-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 7px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.85); font-size: 12.5px; font-weight: 600;
  transition: all .2s; text-decoration: none;
}
.portal-btn:hover { background: var(--gold); color: #1a1a2e; border-color: var(--gold); }
.portal-btn svg { flex-shrink: 0; }

/* Topbar social icons */
.topbar-social {
  display: flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; color: rgba(255,255,255,.75);
  transition: color var(--t); border-radius: 50%;
}
.topbar-social:hover { color: var(--gold); }
.topbar-social-muted { color: rgba(255,255,255,.25); cursor: default; }
.topbar-social-muted:hover { color: rgba(255,255,255,.25); }
.topbar-divider { width: 1px; height: 14px; background: rgba(255,255,255,.2); margin: 0 2px; align-self: center; }
.topbar-pill-portal {
  background: rgba(200,160,74,.2); border: 1px solid rgba(200,160,74,.4);
  display: inline-flex; align-items: center;
}
.topbar-pill-unconfigured { opacity: .45; cursor: default; }
.topbar-pill-unconfigured:hover { background: rgba(200,160,74,.2); color: inherit; }

/* ═══════════════════════════════════════════════
   ADMIN PANEL STYLES
   ═══════════════════════════════════════════════ */
.admin-body {
  font-family: 'Source Sans 3', system-ui, sans-serif;
  background: #f0f2f5; color: #1a1a2e; font-size: 15px;
}
.admin-topbar {
  background: var(--navy-dk); color: white;
  padding: 0 24px; display: flex; align-items: center;
  justify-content: space-between; height: 56px;
  position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.admin-topbar-brand { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: var(--gold); }
.admin-topbar-right { display: flex; gap: 16px; align-items: center; }
.admin-topbar-right a { color: rgba(255,255,255,.75); font-size: 13.5px; transition: color var(--t); }
.admin-topbar-right a:hover { color: var(--gold); }
.admin-sidebar {
  width: 230px; background: white; border-right: 1px solid #e0e0ee;
  position: fixed; top: 56px; bottom: 0; left: 0; overflow-y: auto;
  padding: 16px 0;
}
.admin-nav-item a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 20px; font-size: 14px; color: #3a3a5c;
  transition: all var(--t); border-left: 3px solid transparent;
}
.admin-nav-item a:hover,
.admin-nav-item a.active { background: var(--surface-2); color: var(--navy); border-left-color: var(--navy); }
.admin-nav-section { padding: 14px 20px 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #9999aa; }
.admin-main { margin-left: 230px; padding: 28px 32px; min-height: calc(100vh - 56px); }
.admin-page-title { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: var(--navy); margin-bottom: 24px; }
.admin-card {
  background: white; border-radius: 10px; padding: 22px 26px;
  box-shadow: 0 2px 10px rgba(60,70,129,.08); margin-bottom: 24px;
}
.admin-card h3 { font-size: 1rem; color: var(--navy); margin-bottom: 16px; font-weight: 700; }
.admin-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 28px; }
.admin-stat {
  background: white; border-radius: 10px; padding: 20px;
  box-shadow: 0 2px 10px rgba(60,70,129,.08);
  border-left: 4px solid var(--navy);
}
.admin-stat-val { font-size: 2rem; font-weight: 700; color: var(--navy); font-family: 'Playfair Display', serif; }
.admin-stat-lbl { font-size: 12.5px; color: #6c6c88; margin-top: 4px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th { background: var(--surface-2); color: var(--navy); font-weight: 600; padding: 10px 14px; text-align: left; border-bottom: 2px solid var(--border); }
.admin-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.admin-table tr:hover td { background: #fafaff; }
.admin-badge {
  display: inline-block; padding: 2px 9px; border-radius: 4px; font-size: 11.5px; font-weight: 600;
}
.admin-badge-active { background: #d1fae5; color: #065f46; }
.admin-badge-inactive { background: #fee2e2; color: #7f1d1d; }
.admin-btn {
  display: inline-block; padding: 6px 14px; border-radius: 5px;
  font-size: 12.5px; font-weight: 600; cursor: pointer; border: none;
  text-decoration: none; transition: all var(--t);
}
.admin-btn-primary { background: var(--navy); color: white; }
.admin-btn-primary:hover { background: var(--navy-lt); color: white; }
.admin-btn-danger { background: #fee2e2; color: #7f1d1d; }
.admin-btn-danger:hover { background: #fca5a5; color: #7f1d1d; }
.admin-btn-sm { padding: 4px 10px; font-size: 12px; }
.admin-form label { display: block; font-size: 13.5px; font-weight: 600; color: #333355; margin-bottom: 5px; }
.admin-form input[type="text"],
.admin-form input[type="url"],
.admin-form input[type="number"],
.admin-form input[type="password"],
.admin-form textarea,
.admin-form select {
  width: 100%; padding: 8px 12px;
  border: 1px solid #d4d4e0; border-radius: 6px;
  font-size: 14px; font-family: inherit; color: #1a1a2e;
  transition: border-color var(--t);
}
.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(60,70,129,.1); }
.admin-form .form-row { margin-bottom: 16px; }
.admin-form .form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.admin-form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.admin-form textarea { min-height: 100px; resize: vertical; }
.admin-form-actions { display: flex; gap: 12px; margin-top: 24px; }
.admin-login-wrap {
  min-height: 100vh; background: var(--navy-dk);
  display: flex; align-items: center; justify-content: center;
}
.admin-login-box {
  background: white; border-radius: 12px; padding: 40px;
  width: 100%; max-width: 400px; box-shadow: 0 10px 40px rgba(0,0,0,.3);
}
.admin-login-box h1 { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--navy); margin-bottom: 6px; }
.admin-login-box p { font-size: 13px; color: #6c6c88; margin-bottom: 24px; }

/* ── Responsive ── */
@media (max-width: 980px) {
  .programs-grid { grid-template-columns: repeat(2,1fr); }
  .about-grid     { grid-template-columns: 1fr; }
  .aff-grid       { grid-template-columns: 1fr; }
  .qa-grid        { grid-template-columns: 1fr; }
  .footer-grid    { grid-template-columns: 1fr 1fr; }
  .social-icons   { gap: 8px; }
  .news-grid      { grid-template-columns: 1fr; }
  .contact-grid   { grid-template-columns: 1fr; }
  .admin-stat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .admin-sidebar { display: none; }
  .admin-main    { margin-left: 0; padding: 20px 16px; }
}
@media (max-width: 600px) {
  .programs-grid { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr; }
  .hero          { height: 300px; }
  .slide         { padding: 22px; }
  .nav-list      { display: none; }
  .nav-hamburger { display: flex; }
  .topbar-left   { gap: 10px; }
  .header-right  { display: none; }
  .slide-caption { display: none; }
  .admin-stat-grid { grid-template-columns: 1fr 1fr; }
  .admin-form .form-row-2 { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
