/* =============================================================
   Responsive CSS - Tunes Times Tables
   Breakpoints: 1400 | 1299 | 1199 | 1024 | 991 | 767 | 576 | 390 | 375
   ============================================================= */

/* Premium Desktop Hover Animation (Curved Arched Underline) */
@media (min-width: 992px) {
  .navbar-nav li {
    position: relative;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .navbar-nav li::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 110%;
    height: 8px;
    border-top: 3px solid var(--clr-red-accent);
    border-radius: 100% 100% 0 0;
    transition:
      transform 0.45s cubic-bezier(0.23, 1, 0.32, 1),
      opacity 0.3s ease;
    pointer-events: none;
    opacity: 0;
  }

  .navbar-nav li:hover::after {
    transform: translateX(-50%) scaleX(1);
    opacity: 1;
  }

  .navbar-nav li:hover {
    transform: translateY(-4px);
  }

  .navbar-nav li a {
    transition: color 0.3s ease;
    padding: 0 !important;
  }

  .navbar-nav li:hover a {
    color: var(--clr-navy-primary);
  }
}

/* =============================================================
   1679px - Timeline Slider Only
   ============================================================= */
@media (max-width: 1679px) {
  .time-line-cards.active h2 {
    font-size: 280px;
    line-height: 280px;
    will-change: font-size;
  }
}

/* =============================================================
   1400px - Timeline Slider Only
   ============================================================= */
@media (max-width: 1500px) {
  .time-line-cards h2 {
    font-size: 140px;
    line-height: 140px;
    will-change: font-size;
    transition: none;
  }

  .time-line-cards.active h2 {
    font-size: 230px;
    line-height: 230px;
    will-change: font-size;
  }

  .timeline-next {
    right: 15%;
  }

  .timeline-prev {
    left: 15%;
  }

  .school-result-card {
    height: 260px;
    width: 260px;
    padding: 20px;
  }

  .timeline-years {
    min-height: 380px;
  }
}

/* =============================================================
   1299px - Container Root Only
   ============================================================= */
@media (max-width: 1299px) {
  :root {
    --container: 1180px;
  }

  .school-result-card {
    margin: 0 auto;
  }
}

/* =============================================================
   1199px - Root Font Size Changes + Start Responsive Design
   ============================================================= */
@media (max-width: 1199px) {
  :root {
    --fs-display: 64px;
    --fs-h1: 40px;
    --fs-h2: 28px;
    --fs-h3: 18px;
    --fs-h4: 16px;
    --fs-body: 16px;
    --container: 90%;
  }

  /* Hero */
  main {
    padding-top: 120px;
  }

  .hero-main::before {
    height: 844px;
    top: -120px;
  }

  .hero-content h1 {
    padding: 14px 45px;
  }

  .hero-sub-content h2:nth-child(1),
  .hero-sub-content h2:nth-child(2) {
    padding: 14px 45px;
  }

  .hero-sub-content h2:nth-child(3) {
    padding: 14px 45px;
  }

  .hero-detail p {
    margin: 40px auto 0;
  }

  /* Specialized Section */
  .specialized-section {
    padding: 100px 0;
  }

  .special-row {
    padding: 30px;
  }

  .feature-list li {
    font-size: 18px;
  }

  /* Trusted Impact */
  .trusted-impact {
    padding: 80px 0;
  }

  /* School Results */
  .school-result-main {
    padding: 80px 0;
  }

  /* Problem / Solution */
  .problem-main {
    padding-top: 90px;
  }

  .problem-grid {
    gap: 40px;
    grid-template-columns: repeat(2, 1fr);
  }

  .problem-card-grid {
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
  }

  .main-problem-section {
    gap: 80px;
  }

  .problem-box-blue svg,
  .problem-box-yellow svg {
    width: 180px;
    height: 180px;
  }

  .solution-right-grid {
    align-items: flex-end;
  }

  .solution-right-grid>img {
    max-width: 300px;
    height: auto;
  }

  .problem-main-img>img {
    max-width: 300px;

    height: auto;
  }

  .problem-box-red svg,
  .problem-box-yellow svg {
    width: 160px;
  }

  /* Simple & Effective */
  .simple-effective-main {
    padding: 80px 0 130px 0;
  }

  /* Inclusive Learning */
  .inclusive-learning-main {
    padding: 90px 0 540px 0;
  }

  .inclusive-footer-content img {
    transform: translate(-50%, 50%);
    bottom: 40px;
  }

  .simple-effective-bottom-images img:first-child,
  .simple-effective-bottom-images img:last-child {
    bottom: -40%;
  }

  /* Meet the Creator */
  .meet-the-creator-main {
    padding: 240px 0 80px;
  }

  /* Testimonials */
  .testimonials-main {
    min-height: 100vh;
    padding: 0;
    display: flex;
    align-items: center;
  }

  .testimonials-bg-text {
    font-size: 140px;
  }

  /* Timeline */
  .timeline-main {
    padding: 90px 0;
  }

  .time-line-cards h2 {
    font-size: 140px;
    line-height: 140px;
    will-change: font-size;
    transition: none;
  }

  .time-line-cards.active h2 {
    font-size: 170px;
    line-height: 170px;
    will-change: font-size;
  }

  .timeline-next {
    right: 10%;
    width: 140px;
    height: 50px;
  }

  .timeline-prev {
    left: 10%;
    width: 140px;
    height: 50px;
  }

  /* Video */
  .video-main {
    padding: 80px 0 180px;
  }

  .video-content {
    height: 380px;
  }

  /* Form */
  .form-main {
    padding: 80px 0;
  }

  /* Footer */
  .main-footer {
    padding: 60px 0 30px;
  }

  .timeline-years {
    min-height: 344px;
  }

  .tagline::after {
    right: -50px;
  }

  .tagline::before {
    left: -50px;
  }

  .video-main::before {
    max-height: 424px;
  }

  .video-main::after {
    bottom: 0;
  }

  /* School Results */
  .school-result-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 600px;
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-svg::before {
    left: 0px;
  }

  .hero-svg::after {
    left: -20px;
  }
}

/* =============================================================
   1024px
   ============================================================= */
@media (max-width: 1023px) {
  :root {
    --fs-display: 56px;
    --fs-h1: 36px;
    --container: 900px;
  }

  /* Hero */
  .hero-content h1 {
    padding: 12px 36px;
  }

  .hero-sub-content h2:nth-child(1),
  .hero-sub-content h2:nth-child(2) {
    padding: 12px 36px;
  }

  .hero-sub-content h2:nth-child(3) {
    padding: 12px 36px;
  }

  .hero-svg img {
    max-width: 280px;
  }

  /* Problem */
  .problem-card-grid {
    grid-template-columns: 1fr 1.5fr;
  }

  .problem-box-blue svg,
  .problem-box-yellow svg {
    width: 180px;
    height: 180px;
  }

  .problem-card h2 {
    margin-bottom: 24px;
  }

  .school-result-card {
    width: 260px;
    height: 260px;
  }

  /* Timeline */
  .time-line-cards.active h2 {
    font-size: 170px;
    line-height: 170px;
    will-change: font-size;
  }

  .time-line-cards h2 {
    font-size: 120px;
    line-height: 120px;
    will-change: font-size;
    transition: none;
  }

  .timeline-next {
    right: 5%;
    width: 120px;
    height: 45px;
  }

  .timeline-prev {
    left: 5%;
    width: 120px;
    height: 45px;
  }

  .timeline-years {
    min-height: 350px;
  }

  /* Form */
  .form-main-grid {
    gap: 40px;
  }
}

/* =============================================================
   991px - Tablet + Mobile Navigation
   ============================================================= */
@media (max-width: 991px) {
  :root {
    --fs-display: 48px;
    --fs-h1: 32px;
    --fs-h2: 24px;
    --container: 90%;
  }

  /* Header */
  .main-header {
    padding: 12px 0;
  }

  /* Mobile Navigation Card */
  .navbar-collapse {
    position: absolute;
    top: calc(100% + 12px);
    left: 10px;
    right: 10px;
    background-color: var(--clr-bg-white);
    /* Draw extra-large soft floating light-blue ellipses on the edges */
    background-image:
      radial-gradient(ellipse at -10% 50%,
        var(--clr-bg-soft-blue) 0%,
        var(--clr-bg-soft-blue) 15%,
        transparent 40%),
      radial-gradient(ellipse at 110% 50%,
        var(--clr-bg-soft-blue) 0%,
        var(--clr-bg-soft-blue) 15%,
        transparent 40%);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    padding: 30px 20px;
    border-radius: 30px;
    box-shadow: 0 40px 80px rgba(16, 43, 78, 0.1);
    z-index: 1000;
    text-align: center;
  }

  .navbar-nav {
    gap: 12px;
    margin: 0 !important;
    perspective: 1000px;
    /* Enable 3D GSAP flips */
    transform-style: preserve-3d;
  }

  .navbar-nav li {
    width: 100%;
  }

  .navbar-nav a {
    color: var(--clr-navy-primary);
    font-family: var(--ff-body);
    font-weight: 600;
    padding: 10px 0;
    display: inline-block;
    position: relative;
    transition: color 0.3s ease;
    font-size: 18px;
  }

  .navbar-nav a:hover,
  .navbar-nav a:focus {
    color: var(--clr-red-accent);
  }

  .contact-btn {
    width: 100%;
    margin-top: 32px;
    padding: 19px !important;
    border-radius: 18px;
  }

  /* Theme-Specific Rhythm Toggle Button Styling */
  .navbar-toggler {
    border: none !important;
    width: 46px;
    height: 46px;
    padding: 0;
    border-radius: 50%;
    /* Perfect responsive circle */
    background: var(--clr-red-accent);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.35);
  }

  .navbar-toggler:hover {
    transform: translateY(-3px) scale(1.05);
    /* Playful bounce */
    background: var(--clr-navy-primary);
    box-shadow: 0 12px 30px rgba(28, 63, 149, 0.3);
  }

  .navbar-toggler:focus {
    box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.2);
    outline: none;
  }

  /* Playful Rhythm Bars */
  .tt-toggler-icon {
    width: 24px;
    height: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    /* Push layers to the right for stagger */
  }

  .tt-toggler-icon span {
    height: 4px !important;
    border-radius: 4px !important;
    background-color: var(--clr-bg-white) !important;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) !important;
  }

  /* Asymmetrical 'sound wave' look */
  .tt-toggler-icon span:nth-child(1) {
    width: 100%;
  }

  .tt-toggler-icon span:nth-child(2) {
    width: 65%;
  }

  .tt-toggler-icon span:nth-child(3) {
    width: 85%;
  }

  /* Expanded hover effect */
  .navbar-toggler:hover .tt-toggler-icon span {
    width: 100%;
  }

  /* Opening Morph into X */
  .navbar-toggler[aria-expanded="true"] .tt-toggler-icon span:nth-child(1) {
    transform: translateY(7px) rotate(45deg) !important;
    width: 100%;
  }

  .navbar-toggler[aria-expanded="true"] .tt-toggler-icon span:nth-child(2) {
    opacity: 0;
    transform: translateX(15px);
    /* Swipes out playfully */
  }

  .navbar-toggler[aria-expanded="true"] .tt-toggler-icon span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg) !important;
    width: 100%;
  }

  /* Hero */
  main {
    padding-top: 112px;
  }

  .hero-main::before {
    height: 737px;
    top: -100px;
  }

  .hero-section {
    padding-top: 40px;
  }

  .hero-svg img {
    max-width: 240px;
  }

  .hero-content h1 {
    padding: 10px 30px;
    border-radius: 50px;
  }

  .hero-sub-content {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-sub-content h2:nth-child(1),
  .hero-sub-content h2:nth-child(2) {
    padding: 10px 30px;
    border-radius: 50px;
  }

  .hero-sub-content h2:nth-child(3) {
    padding: 10px 30px;
    border-radius: 50px;
  }

  /* Hero floating decorations - hide on smaller screens */
  /* .hero-svg::before,
  .hero-svg::after,
  .hero-content h1::before,
  .hero-content h1::after,
  .hero-sub-content h2:nth-child(1)::after,
  .hero-sub-content h2:nth-child(1)::before,
  .hero-sub-content h2:nth-child(3)::after {
    display: none;
  } */
  .hero-sub-content h2:nth-child(3)::after {
    background-image: url(../images/hero-animated-svg-7.svg);
    bottom: -30%;
    left: -12%;
    width: 24px;
    height: 40px;
  }

  .hero-sub-content h2:nth-child(1)::before {
    width: 30px;
    height: 30px;
  }

  /* Specialized Section */
  .special-row {
    grid-template-columns: 1fr;
    padding: 30px;
  }

  /* Problem / Solution */
  .problem-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .problem-card-grid {
    grid-template-columns: 1fr 2fr;
  }

  .main-problem-section {
    gap: 60px;
  }

  .problem-card h2 {
    margin-bottom: 20px;
  }

  .main-problem-section .problem-grid:last-child {
    direction: ltr;
  }

  /* Trusted Impact */
  .trusted-impact {
    padding: 60px 0;
  }

  .trusted-impact-grid {
    grid-template-columns: repeat(3, 1fr);
    padding: 30px 15px;
    margin-top: 40px;
  }

  /* School Results */
  .school-result-main {
    padding: 90px 0;
    margin-top: 60px;
  }

  .school-result-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 500px;
    margin: 0 auto;
  }

  .school-result-card {
    width: 240px;
    height: 240px;
  }

  /* Timeline */
  .time-line-cards h2 {
    font-size: 90px;
    line-height: 90px;
    will-change: font-size;
    transition: none;
  }

  .time-line-cards.active h2 {
    font-size: 130px;
    line-height: 130px;
    will-change: font-size;
  }

  .timeline-years {
    min-height: 244px;
  }

  .timeline-next,
  .timeline-prev {
    height: 40px;
  }

  .timeline-next {
    right: 3%;
  }

  .timeline-prev {
    left: 3%;
  }

  .timeline-images ul li .year {
    font-size: 14px;
  }

  /* Simple & Effective */
  .simple-effective-main {
    padding: 60px 0 100px;
  }

  .simple-effective-card {
    padding: 20px;
  }

  .simple-effective-card-header {
    padding: 20px;
    flex-direction: column;
    text-align: center;
  }

  /* Inclusive Learning */
  .inclusive-learning-main-card {
    padding: 20px;
  }

  .inclusive-learning-main {
    padding: 90px 0 500px 0;
  }

  /* Meet the Creator */
  .meet-the-creator-main {
    padding: 200px 0 60px;
  }

  .tagline {
    padding: 20px;
  }

  .tagline h3 {
    padding: 20px;
  }

  .tagline::before,
  .tagline::after {
    display: none;
  }

  /* Testimonials */
  .testimonials-main {
    min-height: 100vh;
    padding: 0;
    display: flex;
    align-items: center;
  }

  .testimonials-bg-text {
    font-size: 100px;
  }

  .testimonials-slider-wrap {
    max-width: 380px;
    height: min(68vh, 520px);
  }

  .testimonials-swiper,
  .testupjoin {
    height: 100%;
  }

  .testupjoin {
    display: block;
  }

  .testupjoincard {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(92vw, 380px);
  }

  /* Video */
  .video-main {
    padding: 60px 0 140px;
  }

  .video-content {
    height: 320px;
  }

  /* Form */
  .form-main {
    padding: 60px 0;
  }

  .form-main-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .problem-card-grid {
    grid-template-columns: 1fr 1fr;
    margin: 0 auto;
    max-width: 500px;
  }

  .feature-imgs {
    gap: 30px;
  }

  .featured-on {
    margin: 30px 0 60px;
  }
  .flexrow {
    margin-left: 0;
    justify-content: center;
    margin-top: 20px;
}
}

/* =============================================================
   767px - Small Tablet / Large Phone
   ============================================================= */
@media (max-width: 767px) {
  :root {
    --fs-display: 40px;
    --fs-h1: 38px;
    --fs-h2: 28px;
    --fs-h3: 17px;
    --fs-body: 17px;
    --fs-sm: 15px;
  }

  /* Hero */
  .hero-section {
    padding-top: 30px;
  }

  .hero-svg img {
    max-width: 200px;
  }

  .hero-content h1 {
    padding: 10px 25px;
    border-radius: 40px;
  }

  .hero-sub-content h2:nth-child(1),
  .hero-sub-content h2:nth-child(2) {
    padding: 10px 25px;
    border-radius: 40px;
  }

  .hero-sub-content h2:nth-child(3) {
    padding: 10px 25px;
    border-radius: 40px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  /* Buttons */
  a.button-primary,
  a.button-secondary {
    font-size: var(--fs-body);
    padding: 11px 18px;
  }

  /* Specialized Section */
  .special-row {
    padding: 24px;
  }

  .feature-list li {
    font-size: 20px;
    padding-left: 36px;
    margin-bottom: 30px;
  }

  .feature-list li::before {
    width: 24px;
    height: 24px;
    font-size: 13px;
  }

  /* Problem */
  .problem-img {
    order: -1;
    align-items: end;
  }

  .problem-box-blue svg,
  .problem-box-yellow svg {
    width: 150px;
    height: 150px;
  }

  .solution-right-grid {
    align-items: end;
  }

  .solution-right-grid>div:first-child img {
    max-width: 80px;
  }

  .solution-right-grid>img {
    max-width: 100%;
    width: 100%;
  }

  /* Trusted Impact */
  .trusted-impact-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  /* School Results */
  .school-result-grid {
    grid-template-columns: 1fr 1fr;
    max-width: 100%;
  }

  .school-result-card {
    height: 220px;
    width: 220px;
  }

  .school-result-card::after {
    top: -20px;
  }

  .time-line-cards.active h2 {
    font-size: 140px;
    line-height: 140px;
    will-change: font-size;
  }

  .time-line-cards h2 {
    font-size: 80px;
    line-height: 80px;
    will-change: font-size;
    transition: none;
  }

  .timeline-years {
    min-height: 250px;
    padding: 30px 0;
  }

  .time-line-detail h3 {
    font-size: 20px;
    line-height: 160%;
  }

  .timeline-images ul {
    margin-top: 20px;
  }

  .timeline-images ul li .year {
    font-size: 12px;
  }

  .timeline-images ul li .icon-wrap svg {
    width: 22px;
    height: 22px;
  }

  .timeline-images ul::before {
    top: 11px;
    left: 11px;
    right: 11px;
  }

  /* Simple & Effective */
  .simple-effective-main {
    padding: 50px 0 80px;
  }

  .simple-effective-grid {
    grid-template-columns: 1fr;
  }

  /* Inclusive Learning */

  .inclusive-learning-grid {
    grid-template-columns: 1fr;
  }

  .inclusive-footer-content img {
    max-width: 100%;
  }

  /* Meet the Creator */
  .meet-the-creator-main {
    padding: 160px 0 50px;
  }

  /* Testimonials */
  .testimonials-bg-text {
    font-size: 70px;
  }

  .testimonials-slider-wrap {
    max-width: 320px;
  }

  .testimonial-card {
    padding: 25px 20px 20px;
  }

  .circle-1 {
    display: none;
  }

  .circle-2 {
    width: 100px;
    height: 100px;
    border-width: 12px;
  }

  /* Video */
  .video-main {
    padding: 50px 0 120px;
  }

  .video-content {
    height: 260px;
  }

  .video-main::before {
    height: 400px;
  }

  /* Form */
  .form-content h2 {
    margin-bottom: 24px;
  }

  .form-content p {
    margin-bottom: 24px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .main-footer {
    padding: 40px 0 40px;
  }

  .problem-main-img>img {
    max-width: 100%;
  }

  .problem-card-grid {
    grid-template-columns: 1fr 2fr;
    margin: 0 auto;
    max-width: 100%;
  }

  .main-footer hr {
    margin: 20px 0;
  }

  .simple-effective-bottom-images img:first-child,
  .simple-effective-bottom-images img:last-child {
    bottom: -26%;
  }

  .inclusive-learning-main {
    padding: 90px 0 390px 0;
  }

  .inclusive-footer-content img {
    bottom: -92px;
    transform: translateX(-50%);
  }

  .hero-sub-content h2:nth-child(1)::after {
    width: 42px;
    height: 42px;
  }

  .hero-svg::before {
    bottom: -50px;
    left: 0px;
    width: 24px;
    height: 30px;
  }

  .hero-svg::after {
    bottom: -40px;
    left: -12px;
    width: 14px;
    height: 33px;
  }

  .hero-content h1::after {
    top: 10px;
    right: -30px;
    width: 18px;
    height: 24px;
  }

  .hero-content h1::before {
    top: -10px;
    right: -10px;
    width: 10px;
    height: 29px;
  }

  .testimonials-bg-text {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 100%);
  }

  .specialized-section {
    padding: 60px 0 100px;
  }

  .simple-effective-header,
  .inclusive-learning-header,
  .meet-the-creator-header {
    margin-bottom: 30px;
  }

  .musicsound::before {
    top: -50px;
    right: 80px;
  }
}

/* =============================================================
   576px - Mobile
   ============================================================= */
@media (max-width: 575px) {
  :root {
    --fs-display: 34px;
    --fs-h2: 20px;
  }

  .header-logo {
    height: 54px;
  }

  .navbar-collapse {
    left: 10px;
    right: 10px;
    padding: 32px 16px;
  }

  /* Hero */
  .hero-svg img {
    max-width: 170px;
    width: 100%;
  }

  .hero-content h1 {
    padding: 8px 20px;
    border-radius: 30px;
  }

  .hero-sub-content h2:nth-child(1),
  .hero-sub-content h2:nth-child(2) {
    padding: 8px 20px;
    border-radius: 30px;
  }

  .hero-sub-content h2:nth-child(3) {
    padding: 8px 20px;
    border-radius: 30px;
  }

  .special-row {
    padding: 20px;
  }

  .cta-wrap {
    flex-wrap: wrap;
  }

  .main-problem-section {
    gap: 40px;
  }

  .problem-box-blue svg,
  .problem-box-yellow svg {
    width: 136px;
    height: 136px;
  }

  /* Trusted Impact */
  .trusted-impact {
    padding: 90px 0;
  }

  .trusted-impact-grid {
    padding: 24px 16px;
    margin-top: 40px;
    gap: 40px;
  }

  .school-result-grid {
    grid-template-columns: 1fr;
  }

  .school-result-card {
    height: 300px;
    width: 300px;
  }

  .school-result-card h3 {
    font-size: 38px;
  }

  .school-result-card p {
    font-size: 20px;
  }

  .time-line-detail {
    max-width: 60%;
  }

  .time-line-cards.active h2 {
    font-size: 90px;
    line-height: 90px;
    min-height: 184px;
  }

  .timeline-years {
    min-height: 164px;
    padding: 20px 0;
  }

  .timeline-next,
  .timeline-prev {
    width: 60px;
    height: 20px;
  }

  .video-main::after {
    width: 100%;
    height: 100px;
    background: url(../images/mobile-bg.svg);
    bottom: -20px;
    background-repeat: no-repeat;
  }

  .timeline-images ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px 28px;
    flex-wrap: wrap;
    text-align: center;
  }

  .timeline-images ul::before {
    display: none;
  }

  .timeline-images ul li {
    gap: 0;
  }

  .timeline-images ul li .icon-wrap {
    display: none;
  }

  .timeline-images ul li .year {
    font-size: 16px;
    font-weight: 900;
    opacity: 0.3;
    transition: all 0.3s ease;
  }

  .timeline-images ul li .year.active-text {
    opacity: 1;
    transform: scale(1.1);
  }

  /* Simple & Effective */
  .simple-effective-main {
    padding: 40px 0 60px;
  }

  .simple-effective-card-header {
    padding: 16px;
    gap: 12px;
  }

  .simple-effective-card-header img {
    width: 50px;
  }

  .simple-effective-card::after {
    display: none;
  }

  /* Inclusive Learning */
  .inclusive-learning-main {
    padding: 90px 0 356px;
  }

  .inclusive-learning-header {
    margin-bottom: 30px;
  }

  /* Meet the Creator */
  .meet-the-creator-main {
    padding: 140px 0 40px;
  }

  .meet-the-creator-header {
    margin-bottom: 30px;
  }

  /* Testimonials */
  .testimonials-main {
    min-height: 100svh;
    padding: 0;
    display: flex;
    align-items: center;
  }

  .testimonials-bg-text {
    font-size: 38px;
  }

  .testimonials-slider-wrap {
    max-width: 280px;
    height: min(60vh, 420px);
  }

  .testimonial-card {
    padding: 20px 16px 16px;
  }

  .testimonial-stars::before,
  .testimonial-stars::after {
    width: 40px;
    margin-right: 10px;
    margin-left: 10px;
  }

  /* Video */
  .video-main {
    padding: 40px 0 100px;
  }

  .video-content {
    height: 200px;
  }

  .video-main::before {
    height: 286px;
  }

  /* Form */
  .form-main {
    padding: 80px 0 60px;
  }

  .featured-on {
    width: 100%;
    margin-top: 20px;
  }

  .featured-on img {
    width: 100%;
    max-height: 100px;
  }

  .simple-effective-command-content>div {
    flex-direction: column;
    margin-bottom: 10px;
  }

  .simple-effective-header,
  .inclusive-learning-header {
    margin-bottom: 30px;
  }

  .problem-box-red svg {
    width: 146px;
  }

  .main-problem-section .problem-grid:last-child .problem-box-yellow::after {
    width: 90px;
    height: 40px;
    bottom: -60px;
  }

  .main-problem-section .problem-grid:last-child .problem-box-yellow {
    margin-bottom: 0px;
  }

  .music-card {
    width: 68px;
    height: 68px;
  }

  .problem-img img {
    width: 80px;
  }

  .problem-box-blue::after {
    bottom: -68px;
    width: 28px;
    height: 32px;
    left: 50%;
  }

  main {
    padding-top: 80px;
  }

  .hero-main::before {
    display: none;
  }

  .simple-effective-bottom-images img:first-child,
  .simple-effective-bottom-images img:last-child {
    max-width: 80%;
  }

  .simple-effective-bottom-images img:first-child,
  .simple-effective-bottom-images img:last-child {
    right: 0;
  }

  .bghero {
    background: var(--clr-bg-soft-blue);
    margin-top: -200px;
  }

  .mobileshape {
    display: block;
    position: relative;
    top: -40px;
    background: var(--clr-bg-white);
  }

  .mobileshape img {
    height: 200px;
    width: 100%;
    object-fit: cover;
  }

  .hero-detail p {
    margin: 30px auto 0;
  }

  .hero-buttons {
    width: 100%;
  }

  a.button-primary {
    width: 100%;
    justify-content: center;
    font-size: 18px;
  }

  .circle-2 {
    height: 150px;
    width: 150px;
  }

  .school-result-card::after {
    left: 40px;
  }

  .time-line-detail img {
    margin-top: 30px;
  }
}

@media (max-width: 480px) {

  .hero-sub-content h2:nth-child(1),
  .hero-sub-content h2:nth-child(2) {
    padding: 6px 14px;
  }

  .hero-sub-content h2:nth-child(3) {
    padding: 6px 14px;
  }

  .hero-sub-content h2:nth-child(3)::after {
    width: 18px;
  }

  .school-result-card::after {
    top: 10px;
    left: 0px;
  }

  .hero-svg::before {
    left: 13px;
  }

  .hero-svg::after {
    left: -2px;
  }
}

/* =============================================================
   390px - Small Mobile
   ============================================================= */
@media (max-width: 389px) {

  /* Hero */
  .hero-svg img {
    max-width: 150px;
    width: 100%;
  }

  .hero-content h1 {
    padding: 8px 16px;
  }

  .hero-sub-content h2:nth-child(1),
  .hero-sub-content h2:nth-child(2) {
    padding: 8px 16px;
  }

  .hero-sub-content h2:nth-child(3) {
    padding: 8px 16px;
  }

  .hero-buttons {
    gap: 12px;
  }

  .school-result-card::after {
    top: 0;
  }

  .special-grid .special-row:first-of-type {
    padding-top: 40px;
  }

  /* School Results */
  .school-result-grid {
    grid-template-columns: 1fr;
    margin: 0 auto;
  }

  .school-result-card {
    width: 260px;
    height: 260px;
    margin: 0 auto;
  }

  /* Timeline */
  .time-line-cards.active h2 {
    font-size: 90px;
    line-height: 90px;
    will-change: font-size;
    min-height: 214px;
  }

  .time-line-cards h2 {
    font-size: 50px;
    line-height: 50px;
    will-change: font-size;
    transition: none;
  }

  .timeline-next,
  .timeline-prev {
    width: 50px;
    height: 16px;
  }
}

/* =============================================================
   375px - Extra Small Mobile
   ============================================================= */
@media (max-width: 374px) {
  :root {
    --fs-display: 30px;
    --fs-h1: 24px;
    --fs-h2: 18px;
    --fs-h3: 15px;
    --fs-body: 14px;
  }

  .hero-content h1 {
    padding: 6px 14px;
  }

  a.button-primary,
  a.button-secondary {
    padding: 16px 16px;
    gap: 10px;
  }

  /* Testimonials */
  .testimonials-slider-wrap {
    max-width: 260px;
  }

  .problem-box-blue svg,
  .problem-box-yellow svg {
    width: 126px;
    height: 126px;
  }

  .hero-sub-content h2:nth-child(1)::before {
    bottom: -38%;
  }

  .hero-sub-content h2:nth-child(1)::after {
    left: -8%;
  }

  .hero-sub-content h2:nth-child(3)::after {
    left: -18%;
  }
}