@media (max-width: 767px) {
 .section-head {
    display: block;
    line-height: 0;
  }
  .section-intro{
    font-size: 12px;
  }
  .btn{
    padding: 9px 18px;
    font-size: 13px;
  }
  .hidden-xs{
    display: none;
  }
  .bundle-thumb{
    height: 100%;
  }
  .price-row small{
    top: -5px;
    position: relative;
    left: -2px;
  }
  .homepage-stat strong{
    font-size: 16px
  }
   .homepage-stat span {
    font-size: 11px;
  }
  .section-head h2 {
    font-size: 20px;
    letter-spacing: -0.3px;
  }
  .bundle-card{
    padding: 0.4rem 0.42rem 0.8rem;
    border-radius: 11px;
  }
  .bundle-card h3, .course-card h3, .feature-card h3{
    font-size: 13px;
    letter-spacing: -0.3px;
  }
  .bundle-card ul {
    color: #444;
    line-height: 1.4;
    font-size: 10px;
    list-style: none;
  }
  .bundle-card .btn, .course-card .btn {
    font-size: 12px;
    padding-block: 7px;
    padding-inline: 7px;
    }
}

.homepage-carousel {
  position: relative;
  overflow: hidden;
  padding: 0 0.1rem 2.9rem;
}

.homepage-carousel .carousel-track {
  flex-wrap: nowrap;
  margin-right: 0;
  margin-left: 0;
  transition: transform 0.38s ease;
}

.homepage-carousel .carousel-track > [class*="col-"] {
  flex: 0 0 16.666667%;
  max-width: 16.666667%;
}

.carousel-arrow {
  position: absolute;
  top: auto;
  bottom: 0;
  z-index: 2;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #e1eaf5;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  box-shadow: 0 4px 12px rgba(13, 28, 63, 0.1);
  transform: none;
}

.carousel-arrow:hover:not(:disabled) {
  color: var(--blue);
}

.carousel-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.carousel-arrow-prev { left: 0; }
.carousel-arrow-next { right: 0; }

.carousel-dots {
  position: absolute;
  bottom: 0.78rem;
  left: 50%;
  display: flex;
  gap: 0.45rem;
  transform: translateX(-50%);
}

.carousel-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #cbd6e5;
}

.carousel-dot.is-active {
  width: 19px;
  border-radius: 999px;
  background: var(--blue);
}

.mobile-course-offer {
  display: none;
}

.mobile-categories {
  display: none;
}

.mobile-bundle-launch {
  display: none;
}

.testimonial-dots {
  display: none;
}

.mobile-cta-button,
.mobile-cta-art {
  display: none;
}

@media (max-width: 991.98px) {
  .homepage-carousel .carousel-track > [class*="col-"] {
    flex-basis: 33.333333%;
    max-width: 33.333333%;
  }
}

@media (max-width: 767px) {
  .cta-banner {
    position: relative;
    display: block;
    min-height: 225px;
    overflow: hidden;
    margin-top: 1.35rem;
    padding: 1.15rem 0.95rem 1.25rem;
    border: 2px solid #dce8fa;
    border-radius: 13px;
    background: linear-gradient(116deg, #1269e9 0%, #0751cf 68%, #0d3da7 100%);
    box-shadow: 0 9px 20px rgba(20, 91, 205, 0.18);
    isolation: isolate;
  }

  .cta-banner::before,
  .cta-banner::after {
    position: absolute;
    content: "";
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
  }

  .cta-banner::before {
    right: -26px;
    top: -60px;
    width: 180px;
    height: 180px;
  }

  .cta-banner::after {
    right: 86px;
    bottom: -100px;
    width: 220px;
    height: 220px;
    background: rgba(4, 54, 158, 0.3);
  }

  .cta-banner > div:first-child {
    position: relative;
    z-index: 2;
    max-width: 66%;
  }

  .cta-banner > div:first-child,
  .cta-banner h2,
  .cta-banner p,
  .cta-banner .mobile-cta-button,
  .cta-banner .mobile-cta-art {
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .cta-banner .alt-tag {
    display: none;
  }

  .cta-banner h2 {
    max-width: 220px;
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.12;
    letter-spacing: -0.04em;
  }

  .cta-banner p {
    max-width: 220px;
    margin-top: 0.65rem;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.75rem;
    line-height: 1.35;
  }

  .cta-banner > .btn {
    display: none;
  }

  .mobile-cta-button {
    display: inline-flex;
    min-width: 166px;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 0.85rem;
    padding: 0.58rem 0.7rem;
    border-radius: 8px;
    background: #fff;
    color: var(--blue);
    font-size: 0.75rem;
    font-weight: 800;
  }

  .mobile-cta-art {
    position: absolute;
    right: -2.5rem;
    bottom: -0.2rem;
    z-index: 1;
    display: block;
    width: 58%;
    height: 190px;
  }

  .mobile-cta-art img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    mix-blend-mode: screen;
  }

  .testimonial-section {
    padding-top: 1.6rem;
  }

  .testimonial-section .section-head {
    margin-bottom: 0.8rem !important;
  }

  .testimonial-section .section-head h2 {
    font-size: 1.28rem;
    line-height: 1.15;
  }

  .testimonial-section .section-intro {
    margin-top: 0.25rem;
    font-size: 0.72rem;
    line-height: 1.3;
  }

  .testimonial-section .section-head,
  .testimonial-section .testimonial-slide,
  .testimonial-section .testimonial-card {
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .testimonial-carousel {
    padding: 0 0 2.4rem;
    overflow: hidden;
  }

  .testimonial-slide {
    padding: 0.1rem 0.15rem 0.3rem;
  }

  .testimonial-carousel .testimonial-card {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    column-gap: 0.65rem;
    min-height: 164px;
    padding: 0.8rem 0.8rem 1.6rem 0.8rem;
    border: 1px solid #dce8f4;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 5px 14px rgba(13, 50, 90, 0.04);
  }

  .testimonial-card .quote-head {
    display: contents;
  }

  .testimonial-card .quote-head img {
    grid-column: 1;
    grid-row: 1 / span 3;
    width: 66px;
    height: 66px;
    align-self: start;
    margin-top: 0.1rem;
  }

  .testimonial-card .quote-head > div {
    display: contents;
  }

  .testimonial-card .quote-head h4 {
    grid-column: 2;
    grid-row: 3;
    align-self: start;
    margin-top: 0.15rem;
    font-size: 0.76rem;
    line-height: 1.15;
  }

  .testimonial-card .quote-head span {
    grid-column: 2;
    grid-row: 3;
    align-self: end;
    margin-bottom: -0.05rem;
    color: var(--muted);
    font-size: 0.65rem;
    line-height: 1.1;
    transform: translateY(0.9rem);
  }

  .testimonial-card p {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    margin: 0;
    color: #52627a;
    font-size: 0.73rem;
    line-height: 20px;
  }

  .testimonial-card .review-stars {
    grid-column: 2;
    grid-row: 2;
    align-self: end;
    margin: 0;
    color: #f3a800;
    font-size: 1rem;
    letter-spacing: 0.04em;
    line-height: 1;
  }

  .testimonial-carousel .carousel-control-prev,
  .testimonial-carousel .carousel-control-next {
    top: 45%;
    width: 2.15rem;
    height: 2.15rem;
    border: 1px solid #e1eaf5;
    background: #fff;
    box-shadow: 0 4px 12px rgba(13, 28, 63, 0.12);
  }

  .testimonial-carousel .carousel-control-prev {
    left: -0.05rem;
  }

  .testimonial-carousel .carousel-control-next {
    right: -0.05rem;
  }

  .testimonial-carousel .carousel-control-prev-icon,
  .testimonial-carousel .carousel-control-next-icon {
    filter: invert(24%) sepia(34%) saturate(1046%) hue-rotate(177deg) brightness(84%);
  }

  .testimonial-dots {
    position: absolute;
    bottom: 0.35rem;
    left: 50%;
    display: flex;
    gap: 0.45rem;
    align-items: center;
    transform: translateX(-50%);
  }

  .testimonial-dots span {
    display: block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #cbd6e5;
  }

  .testimonial-dots span.is-active {
    width: 17px;
    border-radius: 999px;
    background: var(--blue);
  }

  .why-section {
    padding-top: 1.55rem;
  }

  .why-section .section-head {
    display: block;
    margin-bottom: 0.15rem !important;
  }

  .why-section .section-head h2 {
    margin-top: 0.2rem;
    font-size: 1.28rem;
    letter-spacing: -0.04em;
    line-height: 1.15;
  }

  .why-section > .section-intro {
    max-width: 330px;
    margin-bottom: 0.85rem;
    font-size: 0.75rem;
    line-height: 1.35;
  }

  .why-section .section-head,
  .why-section > .section-intro,
  .why-section .why-grid > div,
  .why-section .feature-card {
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .why-section .why-grid {
    --bs-gutter-x: 0.65rem;
    --bs-gutter-y: 0.65rem;
    margin-top: 0;
  }

  .why-section .why-grid > div {
    display: flex;
    width: 50%;
  }

  .why-section .feature-card {
    min-height: 99px;
    align-items: center;
    gap: 0.25rem;
    padding: 0.62rem 0.55rem;
    border-radius: 9px;
  }

  .why-section .feature-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    font-size: 1.25rem;
  }

  .why-section .feature-copy h3 {
    margin-bottom: 0.22rem;
    font-size: 13px;
    line-height: 1.18;
  }

  .why-section .feature-copy p {
    font-size: 0.64rem;
    line-height: 1.28;
  }

  .mobile-bundle-launch {
    position: relative;
    display: flex;
    min-height: 166px;
    align-items: center;
    overflow: hidden;
    margin: 1.15rem 0 1rem;
    padding: 0.85rem 0.8rem 1.6rem 1rem;
    border: 2px solid #dce8fa;
    border-radius: 13px;
    background: linear-gradient(118deg, #123c9d 0%, #073781 68%, #092d70 100%);
    color: #fff;
    box-shadow: 0 8px 18px rgba(13, 48, 122, 0.16);
    isolation: isolate;
  }

  .mobile-bundle-launch::before,
  .mobile-bundle-launch::after {
    position: absolute;
    content: "";
    border-radius: 50%;
    background: rgba(74, 146, 255, 0.14);
  }

  .mobile-bundle-launch::before {
    right: -12px;
    top: -40px;
    width: 145px;
    height: 145px;
  }

  .mobile-bundle-launch::after {
    right: 45px;
    bottom: -74px;
    width: 170px;
    height: 170px;
  }

  .mobile-bundle-launch-copy {
    position: relative;
    z-index: 1;
    min-width: 0;
  }

  .mobile-bundle-launch-copy h2 {
    margin: 0;
    color: #fff;
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.15;
  }

  .mobile-bundle-launch-copy p {
    margin: 0.45rem 0 0.65rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.72rem;
    line-height: 1.3;
  }

  .mobile-bundle-launch-button {
    display: inline-flex;
    min-width: 148px;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.52rem 0.7rem;
    border-radius: 8px;
    background: #fff;
    color: var(--blue);
    font-size: 0.72rem;
    font-weight: 800;
  }

  .mobile-bundle-launch-button i {
    font-size: 0.95rem;
  }

  .mobile-bundle-launch-art {
    position: absolute;
    right: -0.35rem;
    bottom: 0.65rem;
    z-index: 1;
    width: 47%;
    height: 125px;
  }

  .mobile-bundle-launch-art img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    mix-blend-mode: darken;
  }

  .mobile-bundle-launch-dots {
    position: absolute;
    bottom: 0.32rem;
    left: 50%;
    z-index: 2;
    display: flex;
    gap: 0.4rem;
    align-items: center;
    transform: translateX(-50%);
  }

  .mobile-bundle-launch-dots span {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #7e9bd6;
  }

  .mobile-bundle-launch-dots span.is-active {
    width: 17px;
    border-radius: 999px;
    background: #fff;
  }

  .mobile-categories {
    display: block;
    margin: 1.15rem 0 1rem;
  }

  .mobile-categories-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
  }

  .mobile-categories-head h2 {
    margin: 0;
    color: var(--navy);
    font-size: 1.18rem;
    font-weight: 800;
    line-height: 1.15;
  }

  .mobile-categories-head p {
    margin: 0.2rem 0 0;
    color: var(--navy-2);
    font-size: 0.72rem;
    line-height: 1.3;
  }

  .mobile-categories-head .section-view-all {
    margin-top: 0.1rem;
    font-size: 0.73rem;
  }

  .mobile-categories-viewport {
    position: relative;
    overflow: hidden;
  }

  .mobile-categories-track {
    display: flex;
    gap: 0.65rem;
    padding: 0.15rem 0.2rem 0.35rem;
    transition: transform 0.35s ease;
    will-change: transform;
  }

  .mobile-category-card {
    display: flex;
    width: 80px;
    min-width: 80px;
    height: 90px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.55rem 0.3rem;
    border: 1px solid #e3ebf5;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 5px 12px rgba(23, 53, 93, 0.05);
    color: var(--navy);
    text-align: center;
  }

  .mobile-category-card i {
    display: grid;
    width: 39px;
    height: 39px;
    place-items: center;
    border-radius: 8px;
    background: #eaf4ff;
    color: var(--blue);
    font-size: 1.35rem;
  }

  .mobile-category-card span {
    overflow: hidden;
    max-width: 100%;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-categories-prev,
  .mobile-categories-next {
    position: absolute;
    top: 50%;
    right: -2px;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid #e1eaf5;
    border-radius: 50%;
    background: #fff;
    color: var(--navy);
    box-shadow: 0 4px 12px rgba(13, 28, 63, 0.12);
    transform: translateY(-50%);
  }

  .mobile-categories-prev {
    left: -2px;
  }

  .mobile-categories-next {
    right: -2px;
  }

  .mobile-categories-prev:disabled,
  .mobile-categories-next:disabled {
    opacity: 0.35;
  }

  .mobile-course-offer {
    position: relative;
    display: flex;
    min-height: 166px;
    align-items: stretch;
    justify-content: space-between;
    gap: 0.55rem;
    overflow: hidden;
    margin: 0.75rem 0 1rem;
    padding: 1rem 0.8rem 1rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 14px;
    background: linear-gradient(116deg, #1269e9 0%, #0751cf 68%, #0d3da7 100%);
    color: #fff;
    box-shadow: 0 9px 20px rgba(20, 91, 205, 0.2);
  }

  .mobile-course-offer::before,
  .mobile-course-offer::after {
    position: absolute;
    content: "";
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.09);
  }

  .mobile-course-offer::before {
    right: 19%;
    top: -42px;
    width: 112px;
    height: 112px;
  }

  .mobile-course-offer::after {
    right: -24px;
    bottom: -48px;
    width: 145px;
    height: 145px;
  }

  .mobile-course-offer-copy {
    position: relative;
    z-index: 1;
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
  }

  .mobile-course-offer-title {
    display: block;
    font-size: 0.86rem;
    line-height: 1.1;
  }

  .mobile-course-offer-title span {
    margin-right: 0.25rem;
  }

  .mobile-course-offer-timer {
    display: flex;
    gap: 0.32rem;
    margin: 0.45rem 0 0.5rem;
  }

  .mobile-course-offer-timer span {
    display: grid;
    width: 39px;
    min-height: 40px;
    place-items: center;
    align-content: center;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 7px;
    background: rgba(10, 66, 177, 0.38);
  }

  .mobile-course-offer-timer b,
  .mobile-course-offer-timer small {
    display: block;
    line-height: 1;
  }

  .mobile-course-offer-timer b {
    font-size: 0.83rem;
  }

  .mobile-course-offer-timer small {
    margin-top: 0.22rem;
    font-size: 0.48rem;
    opacity: 0.9;
  }

  .mobile-course-offer-discount {
    font-size: 0.74rem;
    line-height: 1.2;
  }

  .mobile-course-offer-button {
    display: inline-flex;
    min-width: 144px;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin-top: auto;
    padding: 0.48rem 0.65rem;
    border-radius: 7px;
    background: #fff;
    color: var(--blue);
    font-size: 0.72rem;
    font-weight: 800;
  }

  .mobile-course-offer-button i {
    font-size: 0.95rem;
  }

  .mobile-course-offer-art {
    position: relative;
    z-index: 1;
    display: grid;
    width: 34%;
    min-width: 88px;
    place-items: center;
  }

  .mobile-course-offer-art span {
    display: block;
    font-size: clamp(3.5rem, 18vw, 5.6rem);
    filter: drop-shadow(0 10px 6px rgba(0, 30, 112, 0.25));
    transform: rotate(-5deg);
  }

  .homepage-carousel .carousel-track > [class*="col-"] {
    flex-basis: 50%;
    max-width: 50%;
  }

  .section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    line-height: normal;
  }

  .section-head > div {
    min-width: 0;
  }

  .section-view-all {
    font-size: 0.75rem;
  }
  .hero-actions .btn{
    height: 42px;
    font-size: 13px;
  }
}


@media (min-width: 1600px) {
.hero-illustration img {
  padding-top: 120px;
}
}


@media(min-width: 768px){
.hidden-lg{
    display: none;
}
}