:root { --fol-blue:#34396f; --fol-warm:#f4a640; --fol-cream:#fff8ef; --fol-soft:#f7f7fb; }
html { scroll-behavior: smooth; }
body { color:#555; }
.site-logo a { font-weight:700; letter-spacing:-1px; }
.text-primary, .site-navbar .site-navigation .site-menu > li > a.active { color: var(--fol-blue)!important; }
.btn-primary, .bg-primary { background: var(--fol-blue)!important; border-color: var(--fol-blue)!important; }
.btn-warning { background: var(--fol-warm)!important; border-color: var(--fol-warm)!important; }
.site-blocks-cover { background: var(--fol-blue); min-height: 640px; }
.site-blocks-cover h1 { max-width: 980px; }
.hero-sub { font-size:1.25rem; color:rgba(255,255,255,.9); max-width:820px; }
.hero-slider-wrap { margin-top:-190px; position:relative; z-index:3; }
.home-slider img { max-height: 460px; object-fit: cover; object-position:center; border-radius: 2px; }
.section-eyebrow { color:var(--fol-warm); font-weight:700; text-transform:uppercase; letter-spacing:.08em; font-size:.9rem; }
.fol-card { height:100%; padding:34px; background:#fff; box-shadow:0 10px 30px rgba(0,0,0,.06); border-radius:4px; }
.fol-card .icon { font-size:52px; color:var(--fol-blue); line-height:1; }
.fees-card { background:#fff; border-radius:5px; padding:28px; box-shadow:0 10px 30px rgba(0,0,0,.06); }
.fees-price { font-size:2.2rem; color:var(--fol-blue); font-weight:700; }
.bg-warm { background:var(--fol-cream); }
.form-control { min-height: 52px; }
textarea.form-control { min-height: 160px; }
.block-testimony-1 blockquote { background:var(--fol-blue); }
.block-testimony-1 blockquote:before { border-top-color:var(--fol-blue); }
.student-img { max-height: 330px; object-fit:contain; }
.quick-list li { margin-bottom:.6rem; }
.footer-subscribe { display:none; }
.site-footer { padding:5em 0 2em; }
@media (max-width: 991px) {
  .site-blocks-cover { min-height: 560px; }
  .site-blocks-cover h1 { font-size:2.6rem; }
  .hero-slider-wrap { margin-top:-120px; }
}

/* Keep lesson carousel images consistent */
#lessons-section .training figure {
  height: 260px;
  overflow: hidden;
  border-radius: 4px;
  background: #fff;
}
#lessons-section .training figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
#lessons-section .training figure img[src*="student-laptop"] {
  object-fit: cover;
  object-position: center 30%;
}

/* Give the crowded menu a little more room on desktop */
@media (min-width: 1200px) {
  .site-navbar .site-navigation .site-menu > li > a {
    padding-left: 14px;
    padding-right: 14px;
    font-size: 15px;
  }
}


/* Header/logo/menu fixes */
.fol-logo { width: 220px; max-width: 100%; height: auto; display:block; }
.site-navbar .site-navigation .site-menu {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.site-navbar .site-navigation .site-menu > li > a {
  padding-left: 11px !important;
  padding-right: 11px !important;
  font-size: 14px;
}
@media (min-width: 1200px) {
  .site-navbar .container { max-width: 1500px; }
}
@media (min-width: 1400px) {
  .site-navbar .site-navigation .site-menu > li > a {
    padding-left: 14px !important;
    padding-right: 14px !important;
    font-size: 15px;
  }
}
@media (max-width: 1199px) {
  .fol-logo { width: 190px; }
}


/* Text logo / brand */
.fol-brand-wrap { line-height: 1; margin: 0; }
.fol-brand {
  display: inline-flex !important;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-decoration: none !important;
  min-width: 210px;
  max-width: 250px;
  padding: 8px 0;
}
.fol-brand-main {
  display: block;
  color: #fff;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.8px;
  line-height: 1.02;
  white-space: nowrap;
}
.fol-brand-sub {
  display: block;
  color: var(--fol-warm);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-top: 6px;
  white-space: nowrap;
}
.sticky-wrapper.is-sticky .fol-brand-main { color: #111; }
.sticky-wrapper.is-sticky .fol-brand-sub { color: var(--fol-warm); }
@media (max-width: 1199px) {
  .fol-brand { min-width: 185px; max-width: 210px; }
  .fol-brand-main { font-size: 24px; }
  .fol-brand-sub { font-size: 10px; letter-spacing: .18em; }
}
@media (min-width: 1200px) {
  .site-navbar .row.align-items-center { flex-wrap: nowrap; }
  .site-navbar .col-xl-3 { flex: 0 0 23%; max-width: 23%; }
  .site-navbar .col-md-9 { flex: 0 0 77%; max-width: 77%; }
  .site-navbar .site-navigation .site-menu > li > a { padding-left: 9px !important; padding-right: 9px !important; font-size: 14px; }
}
@media (min-width: 1450px) {
  .site-navbar .col-xl-3 { flex: 0 0 25%; max-width: 25%; }
  .site-navbar .col-md-9 { flex: 0 0 75%; max-width: 75%; }
  .site-navbar .site-navigation .site-menu > li > a { padding-left: 14px !important; padding-right: 14px !important; font-size: 15px; }
}

/* Refined calligraphy-style text logo */
.fol-brand {
  min-width: 250px;
  max-width: 300px;
  padding: 5px 0;
}
.fol-brand-main {
  font-family: "Segoe Script", "Brush Script MT", "Lucida Handwriting", "Apple Chancery", cursive;
  font-weight: 700;
  font-size: 34px;
  letter-spacing: 0;
  line-height: .95;
  color: #fff;
  text-shadow: 0 1px 1px rgba(0,0,0,.12);
}
.fol-brand-online { color: var(--fol-warm); }
.fol-brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}
.fol-brand-sub {
  color: rgba(255,255,255,.9);
  font-family: "Quicksand", Arial, sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-top: 0;
}
.fol-brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transform: rotate(-8deg);
}
.fol-brand-mark i {
  display: block;
  width: 18px;
  height: 4px;
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(0,0,0,.15);
}
.fol-brand-mark i:nth-child(1) { background: #2f55a4; }
.fol-brand-mark i:nth-child(2) { background: #ffffff; }
.fol-brand-mark i:nth-child(3) { background: #d83b3b; }
.sticky-wrapper.is-sticky .fol-brand-main { color: #111; text-shadow: none; }
.sticky-wrapper.is-sticky .fol-brand-online { color: var(--fol-warm); }
.sticky-wrapper.is-sticky .fol-brand-sub { color: #34396f; }
.sticky-wrapper.is-sticky .fol-brand-mark i:nth-child(2) { background: #ececec; }
@media (max-width: 1199px) {
  .fol-brand { min-width: 210px; max-width: 235px; }
  .fol-brand-main { font-size: 28px; }
  .fol-brand-sub { font-size: 9px; letter-spacing: .16em; }
  .fol-brand-mark i { width: 14px; height: 3px; }
}

/* v6: elegant French Online logo with Eiffel Tower */
.fol-brand-paris {
  display: inline-block;
  line-height: 1;
  text-decoration: none !important;
  padding-top: 2px;
}
.fol-brand-paris .fol-brand-top {
  display: flex;
  align-items: flex-end;
  gap: 9px;
}
.fol-brand-paris .fol-brand-main {
  display: inline-block;
  font-family: 'Parisienne', cursive;
  font-weight: 400;
  font-size: 3.1rem;
  letter-spacing: .3px;
  white-space: nowrap;
  line-height: .82;
}
.fol-brand-paris .fol-brand-french { color:#fff; text-shadow: 0 1px 0 rgba(0,0,0,.12); }
.fol-brand-paris .fol-brand-online { color:#f2aa42; text-shadow: 0 1px 0 rgba(0,0,0,.12); }
.fol-brand-paris .fol-eiffel {
  display: inline-flex;
  width: 42px;
  height: 72px;
  margin-bottom: -5px;
}
.fol-brand-paris .fol-eiffel svg { width:100%; height:100%; overflow:visible; }
.fol-brand-paris .fol-eiffel path {
  fill:none;
  stroke:#f2aa42;
  stroke-width:3.2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.fol-brand-paris .fol-brand-row {
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:7px;
}
.fol-brand-paris .fol-brand-sub {
  color:#fff;
  font-family:'Quicksand', sans-serif;
  font-size:.72rem;
  font-weight:700;
  letter-spacing:3.1px;
  text-transform:uppercase;
  line-height:1;
}
.fol-brand-paris .fol-brand-line {
  width:42px;
  height:1.5px;
  background:#f2aa42;
  display:inline-block;
  opacity:.95;
}
.fol-brand-paris .fol-brand-mark { display:inline-flex; gap:5px; align-items:center; margin-left:2px; transform: rotate(-7deg); }
.fol-brand-paris .fol-brand-mark i { display:block; width:22px; height:4px; border-radius:99px; }
.fol-brand-paris .fol-brand-mark i:nth-child(1) { background:#3c76c8; }
.fol-brand-paris .fol-brand-mark i:nth-child(2) { background:#fff; }
.fol-brand-paris .fol-brand-mark i:nth-child(3) { background:#e84a4a; }

.site-navbar.scrolled .fol-brand-paris .fol-brand-french { color:#1d2442 !important; }
.site-navbar.scrolled .fol-brand-paris .fol-brand-sub { color:#1d2442 !important; }
.site-navbar.scrolled .fol-brand-paris .fol-brand-line { background:#f2aa42; }

/* v6: hero slideshow - show whole picture instead of cropping faces/bodies */
.hero-slider-wrap .home-slider,
.hero-slider-wrap .owl-stage-outer,
.hero-slider-wrap .owl-stage,
.hero-slider-wrap .owl-item { background:#fff; }
.hero-slider-wrap .home-slider img {
  width: 100%;
  height: 460px;
  max-height: 460px;
  object-fit: contain !important;
  object-position: center center !important;
  background:#fff;
  border-radius: 3px;
}
@media (max-width: 1199.98px) {
  .fol-brand-paris .fol-brand-main { font-size:2.55rem; }
  .fol-brand-paris .fol-eiffel { width:36px; height:62px; }
  .fol-brand-paris .fol-brand-line { width:32px; }
}
@media (max-width: 767.98px) {
  .fol-brand-paris .fol-brand-main { font-size:2.05rem; }
  .fol-brand-paris .fol-eiffel { width:28px; height:48px; margin-bottom:-3px; }
  .fol-brand-paris .fol-brand-sub { font-size:.58rem; letter-spacing:2.2px; }
  .fol-brand-paris .fol-brand-line { width:24px; }
  .hero-slider-wrap .home-slider img { height: 320px; max-height: 320px; }
}

/* v7 logo and hero typing refinements */
.fol-brand-paris .fol-eiffel { display:none !important; }
.fol-brand-paris .fol-brand-main { font-weight:400; }
.hero-title .hero-typed { display:block; color:#fff; min-height:1.15em; }
.typed-cursor { display:inline-block; }
.site-blocks-cover h1.hero-title { max-width: 920px; }
@media (min-width: 992px) {
  .site-blocks-cover h1.hero-title { font-size: 3.8rem; line-height:1.15; }
}
@media (max-width: 991.98px) {
  .site-blocks-cover h1.hero-title { font-size: 2.7rem; line-height:1.18; }
}
@media (max-width: 575.98px) {
  .site-blocks-cover h1.hero-title { font-size: 2.15rem; line-height:1.18; }
}


/* v8: cleaner logo, no duplicate hero line, smaller animated words */
.site-navbar .container { max-width: 1540px; }
.site-navbar .row.align-items-center { flex-wrap: nowrap; }
@media (min-width: 1200px) {
  .site-navbar .col-xl-3 { flex: 0 0 30%; max-width: 30%; }
  .site-navbar .col-md-9 { flex: 0 0 70%; max-width: 70%; }
}
.fol-brand-paris {
  min-width: 300px;
  max-width: 360px;
  padding: 10px 0 8px 0;
}
.fol-brand-paris .fol-brand-main {
  font-family: "Brush Script MT", "Segoe Script", "Lucida Handwriting", cursive;
  font-size: 3.05rem;
  font-weight: 400 !important;
  line-height: .92;
  letter-spacing: 0;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,.16);
}
.fol-brand-paris .fol-brand-french { color:#fff; }
.fol-brand-paris .fol-brand-online { color: #f4a640; }
.fol-brand-paris .fol-brand-row {
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:8px;
}
.fol-brand-paris .fol-brand-sub {
  font-family: inherit;
  color:#fff;
  font-size:.75rem;
  font-weight:700;
  letter-spacing:4px;
  line-height:1;
}
.fol-brand-paris .fol-brand-line {
  display:block;
  width:44px;
  height:2px;
  background:#f4a640;
  opacity:.95;
}
.fol-brand-paris .fol-brand-mark {
  display:flex;
  gap:8px;
  margin-left:6px;
  transform:rotate(-7deg);
}
.fol-brand-paris .fol-brand-mark i {
  display:block;
  width:26px;
  height:4px;
  border-radius:999px;
}
.fol-brand-paris .fol-brand-mark i:nth-child(1){ background:#2f80ed; }
.fol-brand-paris .fol-brand-mark i:nth-child(2){ background:#fff; }
.fol-brand-paris .fol-brand-mark i:nth-child(3){ background:#eb5757; }
.sticky-wrapper.is-sticky .fol-brand-paris .fol-brand-french { color:#111; }
.sticky-wrapper.is-sticky .fol-brand-paris .fol-brand-online { color:#f4a640; }
.sticky-wrapper.is-sticky .fol-brand-paris .fol-brand-sub { color:#111; }
.site-blocks-cover { padding-top: 150px; min-height: 700px; }
.site-blocks-cover .section-eyebrow.text-white { display:none !important; }
.site-blocks-cover h1.hero-title {
  max-width: 760px;
  font-size: 3.35rem;
  line-height: 1.18;
  margin-bottom: 26px;
}
.hero-title .hero-static { display:block; color:#fff; }
.hero-title .hero-typed {
  display:block;
  color:#f4a640;
  font-size:.78em;
  line-height:1.15;
  min-height:1.15em;
  margin-top:10px;
}
.typed-cursor { color:#f4a640; font-size:.78em; }
.hero-sub { max-width: 760px; }
@media (max-width: 1399px) {
  .fol-brand-paris { min-width:270px; max-width:310px; }
  .fol-brand-paris .fol-brand-main { font-size:2.6rem; }
  .site-navbar .site-navigation .site-menu > li > a { padding-left:8px !important; padding-right:8px !important; font-size:14px; }
}
@media (max-width: 991.98px) {
  .site-blocks-cover { padding-top: 125px; min-height: 620px; }
  .site-blocks-cover h1.hero-title { font-size: 2.5rem; max-width: 640px; }
  .hero-title .hero-typed, .typed-cursor { font-size:.78em; }
}
@media (max-width: 767.98px) {
  .fol-brand-paris { min-width:220px; max-width:250px; }
  .fol-brand-paris .fol-brand-main { font-size:2.1rem; }
  .fol-brand-paris .fol-brand-sub { font-size:.55rem; letter-spacing:2.6px; }
  .fol-brand-paris .fol-brand-line { width:28px; }
  .fol-brand-paris .fol-brand-mark i { width:19px; height:3px; }
  .site-blocks-cover h1.hero-title { font-size: 2rem; }
}

/* v9: restore more elegant logo font and add breathing room above slideshow */
.fol-brand-paris {
  min-width: 285px;
  max-width: 335px;
  padding: 14px 0 10px 0;
}
.fol-brand-paris .fol-brand-main {
  font-family: 'Parisienne', 'Segoe Script', 'Brush Script MT', cursive !important;
  font-size: 3.25rem !important;
  font-weight: 400 !important;
  line-height: .88;
  letter-spacing: .2px;
}
.fol-brand-paris .fol-brand-row {
  margin-top: 9px;
}
.fol-brand-paris .fol-brand-sub {
  font-family: 'Quicksand', Arial, sans-serif !important;
  font-size: .72rem;
  letter-spacing: 3.8px;
}
.fol-brand-paris .fol-eiffel { display:none !important; }
.hero-sub {
  margin-bottom: 72px !important;
}
.hero-slider-wrap {
  margin-top: -95px !important;
}
.site-blocks-cover {
  min-height: 760px;
}
@media (max-width: 1399px) {
  .fol-brand-paris .fol-brand-main { font-size: 2.85rem !important; }
  .fol-brand-paris { min-width:260px; max-width:300px; }
}
@media (max-width: 991.98px) {
  .hero-sub { margin-bottom: 52px !important; }
  .hero-slider-wrap { margin-top: -70px !important; }
  .site-blocks-cover { min-height: 690px; }
}
@media (max-width: 767.98px) {
  .fol-brand-paris .fol-brand-main { font-size: 2.25rem !important; }
  .hero-sub { margin-bottom: 42px !important; }
  .hero-slider-wrap { margin-top: -45px !important; }
  .site-blocks-cover { min-height: 640px; }
}


/* v10: inline rotating phrase without blinking cursor */
.site-blocks-cover h1.hero-title {
  max-width: 960px;
}
.hero-title .hero-static { display:inline !important; }
.hero-title .hero-typed {
  display:inline !important;
  color:#f4a640;
  font-size:.78em;
  line-height:1.05;
  min-height:0 !important;
  margin-top:0 !important;
  white-space: nowrap;
}
.typed-cursor { display:none !important; }
@media (min-width: 992px) {
  .site-blocks-cover h1.hero-title { font-size: 3.1rem !important; line-height:1.18; }
}
@media (min-width: 1400px) {
  .site-blocks-cover h1.hero-title { font-size: 3.25rem !important; }
}
@media (max-width: 991.98px) {
  .site-blocks-cover h1.hero-title { font-size: 2.45rem !important; }
  .hero-title .hero-typed { font-size:.82em; }
}
@media (max-width: 575.98px) {
  .site-blocks-cover h1.hero-title { font-size: 1.95rem !important; }
  .hero-title .hero-typed { white-space: normal; }
}

/* v12: mobile headline stability fix — reserve space for rotating words */
@media (max-width: 575.98px) {
  .site-blocks-cover h1.hero-title {
    min-height: 235px !important;
    margin-bottom: 28px !important;
  }
  .hero-title .hero-typed {
    display: block !important;
    min-height: 1.25em !important;
    line-height: 1.15 !important;
    white-space: normal !important;
  }
  .hero-sub {
    margin-top: 0 !important;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .site-blocks-cover h1.hero-title {
    min-height: 205px !important;
    margin-bottom: 28px !important;
  }
  .hero-title .hero-typed {
    display: block !important;
    min-height: 1.25em !important;
    line-height: 1.15 !important;
  }
}


/* v15: stable rotating headline - fade whole phrase instead of typing letters */
.hero-title .hero-typed {
  display: inline-block !important;
  min-width: 9.5ch;
  opacity: 0;
  transition: opacity .3s ease;
  vertical-align: baseline;
}
.hero-title .hero-typed.is-visible {
  opacity: 1;
}
@media (max-width: 575.98px) {
  .site-blocks-cover h1.hero-title {
    min-height: 215px !important;
  }
  .hero-title .hero-typed {
    display: block !important;
    min-width: 0;
    min-height: 1.35em !important;
  }
}
@media (min-width: 576px) and (max-width: 767.98px) {
  .site-blocks-cover h1.hero-title {
    min-height: 195px !important;
  }
  .hero-title .hero-typed {
    display: block !important;
    min-width: 0;
    min-height: 1.35em !important;
  }
}

/* v16: mobile hero spacing fix - keep rotating word stable without creating a large empty gap */
@media (max-width: 575.98px) {
  .site-blocks-cover {
    padding-top: 110px !important;
    min-height: 0 !important;
    padding-bottom: 72px !important;
  }
  .site-blocks-cover h1.hero-title {
    min-height: 0 !important;
    margin-bottom: 22px !important;
    font-size: 1.82rem !important;
    line-height: 1.18 !important;
  }
  .hero-title .hero-typed {
    display: block !important;
    min-width: 0 !important;
    min-height: 1.28em !important;
    line-height: 1.15 !important;
    margin-top: 4px !important;
    white-space: normal !important;
  }
  .hero-sub {
    margin-top: 0 !important;
    margin-bottom: 30px !important;
    font-size: 1.15rem !important;
    line-height: 1.55 !important;
  }
  .site-blocks-cover .btn {
    display: inline-block !important;
    width: 100%;
    max-width: 360px;
    padding-top: 16px !important;
    padding-bottom: 16px !important;
  }
  .hero-slider-wrap {
    margin-top: -32px !important;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .site-blocks-cover {
    min-height: 0 !important;
    padding-bottom: 85px !important;
  }
  .site-blocks-cover h1.hero-title {
    min-height: 0 !important;
    margin-bottom: 24px !important;
    font-size: 2.15rem !important;
  }
  .hero-title .hero-typed {
    display: block !important;
    min-height: 1.25em !important;
  }
  .hero-sub {
    margin-bottom: 36px !important;
  }
}

/* v17: final mobile hero spacing fix */
@media (max-width: 767.98px) {
  .site-blocks-cover {
    padding-top: 92px !important;
    padding-bottom: 34px !important;
    min-height: auto !important;
  }

  .site-blocks-cover h1.hero-title {
    min-height: auto !important;
    margin-bottom: 18px !important;
  }

  .hero-title .hero-typed {
    min-height: 1.15em !important;
    margin-top: 2px !important;
    margin-bottom: 0 !important;
  }

  .hero-sub {
    margin-bottom: 22px !important;
  }

  .site-blocks-cover p:has(> a.btn),
  .site-blocks-cover .btn.btn-warning {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .site-blocks-cover .btn.btn-warning {
    width: 100% !important;
    max-width: 360px !important;
    margin: 0 0 0 0 !important;
    text-align: center !important;
  }

  .hero-slider-wrap {
    margin-top: 0 !important;
    padding-top: 0 !important;
    background: #fff !important;
  }

  .hero-slider-wrap .container,
  .hero-slider-wrap .row,
  .hero-slider-wrap .col-12,
  .hero-slider-wrap .owl-stage-outer,
  .hero-slider-wrap .owl-stage,
  .hero-slider-wrap .owl-item {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  .hero-slider-wrap .home-slider img {
    height: 300px !important;
    max-height: 300px !important;
    object-fit: cover !important;
    object-position: center center !important;
    background: transparent !important;
  }
}

@media (max-width: 420px) {
  .site-blocks-cover h1.hero-title {
    font-size: 1.72rem !important;
  }
  .hero-sub {
    font-size: 1.05rem !important;
    line-height: 1.48 !important;
  }
  .hero-slider-wrap .home-slider img {
    height: 280px !important;
  }
}

/* v20: tightened mobile header-to-hero spacing */
/* v18: mobile hero final compact layout - no forced viewport height, no white gap, button visible */
@media (max-width: 767.98px) {
  .site-blocks-cover,
  .site-blocks-cover > .container > .row {
    height: auto !important;
    min-height: 0 !important;
  }

  .site-blocks-cover.overflow-hidden {
    overflow: visible !important;
  }

  .site-blocks-cover {
    padding-top: 34px !important;
    padding-bottom: 28px !important;
  }

  .site-blocks-cover h1.hero-title {
    min-height: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 18px !important;
    font-size: 1.95rem !important;
    line-height: 1.18 !important;
  }

  .hero-title .hero-typed {
    display: block !important;
    min-height: 1.25em !important;
    line-height: 1.15 !important;
    margin-top: 4px !important;
    margin-bottom: 0 !important;
    white-space: normal !important;
  }

  .hero-sub {
    margin-top: 0 !important;
    margin-bottom: 22px !important;
    font-size: 1.08rem !important;
    line-height: 1.48 !important;
  }

  .site-blocks-cover p:last-child,
  .site-blocks-cover p:has(> a.btn) {
    margin-bottom: 0 !important;
  }

  .site-blocks-cover .btn.btn-warning {
    display: block !important;
    width: 100% !important;
    max-width: 360px !important;
    margin: 0 0 0 0 !important;
    padding: 14px 20px !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .hero-slider-wrap {
    margin-top: 0 !important;
    padding-top: 0 !important;
    background: #fff !important;
  }
}

@media (max-width: 420px) {
  .site-blocks-cover {
    padding-top: 28px !important;
    padding-bottom: 24px !important;
  }
  .site-blocks-cover h1.hero-title {
    font-size: 1.75rem !important;
  }
  .hero-sub {
    font-size: 1.02rem !important;
    line-height: 1.45 !important;
  }
}


/* v19: mobile header clearance - prevent hero text from sitting under the large logo/header */
@media (max-width: 767.98px) {
  .site-blocks-cover {
    padding-top: 185px !important;
    padding-bottom: 28px !important;
  }
  .site-navbar {
    min-height: 155px;
  }
}

@media (max-width: 420px) {
  .site-blocks-cover {
    padding-top: 175px !important;
    padding-bottom: 24px !important;
  }
  .site-navbar {
    min-height: 150px;
  }
}

.fol-card .female-teacher-icon { font-size:0; color:var(--fol-blue); line-height:1; margin-bottom:18px; }
.fol-card .female-teacher-icon svg { width:52px; height:52px; display:block; }


/* v23 refinements: consistent feature-card icon spacing */
.feature-card i, .service-card i, .about-card i, .icon-card i, .feature-box i, .services-item i {
    display:block;
    width:64px;
    height:64px;
    line-height:64px;
    margin:0 0 22px 0 !important;
    text-align:left;
}
.feature-card h3, .service-card h3, .about-card h3, .icon-card h3, .feature-box h3, .services-item h3 {
    margin-top:0 !important;
}
.female-teacher-icon, .real-teacher-icon {
    width:64px !important;
    height:64px !important;
    margin-bottom:22px !important;
    display:block;
}
@media (max-width:768px){
    .feature-card i, .service-card i, .about-card i, .icon-card i, .feature-box i, .services-item i,
    .female-teacher-icon, .real-teacher-icon {
        width:58px !important;
        height:58px !important;
        line-height:58px !important;
        margin-bottom:18px !important;
    }
}


/* v24: equal spacing between feature icons and card headings */
.fol-card .icon {
    display: block !important;
    width: 64px !important;
    height: 64px !important;
    line-height: 64px !important;
    margin: 0 0 34px 0 !important;
    padding: 0 !important;
    text-align: left !important;
}
.fol-card .icon svg {
    display: block !important;
    width: 58px !important;
    height: 58px !important;
}
.fol-card .icon span {
    display: block !important;
    width: 64px !important;
    height: 64px !important;
    line-height: 64px !important;
    font-size: 58px !important;
}
.fol-card h4 {
    margin-top: 0 !important;
    clear: both !important;
}
@media (max-width: 768px) {
    .fol-card .icon {
        width: 58px !important;
        height: 58px !important;
        line-height: 58px !important;
        margin-bottom: 30px !important;
    }
    .fol-card .icon svg {
        width: 52px !important;
        height: 52px !important;
    }
    .fol-card .icon span {
        width: 58px !important;
        height: 58px !important;
        line-height: 58px !important;
        font-size: 52px !important;
    }
}


/* v27 testimonials: keep original carousel/speech-box styling but remove fake photos */
#testimonials-section figure,
#testimonials-section img {
  display: none !important;
}
#testimonials-section .block-testimony-1 h3 {
  margin-top: 28px !important;
}
#testimonials-section .block-testimony-1 blockquote p {
  max-height: none !important;
}


/* v30: add a little breathing room above the logo without resizing/redesigning */
.sticky-wrapper:not(.is-sticky) .site-navbar {
  padding-top: 18px !important;
}


/* Fix hero typed word size */
.hero-title .hero-typed,
.hero-title .typed-cursor{
  font-size: 1em !important;
  line-height: inherit !important;
}
