/*
Theme Name: English Hello Child
Theme URI:
Description: Child theme for Hello Elementor - English Landing Page
Author: Your Name
Template: hello-elementor
Version: 1.0.0
Text Domain: english-hello-child
*/

/* ===== CSS Variables ===== */
:root {
  --ink:          #0f0e0c;
  --cream:        #f5f0e8;
  --warm:         #f0e8d8;
  --gold:         #c9a84c;
  --gold-light:   #e8c96e;
  --muted:        #7a7060;
  --accent:       #2b4a3f;
  --accent-light: #3d6b5e;
  --sand:         #d4c9b0;
}

/* ===== Global Reset ===== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Manrope', sans-serif;
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
}

/* ===== Google Fonts loaded via functions.php ===== */

/* ===== Elementor overrides ===== */
.elementor-section.elementor-section-full_width .elementor-container {
  max-width: 100%;
}

/* ===== Utility classes used by Elementor custom CSS ===== */

/* HERO */
.section-hero {
  background: var(--ink);
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.section-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(201,168,76,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(43,74,63,0.3) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.section-hero .elementor-container {
  position: relative;
  z-index: 1;
}

/* STATS BAR */
.section-stats {
  background: var(--accent);
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  color: var(--gold-light);
  display: block;
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.6);
  margin-top: 6px;
  display: block;
}

/* WHY SECTION */
.section-why {
  background: var(--cream);
}

.why-card {
  background: var(--warm);
  border: 1px solid var(--sand);
  border-radius: 20px;
  padding: 36px;
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.1);
}

/* PATHS SECTION */
.section-paths {
  background: var(--ink);
}

.path-card {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 40px 32px;
  transition: border-color 0.3s, transform 0.3s, background 0.3s;
  height: 100%;
}

.path-card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  background: rgba(255,255,255,0.04);
}

/* EXAM SECTION */
.section-exam {
  background: var(--warm);
}

.badge-exam {
  display: inline-block;
  background: var(--ink);
  color: var(--cream);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 10px 20px;
  border-radius: 100px;
  margin: 4px;
}

.exam-unique-box {
  background: var(--ink);
  border-radius: 16px;
  padding: 28px 32px;
  margin-top: 28px;
}

/* HOW IT WORKS */
.section-how {
  background: var(--cream);
}

.step-card {
  border-top: 2px solid var(--gold);
  padding-top: 24px;
}

.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: rgba(201,168,76,0.25);
  line-height: 1;
  display: block;
  margin-bottom: 12px;
}

/* FORMATS SECTION */
.section-formats {
  background: var(--accent);
}

.format-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  padding: 32px 28px;
  transition: background 0.3s, transform 0.3s;
  height: 100%;
}

.format-card:hover {
  background: rgba(255,255,255,0.11);
  transform: translateY(-4px);
}

/* TRIAL SECTION */
.section-trial {
  background: var(--warm);
}

.trial-quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  font-style: italic;
  line-height: 1.55;
  color: var(--ink);
  border-left: 3px solid var(--gold);
  padding-left: 28px;
  margin: 32px 0;
}

/* CTA SECTION */
.section-cta {
  background: var(--ink);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.section-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 100%, rgba(201,168,76,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 20%, rgba(43,74,63,0.25) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.section-cta .elementor-container {
  position: relative;
  z-index: 1;
}

.cta-closed-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  padding: 8px 20px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: rgba(245,240,232,0.5);
  text-transform: uppercase;
  margin-bottom: 24px;
}

/* Buttons */
.btn-gold {
  display: inline-block;
  background: var(--gold);
  color: var(--ink) !important;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  padding: 18px 48px;
  border-radius: 100px;
  text-decoration: none !important;
  transition: background 0.25s, transform 0.2s;
  border: none;
  cursor: pointer;
}

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

.btn-outline-light {
  display: inline-block;
  background: transparent;
  color: var(--cream) !important;
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  padding: 18px 48px;
  border-radius: 100px;
  text-decoration: none !important;
  border: 1px solid rgba(245,240,232,0.3);
  transition: border-color 0.25s, color 0.25s, transform 0.2s;
  cursor: pointer;
}

.btn-outline-light:hover {
  border-color: var(--gold);
  color: var(--gold) !important;
  transform: translateY(-2px);
}

/* Section labels */
.section-label-tag {
  display: block;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

/* Gold divider */
.gold-divider {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 20px 0;
}

/* Reveal animation */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Pulse dot */
.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #e05a4e;
  border-radius: 50%;
  animation: pulseDot 2s infinite;
  vertical-align: middle;
  margin-right: 6px;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(1.5); }
}

/* Responsive helpers */
@media (max-width: 768px) {
  .stat-num   { font-size: 1.8rem; }
  .trial-quote { font-size: 1.1rem; }
}
