/* ===========================
   HAVOC EFS — style.css
   =========================== */

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

:root {
  color-scheme: light;
  --navy: #1a2a5e;
  --red: #c0392b;
  --red-light: #e74c3c;
  --gold: #e8a020;
  --white: #ffffff;
  --off-white: #f8f9fc;
  --text-dark: #1a1a2e;
  --text-mid: #444;
  --text-light: #777;
  --card-blue-bg: #162654;
  --card-red-bg: #8b1a14;
  --font-main: 'Inter', sans-serif;
  --font-display: 'Barlow Condensed', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background: #fff;
  overflow-x: hidden;
}

/* ======= ANNOUNCEMENT BAR ======= */
.announcement-bar {
  display: block;
  background-color: var(--red);
  color: #fff;
  text-align: center;
  padding: 12px 15px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  font-family: var(--font-body);
  transition: background-color 0.2s ease;
}

.announcement-bar:hover {
  background-color: var(--navy);
  color: #fff;
}

.announcement-bar span {
  text-decoration: underline;
  margin-left: 4px;
}

/* ======= NAVBAR ======= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #e8edf5;
  box-shadow: 0 2px 12px rgba(26, 42, 94, 0.07);
}

.nav-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 120px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-badge svg {
  display: block;
  flex-shrink: 0;
}


.nav-logo a {
  display: block;
  line-height: 0;
}

.nav-logo-img {
  height: 160px;
  width: auto;
  display: block;
  object-fit: contain;
  margin-left: -72px;
}

.nav-logo-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  position: relative;
}

/* Prevent Dark Reader from inverting the logo */
html[data-darkreader-mode] .nav-logo-img,
html[data-darkreader-scheme="dark"] .nav-logo-img {
  filter: invert(1) hue-rotate(180deg) !important;
}



.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 4px;
  transition: color 0.2s;
  position: relative;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--navy);
  padding: 8px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.2s ease, opacity 0.2s ease;
  opacity: 0;
}

.nav-link.active {
  color: var(--red);
}

.nav-link.active::after,
.nav-link:hover::after {
  width: 100%;
  opacity: 1;
}

.nav-link:hover {
  color: var(--red);
}

.btn-login {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 50px;
  text-decoration: none;
  margin-left: 10px;
  transition: background 0.2s, transform 0.15s;
}

.btn-login:hover {
  background: var(--red);
  transform: translateY(-1px);
}

/* ======= HERO ======= */
.hero {
  width: 100%;
  display: flex;
  align-items: stretch;
  min-height: 500px;
  overflow: hidden;
  position: relative;
  background: #fff;
}

.hero-left {
  flex: 0 0 40%;
  max-width: 580px;
  padding: 56px 32px 56px clamp(24px, calc((100vw - 1400px) / 2 + 24px), 120px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
  background: transparent;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.hero-tagline .red {
  color: var(--red);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 6.5vw, 92px);
  font-weight: 800;
  color: var(--navy);
  line-height: 0.95;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.hero-sub {
  font-size: 18px;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 40px;
}

.hero-btns {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 14px 24px;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: var(--red);
  transform: translateY(-2px);
}

.btn-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.btn-icon-wrap.play {
  background: rgba(255, 255, 255, 0.2);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 13px 24px;
  border-radius: 50px;
  border: 2px solid var(--navy);
  text-decoration: none;
  transition: all 0.2s;
}

.btn-outline:hover {
  background: var(--navy);
  color: #fff;
}


/* ======= CARDS: AVIATION + RACING ======= */
/* ===== CARDS SECTION ===== */
.cards-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 24px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  box-sizing: border-box;
}

.card-aviation,
.card-racing {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  min-height: 300px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}

.card-aviation {
  background-color: var(--card-blue-bg);
}

.card-racing {
  background-color: var(--card-red-bg);
}

/* Left text panel */
.card-left-content {
  flex: 0 0 40%;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  position: relative;
  z-index: 2;
}

/* Right image panel */
.card-image-panel {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.card-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  z-index: 0;
}

/* Gradient fade from card bg color into image on the left edge */
.card-aviation .card-image-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 20%;
  background: linear-gradient(to right, var(--card-blue-bg) 0%, transparent 100%);
  z-index: 1;
}

.card-racing .card-image-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 20%;
  background: linear-gradient(to right, var(--card-red-bg) 0%, transparent 100%);
  z-index: 1;
}

.card-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.blue-icon {
  background: rgba(255, 255, 255, 0.15);
}

.red-icon {
  background: rgba(255, 255, 255, 0.15);
}

.card-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.card-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

.btn-card-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 10px 18px;
  border-radius: 50px;
  text-decoration: none;
  margin-top: 6px;
  align-self: flex-start;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-card-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.btn-card-red {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 10px 18px;
  border-radius: 50px;
  text-decoration: none;
  margin-top: 6px;
  align-self: flex-start;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-card-red:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.btn-arrow-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(26, 42, 94, 0.12);
}

display: inline-flex;
align-items: center;
gap: 10px;
background: var(--navy);
color: #fff;
font-size: 13px;
font-weight: 700;
letter-spacing: 1px;
padding: 14px 24px;
border-radius: 50px;
text-decoration: none;
transition: background 0.2s,
transform 0.15s;
}

.btn-primary:hover {
  background: var(--red);
  transform: translateY(-2px);
}

.btn-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.btn-icon-wrap.play {
  background: rgba(255, 255, 255, 0.2);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 13px 24px;
  border-radius: 50px;
  border: 2px solid var(--navy);
  text-decoration: none;
  transition: all 0.2s;
}

.btn-outline:hover {
  background: var(--navy);
  color: #fff;
}


/* ======= CARDS: AVIATION + RACING ======= */
/* ===== CARDS SECTION ===== */
.cards-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 24px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  box-sizing: border-box;
}

.card-aviation,
.card-racing {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  min-height: 300px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}

.card-aviation {
  background-color: var(--card-blue-bg);
}

.card-racing {
  background-color: var(--card-red-bg);
}

/* Left text panel */
.card-left-content {
  flex: 0 0 40%;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  position: relative;
  z-index: 2;
}

/* Right image panel */
.card-image-panel {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.card-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  z-index: 0;
}

/* Gradient fade from card bg color into image on the left edge */
.card-aviation .card-image-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 20%;
  background: linear-gradient(to right, var(--card-blue-bg) 0%, transparent 100%);
  z-index: 1;
}

.card-racing .card-image-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 20%;
  background: linear-gradient(to right, var(--card-red-bg) 0%, transparent 100%);
  z-index: 1;
}

.card-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.blue-icon {
  background: rgba(255, 255, 255, 0.15);
}

.red-icon {
  background: rgba(255, 255, 255, 0.15);
}

.card-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.card-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

.btn-card-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 10px 18px;
  border-radius: 50px;
  text-decoration: none;
  margin-top: 6px;
  align-self: flex-start;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-card-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.btn-card-red {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 10px 18px;
  border-radius: 50px;
  text-decoration: none;
  margin-top: 6px;
  align-self: flex-start;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-card-red:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.btn-arrow-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(26, 42, 94, 0.12);
}

.btn-arrow-wrap.red-arrow {
  background: rgba(192, 57, 43, 0.12);
}


/* ======= WHY CHOOSE + EVENTS ======= */
.why-events-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 24px;
  display: block;
}

.why-events-section .section-title {
  justify-content: center;
}

.section-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.red-line {
  color: var(--red);
  font-size: 18px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 30px auto 0;
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.why-icon {
  flex-shrink: 0;
}

.why-text strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 3px;
}

.why-text p {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.4;
}

/* Events */
.events-section {
  display: flex;
  flex-direction: column;
}

.events-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.events-title-text {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0;
}

.view-all-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s;
}

.view-all-link:hover {
  color: var(--red);
}

.event-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1.5px solid #e4eaf5;
  border-radius: 10px;
  padding: 14px;
  box-shadow: 0 2px 12px rgba(26, 42, 94, 0.07);
}

.event-date-badge {
  background: var(--navy);
  color: #fff;
  border-radius: 8px;
  padding: 8px 10px;
  text-align: center;
  min-width: 48px;
  flex-shrink: 0;
}

.event-month {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #7badf5;
}

.event-day {
  display: block;
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
}

.event-img {
  width: 90px;
  height: 72px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.event-info {
  flex: 1;
}

.event-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 6px;
}

.event-meta {
  font-size: 11px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 2px;
}

.btn-register {
  background: var(--navy);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 10px 14px;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}

.btn-register:hover {
  background: var(--red);
}

/* ======= STATS STRIP ======= */
.stats-strip {
  background: var(--navy);
  padding: 28px 24px;
  display: flex;
  justify-content: center;
  gap: 60px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
}

.stat-icon {
  font-size: 26px;
  opacity: 0.9;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 80px;
  line-height: 1.3;
}

/* ======= BOTTOM 3 CARDS ======= */
.bottom-cards-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 30px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.bottom-card {
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 380px;
  position: relative;
}

.bc-updates {
  background: #f5f7fb;
}

.bc-involved {
  background: var(--navy);
}

.bc-stories {
  background: #1e1e2e;
}

.bc-text {
  padding: 24px 24px 14px;
  flex: 1;
  z-index: 2;
  position: relative;
  max-width: 55%;
}

.bc-updates .bc-text h3 {
  color: var(--navy);
}

.bc-updates .bc-text p {
  color: var(--text-mid);
}

.bc-involved .bc-text h3 {
  color: #fff;
}

.bc-involved .bc-text p {
  color: rgba(255, 255, 255, 0.75);
}

.bc-stories .bc-text h3 {
  color: #fff;
}

.bc-stories .bc-text p {
  color: rgba(255, 255, 255, 0.7);
}

.bc-text h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.bc-text p {
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 12px;
}

.explore-link {
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}

.explore-link:hover {
  gap: 8px;
}

.bc-updates .explore-link {
  color: var(--navy);
}

.bc-involved .explore-link {
  color: rgba(255, 255, 255, 0.9);
}

.bc-stories .explore-link {
  color: rgba(255, 255, 255, 0.9);
}

.bc-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

/* ======= FOOTER ======= */
.site-footer {
  background: var(--navy);
  color: #fff;
  position: relative;
  z-index: 10;
}

.footer-top {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 24px 24px;
  display: grid;
  grid-template-columns: 1.2fr 1.5fr;
  gap: 40px;
  align-items: start;
  position: relative;
}

.footer-contact h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: #fff;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 8px;
  line-height: 1.5;
}

.contact-row svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.social-icon:hover {
  background: var(--red);
  transform: translateY(-2px);
}

/* Newsletter */
.footer-newsletter h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: #fff;
}

.footer-newsletter p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 18px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.newsletter-input {
  flex: 1;
  min-width: 220px;
  max-width: 320px;
  padding: 13px 18px;
  border-radius: 50px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.newsletter-input:focus {
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-subscribe {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 13px 22px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn-subscribe:hover {
  background: #a93226;
  transform: translateY(-1px);
}

.footer-decor {
  margin-top: 14px;
  opacity: 0.8;
}

/* Footer kid image */
.footer-kid {
  position: absolute;
  bottom: -60px;
  /* pull down further to account for transparent pixels in the image */
  right: -120px;
  /* push further to the right so he doesn't block the subscribe field */
  z-index: 5;
  pointer-events: none;
  /* so he doesn't block clicks on the subscribe button */
}

.footer-kid img {
  width: 520px;
  height: auto;
  display: block;
}

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 14px 24px;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

/* ======= ABOUT PAGE ======= */
.about-hero {
  width: 100%;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  position: relative;
  overflow: hidden;
}

.about-hero-content {
  max-width: 800px;
  position: relative;
  z-index: 2;
}

.about-title {
  font-family: var(--font-display);
  font-size: 56px;
  color: white;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.about-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.about-pillars {
  max-width: 1400px;
  margin: 64px auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.pillar-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
}

.pillar-card:hover {
  transform: translateY(-5px);
}

.pillar-img-wrap {
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.pillar-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pillar-text {
  padding: 32px 24px;
  text-align: center;
  flex-grow: 1;
}

.pillar-text h3 {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--navy);
  margin: 0 0 16px;
}

.pillar-text p {
  color: var(--text-dark);
  line-height: 1.6;
  margin: 0;
}

/* ======= RESPONSIVE ======= */
@media (max-width: 1100px) {
  .hero {
    flex-direction: column;
    padding-top: 0;
    min-height: auto;
  }

  .hero-left {
    flex: none;
    width: 100%;
    max-width: 100%;
    padding: 40px 24px;
    align-items: center;
    text-align: center;
  }

  .cards-section {
    grid-template-columns: 1fr;
  }

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

  .stats-strip {
    gap: 30px;
    flex-wrap: wrap;
  }

  .bottom-cards-section {
    grid-template-columns: 1fr;
  }

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

  .footer-kid {
    display: none;
  }

  .about-pillars {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-inner {
    min-height: 80px;
    justify-content: space-between;
    position: relative;
  }

  .nav-logo-img {
    height: 100px;
    margin-left: 0;
  }

  .mobile-menu-btn {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 16px 24px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #eee;
    z-index: 999;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-link {
    padding: 12px;
    border-bottom: 1px solid #f0f0f0;
    width: 100%;
    text-align: left;
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  .btn-login {
    position: absolute;
    right: 16px;
    padding: 6px 12px;
    font-size: 11px;
  }

  /* Hero - mobile: text on top with white bg, image shows below */
  .hero {
    flex-direction: column;
  }

  .hero-left {
    padding: 30px 16px 30px 16px;
    background: #fff;
    position: relative;
    z-index: 2;
    width: 100%;
  }

  .hero .bg-img-container {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    height: 260px;
    z-index: 0;
  }

  .hero .bg-img-overlay.hero-gradient {
    display: none;
  }

  .hero-title {
    font-size: 36px;
    margin-bottom: 16px;
  }

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

  /* Cards Section */
  .card-aviation,
  .card-racing {
    flex-direction: column-reverse;
    min-height: auto;
  }

  .card-left-content {
    padding: 30px 20px;
    flex: none;
    width: 100%;
    text-align: center;
    align-items: center;
  }

  .card-image-panel {
    width: 100%;
    height: 200px;
    flex: none;
  }

  .card-aviation .card-image-panel::before {
    width: 100%;
    height: 40px;
    top: auto;
    bottom: 0;
    left: 0;
    background: linear-gradient(to bottom, transparent 0%, var(--card-blue-bg) 100%);
  }

  .card-racing .card-image-panel::before {
    width: 100%;
    height: 40px;
    top: auto;
    bottom: 0;
    left: 0;
    background: linear-gradient(to bottom, transparent 0%, var(--card-red-bg) 100%);
  }

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

  /* Stats */
  .stats-strip {
    gap: 20px;
    flex-direction: column;
    text-align: center;
  }

  .stat-item {
    flex-direction: column;
    gap: 8px;
  }

  .stat-label {
    max-width: 100%;
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 30px;
  }

  .contact-row {
    justify-content: center;
  }

  .social-links {
    justify-content: center;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-input {
    max-width: 100%;
    width: 100%;
    text-align: center;
  }

  .btn-subscribe {
    justify-content: center;
  }

  /* About Page */
  .about-hero {
    height: 300px;
  }

  .about-title {
    font-size: 36px;
  }

  .footer-bottom {
    font-size: 11px;
  }
}

/* ======= BACKGROUND IMAGE UTILITIES ======= */
.bg-img-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  overflow: hidden;
}

.bg-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.bg-img-container.right-align img {
  object-position: right center;
}

.bg-img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.bg-img-overlay.hero-gradient {
  background: linear-gradient(to right, #ffffff 30%, transparent 60%);
}

.bg-img-overlay.about-gradient {
  background: linear-gradient(to bottom, rgba(26, 42, 94, 0.7), rgba(26, 42, 94, 0.9));
}

/* ======= COURSES PAGE ======= */
.courses-hero {
  background: #f7f9fc;
  padding: 60px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.courses-title {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 48px;
  margin-bottom: 8px;
}

.courses-subtitle {
  color: var(--text-dark);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.courses-subtitle svg {
  color: var(--navy);
}

.courses-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
}

.course-category-block {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.category-title-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.category-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blue-icon {
  background: rgba(26, 42, 94, 0.1);
  color: var(--navy);
}

.red-icon {
  background: rgba(192, 57, 43, 0.1);
  color: var(--red);
}

.category-title {
  font-family: var(--font-display);
  font-size: 24px;
  margin: 0;
}

.navy-text {
  color: var(--navy);
}

.red-text {
  color: var(--red);
}

.view-all-link {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.view-all-link:hover {
  text-decoration: underline;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 420px));
  justify-content: center;
  gap: 32px;
}

.course-card {
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.course-card .course-btn-icon::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
}

.course-card-img {
  width: 100%;
  height: auto;
}

.course-card-img img {
  width: 100%;
  height: auto;
  display: block;
}

.course-card-content {
  padding: 16px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.course-card-title {
  font-size: 18px;
  margin: 0 0 4px 0;
  font-family: var(--font-display);
}

.course-card-age {
  color: #666;
  font-size: 12px;
  margin: 0 0 16px 0;
  flex-grow: 1;
}

.course-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.course-btn-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.blue-btn {
  background: var(--navy);
  color: #fff;
}

.red-btn-outline {
  border: 1px solid var(--red);
  color: var(--red);
}

.blue-btn-outline {
  border: 1px solid var(--navy);
  color: var(--navy);
}

.course-arrow {
  font-size: 18px;
  font-weight: bold;
}

.red-arrow {
  color: var(--red);
}

/* CTA BANNER */
.courses-cta-banner {
  background: var(--navy);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-banner-content {
  z-index: 2;
  position: relative;
}

.cta-banner-content h3 {
  font-family: var(--font-display);
  font-size: 28px;
  margin: 0 0 8px 0;
}

.cta-banner-content p {
  margin: 0 0 24px 0;
  color: #ddd;
}

.cta-btn {
  display: inline-block;
  padding: 12px 24px;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
}

.cta-banner-img {
  position: absolute;
  bottom: 0;
  right: 40px;
  height: 120%;
  z-index: 1;
}

.cta-banner-img img {
  height: 100%;
  object-fit: contain;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .course-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-banner-img {
    right: -20px;
    opacity: 0.5;
  }
}

@media (max-width: 768px) {
  .courses-title {
    font-size: 36px;
  }

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

  .course-category-block {
    padding: 20px;
  }

  .category-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .courses-cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }

  .cta-banner-img {
    display: none;
  }
}

/* ======= ABOUT PAGE ======= */
.about-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
  overflow: hidden;
}

.about-hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-title {
  font-family: var(--font-display);
  font-size: 64px;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.about-subtitle {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
}

.about-hero-decoration {
  position: absolute;
  top: -80px;
  left: -120px;
  pointer-events: none;
}

/* ======= CONTACT PAGE ======= */
.contact-section {
  background: #f0f2f7;
  padding: 60px 24px;
}

.contact-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Left: Info */
.contact-heading {
  font-family: var(--font-display);
  font-size: 56px;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1;
}

.contact-heading-bar {
  width: 48px;
  height: 4px;
  background: var(--red);
  border-radius: 2px;
  margin-bottom: 16px;
}

.contact-intro {
  font-size: 18px;
  color: var(--text-mid);
  margin-bottom: 36px;
}

.contact-info-block {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 28px;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: #e8ecf8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--navy);
}

.contact-info-text h4 {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 4px;
}

.contact-info-text p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6;
  margin: 0;
}

.contact-social-links {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.contact-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.contact-social-btn:hover {
  background: var(--red);
  transform: translateY(-2px);
}

/* Right: Form Card */
.contact-form-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 8px 40px rgba(26, 42, 94, 0.08);
}

/* Full-width Map Below Form */
.contact-map-full {
  margin: 60px auto 0;
  max-width: 1100px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(26, 42, 94, 0.08);
  height: 400px;
}

.contact-map-full iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group .required {
  color: var(--red);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #dde1ed;
  border-radius: 8px;
  font-size: 14px;
  font-family: var(--font-main);
  color: var(--text-dark);
  background: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26, 42, 94, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #aab;
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.contact-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px 32px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  align-self: flex-start;
}

.contact-submit-btn:hover {
  background: var(--red);
  transform: translateY(-2px);
}

/* Map section */
.contact-map-section {
  position: relative;
  height: 380px;
  overflow: hidden;
}

.contact-map-wrapper {
  width: 100%;
  height: 100%;
}

.contact-map {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.contact-map-boy {
  position: absolute;
  bottom: 0;
  right: 60px;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.contact-map-boy img {
  height: 100%;
  object-fit: contain;
}

/* Responsive */
@media (max-width: 900px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-info {
    order: 2;
  }

  .contact-form-card {
    order: 1;
  }

  .contact-heading {
    font-size: 44px;
  }

  .contact-map-section {
    height: 300px;
  }

  .contact-map-boy {
    right: 10px;
    height: 80%;
  }
}

@media (max-width: 600px) {
  .contact-form-card {
    padding: 24px;
  }

  .contact-map-boy {
    display: none;
  }

  .contact-submit-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ======= ABOUT PAGE – SPLIT HERO ======= */
.about-split-hero {
  display: flex;
  min-height: 420px;
  overflow: hidden;
  background: #fff;
  position: relative;
}

.about-split-left {
  flex: 0 0 45%;
  padding: 60px 48px 60px clamp(24px, calc((100vw - 1400px) / 2 + 24px), 100px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  background: #fff;
  z-index: 2;
}

.about-split-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 6vw, 80px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 16px;
}

.about-split-subtitle {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 20px;
}

.about-split-body {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.7;
  max-width: 420px;
}

/* Decorative elements */
.about-decor-plus {
  position: absolute;
  font-size: 28px;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  user-select: none;
}

.about-decor-plus-1 {
  top: 30px;
  right: 80px;
}

.about-decor-plus-2 {
  top: 70px;
  right: 40px;
  font-size: 16px;
  color: var(--navy);
}

.about-decor-plane {
  position: absolute;
  top: 20px;
  right: 30px;
  pointer-events: none;
}

/* Right image side */
.about-split-right {
  flex: 1;
  position: relative;
  overflow: hidden;
  clip-path: polygon(8% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.about-split-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.about-split-red-bar {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 6px;
  background: var(--red);
}

/* Mission / Vision / Values */
.about-mv-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 3px solid #e8edf5;
}

.about-mv-card {
  padding: 40px 36px;
  border-right: 1px solid #e8edf5;
  background: #fff;
}

.about-mv-card:last-child {
  border-right: none;
}

.about-mv-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.navy-bg {
  background: var(--navy);
}

.red-bg {
  background: var(--red);
}

.about-mv-title {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 12px;
}

.about-mv-title.red-text {
  color: var(--red);
}

.about-mv-text {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
  margin: 0;
}

.course-card-desc {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.5;
  margin-bottom: 24px;
  flex: 1;
}

/* Responsive – Tablet */
@media (max-width: 900px) {
  .about-split-hero {
    flex-direction: column;
    min-height: auto;
  }

  .about-split-left {
    flex: none;
    width: 100%;
    padding: 40px 24px 32px;
  }

  .about-split-right {
    clip-path: none;
    height: 300px;
    width: 100%;
  }

  .about-split-red-bar {
    display: none;
  }

  .about-mv-section {
    grid-template-columns: 1fr;
  }

  .about-mv-card {
    border-right: none;
    border-bottom: 1px solid #e8edf5;
  }
}

/* Responsive – Phone */
@media (max-width: 600px) {

  /* Hide decorative elements on mobile — they overlap text */
  .about-decor-plus,
  .about-decor-plane {
    display: none;
  }

  .about-split-left {
    padding: 32px 20px 24px;
    text-align: left;
  }

  .about-split-title {
    font-size: 44px;
  }

  .about-split-subtitle {
    font-size: 18px;
  }

  .about-split-body {
    font-size: 14px;
    max-width: 100%;
  }

  .about-split-right {
    height: 240px;
  }

  .about-mv-card {
    padding: 28px 20px;
  }

  .about-mv-title {
    font-size: 20px;
  }

  /* Pillars stacked */
  .about-pillars {
    grid-template-columns: 1fr;
    padding: 0 16px;
    margin: 32px auto;
    gap: 20px;
  }

  .pillar-img-wrap {
    height: 180px;
  }
}