/* ============================================================
   Centre for Doctoral Studies — Main Stylesheet
   ============================================================ */

:root {
  /* Aurora Indigo — vibrant, light, premium */
  --navy:       #4f46e5;   /* indigo 600 — primary brand */
  --navy-dark:  #312e81;   /* indigo 900 — deep */
  --gold:       #7c3aed;   /* violet — accent / CTA */
  --gold-light: #a855f7;   /* light violet — accent hover */
  --fuchsia:    #d946ef;   /* magenta — pop */
  --white:      #ffffff;
  --gray-100:   #f5f4ff;   /* lavender-tinted surface */
  --gray-200:   #e7e4fb;   /* lavender hairline */
  --gray-400:   #9893c4;   /* muted */
  --gray-600:   #5b5680;   /* secondary text */
  --gray-800:   #2e2a52;   /* strong text */
  --text:       #1e1b4b;   /* deep indigo ink */
  --radius:     10px;
  --radius-lg:  16px;
  --shadow:     0 4px 20px rgba(79,70,229,0.10);
  --shadow-lg:  0 12px 36px rgba(79,70,229,0.18);
  --grad-brand: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
  --grad-hero:  linear-gradient(135deg, #f5f4ff 0%, #ede9fe 45%, #fce7f3 100%);
  --transition: 0.22s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

a { color: var(--navy); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── Top bar ── */
.top-bar {
  background: var(--gray-100);
  color: var(--gray-600);
  font-size: 0.8rem;
  padding: 6px 0;
  border-bottom: 1px solid var(--gray-200);
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
}
.topbar-right {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.top-bar a { color: var(--gray-600); }
.top-bar a:hover { color: var(--gold); }

/* ── Header ── */
.site-header {
  background: var(--white);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 14px rgba(79,70,229,0.08);
  border-bottom: 1px solid var(--gray-200);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.logo-icon {
  height: 52px; width: auto;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-icon img { height: 100%; width: auto; display: block; }
.logo-text .univ { font-size: 0.75rem; color: var(--gray-600); text-transform: uppercase; letter-spacing: 1px; }
.logo-text .dept  { font-size: 1.05rem; font-weight: 700; color: var(--navy); line-height: 1.2; }

/* ── Navigation ── */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > li { position: relative; }
.main-nav > li > a {
  display: block;
  padding: 8px 12px;
  color: var(--gray-800);
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
}
.main-nav > li > a:hover,
.main-nav > li > a.active {
  background: rgba(79,70,229,0.07);
  color: var(--navy);
}
.main-nav > li > a .arrow { font-size: 0.65rem; margin-left: 4px; }

/* Dropdown */
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(79,70,229,0.18);
  border-top: 3px solid var(--gold);
  z-index: 999;
  padding: 6px 0;
}
.main-nav > li:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block;
  padding: 9px 18px;
  font-size: 0.86rem;
  color: var(--gray-800);
  transition: background var(--transition);
}
.dropdown-menu a:hover { background: var(--gray-100); color: var(--navy); }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none; border: none;
  cursor: pointer; padding: 6px;
  flex-direction: column; gap: 5px;
}
.nav-toggle span {
  display: block; width: 26px; height: 2px;
  background: var(--navy); border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ── Container ── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ── Hero ── */
.hero {
  background: var(--grad-hero);
  color: var(--text);
  padding: 80px 0 70px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--gray-200);
}
.hero::before {
  content: '';
  position: absolute;
  top: -160px; right: -120px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(139,92,246,0.22) 0%, rgba(217,70,239,0.10) 45%, rgba(255,255,255,0) 70%);
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234f46e5' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.hero-content { position: relative; z-index: 1; max-width: 680px; }
.hero-photo { position: relative; z-index: 1; margin: 0; }
.hero-photo img {
  width: 100%; height: 430px; object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 50px rgba(79,70,229,0.22);
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-photo { display: none; }
}

/* ── Image gallery (Research in action) ── */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gallery-item { margin: 0; position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.gallery-item img {
  width: 100%; height: 240px; object-fit: cover; display: block;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 16px 12px;
  color: #fff; font-size: 0.9rem; font-weight: 700;
  background: linear-gradient(to top, rgba(30,27,75,0.82) 0%, rgba(30,27,75,0) 100%);
}
@media (max-width: 768px) { .gallery-grid { grid-template-columns: 1fr; } }
.hero-badge {
  display: inline-block;
  background: rgba(124,58,237,0.12);
  border: 1px solid var(--gold-light);
  color: #6d28d9;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero h1 { font-size: 2.5rem; font-weight: 800; line-height: 1.2; margin-bottom: 18px; color: var(--navy-dark); }
.hero h1 span {
  background: linear-gradient(90deg, #6366f1 0%, #d946ef 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero p { font-size: 1.05rem; color: var(--gray-600); margin-bottom: 32px; max-width: 560px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 26px;
  border-radius: var(--radius);
  font-size: 0.9rem; font-weight: 600;
  cursor: pointer; border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary { background: var(--grad-brand); color: #fff; border-color: transparent; box-shadow: 0 6px 18px rgba(124,58,237,0.35); }
.btn-primary:hover { filter: brightness(1.07); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(124,58,237,0.45); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: rgba(79,70,229,0.06); border-color: var(--navy); color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-dark); }

/* ── Stats bar ── */
.stats-bar {
  background: var(--white);
  padding: 26px 0;
  border-bottom: 1px solid var(--gray-200);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  text-align: center;
}
.stat-item { padding: 0 20px; }
.stat-item + .stat-item { border-left: 1px solid rgba(79,70,229,0.2); }
.stat-number { font-size: 2rem; font-weight: 800; color: var(--navy-dark); line-height: 1; }
.stat-label  { font-size: 0.8rem; font-weight: 600; color: var(--navy); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 4px; }

/* ── Section ── */
.section { padding: 72px 0; }
.section-alt { background: var(--gray-100); }
.section-header { text-align: center; margin-bottom: 48px; }
.section-tag {
  display: inline-block;
  background: rgba(79,70,229,0.08);
  color: var(--navy);
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 4px 14px; border-radius: 20px;
  margin-bottom: 12px;
}
.section-title { font-size: 1.85rem; font-weight: 800; color: var(--navy); margin-bottom: 12px; }
.section-sub   { color: var(--gray-600); max-width: 560px; margin: 0 auto; }
.divider { width: 56px; height: 3px; background: var(--grad-brand); margin: 14px auto 0; border-radius: 2px; }

/* ── Cards ── */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--gray-200);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--gold-light); }
.card-icon {
  background: linear-gradient(135deg, #f5f4ff 0%, #ede9fe 60%, #fbe9fb 100%);
  padding: 28px;
  text-align: center;
  font-size: 2.2rem;
  border-bottom: 1px solid var(--gray-200);
}
.card-body { padding: 22px; }
.card-title { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.card-text  { font-size: 0.88rem; color: var(--gray-600); }
.card-link  { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 600; color: var(--navy); margin-top: 14px; }
.card-link:hover { color: var(--gold); }

/* ── Program cards ── */
.programs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.program-card {
  border-radius: 10px;
  padding: 26px;
  color: var(--text);
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
  min-height: 160px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.program-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(255,255,255,0.5) 0%, rgba(0,0,0,0.04) 100%);
}
.pc-eng  { background: linear-gradient(135deg, #eaf1fb, #d6e3f6); }
.pc-sci  { background: linear-gradient(135deg, #e7f5ec, #d2ecda); }
.pc-mgmt { background: linear-gradient(135deg, #fbeee3, #f4ddc9); }
.pc-phm  { background: linear-gradient(135deg, #f1eafa, #e1d4f2); }
.pc-ahs  { background: linear-gradient(135deg, #e6f4f6, #d0eaee); }
.pc-hss  { background: linear-gradient(135deg, #f6f2e2, #ece4cb); }
.program-card.has-img { padding: 0; min-height: 0; display: block; }
.program-card.has-img::before { display: none; }
.program-card .pc-img {
  width: 100%; height: 130px; object-fit: cover; display: block;
  position: relative; z-index: 1; transition: transform 0.4s ease;
}
.program-card.has-img:hover .pc-img { transform: scale(1.05); }
.program-card .pc-body { padding: 18px 20px 22px; position: relative; z-index: 1; }
.program-card .icon { font-size: 2rem; margin-bottom: 12px; position: relative; }
.program-card h3 { font-size: 1rem; font-weight: 700; position: relative; color: var(--navy); }
.program-card p  { font-size: 0.82rem; color: var(--gray-600); margin-top: 4px; position: relative; }

/* ── Notice board ── */
.notice-list li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-200);
}
.notice-list li:last-child { border-bottom: none; }
.notice-date {
  background: var(--navy);
  color: var(--white);
  font-size: 0.72rem; font-weight: 700;
  text-align: center;
  padding: 6px 10px;
  border-radius: var(--radius);
  flex-shrink: 0;
  min-width: 54px;
}
.notice-date .day  { font-size: 1.2rem; display: block; line-height: 1; }
.notice-tag {
  display: inline-block;
  font-size: 0.7rem; font-weight: 700;
  padding: 2px 8px; border-radius: 10px;
  margin-bottom: 4px;
}
.tag-new  { background: #fff0d0; color: #b06000; }
.tag-imp  { background: #ffe0e0; color: #a00000; }
.tag-info { background: #e0eeff; color: #003a8c; }
.notice-title { font-size: 0.9rem; font-weight: 600; color: var(--text); }
.notice-title a:hover { color: var(--gold); }

/* ── Steps ── */
.steps { counter-reset: step; display: flex; flex-direction: column; gap: 0; }
.step {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid var(--gray-200);
  counter-increment: step;
}
.step:last-child { border-bottom: none; }
.step-num {
  width: 44px; height: 44px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1rem;
  flex-shrink: 0;
}
.step-body h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.step-body p  { font-size: 0.88rem; color: var(--gray-600); }

/* ── Table ── */
.data-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.data-table th {
  background: var(--navy);
  color: var(--white);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 0.84rem;
  letter-spacing: 0.3px;
}
.data-table td { padding: 11px 16px; border-bottom: 1px solid var(--gray-200); vertical-align: top; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--gray-100); }
.data-table .badge {
  display: inline-block;
  padding: 2px 10px; border-radius: 12px;
  font-size: 0.76rem; font-weight: 700;
}
.badge-open   { background: #d4f5e0; color: #0a6630; }
.badge-closed { background: #ffe0e0; color: #a00000; }
.badge-soon   { background: #fff3cc; color: #7a5000; }

/* ── Download cards ── */
.download-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.download-item {
  display: flex; gap: 14px; align-items: center;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition: box-shadow var(--transition);
}
.download-item:hover { box-shadow: var(--shadow); }
.dl-icon {
  width: 42px; height: 42px;
  background: var(--gray-100);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.dl-name  { font-size: 0.9rem; font-weight: 600; color: var(--text); }
.dl-meta  { font-size: 0.78rem; color: var(--gray-400); margin-top: 2px; }
.dl-btn   { margin-left: auto; font-size: 0.8rem; font-weight: 600; color: var(--navy); white-space: nowrap; }
.dl-btn:hover { color: var(--gold); }

/* ── FAQ ── */
.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-question {
  width: 100%; text-align: left;
  background: none; border: none; cursor: pointer;
  padding: 16px 20px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.95rem; font-weight: 600; color: var(--navy);
  transition: background var(--transition);
}
.faq-question:hover { background: var(--gray-100); }
.faq-question .faq-icon { font-size: 1.2rem; transition: transform var(--transition); flex-shrink: 0; }
.faq-question.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 20px 16px;
  font-size: 0.9rem; color: var(--gray-600);
  border-top: 1px solid var(--gray-200);
  padding-top: 14px;
}
.faq-answer.open { display: block; }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; }
.contact-info-item { display: flex; gap: 14px; margin-bottom: 22px; }
.ci-icon {
  width: 42px; height: 42px; background: var(--navy);
  color: var(--white); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.ci-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: var(--gray-400); }
.ci-value { font-size: 0.92rem; color: var(--text); margin-top: 2px; }

/* Contact form */
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.84rem; font-weight: 600; color: var(--gray-800); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 0.9rem; font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--navy); }
.form-group textarea { resize: vertical; min-height: 110px; }

/* ── Page hero ── */
.page-hero {
  background: var(--grad-hero);
  color: var(--text);
  padding: 52px 0 42px;
  border-bottom: 1px solid var(--gray-200);
}
.page-hero h1 { font-size: 2rem; font-weight: 800; margin-bottom: 8px; color: var(--navy-dark); }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.82rem; color: var(--gray-600); }
.breadcrumb a { color: var(--navy); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold); font-weight: 600; }

/* ── Sidebar layout ── */
.page-layout { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
.sidebar {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  overflow: hidden;
  position: sticky; top: 88px;
}
.sidebar-title {
  background: var(--navy);
  color: var(--white);
  padding: 14px 18px;
  font-size: 0.88rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
}
.sidebar-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 18px;
  font-size: 0.88rem; color: var(--gray-600);
  border-bottom: 1px solid var(--gray-200);
  transition: all var(--transition);
}
.sidebar-nav a:hover, .sidebar-nav a.active { background: var(--gray-100); color: var(--navy); font-weight: 600; }
.sidebar-nav a:last-child { border-bottom: none; }

/* ── Footer ── */
.site-footer { background: var(--gray-100); color: var(--gray-600); padding: 56px 0 0; border-top: 1px solid var(--gray-200); }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.4fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { font-size: 0.86rem; margin-top: 12px; line-height: 1.7; }
.footer-section h4 {
  color: var(--navy); font-size: 0.9rem; font-weight: 700;
  letter-spacing: 0.5px; margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.footer-section ul li { margin-bottom: 9px; }
.footer-section ul li a { font-size: 0.85rem; color: var(--gray-600); }
.footer-section ul li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--gray-200);
  padding: 18px 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
  font-size: 0.8rem;
}
.footer-bottom a { color: var(--gold); }

/* ── Search box ── */
.search-box {
  display: flex; align-items: center;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 24px;
  padding: 7px 16px; gap: 8px;
}
.search-box input {
  background: none; border: none; outline: none;
  color: var(--text); font-size: 0.85rem;
  width: 200px;
}
.search-box input::placeholder { color: var(--gray-400); }
.search-box button {
  background: none; border: none; cursor: pointer;
  color: var(--gray-600); font-size: 1rem;
  padding: 0;
}
.search-box { position: relative; }
.search-results {
  position: absolute; top: calc(100% + 10px); right: 0;
  width: 340px; max-height: 380px; overflow-y: auto;
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  z-index: 300; display: none; text-align: left;
}
.search-results.open { display: block; }
.search-results a {
  display: block; padding: 10px 14px;
  border-bottom: 1px solid var(--gray-100); text-decoration: none;
}
.search-results a:last-child { border-bottom: none; }
.search-results a:hover, .search-results a.active { background: var(--gray-100); }
.search-results .sr-title { color: var(--navy); font-weight: 600; font-size: 0.85rem; }
.search-results .sr-desc { color: var(--gray-600); font-size: 0.74rem; margin-top: 2px; }
.search-results .sr-empty { padding: 16px; color: var(--gray-400); font-size: 0.82rem; text-align: center; }
/* Compact top-bar search */
.top-search { padding: 3px 10px; margin-left: 14px; }
.top-search input { width: 130px; font-size: 0.78rem; color: var(--text); }
.top-search button { font-size: 0.85rem; }
.top-search .search-results { width: 300px; }
.top-search .search-results .sr-title { font-size: 0.84rem; }

/* ── Chips / tags ── */
.chip {
  display: inline-block; padding: 4px 14px;
  border-radius: 20px; font-size: 0.78rem; font-weight: 600;
  background: rgba(79,70,229,0.08); color: var(--navy);
  margin: 3px;
}

/* ── Highlight box ── */
.highlight-box {
  background: linear-gradient(135deg, rgba(79,70,229,0.06) 0%, rgba(124,58,237,0.06) 100%);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px; margin: 24px 0;
}
.highlight-box strong { color: var(--navy); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .cards-grid, .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .page-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}
@media (max-width: 768px) {
  .main-nav { display: none; flex-direction: column; width: 100%; }
  .main-nav.open { display: flex; }
  .main-nav > li > a { padding: 12px 0; border-radius: 0; border-bottom: 1px solid var(--gray-200); }
  .dropdown-menu { position: static; box-shadow: none; border: none; border-radius: 0; padding-left: 14px; display: none !important; }
  .nav-toggle { display: flex; }
  .header-inner { flex-wrap: wrap; }
  .hero h1 { font-size: 1.9rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item + .stat-item { border-left: none; }
  .stat-item:nth-child(1), .stat-item:nth-child(2) { border-bottom: 1px solid rgba(79,70,229,0.2); padding-bottom: 14px; }
  .cards-grid, .programs-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .download-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .search-box { display: none; }
}
@media (max-width: 480px) {
  .hero { padding: 50px 0 40px; }
  .section { padding: 48px 0; }
}

/* ── Utility ── */
.text-center { text-align: center; }
.text-navy   { color: var(--navy); }
.text-gold   { color: var(--gold); }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-0  { margin-bottom: 0 !important; }
.fw-700 { font-weight: 700; }
.flex-center { display: flex; align-items: center; justify-content: center; gap: 10px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 640px) { .two-col { grid-template-columns: 1fr; } }
