:root {
  --black: #0a0a0a;
  --ink: #111111;
  --white: #ffffff;
  --gray-1: #f3f3f1;
  --gray-2: #d8d8d5;
  --gray-3: #8c8c88;
  --gray-4: #4a4a47;
  --radius: 2px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  background: var(--white);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--black);
  line-height: 1.08;
}

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

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

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-3);
  font-weight: 500;
}

/* ===== HEADER ===== */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--black);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1120px;
  margin: 0 auto;
  gap: 20px;
}

.brand-cluster {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-cluster img.cc-logo {
  height: 30px;
  width: auto;
}

.partner-divider {
  color: rgba(255, 255, 255, 0.3);
  font-size: 12px;
}

.partner-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  padding: 5px 12px 5px 10px;
  border-radius: 20px;
}

.partner-chip span {
  font-size: 10px;
  color: var(--gray-4);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.partner-chip img {
  height: 16px;
  width: auto;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.phone-link {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  display: none;
}

.btn {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.02em;
  font-weight: 500;
  padding: 11px 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, opacity .15s ease;
}

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

.btn-white:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.btn-outline-dark {
  border-color: rgba(0, 0, 0, 0.2);
  color: var(--black);
  background: transparent;
}

.btn-outline-dark:hover {
  border-color: var(--black);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  background: transparent;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  background: var(--black);
  color: #fff;
  overflow: hidden;
  padding: 96px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.hero h1 {
  color: #fff;
  font-size: clamp(36px, 5.2vw, 58px);
  margin: 16px 0 20px;
  max-width: 660px;
}

.hero p.sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.65);
  max-width: 520px;
  margin-bottom: 32px;
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.stat-row {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
}

.stat {
  border-left: 2px solid #fff;
  padding-left: 12px;
}

.stat .num {
  font-size: 26px;
  color: #fff;
  font-weight: 700;
  line-height: 1;
}

.stat .label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 6px;
}

/* Hero image styling */
.hero-img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img-wrap img {
  width: 100%;
  max-width: 420px; /* Reduced size as requested */
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-img-wrap img:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.trust-strip {
  background: var(--black);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 0;
}

.trust-strip .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  text-align: center;
}

.trust-strip .sep {
  color: rgba(255, 255, 255, 0.3);
}

/* ===== FAA APPROVAL ===== */
.faa-trust {
  padding: 56px 0;
  border-bottom: 1px solid var(--gray-2);
}

.faa-trust .wrap {
  display: flex;
  align-items: center;
  gap: 40px;
  justify-content: space-between;
}

.faa-trust .faa-logo-col {
  flex: 0 0 auto;
}

.faa-trust .faa-logo-col img {
  height: 64px;
  width: auto;
}

.faa-trust .faa-note {
  flex: 1;
  max-width: 560px;
}

.faa-trust .faa-note .eyebrow {
  margin-bottom: 8px;
}

.faa-trust .faa-note p {
  font-size: 15px;
  color: var(--gray-4);
}

.faa-trust .faa-note strong {
  color: var(--black);
}

@media(max-width:700px) {
  .faa-trust .wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* ===== SECTIONS ===== */
section {
  padding: 84px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-head h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  margin-top: 10px;
}

.section-head p {
  color: var(--gray-4);
  margin-top: 12px;
  font-size: 15.5px;
}

/* ===== WHY GRID ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gray-2);
  border: 1px solid var(--gray-2);
}

.why-card {
  background: var(--white);
  padding: 32px 26px;
}

.why-card .fig {
  font-size: 15px;
  color: var(--black);
  font-weight: 700;
  margin-bottom: 14px;
}

.why-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.why-card p {
  font-size: 14px;
  color: var(--gray-4);
}

/* ===== PARTNERSHIP ===== */
.partnership {
  background: var(--gray-1);
}

.partner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--gray-2);
  border: 1px solid var(--gray-2);
}

.partner-card {
  background: var(--white);
  padding: 38px 34px;
}

.partner-card img {
  height: 34px;
  width: auto;
  margin-bottom: 22px;
}

.partner-card .role {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-3);
  margin-bottom: 10px;
  font-weight: 500;
}

.partner-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.partner-card p {
  font-size: 14.5px;
  color: var(--gray-4);
}

.partner-card ul {
  margin-top: 16px;
  padding-left: 0;
  list-style: none;
}

.partner-card li {
  font-size: 13.5px;
  color: var(--gray-4);
  padding-left: 16px;
  position: relative;
  margin-bottom: 8px;
}

.partner-card li:before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--black);
}

/* ===== PROGRAMS ===== */
.programs {
  background: var(--black);
}

.programs .section-head h2,
.programs .eyebrow {
  color: #fff;
}

.programs .eyebrow {
  color: rgba(255, 255, 255, 0.5);
}

.programs .section-head p {
  color: rgba(255, 255, 255, 0.55);
}

.prog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.prog-card {
  background: var(--black);
  padding: 32px 28px;
  color: #fff;
  transition: background .2s ease;
}

.prog-card:hover {
  background: #161616;
}

.prog-card .tag {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prog-card h3 {
  color: #fff;
  font-size: 20px;
  margin: 10px 0 12px;
}

.prog-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 22px;
  min-height: 66px;
}

.prog-card a {
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 2px;
}

/* ===== CADET PHOTOS ===== */
.cadets {
  background: var(--gray-1);
}

.cadet-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--gray-2);
  border: 1px solid var(--gray-2);
}

.cadet-item {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #e4e3df;
}

.cadet-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(100%);
  transition: filter .3s ease, transform .4s ease;
  display: block;
}

.cadet-item:hover img {
  filter: grayscale(0%);
  transform: scale(1.04);
}

.cadet-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--gray-3);
}

.cadet-placeholder svg {
  width: 34px;
  height: 34px;
  opacity: 0.5;
}

.cadet-placeholder span {
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  padding: 0 10px;
}

.cadet-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0));
  padding: 26px 14px 12px;
  color: #fff;
}

.cadet-caption .name {
  font-size: 13px;
  font-weight: 700;
}

.cadet-caption .role {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 2px;
}

@media(max-width:860px) {
  .cadet-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== TESTIMONIALS ===== */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gray-2);
  border: 1px solid var(--gray-2);
}

.testi-card {
  background: #fff;
  padding: 28px;
}

.testi-card p.quote {
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.65;
  margin-bottom: 20px;
}

.testi-card .name {
  font-size: 13.5px;
  font-weight: 700;
}

.testi-card .role {
  font-size: 12px;
  color: var(--gray-3);
  margin-top: 2px;
}

/* ===== ENQUIRY FORM ===== */
.enquiry {
  background: var(--black);
}

.enquiry-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: start;
}

.enquiry-left h2 {
  color: #fff;
  font-size: clamp(26px, 3.4vw, 36px);
  margin: 12px 0 16px;
}

.enquiry-left p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  margin-bottom: 28px;
}

.enquiry-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.estat {
  border-top: 2px solid #fff;
  padding-top: 10px;
}

.estat .num {
  font-size: 22px;
  color: #fff;
  font-weight: 700;
}

.estat .label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
}

.form-card {
  background: var(--white);
  padding: 34px;
  border-radius: var(--radius);
}

.form-card h3 {
  font-size: 12px;
  color: var(--gray-3);
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.form-field {
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 12px;
  color: var(--gray-4);
  font-weight: 500;
}

.form-field input,
.form-field select {
  padding: 12px 14px;
  border: 1px solid var(--gray-2);
  background: #fff;
  font-size: 14px;
  font-family: inherit;
  border-radius: var(--radius);
  color: var(--ink);
}

.form-field input:focus,
.form-field select:focus {
  outline: 2px solid var(--black);
  outline-offset: 1px;
}

.submit-btn {
  width: 100%;
  padding: 14px;
  background: var(--black);
  color: #fff;
  border: none;
  font-size: 13px;
  letter-spacing: 0.03em;
  font-weight: 500;
  cursor: pointer;
  margin-top: 6px;
  border-radius: var(--radius);
  transition: opacity .15s ease;
}

.submit-btn:hover {
  opacity: 0.85;
}

.fine {
  font-size: 11.5px;
  color: var(--gray-3);
  margin-top: 12px;
  text-align: center;
}

.success-msg {
  display: none;
  text-align: center;
  padding: 30px 10px;
}

.success-msg h3 {
  color: var(--black);
  font-size: 20px;
  margin-bottom: 8px;
  text-transform: none;
  letter-spacing: 0;
}

.success-msg p {
  color: var(--gray-4);
  font-size: 14px;
}

/* ===== FOOTER ===== */
footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.55);
  padding: 48px 0 26px;
  font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.foot-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.foot-top img.cc-logo {
  height: 26px;
  width: auto;
}

.foot-top .partner-chip {
  background: #fff;
}

.foot-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
}

.foot-col h4 {
  color: #fff;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  font-weight: 700;
}

.foot-col p,
.foot-col a {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.55);
}

.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
}

/* sticky mobile CTA */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: var(--black);
  padding: 12px 16px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.mobile-cta a {
  display: block;
  text-align: center;
}

@media(max-width:860px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-img-wrap {
    order: -1;
    max-width: 320px;
    margin: 0 auto 24px;
  }

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

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

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

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

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .mobile-cta {
    display: block;
  }

  body {
    padding-bottom: 66px;
  }

  .phone-link {
    display: none !important;
  }

  .partner-chip span {
    display: none;
  }
}

/* ===== THANK YOU POPUP MODAL ===== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-card {
  position: relative;
  z-index: 10;
  background: var(--white);
  color: var(--ink);
  width: 100%;
  max-width: 480px;
  border-radius: 6px;
  padding: 36px 32px;
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 0, 0, 0.05);
  transform: scale(0.92) translateY(12px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.modal-overlay.active .modal-card {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: transparent;
  border: none;
  font-size: 24px;
  line-height: 1;
  color: var(--gray-3);
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}

.modal-close:hover {
  color: var(--black);
  background: var(--gray-1);
}

.modal-badge {
  width: 56px;
  height: 56px;
  background: var(--black);
  color: var(--white);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.modal-badge svg {
  width: 26px;
  height: 26px;
}

.modal-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--black);
}

.modal-card h3 span {
  color: var(--black);
}

.modal-desc {
  font-size: 14.5px;
  color: var(--gray-4);
  line-height: 1.55;
  margin-bottom: 22px;
}

.modal-summary {
  background: var(--gray-1);
  border: 1px solid var(--gray-2);
  border-radius: 4px;
  padding: 16px 18px;
  margin-bottom: 22px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.summary-item .s-label {
  color: var(--gray-3);
  font-weight: 500;
}

.summary-item .s-val {
  color: var(--black);
  font-weight: 700;
  word-break: break-all;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-btn-close {
  width: 100%;
  padding: 13px;
  background: var(--black);
  color: var(--white);
  border: none;
  font-size: 13.5px;
  font-weight: 500;
  border-radius: var(--radius);
  cursor: pointer;
  transition: opacity 0.15s;
}

.modal-btn-close:hover {
  opacity: 0.88;
}

.modal-whatsapp-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: #128c7e;
  font-weight: 500;
  padding: 6px 0;
  transition: color 0.15s;
}

.modal-whatsapp-link:hover {
  color: #075e54;
  text-decoration: underline;
}

/* Enhanced Mobile Responsiveness */
@media(max-width:540px) {
  .header-inner {
    padding: 12px 16px;
  }

  .brand-cluster img.cc-logo {
    height: 24px;
  }

  .hero {
    padding: 60px 0 50px;
  }

  .hero h1 {
    font-size: 32px;
    margin: 12px 0 16px;
  }

  .hero p.sub {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

  .hero-ctas .btn {
    width: 100%;
    text-align: center;
  }

  .stat-row {
    gap: 20px 24px;
  }

  .stat .num {
    font-size: 22px;
  }

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

  .form-card {
    padding: 24px 18px;
  }

  .modal-card {
    padding: 28px 20px;
  }

  .modal-card h3 {
    font-size: 20px;
  }

  .modal-desc {
    font-size: 13.5px;
  }
}