/* ============================================================
   FKG UI — fkg-ui.org — Main Stylesheet
   Universitas Indonesia · Fakultas Kedokteran Gigi
   ============================================================ */

/* --- Tokens ------------------------------------------------- */
:root {
  --navy:       #002060;
  --navy-mid:   #1a3a7a;
  --gold:       #C9A227;
  --gold-light: #F0C14B;
  --green:      #006633;
  --white:      #ffffff;
  --off-white:  #f5f6fa;
  --smoke:      #eef0f5;
  --text:       #1c1c2e;
  --muted:      #5a6070;
  --border:     #dde2ed;

  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 20px;

  --shadow-sm:  0 1px 4px rgba(0,32,96,0.08);
  --shadow:     0 4px 20px rgba(0,32,96,0.12);
  --shadow-lg:  0 12px 48px rgba(0,32,96,0.18);

  --transition: 0.25s ease;
  --max-width:  1200px;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* --- Reset -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Typography --------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.25;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p { color: var(--muted); line-height: 1.8; }
strong { color: var(--text); font-weight: 600; }

/* --- Layout Helpers ----------------------------------------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 80px 0; }
.section--gray { background: var(--off-white); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy p { color: rgba(255,255,255,0.75); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-8  { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

.text-center { text-align: center; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }
.mb-48 { margin-bottom: 48px; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-48 { margin-top: 48px; }

/* --- Section Header ----------------------------------------- */
.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201,162,39,0.1);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}
.section-title { color: var(--navy); margin-bottom: 12px; }
.section-subtitle { max-width: 600px; margin: 0 auto; }
.section-header { margin-bottom: 48px; }
.section-header.text-center .section-subtitle { margin: 0 auto; }

/* --- Buttons ----------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }
.btn-sm { padding: 9px 18px; font-size: 0.82rem; }

/* --- Navbar ------------------------------------------------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 32px;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.navbar-brand img { height: 42px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text span:first-child {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.01em;
}
.brand-text span:last-child {
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
}
.nav-link:hover, .nav-link.active {
  color: var(--navy);
  background: var(--smoke);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

/* Dropdown */
.nav-item { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 9px 14px;
  font-size: 0.85rem;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.dropdown a:hover { background: var(--smoke); color: var(--navy); }

.nav-cta { margin-left: 8px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}

/* --- Hero -------------------------------------------------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #0e3470 100%);
  color: var(--white);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,162,39,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,102,51,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,162,39,0.15);
  border: 1px solid rgba(201,162,39,0.4);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-title em {
  font-style: normal;
  color: var(--gold-light);
}
.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.75;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 24px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-light);
}
.hero-stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.65); line-height: 1.3; margin-top: 2px; }

.hero-visual {
  position: relative;
}
.hero-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #1a3a7a, #0e3470);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; }

.hero-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-card--accred {
  bottom: -20px;
  left: -24px;
}
.hero-card--rank {
  top: -20px;
  right: -24px;
}
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.card-icon--gold { background: rgba(201,162,39,0.15); }
.card-icon--green { background: rgba(0,102,51,0.12); }
.card-text strong { font-size: 0.9rem; color: var(--navy); display: block; }
.card-text span { font-size: 0.75rem; color: var(--muted); }

/* --- Stats Bar ---------------------------------------------- */
.stats-bar { background: var(--navy); padding: 32px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}
.stat-item {
  padding: 8px 16px;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.65); }

/* --- Cards -------------------------------------------------- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.card-body { padding: 24px; }
.card-thumb {
  aspect-ratio: 16/9;
  background: var(--smoke);
  overflow: hidden;
}
.card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.card:hover .card-thumb img { transform: scale(1.05); }

.card-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(0,32,96,0.08);
  color: var(--navy);
  margin-bottom: 10px;
}
.card-tag--gold { background: rgba(201,162,39,0.15); color: #8a6a0c; }
.card-tag--green { background: rgba(0,102,51,0.12); color: var(--green); }

.card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 12px;
}

/* --- Program Cards ----------------------------------------- */
.program-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  display: flex;
  align-items: flex-end;
  background: var(--smoke);
  transition: all var(--transition);
}
.program-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,18,60,0.85) 0%, rgba(0,18,60,0.2) 50%, transparent 100%);
  z-index: 1;
}
.program-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.program-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.program-card:hover img { transform: scale(1.07); }
.program-card-body {
  position: relative;
  z-index: 2;
  padding: 20px;
  width: 100%;
}
.program-card-body h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 6px; }
.program-card-body p { color: rgba(255,255,255,0.75); font-size: 0.82rem; line-height: 1.4; }

/* --- Color Accents for Program Cards ----------------------- */
.program-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  z-index: 2;
}
.accent-gold::after { background: var(--gold); }
.accent-green::after { background: var(--green); }
.accent-navy::after { background: var(--navy-mid); }
.accent-red::after { background: #b91c1c; }
.accent-teal::after { background: #0d9488; }
.accent-pink::after { background: #db2777; }
.accent-orange::after { background: #ea580c; }
.accent-indigo::after { background: #4f46e5; }
.accent-cyan::after { background: #0891b2; }

/* --- About Section ----------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1;
  background: var(--smoke);
  position: relative;
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-img-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}
.about-list { margin: 24px 0; }
.about-list li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.about-list li:last-child { border-bottom: none; }
.about-list-icon {
  color: var(--gold);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* --- FAQ / Accordion --------------------------------------- */
.accordion { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-item:last-child { border-bottom: none; }
.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  transition: background var(--transition);
}
.accordion-trigger:hover { background: var(--smoke); }
.accordion-trigger svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition);
  flex-shrink: 0;
  color: var(--gold);
}
.accordion-item.open .accordion-trigger svg { transform: rotate(180deg); }
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.accordion-item.open .accordion-body { max-height: 500px; }
.accordion-content { padding: 0 24px 20px; font-size: 0.9rem; }

/* --- News Card -------------------------------------------- */
.news-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); transition: all var(--transition); }
.news-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.news-card-thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--smoke); }
.news-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.news-card:hover .news-card-thumb img { transform: scale(1.06); }
.news-card-body { padding: 20px; }
.news-card-date { font-size: 0.75rem; color: var(--muted); margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.news-card-title { font-family: var(--font-display); font-size: 1rem; color: var(--navy); line-height: 1.4; margin-bottom: 10px; }
.news-card-excerpt { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }
.news-card-link { display: inline-flex; align-items: center; gap: 4px; font-size: 0.8rem; font-weight: 600; color: var(--gold); margin-top: 12px; }
.news-card-link:hover { color: var(--navy); }

/* --- Page Header (Inner pages) ----------------------------- */
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--white);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(201,162,39,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.page-header-inner { position: relative; z-index: 1; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.8rem;
}
.breadcrumb a { color: rgba(255,255,255,0.65); }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb-sep { color: rgba(255,255,255,0.35); }
.breadcrumb-current { color: var(--gold-light); font-weight: 500; }
.page-header h1 { color: var(--white); margin-bottom: 10px; }
.page-header .lead { color: rgba(255,255,255,0.75); font-size: 1.05rem; max-width: 600px; }

/* --- Tab Nav ----------------------------------------------- */
.tab-nav {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 40px;
  overflow-x: auto;
}
.tab-btn {
  padding: 10px 20px;
  border: none;
  background: none;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: all var(--transition);
}
.tab-btn:hover { color: var(--navy); }
.tab-btn.active { color: var(--navy); border-bottom-color: var(--gold); font-weight: 600; }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* --- Visi Misi --------------------------------------------- */
.visi-misi-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.visi-misi-card h3 {
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
}
.misi-list { margin-top: 16px; }
.misi-item {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 0.9rem;
  color: var(--muted);
}
.misi-item:last-child { border-bottom: none; }
.misi-num {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--gold);
  font-weight: 700;
  line-height: 1.2;
  flex-shrink: 0;
  width: 28px;
}

/* --- Timeline ---------------------------------------------- */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), var(--navy));
}
.timeline-item { position: relative; margin-bottom: 32px; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--gold);
}
.timeline-year {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.timeline-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.timeline-desc { font-size: 0.85rem; color: var(--muted); }

/* --- Dept Grid --------------------------------------------- */
.dept-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dept-card {
  border-radius: var(--radius);
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.dept-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  height: 3px;
  width: 100%;
}
.dept-card.gold::before { background: var(--gold); }
.dept-card.green::before { background: var(--green); }
.dept-card.red::before { background: #dc2626; }
.dept-card.teal::before { background: #0d9488; }
.dept-card.purple::before { background: #7c3aed; }
.dept-card.orange::before { background: #ea580c; }
.dept-card.blue::before { background: #2563eb; }
.dept-card.pink::before { background: #db2777; }
.dept-card.cyan::before { background: #0891b2; }
.dept-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.dept-icon { font-size: 1.8rem; margin-bottom: 12px; }
.dept-card h4 { color: var(--navy); margin-bottom: 8px; font-size: 0.95rem; }
.dept-card p { font-size: 0.82rem; }

/* --- Contact ----------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(0,32,96,0.07);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  color: var(--navy);
}
.contact-info-item h4 { font-size: 0.85rem; color: var(--navy); margin-bottom: 4px; }
.contact-info-item p { font-size: 0.875rem; }

.contact-form {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 11px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(0,32,96,0.1);
}
textarea.form-control { min-height: 120px; resize: vertical; }

/* --- Map Frame --------------------------------------------- */
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  height: 320px;
  background: var(--smoke);
  border: 1px solid var(--border);
}
.map-wrap iframe { width: 100%; height: 100%; border: none; }

/* --- Footer ------------------------------------------------ */
.footer { background: var(--navy); color: var(--white); padding: 64px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand img { height: 48px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  transition: all var(--transition);
  text-decoration: none;
}
.footer-social a:hover { background: var(--gold); color: var(--navy); }

.footer-col h5 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 18px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }

.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}
.footer-contact-icon { color: var(--gold); flex-shrink: 0; margin-top: 2px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: var(--white); }

/* --- Badges ------------------------------------------------ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
}
.badge-gold { background: rgba(201,162,39,0.15); color: #7a5f0a; }
.badge-navy { background: rgba(0,32,96,0.1); color: var(--navy); }
.badge-green { background: rgba(0,102,51,0.1); color: var(--green); }

/* --- Divider ----------------------------------------------- */
.divider { height: 1px; background: var(--border); margin: 48px 0; }
.divider--gold { background: linear-gradient(to right, transparent, var(--gold), transparent); }

/* --- Highlight Box ----------------------------------------- */
.highlight-box {
  background: linear-gradient(135deg, rgba(0,32,96,0.05), rgba(201,162,39,0.07));
  border: 1px solid rgba(0,32,96,0.12);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin: 24px 0;
}
.highlight-box p { color: var(--text); }

/* --- CTA Section ------------------------------------------ */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  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='%23ffffff' fill-opacity='0.03'%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");
}
.cta-section > .container { position: relative; z-index: 1; }
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.75); max-width: 560px; margin: 0 auto 32px; font-size: 1.05rem; }
.cta-section .btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* --- Responsive ------------------------------------------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-img { max-height: 360px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .dept-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --max-width: 100%; }
  .section { padding: 56px 0; }
  .hero { padding: 64px 0 56px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .dept-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* Mobile Nav */
  .nav-menu {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 12px;
    box-shadow: var(--shadow);
    z-index: 99;
  }
  .nav-menu.is-open { display: flex; }
  .hamburger { display: flex; }
  .nav-link { width: 100%; padding: 12px 14px; }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 14px;
    display: none;
  }
  .nav-item.open .dropdown { display: block; }
  .nav-cta { width: 100%; margin: 8px 0 4px; }
  .nav-cta .btn { width: 100%; justify-content: center; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }

  .page-header { padding: 48px 0; }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- Print ------------------------------------------------- */
@media print {
  .navbar, .footer, .cta-section { display: none; }
  .hero { background: var(--navy); -webkit-print-color-adjust: exact; }
}

/* --- Utilities --------------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

/* Smooth img fallback for missing images */
.img-placeholder {
  background: linear-gradient(135deg, var(--smoke) 0%, var(--border) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--muted);
  width: 100%;
  height: 100%;
}
