@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --navy: #0d1b2a;
  --navy-mid: #1a2d42;
  --navy-light: #243b55;
  --red: #e63946;
  --red-dark: #c1121f;
  --blue: #1d3557;
  --blue-accent: #2563eb;
  --white: #ffffff;
  --off-white: #f8f9fc;
  --gray-100: #f1f4f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #64748b;
  --gray-800: #1e293b;
  --gold: #f59e0b;

  --font-display: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(13,27,42,0.08);
  --shadow-md: 0 8px 32px rgba(13,27,42,0.12);
  --shadow-lg: 0 24px 64px rgba(13,27,42,0.18);
  --shadow-red: 0 8px 32px rgba(230,57,70,0.25);

  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  --transition-slow: all 0.6s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ─── SCROLLBAR ─────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }

/* ─── NAVBAR (oval, centered, floating) ──────── */
.navbar-wrapper {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 16px 2rem 0;
  pointer-events: none;
}

.navbar {
  pointer-events: all;
  width: 100%;
  max-width: 1100px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem 0 1.25rem;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(13,27,42,0.09);
  border-radius: 9999px;
  box-shadow: 0 4px 24px rgba(13,27,42,0.10);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 8px 40px rgba(13,27,42,0.16);
}

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

.logo-cube {
  width: 40px; height: 40px;
  background: var(--navy);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}

.logo-cube::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--red) 0%, var(--navy) 60%);
}

.logo-cube span {
  position: relative;
  color: white;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -1px;
  z-index: 1;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--navy);
  letter-spacing: -0.5px;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--gray-600);
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-links a:hover { color: var(--navy); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--navy); font-weight: 600; }
.nav-links a.active::after { width: 100%; }

.nav-dropdown { position: relative; }

.nav-dropdown > a { cursor: pointer; display: flex; align-items: center; gap: 0.35rem; }

.nav-dropdown > a .dropdown-arrow {
  display: inline-block;
  font-size: 0.6rem;
  transition: transform 0.25s ease;
  line-height: 1;
  opacity: 0.6;
}

.nav-dropdown.open > a .dropdown-arrow,
.nav-dropdown:hover > a .dropdown-arrow {
  transform: rotate(180deg);
  opacity: 1;
}

/* ── MEGA DROPDOWN ── */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 620px;
  max-width: 90vw;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--gray-200);
  box-shadow: 0 16px 48px rgba(0,0,0,0.13);
  padding: 1.5rem 0 1.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 200;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

/* Inner layout */
.dropdown-inner {
  max-width: 100%;
  margin: 0;
  padding: 0 1.25rem;
}

.dropdown-top-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--gray-200);
}

.dropdown-col-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  text-transform: uppercase;
  padding: 0 1rem 0.75rem;
}

.dropdown-col-items {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0 0.75rem;
}

.dropdown-col-items + .dropdown-top-cols .dropdown-col-items {
  border-left: 1px solid var(--gray-200);
}

.dropdown-item {
  display: flex !important;
  align-items: center !important;
  gap: 0.6rem !important;
  padding: 0.55rem 0.75rem !important;
  border-radius: 10px !important;
  font-size: 0.88rem !important;
  font-weight: 500 !important;
  color: var(--gray-800) !important;
  transition: background 0.15s, color 0.15s !important;
  text-decoration: none;
}

.dropdown-item:hover {
  background: var(--gray-100) !important;
  color: var(--navy) !important;
}

.dropdown-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.dropdown-item-icon.blue { background: rgba(37,99,235,0.1); }
.dropdown-item-icon.red  { background: rgba(230,57,70,0.1); }

/* Bottom row - other grades */
.dropdown-bottom {
  padding-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.dropdown-bottom-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  text-transform: uppercase;
  margin-right: 0.5rem;
  white-space: nowrap;
}

.dropdown-bottom-link {
  font-size: 0.83rem !important;
  font-weight: 500 !important;
  color: var(--gray-600) !important;
  padding: 0.35rem 0.85rem !important;
  border-radius: 999px !important;
  border: 1px solid var(--gray-200) !important;
  transition: background 0.15s, color 0.15s, border-color 0.15s !important;
  text-decoration: none;
  display: inline-block;
}

.dropdown-bottom-link:hover {
  background: var(--navy) !important;
  color: white !important;
  border-color: var(--navy) !important;
}

.dropdown-menu a::after { display: none !important; }

.nav-cta {
  background: var(--red) !important;
  color: white !important;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 600 !important;
  transition: var(--transition) !important;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--red-dark) !important; transform: translateY(-1px); box-shadow: var(--shadow-red); }

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: var(--navy);
  transition: var(--transition);
}

.hamburger span {
  width: 22px; height: 2px;
  background: white;
  border-radius: 2px;
  transition: var(--transition);
  display: block;
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: white;
  z-index: 998;
  padding: 6rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transform: translateX(100%);
  transition: var(--transition-slow);
  overflow-y: auto;
}

.mobile-menu.open { transform: translateX(0); }

.mobile-menu a {
  display: block;
  padding: 1rem 1.25rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--navy);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: var(--transition);
  border-bottom: 1px solid var(--gray-100);
}

.mobile-menu a:hover { background: var(--gray-100); }

.mobile-menu .mobile-cta {
  margin-top: 1rem;
  background: var(--red);
  color: white;
  text-align: center;
  border-radius: var(--radius-full);
  border: none;
}

/* ─── HERO SECTION ──────────────────────────── */
.hero {
  min-height: 100vh;
  padding-top: 96px;
  background: var(--navy);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
}

.orb-1 {
  width: 600px; height: 600px;
  background: var(--red);
  top: -200px; right: -100px;
}

.orb-2 {
  width: 400px; height: 400px;
  background: var(--blue-accent);
  bottom: -100px; left: -100px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(230,57,70,0.15);
  border: 1px solid rgba(230,57,70,0.3);
  color: #ff6b7a;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-badge::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: white;
  letter-spacing: -2px;
  margin-bottom: 1.5rem;
}

.hero-title .accent { color: var(--red); }
.hero-title .accent-blue { color: #60a5fa; }

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: white;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: var(--shadow-red);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(230,57,70,0.35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  color: white;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.15);
  cursor: pointer;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 2rem;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: white;
  line-height: 1;
}

.hero-stat-number span { color: var(--red); }

.hero-stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* HERO VISUAL */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-cards-stack {
  position: relative;
  width: 340px;
  height: 420px;
}

.floating-card {
  position: absolute;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  color: white;
  transition: var(--transition);
}

.card-main {
  width: 280px;
  top: 40px; left: 30px;
  background: rgba(255,255,255,0.08);
  animation: float 6s ease-in-out infinite;
}

.card-stat-1 {
  width: 140px;
  top: 0; right: 0;
  background: var(--red);
  border-color: transparent;
  animation: float 6s ease-in-out infinite 1s;
}

.card-stat-2 {
  width: 150px;
  bottom: 20px; left: 0;
  background: rgba(37,99,235,0.8);
  border-color: transparent;
  animation: float 6s ease-in-out infinite 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.card-main-icon {
  width: 48px; height: 48px;
  background: var(--red);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.card-main h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.card-main p {
  font-size: 0.8rem;
  opacity: 0.7;
  line-height: 1.5;
}

.card-big-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}

.card-label {
  font-size: 0.72rem;
  opacity: 0.8;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

/* ─── SECTION COMMONS ───────────────────────── */
section { padding: 6rem 2rem; }

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(230,57,70,0.08);
  color: var(--red);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--navy);
  margin-bottom: 1.25rem;
}

.section-title .accent { color: var(--red); }
.section-title .accent-blue { color: var(--blue-accent); }

.section-subtitle {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.8;
  max-width: 560px;
}

/* ─── WHY US SECTION ────────────────────────── */
.why-us {
  background: var(--off-white);
}

.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.why-us-content .section-subtitle {
  margin-bottom: 2rem;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.feature-item:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.feature-icon {
  width: 44px; height: 44px;
  min-width: 44px;
  background: rgba(230,57,70,0.08);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}

.feature-text h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 3px;
}

.feature-text p {
  font-size: 0.83rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* BENTO GRID */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 1rem;
}

.bento-card {
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: var(--transition);
  cursor: pointer;
}

.bento-card:hover { transform: translateY(-4px); }

.bento-card.blue {
  background: var(--blue-accent);
  color: white;
  grid-row: 1 / 3;
}

.bento-card.red {
  background: var(--red);
  color: white;
}

.bento-card.dark {
  background: var(--navy);
  color: white;
}

.bento-card.light {
  background: var(--gray-100);
  color: var(--navy);
  border: 1px solid var(--gray-200);
}

.bento-icon {
  font-size: 2rem;
}

.bento-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
}

.bento-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
}

.bento-desc {
  font-size: 0.83rem;
  opacity: 0.75;
  line-height: 1.5;
}

/* ─── HOW IT WORKS ──────────────────────────── */
.how-it-works { background: var(--white); }

.steps-header {
  text-align: center;
  margin-bottom: 4rem;
}

.steps-header .section-subtitle {
  margin: 0 auto;
  text-align: center;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--blue-accent));
  z-index: 0;
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 64px; height: 64px;
  background: white;
  border: 3px solid var(--gray-200);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--navy);
  margin: 0 auto 1.25rem;
  transition: var(--transition);
}

.step-card:hover .step-num {
  border-color: var(--red);
  background: var(--red);
  color: white;
  transform: scale(1.1);
}

.step-card h4 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.8rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ─── COURSES ───────────────────────────────── */
.courses { background: var(--navy); overflow: hidden; position: relative; }

.courses::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(230,57,70,0.12) 0%, transparent 70%);
}

.courses-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
  gap: 2rem;
  flex-wrap: wrap;
}

.courses-header .section-title { color: white; }
.courses-header .section-subtitle { color: rgba(255,255,255,0.6); }

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

.course-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.course-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--blue-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.course-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-4px);
}

.course-card:hover::before { transform: scaleX(1); }

.course-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.course-icon.math { background: rgba(37,99,235,0.3); }
.course-icon.science { background: rgba(230,57,70,0.3); }
.course-icon.turkish { background: rgba(245,158,11,0.3); }
.course-icon.social { background: rgba(16,185,129,0.3); }
.course-icon.english { background: rgba(139,92,246,0.3); }
.course-icon.physics { background: rgba(236,72,153,0.3); }

.course-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.course-card p {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.course-meta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.course-tag {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 500;
}

/* ─── PHOTOS SECTION ────────────────────────── */
.photos { background: var(--off-white); }

.photos-header { text-align: center; margin-bottom: 3rem; }
.photos-header .section-subtitle { margin: 0 auto; text-align: center; }

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 260px);
  gap: 1rem;
}

.photo-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.photo-item:nth-child(1) { grid-column: 1 / 2; grid-row: 1 / 3; }
.photo-item:nth-child(4) { grid-column: 2 / 4; grid-row: 2 / 3; }

.photo-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}

.photo-item:hover img { transform: scale(1.05); }

.photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,27,42,0.8) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.photo-item:hover .photo-overlay { opacity: 1; }

.photo-overlay span {
  font-family: var(--font-display);
  font-weight: 700;
  color: white;
  font-size: 1rem;
}

/* PHOTO PLACEHOLDER */
.photo-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.photo-placeholder .ph-icon { font-size: 2.5rem; }

.ph-1 { background: linear-gradient(135deg, #1d3557, #2563eb); color: rgba(255,255,255,0.9); }
.ph-2 { background: linear-gradient(135deg, #e63946, #c1121f); color: rgba(255,255,255,0.9); }
.ph-3 { background: linear-gradient(135deg, #0d1b2a, #1a2d42); color: rgba(255,255,255,0.9); }
.ph-4 { background: linear-gradient(135deg, #243b55, #1d3557); color: rgba(255,255,255,0.9); }
.ph-5 { background: linear-gradient(135deg, #2563eb, #1d4ed8); color: rgba(255,255,255,0.9); }

/* ─── TESTIMONIALS ──────────────────────────── */
.testimonials { background: var(--white); }

.testimonials-header { text-align: center; margin-bottom: 3rem; }
.testimonials-header .section-subtitle { margin: 0 auto; text-align: center; }

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

.testimonial-card {
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 1rem;
  color: var(--gold);
  font-size: 0.9rem;
}

.testimonial-text {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: white;
  flex-shrink: 0;
}

.av-1 { background: linear-gradient(135deg, var(--red), #ff6b7a); }
.av-2 { background: linear-gradient(135deg, var(--blue-accent), #60a5fa); }
.av-3 { background: linear-gradient(135deg, var(--navy), var(--navy-light)); }

.author-info strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
}

.author-info span {
  font-size: 0.78rem;
  color: var(--gray-400);
}

/* ─── CTA SECTION ───────────────────────────── */
.cta-section {
  background: var(--navy);
  text-align: center;
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(230,57,70,0.15) 0%, transparent 70%);
}

.cta-section .section-title { color: white; max-width: 600px; margin: 0 auto 1rem; }
.cta-section .section-subtitle { color: rgba(255,255,255,0.6); margin: 0 auto 2.5rem; text-align: center; }

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ─── FOOTER ────────────────────────────────── */
footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 3rem 2rem 2rem;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 2rem;
}

.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  line-height: 1.7;
  margin: 1rem 0 1.5rem;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.social-btn {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition);
}

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

.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: white;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }

.footer-col a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.875rem;
  transition: var(--transition);
}

.footer-col a:hover { color: white; }

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.footer-contact-item .fc-icon {
  width: 32px; height: 32px;
  background: rgba(230,57,70,0.15);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: rgba(255,255,255,0.3);
  font-size: 0.8rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  font-size: 0.8rem;
  transition: var(--transition);
}

.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* ─── PAGE HEADER ───────────────────────────── */
.page-header {
  background: var(--navy);
  padding: 140px 2rem 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 40px 40px;
}

.page-header .section-badge { position: relative; }

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: white;
  letter-spacing: -1.5px;
  line-height: 1.1;
  position: relative;
  margin-bottom: 1rem;
}

.page-header h1 .accent { color: var(--red); }

.page-header p {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.8;
  position: relative;
}

/* ─── BRANCHES PAGE ─────────────────────────── */
.branches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.branch-card {
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.branch-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: var(--red);
}

.branch-img {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.branch-img-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.5rem;
  color: white;
}

.branch-body { padding: 1.75rem; }

.branch-body h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.branch-body p {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.branch-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.branch-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.83rem;
  color: var(--gray-600);
}

.branch-info-item span:first-child { color: var(--red); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--navy);
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  border: 2px solid var(--navy);
  transition: var(--transition);
  cursor: pointer;
}

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

/* ─── MODULES PAGE ──────────────────────────── */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.module-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.module-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--gray-200);
  transition: var(--transition);
}

.module-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.module-card:hover::before { background: var(--red); }

.module-icon {
  width: 60px; height: 60px;
  border-radius: var(--radius-md);
  background: rgba(230,57,70,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 1.25rem;
}

.module-card h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.module-card p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.module-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.module-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.83rem;
  color: var(--gray-600);
}

.module-feature::before {
  content: '✓';
  color: var(--red);
  font-weight: 700;
  font-size: 0.75rem;
}

/* ─── ABOUT PAGE ────────────────────────────── */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}

.about-visual {
  position: relative;
  height: 420px;
}

.about-img-main {
  position: absolute;
  width: 280px; height: 340px;
  border-radius: var(--radius-xl);
  top: 0; left: 0;
  overflow: hidden;
}

.about-img-secondary {
  position: absolute;
  width: 200px; height: 220px;
  border-radius: var(--radius-lg);
  bottom: 0; right: 0;
  overflow: hidden;
  border: 4px solid white;
  box-shadow: var(--shadow-lg);
}

.about-accent-card {
  position: absolute;
  top: 50%; right: 30px;
  transform: translateY(-50%);
  background: var(--red);
  color: white;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-red);
}

.about-accent-card .big-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
}

.about-accent-card .small-label {
  font-size: 0.72rem;
  opacity: 0.85;
  letter-spacing: 0.5px;
}

.team-section { margin-top: 4rem; }

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

.team-card {
  text-align: center;
  transition: var(--transition);
}

.team-card:hover { transform: translateY(-6px); }

.team-avatar {
  width: 100px; height: 100px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  color: white;
  position: relative;
}

.team-avatar::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--red);
  opacity: 0;
  transition: var(--transition);
}

.team-card:hover .team-avatar::after { opacity: 1; }

.team-card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 3px;
}

.team-card span {
  font-size: 0.8rem;
  color: var(--red);
  font-weight: 500;
}

/* ─── CONTACT PAGE ──────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  margin-top: 3rem;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-info-card {
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: var(--transition);
}

.contact-info-card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-md);
}

.ci-icon {
  width: 48px; height: 48px;
  min-width: 48px;
  background: rgba(230,57,70,0.1);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}

.ci-text strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.ci-text p {
  font-size: 0.9rem;
  color: var(--navy);
  font-weight: 500;
}

.contact-form-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.contact-form-card h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

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

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--navy);
  background: var(--off-white);
  transition: var(--transition);
  outline: none;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  background: white;
  box-shadow: 0 0 0 3px rgba(230,57,70,0.08);
}

.form-group textarea { min-height: 120px; }

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  display: none;
  margin: -0.25rem 0 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.5;
}

.form-status.show { display: block; }

.form-status.success {
  background: rgba(16,185,129,0.12);
  color: #047857;
  border: 1px solid rgba(16,185,129,0.24);
}

.form-status.error {
  background: rgba(230,57,70,0.1);
  color: var(--red-dark);
  border: 1px solid rgba(230,57,70,0.22);
}

.form-submit {
  width: 100%;
  padding: 0.875rem;
  background: var(--red);
  color: white;
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
}

.form-submit:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
}

/* ─── BLOG ──────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.blog-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.blog-img {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.blog-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}

.bi-1 { background: linear-gradient(135deg, var(--navy), var(--blue-accent)); }
.bi-2 { background: linear-gradient(135deg, var(--red-dark), var(--red)); }
.bi-3 { background: linear-gradient(135deg, #0f766e, #0d9488); }
.bi-4 { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.bi-5 { background: linear-gradient(135deg, #b45309, var(--gold)); }
.bi-6 { background: linear-gradient(135deg, var(--navy-mid), var(--navy)); }

.blog-body { padding: 1.5rem; }

.blog-tag {
  display: inline-block;
  background: rgba(230,57,70,0.08);
  color: var(--red);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.blog-body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.blog-body p {
  font-size: 0.82rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.blog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--gray-400);
}

.blog-read-more {
  color: var(--red);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}

.blog-read-more:hover { gap: 8px; }

/* ─── ANIMATIONS ────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* ─── RESPONSIVE ────────────────────────────── */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
  .hero-visual { display: none; }
  .hero-subtitle { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .steps-grid::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .why-us-grid { grid-template-columns: 1fr; }
  .courses-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .photo-item:nth-child(1) { grid-column: 1 / 3; grid-row: auto; height: 220px; }
  .photo-item:nth-child(4) { grid-column: 1 / 3; grid-row: auto; height: 200px; }
  .photo-item { height: 180px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .branches-grid { grid-template-columns: 1fr; }
  .modules-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .about-story { grid-template-columns: 1fr; }
  .about-visual { height: 300px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-grid { grid-template-columns: 1fr 1fr; }
  .bento-card.blue { grid-row: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  section { padding: 4rem 1.25rem; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .hero-stats { gap: 1.25rem; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card.blue { grid-row: auto; }
}

/* ── CURSOR ORB ── */
#cursor-orb {
  position: fixed;
  top: 0; left: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  display: flex; align-items: center; justify-content: center;
  opacity: 1;
}

#cursor-orb .orb-ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(100, 116, 139, 0.4);
  background: transparent;
  transition: transform 0.18s ease, border-color 0.2s ease;
}

#cursor-orb .orb-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #e63946;
  position: relative; z-index: 1;
  transition: transform 0.15s ease;
  box-shadow: 0 0 5px rgba(230,57,70,0.55);
  flex-shrink: 0;
}

#cursor-orb.hovering .orb-ring {
  transform: scale(1.5);
  border-color: rgba(13,27,42,0.45);
}

#cursor-orb.hovering .orb-dot {
  transform: scale(1.25);
}

#cursor-orb.clicking .orb-dot {
  transform: scale(0.65);
}

@media (pointer: coarse) {
  #cursor-orb { display: none; }
}

/* ─── COURSE DETAIL PAGE ────────────────────── */
.course-hero {
  background: var(--navy);
  padding: 140px 2rem 80px;
  position: relative;
  overflow: hidden;
}

.course-hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(230,57,70,0.13) 0%, transparent 65%);
  pointer-events: none;
}

.course-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.course-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.course-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(230,57,70,0.15);
  border: 1px solid rgba(230,57,70,0.3);
  color: #ff6b7a;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.course-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: white;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 1.25rem;
}

.course-hero-title .accent-red { color: var(--red); }

.course-hero-desc {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 2.5rem;
}

.course-hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.course-hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
  line-height: 1;
}

.course-hero-stat span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.course-hero-stat strong .stat-accent { color: var(--red); }

.course-hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* RIGHT CARD */
.course-hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  backdrop-filter: blur(12px);
}

.course-hero-card-title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.5rem;
}

.course-schedule-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.course-schedule-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.course-schedule-item:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(230,57,70,0.3);
}

.course-schedule-item.highlight {
  background: rgba(230,57,70,0.12);
  border-color: rgba(230,57,70,0.4);
}

.schedule-time {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: white;
}

.schedule-time.red { color: var(--red); }

.schedule-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
}

/* FEATURES SECTION */
.course-features-section {
  background: var(--off-white);
  padding: 5rem 2rem;
}

.course-features-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.course-feature-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.course-feature-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--blue-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.course-feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  border-color: transparent;
}

.course-feature-card:hover::after { transform: scaleX(1); }

.cf-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.cf-icon.blue { background: rgba(37,99,235,0.1); }
.cf-icon.red  { background: rgba(230,57,70,0.1); }
.cf-icon.green { background: rgba(16,185,129,0.1); }
.cf-icon.purple { background: rgba(139,92,246,0.1); }
.cf-icon.gold { background: rgba(245,158,11,0.1); }
.cf-icon.dark { background: rgba(13,27,42,0.08); }

.course-feature-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.course-feature-card p {
  font-size: 0.83rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ACADEMIC CALENDAR */
.academic-calendar-section {
  background: white;
  padding: 5rem 2rem;
}

.academic-calendar-section .inner {
  max-width: 1100px;
  margin: 0 auto;
}

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

.calendar-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.calendar-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.calendar-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
}

.calendar-date {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.6rem;
}

.calendar-card h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: white;
  margin-bottom: 0.75rem;
}

.calendar-card p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

/* DISTRIBUTION TABLE */
.distribution-section {
  background: var(--navy);
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}

.distribution-section::before {
  content: '';
  position: absolute;
  top: -150px; left: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(37,99,235,0.1), transparent 70%);
}

.distribution-section .inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

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

.dist-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}

.dist-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(230,57,70,0.3);
}

.dist-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.dist-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.dist-icon.red { background: rgba(230,57,70,0.2); }
.dist-icon.blue { background: rgba(37,99,235,0.2); }

.dist-card-header h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: white;
  font-size: 1rem;
}

.dist-card-header span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

.dist-subjects {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.dist-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.dist-row:last-child { border-bottom: none; }

.dist-subject {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

.dist-count {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  color: white;
  background: rgba(255,255,255,0.08);
  padding: 3px 10px;
  border-radius: 999px;
}

/* TESTIMONIALS for course page */
.course-testimonials {
  background: var(--off-white);
  padding: 5rem 2rem;
}

.course-testimonials .inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* SECTION COMMON */
.cd-section-header {
  text-align: center;
  margin-bottom: 1rem;
}

.cd-section-header .section-badge { display: inline-block; }

.cd-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -1px;
  margin: 0.5rem 0;
}

.cd-section-title.white { color: white; }
.cd-section-title .accent-red { color: var(--red); }
.cd-section-title .accent-blue { color: var(--blue-accent); }

.cd-section-sub {
  font-size: 0.95rem;
  color: var(--gray-600);
  max-width: 520px;
  margin: 0.5rem auto 0;
  line-height: 1.7;
}

.cd-section-sub.white { color: rgba(255,255,255,0.55); }

.full-day-section {
  background: white;
  padding: 5rem 2rem;
}

.full-day-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: center;
}

.subject-day-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.subject-day-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.4rem;
  box-shadow: var(--shadow-sm);
}

.subject-day-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--blue-accent);
  margin-bottom: 0.35rem;
}

.subject-day-card:nth-child(n+5) strong { color: var(--red); }

.subject-day-card span {
  display: block;
  color: var(--gray-500);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.course-hero-card.solid {
  background: var(--navy);
  box-shadow: 0 22px 60px rgba(13,27,42,0.18);
}

.course-directory-section {
  background: var(--off-white);
  padding: 5rem 2rem;
}

.course-directory-group + .course-directory-group { margin-top: 2.5rem; }

.course-directory-group h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1rem;
}

.course-directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.course-directory-grid.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2rem;
}

.course-link-card {
  display: flex;
  min-height: 150px;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem;
  color: var(--navy);
  text-decoration: none;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.course-link-card:hover {
  transform: translateY(-4px);
  border-color: rgba(230,57,70,0.28);
  box-shadow: var(--shadow-lg);
}

.course-link-card span {
  width: fit-content;
  color: var(--red);
  background: rgba(230,57,70,0.1);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.course-link-card strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.2;
}

.course-link-card small {
  color: var(--gray-500);
  font-weight: 700;
}

@media(max-width:900px) {
  .course-hero-inner { grid-template-columns: 1fr; }
  .course-hero-card { max-width: 520px; width: 100%; }
  .full-day-grid { grid-template-columns: 1fr; gap: 2rem; }
  .course-features-grid { grid-template-columns: repeat(2,1fr); }
  .course-directory-grid,
  .course-directory-grid.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calendar-grid { grid-template-columns: repeat(2,1fr); }
  .dist-grid { grid-template-columns: 1fr; }
}

@media(max-width:600px) {
  .course-features-grid { grid-template-columns: 1fr; }
  .subject-day-grid,
  .course-directory-grid,
  .course-directory-grid.compact { grid-template-columns: 1fr; }
  .calendar-grid { grid-template-columns: 1fr; }
  .course-hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  .course-hero { padding: 120px 1rem 56px; }
  .course-hero-card { padding: 1.4rem; }
  .schedule-label { font-size: 0.68rem; text-align: right; }
}

/* Navbar wrapper responsive */
@media(max-width:768px) {
  .navbar-wrapper { padding: 12px 1rem 0; }
  .navbar { height: 58px; padding: 0 1rem 0 1rem; border-radius: 999px; }
}

/* ─── INNER CONTAINER ───────────────────────── */
.inner {
  max-width: 1100px;
  margin: 0 auto;
}
