/* =========================================================
   SPARK LEARNING ACADEMY — style.css
   Mobile-first responsive design | Blue & Yellow theme
   ========================================================= */

/* -------- 1. CSS VARIABLES -------- */
:root {
  --blue:          #2563eb;
  --blue-dark:     #1e40af;
  --blue-light:    #dbeafe;
  --blue-bg:       #eff6ff;
  --yellow:        #f59e0b;
  --yellow-dark:   #d97706;
  --yellow-light:  #fef3c7;
  --green:         #16a34a;
  --whatsapp:      #25d366;
  --white:         #ffffff;
  --gray-50:       #f8faff;
  --gray-100:      #f1f5f9;
  --gray-200:      #e2e8f0;
  --gray-400:      #94a3b8;
  --gray-600:      #475569;
  --gray-900:      #0f172a;

  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  32px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:  0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg:  0 10px 15px rgba(0,0,0,.1), 0 4px 6px rgba(0,0,0,.05);
  --shadow-xl:  0 20px 25px rgba(0,0,0,.12), 0 10px 10px rgba(0,0,0,.05);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition: all 0.3s ease;
  --header-h: 70px;
}

/* -------- 2. RESET -------- */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-900);
  background: var(--white);
  overflow-x: hidden;
}

img  { max-width:100%; height:auto; display:block; }
a    { text-decoration:none; color:inherit; transition:var(--transition); }
ul   { list-style:none; }

/* -------- 3. TYPOGRAPHY HELPERS -------- */
.text--blue       { color: var(--blue); }
.text--light-blue { color: #93c5fd; }

/* -------- 4. LAYOUT -------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section-header   { text-align:center; margin-bottom:3rem; }

.section-tag {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .35rem 1rem;
  border-radius: 100px;
  margin-bottom: .85rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: .85rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 560px;
  margin: 0 auto;
}

/* -------- 5. BUTTONS -------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font);
  font-weight: 600;
  border: none;
  cursor: pointer;
  border-radius: 100px;
  white-space: nowrap;
  transition: var(--transition);
}

.btn--primary  { background:var(--blue); color:var(--white); padding:.75rem 1.75rem; }
.btn--primary:hover  { background:var(--blue-dark); transform:translateY(-2px); box-shadow:0 8px 25px rgba(37,99,235,.4); }

.btn--yellow   { background:var(--yellow); color:var(--white); padding:.75rem 1.75rem; }
.btn--yellow:hover   { background:var(--yellow-dark); transform:translateY(-2px); box-shadow:0 8px 25px rgba(245,158,11,.4); }

.btn--outline  { background:transparent; color:var(--blue); border:2px solid var(--blue); padding:.73rem 1.75rem; }
.btn--outline:hover  { background:var(--blue); color:var(--white); transform:translateY(-2px); }

.btn--whatsapp { background:var(--whatsapp); color:var(--white); padding:.75rem 1.75rem; }
.btn--whatsapp:hover { background:#1ebe57; transform:translateY(-2px); box-shadow:0 8px 25px rgba(37,211,102,.4); }

.btn--sm  { font-size:.875rem; padding:.5rem 1.25rem; }
.btn--lg  { font-size:1.05rem; padding:.9rem 2.25rem; }
.btn--block { width:100%; justify-content:center; }

/* -------- 6. HEADER / NAV -------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition);
}

.header.scrolled { box-shadow: var(--shadow-md); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1.5rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
}

.nav__logo-img {
  height: 44px;
  width: auto;
  max-height: 44px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

.nav__logo-name {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--blue);
  letter-spacing: -.02em;
  line-height: 1.1;
}

.nav__logo-name span {
  color: #ea580c;
}

/* Desktop menu (hidden on mobile) */
.nav__menu {
  display: none;
  gap: .2rem;
  align-items: center;
}

.nav__link {
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-600);
  padding: .4rem .8rem;
  border-radius: var(--radius-sm);
}

.nav__link:hover,
.nav__link.active { color:var(--blue); background:var(--blue-bg); }

/* Mobile-only CTA block inside nav drawer — always hidden by default */
.nav__menu-cta { display: none; }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav__cta { display:none; }

/* Hamburger */
.nav__toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  border-radius: var(--radius-sm);
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--gray-900);
  border-radius: 2px;
  transition: var(--transition);
}

.nav__toggle.open span:nth-child(1) { transform:translateY(7.5px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity:0; transform:scaleX(0); }
.nav__toggle.open span:nth-child(3) { transform:translateY(-7.5px) rotate(-45deg); }

/* Mobile dropdown menu */
.nav__menu.open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  padding: 1rem 1.25rem 1.5rem;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  gap: .15rem;
}

.nav__menu.open .nav__menu-cta {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-top: .75rem;
  padding-top: .75rem;
  border-top: 1px solid var(--gray-200);
}

.nav__menu.open .nav__link {
  display: block;
  padding: .75rem 1rem;
  font-size: 1rem;
  border-radius: var(--radius-sm);
}

/* Backdrop overlay — hidden by default, shown when mobile menu is open */
.nav__backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,.45);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 998;
  opacity: 0;
  transition: opacity .3s ease;
}
.nav__backdrop.open {
  display: block;
  opacity: 1;
}

/* Mobile bottom action bar */
.mobile-bar {
  display: flex;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 900;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  box-shadow: 0 -2px 12px rgba(0,0,0,.08);
  height: 64px;
}
.mobile-bar__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 600;
  color: var(--gray-700);
  gap: .35rem;
  border-right: 1px solid var(--gray-200);
  text-decoration: none;
  transition: var(--transition);
}
.mobile-bar__btn:last-child { border-right: none; }
.mobile-bar__btn--primary {
  background: var(--blue);
  color: var(--white);
}
.mobile-bar__btn--primary:hover { background: var(--blue-dark); color: var(--white); }
.mobile-bar__btn--whatsapp { background: #25d366; color: var(--white); }
.mobile-bar__btn--whatsapp:hover { background: #1ebe5d; color: var(--white); }

/* -------- 7. HERO SECTION -------- */
.hero {
  padding: calc(var(--header-h) + 60px) 0 80px;
  background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 55%, #fffbeb 100%);
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  align-items: center;
}

/* Background decorative shapes */
.hero__shapes { position:absolute; inset:0; pointer-events:none; }

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: .12;
}

.shape--1 { width:500px; height:500px; background:var(--blue);  top:-150px; right:-100px; }
.shape--2 { width:250px; height:250px; background:var(--yellow); bottom:0; left:-80px; }
.shape--3 { width:160px; height:160px; background:var(--blue);  top:38%; left:28%; }

.hero__container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Demo badge */
.hero__badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--yellow), #f97316);
  color: var(--white);
  font-size: .875rem;
  font-weight: 700;
  padding: .5rem 1.25rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(245,158,11,.35);
  animation: badge-pulse 2.5s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% { transform:scale(1); }
  50% { transform:scale(1.04); }
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 1.25rem;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.hero__assurance {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
}

.hero__assurance span {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .875rem;
  color: var(--gray-600);
  font-weight: 500;
}

.hero__assurance i { color:var(--green); }

/* Hero visual / dashboard card */
.hero__visual {
  display: flex;
  justify-content: center;
}

.hero__card-wrap {
  position: relative;
  width: 100%;
  max-width: 400px;
  padding: 2rem 1rem 1rem;
}

/* Floating achievement badges */
.float-badge {
  position: absolute;
  top: 0; left: -10px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: .55rem 1rem;
  font-size: .78rem;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: .4rem;
  animation: float 3.5s ease-in-out infinite;
  z-index: 2;
}

.float-badge--yellow { color:var(--yellow-dark); }
.float-badge--yellow i { color:var(--yellow); }
.float-badge--green  { top:auto; bottom:20px; left:-10px; color:var(--green); animation-delay:.8s; }
.float-badge--green i { color:var(--green); }
.float-badge--blue   { color:var(--blue); animation-delay:1.6s; }
.float-badge--blue i { color:var(--blue); }
.float-badge--right  { left:auto; right:-10px; top:10px; }

@keyframes float {
  0%,100% { transform:translateY(0); }
  50% { transform:translateY(-8px); }
}

/* Inner dashboard card */
.hero__dashboard {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
}

.hd__header {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.25rem;
}

.hd__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.hd__dot--red    { background:#f87171; }
.hd__dot--yellow { background:var(--yellow); }
.hd__dot--green  { background:var(--green); }

.hd__title {
  font-size: .8rem;
  font-weight: 700;
  color: var(--gray-600);
  margin-left: .25rem;
}

.hd__avatars {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin-bottom: 1.25rem;
}

.hd__av {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--c, #dbeafe);
  color: var(--t, #2563eb);
  font-size: .8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
  box-shadow: var(--shadow-sm);
}

.hd__av--more {
  background: var(--gray-100);
  color: var(--gray-600);
  font-size: .65rem;
  font-weight: 700;
}

.hd__bars { display:flex; flex-direction:column; gap:.65rem; margin-bottom:1.25rem; }

.hd__bar-row {
  display: grid;
  grid-template-columns: 50px 1fr 32px;
  align-items: center;
  gap: .6rem;
  font-size: .75rem;
  font-weight: 600;
  color: var(--gray-600);
}

.hd__track {
  height: 8px;
  background: var(--gray-100);
  border-radius: 100px;
  overflow: hidden;
}

.hd__fill {
  height: 100%;
  border-radius: 100px;
  transition: width 1s ease;
}

.hd__footer {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: .5rem;
  border-top: 1px solid var(--gray-200);
  padding-top: 1rem;
  text-align: center;
}

.hd__stat { display:flex; flex-direction:column; gap:.15rem; }
.hd__stat-num {
  font-size: 1rem;
  font-weight: 800;
  color: var(--gray-900);
}
.hd__stat span:last-child {
  font-size: .65rem;
  color: var(--gray-400);
  font-weight: 500;
}

/* -------- 8. STATS BAR -------- */
.stats {
  background: var(--blue);
  padding: 3rem 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 2rem;
}

.stats__item { text-align:center; color:var(--white); }

.stats__icon  { font-size:2rem; margin-bottom:.5rem; }

.stats__num {
  font-size: clamp(1.6rem,3.5vw,2.4rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: .35rem;
}

.stats__label {
  font-size: .875rem;
  color: rgba(255,255,255,.8);
  font-weight: 500;
}

/* -------- 9. FEATURES (WHY CHOOSE US) -------- */
.features {
  padding: 6rem 0;
  background: var(--gray-50);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px,1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-card__icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .45rem;
}

.feature-card p {
  font-size: .9rem;
  color: var(--gray-600);
  line-height: 1.65;
}

/* -------- 10. COURSES -------- */
.courses {
  padding: 6rem 0;
  background: var(--white);
}

.courses__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 860px;
  margin: 0 auto;
}

.course-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--gray-200);
  transition: var(--transition);
}

.course-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-xl); }
.course-card--blue   { border-color:var(--blue); }
.course-card--yellow { border-color:var(--yellow); }

.cc__badge {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  padding: .3rem .9rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.cc__badge--blue   { background:var(--blue);   color:var(--white); }
.cc__badge--yellow { background:var(--yellow); color:var(--white); }

.cc__icon {
  width: 60px; height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1rem;
}
.cc__icon--blue   { background:var(--blue-light); color:var(--blue); }
.cc__icon--yellow { background:var(--yellow-light); color:var(--yellow-dark); }

.course-card h3  { font-size:1.4rem; font-weight:800; margin-bottom:.75rem; }
.course-card p   { color:var(--gray-600); margin-bottom:1.25rem; }

.cc__boards {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.25rem;
}

.cc__boards span {
  background: var(--blue-bg);
  color: var(--blue);
  font-size: .72rem;
  font-weight: 700;
  padding: .25rem .75rem;
  border-radius: 100px;
  border: 1px solid var(--blue-light);
}

.cc__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px,1fr));
  gap: .45rem;
  margin-bottom: 1.75rem;
}

.cc__list li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .9rem;
  color: var(--gray-600);
}

.cc__list li i { color:var(--green); font-size:.75rem; }

/* -------- 11. AI FEATURE -------- */
.ai-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  position: relative;
  overflow: hidden;
}

.ai-section::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(37,99,235,.25) 0%, transparent 70%);
  top: -250px; right: -150px;
  border-radius: 50%;
}

.ai-section__wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.ai-tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(245,158,11,.18);
  color: var(--yellow);
  border: 1px solid rgba(245,158,11,.3);
  font-size: .75rem;
  font-weight: 700;
  padding: .4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.ai-section__content h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.ai-section__content > p {
  color: rgba(255,255,255,.7);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.ai-points { display:flex; flex-direction:column; gap:1.25rem; margin-bottom:2.5rem; }

.ai-point {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.ai-point__icon {
  width: 44px; height: 44px;
  min-width: 44px;
  background: rgba(37,99,235,.3);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #93c5fd;
  font-size: 1.1rem;
}

.ai-point h4 { font-size:1rem; font-weight:700; color:var(--white); margin-bottom:.2rem; }
.ai-point p  { font-size:.875rem; color:rgba(255,255,255,.6); margin:0; }

.ai-notify p {
  color: rgba(255,255,255,.8);
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: .75rem;
}

.ai-notify i { color:var(--yellow); margin-right:.25rem; }

.ai-notify__form {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}

.ai-notify__input {
  flex: 1;
  min-width: 200px;
  padding: .75rem 1.25rem;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.1);
  color: var(--white);
  font-family: var(--font);
  font-size: .9rem;
  outline: none;
  transition: var(--transition);
}

.ai-notify__input::placeholder { color:rgba(255,255,255,.45); }
.ai-notify__input:focus { border-color:rgba(255,255,255,.5); background:rgba(255,255,255,.15); }
.ai-notify__input.input-error { border-color:#f87171; }

/* AI visual dashboard */
.ai-section__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.ai-dash {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  width: 100%;
  max-width: 360px;
}

.ai-dash__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  color: var(--white);
  font-weight: 600;
  font-size: .9rem;
}

.ai-badge {
  background: rgba(245,158,11,.2);
  color: var(--yellow);
  font-size: .7rem;
  font-weight: 700;
  padding: .2rem .6rem;
  border-radius: 100px;
  border: 1px solid rgba(245,158,11,.3);
}

.ai-dash__chart {
  display: flex;
  align-items: flex-end;
  gap: .5rem;
  height: 130px;
  padding-bottom: .25rem;
  margin-bottom: 1.25rem;
}

.ai-bar {
  flex: 1;
  height: var(--h, 70%);
  background: linear-gradient(to top, var(--blue), #60a5fa);
  border-radius: 6px 6px 0 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: .3rem;
  font-size: .58rem;
  color: rgba(255,255,255,.9);
  text-align: center;
  line-height: 1.3;
}

.ai-bar--yellow { background:linear-gradient(to top, var(--yellow-dark), var(--yellow)); }

.ai-dash__stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: .75rem;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.25rem;
}

.ai-dstat {
  text-align: center;
  color: rgba(255,255,255,.65);
  font-size: .72rem;
}

.ai-dstat__n {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: .15rem;
}

/* -------- 12. HIGHLIGHTS -------- */
.highlights {
  padding: 4rem 0;
  background: var(--yellow);
}

.highlights__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(165px,1fr));
  gap: 2rem;
  text-align: center;
}

.hl-item { color:var(--white); }

.hl-item__icon {
  width: 56px; height: 56px;
  background: rgba(255,255,255,.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin: 0 auto 1rem;
}

.hl-item h4 { font-size:1rem; font-weight:700; margin-bottom:.4rem; }
.hl-item p  { font-size:.85rem; opacity:.92; }

/* -------- 13. REVIEWS / SLIDER -------- */
.reviews {
  padding: 6rem 0;
  background: var(--gray-50);
}

.slider-wrapper { position:relative; overflow:hidden; }

.slider {
  display: flex;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

.slide { min-width:100%; padding:0 .25rem; }

.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  max-width: 720px;
  margin: 0 auto;
}

.rc__stars {
  color: var(--yellow);
  font-size: 1.35rem;
  letter-spacing: .1em;
  margin-bottom: 1.1rem;
}

.rc__text {
  font-size: 1.03rem;
  line-height: 1.8;
  color: var(--gray-600);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.rc__author { display:flex; align-items:center; gap:1rem; }

.rc__av {
  width: 50px; height: 50px;
  min-width: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
}

.rc__author strong { display:block; font-size:1rem; color:var(--gray-900); margin-bottom:.15rem; }
.rc__author span   { font-size:.85rem; color:var(--gray-400); }

.slider__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.slider__btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid var(--blue);
  background: var(--white);
  color: var(--blue);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
}

.slider__btn:hover { background:var(--blue); color:var(--white); }

.slider__dots { display:flex; gap:.5rem; align-items:center; }

.slider__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gray-200);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.slider__dot.active { background:var(--blue); transform:scale(1.4); }

/* -------- 14. CONTACT -------- */
.contact {
  padding: 6rem 0;
  background: var(--white);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.contact__demo-banner {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.contact__demo-banner i { font-size:2rem; color:var(--yellow); min-width:28px; }
.contact__demo-banner h3 { font-size:1.1rem; font-weight:700; margin-bottom:.3rem; }
.contact__demo-banner p  { font-size:.9rem; opacity:.9; }

.contact__details { display:flex; flex-direction:column; gap:1.25rem; margin-bottom:2rem; }

.contact__item { display:flex; gap:1rem; align-items:flex-start; }

.contact__item-icon {
  width: 44px; height: 44px;
  min-width: 44px;
  background: var(--blue-bg);
  border-radius: var(--radius-sm);
  display: flex; align-items:center; justify-content:center;
  color: var(--blue);
  font-size: 1rem;
}

.contact__item h4 {
  font-size: .78rem;
  font-weight: 700;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .25rem;
}

.contact__item a { color:var(--gray-900); font-weight:500; }
.contact__item a:hover { color:var(--blue); }
.contact__item p { color:var(--gray-600); font-size:.9rem; }

.contact__cta-btns { display:flex; gap:1rem; flex-wrap:wrap; }

.map-wrap { border-radius:var(--radius-md); overflow:hidden; box-shadow:var(--shadow-md); }

.map-directions-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: .85rem;
  color: var(--blue);
  font-weight: 600;
  font-size: .9rem;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}

.map-directions-link:hover { border-bottom-color:var(--blue); }

/* -------- 15. CAREERS -------- */
.careers {
  padding: 6rem 0;
  background: var(--gray-50);
}

.careers__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px,1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.career-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.career-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-lg); border-color:var(--blue); }

.career-card__icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  display: flex; align-items:center; justify-content:center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.career-card h3 { font-size:1.1rem; font-weight:700; margin-bottom:.5rem; }
.career-card p  { font-size:.9rem; color:var(--gray-600); margin-bottom:1rem; }

.career-card__tags { display:flex; gap:.5rem; flex-wrap:wrap; margin-bottom:1.25rem; }

.career-card__tags span {
  font-size: .72rem;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-bg);
  border: 1px solid var(--blue-light);
  padding: .2rem .6rem;
  border-radius: 100px;
}

.careers__cta {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  box-shadow: var(--shadow-md);
}

.careers__cta p { color:var(--gray-600); font-size:1.05rem; margin-bottom:1.25rem; }

/* -------- 16. FOOTER -------- */
.footer {
  background: var(--gray-900);
  color: rgba(255,255,255,.7);
  padding: 4rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1rem;
  text-decoration: none;
}

.footer__logo-img {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer__logo-name {
  font-size: 1.15rem;
  font-weight: 900;
  color: #93c5fd;
  letter-spacing: -.02em;
}

.footer__logo-name span {
  color: #fdba74;
}

.footer__brand p {
  font-size: .875rem;
  line-height: 1.75;
  color: rgba(255,255,255,.55);
  max-width: 280px;
  margin-bottom: 1.25rem;
}

.footer__social { display:flex; gap:.75rem; }

.footer__social a {
  width: 40px; height: 40px;
  background: rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
  display: flex; align-items:center; justify-content:center;
  color: rgba(255,255,255,.65);
  transition: var(--transition);
  font-size: 1rem;
}

.footer__social a:hover { background:var(--blue); color:var(--white); transform:translateY(-2px); }

.footer__links h4,
.footer__contact-col h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer__links ul { display:flex; flex-direction:column; gap:.5rem; }

.footer__links a {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  transition: var(--transition);
}

.footer__links a:hover { color:var(--white); padding-left:4px; }

.footer__contact-item {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  margin-bottom: .9rem;
}

.footer__contact-item i { color:var(--blue); font-size:.95rem; margin-top:.2rem; min-width:14px; }

.footer__contact-item a,
.footer__contact-item p {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  line-height: 1.6;
}

.footer__contact-item a:hover { color:var(--white); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  text-align: center;
}

.footer__bottom p { font-size:.85rem; color:rgba(255,255,255,.4); }

/* -------- 17. SCROLL TO TOP -------- */
.scroll-top {
  position: fixed;
  bottom: 1.75rem;
  right: 1.25rem;
  width: 44px; height: 44px;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items:center; justify-content:center;
  font-size: 1rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(16px);
  transition: var(--transition);
  z-index: 900;
}

.scroll-top.visible  { opacity:1; transform:translateY(0); }
.scroll-top:hover    { background:var(--blue-dark); transform:translateY(-3px); }

/* -------- 18. ANIMATION HELPER -------- */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}

.fade-in.visible { opacity:1; transform:translateY(0); }

/* =========================================================
   RESPONSIVE BREAKPOINTS — mobile first
   ========================================================= */

/* — Mobile logo fix (< 480px) — */
@media (max-width: 479px) {
  .nav__logo-img {
    height: 36px;
    max-height: 36px;
    width: 36px;
  }
  .nav__logo-name {
    font-size: 1rem;
  }
}

/* — Tablet narrow (≥ 580px) — */
@media (min-width: 580px) {
  .stats__grid         { grid-template-columns: repeat(4,1fr); }
  .courses__grid       { grid-template-columns: repeat(2,1fr); }
  .contact__cta-btns   { flex-wrap:nowrap; }
  .nav__cta            { display:inline-flex; }
}

/* — Tablet (≥ 768px) — */
@media (min-width: 768px) {
  .hero { min-height: auto; padding: calc(var(--header-h) + 80px) 0 100px; }
  .hero__container     { grid-template-columns: 1fr 1fr; }

  .ai-section__wrap    { grid-template-columns: 1fr 1fr; align-items:center; }

  .contact__grid       { grid-template-columns: 1fr 1fr; }

  .footer__grid        { grid-template-columns: repeat(2,1fr); }
  .footer__bottom      { flex-direction:row; justify-content:space-between; text-align:left; }

  .map-wrap iframe     { height:380px; }
}

/* — Desktop (≥ 1024px) — */
@media (min-width: 1024px) {
  .nav__menu {
    display: flex;
    flex-direction: row;
    position: static;
    background: none;
    border: none;
    padding: 0;
    box-shadow: none;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: none;
    gap: .2rem;
    align-items: center;
  }
  .nav__menu-cta   { display: none !important; }
  .nav__toggle     { display: none; }
  .nav__backdrop   { display: none !important; }
  .mobile-bar      { display: none; }
  .nav__cta        { display: inline-flex; }
  /* restore desktop link padding */
  .nav__link { padding: .4rem .8rem; }
  .nav__link:hover,
  .nav__link.active { padding-left: .8rem; }

  .footer__grid        { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
  .map-wrap iframe     { height:430px; }
}

/* add bottom-bar safe-area padding to hero and footer on mobile */
@media (max-width: 1023px) {
  body { padding-bottom: 64px; }
  .scroll-top { bottom: 5rem; }
}

/* — Large Desktop (≥ 1200px) — */
@media (min-width: 1200px) {
  .container { padding:0 2rem; }
}
