/* ============================================================
   RMJ Academy v2 — Site Styles
   ============================================================ */

:root {
  --navy:   #0f2d4a;
  --navy2:  #1a3f63;
  --accent: #e85d04;
  --accent2:#ff7b24;
  --light:  #f4f7fb;
  --text:   #1c2d3f;
  --muted:  #6c7a8d;
  --white:  #ffffff;
  --radius: 12px;
}

* { box-sizing: border-box; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: var(--white);
  padding-top: 56px; /* navbar height */
}

/* ── Navbar ─────────────────────────────────────────────── */
.v2-navbar {
  background: rgba(15, 45, 74, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 0.6rem 0;
}

.v2-navbar .navbar-toggler {
  border-color: rgba(255,255,255,0.3);
}

.v2-navbar .navbar-toggler-icon {
  filter: invert(1);
}

.brand-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.96);
  box-shadow: 0 10px 22px rgba(0,0,0,0.16);
}

.brand-icon-sm { width: 34px; height: 34px; }

.brand-logo-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-text {
  color: var(--white);
  font-size: 1rem;
  font-weight: 500;
}

.v2-navbar .nav-link {
  color: rgba(255,255,255,0.8);
  font-size: 0.875rem;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  transition: all 0.2s;
}

.v2-navbar .nav-link:hover { color: var(--white); background: rgba(255,255,255,0.08); }

.btn-accent {
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.45rem 1.1rem;
  transition: background 0.2s, transform 0.15s;
}

.btn-accent:hover { background: var(--accent2); color: var(--white); transform: translateY(-1px); }

/* ── Hero ────────────────────────────────────────────────── */
.v2-hero {
  position: relative;
  background: url('/v2/assets/images/vg-blue-orange-16_9.png') center center / cover no-repeat;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 5rem 0 4rem;
}

.v2-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 25, 47, 0.62);
  z-index: 0;
}

.v2-hero-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.v2-hero-orbs span {
  position: absolute;
  border-radius: 50%;
  opacity: 0.07;
  background: var(--accent);
}

.orb1 { width: 480px; height: 480px; right: -120px; top: -80px; }
.orb2 { width: 280px; height: 280px; right: 180px; bottom: -60px; background: #fff; }
.orb3 { width: 160px; height: 160px; left: 60px; top: 30px; opacity: 0.05; }

.v2-hero .container,
.v2-program-hero .container,
.v2-hero-content,
.v2-program-hero-content {
  position: relative;
  z-index: 2;
}

.hero-particle-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-particle-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-eyebrow {
  display: inline-block;
  background: rgba(232,93,4,0.18);
  color: var(--accent2);
  border: 1px solid rgba(232,93,4,0.3);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  margin-bottom: 1.25rem;
}

.v2-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.v2-hero h1 .accent { color: var(--accent2); }

.v2-hero .lead {
  color: rgba(255,255,255,0.72);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 2rem;
}

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

.btn-hero-primary {
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 2rem;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}

.btn-hero-primary:hover { background: var(--accent2); color: var(--white); transform: translateY(-2px); }

.btn-hero-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 10px;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.75rem 2rem;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}

.btn-hero-outline:hover { border-color: rgba(255,255,255,0.7); color: var(--white); background: rgba(255,255,255,0.06); }

.btn-hero-secondary {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.24);
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 2rem;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
  backdrop-filter: blur(8px);
}

.btn-hero-secondary:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.42);
  color: var(--white);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.hero-stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

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

/* Hero badge card */
.hero-badge-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  color: var(--white);
}

.hero-badge-card .hbc-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(232,93,4,0.2);
  color: var(--accent2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.hero-badge-card h5 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.25rem; }
.hero-badge-card p  { font-size: 0.8rem; color: rgba(255,255,255,0.55); margin: 0; }

/* ── Section shared ─────────────────────────────────────── */
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.section-lead {
  color: var(--muted);
  font-size: 1rem;
  max-width: 600px;
  line-height: 1.7;
}

/* ── Features ───────────────────────────────────────────── */
.v2-features { background: var(--light); padding: 5rem 0; }

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  height: 100%;
  border: 1px solid rgba(15,45,74,0.07);
  transition: box-shadow 0.25s, transform 0.25s;
}

.feature-card:hover { box-shadow: 0 8px 32px rgba(15,45,74,0.10); transform: translateY(-4px); }

.feature-icon {
  width: 52px; height: 52px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--navy), var(--navy2));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.1rem;
}

.feature-card h5 { font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--navy); }
.feature-card p  { font-size: 0.875rem; color: var(--muted); line-height: 1.65; margin: 0; }

/* ── Programs ───────────────────────────────────────────── */
.v2-programs { padding: 5rem 0; background: var(--white); }

.program-card {
  border-radius: var(--radius);
  border: 1px solid rgba(15,45,74,0.1);
  overflow: hidden;
  background: var(--white);
  transition: box-shadow 0.25s, transform 0.25s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.program-card:hover { box-shadow: 0 10px 40px rgba(15,45,74,0.12); transform: translateY(-4px); }

.program-card-banner {
  height: 180px;
  background: linear-gradient(135deg, var(--navy) 0%, #1a3f63 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
}

.program-card-banner img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.program-card-banner-inner { position: relative; z-index: 1; }

.program-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.program-card-banner h5 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.35;
}

.program-card-body { padding: 1.4rem; flex: 1; display: flex; flex-direction: column; }

.program-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.program-meta-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.program-meta-item i { color: var(--accent); font-size: 0.75rem; }

.program-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.program-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(15,45,74,0.07);
  padding-top: 1rem;
}

.program-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
}

.program-price span {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--muted);
}

/* ── CTA Banner ─────────────────────────────────────────── */
.v2-cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #0a1f38 100%);
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}

.v2-cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 90% 50%, rgba(232,93,4,0.15) 0%, transparent 70%);
}

/* ── Program Detail ─────────────────────────────────────── */
.v2-program-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0a1f38 100%);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.v2-program-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 70% at 90% 30%, rgba(232,93,4,0.2) 0%, transparent 70%);
  z-index: 0;
}

.hero-background-media {
  z-index: 0;
}

.trainer-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 1.75rem;
  color: var(--white);
}

.trainer-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem;
  color: var(--white);
  overflow: hidden;
  flex-shrink: 0;
}

.trainer-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* Highlights & who-should-join list */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(15,45,74,0.06);
  font-size: 0.9rem;
  color: var(--text);
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--accent);
  font-size: 0.75rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.who-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.who-list li {
  background: var(--light);
  border: 1px solid rgba(15,45,74,0.1);
  border-radius: 8px;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--navy);
}

/* ── Enrolment form ─────────────────────────────────────── */
.v2-enrol { padding: 4rem 0; background: var(--light); }

.enrol-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 4px 32px rgba(15,45,74,0.09);
  overflow: hidden;
}

.enrol-card-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%);
  color: var(--white);
  padding: 2rem 2rem 1.5rem;
}

.enrol-card-body { padding: 2rem; }

.payment-box {
  background: var(--light);
  border: 1px solid rgba(15,45,74,0.1);
  border-radius: 12px;
  padding: 1.5rem;
}

.payment-box h6 { color: var(--navy); font-weight: 600; margin-bottom: 0.75rem; }

/* ── Footer ─────────────────────────────────────────────── */
.v2-footer {
  background: var(--navy);
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.07);
}

/* ── Utilities ───────────────────────────────────────────── */
.text-accent { color: var(--accent) !important; }
.bg-navy     { background-color: var(--navy) !important; }

.v2-divider {
  height: 3px;
  width: 48px;
  background: var(--accent);
  border-radius: 3px;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  body { padding-top: 60px; }
  .v2-hero { min-height: auto; padding: 4rem 0 3rem; }
  .hero-stats { gap: 1.5rem; }
}
