/* ==========================================================================
   LearnX Eduservices: site design layer
   Flat colour, thin rules, no gradients / glows / blur.
   Loaded after the theme stylesheet on every page. Rules are prefixed with
   `body` where they need to win over the page-level <style> blocks.
   ========================================================================== */

:root {
  /* Brand */
  --lx-green: #12b52c;        /* LearnX logo green */
  --lx-green-dark: #0e9a24;
  --lx-green-tint: #e8f8eb;
  --lx-blue: #0b5aa6;
  --lx-navy: #14183a;
  --lx-sun: #f2a516;

  /* Neutrals */
  --lx-ink: #14183a;
  --lx-text: #474c5a;
  --lx-muted: #6b7080;
  --lx-line: #e1e3e8;
  --lx-line-dark: #c8ccd5;
  --lx-paper: #f6f5f0;        /* warm off-white for alternate sections */
  --lx-white: #ffffff;

  --lx-radius: 8px;
  --lx-radius-sm: 6px;

  --lx-font-head: "Plus Jakarta Sans", "DM Sans", system-ui, sans-serif;
  --lx-font-body: "DM Sans", system-ui, sans-serif;

  /* Re-point the theme's own variables at the brand */
  --theme-color1: var(--lx-navy);
  --theme-color2: var(--lx-green);
  --theme-color3: var(--lx-blue);
  --theme-color4: var(--lx-sun);
  --theme-color5: #c8423a;
  --text-color: var(--lx-text);
  --headings-color: var(--lx-ink);
  --title-font: var(--lx-font-head);
  --text-font: var(--lx-font-body);
  --body-font-size: 17px;
  --body-line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
html { scroll-behavior: smooth; }

body {
  font-family: var(--lx-font-body);
  color: var(--lx-text);
  background: var(--lx-white);
  -webkit-font-smoothing: antialiased;
}

body h1, body h2, body h3, body h4, body h5, body h6 {
  font-family: var(--lx-font-head);
  color: var(--lx-ink);
  letter-spacing: -0.01em;
}

body p { color: var(--lx-text); }
body .text-muted { color: var(--lx-muted) !important; }
body .text-success { color: var(--lx-green) !important; }
body .text-warning { color: #a86500 !important; }

::selection { background: #c4efcc; color: var(--lx-ink); }

/* --------------------------------------------------------------------------
   Building blocks
   -------------------------------------------------------------------------- */
/* Section label: tinted pill with a dot */
.lx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--lx-green-tint);
  font-family: var(--lx-font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lx-green-dark);
  line-height: 1.4;
}
.lx-eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--lx-green);
  box-shadow: 0 0 0 4px rgba(18, 181, 44, .2);
}
.lx-eyebrow--sun { background: #fff3da; color: #8a5400; }
.lx-eyebrow--sun::before { background: var(--lx-sun); box-shadow: 0 0 0 4px rgba(242, 165, 22, .22); }
.lx-eyebrow--blue { background: #e8f0fa; color: #08498a; }
.lx-eyebrow--blue::before { background: var(--lx-blue); box-shadow: 0 0 0 4px rgba(11, 90, 166, .18); }
.lx-eyebrow--light { background: rgba(255, 255, 255, .14); color: #fff; }
.lx-eyebrow--light::before { background: #b7f06a; box-shadow: 0 0 0 4px rgba(183, 240, 106, .25); }

.lx-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.lx-head .lx-eyebrow { margin-bottom: 16px; }
.lx-head h2,
.lx-title {
  font-family: var(--lx-font-head);
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.18;
  font-weight: 800;
  color: var(--lx-ink);
  margin: 0 0 16px;
}
.lx-head p { font-size: 18px; line-height: 1.7; color: var(--lx-text); margin: 0; }

/* Accent words in headings: brand gradient (logo green → blue) */
.lx-hl {
  color: var(--lx-green);
  background: linear-gradient(100deg, #13b02f 0%, #0e9a4a 45%, var(--lx-blue) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
  padding-bottom: .06em;
}
.lx-hl--blue { background-image: linear-gradient(100deg, var(--lx-blue) 0%, #0e7fa0 55%, #13a538 100%); }

.lx-section { position: relative; padding: 100px 0; overflow: hidden; overflow: clip; }

/* `clip` hides sideways overflow without breaking position: sticky */
body .page-wrapper { overflow: hidden; overflow: clip; }

/* --------------------------------------------------------------------------
   Scroll reveals (driven by assets/js/learnx-motion.js)
   Uses the individual translate / scale properties so element hover
   transforms keep working.
   -------------------------------------------------------------------------- */
.lx-motion [data-reveal]:not(.is-done) {
  transition:
    opacity .8s ease var(--d, 0s),
    translate 1s cubic-bezier(.2, .7, .2, 1) var(--d, 0s),
    scale 1s cubic-bezier(.2, .7, .2, 1) var(--d, 0s);
}
.lx-motion [data-reveal]:not(.is-in) { opacity: 0; }
.lx-motion [data-reveal="up"]:not(.is-in)    { translate: 0 56px; }
.lx-motion [data-reveal="down"]:not(.is-in)  { translate: 0 -56px; }
.lx-motion [data-reveal="left"]:not(.is-in)  { translate: -90px 0; }
.lx-motion [data-reveal="right"]:not(.is-in) { translate: 90px 0; }
.lx-motion [data-reveal="zoom"]:not(.is-in)  { scale: .86; }

/* Small continuous touches */
.lx-eyebrow::before { animation: lx-dot 2.4s ease-in-out infinite; }
@keyframes lx-dot { 0%, 100% { scale: 1; } 50% { scale: 1.35; } }
.lx-hl { background-size: 200% 100%; animation: lx-sheen 8s ease-in-out infinite alternate; }
@keyframes lx-sheen { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.lx-section--cream { background: var(--lx-paper); }
.lx-section--mist { background: var(--lx-paper); }

/* Buttons --------------------------------------------------------------- */
.lx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--lx-radius-sm);
  font-family: var(--lx-font-head);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: none;
  border: 2px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s;
  cursor: pointer;
}
.lx-btn i { font-size: 14px; transition: transform .25s; }
.lx-btn:hover i.fa-arrow-right { transform: translateX(4px); }
.lx-btn--primary { background: var(--lx-green); border-color: var(--lx-green); color: #fff !important; }
.lx-btn--primary:hover { background: var(--lx-green-dark); border-color: var(--lx-green-dark); }
.lx-btn--ghost { background: transparent; color: var(--lx-ink) !important; border-color: var(--lx-ink); }
.lx-btn--ghost:hover { background: var(--lx-ink); color: #fff !important; }
.lx-btn--sun { background: var(--lx-sun); border-color: var(--lx-sun); color: var(--lx-navy) !important; }
.lx-btn--sun:hover { background: #ffb933; border-color: #ffb933; }
.lx-btn--outline-light { color: #fff !important; border-color: rgba(255,255,255,.5); }
.lx-btn--outline-light:hover { background: #fff; color: var(--lx-navy) !important; border-color: #fff; }

/* Theme buttons */
body .theme-btn.btn-style-one,
body .btn-style-one {
  border-radius: var(--lx-radius-sm);
  background: var(--lx-green);
  color: #fff;
  font-family: var(--lx-font-head);
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: none;
}
body .theme-btn.btn-style-one:hover { color: #fff; }
body .theme-btn.btn-style-one::before { background: var(--lx-navy); }

body .btn-success {
  background: var(--lx-green);
  border-color: var(--lx-green);
  border-radius: var(--lx-radius-sm);
  font-weight: 600;
}
body .btn-success:hover { background: var(--lx-green-dark); border-color: var(--lx-green-dark); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
body .main-header {
  background: #fff;
  border-bottom: 1px solid var(--lx-line);
  box-shadow: none;
}
body .main-header .main-box { box-shadow: none; }
body .main-header .main-box { padding-top: 6px; padding-bottom: 6px; }
body .main-header .logo img { max-height: 64px; width: auto; }

body .main-menu .navigation > li > a {
  font-family: var(--lx-font-head);
  font-weight: 600;
  font-size: 16px;
  color: var(--lx-ink);
}
body .main-menu .navigation > li > a:hover,
body .main-menu .navigation > li.current > a { color: var(--lx-green); }

body .main-menu .navigation > li > ul {
  border-radius: var(--lx-radius);
  padding: 8px;
  border: 1px solid var(--lx-line);
  box-shadow: 0 8px 20px rgba(20, 24, 58, .08);
  background: #fff;
}
body .main-menu .navigation > li > ul > li > a { border-radius: 4px; font-weight: 500; color: var(--lx-ink); }
body .main-menu .navigation > li > ul > li > a:hover { background: var(--lx-green-tint); color: var(--lx-green-dark); }

body .main-header .outer-box .theme-btn { background: var(--lx-navy); box-shadow: none; }

body .sticky-header {
  background: #fff;
  border-bottom: 1px solid var(--lx-line);
  box-shadow: none;
}
body .mobile-menu .menu-box { background: var(--lx-navy); }

/* --------------------------------------------------------------------------
   Inner page banner: photo with a flat navy tint
   -------------------------------------------------------------------------- */
body .page-title {
  position: relative;
  padding: 110px 0 110px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  isolation: isolate;
}
body .page-title::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--lx-navy);
  opacity: .78;
  z-index: -1;
}
body .page-title::after { display: none; }
body .page-title .title-outer { position: relative; z-index: 1; text-align: center; }
body .page-title .title,
body .page-title h1 {
  color: #fff;
  font-size: clamp(36px, 4.4vw, 56px);
  font-weight: 800;
  margin-bottom: 14px;
}
body .page-title .page-breadcrumb { display: inline-flex; align-items: center; gap: 4px; }
body .page-title .page-breadcrumb li,
body .page-title .page-breadcrumb li a { color: rgba(255,255,255,.75); font-size: 15px; font-weight: 500; }
body .page-title .page-breadcrumb li a:hover { color: #fff; text-decoration: underline; }
body .page-title .page-breadcrumb li:last-child { color: #fff; font-weight: 700; }

/* The theme pads every `section > .container` by 120px; these sections
   already carry their own padding, so drop the doubled-up spacing. */
body .pedagogy-section > .container,
body .blog-section > .container,
body .finnish-pedagogy-section > .container,
body .solution-support-section > .container,
body .review-section > .container,
body .testimonials-section > .container,
body .courses-section-two > .container,
body .extended-growth-section > .container,
body .program-section > .container { padding-top: 0; padding-bottom: 0; }

/* --------------------------------------------------------------------------
   Theme section titles (inner pages)
   -------------------------------------------------------------------------- */
body .sec-title h2,
body .pedagogy-title,
body .approaches-title,
body .section-title,
body .fp-title,
body h2.fw-bold.text-success {
  font-family: var(--lx-font-head);
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 800;
  line-height: 1.18;
  color: var(--lx-ink) !important;
  text-transform: none;
  letter-spacing: -0.01em;
}
body .sec-title .sub-title,
body .sec-title h5.sub-title {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--lx-green-tint);
  color: var(--lx-green-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
body .sec-title .sub-title:empty { display: none; }
body .sec-title .text,
body .pedagogy-subtitle,
body .approaches-subtitle,
body .section-subtitle { font-size: 17px; line-height: 1.7; color: var(--lx-text); }

/* --------------------------------------------------------------------------
   Cards: one flat card style everywhere
   -------------------------------------------------------------------------- */
body .course-block-two .inner-box,
body .solution-card,
body .pedagogy-card,
body .review-card,
body .testimonial-card,
body .feature-block-two .inner-box,
body .timeline-content,
body .single-blog {
  background: #fff;
  border: 1px solid var(--lx-line);
  border-radius: var(--lx-radius);
  box-shadow: none;
  transition: border-color .2s;
}
body .course-block-two .inner-box:hover,
body .solution-card:hover,
body .pedagogy-card:hover,
body .review-card:hover,
body .testimonial-card:hover,
body .feature-block-two .inner-box:hover,
body .single-blog:hover {
  transform: none;
  translate: none;
  box-shadow: none;
  border-color: var(--lx-line-dark);
}

/* Pedagogy page */
body .pedagogy-section { padding: 90px 0 70px; background: var(--lx-paper); }
body .pedagogy-section::before,
body .pedagogy-section::after,
body .pedagogy-section .container::before,
body .pedagogy-section .container::after { display: none; }
body .pedagogy-card { height: 100%; overflow: hidden; }
body .pedagogy-card::after { display: none; }
body .pedagogy-img { height: 230px; border-radius: 0; }
body .pedagogy-body { padding: 26px 26px 30px; }
body .pedagogy-card-title { color: var(--lx-ink); font-size: 20px; font-weight: 800; }
body .pedagogy-body p { font-size: 16px; line-height: 1.7; }

/* LearnX Edge page */
body .courses-section-two { background: var(--lx-paper); padding: 90px 0 !important; }
body .courses-section-two::before,
body .courses-section-two .bg-image,
body .courses-section-two .bg-pattern { display: none; }
body .course-block-two { margin-bottom: 30px; }
body .course-block-two .inner-box { padding: 12px 12px 24px; overflow: hidden; height: 100%; }
body .course-block-two .image-box { overflow: hidden; border-radius: 4px; }
body .course-block-two .image-box img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
body .course-block-two .content-box .title { color: var(--lx-ink); font-weight: 800; font-size: 19px; }
body .course-block-two .btn {
  background: transparent;
  color: var(--lx-green);
  border: 2px solid var(--lx-green);
  border-radius: var(--lx-radius-sm);
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  padding: 8px 20px;
}
body .course-block-two .btn:hover { background: var(--lx-green); color: #fff; }

/* Solution & Support */
body .solution-support-section { background: var(--lx-paper); padding: 90px 0 !important; overflow: hidden; overflow: clip; }
body .solution-card {
  padding: 28px;
  align-items: flex-start !important;
  gap: 22px;
  height: 100%;
}
body .solution-card .icon-box {
  width: 96px; height: 96px;
  margin-right: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: none;
  flex-shrink: 0;
}
body .solution-card .icon-box img { width: 96px; height: 96px; object-fit: contain; }
body .solution-card .content-box h5 {
  color: var(--lx-ink) !important;
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.35;
}
body .solution-card .content-box p { font-size: 16px !important; line-height: 1.7; }

/* Reviews & testimonials */
body .review-section,
body .testimonials-section { padding: 90px 0 !important; }
body .review-section { background: #fff; }
body .testimonials-section { background: var(--lx-paper); }
body .review-card,
body .testimonial-card {
  position: relative;
  padding: 34px 32px 30px !important;
  text-align: left !important;
  margin: 4px 2px 24px;
}
body .review-card::before,
body .testimonial-card::before {
  content: "\201C";
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 56px;
  line-height: .8;
  height: 30px;
  color: var(--lx-green);
  margin-bottom: 10px;
}
body .review-card p,
body .testimonial-card p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--lx-ink) !important;
}
body .review-card h5,
body .testimonial-card h5 { color: var(--lx-ink) !important; font-size: 17px; margin-bottom: 2px; }
body .review-card span,
body .testimonial-card span { color: var(--lx-muted) !important; font-size: 14px; font-weight: 500; }
body .review-image,
body .testimonial-image {
  width: 52px !important; height: 52px !important;
  margin: 0 !important;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--lx-line) !important;
  background: var(--lx-paper);
  flex-shrink: 0;
}
/* Show the whole figure (the avatars are tall portraits): fit inside, sit on the bottom edge */
body .review-image img,
body .testimonial-image img {
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  border-radius: 0 !important;
  object-fit: contain;
  object-position: center bottom;
  padding: 9px 9px 0;
  box-sizing: border-box;
}
body .testimonial-card { max-width: 820px; margin-left: auto; margin-right: auto; }

/* Testimonial page cards (avatar is a direct child): quote first, then avatar beside name/role */
body .testimonial-card:has(> .testimonial-image) {
  display: grid;
  grid-template-columns: 52px 1fr;
  column-gap: 14px;
  align-items: center;
}
body .testimonial-card:has(> .testimonial-image)::before { grid-column: 1 / -1; grid-row: 1; }
body .testimonial-card:has(> .testimonial-image) > p { grid-column: 1 / -1; grid-row: 2; margin: 0 0 22px !important; }
body .testimonial-card:has(> .testimonial-image) > .testimonial-image { grid-column: 1; grid-row: 3 / span 2; }
body .testimonial-card:has(> .testimonial-image) > h5 { grid-column: 2; grid-row: 3; margin: 0 !important; align-self: end; }
body .testimonial-card:has(> .testimonial-image) > span { grid-column: 2; grid-row: 4; align-self: start; }

body .owl-carousel .owl-nav button.owl-prev,
body .owl-carousel .owl-nav button.owl-next {
  background: #fff !important;
  color: var(--lx-ink) !important;
  border: 1px solid var(--lx-line) !important;
  width: 44px; height: 44px;
  border-radius: 50%;
  box-shadow: none;
}
body .owl-carousel .owl-nav button:hover { background: var(--lx-ink) !important; color: #fff !important; border-color: var(--lx-ink) !important; }
body .owl-theme .owl-dots .owl-dot span { width: 9px; height: 9px; background: #cfd3db; margin: 4px 5px; }
body .owl-theme .owl-dots .owl-dot.active span { background: var(--lx-green); }

/* Approaches page: flat background, no particle network / glowing circles */
body .approaches-classy {
  padding: 90px 20px;
  font-family: var(--lx-font-body);
  background: var(--lx-paper);
  animation: none;
}
body .approaches-classy::before,
body .approaches-classy #particles-js,
body .approaches-classy .background-animated-layer { display: none; }
body .approaches-subtitle { margin-bottom: 50px; }
body .approaches-cards { gap: 24px; }
body .flip-card { width: 340px; height: 320px; margin: 0; animation: none; }
body .flip-front,
body .flip-back {
  border-radius: var(--lx-radius);
  border: 1px solid var(--lx-line);
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
body .flip-front { background: #fff; flex-direction: column; gap: 16px; }
body .flip-back { background: var(--lx-navy); border-color: var(--lx-navy); }
body .flip-back h4 { color: #fff; font-size: 18px; }
body .flip-back p { color: rgba(255,255,255,.85); font-size: 15px; line-height: 1.7; }
body .flip-content { max-height: 200px; }
body .approach-icon-circle { width: 64px; height: 64px; border-radius: 50%; background: var(--lx-green); }
body .approach-icon-circle::before { display: none; }
body .approach-icon-circle i { color: #fff; font-size: 26px; }
body .approach-title-front { color: var(--lx-ink); font-family: var(--lx-font-head); font-size: 19px; font-weight: 800; line-height: 1.35; margin: 0; }
body .flip-front::after {
  content: "Hover to read more";
  font-size: 13px;
  font-weight: 600;
  color: var(--lx-muted);
}

/* Timelines (About, Our Pathway) */
body .timeline-content { padding: 26px 28px; }
body .timeline-title { color: var(--lx-ink); font-weight: 800; }

/* Blog listing */
body .blog-section { padding: 90px 0 70px !important; background: var(--lx-paper); }
body .blog-section .section-title { text-align: center; max-width: 720px; margin: 0 auto 46px; }
body .blog-section .section-title p { font-size: 17px; color: var(--lx-text); margin-top: 10px; }
body .blog-section .row > [class*="col-"] { margin-bottom: 30px; }
body .single-blog { height: 100%; display: flex; flex-direction: column; overflow: hidden; }
body .single-blog > br { display: none; }
body .single-blog .blog-image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
body .single-blog .blog-content { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
body .single-blog .blog-content h5 { font-size: 19px; font-weight: 800; line-height: 1.35; margin-bottom: 10px; }
body .single-blog .blog-content h5 a { color: var(--lx-ink); }
body .single-blog .blog-content h5 a:hover { color: var(--lx-green); }
body .single-blog .blog-content p { font-size: 15.5px; line-height: 1.7; margin-bottom: 16px; }
body .single-blog .read-more { margin-top: auto; align-self: flex-start; font-weight: 700; color: var(--lx-green); text-decoration: underline; text-underline-offset: 4px; }

/* Theme decorations removed: floating doodles, glow images, watermark icons */
body .anim-icons,
body .icons-box,
body .float-icon { display: none !important; }
body .about-section-three .image-column .inner-column::before { display: none; }
body .about-section-three .image-column .author-info {
  box-shadow: none;
  border: 1px solid var(--lx-line);
  border-radius: var(--lx-radius);
  padding: 18px 28px;
}
body .about-section-three .image-column .author-info .designation { color: var(--lx-green); font-size: 16px; }
body .about-section-four { background-color: var(--lx-paper); }
body .about-section-four::before { display: none; }
body .about-section-four .image-column .caption-box { background: var(--lx-navy); border-radius: 0; box-shadow: none; }
body .event-block .inner-box { box-shadow: none; border: 1px solid var(--lx-line); border-radius: var(--lx-radius); }
body .event-block .inner-box::before { display: none; }
body .event-block .inner-box:hover { transform: none; box-shadow: none; border-color: var(--lx-line-dark); }
body .event-block .image-box .date { background: var(--lx-green); box-shadow: none; }
body .read-more-btn { background: var(--lx-green) !important; border-radius: var(--lx-radius-sm) !important; box-shadow: none !important; }
body .feature-block-two .inner-box { box-shadow: none; }
body .counter-block .counter-title { background: none; padding: 4px 0 0; }
body .counter-block .inner:hover .counter-title { background: none; color: var(--lx-muted); }

/* Lists with check icons */
body .list-style-one li .icon,
body .list-style-two li .icon { color: var(--lx-green); }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
body input[type="text"],
body input[type="email"],
body input[type="tel"],
body input[type="search"],
body textarea,
body select {
  border-radius: var(--lx-radius-sm) !important;
  border: 1px solid var(--lx-line-dark) !important;
  background: #fff !important;
  font-family: var(--lx-font-body);
}
body input:focus,
body textarea:focus,
body select:focus {
  outline: none;
  border-color: var(--lx-green) !important;
  box-shadow: 0 0 0 3px rgba(18, 181, 44, .18) !important;
}
body .contact-details__info li .icon,
body .contact-details__info .icon { border-radius: var(--lx-radius-sm); background: var(--lx-green); }

/* Counters (theme version used on inner pages) */
body .counter-block .inner { border-radius: var(--lx-radius); border: 1px solid var(--lx-line); box-shadow: none; }
body .counter-block .inner:hover { transform: none; }
body .counter-block .count-box { font-family: var(--lx-font-head); font-weight: 800; }

/* --------------------------------------------------------------------------
   FAQ accordion
   -------------------------------------------------------------------------- */
body .accordion-box .block {
  border-radius: var(--lx-radius);
  border: 1px solid var(--lx-line);
  background: #fff;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: none;
}
body .accordion-box .block.active-block { border-color: var(--lx-green); }
body .accordion-box .block .acc-btn {
  font-family: var(--lx-font-head);
  font-weight: 700;
  font-size: 18px;
  color: var(--lx-ink);
  background: #fff;
  padding: 20px 60px 20px 24px;
}
body .accordion-box .block .acc-btn.active { color: var(--lx-green); }
body .accordion-box .block .acc-btn .icon {
  top: 50%; margin-top: -15px;
  width: 30px; height: 30px; line-height: 30px;
  right: 18px;
  background: none;
  color: var(--lx-ink);
  display: flex; align-items: center; justify-content: center;
  transition: transform .25s;
}
body .accordion-box .block .acc-btn.active .icon { transform: rotate(180deg); }
body .accordion-box .block .acc-btn.active .icon::before { color: var(--lx-green); }
body .accordion-box .block .acc-content { background: #fff; }
body .accordion-box .block .acc-content .content { padding: 0 24px 22px; }
body .accordion-box .block .acc-content .text { font-size: 16px; line-height: 1.7; color: var(--lx-text); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
body .main-footer {
  position: relative;
  margin-top: 0 !important;
  background: var(--lx-navy);
}
body .main-footer > .bg-image { display: none; }
body .main-footer .widgets-section { padding: 80px 0 40px; position: relative; z-index: 1; }
body .main-footer .widget-title { color: #fff; font-size: 17px; font-weight: 700; margin-bottom: 22px; }
body .main-footer .user-links li a,
body .main-footer .contact-info li,
body .main-footer .contact-info li a { color: rgba(255,255,255,.72); }
body .main-footer .user-links li a:hover,
body .main-footer .contact-info li a:hover { color: #fff; text-decoration: underline; }
body .main-footer .contact-info li i { color: #12b52c; }
body .main-footer .social-icon-two li a { background: rgba(255,255,255,.08); color: #fff; border-radius: 50%; }
body .main-footer .social-icon-two li a:hover { background: var(--lx-green); }
body .main-footer .subscribe-form .form-group input {
  background: transparent !important;
  border-color: rgba(255,255,255,.25) !important;
  color: #fff;
}
body .main-footer .subscribe-form .form-group input::placeholder { color: rgba(255,255,255,.55); }
body .main-footer .subscribe-form .theme-btn { background: var(--lx-green) !important; border-radius: var(--lx-radius-sm); }
body .main-footer .footer-bottom { border-top: 1px solid rgba(255,255,255,.1); position: relative; z-index: 1; }
body .main-footer .copyright-text { color: rgba(255,255,255,.55); }

/* Pre-footer call-to-action band (shared on every page) */
.lx-cta { position: relative; padding: 90px 0 90px; }
.lx-section:not(.lx-section--cream):not(.lx-section--mist) + .lx-cta { padding-top: 0; }
.lx-cta__box {
  border-radius: var(--lx-radius);
  padding: 56px 60px;
  background: var(--lx-green);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}
.lx-cta__box .lx-eyebrow--light { color: #d6f0dc; }
.lx-cta__box h2 { color: #fff; font-size: clamp(28px, 3vw, 38px); font-weight: 800; line-height: 1.2; margin: 12px 0 12px; }
.lx-cta__box p { color: rgba(255,255,255,.88); font-size: 17px; margin: 0; max-width: 560px; }
.lx-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.lx-cta__box .lx-btn--sun { background: #fff; border-color: #fff; color: var(--lx-green-dark) !important; }
.lx-cta__box .lx-btn--sun:hover { background: var(--lx-navy); border-color: var(--lx-navy); color: #fff !important; }

/* --------------------------------------------------------------------------
   Welcome popup
   -------------------------------------------------------------------------- */
/* Bottom-right stack: scroll-to-top at the bottom, WhatsApp (contact page) above it,
   the owl above both. The owl is small and animated; its message bubble opens
   above it (driven by learnx-motion.js: opens once, closes itself, click owl to reopen). */
body .cartoon-popup {
  left: auto !important;
  right: 16px !important;
  bottom: 70px !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
  animation: lx-owl-in .8s cubic-bezier(.3, 1.5, .5, 1) 1s both !important;
}
body:has(.float) .cartoon-popup { bottom: 140px !important; }
body .float { right: 20px !important; bottom: 72px !important; width: 56px !important; height: 56px !important; }

body .cartoon-container { position: relative; padding: 0 !important; margin: 0 !important; display: block !important; }
body .cartoon-character { margin: 0 !important; text-align: center; }
body .cartoon-character img {
  width: 76px !important;
  cursor: pointer;
  transform-origin: 50% 90%;
  animation: lx-owl-idle 5s ease-in-out infinite !important;
  filter: drop-shadow(0 6px 6px rgba(20, 24, 58, .18));
}
body .cartoon-popup.is-open .cartoon-character img { animation: lx-owl-talk 1.4s ease-in-out infinite !important; }

/* Small "Hi!" badge on the owl while the message is closed */
body .cartoon-character { position: relative; }
body .cartoon-character::after {
  content: "Hi!";
  position: absolute;
  top: -4px; left: -10px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--lx-sun);
  color: var(--lx-navy);
  font-family: var(--lx-font-head);
  font-size: 12px; font-weight: 800;
  animation: lx-hi 2.4s ease-in-out infinite;
  transition: opacity .3s, scale .3s;
}
body .cartoon-popup.is-open .cartoon-character::after { opacity: 0; scale: 0; }

/* Message bubble */
body .cartoon-info {
  display: block !important;
  position: absolute;
  right: 0;
  bottom: calc(100% + 14px);
  width: 260px;
  padding: 20px 20px 18px !important;
  text-align: left !important;
  background: #fff;
  border: 1px solid var(--lx-line);
  border-radius: 14px;
  box-shadow: 0 14px 34px -12px rgba(20, 24, 58, .28);
  transform-origin: 85% 100%;
  opacity: 0;
  scale: .4;
  translate: 0 20px;
  pointer-events: none;
  transition: opacity .3s, scale .45s cubic-bezier(.3, 1.5, .5, 1), translate .45s cubic-bezier(.3, 1.5, .5, 1);
}
body .cartoon-info::after {           /* tail pointing at the owl */
  content: "";
  position: absolute;
  right: 30px; bottom: -8px;
  width: 14px; height: 14px;
  background: #fff;
  border-right: 1px solid var(--lx-line);
  border-bottom: 1px solid var(--lx-line);
  rotate: 45deg;
}
body .cartoon-popup.is-open .cartoon-info { opacity: 1; scale: 1; translate: 0 0; pointer-events: auto; }
body .cartoon-info h4 { color: var(--lx-ink); font-weight: 800; font-size: 18px !important; margin-bottom: 6px !important; }
body .cartoon-info p { line-height: 1.6; font-size: 14px !important; margin-bottom: 14px !important; }
body .cartoon-info .btn { background: var(--lx-green); border: 0; border-radius: var(--lx-radius-sm); padding: 8px 22px; font-weight: 700; }
body .cartoon-info .btn:hover { background: var(--lx-green-dark); }

@keyframes lx-owl-in { from { opacity: 0; translate: 0 60px; scale: .6; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes lx-owl-idle {
  0%, 100% { transform: translateY(0) rotate(0); }
  20% { transform: translateY(-6px) rotate(0); }
  40% { transform: translateY(0) rotate(0); }
  48% { transform: rotate(-9deg); }
  56% { transform: rotate(8deg); }
  64% { transform: rotate(0); }
}
@keyframes lx-owl-talk { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg) translateY(-3px); } }
@keyframes lx-hi { 0%, 100% { translate: 0 0; } 50% { translate: 0 -4px; } }

body .scroll-to-top { background: var(--lx-green); border-radius: var(--lx-radius-sm); box-shadow: none; color: #fff; }

/* ==========================================================================
   HOME PAGE
   ========================================================================== */

/* Hero ------------------------------------------------------------------ */
.lx-hero { position: relative; padding: 80px 0 100px; background: var(--lx-paper); }
.lx-hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: center;
}
.lx-hero__content .lx-eyebrow { margin-bottom: 18px; }
.lx-hero h1 {
  font-size: clamp(38px, 4.6vw, 58px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--lx-ink);
  margin: 0 0 22px;
}
.lx-hero__lead { font-size: 19px; line-height: 1.7; color: var(--lx-text); max-width: 560px; margin: 0 0 32px; }
.lx-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.lx-hero__badges {
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  list-style: none; padding: 22px 0 0; margin: 0;
  border-top: 1px solid var(--lx-line-dark);
}
.lx-hero__badges li { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--lx-ink); }
.lx-hero__badges li i { color: var(--lx-green); font-size: 13px; }

.lx-hero { overflow: hidden; }
.lx-hero .auto-container { position: relative; z-index: 1; }

/* Loose flat shapes drifting in the background */
.lx-hero__shape { position: absolute; pointer-events: none; z-index: 0; }
.lx-hero__shape--ring {
  width: 120px; height: 120px;
  left: -40px; top: 90px;
  border: 14px solid #dbeadf;
  border-radius: 50%;
  animation: lx-drift 16s ease-in-out infinite;
}
.lx-hero__shape--dot {
  width: 22px; height: 22px;
  left: 44%; top: 70px;
  border-radius: 50%;
  background: var(--lx-sun);
  animation: lx-drift 12s ease-in-out infinite reverse;
}
.lx-hero__shape--square {
  width: 26px; height: 26px;
  left: 40%; bottom: 70px;
  border: 4px solid var(--lx-blue);
  border-radius: 4px;
  opacity: .5;
  animation: lx-spin 22s linear infinite;
}

/* Media: morphing flat blob + photo + floating chips */
.lx-hero__media { position: relative; min-height: 540px; }
.lx-hero__dots {
  position: absolute;
  right: -10px; top: -10px;
  width: 190px; height: 150px;
  background-image: radial-gradient(#c9cfc0 2px, transparent 2.5px);
  background-size: 18px 18px;
}
.lx-hero__blob {
  position: absolute;
  inset: 30px 10px 10px 40px;
  background: var(--lx-sun);
  border-radius: 46% 54% 42% 58% / 52% 40% 60% 48%;
  animation: lx-morph 14s ease-in-out infinite;
}
.lx-hero__photo {
  position: absolute;
  inset: 60px 40px 40px 70px;
  border-radius: 42% 58% 46% 54% / 50% 44% 56% 50%;
  overflow: hidden;
  border: 8px solid #fff;
  animation: lx-morph 14s ease-in-out infinite reverse;
}
.lx-hero__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.lx-chip {
  position: absolute;
  z-index: 3;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px;
  background: #fff;
  border: 1px solid var(--lx-line);
  border-radius: var(--lx-radius);
  animation: lx-float 6s ease-in-out infinite;
}
.lx-chip__icon {
  width: 40px; height: 40px;
  border-radius: var(--lx-radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; color: #fff; flex-shrink: 0;
  background: var(--lx-green);
}
.lx-chip strong { display: block; font-family: var(--lx-font-head); font-size: 15px; font-weight: 700; color: var(--lx-ink); line-height: 1.25; }
.lx-chip small { display: block; font-size: 13px; color: var(--lx-muted); line-height: 1.3; margin-top: 1px; }
.lx-chip--a { left: -16px; top: 120px; }
.lx-chip--b { right: -16px; bottom: 80px; animation-delay: -3s; }
.lx-chip--b .lx-chip__icon { background: var(--lx-blue); }
.lx-chip--c { right: 24px; top: 26px; animation-delay: -1.5s; padding: 8px 14px 8px 8px; }
.lx-chip--c .lx-chip__icon { width: 32px; height: 32px; font-size: 14px; background: #c8423a; }

.lx-hero__plane {
  position: absolute;
  left: 4px; bottom: 26px;
  width: 78px;
  z-index: 2;
  animation: lx-fly 7s ease-in-out infinite;
}

@keyframes lx-morph {
  0%, 100% { border-radius: 46% 54% 42% 58% / 52% 40% 60% 48%; }
  50%      { border-radius: 58% 42% 55% 45% / 42% 58% 42% 58%; }
}
@keyframes lx-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes lx-fly {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50%      { transform: translate(14px, -16px) rotate(-6deg); }
}
@keyframes lx-drift {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(18px, 22px); }
}
@keyframes lx-spin { to { transform: rotate(360deg); } }

/* Entrance on page load: text rises in line by line, picture pops in */
@keyframes lx-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes lx-pop  { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }
.lx-hero__content > * { animation: lx-rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.lx-hero__content > :nth-child(1) { animation-delay: .1s; }
.lx-hero__content > :nth-child(2) { animation-delay: .22s; }
.lx-hero__content > :nth-child(3) { animation-delay: .34s; }
.lx-hero__content > :nth-child(4) { animation-delay: .46s; }
.lx-hero__content > :nth-child(5) { animation-delay: .58s; }
.lx-hero__blob,
.lx-hero__photo { animation-name: lx-pop, lx-morph; animation-duration: .9s, 14s; animation-timing-function: cubic-bezier(.2, .7, .2, 1), ease-in-out; animation-iteration-count: 1, infinite; animation-fill-mode: both, none; }
.lx-hero__photo { animation-delay: .15s, 0s; animation-direction: normal, reverse; }
.lx-chip { animation-name: lx-rise, lx-float; animation-duration: .7s, 6s; animation-iteration-count: 1, infinite; animation-fill-mode: both, none; }
.lx-chip--a { animation-delay: .7s, 0s; }
.lx-chip--b { animation-delay: .85s, -3s; }
.lx-chip--c { animation-delay: 1s, -1.5s; }

/* 5E learning cycle ----------------------------------------------------- */
.lx-5e { background: #fff; }
.lx-5e__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.lx-5e__intro .lx-eyebrow { margin-bottom: 12px; }
.lx-5e__lead { font-size: 18px; line-height: 1.7; margin: 0 0 28px; max-width: 520px; }

/* Step list: plain rows divided by rules */
.lx-5e__list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--lx-line); }
.lx-5e__item { border-bottom: 1px solid var(--lx-line); }
.lx-5e__item button {
  width: 100%;
  display: flex; align-items: center; gap: 18px;
  text-align: left;
  padding: 16px 4px;
  border: 0;
  background: transparent;
  font: inherit; color: inherit;
  cursor: pointer;
}
.lx-5e__item button:focus-visible { outline: 2px solid var(--c); outline-offset: 2px; }
.lx-5e__num {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 2px solid var(--c);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--lx-font-head); font-weight: 800; font-size: 14px;
  color: var(--c);
  background: #fff;
  transition: background .25s, color .25s;
}
.lx-5e__txt strong { display: block; font-family: var(--lx-font-head); font-size: 18px; font-weight: 800; color: var(--lx-ink); line-height: 1.3; transition: color .25s; }
.lx-5e__txt small { display: block; font-size: 15px; color: var(--lx-muted); line-height: 1.55; margin-top: 2px; }
.lx-5e__item button:hover .lx-5e__txt strong { color: var(--c); }
.lx-5e__item.is-active .lx-5e__num { background: var(--c); color: #fff; }
.lx-5e__item.is-active .lx-5e__txt strong { color: var(--c); }
.lx-5e__item.is-active .lx-5e__txt small { color: var(--lx-text); }

/* Wheel */
.lx-5e__wheel {
  --size: 500px;
  --r: 190px;
  --dot: 84px;
  --hub: 190px;
  --active: var(--lx-green);
  --spin: 0deg;                 /* set by the script: rotates the active stage to the top */
  position: relative;
  width: var(--size);
  height: var(--size);
  margin: 0 auto;
}
/* Dashed ring that turns slowly, with a dot travelling round it */
.lx-5e__ring {
  position: absolute;
  inset: calc(50% - var(--r));
  border-radius: 50%;
  border: 2px dashed #c9cfd9;
  animation: lx-spin 14s linear infinite;
}
.lx-5e__ring::after {
  content: "";
  position: absolute;
  top: -7px; left: calc(50% - 6px);
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--active);
  box-shadow: 0 0 0 4px #fff;
  transition: background .6s;
}
/* Stages orbit round the ring (and stay upright) when the active stage changes */
.lx-5e__node {
  position: absolute;
  left: 50%; top: 50%;
  width: 0; height: 0;
  padding: 0; border: 0; background: none;
  cursor: pointer;
  transform: rotate(calc(var(--i) * 72deg - 90deg + var(--spin))) translate(var(--r)) rotate(calc(90deg - var(--i) * 72deg - var(--spin)));
  transition: transform .7s cubic-bezier(.65, 0, .25, 1);
  z-index: 2;
}
.lx-5e__dot {
  position: absolute;
  left: calc(var(--dot) / -2); top: calc(var(--dot) / -2);
  width: var(--dot); height: var(--dot);
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--c);
  color: var(--c);
  display: flex; align-items: center; justify-content: center;
  transition: background .3s, color .3s;
}
.lx-5e__dot i { line-height: 1; display: flex; }
.lx-5e__dot i::before { font-size: calc(var(--dot) * .42); margin: 0; line-height: 1; }
.lx-5e__label {
  position: absolute;
  left: 50%;
  top: calc(var(--dot) / 2 + 10px);
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: var(--lx-font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--lx-ink);
  background: #fff;
  padding: 0 4px;
}
.lx-5e__node.is-active .lx-5e__dot { background: var(--c); color: #fff; }
.lx-5e__node.is-active .lx-5e__label { color: var(--c); }

.lx-5e__hub {
  position: absolute;
  left: 50%; top: 50%;
  width: var(--hub); height: var(--hub);
  margin: calc(var(--hub) / -2) 0 0 calc(var(--hub) / -2);
  border-radius: 50%;
  background: var(--lx-navy);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  z-index: 1;
}
.lx-5e__hub-num {
  font-family: var(--lx-font-head);
  font-size: 13px; font-weight: 700; letter-spacing: .12em;
  color: rgba(255,255,255,.6);
}
.lx-5e__hub-title { font-family: var(--lx-font-head); font-size: 28px; font-weight: 800; color: #fff; margin: 8px 0 4px; line-height: 1.1; }
.lx-5e__hub-sub { font-size: 13px; color: rgba(255,255,255,.6); }

/* Notes under the 5E section */
.lx-split-note { margin-top: 70px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.lx-note { padding: 30px 32px; border-radius: var(--lx-radius); background: var(--lx-paper); }
.lx-note h4 { font-size: 19px; font-weight: 800; margin: 0 0 10px; display: flex; align-items: center; gap: 10px; }
.lx-note h4 i { color: var(--lx-green); font-size: 17px; }
.lx-note:nth-child(2) h4 i { color: #a86500; }
.lx-note p { margin: 0; font-size: 16px; line-height: 1.7; }

/* About (welcome) ------------------------------------------------------- */
.lx-about { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.lx-about__media { position: relative; }
.lx-about__media img { position: relative; width: 100%; border-radius: var(--lx-radius); }
.lx-about__badge {
  position: absolute;
  left: 0; bottom: 0;
  background: var(--lx-navy);
  color: #fff;
  padding: 16px 22px;
  border-radius: 0 var(--lx-radius) 0 var(--lx-radius);
  display: flex; align-items: center; gap: 12px;
}
.lx-about__badge i { font-size: 24px; color: var(--lx-sun); }
.lx-about__badge strong { display: block; font-family: var(--lx-font-head); font-size: 16px; color: #fff; }
.lx-about__badge span { font-size: 13px; color: rgba(255,255,255,.7); }
.lx-about h2 { font-size: clamp(30px, 3.2vw, 42px); font-weight: 800; line-height: 1.18; margin: 12px 0 18px; }
.lx-about__text { font-size: 18px; line-height: 1.75; margin-bottom: 26px; }
.lx-checks {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px;
  list-style: none; padding: 0; margin: 0 0 34px;
}
.lx-checks li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--lx-ink); font-size: 16px; }
.lx-checks li i { color: var(--lx-green); font-size: 14px; flex-shrink: 0; }

/* Finnish pedagogy ------------------------------------------------------ */
body .finnish-pedagogy-section { padding: 100px 0 !important; background: #fff; }
body .finnish-pedagogy-section .fp-title { margin: 12px 0 16px; text-transform: none; color: var(--lx-ink); font-weight: 800; }
body .finnish-pedagogy-section .fp-subtitle { font-size: 18px; line-height: 1.7; color: var(--lx-text); }
body .finnish-pedagogy-section .fp-image-wrapper { display: block; }
body .finnish-pedagogy-section .fp-image-wrapper > img.img-fluid {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--lx-radius) !important;
}
body .finnish-pedagogy-section .fp-features { border-top: 1px solid var(--lx-line-dark); }
body .finnish-pedagogy-section .fp-features li {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 0;
  margin: 0;
  border-bottom: 1px solid var(--lx-line-dark);
}
body .finnish-pedagogy-section .fp-icon {
  width: auto; height: auto; flex-shrink: 0; margin-top: 3px;
  background: none;
  color: var(--lx-green); font-size: 18px;
}
body .finnish-pedagogy-section .fp-features li:nth-child(2) .fp-icon { color: var(--lx-blue); }
body .finnish-pedagogy-section .fp-features li:nth-child(3) .fp-icon { color: #a86500; }
body .finnish-pedagogy-section .fp-feature-title { font-size: 18px; font-weight: 800; color: var(--lx-ink); margin: 0 0 4px; }
body .finnish-pedagogy-section .fp-feature-text { font-size: 15.5px; line-height: 1.65; margin: 0; color: var(--lx-text); }

/* LearnX Edge (home) ---------------------------------------------------- */
/* Layered photo cards: picture, dark layer, text on top */
.lx-edge-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.lx-edge-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
  isolation: isolate;
  transition: transform .45s cubic-bezier(.2, .7, .2, 1);
}
.lx-edge-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform .9s cubic-bezier(.2, .7, .2, 1);
}
.lx-edge-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 24, 58, 0) 35%, rgba(20, 24, 58, .9) 100%);
  z-index: -1;
  transition: opacity .45s;
}
.lx-edge-card::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(14, 154, 36, .82);
  z-index: -1;
  opacity: 0;
  transition: opacity .45s;
}
.lx-edge-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; }
.lx-edge-card__num {
  display: inline-block;
  font-family: var(--lx-font-head);
  font-size: 12px; font-weight: 800;
  letter-spacing: .1em;
  color: var(--lx-navy);
  background: var(--lx-sun);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
  transition: transform .45s cubic-bezier(.2, .7, .2, 1);
}
.lx-edge-card h3 { color: #fff; font-size: 20px; font-weight: 800; line-height: 1.25; margin: 0; }
.lx-edge-card__more {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 10px;
  color: #fff;
  font-size: 14px; font-weight: 700;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .4s, opacity .4s;
}
.lx-edge-card__more i { font-size: 12px; }
.lx-edge-card:hover { transform: translateY(-8px); }
.lx-edge-card:hover img { transform: scale(1.1); }
.lx-edge-card:hover::after { opacity: 1; }
.lx-edge-card:hover .lx-edge-card__num { transform: translateY(-4px) rotate(-4deg); }
.lx-edge-card:hover .lx-edge-card__more { max-height: 30px; opacity: 1; }

/* Stats ----------------------------------------------------------------- */
.lx-stats {
  position: relative;
  border-radius: 24px;
  background: linear-gradient(120deg, #0e9a24 0%, #12b52c 60%, #4fc63a 100%);
  padding: 50px 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(14, 154, 36, .75);
}
.lx-stats::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px);
  background-size: 18px 18px;
  pointer-events: none;
}
body .lx-stats .counter-block { position: relative; text-align: center; padding: 6px 20px; margin: 0; }
.lx-stats .counter-block + .counter-block::before {
  content: "";
  position: absolute; left: 0; top: 10%; bottom: 10%;
  width: 1px; background: rgba(255,255,255,.15);
}
body .lx-stats .counter-block .count-box,
body .lx-stats .counter-block .count-box .count-text {
  font-family: var(--lx-font-head);
  font-size: clamp(36px, 3.6vw, 50px);
  font-weight: 800;
  line-height: 1;
  color: #fff;
  margin: 0;
}
body .lx-stats .counter-block .counter-title {
  background: none;
  padding: 0;
  display: block;
  color: rgba(255,255,255,.7);
  font-size: 15px;
  font-weight: 500;
  margin: 10px 0 0;
  letter-spacing: .02em;
  text-transform: none;
}

/* Clients --------------------------------------------------------------- */
.lx-clients { padding: 80px 0; background: #fff; border-top: 1px solid var(--lx-line); }
.lx-clients__title {
  text-align: center;
  font-size: 14px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--lx-muted);
  margin: 0 0 30px;
}
body .lx-clients .clients-carousel { padding: 0; margin: 0; }
body .lx-clients .clients-carousel .slide-item a {
  display: flex; align-items: center; justify-content: center;
  height: 110px;
  padding: 14px 20px;
  border-radius: var(--lx-radius);
  border: 1px solid var(--lx-line);
  background: #fff;
}
body .lx-clients .clients-carousel .slide-item a:hover { background: #fff; border-color: var(--lx-line-dark); }
body .lx-clients .clients-carousel .slide-item img {
  max-height: 80px; width: auto !important; max-width: 100%;
  object-fit: contain;
  opacity: .85;
}
body .lx-clients .clients-carousel .slide-item a:hover img { opacity: 1; }

/* Solutions (home): pinned intro + stacking cards ----------------------- */
.lx-stack-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 70px;
  align-items: start;
}
.lx-stack-intro { position: sticky; top: 140px; }
.lx-stack-intro .lx-eyebrow { margin-bottom: 16px; }
.lx-stack-intro p { font-size: 18px; line-height: 1.7; margin: 0 0 30px; }

.lx-stack { position: relative; }
.lx-stack-card {
  position: sticky;
  top: calc(130px + var(--i) * 22px);
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 280px;
  margin-bottom: 40px;
  background: #fff;
  border: 1px solid var(--lx-line);
  border-radius: 16px;
  overflow: hidden;
  transform-origin: center top;
  will-change: transform;
}
.lx-stack-card:last-child { margin-bottom: 0; }
.lx-stack-card__art {
  background: var(--tint);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.lx-stack-card__art img {
  width: 150px; height: 150px; object-fit: contain;
  animation: lx-float 6s ease-in-out infinite;
  animation-delay: calc(var(--i) * -1.2s);
}
.lx-stack-card__body { padding: 36px 36px; display: flex; flex-direction: column; justify-content: center; }
.lx-stack-card__num {
  font-family: var(--lx-font-head);
  font-size: 28px; font-weight: 800;
  color: var(--c);
  line-height: 1;
  margin-bottom: 14px;
}
.lx-stack-card__num em { font-style: normal; font-size: 15px; color: var(--lx-muted); font-weight: 600; }
.lx-stack-card h3 { font-size: 24px; font-weight: 800; margin: 0 0 10px; line-height: 1.25; }
.lx-stack-card p { font-size: 16.5px; line-height: 1.7; margin: 0; }

/* FAQ (home) ------------------------------------------------------------ */
.lx-faq { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.lx-faq__aside h2 { font-size: clamp(30px, 3.2vw, 42px); font-weight: 800; line-height: 1.18; margin: 12px 0 16px; }
.lx-faq__card {
  margin-top: 30px;
  padding: 24px 26px;
  border-radius: var(--lx-radius);
  border: 1px solid var(--lx-line);
  display: flex; gap: 16px; align-items: center;
}
.lx-faq__card i {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--lx-green); font-size: 19px; color: #fff;
}
.lx-faq__card strong { display: block; font-family: var(--lx-font-head); font-size: 16px; color: var(--lx-ink); }
.lx-faq__card a { color: var(--lx-green); font-weight: 700; font-size: 18px; }
.lx-faq__card span { color: var(--lx-muted); font-size: 14px; }
body .lx-faq .accordion-box { padding: 0; margin: 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1199px) {
  .lx-edge-grid { grid-template-columns: repeat(3, 1fr); }
  .lx-5e__wheel { --size: 440px; --r: 166px; --dot: 74px; --hub: 160px; }
  .lx-5e__hub-title { font-size: 24px; }
}

@media (max-width: 991px) {
  .lx-section { padding: 80px 0; }
  .lx-hero { padding: 50px 0 70px; }
  .lx-hero__grid { grid-template-columns: 1fr; gap: 50px; }
  .lx-hero__media { max-width: 560px; width: 100%; min-height: 470px; margin: 0 auto; }
  .lx-hero__shape--dot, .lx-hero__shape--square { display: none; }
  .lx-split-note { grid-template-columns: 1fr; }
  .lx-about { grid-template-columns: 1fr; gap: 50px; }
  .lx-about__media { max-width: 560px; margin: 0 auto; }
  .lx-edge-grid { grid-template-columns: repeat(2, 1fr); }
  .lx-stats { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .lx-stats .counter-block:nth-child(3)::before { display: none; }
  .lx-sol-grid { grid-template-columns: 1fr 1fr; }
  .lx-sol-grid > *,
  .lx-sol-grid > *:nth-child(4) { grid-column: auto; }
  .lx-sol-grid > *:nth-child(5) { grid-column: 1 / -1; }
  .lx-faq { grid-template-columns: 1fr; gap: 40px; }
  .lx-stack-grid { grid-template-columns: 1fr; gap: 40px; }
  .lx-stack-intro { position: static; text-align: center; }
  .lx-stack-card { top: calc(96px + var(--i) * 16px); grid-template-columns: 160px 1fr; min-height: 230px; }
  .lx-stack-card__art img { width: 120px; height: 120px; }
  .lx-cta__box { grid-template-columns: 1fr; padding: 44px 34px; }
  .lx-cta__actions { justify-content: flex-start; }
  body .page-title { padding: 80px 0; }
  body .finnish-pedagogy-section .fp-image-wrapper { margin-top: 30px; }

  /* 5E: heading → wheel → step list */
  .lx-5e__grid { grid-template-columns: 1fr; gap: 0; }
  .lx-5e__intro { display: contents; }
  .lx-5e__intro .lx-eyebrow { justify-self: center; }
  .lx-5e__intro .lx-title, .lx-5e__lead { text-align: center; margin-left: auto; margin-right: auto; }
  .lx-5e__wheel { order: 1; margin: 10px auto 36px; }
  .lx-5e__list { order: 2; max-width: 620px; width: 100%; margin: 0 auto; }
}

@media (max-width: 767px) {
  body { --body-font-size: 16px; }
  .lx-head { margin-bottom: 38px; }
  .lx-head p, .lx-hero__lead, .lx-about__text { font-size: 16.5px; }
  .lx-hero h1 { font-size: 36px; }
  .lx-hero__media { min-height: 370px; }
  .lx-hero__blob { inset: 20px 0 0 10px; }
  .lx-hero__photo { inset: 40px 18px 18px 30px; border-width: 6px; }
  .lx-hero__dots { width: 120px; height: 100px; right: 0; top: 0; }
  .lx-chip { padding: 8px 12px 8px 8px; gap: 9px; }
  .lx-chip__icon { width: 32px; height: 32px; font-size: 14px; }
  .lx-chip strong { font-size: 13px; }
  .lx-chip small { font-size: 11.5px; }
  .lx-chip--a { left: 0; top: 50px; }
  .lx-chip--b { right: 0; bottom: 14px; }
  .lx-chip--c, .lx-hero__plane, .lx-hero__shape { display: none; }
  .lx-hero__actions .lx-btn { flex: 1 1 auto; }
  .lx-checks { grid-template-columns: 1fr; }
  .lx-edge-grid { grid-template-columns: 1fr 1fr; gap: 26px 14px; }
  .lx-edge-card h3 { font-size: 15px; }
  .lx-edge-card__more { font-size: 13px; }
  .lx-edge-card__body { padding: 14px; }
  .lx-edge-card__num { margin-bottom: 8px; font-size: 11px; }
  .lx-stack-card { top: calc(84px + var(--i) * 14px); grid-template-columns: 1fr; min-height: 0; margin-bottom: 28px; }
  .lx-stack-card__art { padding: 18px; }
  .lx-stack-card__art img { width: 96px; height: 96px; }
  .lx-stack-card__body { padding: 22px 22px 26px; }
  .lx-stack-card__num { font-size: 22px; margin-bottom: 10px; }
  .lx-stack-card h3 { font-size: 20px; }
  .lx-stack-card p { font-size: 15.5px; }
  .lx-motion [data-reveal="left"]:not(.is-in)  { translate: -40px 0; }
  .lx-motion [data-reveal="right"]:not(.is-in) { translate: 40px 0; }
  .lx-stats { padding: 32px 12px; }
  .lx-sol-grid { grid-template-columns: 1fr; }
  .lx-sol-grid > *:nth-child(5) { grid-column: auto; }
  .lx-cta__box { padding: 36px 22px; }
  .lx-cta__actions .lx-btn { flex: 1 1 auto; }
  body .flip-card { width: 100%; max-width: 360px; }
  body .review-card, body .testimonial-card { padding: 28px 22px 24px !important; }
  body .solution-card { flex-direction: column; }
}

@media (max-width: 575px) {
  .lx-5e__wheel { --size: 330px; --r: 120px; --dot: 54px; --hub: 112px; }
  .lx-5e__label { font-size: 12px; top: calc(var(--dot) / 2 + 6px); }
  .lx-5e__hub-num { font-size: 10px; }
  .lx-5e__hub-title { font-size: 17px; margin: 5px 0 2px; }
  .lx-5e__hub-sub { font-size: 10px; }
  .lx-5e__txt strong { font-size: 17px; }
  .lx-5e__txt small { font-size: 14px; }
  body .cartoon-popup { right: 10px !important; bottom: 66px !important; }
  body .cartoon-character img { width: 62px !important; }
  body .cartoon-info { width: 230px; }
}
@media (max-width: 360px) {
  .lx-5e__wheel { --size: 296px; --r: 106px; --dot: 48px; --hub: 96px; }
  .lx-5e__hub-title { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   ABOUT PAGE: Our initiatives (zig-zag rows)
   ========================================================================== */
.lx-initiatives { background: #fff; }
.lx-init-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 80px;
}
.lx-init-head .lx-eyebrow { margin-bottom: 16px; }
.lx-init-head .lx-title { margin: 0; }
.lx-init-head p { font-size: 18px; line-height: 1.75; margin: 0; padding-bottom: 6px; }

.lx-init-list { display: grid; gap: 100px; }
.lx-init {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.lx-init:nth-child(even) .lx-init__media { order: 2; }

/* Photo with a tinted block offset behind it and a big number badge */
.lx-init__media { position: relative; margin: 0; }
.lx-init__media::before {
  content: "";
  position: absolute;
  inset: 26px -26px -26px 26px;
  background: var(--tint);
  border-radius: 22px;
}
.lx-init:nth-child(even) .lx-init__media::before { inset: 26px 26px -26px -26px; }
.lx-init__media img {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 22px;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.lx-init:hover .lx-init__media img { transform: translate(-6px, -6px); }
.lx-init:nth-child(even):hover .lx-init__media img { transform: translate(6px, -6px); }
.lx-init__num {
  position: absolute;
  top: -26px; left: -26px;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--c);
  border: 6px solid #fff;
  color: #fff;
  font-family: var(--lx-font-head);
  font-size: 24px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  z-index: 1;
  animation: lx-float 6s ease-in-out infinite;
}
.lx-init:nth-child(even) .lx-init__num { left: auto; right: -26px; }

.lx-init__kicker {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 13px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ct);
}
.lx-init__body h3 {
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 18px;
}
.lx-init__body p { font-size: 16.5px; line-height: 1.85; margin: 0 0 24px; color: var(--lx-text); }
.lx-init__tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lx-init__tags li {
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--tint);
  color: var(--ct);
  font-size: 14px; font-weight: 700;
}

@media (max-width: 991px) {
  .lx-init-head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 60px; }
  .lx-init-list { gap: 80px; }
  .lx-init { grid-template-columns: 1fr; gap: 50px; }
  .lx-init:nth-child(even) .lx-init__media { order: 0; }
  .lx-init__media { max-width: 620px; width: 100%; }
}
@media (max-width: 575px) {
  .lx-init__media { margin-right: 14px; }
  .lx-init__media::before,
  .lx-init:nth-child(even) .lx-init__media::before { inset: 14px -14px -14px 14px; }
  .lx-init__num,
  .lx-init:nth-child(even) .lx-init__num { width: 60px; height: 60px; font-size: 19px; border-width: 4px; top: -14px; left: -8px; right: auto; }
  .lx-init { gap: 40px; }
  .lx-init__body p { font-size: 16px; }
}

/* ==========================================================================
   APPROACHES PAGE: approach explorer + pillars
   ========================================================================== */
.lx-approaches { background: #fff; }
.lx-appr {
  display: grid;
  grid-template-columns: minmax(320px, 410px) 1fr;
  grid-template-rows: repeat(6, auto) 1fr;
  column-gap: 50px;
  row-gap: 12px;
  align-items: start;
}
.lx-appr__item { display: contents; }
.lx-appr__item:nth-child(1) .lx-appr__tab { grid-row: 1; }
.lx-appr__item:nth-child(2) .lx-appr__tab { grid-row: 2; }
.lx-appr__item:nth-child(3) .lx-appr__tab { grid-row: 3; }
.lx-appr__item:nth-child(4) .lx-appr__tab { grid-row: 4; }
.lx-appr__item:nth-child(5) .lx-appr__tab { grid-row: 5; }
.lx-appr__item:nth-child(6) .lx-appr__tab { grid-row: 6; }

/* Tabs */
.lx-appr__tab {
  grid-column: 1;
  display: flex; align-items: center; gap: 14px;
  width: 100%;
  padding: 14px 18px 14px 14px;
  text-align: left;
  background: #fff;
  border: 1px solid var(--lx-line);
  border-radius: 14px;
  font: inherit;
  color: var(--lx-ink);
  cursor: pointer;
  transition: background .3s, border-color .3s, color .3s;
}
.lx-appr__tab:hover { border-color: var(--c); }
.lx-appr__tab:focus-visible { outline: 3px solid var(--c); outline-offset: 2px; }
.lx-appr__num {
  font-family: var(--lx-font-head);
  font-size: 13px; font-weight: 800;
  color: var(--lx-muted);
  width: 22px;
  transition: color .3s;
}
.lx-appr__icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--tint);
  color: var(--c);
  font-size: 18px;
  transition: background .3s, color .3s, transform .4s cubic-bezier(.3, 1.5, .5, 1);
}
.lx-appr__name { flex: 1; font-family: var(--lx-font-head); font-size: 16.5px; font-weight: 700; line-height: 1.3; }
.lx-appr__chev { font-size: 13px; opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .3s; }
.lx-appr__item.is-active .lx-appr__tab { background: var(--c); border-color: var(--c); color: #fff; }
.lx-appr__item.is-active .lx-appr__num { color: rgba(255, 255, 255, .75); }
.lx-appr__item.is-active .lx-appr__icon { background: #fff; color: var(--c); transform: rotate(-8deg) scale(1.05); }
.lx-appr__item.is-active .lx-appr__chev,
.lx-appr__tab:hover .lx-appr__chev { opacity: 1; transform: none; }

/* Panels: all share one cell on the right; only the active one shows */
.lx-appr__panel {
  grid-column: 2;
  grid-row: 1 / -1;
  background: #fff;
  border: 1px solid var(--lx-line);
  border-radius: 22px;
  overflow: hidden;
}
.lx-appr__item:not(.is-active) .lx-appr__panel { opacity: 0; visibility: hidden; pointer-events: none; }
.lx-appr__media { position: relative; margin: 0; background: var(--tint); }
.lx-appr__media img { display: block; width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.lx-appr__badge {
  position: absolute;
  left: 34px; bottom: -32px;
  width: 64px; height: 64px;
  border-radius: 18px;
  background: var(--c);
  color: #fff;
  font-size: 26px;
  display: flex; align-items: center; justify-content: center;
  border: 5px solid #fff;
}
.lx-appr__text { padding: 52px 36px 36px; }
.lx-appr__kicker {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 13px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--c);
}
.lx-appr__kicker em { font-style: normal; color: var(--lx-muted); }
.lx-appr__text h3 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 800; line-height: 1.22; margin: 0 0 14px; }
.lx-appr__text p { font-size: 16.5px; line-height: 1.85; margin: 0; }

/* Switching animation */
.lx-appr__item.is-active .lx-appr__media img { animation: lx-appr-img .9s cubic-bezier(.2, .7, .2, 1) both; }
.lx-appr__item.is-active .lx-appr__badge { animation: lx-appr-pop .6s cubic-bezier(.3, 1.6, .5, 1) .15s both; }
.lx-appr__item.is-active .lx-appr__text > * { animation: lx-rise .6s cubic-bezier(.2, .7, .2, 1) both; }
.lx-appr__item.is-active .lx-appr__text > :nth-child(2) { animation-delay: .08s; }
.lx-appr__item.is-active .lx-appr__text > :nth-child(3) { animation-delay: .16s; }
@keyframes lx-appr-img { from { opacity: .3; transform: scale(1.08); } to { opacity: 1; transform: none; } }
@keyframes lx-appr-pop { from { transform: scale(0) rotate(-40deg); } to { transform: none; } }

/* Pillars */
.lx-pillars__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.lx-pillar {
  position: relative;
  padding: 34px 30px 32px;
  background: #fff;
  border: 1px solid var(--lx-line);
  border-radius: 18px;
  overflow: hidden;
}
.lx-pillar::before {
  content: "";
  position: absolute; left: 0; top: 0; right: 0;
  height: 4px;
  background: var(--c);
  transform: scaleX(.25);
  transform-origin: left;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.lx-pillar:hover::before { transform: scaleX(1); }
.lx-pillar__icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--c);
  color: #fff;
  font-size: 22px;
  margin-bottom: 22px;
}
.lx-pillar h3 { font-size: 20px; font-weight: 800; margin: 0 0 10px; }
.lx-pillar p { font-size: 16px; line-height: 1.7; margin: 0; }

@media (max-width: 991px) {
  /* Accordion */
  .lx-appr { display: block; }
  .lx-appr__item { display: block; margin-bottom: 12px; }
  .lx-appr__chev { opacity: 1; transform: rotate(90deg); }
  .lx-appr__item.is-active .lx-appr__chev { transform: rotate(-90deg); }
  .lx-appr__panel { margin-top: 10px; }
  .lx-appr__item:not(.is-active) .lx-appr__panel { display: none; }
  .lx-pillars__grid { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
  .lx-appr__tab { padding: 12px 14px 12px 12px; gap: 10px; }
  .lx-appr__num { display: none; }
  .lx-appr__icon { width: 40px; height: 40px; font-size: 16px; }
  .lx-appr__name { font-size: 15.5px; }
  .lx-appr__media img { aspect-ratio: 16 / 10; }
  .lx-appr__badge { left: 22px; width: 54px; height: 54px; font-size: 21px; bottom: -27px; }
  .lx-appr__text { padding: 42px 22px 26px; }
  .lx-appr__text p { font-size: 16px; }
}

/* ==========================================================================
   LEARNX EDGE PAGE: bento grid
   ========================================================================== */
.lx-edge-page { background: #fff; }
.lx-edge-intro {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}
.lx-edge-intro .lx-eyebrow { margin-bottom: 16px; }
.lx-edge-intro p { font-size: 17.5px; line-height: 1.8; margin: 0 0 12px; max-width: 760px; }
.lx-edge-intro__count {
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--lx-sun);
  color: var(--lx-navy);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 30px;
}
.lx-edge-intro__count strong { font-family: var(--lx-font-head); font-size: 88px; font-weight: 800; line-height: .9; letter-spacing: -0.04em; }
.lx-edge-intro__count span { font-size: 15px; font-weight: 700; line-height: 1.35; margin-top: 10px; max-width: 160px; }

.lx-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 250px;
  gap: 20px;
  grid-template-areas:
    "a a b c"
    "a a d c"
    "e e f g"
    "h h h h";
}
.lx-bento__tile { position: relative; border-radius: 20px; overflow: hidden; isolation: isolate; }
.lx-bento__num {
  display: inline-block;
  font-family: var(--lx-font-head);
  font-size: 12px; font-weight: 800; letter-spacing: .1em;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--lx-sun);
  color: var(--lx-navy);
  margin-bottom: 10px;
}
.lx-bento__tile h3 { font-size: 21px; font-weight: 800; line-height: 1.22; margin: 0 0 6px; }
.lx-bento__tile p { font-size: 15px; line-height: 1.6; margin: 0; }

/* Photo tiles */
.lx-bento__tile--photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform .9s cubic-bezier(.2, .7, .2, 1);
}
.lx-bento__tile--photo::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 24, 58, 0) 30%, rgba(20, 24, 58, .88) 100%);
  z-index: -1;
}
.lx-bento__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; }
.lx-bento__tile--photo h3 { color: #fff; }
.lx-bento__tile--photo p {
  color: rgba(255, 255, 255, .85);
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .45s, opacity .45s;
}
.lx-bento__tile--photo:hover img { transform: scale(1.08); }
.lx-bento__tile--photo:hover p { max-height: 80px; opacity: 1; }
.lx-bento__tile[style*="grid-area:a"] h3 { font-size: 30px; }
.lx-bento__tile[style*="grid-area:a"] p { max-height: none; opacity: 1; font-size: 16.5px; max-width: 460px; }
.lx-bento__tile[style*="grid-area:a"] .lx-bento__body { padding: 34px; }

/* Solid tiles */
.lx-bento__tile--solid { padding: 26px; display: flex; flex-direction: column; justify-content: flex-end; }
.lx-bento__tile--f { background: var(--lx-green); }
.lx-bento__tile--g { background: var(--lx-navy); }
.lx-bento__tile--solid h3 { color: #fff; }
.lx-bento__tile--solid p { color: rgba(255, 255, 255, .85); }
.lx-bento__tile--solid .lx-bento__num { position: absolute; top: 24px; left: 26px; background: rgba(255, 255, 255, .18); color: #fff; }
.lx-bento__thumb {
  position: absolute; top: 18px; right: 18px;
  width: 84px; height: 84px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, .35);
  transition: transform .5s cubic-bezier(.3, 1.5, .5, 1);
}
.lx-bento__thumb img { width: 100%; height: 100%; object-fit: cover; }
.lx-bento__tile--solid:hover .lx-bento__thumb { transform: scale(1.12) rotate(-6deg); }

/* Wide closing tile */
.lx-bento__tile--wide { display: grid; grid-template-columns: 1fr 1.2fr; background: #fff3da; }
.lx-bento__wide-img { overflow: hidden; }
.lx-bento__wide-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.lx-bento__tile--wide:hover .lx-bento__wide-img img { transform: scale(1.06); }
.lx-bento__wide-body { padding: 34px 44px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.lx-bento__wide-body h3 { font-size: 26px; }
.lx-bento__wide-body p { font-size: 16.5px; margin-bottom: 20px; }
.lx-bento__wide-body .lx-bento__num { background: var(--lx-navy); color: #fff; }

/* ==========================================================================
   SOLUTION & SUPPORT PAGE: scroll story
   ========================================================================== */
.lx-sol-page { background: #fff; }
.lx-sol-page.lx-section { overflow: visible; }  /* keep the photo pinned */
.lx-sol-intro { display: grid; grid-template-columns: 1fr 1.25fr; gap: 60px; align-items: end; margin-bottom: 70px; }
.lx-sol-intro .lx-eyebrow { margin-bottom: 16px; }
.lx-sol-intro .lx-title { margin: 0; }
.lx-sol-intro p { font-size: 17px; line-height: 1.8; margin: 0; }

.lx-scrolly { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.lx-scrolly__media { position: sticky; top: 130px; display: flex; gap: 18px; align-items: center; }
.lx-scrolly__frame {
  --c: var(--lx-green);
  position: relative;
  flex: 1;
  aspect-ratio: 4 / 4.4;
  border-radius: 24px;
  overflow: hidden;
  background: var(--lx-paper);
}
.lx-scrolly__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity .7s, transform 1.2s cubic-bezier(.2, .7, .2, 1);
}
.lx-scrolly__img.is-active { opacity: 1; transform: none; }
.lx-scrolly__caption {
  position: absolute; left: 18px; right: 18px; bottom: 18px;
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  background: #fff;
  border-radius: 14px;
  border-left: 5px solid var(--c);
  transition: border-color .5s;
}
.lx-scrolly__count { font-family: var(--lx-font-head); font-size: 14px; color: var(--lx-muted); white-space: nowrap; }
.lx-scrolly__count b { font-size: 22px; color: var(--c); transition: color .5s; }
.lx-scrolly__label { font-family: var(--lx-font-head); font-weight: 700; font-size: 16px; color: var(--lx-ink); line-height: 1.3; }
.lx-scrolly__dots { display: flex; flex-direction: column; gap: 10px; }
.lx-scrolly__dot {
  width: 10px; height: 10px;
  border-radius: 999px;
  background: var(--lx-line-dark);
  cursor: pointer;
  transition: height .4s, background .4s;
}
.lx-scrolly__dot.is-active { height: 34px; background: var(--c); }

.lx-scrolly__steps { padding: 6vh 0 10vh; }
.lx-scrolly__step {
  min-height: 62vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 20px 0;
  opacity: .28;
  transition: opacity .5s;
}
.lx-scrolly__step.is-active { opacity: 1; }
.lx-scrolly__inline-img { display: none; }
.lx-scrolly__head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.lx-scrolly__n {
  font-family: var(--lx-font-head);
  font-size: 64px; font-weight: 800; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--c);
}
.lx-scrolly__icon {
  width: 72px; height: 72px;
  border-radius: 20px;
  background: var(--tint);
  display: flex; align-items: center; justify-content: center;
  transition: transform .6s cubic-bezier(.3, 1.5, .5, 1);
}
.lx-scrolly__icon img { width: 56px; height: 56px; object-fit: contain; }
.lx-scrolly__step.is-active .lx-scrolly__icon { transform: rotate(-6deg) scale(1.08); }
.lx-scrolly__step h3 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; line-height: 1.2; margin: 0 0 14px; }
.lx-scrolly__step p { font-size: 17px; line-height: 1.8; margin: 0 0 22px; max-width: 520px; }
.lx-scrolly__tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lx-scrolly__tags li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid var(--lx-line);
  font-size: 14px; font-weight: 600; color: var(--lx-ink);
}
.lx-scrolly__tags li i { color: var(--c); font-size: 12px; }

/* ==========================================================================
   TESTIMONIALS PAGE: spotlight + expert wall
   ========================================================================== */
.lx-spot-section { background: #fff; padding: 110px 0; position: relative; overflow: hidden; }
.lx-spot-section::before {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  right: -230px; top: -250px;
  border-radius: 50%;
  border: 60px solid var(--lx-green-tint);
}
.lx-spot { position: relative; display: grid; grid-template-columns: 1.35fr 1fr; gap: 80px; align-items: center; }
.lx-spot__mark {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 150px;
  line-height: 1;
  height: 78px;
  color: var(--lx-green);
  margin: 30px 0 18px;
}
.lx-spot__quotes { display: grid; }
.lx-spot__quote { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; }
.lx-spot__quote.is-active { opacity: 1; visibility: visible; }
.lx-spot__quote.is-active blockquote,
.lx-spot__quote.is-active figcaption { animation: lx-rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.lx-spot__quote.is-active figcaption { animation-delay: .12s; }
.lx-spot__quote blockquote {
  margin: 0 0 30px;
  padding: 0;
  border: 0;
  font-family: var(--lx-font-head);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--lx-ink);
  letter-spacing: -0.01em;
}
.lx-spot__quote figcaption strong { display: block; color: var(--lx-ink); font-family: var(--lx-font-head); font-size: 19px; }
.lx-spot__quote figcaption span { color: #0e7a22; font-size: 15px; font-weight: 600; }

.lx-spot__intro { color: var(--lx-text); font-size: 17px; line-height: 1.75; margin: 0 0 26px; }
.lx-spot__people { display: grid; gap: 12px; }
.lx-spot__person {
  position: relative;
  display: flex; align-items: center; gap: 16px;
  width: 100%;
  padding: 16px 18px;
  text-align: left;
  background: #fff;
  border: 1px solid var(--lx-line);
  border-radius: 16px;
  color: var(--lx-ink);
  font: inherit;
  cursor: pointer;
  overflow: hidden;
  transition: background .3s, border-color .3s, transform .3s;
}
.lx-spot__person:hover { border-color: var(--lx-line-dark); background: var(--lx-paper); }
.lx-spot__person.is-active { background: var(--lx-navy); border-color: var(--lx-navy); transform: translateX(-8px); }
.lx-spot__avatar {
  flex-shrink: 0;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #eef0f4;
  overflow: hidden;
  display: flex; align-items: flex-end; justify-content: center;
}
.lx-spot__avatar img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; padding: 8px 8px 0; }
.lx-spot__who strong { display: block; font-family: var(--lx-font-head); font-size: 16px; line-height: 1.3; color: var(--lx-ink); transition: color .3s; }
.lx-spot__who small { font-size: 13.5px; color: var(--lx-muted); }
.lx-spot__person.is-active .lx-spot__who strong { color: #fff; }
.lx-spot__person.is-active .lx-spot__who small { color: rgba(255, 255, 255, .7); }
.lx-spot__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; }
.lx-spot__bar i { display: block; height: 100%; width: 0; background: var(--lx-green); }
.lx-spot__person.is-active .lx-spot__bar i { animation: lx-spot-progress var(--spot-dur, 7s) linear forwards; }
.lx-spot.is-paused .lx-spot__person.is-active .lx-spot__bar i { animation-play-state: paused; }
@keyframes lx-spot-progress { to { width: 100%; } }

.lx-wall { columns: 3; column-gap: 24px; }
.lx-wall__card {
  break-inside: avoid;
  margin: 0 0 24px;
  padding: 30px 28px 26px;
  background: #fff;
  border: 1px solid var(--lx-line);
  border-radius: 18px;
  transition: transform .4s cubic-bezier(.2, .7, .2, 1), border-color .3s;
}
.lx-wall__card:nth-child(3n+2) { background: var(--lx-navy); border-color: var(--lx-navy); }
.lx-wall__card:hover { transform: translateY(-6px) rotate(-.6deg); border-color: var(--lx-line-dark); }
.lx-wall__mark { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 54px; line-height: 1; height: 26px; color: var(--lx-green); }
.lx-wall__card:nth-child(3n+2) .lx-wall__mark { color: var(--lx-sun); }
.lx-wall__card blockquote {
  margin: 14px 0 22px; padding: 0; border: 0;
  font-size: 17px; line-height: 1.7; color: var(--lx-ink);
}
.lx-wall__card:nth-child(3n+2) blockquote { color: #fff; font-family: var(--lx-font-head); font-size: 19px; font-weight: 600; line-height: 1.55; }
.lx-wall__card figcaption { display: flex; align-items: center; gap: 12px; }
.lx-wall__avatar {
  flex-shrink: 0;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--lx-paper);
  overflow: hidden;
  display: flex; align-items: flex-end;
}
.lx-wall__avatar img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; padding: 7px 7px 0; }
.lx-wall__card figcaption strong { display: block; font-family: var(--lx-font-head); font-size: 15.5px; color: var(--lx-ink); }
.lx-wall__card figcaption small { font-size: 13.5px; color: var(--lx-muted); }
.lx-wall__card:nth-child(3n+2) figcaption strong { color: #fff; }
.lx-wall__card:nth-child(3n+2) figcaption small { color: rgba(255, 255, 255, .6); }
.lx-wall__card:nth-child(3n+2) .lx-wall__avatar { background: #fff; }

/* ==========================================================================
   BLOGS PAGE: magazine layout
   ========================================================================== */
.lx-journal { background: #fff; }
.lx-journal__head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: end; margin-bottom: 56px; }
.lx-journal__head .lx-eyebrow { margin-bottom: 16px; }
.lx-journal__head .lx-title { margin: 0; }
.lx-journal__head p { font-size: 17.5px; line-height: 1.75; margin: 0; }

.lx-post__tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--lx-green-tint);
  color: #0e7a22;
  font-size: 12.5px; font-weight: 700; letter-spacing: .03em;
  margin-bottom: 14px;
}
.lx-post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: 14px; color: var(--lx-muted); }
.lx-post__meta i { margin-right: 4px; }
.lx-post__author { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--lx-ink); }
.lx-post__initials {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--lx-navy); color: #fff;
  font-size: 11px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
}

/* Featured */
.lx-feature {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  border-radius: 24px;
  overflow: hidden;
  background: var(--lx-paper);
  margin-bottom: 70px;
  color: inherit;
}
.lx-feature__img { overflow: hidden; min-height: 420px; }
.lx-feature__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.lx-feature:hover .lx-feature__img img { transform: scale(1.05); }
.lx-feature__body { padding: 48px 50px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.lx-feature__label {
  font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: #a86500;
  margin-bottom: 14px;
  display: inline-flex; align-items: center; gap: 10px;
}
.lx-feature__label::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.lx-feature__body h3 { font-size: clamp(28px, 3vw, 40px); font-weight: 800; line-height: 1.15; margin: 0 0 16px; color: var(--lx-ink); }
.lx-feature__body p { font-size: 17px; line-height: 1.75; margin: 0 0 24px; color: var(--lx-text); }
.lx-feature__cta {
  margin-top: 28px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 24px;
  border-radius: var(--lx-radius-sm);
  background: var(--lx-green);
  color: #fff;
  font-family: var(--lx-font-head); font-weight: 700;
  transition: background .25s;
}
.lx-feature__cta i { transition: transform .25s; }
.lx-feature:hover .lx-feature__cta { background: var(--lx-green-dark); }
.lx-feature:hover .lx-feature__cta i { transform: translateX(4px); }

/* More posts */
.lx-journal__sub {
  display: flex; align-items: center; gap: 18px;
  font-size: 22px; font-weight: 800; margin: 0 0 28px;
}
.lx-journal__sub::after { content: ""; flex: 1; height: 1px; background: var(--lx-line); }
.lx-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.lx-post { display: flex; flex-direction: column; color: inherit; }
.lx-post__img { display: block; border-radius: 18px; overflow: hidden; margin-bottom: 20px; }
.lx-post__img img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.lx-post:hover .lx-post__img img { transform: scale(1.07); }
.lx-post__body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.lx-post h3 { font-size: 20px; font-weight: 800; line-height: 1.3; margin: 0 0 10px; color: var(--lx-ink); transition: color .25s; }
.lx-post:hover h3 { color: var(--lx-green-dark); }
.lx-post p { font-size: 15.5px; line-height: 1.7; margin: 0 0 18px; color: var(--lx-text); }
.lx-post .lx-post__meta { margin-top: auto; }

/* ==========================================================================
   Responsive for the four pages
   ========================================================================== */
@media (max-width: 1199px) {
  .lx-bento { grid-auto-rows: 220px; }
}
@media (max-width: 991px) {
  .lx-edge-intro { grid-template-columns: 1fr; gap: 30px; }
  .lx-edge-intro__count { width: 200px; }
  .lx-edge-intro__count strong { font-size: 66px; }
  .lx-bento {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 230px;
    grid-template-areas: "a a" "a a" "b c" "d c" "e e" "f g" "h h" "h h";
  }
  .lx-bento__tile--wide { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }

  .lx-sol-intro { grid-template-columns: 1fr; gap: 18px; margin-bottom: 40px; }
  .lx-scrolly { display: block; }
  .lx-scrolly__media { display: none; }
  .lx-scrolly__steps { padding: 0; }
  .lx-scrolly__step { min-height: 0; opacity: 1; padding: 0 0 60px; }
  .lx-scrolly__inline-img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 18px; margin-bottom: 24px; }

  .lx-spot { grid-template-columns: 1fr; gap: 40px; }
  .lx-spot__person.is-active { transform: none; }
  .lx-wall { columns: 2; }

  .lx-journal__head { grid-template-columns: 1fr; gap: 18px; }
  .lx-feature { grid-template-columns: 1fr; }
  .lx-feature__img { min-height: 0; aspect-ratio: 16 / 9; }
  .lx-feature__body { padding: 32px 30px; }
  .lx-posts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575px) {
  .lx-bento { grid-template-columns: 1fr; grid-auto-rows: auto; grid-template-areas: none; }
  .lx-bento__tile { grid-area: auto !important; }
  .lx-bento__tile--photo { min-height: 260px; }
  .lx-bento__tile--photo p { max-height: none; opacity: 1; }
  .lx-bento__tile[style*="grid-area:a"] { min-height: 340px; }
  .lx-bento__tile[style*="grid-area:a"] h3 { font-size: 24px; }
  .lx-bento__tile--solid { min-height: 240px; }
  .lx-bento__wide-img { aspect-ratio: 16 / 10; }
  .lx-bento__wide-body { padding: 26px 24px; }

  .lx-scrolly__n { font-size: 48px; }
  .lx-scrolly__icon { width: 60px; height: 60px; }
  .lx-scrolly__icon img { width: 46px; height: 46px; }

  .lx-spot-section { padding: 80px 0; }
  .lx-spot__mark { font-size: 110px; height: 58px; margin-top: 24px; }
  .lx-wall { columns: 1; }

  .lx-posts { grid-template-columns: 1fr; }
  .lx-feature__body { padding: 26px 22px; }
}
