/* =============================================================================
   TechVinz Pre School — Main Stylesheet
   Theme: Soft Yellow | Premium | Conversion-Focused
   ============================================================================= */

/* ── CSS Custom Properties ───────────────────────────────────────────────────── */
:root {
  /* Yellows */
  --yellow-100: #FFFFF0;
  --yellow-200: #FFF9C4;
  --yellow-300: #FFF176;
  --yellow-400: #FFEE58;
  --yellow-500: #FFD600;
  --yellow-600: #FFC107;
  --yellow-700: #FFB300;
  --yellow-800: #FF8F00;
  --yellow-900: #E65100;

  /* Neutrals */
  --white:       #FFFFFF;
  --bg-body:     #FFFDF5;
  --bg-section:  #FFF8E1;
  --bg-card:     #FFFFFF;
  --text-dark:   #1C1600;
  --text-mid:    #4A3F00;
  --text-light:  #7A6A20;
  --border:      #FFE082;

  /* Accents */
  --accent:      #FF6F00;
  --accent-light:#FFF3E0;
  --green:       #2E7D32;
  --green-light: #E8F5E9;

  /* Semantic */
  --success:     #10B981;
  --error:       #EF4444;
  --info:        #3B82F6;

  /* Shadows */
  --shadow-sm:   0 1px 4px rgba(255,193,7,.15);
  --shadow-md:   0 4px 20px rgba(255,193,7,.20);
  --shadow-lg:   0 12px 48px rgba(255,150,0,.18);
  --shadow-xl:   0 24px 64px rgba(255,150,0,.22);

  /* Spacing */
  --container:   1240px;
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   24px;
  --radius-xl:   40px;

  /* Transitions */
  --ease:        cubic-bezier(.4,0,.2,1);
  --dur-fast:    .18s;
  --dur-mid:     .32s;
  --dur-slow:    .55s;
}

/* ── Reset & Base ─────────────────────────────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Nunito', 'Segoe UI', Arial, sans-serif;
  background: var(--bg-body);
  color: var(--text-dark);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
button { cursor: pointer; border: none; background: none; }

/* ── Typography ──────────────────────────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 {
  font-family: 'Nunito', 'Segoe UI', Arial, sans-serif;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-dark);
}
h1 { font-size: clamp(2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p  { color: var(--text-mid); font-size: 1rem; }

.highlight { color: var(--yellow-800); }
.text-accent { color: var(--accent); }

/* ── Layout Utilities ────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

.section {
  padding-block: clamp(60px, 8vw, 100px);
}

.section-alt {
  background: var(--bg-section);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-header .eyebrow {
  display: inline-block;
  background: var(--yellow-200);
  color: var(--yellow-800);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 12px;
  border: 1px solid var(--border);
}

.section-header h2 { margin-bottom: 16px; }
.section-header p   { font-size: 1.05rem; }

/* ── Buttons ─────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: var(--radius-xl);
  font-weight: 700;
  font-size: .95rem;
  transition: transform var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease),
              background var(--dur-fast) var(--ease);
  white-space: nowrap;
  letter-spacing: .02em;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.12);
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease);
}

.btn:hover::after { opacity: 1; }
.btn:hover        { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn:active       { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--yellow-500) 0%, var(--yellow-800) 100%);
  color: var(--text-dark);
  box-shadow: 0 4px 16px rgba(255,193,7,.35);
}

.btn-secondary {
  background: var(--white);
  color: var(--text-dark);
  border: 2px solid var(--yellow-500);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--yellow-200);
  border-color: var(--yellow-700);
}

.btn-ghost {
  background: rgba(255,255,255,.15);
  color: var(--white);
  border: 2px solid rgba(255,255,255,.45);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  background: rgba(255,255,255,.28);
  border-color: rgba(255,255,255,.7);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 9px 20px;
  font-size: .85rem;
}

/* ── ══════════════════════════════════════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 14px 0;
  transition: background var(--dur-mid) var(--ease),
              padding var(--dur-mid) var(--ease),
              box-shadow var(--dur-mid) var(--ease);
}

.navbar.transparent {
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255,253,245,.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 20px rgba(255,193,7,.18);
  padding: 8px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-logo-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--yellow-500), var(--yellow-800));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 2px 12px rgba(255,193,7,.35);
  flex-shrink: 0;
  transition: transform var(--dur-fast) var(--ease);
}

.nav-logo:hover .nav-logo-icon { transform: rotate(-6deg) scale(1.08); }

.nav-logo-text { line-height: 1.1; }
.nav-logo-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-dark);
  transition: color var(--dur-fast) var(--ease);
}
.nav-logo-tagline {
  font-size: .68rem;
  font-weight: 600;
  color: var(--yellow-800);
  letter-spacing: .04em;
}

.navbar.transparent .nav-logo-name { color: var(--text-dark); }
.navbar.transparent .nav-logo-tagline { color: var(--text-dark); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline-start: auto;
}

.nav-link {
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .9rem;
  color: var(--text-dark);
  transition: background var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%; right: 50%;
  height: 2px;
  background: var(--yellow-600);
  border-radius: 2px;
  transition: left var(--dur-mid) var(--ease), right var(--dur-mid) var(--ease);
}

.nav-link:hover::after, .nav-link.active::after { left: 14px; right: 14px; }

.navbar.transparent .nav-link { color: var(--text-dark); }
.navbar.transparent .nav-link:hover { color: var(--white); }

.nav-link:hover { background: var(--yellow-200); color: var(--yellow-800); }
.navbar.transparent .nav-link:hover { background: rgba(255,255,255,.15); color: var(--text-dark); }

.nav-cta { margin-inline-start: 8px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  margin-inline-start: auto;
  transition: background var(--dur-fast) var(--ease);
}

.nav-toggle:hover { background: var(--yellow-200); }

.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: transform var(--dur-mid) var(--ease), opacity var(--dur-mid) var(--ease);
}

.navbar.transparent .nav-toggle span { background: var(--white); }

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── ══════════════════════════════════════════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  background: linear-gradient(145deg, #FFF9C0 0%, #FFE066 30%, #FFAB00 65%, #FF6F00 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-block: 100px 60px;
}

/* Decorative blobs */
.hero::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(255,255,255,.18) 0%, transparent 70%);
  top: -200px; right: -200px;
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,.14) 0%, transparent 70%);
  bottom: -100px; left: 5%;
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.35);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.55);
  padding: 7px 18px;
  border-radius: 40px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
  animation: fadeSlideUp .7s var(--ease) both;
}

.hero-badge .dot {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero h1 {
  color: var(--text-dark);
  margin-bottom: 16px;
  animation: fadeSlideUp .7s .1s var(--ease) both;
}

.hero h1 .brand { color: var(--white); text-shadow: 0 2px 8px rgba(0,0,0,.15); }

.hero-subtitle {
  font-size: clamp(.95rem, 1.8vw, 1.18rem);
  color: rgba(28,22,0,.80);
  margin-bottom: 32px;
  max-width: 520px;
  line-height: 1.7;
  animation: fadeSlideUp .7s .2s var(--ease) both;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
  animation: fadeSlideUp .7s .3s var(--ease) both;
}

/* ── Search Widget ────────────────────────────────────────────────────────────── */
.search-widget {
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255,255,255,.7);
  animation: fadeSlideUp .7s .4s var(--ease) both;
  max-width: 520px;
}

.search-widget h4 {
  font-size: .88rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--yellow-800);
  margin-bottom: 14px;
}

.search-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.search-field {
  flex: 1;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.search-field label {
  font-size: .75rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.search-field select,
.search-field input {
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text-dark);
  font-size: .9rem;
  font-weight: 600;
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
  appearance: none;
  -webkit-appearance: none;
}

.search-field select:focus,
.search-field input:focus {
  outline: none;
  border-color: var(--yellow-600);
  box-shadow: 0 0 0 3px rgba(255,193,7,.18);
}

.search-btn {
  align-self: flex-end;
}

/* ── Hero Stats ───────────────────────────────────────────────────────────────── */
.hero-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  animation: fadeSlideUp .7s .5s var(--ease) both;
}

.hero-stat {
  text-align: center;
}

.hero-stat-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1;
}

.hero-stat-label {
  font-size: .72rem;
  font-weight: 700;
  color: rgba(28,22,0,.65);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: 3px;
}

/* ── Hero Visual ──────────────────────────────────────────────────────────────── */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeSlideUp .7s .25s var(--ease) both;
}

.hero-img-wrap {
  position: relative;
  width: 100%;
  max-width: 500px;
}

.hero-main-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  object-fit: cover;
  aspect-ratio: 4/3;
}

/* Floating cards on hero image */
.hero-float-card {
  position: absolute;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255,255,255,.8);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: .82rem;
  color: var(--text-dark);
  animation: floatCard 4s ease-in-out infinite;
}

.hero-float-card:nth-child(2) { animation-delay: -2s; }

.hero-float-card .icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.hero-float-card.card-1 { top: -20px; left: -30px; }
.hero-float-card.card-2 { bottom: -16px; right: -24px; }
.hero-float-card.card-1 .icon { background: var(--yellow-200); }
.hero-float-card.card-2 .icon { background: var(--green-light); }

/* Placeholder hero visual (emoji-based, no image required) */
.hero-visual-placeholder {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, rgba(255,255,255,.3) 0%, rgba(255,200,0,.2) 100%);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  border: 2px solid rgba(255,255,255,.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 4rem;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.hero-visual-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.1) 0%, transparent 60%);
}

.hero-emoji-row { display: flex; gap: 20px; font-size: 3rem; position: relative; }

/* ── ══════════════════════════════════════════════════════════════════════════
   STATS BAR
   ══════════════════════════════════════════════════════════════════════════ */
.stats-bar {
  background: var(--text-dark);
  padding: 32px 0;
  overflow: hidden;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 12px 20px;
  border-right: 1px solid rgba(255,255,255,.1);
  position: relative;
}

.stat-item:last-child { border-right: none; }

.stat-num {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--yellow-400), var(--yellow-800));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: .82rem;
  color: rgba(255,255,255,.65);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ── ══════════════════════════════════════════════════════════════════════════
   FEATURES
   ══════════════════════════════════════════════════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform var(--dur-mid) var(--ease),
              box-shadow var(--dur-mid) var(--ease),
              border-color var(--dur-mid) var(--ease);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--yellow-200) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--dur-mid) var(--ease);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--yellow-600);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 60px; height: 60px;
  background: var(--yellow-200);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
  position: relative;
  z-index: 1;
}

.feature-card:hover .feature-icon {
  background: var(--yellow-400);
  transform: scale(1.1) rotate(-4deg);
}

.feature-card h4 {
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.feature-card p {
  font-size: .9rem;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

/* ── ══════════════════════════════════════════════════════════════════════════
   PROGRAMS
   ══════════════════════════════════════════════════════════════════════════ */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.program-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
  transition: transform var(--dur-mid) var(--ease),
              box-shadow var(--dur-mid) var(--ease);
  display: flex;
  flex-direction: column;
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.program-card-top {
  padding: 32px 28px 24px;
  background: linear-gradient(135deg, var(--yellow-200), var(--yellow-300));
  text-align: center;
}

.program-emoji { font-size: 2.8rem; margin-bottom: 12px; }

.program-card-top h3 { font-size: 1.15rem; }

.program-age {
  display: inline-block;
  background: var(--white);
  color: var(--yellow-800);
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  margin-top: 8px;
  border: 1px solid var(--yellow-600);
}

.program-card-body {
  padding: 20px 28px 28px;
  flex: 1;
}

.program-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.program-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  color: var(--text-mid);
}

.program-feature::before {
  content: '✓';
  width: 18px; height: 18px;
  background: var(--yellow-200);
  color: var(--yellow-800);
  border-radius: 50%;
  font-size: .65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── ══════════════════════════════════════════════════════════════════════════
   BRANCHES
   ══════════════════════════════════════════════════════════════════════════ */
.branches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.branch-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-mid) var(--ease),
              box-shadow var(--dur-mid) var(--ease);
  position: relative;
  overflow: hidden;
}

.branch-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--yellow-500), var(--yellow-800));
}

.branch-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.branch-badge {
  display: inline-block;
  background: var(--yellow-200);
  color: var(--yellow-800);
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  border: 1px solid var(--border);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.branch-card h3 {
  font-size: 1.15rem;
  margin-bottom: 16px;
}

.branch-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.branch-info-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .88rem;
  color: var(--text-mid);
}

.branch-info-icon {
  width: 28px; height: 28px;
  background: var(--yellow-200);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.branch-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.branch-btn {
  flex: 1;
  text-align: center;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .82rem;
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}

.branch-btn:hover { transform: translateY(-1px); }

.branch-btn-call {
  background: var(--yellow-200);
  color: var(--yellow-800);
  border: 1px solid var(--border);
}

.branch-btn-call:hover { background: var(--yellow-300); }

.branch-btn-wa {
  background: #25D366;
  color: var(--white);
}

.branch-btn-wa:hover { background: #1da851; }

.branch-btn-map {
  background: var(--accent-light);
  color: var(--accent);
  border: 1px solid rgba(255,111,0,.2);
}

.branch-btn-map:hover { background: rgba(255,111,0,.15); }

/* ── ══════════════════════════════════════════════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════════════════════════════════════════════ */
.testimonials-wrap {
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  gap: 24px;
  transition: transform var(--dur-slow) var(--ease);
}

.testimonial-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  min-width: calc(33.333% - 16px);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.testimonial-stars {
  color: var(--yellow-600);
  font-size: 1rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: .92rem;
  line-height: 1.72;
  color: var(--text-mid);
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--yellow-400), var(--yellow-700));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--white);
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 700;
  font-size: .9rem;
  color: var(--text-dark);
}

.testimonial-meta {
  font-size: .78rem;
  color: var(--text-light);
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}

.tc-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease);
  font-size: 1rem;
  color: var(--text-dark);
}

.tc-btn:hover { background: var(--yellow-200); }

.tc-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.tc-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}

.tc-dot.active {
  background: var(--yellow-600);
  transform: scale(1.3);
}

/* ── ══════════════════════════════════════════════════════════════════════════
   ENQUIRY SECTION
   ══════════════════════════════════════════════════════════════════════════ */
.enquiry-section {
  background: linear-gradient(145deg, #1C1600 0%, #3D2800 100%);
  position: relative;
  overflow: hidden;
}

.enquiry-section::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,193,7,.12) 0%, transparent 70%);
  pointer-events: none;
}

.enquiry-section::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,143,0,.10) 0%, transparent 70%);
  pointer-events: none;
}

.enquiry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
  position: relative;
  z-index: 1;
}

.enquiry-info h2 { color: var(--white); margin-bottom: 16px; }

.enquiry-info p { color: rgba(255,255,255,.72); margin-bottom: 32px; }

.enquiry-benefit-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.enquiry-benefit {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255,255,255,.85);
  font-size: .92rem;
}

.benefit-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,193,7,.15);
  border: 1px solid rgba(255,193,7,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ── Enquiry Form ─────────────────────────────────────────────────────────────── */
.enquiry-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-xl);
}

.enquiry-form-card h3 {
  margin-bottom: 24px;
  font-size: 1.25rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full { grid-column: 1 / -1; }

.form-group label {
  font-size: .8rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.form-group label .req { color: var(--error); margin-left: 2px; }

.form-control {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text-dark);
  font-size: .92rem;
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
  appearance: none;
  -webkit-appearance: none;
}

.form-control:focus {
  outline: none;
  border-color: var(--yellow-600);
  box-shadow: 0 0 0 3px rgba(255,193,7,.18);
}

.form-control.error { border-color: var(--error); }

.form-control::placeholder { color: #BFAE60; }

textarea.form-control { resize: vertical; min-height: 100px; }

.form-submit { margin-top: 6px; }

/* Form Alert */
.form-alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 600;
  display: none;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.form-alert.show { display: flex; }
.form-alert.success { background: var(--green-light); color: var(--green); border: 1px solid rgba(46,125,50,.2); }
.form-alert.error   { background: #FEF2F2; color: var(--error); border: 1px solid rgba(239,68,68,.2); }

/* Spinner */
.btn-loading {
  display: none;
  width: 18px; height: 18px;
  border: 2px solid rgba(28,22,0,.25);
  border-top-color: var(--text-dark);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

/* ── ══════════════════════════════════════════════════════════════════════════
   MAP SECTION
   ══════════════════════════════════════════════════════════════════════════ */
.map-section { background: var(--bg-section); }

.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--border);
}

.map-wrapper iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: none;
}

/* ── ══════════════════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════════════════ */
.footer {
  background: var(--text-dark);
  color: rgba(255,255,255,.8);
  padding-top: clamp(48px, 6vw, 80px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  margin-bottom: clamp(40px, 5vw, 64px);
}

.footer-brand .nav-logo-name { color: var(--white); }
.footer-brand .nav-logo-tagline { color: var(--yellow-400); }

.footer-desc {
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  line-height: 1.72;
  margin: 16px 0 24px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  color: rgba(255,255,255,.7);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
  text-decoration: none;
}

.social-btn:hover {
  background: var(--yellow-600);
  color: var(--text-dark);
  border-color: transparent;
}

.footer-col h5 {
  color: var(--white);
  font-size: .88rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 16px;
  position: relative;
}

.footer-col h5::after {
  content: '';
  display: block;
  width: 28px; height: 2px;
  background: var(--yellow-600);
  border-radius: 2px;
  margin-top: 8px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  transition: color var(--dur-fast) var(--ease), padding-left var(--dur-fast) var(--ease);
}

.footer-link:hover {
  color: var(--yellow-400);
  padding-left: 6px;
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 10px;
  line-height: 1.5;
}

.footer-contact-icon {
  font-size: .9rem;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--yellow-500);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
}

.footer-bottom a { color: var(--yellow-400); }
.footer-bottom a:hover { color: var(--yellow-300); }

/* ── ══════════════════════════════════════════════════════════════════════════
   WHATSAPP FLOATING BUTTON
   ══════════════════════════════════════════════════════════════════════════ */
.wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.wa-btn {
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  text-decoration: none;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
  animation: waAppear .8s 1.5s var(--ease) both;
}

.wa-btn:hover {
  transform: scale(1.1) rotate(8deg);
  box-shadow: 0 8px 28px rgba(37,211,102,.55);
}

.wa-tooltip {
  background: var(--text-dark);
  color: var(--white);
  font-size: .78rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 20px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
  pointer-events: none;
}

.wa-float:hover .wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Pulse ring around WhatsApp button */
.wa-pulse {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,.4);
  animation: waPulse 2.5s ease-out infinite;
  pointer-events: none;
}

/* ── ══════════════════════════════════════════════════════════════════════════
   BACK TO TOP
   ══════════════════════════════════════════════════════════════════════════ */
.back-top {
  position: fixed;
  bottom: 28px; left: 28px;
  z-index: 900;
  width: 44px; height: 44px;
  background: var(--yellow-500);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--dur-mid) var(--ease), transform var(--dur-mid) var(--ease), background var(--dur-fast) var(--ease);
  color: var(--text-dark);
  text-decoration: none;
}

.back-top.visible { opacity: 1; transform: translateY(0); }
.back-top:hover { background: var(--yellow-700); }

/* ── ══════════════════════════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ══════════════════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--dur-slow) var(--ease),
              transform var(--dur-slow) var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}

.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger children */
.stagger-children .feature-card:nth-child(1),
.stagger-children .program-card:nth-child(1),
.stagger-children .branch-card:nth-child(1) { transition-delay: 0s; }
.stagger-children .feature-card:nth-child(2),
.stagger-children .program-card:nth-child(2),
.stagger-children .branch-card:nth-child(2) { transition-delay: .08s; }
.stagger-children .feature-card:nth-child(3),
.stagger-children .program-card:nth-child(3),
.stagger-children .branch-card:nth-child(3) { transition-delay: .16s; }
.stagger-children .feature-card:nth-child(4),
.stagger-children .program-card:nth-child(4),
.stagger-children .branch-card:nth-child(4) { transition-delay: .24s; }
.stagger-children .feature-card:nth-child(5),
.stagger-children .branch-card:nth-child(5) { transition-delay: .32s; }
.stagger-children .feature-card:nth-child(6),
.stagger-children .branch-card:nth-child(6) { transition-delay: .40s; }

/* ── ══════════════════════════════════════════════════════════════════════════
   KEYFRAMES
   ══════════════════════════════════════════════════════════════════════════ */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .6; transform: scale(1.4); }
}

@keyframes waPulse {
  0%   { transform: scale(1); opacity: .7; }
  100% { transform: scale(1.8); opacity: 0; }
}

@keyframes waAppear {
  from { opacity: 0; transform: scale(0.5) rotate(-45deg); }
  to   { opacity: 1; transform: scale(1) rotate(0deg); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes counterUp {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── ══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════════════ */

/* Tablet: ≤ 1024px */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .testimonial-card { min-width: calc(50% - 12px); }
}

/* Mobile-L: ≤ 768px */
@media (max-width: 768px) {
  /* Nav */
  .nav-links { display: none; flex-direction: column; gap: 4px; }
  .nav-links.open {
    display: flex;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: rgba(255,253,245,.97);
    backdrop-filter: blur(16px);
    padding: 20px 24px 32px;
    box-shadow: 0 12px 32px rgba(0,0,0,.12);
    z-index: 999;
    border-bottom: 2px solid var(--border);
    animation: fadeSlideUp .25s var(--ease) both;
  }
  .nav-links.open .nav-cta { margin-top: 12px; }
  .nav-toggle { display: flex; }

  /* Hero */
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-cta-group { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-subtitle { margin-inline: auto; }
  .search-widget { margin-inline: auto; }
  .hero-visual { order: -1; }
  .hero-float-card.card-1 { left: 0; }
  .hero-float-card.card-2 { right: 0; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }

  /* Enquiry */
  .enquiry-grid { grid-template-columns: 1fr; }
  .form-grid    { grid-template-columns: 1fr; }
  .form-group.full { grid-column: 1; }

  /* Testimonials */
  .testimonial-card { min-width: calc(100% - 0px); }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Float buttons */
  .wa-float { bottom: 20px; right: 20px; }
  .back-top  { bottom: 20px; left: 20px; }
}

/* Mobile-S: ≤ 480px */
@media (max-width: 480px) {
  .hero { padding-block: 80px 40px; }
  .hero-cta-group { flex-direction: column; align-items: center; }
  .btn-lg { width: 100%; justify-content: center; }
  .search-row { flex-direction: column; }
  .search-field { min-width: 100%; }
  .branches-grid { grid-template-columns: 1fr; }
  .programs-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
}

/* ── Focus Visibility (Accessibility) ─────────────────────────────────────────── */
:focus-visible {
  outline: 3px solid var(--yellow-600);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
