:root {
  --navy: #001f3e;
  --navy2: #003057;
  --teal: #06a982;
  --green: #0f9b72;
  --ink: #071e3a;
  --muted: #5d6a78;
  --line: #e6edf3;
  --card: #ffffff;
  --bg: #f7fafc;
  --shadow: 0 16px 40px rgba(0, 31, 62, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
}

a {
  color: inherit;
}

.container {
  width: min(1180px, 92vw);
  margin: auto;
}

/* Header */

.site-header {
  min-height: 96px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 12px max(36px, 4vw);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

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

.brand img {
  height: 82px;
  max-width: 210px;
  width: auto;
  object-fit: contain;
  display: block;
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 26px;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.main-nav a {
  text-decoration: none;
  position: relative;
}

.main-nav a.active,
.main-nav a:hover {
  color: var(--green);
}

.main-nav a.active::after {
  content: "";
  height: 3px;
  background: var(--green);
  position: absolute;
  left: 0;
  right: 0;
  bottom: -28px;
}

.header-cta {
  background: var(--green);
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 900;
  border-radius: 8px;
  padding: 15px 24px;
  font-size: 13px;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
}

/* Hero */

.hero {
  position: relative;
  min-height: 540px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image: url("../images/hero-success.jpg");
  background-size: cover;
  background-position: center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.94) 0%,
    rgba(255, 255, 255, 0.82) 36%,
    rgba(255, 255, 255, 0.16) 68%,
    rgba(255, 255, 255, 0.04) 100%
  );
}

.hero-inner {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
}

.hero-copy {
  max-width: 580px;
}

.eyebrow {
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.09em;
  color: var(--teal);
  margin: 0 0 10px;
}

.hero h1 {
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.98;
  margin: 0 0 20px;
  letter-spacing: -0.04em;
  color: #062248;
}

.hero p {
  font-size: 17px;
  line-height: 1.55;
  margin: 0 0 26px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  border-radius: 8px;
  padding: 16px 28px;
  text-transform: uppercase;
  font-size: 13px;
  box-shadow: 0 10px 24px rgba(15, 155, 114, 0.25);
}

.btn.ghost {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(0, 31, 62, 0.12);
}

.btn.light {
  background: #fff;
  color: var(--green);
}

/* Home layout */

.home-band {
  padding: 42px 0 56px;
  background: #fff;
}

.homepage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(360px, 0.8fr);
  gap: 38px;
  align-items: start;
}

.section-title {
  text-align: center;
  margin-bottom: 28px;
}

.section-title h2 {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 24px;
}

.section-title h2::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  background: var(--green);
  margin: 12px auto 0;
}

.section-title.small {
  margin-bottom: 22px;
}

/* Who we serve */

.serve-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 26px;
  align-items: stretch;
}

.serve-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 26px rgba(0, 31, 62, 0.11);
  overflow: hidden;
  min-height: 330px;
  position: relative;
}

.serve-card img {
  width: 100%;
  height: 145px;
  object-fit: cover;
  display: block;
}

.serve-card span {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.18);
  margin: -27px 0 12px 18px;
  position: relative;
  border: 3px solid white;
}

.serve-card h3 {
  text-transform: uppercase;
  font-size: 16px;
  margin: 0 18px 10px;
}

.serve-card p {
  font-size: 14px;
  line-height: 1.5;
  color: #23374d;
  margin: 0 18px 22px;
}

/* Courses */

.course-panel {
  padding-left: 0;
}

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

.course-tile {
  background: linear-gradient(145deg, #001c3a, #00315c);
  color: #fff;
  text-decoration: none;
  min-height: 118px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px;
  box-shadow: var(--shadow);
}

.course-tile img {
  height: 36px;
  margin-bottom: 10px;
}

.course-tile strong {
  text-transform: uppercase;
  font-size: 14px;
}

.course-tile small {
  opacity: 0.85;
  margin-top: 5px;
}

.course-tile.featured {
  grid-column: span 2;
  background: linear-gradient(145deg, #0fa176, #058c69);
  align-items: flex-start;
  text-align: left;
  padding-left: 28px;
}

.course-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

.action-card {
  min-height: 82px;
  border-radius: 10px;
  padding: 18px 20px;
  text-decoration: none;
  color: #fff;
  text-transform: uppercase;
  font-weight: 900;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.action-card.dark {
  background: var(--navy);
}

.action-card.green {
  background: var(--green);
}

.action-card span {
  font-size: 30px;
}

/* Standard sections */

.section {
  padding: 76px 0;
}

.section h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  margin: 0 0 18px;
}

.section p {
  font-size: 17px;
  line-height: 1.7;
  color: #35465a;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.video-card {
  background: linear-gradient(145deg, #002448, #00345d);
  color: #fff;
  border-radius: 22px;
  padding: 36px;
  box-shadow: var(--shadow);
}

.video-card p {
  color: #d9e8f1;
}

.play {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #fff;
  color: var(--green);
  display: grid;
  place-items: center;
  font-size: 26px;
  margin-bottom: 22px;
}

.video-card a {
  color: #7df0c9;
}

/* Collaborations */

.collaborations {
  background: var(--bg);
  padding-top: 42px;
}

.logo-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  align-items: center;
}

.logo-row img {
  width: 100%;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 31, 62, 0.08);
  padding: 10px;
}

/* Team */

.team-section {
  background: linear-gradient(135deg, #001d3b, #003058);
  color: #fff;
}

.team-section p {
  color: #d6e7f2;
}

.team-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 50px;
  align-items: center;
}

.team-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.team-strip img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

/* Stats */

.stats-band {
  background: #001c3a;
  color: #fff;
  padding: 34px 0;
}

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

.stats-grid div {
  border-right: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0 20px;
}

.stats-grid div:last-child {
  border-right: 0;
}

.stats-grid strong {
  display: block;
  font-size: 30px;
}

.stats-grid span {
  display: block;
  color: #c8dae8;
}

/* Panels */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 10px 28px rgba(0, 31, 62, 0.06);
}

/* CTA */

.cta-strip {
  background: linear-gradient(90deg, #0da77c, #00305a);
  color: #fff;
  padding: 34px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-inner h2 {
  margin: 0 0 6px;
  font-size: 28px;
}

.cta-inner p {
  margin: 0;
  color: #e5f5ef;
}

/* Footer */

.site-footer {
  background: #001c3a;
  color: #fff;
  padding: 48px 0 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.75fr 0.75fr 1.1fr;
  gap: 42px;
}

.footer-logo {
  height: 92px;
  width: auto;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 10px;
  padding: 6px;
  margin-bottom: 12px;
}

.site-footer p,
.site-footer a {
  color: #d6e4ef;
  line-height: 1.6;
}

.site-footer a {
  display: block;
  text-decoration: none;
  margin: 4px 0;
}

.site-footer h3 {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 14px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  margin-top: 30px;
  color: #bfd2e2;
  font-size: 13px;
}

/* Responsive */

@media (max-width: 1400px) {
  .container {
    width: min(1220px, 94vw);
  }

  .homepage-grid {
    grid-template-columns: 1fr;
  }

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

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

  .course-tile.featured {
    grid-column: span 2;
  }
}

@media (max-width: 980px) {
  .site-header {
    height: auto;
    min-height: 84px;
    flex-wrap: wrap;
  }

  .brand img {
    height: 66px;
    max-width: 180px;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 18px 0;
  }

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

  .main-nav a.active::after {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .hero,
  .hero-inner {
    height: auto;
    min-height: 560px;
  }

  .hero-copy {
    padding: 72px 0;
  }

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

  .about-grid,
  .team-layout,
  .two-col,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid div {
    border-right: 0;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  .brand img {
    height: 58px;
  }

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

  .serve-grid,
  .course-grid,
  .course-actions,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .course-tile.featured {
    grid-column: auto;
  }

  .team-strip {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}