:root {
  --blue: #153fbd;
  --blue-dark: #071f68;
  --ink: #0d1321;
  --muted: #5a6475;
  --line: #dce4f2;
  --soft: #f4f7fc;
  --soft-blue: #edf3ff;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(13, 19, 33, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Inter, system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

.topbar {
  border-bottom: 1px solid rgba(220, 228, 242, 0.86);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 12px 34px rgba(13, 19, 33, 0.06);
}

.nav {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  width: 58px;
  height: 58px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(21, 63, 189, 0.12);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  transform: scale(1.65);
}

.brand-text strong {
  display: block;
  color: var(--blue);
  font-size: 19px;
  line-height: 1.1;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-text span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfdff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 10px 22px rgba(13, 19, 33, 0.08);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 21px;
  height: 2px;
  border-radius: 99px;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease, background 180ms ease;
}

body.menu-open .menu-toggle span {
  background: var(--blue);
}

body.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

body.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-links a {
  position: relative;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 750;
  color: var(--ink);
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue);
  background: var(--soft-blue);
}

.nav-links a:hover {
  transform: translateY(-1px);
}

.nav-links a.nav-cta {
  margin-left: 4px;
  color: var(--white);
  background: var(--blue);
  border: 1px solid var(--blue);
  box-shadow: 0 10px 22px rgba(21, 63, 189, 0.18);
}

.nav-links a.nav-cta:hover,
.nav-links a.nav-cta.active {
  color: var(--white);
  background: var(--blue-dark);
}

.section {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 82px 0;
}

.hero {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 70px 0 56px;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 44px;
  align-items: center;
}

.eyebrow {
  color: var(--blue);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  border: 1px solid #c9d7ff;
  border-radius: 999px;
  background: var(--soft-blue);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  margin-top: 16px;
  font-size: clamp(40px, 6.4vw, 72px);
  font-weight: 850;
}

h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 840;
}

h3 {
  font-size: 21px;
  font-weight: 800;
}

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

.lead {
  margin-top: 18px;
  max-width: 620px;
  font-size: 19px;
  line-height: 1.72;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  border: 1px solid var(--blue);
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(21, 63, 189, 0.12);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(21, 63, 189, 0.18);
}

.btn.primary {
  color: var(--white);
  background: var(--blue);
}

.btn.secondary {
  color: var(--blue);
  background: var(--white);
  box-shadow: none;
}

.hero-art {
  order: 1;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--soft);
  box-shadow: var(--shadow);
  padding: 8px;
}

.hero-copy {
  order: 2;
}

.hero-art img {
  width: 100%;
  border-radius: 10px;
  aspect-ratio: 1;
  object-fit: cover;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.stat {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(13, 19, 33, 0.05);
}

.stat strong {
  display: block;
  color: var(--blue);
  font-size: 28px;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.band {
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.section-head p {
  max-width: 560px;
}

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

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

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

.card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(13, 19, 33, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: #c8d6f5;
  box-shadow: 0 22px 44px rgba(13, 19, 33, 0.1);
}

.card-body {
  padding: 22px;
}

.card-body p {
  margin-top: 9px;
}

.image-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--soft);
}

a.image-card {
  color: inherit;
}

a.image-card h3::after {
  content: " ->";
  color: var(--blue);
}

.faculty-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center top;
  background: var(--soft-blue);
}

.faculty-card h3 {
  font-size: 19px;
}

.program-card {
  position: relative;
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(237, 243, 255, 0.9), rgba(255, 255, 255, 0.96)),
    var(--white);
  box-shadow: 0 14px 34px rgba(13, 19, 33, 0.06);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.program-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--blue);
}

.program-card:hover {
  transform: translateY(-4px);
  border-color: #c8d6f5;
  box-shadow: 0 22px 44px rgba(13, 19, 33, 0.1);
}

.program-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  font-weight: 850;
}

.program-card h3 {
  font-size: 24px;
}

.program-card p {
  margin-top: 12px;
}

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

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

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

.feature {
  padding: 18px 20px;
  border-left: 4px solid var(--blue);
  background: var(--soft-blue);
  border-radius: 8px;
}

.feature strong {
  display: block;
  margin-bottom: 4px;
}

.banner-image {
  border-radius: 14px;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow);
  padding: 8px;
  background: var(--white);
}

.banner-image img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-item {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 14px 32px rgba(13, 19, 33, 0.06);
}

.contact-item strong {
  display: block;
  color: var(--blue);
  font-size: 18px;
}

.contact-item span {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-weight: 700;
}

.footer {
  border-top: 1px solid #102456;
  padding: 58px 0 24px;
  background: linear-gradient(180deg, #0e1a38, #071126);
  color: var(--white);
}

.footer-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr 0.75fr 0.75fr 1fr;
  gap: 34px;
  align-items: start;
  font-size: 14px;
}

.footer .brand {
  min-width: 0;
}

.footer .brand-mark {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.footer .brand-text strong {
  color: var(--white);
}

.footer .brand-text span,
.footer p,
.footer-col span {
  color: #b8c3d9;
}

.footer-brand p {
  max-width: 360px;
  margin-top: 18px;
}

.footer-col {
  display: grid;
  gap: 9px;
}

.footer-col h3 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.footer-col a {
  color: #dce6ff;
  transition: color 160ms ease, transform 160ms ease;
}

.footer-col a:hover {
  color: var(--white);
  transform: translateX(3px);
}

.footer-bottom {
  width: min(1160px, calc(100% - 32px));
  margin: 34px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: #aebbd3;
  font-size: 13px;
}

@media (max-width: 900px) {
  body.menu-open {
    overflow: hidden;
  }

  body.menu-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 18;
    background: rgba(7, 17, 38, 0.42);
    backdrop-filter: blur(2px);
  }

  .nav {
    min-height: 76px;
    align-items: center;
    flex-direction: row;
    padding: 10px 0;
    gap: 14px;
  }

  .menu-toggle {
    display: inline-flex;
    position: relative;
    z-index: 22;
    margin-left: auto;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 21;
    width: min(310px, 86vw);
    height: 100vh;
    padding: 104px 18px 24px;
    border: 0;
    border-left: 1px solid var(--line);
    border-radius: 0;
    background: var(--white);
    box-shadow: -24px 0 50px rgba(13, 19, 33, 0.16);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    transform: translateX(105%);
    transition: transform 220ms ease;
  }

  body.menu-open .nav-links {
    transform: translateX(0);
  }

  .nav-links a {
    width: 100%;
    padding: 13px 14px;
    font-size: 15px;
  }

  .nav-links a.nav-cta {
    margin-left: 0;
    margin-top: 8px;
    text-align: center;
  }

  .hero,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-art,
  .hero-copy {
    order: initial;
  }

  .cards-3,
  .cards-4,
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 54px 0;
  }

  .hero {
    padding-top: 34px;
  }

  .cards-3,
  .cards-4,
  .stats {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 10px;
  }

  .nav-links a {
    padding: 13px 14px;
    font-size: 15px;
  }

  .brand-text strong {
    white-space: normal;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    display: grid;
  }
}
