/* FunLida design system - reproduces the original hero composition.
   Values taken directly from the source design file. */

/* ---------- HERO SECTION ---------- */
.fl-hero {
  background: linear-gradient(120deg, #FFFFFF 0%, #FDF1F4 52%, #FBE3EC 100%) !important;
  min-height: auto;
  position: relative;
  overflow: hidden;
}
/* Children live in .e-con-inner, so force the flex row HERE. */
.fl-hero > .e-con-inner {
  max-width: 1340px;
  margin: 0 auto;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 40px;
  padding: 28px 20px 24px;
  align-content: center;
}
.fl-hero-copy {
  flex: 1 1 480px !important;
  min-width: 300px;
  max-width: 600px;
}
.fl-hero-art {
  flex: 0 1 440px !important;
}

/* Two-tone H1 */
.fl-hero-title .elementor-heading-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(34px, 4.6vw, 54px) !important;
  line-height: 1.03 !important;
  font-weight: 800;
  color: #2B2B2B;
}
.fl-hero-title .fl-accent { color: #E4487A; }

.fl-hero-sub .elementor-widget-container p {
  font-size: clamp(15px, 1.25vw, 17px) !important;
  color: #6B5560;
  line-height: 1.55 !important;
  max-width: 430px;
  margin: 18px 0 0;
}

/* ---------- CHECK TILES (2x2) ---------- */
.fl-checks {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 16px 26px;
  max-width: 470px;
  margin: 24px 0 26px;
}
.fl-check .elementor-icon-box-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}
.fl-check .elementor-icon-box-icon { margin: 0 !important; flex: none; }
.fl-check .elementor-icon {
  width: 42px; height: 42px;
  border-radius: 12px !important;
  background: #FDE7EE !important;
  color: #E4487A !important;
  display: inline-flex;
  align-items: center; justify-content: center;
  font-size: 22px;
}
.fl-check .elementor-icon-box-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #2B2B2B;
  margin: 0;
}
.fl-check .elementor-icon-box-description { display: none; }

/* ---------- HERO BUTTONS ---------- */
/* kill any default wrapper background causing a halo */
.fl-btn-primary, .fl-btn-secondary, .fl-btn-square { background: transparent !important; box-shadow: none !important; }
.fl-btn-primary .elementor-widget-container,
.fl-btn-secondary .elementor-widget-container,
.fl-btn-square .elementor-widget-container { background: transparent !important; }
.fl-btn-primary .elementor-button {
  border-radius: 12px !important;
  padding: 15px 30px;
  background: #E4487A;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 16px;
  box-shadow: 0 10px 24px rgba(228,72,122,.22);
  transition: background .2s ease;
}
.fl-btn-primary .elementor-button:hover { background: #B05078; }
.fl-btn-secondary .elementor-button {
  border-radius: 12px !important;
  padding: 13px 28px;
  background: #fff;
  color: #E4487A;
  border: 2px solid #E4487A;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 16px;
  transition: all .2s ease;
}
.fl-btn-secondary .elementor-button:hover { background: #E4487A; color: #fff; }

/* ---------- HERO ART ---------- */
.fl-hero-art {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1 / 1;
  min-height: 0;
  margin-inline: auto;
}
/* inner gradient circle holding Lida */
.fl-hero-art::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #F2B2CF 0%, #F6C6DA 52%, #FADCE7 100%);
  z-index: 1;
}
/* thick white outer ring */
.fl-ring-outer {
  position: absolute; inset: -7%;
  border-radius: 50%;
  border: 13px solid rgba(255,255,255,.55);
  z-index: 3;
  pointer-events: none;
}
/* thin magenta ring */
.fl-ring-thin {
  position: absolute; inset: -2%;
  border-radius: 50%;
  border: 2px solid rgba(228,72,122,.10);
  z-index: 3;
  pointer-events: none;
}
/* Lida, clipped inside the circle */
.fl-lida {
  position: absolute !important; inset: 0 !important;
  width: 100% !important; height: 100% !important;
  min-height: 0 !important;
  border-radius: 50%;
  overflow: hidden;
  z-index: 2;
  padding: 0 !important;
}
.fl-lida > .e-con-inner { width: 100%; height: 100%; padding: 0; }
.fl-lida img {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 86%;
  top: -6px;
  display: block;
  border-radius: 0 !important;
}
/* hair overlay: renders in front of the ring */
.fl-hero-art::after {
  content: '';
  position: absolute; inset: 0;
  background-image: var(--fl-lida);
  background-repeat: no-repeat;
  background-position: center -6px;
  background-size: 86% auto;
  clip-path: inset(0 0 60% 0);
  z-index: 30;
  pointer-events: none;
}

/* ---------- DOODLES ---------- */
.fl-doodle { position: absolute; z-index: 6; }
.fl-badge .elementor-icon {
  width: clamp(46px,4.4vw,62px);
  height: clamp(46px,4.4vw,62px);
  border-radius: 50%;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: clamp(20px,2.1vw,27px);
  box-shadow: 0 12px 26px rgba(228,72,122,.16);
}
.fl-badge-globe { top: 4%; right: 2%; }
.fl-badge-globe .elementor-icon { color: #E4487A; }
.fl-badge-chat { top: 46%; right: -6%; }
.fl-badge-chat .elementor-icon { color: #E4487A; }
.fl-badge-book { bottom: 2%; left: 6%; }
.fl-badge-book .elementor-icon {
  color: #6A4E9C;
  box-shadow: 0 12px 26px rgba(176,152,216,.22);
}

/* chat chips */
.fl-chip .elementor-heading-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(13px,1vw,16px);
  padding: 10px 18px;
  display: inline-block;
  white-space: nowrap;
  box-shadow: 0 10px 26px rgba(176,152,216,.22);
}
.fl-chip-talk { top: 22%; left: -10%; }
.fl-chip-talk .elementor-heading-title {
  background: #F9C9D9;
  color: #B0396A;
  border-radius: 20px 20px 20px 5px;
}
.fl-chip-cando { top: 46%; left: -12%; }
.fl-chip-cando .elementor-heading-title {
  background: #D9C7EE;
  color: #541CB8;
  border-radius: 20px 20px 5px 20px;
}

/* sparkles + orbit dot */
.fl-spark {
  position: absolute;
  color: #E4487A;
  z-index: 5;
  pointer-events: none;
  line-height: 1;
}
.fl-spark-1 { top: 8%; left: 82%; font-size: 22px; opacity: .9; }
.fl-spark-2 { top: 18%; left: 90%; font-size: 14px; color: #E9A9C6; opacity: .9; }
.fl-dot {
  position: absolute;
  top: 27%; left: 99%;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: #B098D8;
  z-index: 5;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .fl-hero > .e-con-inner { flex-direction: column; }
  .fl-hero-copy { flex-basis: 100% !important; max-width: 100%; }
  .fl-hero-art { flex-basis: auto !important; max-width: 340px; }
  .fl-checks { grid-template-columns: 1fr 1fr; max-width: 100%; }
  .fl-chip-talk { left: -4%; }
  .fl-chip-cando { left: -6%; }
}
@media (max-width: 767px) {
  .fl-hero-sub .elementor-widget-container p { max-width: 100%; }
  .fl-doodle { display: none; }
}

/* ================= SHARED SECTION PRIMITIVES ================= */
.fl-section > .e-con-inner { max-width: 1200px; }
.fl-sec-head { text-align: center; }
.fl-sec-head .elementor-widget-container { text-align: center; }
.fl-eyebrow .elementor-heading-title {
  font-family: 'Figtree', sans-serif;
  font-weight: 600; font-size: 14px; color: #6B5560; margin-bottom: 8px;
}
.fl-h2 .elementor-heading-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(28px, 3.8vw, 38px); color: #E4487A; line-height: 1.1;
}

/* ================= HOW IT WORKS ================= */
.fl-hiw-row { align-items: stretch !important; }
.fl-hiw-grid {
  flex: 2 1 520px !important;
  min-width: 280px;
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}
.fl-step-card {
  background: #fff;
  border: 1px solid #F7E3EA;
  border-radius: 20px !important;
  box-shadow: 0 10px 30px rgba(228,72,122,.08);
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.fl-step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(228,72,122,.16);
}
.fl-step-card .elementor-widget-container { text-align: center; }
.fl-step-num .elementor-heading-title {
  display: inline-flex; width: 52px; height: 52px; border-radius: 50%;
  background: #FDE7EE; color: #E4487A;
  align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 22px;
  margin: 0 auto 16px;
}
.fl-step-title .elementor-heading-title {
  font-family: 'Poppins', sans-serif; font-size: 18px; color: #2B2B2B; margin-bottom: 8px;
}
.fl-step-body .elementor-widget-container p {
  font-size: 14px; color: #6B5560; line-height: 1.65; margin: 0;
}
.fl-hiw-quote {
  flex: 1 1 260px !important;
  min-width: 240px;
  background: #E4487A !important;
  border-radius: 20px !important;
  box-shadow: 0 12px 34px rgba(228,72,122,.22);
  color: #fff;
  justify-content: center;
}
.fl-hiw-stars .elementor-heading-title {
  color: #FFD84D; font-size: 18px; letter-spacing: 3px; margin-bottom: 14px;
}
.fl-hiw-quote-text .elementor-widget-container p {
  font-family: 'Poppins', sans-serif; font-weight: 600;
  font-size: 17px; line-height: 1.55; color: #fff; margin: 0 0 20px;
}
.fl-hiw-avatar img {
  width: 44px !important; height: 44px; border-radius: 50%;
  object-fit: cover; flex: none; display: block;
}
.fl-hiw-name .elementor-heading-title {
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 15px; color: #fff;
}
.fl-hiw-country .elementor-heading-title {
  font-size: 13px; opacity: .85; color: #fff;
}
/* ================= WHY CHOOSE ================= */
.fl-why-row { align-items: flex-start; }
.fl-why-head { flex: 1 1 260px !important; min-width: 240px; }
.fl-why-h2 .elementor-heading-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(28px, 3.6vw, 36px); color: #E4487A; line-height: 1.2;
}
.fl-why-grid {
  flex: 2 1 480px !important; min-width: 280px;
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px 40px;
}
.fl-why-item { align-items: flex-start !important; }
.fl-diamond {
  width: 13px !important; height: 13px; flex: none !important;
  background: #E4487A; transform: rotate(45deg); border-radius: 2px;
  margin-top: 5px; min-height: 0 !important;
}
.fl-why-title .elementor-heading-title {
  font-family: 'Poppins', sans-serif; font-size: 17px; color: #2B2B2B; margin-bottom: 6px;
}
.fl-why-body .elementor-widget-container p {
  font-size: 14px; color: #6B5560; line-height: 1.65; margin: 0;
}

/* ================= YOUR CLASSROOM ================= */
.fl-class-row { align-items: center; }
.fl-class-img { flex: 1 1 400px !important; min-width: 280px; }
.fl-class-img img {
  width: 100%; max-width: 520px; border-radius: 20px !important;
  box-shadow: 0 18px 46px rgba(228,72,122,.18);
}
.fl-class-copy { flex: 1 1 320px !important; min-width: 280px; }
.fl-class-eyebrow .elementor-heading-title {
  font-family: 'Figtree', sans-serif; font-weight: 600; font-size: 14px;
  color: #6B5560; margin-bottom: 10px;
}
.fl-class-h2 .elementor-heading-title {
  font-family: 'Poppins', sans-serif; font-size: clamp(28px, 3.6vw, 36px);
  color: #E4487A; line-height: 1.2; margin-bottom: 16px;
}
.fl-class-body .elementor-widget-container p {
  font-size: 15px; color: #6B5560; line-height: 1.7; max-width: 440px; margin: 0 0 24px;
}
.fl-btn-square .elementor-button {
  border-radius: 8px !important; padding: 15px 30px;
  background: #E4487A; color: #fff;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 15px;
}
.fl-btn-square .elementor-button:hover { background: #B05078; }
/* ================= EXPLORE LESSONS ================= */
.fl-explore-row { align-items: center; }
.fl-explore-copy { flex: 1 1 340px !important; min-width: 280px; }
.fl-explore-h2 .elementor-heading-title {
  font-family: 'Poppins', sans-serif; font-size: clamp(28px, 3.6vw, 36px);
  color: #E4487A; line-height: 1.2; margin-bottom: 16px;
}
.fl-explore-intro .elementor-widget-container p {
  font-size: 15px; color: #6B5560; line-height: 1.7; max-width: 420px; margin: 0;
}
.fl-explore-grid {
  flex: 1 1 360px !important; min-width: 280px;
  display: grid !important; grid-template-columns: 1fr 1fr; gap: 18px;
}
.fl-explore-card {
  background: #fff; border: 1px solid #F7E3EA;
  border-radius: 16px !important; box-shadow: 0 8px 24px rgba(228,72,122,.06);
  overflow: hidden;
}
.fl-explore-img img {
  aspect-ratio: 1.5; width: 100%; object-fit: cover;
  border-radius: 0 !important; display: block;
}
.fl-explore-title .elementor-heading-title {
  font-family: 'Poppins', sans-serif; font-size: 15px; color: #2B2B2B; margin-bottom: 4px;
}
.fl-explore-text .elementor-widget-container p {
  font-size: 13px; color: #6B5560; line-height: 1.5; margin: 0;
}
/* ================= LESSON PACKAGES ================= */
.fl-packages { text-align: center; }
.fl-packages > .e-con-inner { max-width: 1140px; }
.fl-pack-intro .elementor-widget-container p {
  font-size: 16px; color: #6B5560; margin: 12px 0 40px;
}
.fl-pack-intro .elementor-widget-container { text-align: center; }
.fl-plan-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px; text-align: left;
}
.fl-plan-card {
  background: #fff; border-radius: 20px !important;
  box-shadow: 0 10px 30px rgba(228,72,122,.08);
  position: relative; overflow: visible;
  transition: transform .2s ease, box-shadow .2s ease;
}
.fl-plan-card:hover { transform: translateY(-6px); box-shadow: 0 16px 42px rgba(228,72,122,.18); }
.fl-plan-badge .elementor-heading-title {
  position: absolute; top: -13px; left: 0;
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 12px;
  color: #fff; background: #E4487A; padding: 5px 14px; border-radius: 20px;
}
.fl-plan-badge { position: relative; }
.fl-plan-name .elementor-heading-title {
  font-family: 'Poppins', sans-serif; font-size: 20px; color: #E4487A; margin-bottom: 6px;
}
.fl-plan-price .elementor-heading-title {
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 30px; color: #2B2B2B;
}
.fl-plan-unit .elementor-heading-title {
  font-size: 13px; color: #6B5560; margin-bottom: 16px; font-family: 'Figtree', sans-serif; font-weight: 400;
}
.fl-plan-divider { height: 1px !important; min-height: 1px !important; background: #F2E0E7; margin-bottom: 18px; width: 100%; }
.fl-plan-feats { margin-bottom: 24px; flex: 1; }
.fl-plan-feat { align-items: flex-start !important; }
.fl-plan-diamond {
  width: 10px !important; height: 10px; flex: none !important; min-height: 0 !important;
  background: #E4487A; transform: rotate(45deg); border-radius: 2px; margin-top: 5px;
}
.fl-plan-feat-text .elementor-widget-container p {
  font-size: 14px; color: #6B5560; line-height: 1.55; margin: 0;
}
.fl-plan-btn .elementor-button {
  width: 100%; padding: 12px; border-radius: 8px !important;
  background: #E4487A; color: #fff; border: 2px solid #E4487A;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 14px;
}
.fl-plan-btn .elementor-button:hover { background: #B05078; border-color: #B05078; }
/* ================= TESTIMONIALS ================= */
.fl-testimonials { text-align: center; }
.fl-testimonials > .e-con-inner { max-width: 1140px; }
.fl-tst-intro .elementor-widget-container p { font-size: 16px; color: #6B5560; margin: 12px 0 40px; }
.fl-tst-intro .elementor-widget-container { text-align: center; }
.fl-tst-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px; text-align: left;
}
.fl-tst-card {
  background: #E4487A !important; border-radius: 20px !important;
  box-shadow: 0 12px 34px rgba(228,72,122,.22); color: #fff;
  transition: transform .2s ease;
}
.fl-tst-card:hover { transform: translateY(-6px); }
.fl-tst-stars .elementor-heading-title { color: #FFD84D; font-size: 16px; letter-spacing: 2px; margin-bottom: 12px; }
.fl-tst-quote .elementor-widget-container p { font-size: 15px; line-height: 1.65; color: #fff; margin: 0 0 20px; }
.fl-tst-avatar img { width: 46px !important; height: 46px; border-radius: 50%; object-fit: cover; flex: none; display: block; }
.fl-tst-name .elementor-heading-title { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 15px; color: #fff; }
.fl-tst-role .elementor-heading-title { font-size: 13px; opacity: .85; color: #fff; font-family: 'Figtree', sans-serif; }
/* testimonial role: city dot country via CSS */
.fl-tst-author .fl-tst-role { display: inline-block; }
.fl-tst-role-city .elementor-heading-title { display: inline; }
.fl-tst-role-city .elementor-heading-title::after { content: ' \00B7 '; }
.fl-tst-role-country { display: inline-block; }
.fl-tst-role-country .elementor-heading-title { display: inline; }
.fl-tst-author > .e-con-inner > div:last-child, .fl-tst-author .e-child { line-height: 1.3; }

/* ================= FAQ ================= */
.fl-faq { text-align: center; }
.fl-faq > .e-con-inner { max-width: 820px; }
.fl-faq-intro .elementor-widget-container { text-align: center; }
.fl-faq-intro .elementor-widget-container p { font-size: 16px; color: #6B5560; margin-top: 12px; }
.fl-faq-wrap { text-align: left; }
.fl-faq-acc .elementor-accordion-item {
  background: #fff; border: 1px solid #F7E3EA !important;
  border-radius: 16px !important; box-shadow: 0 8px 24px rgba(228,72,122,.06);
  overflow: hidden; margin-bottom: 12px;
}
.fl-faq-acc .elementor-tab-title {
  border: none !important; padding: 20px 24px;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 16px; color: #2B2B2B;
}
.fl-faq-acc .elementor-tab-title.elementor-active { color: #E4487A; }
.fl-faq-acc .elementor-accordion-icon { color: #E4487A; font-size: 20px; }
.fl-faq-acc .elementor-tab-content {
  border: none !important; padding: 0 24px 22px;
  font-family: 'Figtree', sans-serif; font-size: 15px; color: #6B5560; line-height: 1.7;
}

/* ================= CTA ================= */
.fl-cta-card {
  background: linear-gradient(105deg, #FDF1F4 0%, #FBE0EA 100%) !important;
  border-radius: 28px !important; box-shadow: 0 14px 44px rgba(228,72,122,.12);
}
.fl-cta-copy { flex: 1 1 360px !important; min-width: 260px; }
.fl-cta-h2 .elementor-heading-title {
  font-family: 'Poppins', sans-serif; font-size: clamp(28px, 3.6vw, 36px);
  color: #E4487A; margin-bottom: 12px;
}
.fl-cta-text .elementor-widget-container p {
  font-size: 16px; color: #6B5560; line-height: 1.7; margin: 0 0 26px; max-width: 420px;
}
.fl-cta-img { flex: 0 1 320px !important; min-width: 220px; }
.fl-cta-img img { width: 100%; max-width: 300px; filter: drop-shadow(0 20px 34px rgba(228,72,122,.22)); border-radius: 0 !important; }

/* ================= REACH OUT ================= */
.fl-contact { text-align: center; }
.fl-contact > .e-con-inner { max-width: 1140px; }
.fl-contact-intro .elementor-widget-container { text-align: center; }
.fl-contact-intro .elementor-widget-container p { font-size: 16px; color: #6B5560; margin-top: 12px; }
.fl-contact-gridwrap { text-align: left; }
.fl-contact-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px; align-items: start;
}
.fl-contact-row { align-items: flex-start !important; }
.fl-contact-icon .elementor-icon {
  width: 44px; height: 44px; border-radius: 50%; background: #FDE7EE;
  color: #E4487A; display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex: none;
}
.fl-contact-title .elementor-heading-title { font-family: 'Poppins', sans-serif; font-size: 17px; color: #2B2B2B; margin-bottom: 4px; }
.fl-contact-body .elementor-widget-container p { font-size: 14px; color: #6B5560; line-height: 1.6; margin: 0 0 4px; }
.fl-contact-link .elementor-heading-title { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 14px; color: #E4487A; }
.fl-follow-label .elementor-heading-title { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 14px; color: #2B2B2B; }
.fl-contact-socials .elementor-social-icon { background: #FDE7EE !important; color: #E4487A !important; width: 36px; height: 36px; }
.fl-contact-socials .elementor-social-icon:hover { background: #E4487A !important; color: #fff !important; }
.fl-contact-formcard {
  background: #fff; border: 1px solid #F7E3EA;
  border-radius: 20px !important; box-shadow: 0 10px 30px rgba(228,72,122,.08);
}
.fl-form-title .elementor-heading-title { font-family: 'Poppins', sans-serif; font-size: 20px; color: #2B2B2B; margin-bottom: 6px; }
.fl-form-sub .elementor-widget-container p { font-size: 14px; color: #6B5560; margin-bottom: 20px; }
/* ================= TEACHERS ROUTE ================= */
.fl-teach-banner { text-align: center; }
.fl-teach-banner .elementor-widget-container { text-align: center; }
.fl-teach-h1 .elementor-heading-title {
  font-family: 'Poppins', sans-serif; font-weight: 800;
  font-size: clamp(30px, 4.2vw, 42px); color: #E4487A;
}
.fl-teach-sub .elementor-widget-container p {
  font-size: 16px; color: #6B5560; margin: 12px auto 0; max-width: 520px;
}
.fl-teach-section > .e-con-inner { max-width: 1200px; }
.fl-teach-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.fl-teach-card {
  background: #fff; border: 1px solid #F7E3EA;
  border-radius: 20px !important; box-shadow: 0 10px 30px rgba(228,72,122,.08);
  text-align: center; transition: transform .2s ease, box-shadow .2s ease;
}
.fl-teach-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(228,72,122,.16); }
.fl-teach-card.fl-hide { display: none !important; }
.fl-teach-avatar img {
  width: 96px !important; height: 96px; border-radius: 50%;
  object-fit: cover; margin: 0 auto 14px; display: block;
}
.fl-teach-name .elementor-heading-title { font-family: 'Poppins', sans-serif; font-size: 20px; color: #2B2B2B; margin-bottom: 6px; }
.fl-teach-spec .elementor-heading-title {
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 14px; color: #B05078; margin-bottom: 16px;
}
.fl-teach-facts { margin-bottom: 22px; }
.fl-teach-fact { justify-content: center !important; }
.fl-teach-diamond {
  width: 10px !important; height: 10px; flex: none !important; min-height: 0 !important;
  background: #E4487A; transform: rotate(45deg); border-radius: 2px;
}
.fl-teach-fact-text .elementor-widget-container p { font-size: 14px; color: #6B5560; margin: 0; }
.fl-teach-btn .elementor-button {
  width: 100%; padding: 12px; border-radius: 8px !important;
  background: #fff; color: #E4487A; border: 2px solid #E4487A;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 14px;
}
.fl-teach-btn .elementor-button:hover { background: #E4487A; color: #fff; }
/* pager */
.fl-teach-pager { margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.fl-pg-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
.fl-pg-prev, .fl-pg-next {
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 14px;
  padding: 9px 16px; border-radius: 8px; border: 1px solid #E7C9D3;
  background: #fff; color: #5B5560; cursor: pointer;
}
.fl-pg-prev:hover:not(:disabled), .fl-pg-next:hover:not(:disabled) { border-color: #E4487A; color: #E4487A; }
.fl-pg-prev:disabled, .fl-pg-next:disabled { opacity: .5; cursor: default; }
.fl-pg-num {
  width: 40px; height: 40px; border-radius: 8px;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 14px; cursor: pointer;
  background: #fff; color: #5B5560; border: 1px solid #E7C9D3;
}
.fl-pg-num.fl-pg-active { background: #E4487A; color: #fff; border-color: #E4487A; }
.fl-pg-range { font-size: 13px; color: #8A7A80; }
/* ================= BOOKING ROUTE ================= */
.fl-book-banner { text-align: center; }
.fl-book-banner .elementor-widget-container { text-align: center; }
.fl-book-h1 .elementor-heading-title { font-family:'Poppins',sans-serif; font-weight:800; font-size:clamp(28px,4vw,40px); color:#E4487A; }
.fl-book-sub .elementor-widget-container p { font-size:16px; color:#6B5560; margin-top:10px; }
.fl-book-section > .e-con-inner { max-width: 1080px; }
.fl-book-card { background:#fff; border:1px solid #F2E0E7; border-radius:16px; padding:26px; }
.fl-book-teachers { margin-bottom:24px; }
.fl-book-step { font-family:'Poppins',sans-serif; font-weight:700; font-size:15px; color:#2B2B2B; margin-bottom:16px; }
.fl-tp-row { display:flex; gap:20px; flex-wrap:wrap; }
.fl-tp { width:92px; text-align:center; cursor:pointer; background:none; border:none; padding:0; }
.fl-tp img { width:64px; height:64px; border-radius:50%; object-fit:cover; display:block; margin:0 auto 6px; border:3px solid transparent; transition:border-color .2s; }
.fl-tp span { font-family:'Poppins',sans-serif; font-weight:600; font-size:12px; color:#6B5560; }
.fl-tp-active img { border-color:#E4487A; }
.fl-tp-active span { color:#E4487A; }
.fl-book-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:24px; align-items:start; }
.fl-cal-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:16px; }
.fl-cal-title { font-family:'Poppins',sans-serif; font-weight:700; font-size:16px; color:#2B2B2B; }
.fl-cal-nav { display:flex; gap:6px; }
.fl-cal-nav span { width:32px; height:32px; border-radius:8px; border:1px solid #E7C9D3; display:flex; align-items:center; justify-content:center; color:#6B5560; cursor:pointer; }
.fl-cal-nav span:hover { border-color:#E4487A; color:#E4487A; }
.fl-cal-dow { display:grid; grid-template-columns:repeat(7,1fr); gap:6px; text-align:center; font-family:'Poppins',sans-serif; font-weight:600; font-size:12px; color:#B9B4C0; margin-bottom:8px; }
.fl-cal-grid { display:grid; grid-template-columns:repeat(7,1fr); gap:6px; }
.fl-cal-cell { aspect-ratio:1; display:flex; align-items:center; justify-content:center; border-radius:10px; font-family:'Poppins',sans-serif; font-size:14px; color:#2B2B2B; cursor:pointer; border:1px solid transparent; }
.fl-cal-cell.fl-empty { cursor:default; }
.fl-cal-cell.fl-past { color:#CFC7CC; cursor:default; }
.fl-cal-cell:not(.fl-empty):not(.fl-past):hover { background:#FDE7EE; }
.fl-cal-cell.fl-sel { background:#E4487A; color:#fff; }
.fl-book-right { display:flex; flex-direction:column; gap:24px; }
.fl-slots { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.fl-slot { text-align:center; padding:13px 4px; border-radius:10px; font-family:'Poppins',sans-serif; font-weight:600; font-size:14px; background:#fff; color:#6B5560; border:1px solid #E7C9D3; cursor:pointer; }
.fl-slot:hover { border-color:#E4487A; color:#E4487A; }
.fl-slot.fl-sel { background:#E4487A; color:#fff; border-color:#E4487A; }
.fl-book-summary { background:#E4487A; border-radius:16px; padding:26px; color:#fff; }
.fl-sum-title { font-family:'Poppins',sans-serif; font-weight:700; font-size:16px; margin-bottom:16px; }
.fl-sum-row { display:flex; justify-content:space-between; font-size:14px; margin-bottom:12px; }
.fl-sum-row span { opacity:.85; }
.fl-sum-row b { font-family:'Poppins',sans-serif; font-weight:600; }
.fl-sum-foot { border-top:1px solid rgba(255,255,255,.3); padding-top:14px; font-family:'Poppins',sans-serif; font-weight:700; font-size:15px; }
.fl-sum-confirm { width:100%; margin-top:18px; font-family:'Poppins',sans-serif; font-weight:700; font-size:16px; border:none; cursor:pointer; padding:14px; border-radius:8px; background:#fff; color:#E4487A; }
.fl-sum-confirm:hover { background:#FDF1F4; }
.fl-sum-done { display:none; margin-top:14px; background:rgba(255,255,255,.16); border-radius:10px; padding:12px 14px; font-size:14px; text-align:center; }
.fl-sum-done.fl-show { display:block; }
/* ================= LEGAL ROUTES ================= */
.fl-legal-banner > .e-con-inner { max-width: 860px; }
.fl-legal-h1 .elementor-heading-title { font-family:'Poppins',sans-serif; font-weight:800; font-size:clamp(28px,4vw,40px); color:#E4487A; }
.fl-legal-sub .elementor-widget-container p { font-size:16px; color:#6B5560; margin-top:12px; }
.fl-legal-section > .e-con-inner { max-width: 860px; }
.fl-legal-card {
  background:#fff; border:1px solid #F2E0E7; border-radius:16px !important;
}
.fl-legal-btitle .elementor-heading-title { font-family:'Poppins',sans-serif; font-size:19px; color:#E4487A; margin-bottom:8px; }
.fl-legal-btext .elementor-widget-container p { font-size:15px; color:#6B5560; line-height:1.7; margin:0; }
/* ================= HEADER BAR (XPRO container) ================= */
#elementor-header .elementor-element-1ff2817 > .e-con-inner,
.elementor-156 .elementor-element-1ff2817 > .e-con-inner {
  display: flex !important; flex-direction: row !important; flex-wrap: nowrap;
  align-items: center; justify-content: space-between; gap: 24px;
  max-width: 1200px; margin: 0 auto; width: 100%;
}
.elementor-156 .elementor-element-3da04a6 { flex: 0 0 auto !important; }
.elementor-156 .elementor-element-ee4dfa9 { flex: 1 1 auto !important; justify-content: center; display: flex; }
.elementor-156 .elementor-element-300e748 { flex: 0 0 auto !important; }
.elementor-156 .xpro-site-logo img { width: 150px; height: auto; }

/* ================= MAX MEGA MENU as horizontal nav ================= */
.mega-menu.max-mega-menu { list-style: none !important; margin: 0 !important; padding: 0 !important; display: flex !important; align-items: center; gap: 6px; }
.mega-menu.max-mega-menu > li.mega-menu-item { list-style: none !important; position: relative; }
.mega-menu.max-mega-menu > li.mega-menu-item > a.mega-menu-link {
  display: block; padding: 10px 16px !important; text-decoration: none;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 15px;
  color: #2B2B2B !important; border-radius: 8px; background: transparent !important;
  line-height: 1 !important; height: auto !important;
}
.mega-menu.max-mega-menu > li.mega-menu-item > a.mega-menu-link:hover,
.mega-menu.max-mega-menu > li.mega-current-menu-item > a.mega-menu-link { color: #E4487A !important; }
/* the mega panel (Lessons) */
.mega-menu.max-mega-menu > li.mega-menu-megamenu > ul.mega-sub-menu {
  position: absolute !important; top: 100% !important; left: 50% !important; transform: translateX(-50%);
  min-width: 720px; max-width: 860px; background: #FDF1F4 !important;
  border-radius: 18px !important; box-shadow: 0 20px 50px rgba(228,72,122,.18);
  padding: 22px !important; margin-top: 10px !important;
  display: none !important; z-index: 999; list-style: none;
}
.mega-menu.max-mega-menu > li.mega-menu-megamenu:hover > ul.mega-sub-menu { display: flex !important; flex-wrap: wrap; gap: 16px; }
/* standard dropdowns (non-mega) */
.mega-menu.max-mega-menu > li.mega-menu-item:not(.mega-menu-megamenu) > ul.mega-sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 200px;
  background: #fff; border-radius: 12px; box-shadow: 0 12px 30px rgba(228,72,122,.15);
  padding: 8px !important; display: none; list-style: none; z-index: 999; margin-top: 8px !important;
}
.mega-menu.max-mega-menu > li.mega-menu-item:not(.mega-menu-megamenu):hover > ul.mega-sub-menu { display: block; }
.mega-menu.max-mega-menu ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link {
  display: block; padding: 9px 14px; text-decoration: none;
  font-family: 'Figtree', sans-serif; font-size: 14px; color: #5B5560; border-radius: 8px;
}
.mega-menu.max-mega-menu ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link:hover { background: #FCE4EC; color: #E4487A; }
/* mega panel widget (our Elementor template) fills the panel */
.mega-menu.max-mega-menu li.mega-menu-megamenu ul.mega-sub-menu > li { width: 100%; list-style: none; }
/* ================= FOOTER (XPRO container) ================= */
.elementor-157 .elementor-element-a3ccaf7 > .e-con-inner,
.elementor-157 [data-id="a3ccaf7"] > .e-con-inner {
  display: flex !important; flex-direction: row !important; flex-wrap: wrap;
  align-items: flex-start; gap: 30px;
  max-width: 1200px; margin: 0 auto; width: 100%;
}
/* footer social icons: pink circles */
.elementor-157 .elementor-social-icon,
.elementor-157 .xpro-social-icon a,
.elementor-157 .elementor-widget-xpro-social-icon a {
  background-color: #E4487A !important; color: #fff !important;
  border-radius: 50% !important; width: 40px !important; height: 40px !important;
  display: inline-flex !important; align-items: center; justify-content: center;
}
.elementor-157 .elementor-social-icon:hover,
.elementor-157 .xpro-social-icon a:hover { background-color: #B05078 !important; }
.elementor-157 .xpro-site-logo img { width: 160px; height: auto; }
/* ================= HEADER MENU FIX (force visible, hide toggle) ================= */
.mega-toggle, .mega-menu-toggle, #mega-menu-menu-1 > .mega-toggle,
.mega-toggle-animated { display: none !important; }
#mega-menu-menu-1.mega-menu,
ul.mega-menu.max-mega-menu.mega-menu-horizontal {
  display: flex !important; flex-direction: row !important; flex-wrap: nowrap;
  align-items: center; gap: 4px; list-style: none !important;
  margin: 0 !important; padding: 0 !important; position: static !important;
  background: transparent !important;
}
#mega-menu-menu-1 > li.mega-menu-item { display: list-item !important; list-style: none !important; float: none !important; position: relative; background: transparent !important; }
#mega-menu-menu-1 > li.mega-menu-item > a.mega-menu-link {
  display: flex !important; align-items: center; height: auto !important;
  padding: 10px 15px !important; color: #2B2B2B !important; background: transparent !important;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 15px; line-height: 1 !important;
  text-transform: none !important; border: 0 !important;
}
#mega-menu-menu-1 > li.mega-menu-item > a.mega-menu-link:hover,
#mega-menu-menu-1 > li.mega-current-menu-item > a.mega-menu-link { color: #E4487A !important; }
/* dropdown arrows visible */
#mega-menu-menu-1 > li.mega-menu-item-has-children > a.mega-menu-link::after {
  content: '\25BE'; font-size: 10px; margin-left: 6px; color: currentColor;
}

/* ================= FOOTER FIX (real wrapper #xpro-theme-builder-footer) ================= */
.elementor-157 .elementor-element-a3ccaf7 > .e-con-inner {
  display: flex !important; flex-direction: row !important; flex-wrap: wrap;
  align-items: flex-start; gap: 30px; max-width: 1200px; margin: 0 auto; width: 100%;
}
.elementor-157 .elementor-element-a3ccaf7 > .e-con-inner > .e-con { flex: 1 1 260px; min-width: 240px; }
#xpro-theme-builder-footer .elementor-social-icon,
#xpro-theme-builder-footer .xpro-social-icon-wrapper a,
.elementor-157 .elementor-social-icon {
  background-color: #E4487A !important; color: #fff !important;
  border-radius: 50% !important; width: 40px !important; height: 40px !important;
  display: inline-flex !important; align-items: center; justify-content: center; margin: 0 6px 0 0;
}
#xpro-theme-builder-footer .elementor-social-icon:hover,
.elementor-157 .elementor-social-icon:hover { background-color: #B05078 !important; }
#xpro-theme-builder-footer .elementor-social-icon i,
#xpro-theme-builder-footer .elementor-social-icon svg,
.elementor-157 .elementor-social-icon i,
.elementor-157 .elementor-social-icon svg { color: #fff !important; fill: #fff !important; }
#xpro-theme-builder-footer .xpro-site-logo img,
.elementor-157 .xpro-site-logo img { width: 160px; height: auto; }
/* ================= HERO TEACHER STRIP ================= */
.fl-hstrip-row { width: 100% !important; flex-basis: 100% !important; }
.fl-hstrip { width: 100%; }
.fl-hstrip-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
.fl-hstrip-head h2 { font-family:'Poppins',sans-serif; font-weight:800; font-size:clamp(20px,2.2vw,25px); color:#E4487A; margin:0; }
.fl-hstrip-head p { font-size:13.5px; color:#6B5560; margin-top:3px; }
.fl-hstrip-ctrl { display:flex; align-items:center; gap:14px; flex:none; }
.fl-hstrip-all { font-family:'Poppins',sans-serif; font-weight:600; font-size:14px; color:#E4487A; text-decoration:none; }
.fl-hstrip-all:hover { color:#B05078; }
.fl-hstrip-prev, .fl-hstrip-next {
  width:40px; height:40px; border-radius:50%; border:2px solid #E4487A; background:#fff; color:#E4487A;
  font-size:20px; line-height:1; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:all .2s ease;
}
.fl-hstrip-prev:hover, .fl-hstrip-next:hover { background:#E4487A; color:#fff; }
.fl-hstrip-track { display:flex; gap:16px; overflow-x:auto; padding:4px 2px 8px; scroll-behavior:smooth; scroll-snap-type:x mandatory; }
.fl-hstrip-track::-webkit-scrollbar { height:6px; }
.fl-hstrip-track::-webkit-scrollbar-thumb { background:#F3D9E1; border-radius:3px; }
.fl-hstrip-card {
  scroll-snap-align:start; flex:0 0 156px; background:#fff; border:1px solid #F7E3EA;
  border-radius:16px; box-shadow:0 8px 24px rgba(228,72,122,.08); padding:12px 14px; text-align:center;
  cursor:pointer; transition:transform .2s ease, box-shadow .2s ease;
}
.fl-hstrip-card:hover { transform:translateY(-5px); box-shadow:0 14px 34px rgba(228,72,122,.16); }
.fl-hstrip-card img { width:64px; height:64px; border-radius:50%; object-fit:cover; margin:0 auto 8px; display:block; }
.fl-hstrip-card h3 { font-family:'Poppins',sans-serif; font-size:15px; color:#2B2B2B; margin:0 0 2px; }
.fl-hstrip-card span { font-family:'Poppins',sans-serif; font-weight:600; font-size:12px; color:#B05078; }
/* footer native social icons */
.elementor-157 .fl-footer-social .elementor-social-icon{background-color:#E4487A !important;color:#fff !important;width:40px;height:40px;border-radius:50% !important;}
.elementor-157 .fl-footer-social .elementor-social-icon:hover{background-color:#B05078 !important;}
.elementor-157 .fl-footer-social{display:flex;gap:10px;}

/* ================= MEGA MENU: override MMM dark theme (#222/#333) ================= */
#mega-menu-menu-1.max-mega-menu,
#mega-menu-menu-1.max-mega-menu > li.mega-menu-item {
  background: transparent !important;
}
#mega-menu-menu-1.max-mega-menu > li.mega-menu-item > a.mega-menu-link {
  background: transparent !important;
  background-color: transparent !important;
  color: #2B2B2B !important;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  padding: 10px 16px !important;
  border-radius: 8px !important;
  line-height: 1.2 !important;
  height: auto !important;
}
#mega-menu-menu-1.max-mega-menu > li.mega-menu-item > a.mega-menu-link:hover,
#mega-menu-menu-1.max-mega-menu > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link,
#mega-menu-menu-1.max-mega-menu > li.mega-menu-item.mega-toggle-on > a.mega-menu-link {
  background: #FCE4EC !important;
  background-color: #FCE4EC !important;
  color: #E4487A !important;
}
/* sub-menu panels: never dark */
#mega-menu-menu-1.max-mega-menu ul.mega-sub-menu {
  background: #FDF1F4 !important;
}
#mega-menu-menu-1.max-mega-menu ul.mega-sub-menu > li.mega-menu-item,
#mega-menu-menu-1.max-mega-menu ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link {
  background: transparent !important;
  color: #5B5560 !important;
}
#mega-menu-menu-1.max-mega-menu ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link:hover {
  background: #FCE4EC !important;
  color: #E4487A !important;
}
/* the toggle bar (mobile) not dark */
.mega-menu-toggle { background: transparent !important; }
/* ================= HERO TEACHER STRIP ================= */
/* Let the teacher carousel break out of Elementor's centered hero container. */
.fl-hts-wrap {
  flex: 0 0 100vw !important;
  width: 100vw !important;
  max-width: none !important;
  position: relative;
  left: 50%;
  margin: 20px 0 0 -50vw !important;
  order: 3;
}
.fl-hts { width: 100%; padding-inline: clamp(16px, 4.4vw, 90px); }
.fl-hts-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
.fl-hts-title { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: clamp(20px,2.2vw,25px); color: #E4487A; margin: 0; }
.fl-hts-sub { font-size: 13.5px; color: #6B5560; margin: 3px 0 0; }
.fl-hts-controls { display: flex; align-items: center; gap: 14px; flex: none; }
.fl-hts-viewall { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 14px; color: #E4487A; text-decoration: none; }
.fl-hts-viewall:hover { color: #B05078; }
.fl-hts-arrows { display: flex; gap: 10px; }
.fl-hts-prev, .fl-hts-next {
  width: 40px; height: 40px; border-radius: 50%; border: 2px solid #E4487A;
  background: #fff; color: #E4487A; font-size: 20px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: all .2s ease;
}
.fl-hts-prev:hover, .fl-hts-next:hover { background: #E4487A; color: #fff; }
.fl-hts-track {
  display: flex; gap: 16px; overflow-x: auto; scroll-behavior: smooth;
  padding-bottom: 6px; scrollbar-width: none;
}
.fl-hts-track::-webkit-scrollbar { display: none; }
.fl-hts-card {
  flex: 0 0 150px; background: #fff; border: 1px solid #F7E3EA; border-radius: 16px;
  box-shadow: 0 8px 22px rgba(228,72,122,.08); padding: 16px 12px; text-align: center;
  display: block; text-decoration: none; cursor: pointer;
}
.fl-hts-card img { width: 66px; height: 66px; border-radius: 50%; object-fit: cover; margin: 0 auto 10px; display: block; }
.fl-hts-name { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 14px; color: #2B2B2B; }
.fl-hts-spec { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 12px; color: #E4487A; margin-top: 2px; }
/* ============ MEGA MENU: beat MMM's #333 theme (match its 3-ID specificity) ============ */
#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item > a.mega-menu-link,
#mega-menu-wrap-menu-1 #mega-menu-menu-1 li.mega-menu-item a.mega-menu-link {
  background: transparent !important;
  background-color: transparent !important;
  color: #2B2B2B !important;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  padding: 10px 16px !important;
  border-radius: 8px !important;
  line-height: 1.3 !important;
}
#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item > a.mega-menu-link:hover,
#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link,
#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item.mega-toggle-on > a.mega-menu-link {
  background: #FCE4EC !important;
  background-color: #FCE4EC !important;
  color: #E4487A !important;
}
/* whole menu + items transparent (not #222) */
#mega-menu-wrap-menu-1 #mega-menu-menu-1,
#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item {
  background: transparent !important;
  background-color: transparent !important;
}
/* sub-menu panel pink, its links readable */
#mega-menu-wrap-menu-1 #mega-menu-menu-1 ul.mega-sub-menu {
  background: #FDF1F4 !important;
}
#mega-menu-wrap-menu-1 #mega-menu-menu-1 ul.mega-sub-menu li.mega-menu-item > a.mega-menu-link {
  background: transparent !important;
  background-color: transparent !important;
  color: #5B5560 !important;
}
#mega-menu-wrap-menu-1 #mega-menu-menu-1 ul.mega-sub-menu li.mega-menu-item > a.mega-menu-link:hover {
  background: #FCE4EC !important;
  color: #E4487A !important;
}
/* dropdown arrow indicator color */
#mega-menu-wrap-menu-1 #mega-menu-menu-1 span.mega-indicator:after { color: #2B2B2B !important; }
/* ===== HERO fits copy+art+teacher strip in first viewport ===== */
@media (min-width: 1025px) {
  .fl-hero > .e-con-inner {
    min-height: calc(100vh - 84px); /* minus header */
    align-items: center;
    align-content: center;
    row-gap: 18px;
  }
  .fl-hero-copy { flex: 1 1 46% !important; }
  .fl-hero-art { flex: 0 1 400px !important; align-self: center; }
  /* strip pinned to lower area, full width */
  .fl-hts-wrap { margin-top: 8px; align-self: stretch; }
  .fl-hts-card { flex: 0 0 140px; padding: 12px 10px; }
  .fl-hts-card img { width: 58px; height: 58px; margin-bottom: 8px; }
}
/* trim vertical rhythm inside hero copy so it's compact */
.fl-hero-copy .fl-hero-title .elementor-heading-title { font-size: clamp(32px, 4.2vw, 50px) !important; }
.fl-checks { margin: 18px 0 20px; gap: 12px 26px; }
/* ===== MORE flyout dropdown (white rounded card) ===== */
#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-flyout > ul.mega-sub-menu {
  background: #fff !important;
  border-radius: 18px !important;
  box-shadow: 0 18px 44px rgba(228,72,122,.15) !important;
  padding: 12px !important;
  min-width: 240px !important;
  margin-top: 10px !important;
}
#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-flyout > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 500 !important;
  font-size: 15px !important;
  color: #4A4A4A !important;
  padding: 13px 18px !important;
  border-radius: 10px !important;
  background: transparent !important;
}
#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-flyout > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link:hover {
  background: #FCE4EC !important;
  color: #E4487A !important;
}
/* the More dropdown arrow indicator */
#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-flyout > a.mega-menu-link > span.mega-indicator:after { color: #2B2B2B !important; }
/* single Get Started button: solid magenta */
.elementor-156 .elementor-widget-xpro-button .xpro-elementor-button,
.elementor-156 .xpro-button-wrapper a { background-color: #E4487A !important; color: #fff !important; }
/* =========================================================
   SITE-WIDE MOBILE RESPONSIVENESS
   ========================================================= */

/* ---- TABLET & BELOW (<= 1024px) ---- */
@media (max-width: 1024px) {
  /* header: keep row but allow menu to shrink */
  .elementor-156 .elementor-element-1ff2817 > .e-con-inner { gap: 14px; flex-wrap: nowrap; }
  .elementor-156 .elementor-element-ee4dfa9 { justify-content: flex-end; }
  /* two-column sections -> single column */
  .fl-why-row, .fl-class-row, .fl-explore-row, .fl-hiw-row { flex-direction: column !important; }
  .fl-why-head, .fl-why-grid, .fl-class-img, .fl-class-copy,
  .fl-explore-copy, .fl-explore-grid, .fl-hiw-grid, .fl-hiw-quote {
    flex: 1 1 100% !important; width: 100%; min-width: 0 !important;
  }
  .fl-class-img img, .fl-cta-img img { margin: 0 auto; }
}

/* ---- MOBILE (<= 767px) ---- */
@media (max-width: 767px) {
  /* HEADER: logo left, menu becomes MMM mobile toggle, button hidden to save space */
  .elementor-156 .elementor-element-1ff2817 > .e-con-inner {
    flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 10px 16px;
  }
  .elementor-156 .elementor-element-3da04a6 { flex: 0 0 auto !important; }
  .elementor-156 .elementor-element-ee4dfa9 { flex: 0 0 auto !important; order: 3; }
  .elementor-156 .elementor-element-300e748 { flex: 0 0 auto !important; }
  .elementor-156 .xpro-site-logo img { width: 120px; }


  /* HERO */
  .fl-hero > .e-con-inner { padding: 24px 16px 20px; min-height: auto !important; }
  .fl-hero-copy .fl-hero-title .elementor-heading-title { font-size: clamp(30px, 8vw, 40px) !important; }
  /* Keep the four feature tiles in a compact 2 × 2 grid on phones. */
  .fl-checks { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 16px 12px; }
  .fl-check .elementor-icon-box-wrapper { flex-direction: column; align-items: center; gap: 8px; text-align: center; }
  .fl-check .elementor-icon-box-content { text-align: center; }
  .fl-check .elementor-icon-box-title { font-size: 13px; line-height: 1.35; }
  .fl-hero-art { max-width: 280px !important; }
  .fl-doodle { display: none; }
  /* hero buttons stack full width */
  .fl-hero-copy .e-con[class*="flex_direction"], .fl-hero-copy > .e-con:last-child { flex-wrap: wrap; }
  .fl-btn-primary, .fl-btn-secondary { width: 100%; }
  .fl-btn-primary .elementor-button, .fl-btn-secondary .elementor-button { width: 100%; text-align: center; }

  /* teacher strip: smaller cards, still scrollable */
  .fl-hts-card { flex: 0 0 130px; }
  .fl-hts-head { align-items: flex-start; }

  /* Keep viewport-width carousel math inside the phone viewport. */
  .fl-hts-wrap {
    flex: 0 0 100vw !important;
    width: 100vw !important;
    min-width: 0 !important;
    max-width: 100vw !important;
    left: 50% !important;
    margin-left: -50vw !important;
    margin-right: 0 !important;
  }
  .fl-hts { box-sizing: border-box; padding-inline: 16px; }
  .fl-hts-track { max-width: 100%; }

  /* Never let the desktop navigation leak into its phone breakpoint. */
  #mega-menu-wrap-menu-1 ul#mega-menu-menu-1:not(.mega-menu-open),
  #mega-menu-wrap-menu-1:not(.mega-menu-open) ul#mega-menu-menu-1 {
    display: none !important;
  }

  /* SECTION spacing tighter */
  .fl-section { padding-top: 44px !important; padding-bottom: 44px !important; }
  .fl-h2 .elementor-heading-title, .fl-why-h2 .elementor-heading-title,
  .fl-class-h2 .elementor-heading-title, .fl-explore-h2 .elementor-heading-title,
  .fl-cta-h2 .elementor-heading-title { font-size: clamp(24px, 7vw, 32px) !important; }

  /* grids -> single column on phones */
  .fl-plan-grid, .fl-tst-grid, .fl-contact-grid, .fl-explore-grid,
  .fl-teach-grid, .fl-why-grid { grid-template-columns: 1fr !important; }
  .fl-hiw-grid { grid-template-columns: 1fr !important; }

  /* CTA card stacks */
  .fl-cta-card { flex-direction: column !important; text-align: center; padding: 32px 24px !important; }
  .fl-cta-copy { flex: 1 1 100% !important; }
  .fl-cta-text .elementor-widget-container p { margin-inline: auto; }
  .fl-cta-img { flex: 1 1 100% !important; }

  /* FOOTER stacks */
  .elementor-157 .e-con-inner { flex-direction: column !important; }
  .elementor-157 [class*="_flex_basis"], .elementor-157 .e-con { flex: 1 1 100% !important; width: 100% !important; }

  /* FAQ + forms full width */
  .fl-faq > .e-con-inner, .fl-contact-formcard { max-width: 100%; }

  /* BOOKING widget stacks */
  .fl-book-grid { grid-template-columns: 1fr !important; }
  .fl-tp-row { justify-content: center; }
  .fl-slots { grid-template-columns: repeat(3, 1fr); }

  /* TEACHERS pager wraps */
  .fl-pg-row { gap: 6px; }
  .fl-pg-num { width: 36px; height: 36px; }
}

/* ---- SMALL PHONES (<= 420px) ---- */
@media (max-width: 420px) {
  .fl-hero-art { max-width: 230px !important; }
  .fl-hts-card { flex: 0 0 120px; }
  .fl-slots { grid-template-columns: repeat(2, 1fr) !important; }
  .fl-section { padding-left: 14px !important; padding-right: 14px !important; }
}
/* Prevent full-bleed sections from creating a horizontal page scroll. */
html, body { max-width: 100%; overflow-x: clip; }

/* Extra-small phones: preserve usable proportions rather than clipping content. */
@media (max-width: 360px) {
  .fl-hero > .e-con-inner { padding-inline: 14px; }
  .fl-hero-copy .fl-hero-title .elementor-heading-title { font-size: 28px !important; }
  .fl-hts { padding-inline: 14px; }
  .fl-hts-card { flex-basis: min(130px, calc(100vw - 56px)); }
  .fl-hts-controls { gap: 10px; }
  .fl-hts-arrows { gap: 8px; }
}

/* ===== CONTACT page banner ===== */
.fl-contact-banner { text-align: center; }
.fl-contact-banner .elementor-widget-container { text-align: center; }
.fl-contact-h1 .elementor-heading-title { font-family:'Poppins',sans-serif; font-weight:800; font-size:clamp(30px,4.2vw,42px); color:#E4487A; }
.fl-contact-bannersub .elementor-widget-container p { font-size:16px; color:#6B5560; margin-top:12px; max-width:520px; margin-inline:auto; }
/* ================= TEACHER PROFILE ================= */
.fl-tp-banner > .e-con-inner { max-width: 1080px; }
.fl-tp-avatarwrap { text-align: center; }
.fl-tp-avatar img { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; margin: 0 auto; box-shadow: 0 14px 36px rgba(228,72,122,.2); }
.fl-tp-name .elementor-heading-title { font-family:'Poppins',sans-serif; font-weight:800; font-size:clamp(30px,4.2vw,42px); color:#E4487A; }
.fl-tp-tagline .elementor-heading-title { font-family:'Poppins',sans-serif; font-weight:600; font-size:17px; color:#B05078; margin:8px 0 12px; }
.fl-tp-stats { margin-bottom:14px; }
.fl-tp-stat .elementor-heading-title { font-family:'Figtree',sans-serif; font-size:14px; color:#6B5560; font-weight:500; }
.fl-tp-bio .elementor-widget-container p { font-size:15px; color:#6B5560; line-height:1.7; max-width:520px; margin:0 0 22px; }
.fl-tp-detail > .e-con-inner { max-width:1080px; }
.fl-tp-grid { display:grid !important; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:28px; align-items:start; }
.fl-tp-card { background:#fff; border:1px solid #F2E0E7; border-radius:16px !important; }
.fl-tp-cardtitle .elementor-heading-title { font-family:'Poppins',sans-serif; font-size:20px; color:#2B2B2B; margin-bottom:18px; }
.fl-tp-sp-grid { display:grid !important; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:14px; }
.fl-tp-sp { background:#FDF1F4; border-radius:10px !important; }
.fl-tp-diamond { width:11px !important; height:11px; flex:none !important; min-height:0 !important; background:#E4487A; transform:rotate(45deg); border-radius:2px; }
.fl-tp-diamond-top { margin-top:5px; }
.fl-tp-sp-text .elementor-heading-title { font-family:'Poppins',sans-serif; font-weight:600; font-size:14px; color:#2B2B2B; }
.fl-tp-cert-text .elementor-widget-container p { font-size:14px; color:#5B5560; line-height:1.5; margin:0; }
.fl-tp-video { border-radius:16px; overflow:hidden; box-shadow:0 10px 30px rgba(228,72,122,.1); }
.fl-tp-review { background:#FDF1F4; border-radius:12px !important; }
.fl-tp-review-quote .elementor-widget-container p { font-size:14px; line-height:1.6; color:#5B5560; margin:0; }
.fl-tp-review-name .elementor-heading-title { font-family:'Poppins',sans-serif; font-weight:700; font-size:13px; color:#B05078; }
.fl-tp-bookcard { position:sticky; top:100px; }
.fl-tp-book-title { font-family:'Poppins',sans-serif; font-size:18px; color:#2B2B2B; margin:0 0 16px; }
/* ===== MOBILE HEADER: everything except logo -> hamburger ===== */

/* ===== PACKAGE BADGE: stop overlap with plan name ===== */
.fl-plan-card { padding-top: 40px !important; }         /* room for the badge */
.fl-plan-badge { position: static !important; margin-bottom: 6px; }
.fl-plan-badge .elementor-heading-title {
  position: absolute !important; top: 16px !important; left: 26px !important;
  display: inline-block;
}
.fl-plan-name .elementor-heading-title { margin-top: 4px; }
/* cards without a badge (Trial) keep normal spacing */
@media (max-width: 767px) {
  .fl-plan-card { padding-top: 44px !important; }
  .fl-plan-badge .elementor-heading-title { top: 18px !important; left: 26px !important; }
}
/* ==========================================================
   MOBILE NAV OVERRIDE (must be LAST - beats my desktop flex rules)
   Below 768px: hide menu bar + Get Started, show hamburger,
   menu only appears when toggled open.
   ========================================================== */

/* ==========================================================
   HEADER v2 - stable class selectors (element IDs change on rebuild)
   ========================================================== */
/* desktop layout: logo | menu | button in a row */
.elementor-156 > .e-con-inner,
.elementor-156 .e-con.e-parent > .e-con-inner {
  display: flex; flex-direction: row; align-items: center;
  justify-content: space-between; gap: 20px; max-width: 1200px; margin: 0 auto;
}
.elementor-156 .elementor-widget-xpro-site-logo img { width: 150px; height: auto; }

/* ---- MOBILE (<= 768px): only logo + hamburger ---- */

/* ==========================================================
   MOBILE HEADER - verified navigation drawer
   ========================================================== */
@media (min-width: 769px) {
  #mega-menu-wrap-menu-1 .mega-menu-toggle { display: none !important; }
  #mega-menu-wrap-menu-1 ul#mega-menu-menu-1 { display: flex !important; }
}


/* Footer newsletter signup - matches source .ewc-input tokens exactly. */
.fl-newsletter-form-wrap { width: 100%; }
.fl-newsletter-input { width: 100%; font-family: 'Figtree', sans-serif; font-size: 15px; color: #2B2B2B; background: #fff; border: 1px solid #E7C9D3; border-radius: 8px; padding: 12px 14px; outline: none; box-sizing: border-box; margin-bottom: 10px; transition: border-color .2s ease; }
.fl-newsletter-input:focus { border-color: #E4487A; }
.fl-newsletter-btn { width: 100%; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 14px; border: none; cursor: pointer; padding: 12px; border-radius: 8px; background: #E4487A; color: #fff; transition: background .2s ease; }
.fl-newsletter-btn:hover { background: #B05078; }
.fl-newsletter-btn:disabled { opacity: .7; cursor: default; }
.fl-newsletter-msg { font-family: 'Figtree', sans-serif; font-size: 13px; margin-top: 8px; min-height: 16px; }
.fl-newsletter-ok { color: #1F8A5B; }
.fl-newsletter-err { color: #C0392B; }

/* ================= MOBILE AUDIT FIXES (added 2026-07-25) =================
   Targeted fixes for elements that don't naturally reflow: hardcoded
   multi-column grids and percentage-based flex columns without a mobile
   override. Everything else already reflows via auto-fit grids or plain
   content_width:full stacking, verified section by section. */
@media (max-width: 767px) {
  /* Explore section was hardcoded to 2 columns at every width */
  .fl-explore-grid { grid-template-columns: 1fr !important; }

  /* Footer columns kept their desktop percentage width (26/22/22/24%)
     even when wrapped onto their own line, so each one rendered as a
     narrow strip instead of spanning full width. */
  .fl-footer-col { flex-basis: 100% !important; width: 100% !important; }

  /* Teacher profile banner: avatar (30%) + name/bio column (60%) had the
     same issue, staying at their desktop percentages when stacked. */
  .fl-tp-avatarwrap, .fl-tp-bannercopy { flex-basis: 100% !important; width: 100% !important; }
  .fl-tp-name, .fl-tp-tagline, .fl-tp-stats, .fl-tp-bio, .fl-tp-bannercopy .fl-btn-square { text-align: center; }
  .fl-tp-stats { justify-content: center; }
  .fl-tp-bannercopy .fl-btn-square { align-self: center; }

  /* Teacher profile detail grid (specialties/certs/reviews + booking
     widget) already auto-fits to one column below ~300px, this just
     tightens the outer section padding to match the rest of the site's
     420px tightening below. */
  .fl-tp-detail { padding-left: 16px !important; padding-right: 16px !important; }
}

/* ================= MOBILE HEADER REWORK (stable-class based) =================
   The header's auto-generated .elementor-element-* selectors used in earlier
   mobile nav rules go stale every time the header is rebuilt (Elementor
   regenerates those IDs). This block uses real _css_classes instead, and is
   the authoritative source for mobile header layout - it supersedes the
   older ID-based rules above via !important + source order. */
#mega-menu-menu-1 > li.mega-menu-item.fl-mnav-account-item { display: none !important; }

@media (max-width: 767px) {
  .fl-header-bar { flex-wrap: nowrap !important; }
  .fl-header-logo-col { order: 1; flex: 0 0 auto !important; width: auto !important; }
  .fl-header-actions { order: 2; flex: 0 0 auto !important; width: auto !important; }
  .fl-header-menu-col { order: 3 !important; flex: 0 0 44px !important; width: 44px !important; display: flex; justify-content: flex-end; }

  /* Profile icon/avatar and "Get Started" move into the dropdown instead of the bar. */
  .fl-header-account.fl-guest-only, .fl-header-avatar { display: none !important; }
  .fl-header-actions .fl-guest-only { display: none !important; }

  /* Account item injected at the top of the mobile dropdown by funlida-mobile-nav.js */
  #mega-menu-menu-1 > li.mega-menu-item.fl-mnav-account-item {
    display: block !important;
    border-bottom: 1px solid #F7E3EA;
    margin-bottom: 6px;
    padding-bottom: 8px;
  }
  .fl-mnav-account-link {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px 10px 6px;
    text-decoration: none;
  }
  .fl-mnav-account-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #E4487A;
    display: block;
    position: relative;
  }
  .fl-mnav-account-icon::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: #fff;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: 20px;
    mask-size: 20px;
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='8' r='4'/><path d='M4 20c0-4 3.5-7 8-7s8 3 8 7'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='8' r='4'/><path d='M4 20c0-4 3.5-7 8-7s8 3 8 7'/></svg>");
  }
  .fl-mnav-guest-only, .fl-mnav-member-only {
    font-family: 'Figtree', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #E4487A;
  }
  .fl-mnav-member-only { display: none; }
  body.logged-in .fl-mnav-guest-only { display: none; }
  body.logged-in .fl-mnav-member-only { display: block; }

  /* Dropdown panel itself: hidden until MMM/our JS marks it open, then shown
     as a fixed, viewport-anchored card under the toggle. */
  #mega-menu-wrap-menu-1 { position: relative; }
  #mega-menu-wrap-menu-1 ul#mega-menu-menu-1 { display: none !important; }
  #mega-menu-wrap-menu-1 ul#mega-menu-menu-1.mega-menu-open {
    display: flex !important;
    flex-direction: column !important;
    position: fixed !important;
    top: 64px !important;
    right: 12px !important;
    left: auto !important;
    width: min(280px, calc(100vw - 24px)) !important;
    min-width: 0 !important;
    max-width: calc(100vw - 24px) !important;
    padding: 10px !important;
    background: #fff !important;
    border-radius: 14px !important;
    box-shadow: 0 12px 30px rgba(228,72,122,.15) !important;
    align-items: stretch !important;
    z-index: 99999 !important;
  }
  #mega-menu-wrap-menu-1 ul#mega-menu-menu-1.mega-menu-open > li,
  #mega-menu-wrap-menu-1 ul#mega-menu-menu-1.mega-menu-open > li > a {
    width: 100% !important;
  }
  #mega-menu-wrap-menu-1 ul#mega-menu-menu-1 .mega-sub-menu {
    position: static !important;
    width: 100% !important;
    min-width: 0 !important;
  }
}
