/* ===== HOME PAGE CSS ===== */

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: var(--nav-h) 0 6rem;
}

#runway-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-airport-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(79,156,249,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 20% 80%, rgba(245,158,11,0.05) 0%, transparent 60%),
    linear-gradient(180deg, #070b14 0%, #0a0e1a 50%, #0d1220 100%);
  z-index: 1;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: 
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(79,156,249,0.01) 2px,
      rgba(79,156,249,0.01) 4px
    );
  z-index: 2;
  pointer-events: none;
}

/* Runway animation lines */
.runway-lines {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  z-index: 2;
  display: flex;
  gap: 20px;
}
.rw-line {
  width: 8px;
  background: linear-gradient(to top, rgba(240,192,96,0.8), transparent);
  border-radius: 4px;
  animation: runway-flash 1.5s ease-in-out infinite;
}
.rw-1 { height: 200px; animation-delay: 0s; }
.rw-2 { height: 180px; animation-delay: 0.3s; }
.rw-3 { height: 160px; animation-delay: 0.6s; }
@keyframes runway-flash {
  0%, 100% { opacity: 0.15; }
  50% { opacity: 0.7; }
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(240,192,96,0.08);
  border: 1px solid rgba(240,192,96,0.2);
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  margin-bottom: 1.25rem;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: blink 1.5s ease-in-out infinite;
}

.hero-calling {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.hero-title em {
  font-style: normal;
  font-family: 'Reenie Beanie', cursive;
  font-size: 1.25em;
  font-weight: 400;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.hero-title-line {
  color: var(--text);
  font-size: 0.85em;
}

.hero-title-careers {
  font-size: 0.75em;
  color: var(--text-muted);
  font-weight: 600;
}

.hero-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 2.25rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-btn-primary {
  font-size: 1rem;
  padding: 0.875rem 2rem;
  gap: 0.75rem;
}
.btn-plane {
  display: inline-block;
  animation: plane-wiggle 1.5s ease-in-out infinite;
}
@keyframes plane-wiggle {
  0%, 100% { transform: translateX(0) rotate(0deg); }
  50% { transform: translateX(4px) rotate(10deg); }
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-tag {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.3rem 0.875rem;
  border-radius: 2rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-muted);
  letter-spacing: 0.04em;
  transition: all 0.3s;
}
.hero-tag:hover {
  background: rgba(79,156,249,0.08);
  border-color: rgba(79,156,249,0.2);
  color: var(--accent);
}

/* Radar widget in hero */
.hero-radar {
  position: absolute;
  right: clamp(1rem, 6vw, 5rem);
  bottom: 4rem;
  z-index: 10;
  text-align: center;
  opacity: 0.7;
}
.radar-label {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 0.4rem;
}

/* PROGRAMS SECTION */
.programs-section {
  padding: 6rem 0;
  overflow: hidden;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.program-card {
  display: flex;
  flex-direction: column;
}

.program-img-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--gold);
  color: #1a0a00;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 2rem;
  z-index: 2;
}

.program-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.program-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin: 0.75rem 0 0.5rem;
  line-height: 1.3;
}

.program-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.program-meta {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 500;
}

/* WHY SECTION */
.why-section {
  padding: 6rem 0;
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
}

.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-features { margin-top: 2rem; }

.why-feature {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.why-feature-icon {
  width: 44px; height: 44px;
  border-radius: 0.875rem;
  background: rgba(79,156,249,0.08);
  border: 1px solid rgba(79,156,249,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: all 0.3s;
}
.why-feature:hover .why-feature-icon {
  background: var(--accent);
  border-color: var(--accent);
}

.why-feature h4 {
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.25rem;
}
.why-feature p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stat-card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 1.25rem;
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--accent), var(--gold));
  opacity: 0;
  transition: opacity 0.3s;
}
.stat-card:hover {
  border-color: rgba(79,156,249,0.2);
  transform: translateY(-4px);
}
.stat-card:hover::before { opacity: 1; }

.why-radar-wrap {
  text-align: center;
  position: relative;
}
.why-radar-inner {
  display: inline-block;
  position: relative;
}
.radar-center-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

/* GALLERY PREVIEW */
.gallery-preview-section {
  padding: 6rem 0;
  overflow: hidden;
}

.gallery-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 0.875rem;
}

.gallery-item-tall {
  grid-row: span 2;
  aspect-ratio: unset;
  min-height: 380px;
}
.gallery-item-wide { grid-column: span 2; }
.gallery-item-wide2 { grid-column: span 2; }

/* CAMPUSES SECTION */
.campuses-section {
  padding: 6rem 0;
  background: var(--bg-2);
}

.campuses-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.campus-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  margin-bottom: 1rem;
  animation: blink 2s ease-in-out infinite;
}

.campus-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.25rem;
}
.campus-title {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

/* CTA SECTION */
.cta-section {
  padding: 6rem 0;
  overflow: hidden;
  position: relative;
}
.cta-inner {
  text-align: center;
}
.cta-plane {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
  animation: float-blob 4s ease-in-out infinite;
  filter: drop-shadow(0 0 20px var(--accent));
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .campuses-grid { grid-template-columns: repeat(2, 1fr); }
  .why-inner { grid-template-columns: 1fr; gap: 3rem; }
  .gallery-preview-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item-tall { grid-row: span 1; min-height: 220px; }
}

@media (max-width: 640px) {
  .programs-grid { grid-template-columns: 1fr; }
  .campuses-grid { grid-template-columns: 1fr; }
  .hero-radar { display: none; }
  .gallery-preview-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item-wide, .gallery-item-wide2 { grid-column: span 1; }
}
