:root {
  --navy: #071b3a;
  --navy-2: #0d2a55;
  --gold: #d8a72f;
  --gold-2: #f4cf65;
  --ink: #172033;
  --muted: #607086;
  --soft: #f4f7fb;
  --line: #dfe6ef;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(7, 27, 58, 0.12);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.topbar {
  background: var(--gold);
  color: #1c2634;
  font-weight: 700;
  font-size: 14px;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 40px;
  text-align: center;
}

.topbar a {
  border-bottom: 2px solid rgba(28, 38, 52, 0.55);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(223, 230, 239, 0.9);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 82px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.brand-text {
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
}

.brand-text span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  margin-top: 3px;
  letter-spacing: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.main-nav a {
  padding: 10px 11px;
  border-radius: var(--radius);
  color: #2f3e55;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  background: #eef3fa;
  color: var(--navy);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--gold);
  color: #172033;
  box-shadow: 0 10px 24px rgba(216, 167, 47, 0.28);
}

.btn-primary:hover {
  background: var(--gold-2);
}

.btn-secondary {
  background: var(--navy);
  color: var(--white);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.btn-light {
  border-color: var(--line);
  background: var(--white);
  color: var(--navy);
}

.nav-cta {
  min-height: 42px;
  padding: 10px 16px;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy);
  font-size: 26px;
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, rgba(7, 27, 58, 0.95), rgba(13, 42, 85, 0.9));
  color: var(--white);
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  opacity: 0.24;
}

.hero .container,
.page-hero .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 42px;
  align-items: center;
  min-height: 620px;
  padding: 82px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-2);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.08em;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  color: inherit;
}

h1 {
  font-size: clamp(42px, 7vw, 76px);
  letter-spacing: 0;
  margin: 14px 0 18px;
}

h2 {
  font-size: clamp(28px, 4vw, 44px);
  color: var(--navy);
}

h3 {
  font-size: 21px;
  color: var(--navy);
}

p {
  margin: 0;
  color: var(--muted);
}

.hero p,
.page-hero p,
.dark p {
  color: rgba(255, 255, 255, 0.84);
}

.lead {
  font-size: 18px;
  max-width: 680px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-card {
  background: rgba(255, 255, 255, 0.93);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.hero-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
}

.hero-card .stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.stat {
  background: var(--soft);
  border-radius: var(--radius);
  padding: 13px 10px;
  text-align: center;
}

.stat strong {
  display: block;
  color: var(--navy);
  font-size: 22px;
}

.stat span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.page-hero {
  padding: 92px 0;
}

.page-hero h1 {
  max-width: 820px;
}

.section {
  padding: 82px 0;
}

.section.alt {
  background: var(--soft);
}

.section.dark {
  background: var(--navy);
  color: var(--white);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 32px;
}

.section-head p {
  max-width: 610px;
  margin-top: 12px;
}

.grid {
  display: grid;
  gap: 22px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: var(--white);
  border: 1px solid rgba(223, 230, 239, 0.95);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 12px 32px rgba(7, 27, 58, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card h3 {
  margin-bottom: 10px;
}

.icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: #fff5d8;
  color: var(--navy);
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: 42px;
  align-items: center;
}

.feature-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--navy);
}

.feature-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.list li {
  list-style: none;
  position: relative;
  padding-left: 30px;
  color: var(--muted);
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
}

.faculty-card,
.result-card,
.review-card {
  overflow: hidden;
  padding: 0;
}

.faculty-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.result-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.card-body {
  padding: 20px;
}

.tag {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef3fa;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 12px;
}

.stars {
  color: var(--gold);
  font-size: 20px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.cta-band {
  background: linear-gradient(120deg, var(--navy), var(--navy-2));
  color: var(--white);
  border-radius: var(--radius);
  padding: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow);
}

.cta-band h2 {
  color: var(--white);
}

.form {
  display: grid;
  gap: 14px;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 15px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}

.form textarea {
  min-height: 130px;
  resize: vertical;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--navy);
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.faq-answer {
  display: none;
  padding: 0 20px 20px;
}

.faq-item.open .faq-answer {
  display: block;
}

.map-placeholder {
  min-height: 320px;
  border: 1px dashed #aebbd0;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: #eef3fa;
  color: var(--muted);
  text-align: center;
  padding: 24px;
}

.footer {
  background: #06152d;
  color: var(--white);
  padding: 58px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 30px;
}

.footer h3 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: 18px;
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.72);
}

.footer a {
  display: block;
  margin: 9px 0;
}

.footer a:hover {
  color: var(--gold-2);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 36px;
  padding-top: 22px;
  text-align: center;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .main-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 13px 14px;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .nav-cta {
    display: none;
  }

  .hero-grid,
  .split,
  .grid-4,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .brand {
    min-width: 0;
  }

  .brand-text {
    font-size: 14px;
  }

  .brand-text span {
    display: none;
  }

  .hero-grid,
  .split,
  .grid-2,
  .grid-3,
  .grid-4,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    padding: 60px 0;
  }

  .section,
  .page-hero {
    padding: 58px 0;
  }

  .section-head,
  .cta-band {
    display: block;
  }

  .section-head .btn,
  .cta-band .btn {
    margin-top: 18px;
  }
}
