/* =====================================================================
   RPTC Group of Institutions — Global Stylesheet
   Design system: navy + gold, professional education brand
   ===================================================================== */

:root {
  /* Brand palette */
  --navy-900: #071a33;
  --navy-800: #0b2545;
  --navy-700: #13315c;
  --navy-600: #1d4e89;
  --navy-500: #2f6db3;
  --gold-600: #b8891f;
  --gold-500: #c9a227;
  --gold-400: #e0b73a;
  --gold-100: #f8efd0;
  --teal-500: #0f8a7e;
  --maroon: #7a1f2b;

  /* Neutrals */
  --ink: #142033;
  --slate-700: #33445c;
  --slate-500: #5a6b82;
  --slate-400: #8695a8;
  --line: #e3e8f0;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --bg-softer: #eef2f8;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(11, 37, 69, .06), 0 2px 6px rgba(11, 37, 69, .06);
  --shadow-md: 0 8px 24px rgba(11, 37, 69, .10);
  --shadow-lg: 0 20px 50px rgba(11, 37, 69, .16);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --maxw: 1200px;
  --ease: cubic-bezier(.4, 0, .2, 1);

  --font-head: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--navy-600); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--gold-600); }

h1, h2, h3, h4, h5 { font-family: var(--font-head); color: var(--navy-800); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.5vw, 3.3rem); letter-spacing: -.5px; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -.3px; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { margin: 0 0 1rem; color: var(--slate-700); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

.section { padding: 84px 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); color: #fff; }
.section--tight { padding: 56px 0; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: .78rem;
  letter-spacing: 1.6px; text-transform: uppercase; color: var(--gold-600);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold-500); border-radius: 2px; }
.section--navy .eyebrow { color: var(--gold-400); }
.section-lead { max-width: 720px; margin: 0 auto 8px; color: var(--slate-500); font-size: 1.06rem; }
.section-head { margin-bottom: 52px; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy p { color: rgba(255,255,255,.78); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  padding: 13px 26px; border-radius: 50px; border: 2px solid transparent;
  cursor: pointer; transition: all .22s var(--ease); white-space: nowrap;
  line-height: 1;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--gold-500); color: var(--navy-900); box-shadow: 0 8px 20px rgba(201,162,39,.32); }
.btn--primary:hover { background: var(--gold-400); color: var(--navy-900); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(201,162,39,.42); }
.btn--navy { background: var(--navy-700); color: #fff; }
.btn--navy:hover { background: var(--navy-800); color: #fff; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--navy-700); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy-600); color: var(--navy-700); background: var(--bg-soft); }
.btn--outline-light { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.4); }
.btn--outline-light:hover { background: #fff; color: var(--navy-800); }
.btn--lg { padding: 16px 34px; font-size: 1rem; }

/* ---------- Top contact bar ---------- */
.topbar { background: var(--navy-900); color: rgba(255,255,255,.82); font-size: .82rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; flex-wrap: nowrap; }
.topbar a { color: rgba(255,255,255,.82); }
.topbar a:hover { color: var(--gold-400); }
.topbar-left { display: flex; gap: 22px; flex-wrap: nowrap; min-width: 0; align-items: center; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar-item svg { width: 14px; height: 14px; color: var(--gold-400); flex-shrink: 0; }
.topbar-social { display: flex; gap: 14px; align-items: center; flex-shrink: 0; }
/* progressively drop lower-priority contact items so the bar stays one clean line */
@media (max-width: 1024px) { .topbar-item.tb-email { display: none; } }
@media (max-width: 768px) { .topbar-item.tb-addr { display: none; } }
.topbar-social a { display: inline-flex; }
.topbar-social svg { width: 15px; height: 15px; }

/* ---------- Header / Nav ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: var(--shadow-sm); }
.navbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 50px; height: 50px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.18rem; color: var(--navy-800); letter-spacing: .3px; }
.brand-sub { font-size: .68rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-600); font-weight: 600; }

.nav-menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-head); font-weight: 500; font-size: .92rem;
  color: var(--slate-700); padding: 10px 14px; border-radius: 8px;
}
.nav-menu > li > a:hover, .nav-menu > li.active > a { color: var(--navy-800); background: var(--bg-soft); }
.nav-menu .caret { width: 12px; height: 12px; transition: transform .2s var(--ease); }
.has-dropdown:hover .caret { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 300px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 10px; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .22s var(--ease); z-index: 120;
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a { display: flex; gap: 12px; padding: 11px 12px; border-radius: 9px; align-items: flex-start; }
.dropdown li a:hover { background: var(--bg-soft); }
.dropdown .dd-ico { width: 38px; height: 38px; border-radius: 9px; flex-shrink: 0; display: grid; place-items: center; color: #fff; }
.dropdown .dd-t { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--navy-800); display: block; }
.dropdown .dd-d { font-size: .76rem; color: var(--slate-500); }

.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy-800); margin: 5px 0; border-radius: 2px; transition: all .25s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(7,26,51,.95) 0%, rgba(11,37,69,.86) 45%, rgba(19,49,92,.66) 100%); }
.hero-inner { position: relative; z-index: 1; padding: 96px 0 104px; }
.hero h1 { color: #fff; max-width: 760px; }
.hero-lead { font-size: 1.18rem; color: rgba(255,255,255,.86); max-width: 600px; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-badge { display: inline-flex; align-items: center; gap: 9px; background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2); border-radius: 50px; padding: 7px 16px 7px 8px;
  font-size: .82rem; font-weight: 500; margin-bottom: 22px; backdrop-filter: blur(6px); }
.hero-badge .dot { width: 26px; height: 26px; border-radius: 50%; background: var(--gold-500); color: var(--navy-900); display: grid; place-items: center; font-weight: 700; font-family: var(--font-head); }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.16); padding-top: 30px; }
.hero-stat .num { font-family: var(--font-head); font-weight: 800; font-size: 2.1rem; color: var(--gold-400); line-height: 1; }
.hero-stat .lbl { font-size: .85rem; color: rgba(255,255,255,.75); margin-top: 4px; }

/* page hero (interior) */
.page-hero { position: relative; color: #fff; overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(7,26,51,.94), rgba(19,49,92,.78)); }
.page-hero-inner { position: relative; z-index: 1; padding: 64px 0 68px; }
.page-hero h1 { color: #fff; margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,.82); max-width: 640px; margin: 0; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .85rem; color: rgba(255,255,255,.7); margin-bottom: 16px; list-style: none; padding: 0; flex-wrap: wrap; }
.breadcrumb a { color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: var(--gold-400); }
.breadcrumb li::after { content: "/"; margin-left: 8px; color: rgba(255,255,255,.4); }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb li[aria-current] { color: var(--gold-400); }

/* ---------- Grid helpers ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

/* College card */
.college-card { display: flex; flex-direction: column; }
.college-card .cc-media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.college-card .cc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.college-card:hover .cc-media img { transform: scale(1.06); }
.college-card .cc-tag { position: absolute; top: 14px; left: 14px; background: rgba(7,26,51,.85); color: #fff; font-size: .72rem; font-weight: 600; padding: 6px 12px; border-radius: 50px; backdrop-filter: blur(4px); font-family: var(--font-head); }
.college-card .cc-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.college-card h3 { margin-bottom: 8px; }
.college-card .cc-body p { font-size: .92rem; margin-bottom: 16px; }
.cc-meta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.cc-meta span { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--slate-500); font-weight: 500; }
.cc-meta svg { width: 15px; height: 15px; color: var(--gold-600); }
.college-card .cc-foot { margin-top: auto; }
.cc-link { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--navy-700); }
.cc-link svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.cc-link:hover svg { transform: translateX(4px); }

/* Feature/why cards */
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; transition: all .25s var(--ease); height: 100%; }
.feature:hover { border-color: var(--gold-400); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.feature-ico { width: 54px; height: 54px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px; background: var(--gold-100); color: var(--gold-600); }
.feature-ico svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.18rem; margin-bottom: 8px; }
.feature p { font-size: .92rem; margin: 0; }

/* Stat band */
.statband { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.statband .st { text-align: center; padding: 10px; }
.statband .num { font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; color: var(--gold-400); line-height: 1; }
.statband .lbl { color: rgba(255,255,255,.78); font-size: .9rem; margin-top: 8px; }

/* ---------- Tables (fees) ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: #fff; }
table.tbl { width: 100%; border-collapse: collapse; min-width: 560px; }
/* simple 2-column tables should fit small screens (no forced horizontal scroll) */
.table-wrap.fit table.tbl { min-width: 0; }
table.tbl caption { text-align: left; padding: 18px 20px 0; font-family: var(--font-head); font-weight: 700; color: var(--navy-800); font-size: 1.05rem; }
table.tbl thead th { background: var(--navy-800); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .86rem; text-align: left; padding: 14px 18px; }
table.tbl thead th:not(:first-child) { text-align: right; }
table.tbl tbody td { padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: .92rem; color: var(--slate-700); }
table.tbl tbody td:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
table.tbl tbody tr:nth-child(even) { background: var(--bg-soft); }
table.tbl tbody tr:hover { background: var(--gold-100); }
table.tbl tfoot td { padding: 14px 18px; font-weight: 700; color: var(--navy-800); border-top: 2px solid var(--navy-800); background: var(--bg-softer); }
table.tbl tfoot td:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
.tbl-note { font-size: .82rem; color: var(--slate-500); margin-top: 12px; }

/* ---------- Pricing / course detail ---------- */
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.info-list li { display: flex; justify-content: space-between; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .94rem; }
.info-list li span:first-child { color: var(--slate-500); }
.info-list li span:last-child { font-weight: 600; color: var(--navy-800); font-family: var(--font-head); text-align: right; }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--slate-700); }
.check-list li::before { content: ""; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--gold-100);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23b8891f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; margin-top: 1px; }

/* ---------- Split / media sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split-badge { position: absolute; bottom: -24px; left: -24px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 18px 22px; display: flex; gap: 14px; align-items: center; }
.split-badge .sb-ico { width: 46px; height: 46px; border-radius: 11px; background: var(--navy-800); color: var(--gold-400); display: grid; place-items: center; }
.split-badge .sb-n { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--navy-800); line-height: 1; }
.split-badge .sb-l { font-size: .78rem; color: var(--slate-500); }

/* ---------- Program tabs / chips ---------- */
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 15px; border-radius: 50px; background: var(--bg-soft); border: 1px solid var(--line); font-size: .82rem; font-weight: 600; color: var(--navy-700); font-family: var(--font-head); }
.chip svg { width: 14px; height: 14px; color: var(--gold-600); }

/* ---------- Accordion (FAQ) ---------- */
.accordion { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.acc-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; overflow: hidden; }
.acc-q { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%;
  background: none; border: 0; cursor: pointer; padding: 18px 22px; text-align: left;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: var(--navy-800); }
.acc-q .acc-ico { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--bg-soft); display: grid; place-items: center; transition: all .25s var(--ease); }
.acc-q .acc-ico svg { width: 15px; height: 15px; color: var(--navy-700); transition: transform .25s var(--ease); }
.acc-item.open .acc-q .acc-ico { background: var(--gold-500); }
.acc-item.open .acc-q .acc-ico svg { transform: rotate(45deg); color: var(--navy-900); }
.acc-a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.acc-a-inner { padding: 0 22px 20px; color: var(--slate-600); font-size: .94rem; }
.acc-a p { margin: 0; font-size: .94rem; }

/* ---------- Steps / process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step .step-n { width: 46px; height: 46px; border-radius: 50%; background: var(--navy-800); color: var(--gold-400);
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; margin-bottom: 16px; }
.step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { font-size: .9rem; margin: 0; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 23px; left: 58px; right: -12px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }

/* ---------- Testimonials ---------- */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; height: 100%; box-shadow: var(--shadow-sm); }
.quote .stars { color: var(--gold-500); margin-bottom: 14px; letter-spacing: 2px; }
.quote p { font-size: .98rem; color: var(--slate-700); font-style: italic; }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.quote .who img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.quote .who .n { font-family: var(--font-head); font-weight: 600; color: var(--navy-800); font-size: .92rem; }
.quote .who .r { font-size: .8rem; color: var(--slate-500); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: linear-gradient(120deg, var(--navy-800), var(--navy-600)); color: #fff; padding: 56px 50px; }
.cta-band::before { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; background: rgba(224,183,58,.16); }
.cta-band::after { content: ""; position: absolute; left: -40px; bottom: -80px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.05); }
.cta-band .cta-inner { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: rgba(255,255,255,.82); margin: 0; }

/* ---------- Contact / forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 600; color: var(--navy-800); font-family: var(--font-head); }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0; box-sizing: border-box;
  font-family: var(--font-body); font-size: .95rem; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: #fff; color: var(--ink); transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-500); box-shadow: 0 0 0 3px rgba(47,109,179,.14); }
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: .82rem; color: var(--slate-500); }
.form-success { display: none; padding: 14px 16px; border-radius: var(--radius-sm); background: #e8f6ee; border: 1px solid #b7e2c8; color: #1b6b3a; font-size: .9rem; font-weight: 500; }
.form-success.show { display: block; }

.contact-cards { display: grid; gap: 18px; }
.contact-card { display: flex; gap: 16px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.contact-card .cc-ico { width: 48px; height: 48px; border-radius: 12px; background: var(--navy-800); color: var(--gold-400); display: grid; place-items: center; flex-shrink: 0; }
.contact-card .cc-ico svg { width: 22px; height: 22px; }
.contact-card h4 { font-family: var(--font-head); margin: 0 0 3px; color: var(--navy-800); font-size: 1rem; }
.contact-card p { margin: 0; font-size: .9rem; }
.map-frame { border: 0; width: 100%; height: 100%; min-height: 340px; border-radius: var(--radius); }

/* ---------- Faculty ---------- */
.faculty-card { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 20px; }
.faculty-card img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin: 0 auto 14px; border: 3px solid var(--gold-100); }
.faculty-card .fn { font-family: var(--font-head); font-weight: 600; color: var(--navy-800); }
.faculty-card .fr { font-size: .83rem; color: var(--gold-600); font-weight: 600; }
.faculty-card .fd { font-size: .82rem; color: var(--slate-500); margin-top: 6px; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; grid-auto-rows: 220px; }
.gallery-grid a { display: block; border-radius: var(--radius); overflow: hidden; position: relative; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery-grid a:hover img { transform: scale(1.08); }
.gallery-grid a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(7,26,51,.55)); opacity: 0; transition: opacity .3s; }
.gallery-grid a:hover::after { opacity: 1; }
.gallery-grid .tall { grid-row: span 2; }
.gallery-grid .wide { grid-column: span 2; }

/* ---------- Prose ---------- */
.prose { max-width: 780px; }
.prose h2 { margin-top: 2em; }
.prose h3 { margin-top: 1.6em; color: var(--navy-700); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; color: var(--slate-700); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.72); padding-top: 64px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 46px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .brand-name { color: #fff; }
.footer-about { font-size: .9rem; margin: 16px 0; max-width: 320px; color: rgba(255,255,255,.66); }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; font-family: var(--font-head); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer-links a { color: rgba(255,255,255,.68); font-size: .9rem; }
.footer-links a:hover { color: var(--gold-400); padding-left: 4px; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 11px; font-size: .9rem; align-items: flex-start; color: rgba(255,255,255,.72); }
.footer-contact svg { width: 17px; height: 17px; color: var(--gold-400); flex-shrink: 0; margin-top: 3px; }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; }
.footer-social a:hover { background: var(--gold-500); color: var(--navy-900); }
.footer-social svg { width: 17px; height: 17px; }
.footer-bottom { padding: 22px 0; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .84rem; color: rgba(255,255,255,.55); }
.footer-bottom a { color: rgba(255,255,255,.68); }

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%; background: var(--navy-800); color: #fff; border: 0; display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s var(--ease); z-index: 90; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold-500); color: var(--navy-900); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Misc ---------- */
.badge-pill { display: inline-flex; align-items: center; gap: 6px; background: var(--gold-100); color: var(--gold-600); font-weight: 700; font-size: .74rem; padding: 5px 12px; border-radius: 50px; font-family: var(--font-head); letter-spacing: .3px; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.muted { color: var(--slate-500); }
.mb-0 { margin-bottom: 0; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }

/* ---------- News cards ---------- */
.news-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); height: 100%; }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.news-card .nc-media { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.news-card .nc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.news-card:hover .nc-media img { transform: scale(1.06); }
.news-card .nc-cat { position: absolute; top: 12px; left: 12px; background: var(--gold-500); color: var(--navy-900); font-family: var(--font-head); font-weight: 700; font-size: .68rem; letter-spacing: .5px; text-transform: uppercase; padding: 5px 11px; border-radius: 50px; }
.news-card .nc-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.news-card .nc-date { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--slate-500); font-weight: 500; margin-bottom: 9px; }
.news-card .nc-date svg { width: 14px; height: 14px; color: var(--gold-600); }
.news-card h3 { font-size: 1.12rem; margin-bottom: 8px; line-height: 1.35; }
.news-card p { font-size: .9rem; margin-bottom: 16px; }
.news-card .cc-link { margin-top: auto; }

/* ---------- Event list ---------- */
.event-list { display: grid; gap: 16px; }
.event-row { display: flex; gap: 22px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; transition: all .25s var(--ease); }
.event-row:hover { border-color: var(--gold-400); box-shadow: var(--shadow-md); transform: translateX(4px); }
.event-date { flex-shrink: 0; width: 78px; height: 78px; border-radius: var(--radius-sm); background: linear-gradient(160deg, var(--navy-700), var(--navy-900)); color: #fff; display: grid; place-items: center; text-align: center; line-height: 1; }
.event-date .ed-d { font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; color: var(--gold-400); }
.event-date .ed-m { font-size: .72rem; letter-spacing: 1.5px; text-transform: uppercase; margin-top: 3px; }
.event-info h3 { font-size: 1.12rem; margin-bottom: 4px; }
.event-info .ev-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: .82rem; color: var(--slate-500); margin-bottom: 6px; }
.event-info .ev-meta span { display: inline-flex; align-items: center; gap: 6px; }
.event-info .ev-meta svg { width: 14px; height: 14px; color: var(--gold-600); }
.event-info p { font-size: .9rem; margin: 0; }

/* ---------- Course syllabus ---------- */
.syllabus-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.syl-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow-sm); }
.syl-card .syl-h { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.syl-card .syl-n { width: 40px; height: 40px; border-radius: 10px; background: var(--gold-100); color: var(--gold-600); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; flex-shrink: 0; }
.syl-card h3 { margin: 0; font-size: 1.12rem; }
.syl-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.syl-card li { position: relative; padding-left: 20px; font-size: .9rem; color: var(--slate-700); }
.syl-card li::before { content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 2px; background: var(--gold-500); }

/* course meta bar */
.course-meta-bar { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.cmb { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius-sm); padding: 12px 18px; backdrop-filter: blur(6px); }
.cmb .cmb-ico { width: 34px; height: 34px; border-radius: 9px; background: var(--gold-500); color: var(--navy-900); display: grid; place-items: center; flex-shrink: 0; }
.cmb .cmb-ico svg { width: 18px; height: 18px; }
.cmb .cmb-l { font-size: .72rem; color: rgba(255,255,255,.7); }
.cmb .cmb-v { font-family: var(--font-head); font-weight: 700; font-size: .98rem; color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .statband { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2)::after, .step:not(:last-child)::after { display: none; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split-media { order: -1; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .syllabus-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: fixed; top: 0; right: 0; height: 100dvh; width: min(340px, 86vw);
    background: #fff; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 84px 18px 30px; box-shadow: var(--shadow-lg); overflow-y: auto;
    transform: translateX(100%); transition: transform .3s var(--ease); z-index: 110;
  }
  .nav-menu.open { transform: none; }
  .nav-menu > li > a { padding: 13px 14px; font-size: 1rem; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-left: 2px solid var(--line); border-radius: 0; margin: 2px 0 6px 14px; padding: 0; min-width: 0; display: none; }
  .has-dropdown.open .dropdown { display: block; }
  .has-dropdown:hover .dropdown { opacity: 1; }
  .nav-cta .btn { display: none; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(7,26,51,.45); opacity: 0; visibility: hidden; transition: opacity .3s; z-index: 105; }
  .nav-backdrop.show { opacity: 1; visibility: visible; }
}

@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .statband { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .gallery-grid .wide { grid-column: auto; }
  .cta-band { padding: 40px 26px; }
  .hero-inner { padding: 70px 0 76px; }
  .split-badge { left: 0; }
  .event-row { flex-direction: column; align-items: flex-start; gap: 14px; }
  .event-date { flex-direction: row; width: auto; height: auto; gap: 8px; padding: 8px 14px; }
  .event-date .ed-d { font-size: 1.3rem; }
  .table-wrap.fit table.tbl caption { padding: 14px 14px 0; font-size: .98rem; }
  .table-wrap.fit table.tbl thead th,
  .table-wrap.fit table.tbl tbody td,
  .table-wrap.fit table.tbl tfoot td { padding-left: 14px; padding-right: 14px; font-size: .86rem; }
}
