:root {
  --navy: #17134f;
  --navy-2: #211a63;
  --red: #d32637;
  --gold: #f2aa3f;
  --ink: #172033;
  --muted: #5d6475;
  --line: #dfe3eb;
  --soft: #f5f7fb;
  --white: #ffffff;
  --shadow: 0 16px 40px rgba(18, 22, 42, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 190px;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 17px;
  color: var(--navy);
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.main-nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.main-nav a,
.site-footer a {
  text-decoration: none;
}

.main-nav a:hover,
.site-footer a:hover {
  color: var(--red);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 0;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.header-cta,
.button.primary {
  color: var(--white);
  background: var(--red);
}

.header-cta:hover,
.button.primary:hover {
  background: #b91f2f;
}

.button.secondary {
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
}

.hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  position: relative;
  overflow: hidden;
  background: var(--navy);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 12, 52, 0.94), rgba(23, 19, 79, 0.76), rgba(23, 19, 79, 0.34)),
    linear-gradient(0deg, rgba(15, 12, 52, 0.72), transparent 52%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: auto;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  margin: auto 0;
  padding: 98px clamp(18px, 6vw, 72px);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 610px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
}

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

.hero-badges span {
  padding: 9px 12px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 700;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-strip div {
  padding: 28px clamp(18px, 4vw, 54px);
  background: var(--white);
}

.trust-strip strong,
.trust-strip span,
.site-footer strong,
.site-footer span {
  display: block;
}

.trust-strip strong {
  color: var(--navy);
  font-size: 20px;
}

.trust-strip span {
  margin-top: 5px;
  color: var(--muted);
}

.section {
  padding: 76px clamp(18px, 5vw, 70px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section h2 {
  max-width: 840px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
}

.section-heading p,
.split-section p,
.history-section p {
  color: var(--muted);
  font-size: 18px;
}

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

.program-card {
  cursor: pointer;
  min-height: 360px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.program-card:hover,
.program-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(23, 19, 79, 0.28);
  box-shadow: 0 18px 34px rgba(17, 24, 39, 0.1);
  outline: none;
}

.program-code {
  display: inline-flex;
  padding: 8px 12px;
  color: var(--white);
  background: var(--navy);
  border-radius: 6px;
  font-weight: 800;
}

.program-card h3 {
  margin: 20px 0 12px;
  color: var(--navy);
  font-size: 25px;
  line-height: 1.18;
}

.program-card p,
.program-card li {
  color: var(--muted);
}

.program-card ul {
  margin: 20px 0 0;
  padding-left: 20px;
}

.program-action {
  display: inline-flex;
  margin-top: 22px;
  color: var(--red);
  font-weight: 800;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 44px;
  align-items: center;
  background: var(--soft);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.feature-list div {
  padding: 18px;
  border-left: 4px solid var(--red);
  background: var(--white);
}

.feature-list strong,
.feature-list span {
  display: block;
}

.feature-list strong {
  color: var(--navy);
}

.feature-list span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.video-card {
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: var(--navy);
}

.video-card p {
  margin: 0;
  padding: 16px 18px;
  color: var(--muted);
  font-size: 14px;
}

.history-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 34px;
  align-items: center;
  color: var(--white);
  background: var(--navy);
}

.history-section h2,
.history-section p {
  color: var(--white);
}

.history-section p {
  color: rgba(255, 255, 255, 0.82);
}

.history-panel {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.history-panel strong,
.history-panel span {
  display: block;
}

.history-panel strong {
  font-size: 26px;
}

.history-panel span {
  margin: 10px 0 22px;
  color: rgba(255, 255, 255, 0.82);
}

.contact-section {
  background: var(--white);
}

.admissions-section {
  background: var(--white);
}

.admissions-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.admissions-grid article {
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.05);
}

.admissions-grid span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--white);
  background: var(--navy);
  font-weight: 800;
}

.admissions-grid h3 {
  margin: 18px 0 10px;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.2;
}

.admissions-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 860px;
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 700;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  background: var(--white);
}

.lead-form textarea,
.lead-form button {
  grid-column: 1 / -1;
}

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

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

details {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

summary {
  color: var(--navy);
  font-weight: 800;
  cursor: pointer;
}

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

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 5vw, 70px);
  color: var(--white);
  background: #100d38;
}

.site-footer span,
.site-footer a {
  color: rgba(255, 255, 255, 0.76);
}

.site-footer div:last-child {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  color: var(--white);
  background: #18a85b;
  border-radius: 999px;
  box-shadow: var(--shadow);
  text-decoration: none;
  font-weight: 800;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 3px;
  }

  .hero {
    min-height: 650px;
  }

  .trust-strip,
  .program-grid,
  .split-section,
  .history-section,
  .admissions-grid,
  .lead-form,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .video-card {
    max-width: 420px;
    margin: 0 auto;
  }
}

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

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .header-cta {
    padding: 10px 12px;
    min-height: 40px;
  }

  .hero-content {
    width: 100%;
    padding: 82px 18px 54px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .section {
    padding: 54px 18px;
  }

  .program-card {
    min-height: 0;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
