:root {
  --blue: #052b57;
  --blue2: #0b3d78;
  --gold: #f3b233;
  --light: #f5f7fb;
  --dark: #111827;
  --muted: #667085;
  --white: #fff;
  --border: #e5e7eb;
  --shadow: 0 18px 45px rgba(0, 0, 0, .10);
  --campus-photo: url("images/DSC03154-HDR.png");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Montserrat", "Segoe UI", sans-serif;
  color: var(--dark);
  background: var(--white);
}

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

.site-header {
  min-height: 82px;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 2px 18px rgba(0, 0, 0, .06);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  display: block;
  width: clamp(190px, 22vw, 260px);
  max-height: 64px;
  height: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  gap: 26px;
  align-items: center;
  font-size: 14px;
  font-weight: 800;
}

.nav-cta,
.btn-primary {
  background: var(--blue);
  color: #fff !important;
  padding: 14px 22px;
  border-radius: 8px;
  font-weight: 900;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 28px;
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background-image: var(--campus-photo);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 55%;
  isolation: isolate;
}

.hero {
  min-height: min(700px, calc(100svh - 118px));
  display: flex;
  align-items: center;
  padding: 82px 8%;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: inherit;
  transform: scale(1.01);
}

.hero::after,
.page-hero::after,
.hero-overlay {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero::after,
.page-hero::after {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 20, 43, .93) 0%, rgba(5, 43, 87, .78) 38%, rgba(5, 43, 87, .28) 73%, rgba(3, 20, 43, .12) 100%),
    linear-gradient(180deg, rgba(3, 15, 31, .52) 0%, rgba(3, 15, 31, .12) 45%, rgba(3, 15, 31, .45) 100%);
}

.hero-overlay {
  z-index: 1;
  background:
    radial-gradient(circle at 24% 52%, rgba(243, 178, 51, .22), transparent 28%),
    linear-gradient(90deg, rgba(5, 43, 87, .36), transparent 52%);
  mix-blend-mode: screen;
  opacity: .75;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  text-shadow: 0 3px 24px rgba(0, 0, 0, .36);
}

.eyebrow {
  display: inline-block;
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 13px;
  margin-bottom: 14px;
}

h1 {
  font-size: clamp(44px, 7vw, 86px);
  line-height: .97;
  margin: 14px 0 20px;
}

h2 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  color: var(--blue);
  margin: 0 0 18px;
}

.hero p,
.page-hero p {
  font-size: 20px;
  line-height: 1.7;
  max-width: 760px;
}

.hero p {
  max-width: 680px;
}

.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 14px 22px;
  font-weight: 900;
  border: 0;
  cursor: pointer;
}

.btn-gold {
  background: var(--gold);
  color: var(--dark);
}

.btn-outline {
  border: 2px solid var(--blue);
  color: var(--blue);
  background: #fff;
}

.container {
  max-width: 1180px;
  margin: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding: 86px 0;
}

.center {
  text-align: center;
  margin: auto;
  max-width: 850px;
}

.section-heading p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: linear-gradient(90deg, #041e3f, var(--blue2));
  color: #fff;
  padding: 28px 8%;
  gap: 1px;
}

.stat {
  padding: 20px;
  border-right: 1px solid rgba(255, 255, 255, .18);
}

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

.stat span {
  font-weight: 700;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

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

.feature-card,
.program-grid article {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-card {
  padding: 30px;
}

.program-grid article {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.feature-card h3,
.program-grid h3 {
  color: var(--blue);
  margin-top: 0;
}

.program-card-image,
.program-sidebar-image {
  margin: 0;
  overflow: hidden;
}

.program-card-image {
  aspect-ratio: 1 / .72;
  background: var(--blue);
}

.program-card-image img,
.program-sidebar-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.program-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 26px;
}

.feature-card p,
.program-grid p,
.two-columns p,
.form-copy p {
  color: var(--muted);
  line-height: 1.7;
}

.light-section {
  background: var(--light);
}

.split-section {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  padding: 90px 8%;
  align-items: center;
}

.blue-section {
  background:
    linear-gradient(90deg, rgba(5, 43, 87, .96), rgba(5, 43, 87, .86)),
    var(--campus-photo) center 62% / cover;
  color: #fff;
}

.blue-section h2 {
  color: #fff;
}

.blue-section p {
  color: rgba(255, 255, 255, .82);
}

.program-mini-grid {
  display: grid;
  gap: 14px;
}

.program-mini-grid a {
  background: rgba(255, 255, 255, .94);
  color: var(--blue);
  padding: 22px;
  border-radius: 8px;
  font-weight: 900;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .12);
}

.cta-section {
  text-align: center;
  padding: 90px 24px;
}

.page-hero {
  padding: 110px 8%;
  background-position: center 52%;
}

.page-hero h1,
.page-hero p,
.page-hero .eyebrow {
  position: relative;
  z-index: 1;
  text-shadow: 0 3px 22px rgba(0, 0, 0, .36);
}

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

.two-columns {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 70px;
  align-items: start;
}

.academic-list {
  border-bottom: 1px solid var(--border);
}

.academic-intro {
  max-width: 780px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.academic-nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 28px;
  padding-bottom: 4px;
}

.academic-nav a {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(5, 43, 87, .08);
  color: var(--blue);
  font-weight: 900;
  padding: 12px 16px;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
}

.program-grid a {
  color: var(--blue);
  font-weight: 900;
  margin-top: auto;
}

.program-hero {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.program-image-hero {
  min-height: 520px;
  background-image: var(--program-image);
  background-position: center;
}

.program-image-hero::after {
  background:
    linear-gradient(90deg, rgba(3, 20, 43, .92) 0%, rgba(5, 43, 87, .70) 46%, rgba(5, 43, 87, .32) 100%),
    linear-gradient(180deg, rgba(3, 15, 31, .38) 0%, rgba(3, 15, 31, .16) 48%, rgba(3, 15, 31, .52) 100%);
}

.program-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 46px;
  align-items: start;
}

.program-detail-main {
  min-width: 0;
}

.program-detail-main p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.back-link {
  display: flex;
  width: fit-content;
  margin-bottom: 26px;
  color: var(--blue);
  font-weight: 900;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 34px;
}

.detail-panel,
.program-sidebar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.detail-panel {
  padding: 28px;
}

.detail-panel h3,
.program-sidebar h3 {
  color: var(--blue);
  margin: 0 0 16px;
}

.detail-panel ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.program-sidebar {
  position: sticky;
  top: 108px;
  padding: 0 30px 30px;
}

.program-sidebar-image {
  aspect-ratio: 1 / .72;
  margin: 0 -30px 28px;
  border-bottom: 1px solid var(--border);
  background: var(--blue);
}

.program-sidebar p {
  color: var(--muted);
  line-height: 1.7;
}

.program-sidebar .btn {
  width: 100%;
  margin-top: 12px;
}

.program-facts {
  margin: 24px 0;
}

.program-facts div {
  border-top: 1px solid var(--border);
  padding: 14px 0;
}

.program-facts dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.program-facts dd {
  margin: 4px 0 0;
  color: var(--blue);
  font-weight: 900;
}

.program-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 76px 8%;
}

.program-cta h2 {
  max-width: 720px;
}

.program-cta p {
  max-width: 680px;
}

.program-cta .btn {
  flex: 0 0 auto;
}

.form-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 50px;
}

.lead-form {
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: 8px;
  padding: 30px;
}

.lead-form label {
  display: block;
  font-weight: 800;
  margin-bottom: 15px;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  margin-top: 7px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
}

.privacy {
  display: flex !important;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400 !important;
  color: var(--muted);
}

.privacy input {
  width: auto;
  margin-top: 4px;
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  background: #25d366;
  color: #fff;
  padding: 16px 22px;
  border-radius: 999px;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
  z-index: 50;
}

.footer {
  background: #071827;
  color: #fff;
  text-align: center;
  padding: 32px 20px;
}

@media (max-width: 900px) {
  .site-header {
    padding: 14px 20px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 82px;
    background: #fff;
    box-shadow: var(--shadow);
    border-radius: 8px;
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
  }

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

  .hero {
    min-height: 620px;
    padding: 72px 24px;
    background-position: 58% center;
  }

  .hero::after,
  .page-hero::after {
    background:
      linear-gradient(90deg, rgba(3, 20, 43, .95) 0%, rgba(5, 43, 87, .78) 58%, rgba(5, 43, 87, .30) 100%),
      linear-gradient(180deg, rgba(3, 15, 31, .44) 0%, rgba(3, 15, 31, .20) 45%, rgba(3, 15, 31, .60) 100%);
  }

  .page-hero {
    padding: 86px 24px;
    background-position: 60% center;
  }

  .program-image-hero {
    min-height: 560px;
    background-position: center;
  }

  .hero-content {
    max-width: 620px;
  }

  .stats-band,
  .feature-grid,
  .feature-grid.three,
  .program-grid,
  .program-detail-layout,
  .detail-grid,
  .split-section,
  .two-columns,
  .form-layout {
    grid-template-columns: 1fr;
  }

  .program-sidebar {
    position: static;
  }

  .program-cta {
    align-items: flex-start;
    flex-direction: column;
    padding: 64px 24px;
  }

  .stats-band {
    padding: 20px;
  }

  .academic-nav {
    padding-top: 20px;
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .18);
  }
}

@media (max-width: 560px) {
  .brand-logo {
    width: min(190px, 52vw);
    max-height: 52px;
  }

  .hero {
    min-height: 590px;
    padding: 58px 20px;
    background-position: 56% center;
  }

  .hero-overlay {
    opacity: .48;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 32px;
  }

  .hero p,
  .page-hero p {
    font-size: 18px;
    line-height: 1.6;
  }

  .program-card-body {
    padding: 24px;
  }

  .academic-nav a {
    width: 100%;
  }

  .actions,
  .actions .btn {
    width: 100%;
  }

  .page-hero {
    background-position: 58% center;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    padding: 13px 18px;
  }
}
