@media (max-width: 1200px) {
  .drop_menu.dropUser {
    right: 0 !important;
    transform: none !important;
    min-width: 14rem;
    left: auto !important;
  }
}

@media (max-width: 992px) {
  .hero-left,
  .hero-right {
    min-height: auto;
    padding: 3rem 2rem;
  }

  .hero-title-split {
    font-size: 2.5rem;
  }

  .timeline-item:nth-child(even) .timeline-content,
  .timeline-item:nth-child(odd) .timeline-content {
    margin-right: 0;
    margin-left: 0;
    padding-right: 2.5rem;
    padding-left: 2.5rem;
  }

  .floating-stats {
    display: none;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .floating-card {
    display: none;
  }

  .card-1,
  .card-2,
  .card-3 {
    display: none;
  }
    .footer_shadow {
        display: none;
    }

    .footer_shadow2 {
        display: none;
    }
}

@media (max-width: 991px) {
  #navbar_content:not(.show) {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    transform: translateX(-100%);
    top: 0;
    height: 100vh;
    overflow: auto;
  }
  #navbar_content.collapse_content_shadow:not(.show) {
    display: flex;
    transform: translateX(-100%);
    height: 100vh;
    overflow: auto;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: #000000cc;
  }
  #navbar_content.collapse_content_shadow {
    display: flex !important;
    position: fixed;
    height: 100%;
    width: 100%;
    transition: transform 0.4s, visibility 0.4s;
    will-change: transform, visibility;
    background: #000000cc;
    overflow: auto;
    overflow-x: hidden !important;
    left: 0;
    transform: translateX(0);
    padding: 1rem;
    z-index: 99;
  }
  #navbar_content {
    /* display: block !important; */
    flex-direction: column;
    position: fixed;
    top: 0;
    width: 320px;
    transition: transform 0.4s, visibility 0.4s;
    will-change: transform, visibility;
    background: var(--surface_color);
    height: 100vh;
    overflow: auto;
    overflow-x: hidden !important;
    left: 0;
    transform: translateX(0);
    z-index: 99;
    padding: 1rem 1rem 1rem;
  }
  #navbar_content.navbar_collapse_shadow {
    width: 100%;
    background: #04233ed8;
    z-index: 99;
  }

  .nav-item {
    width: 100%;
  }
  .nav_item {
    border-bottom: 1px solid var(--border_color);
    justify-content: space-between;
  }

  .navbar-toggler {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: var(--white_color);
    padding: 8px;
    border: 1px solid var(--light_blue);
    border-radius: calc(var(--border_radius) * 1.1);
    box-shadow: none !important;
    transition: var(--transition);
    background: linear-gradient(135deg, var(--middle_blue), var(--light_blue));
  }
  .navbar-toggler:hover {
    color: var(--white_color);
  }
  .navbar-toggler i {
    line-height: 0.5rem;
  }

  .btnnav_close {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 30px;
    height: 30px;

    border-color: var(--red_color);
    color: var(--white_color);
    background: var(--red_color);
  }

  .cta-content-minimal h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.1rem;
  }
}

@media (max-width: 768px) {
   .timeline-content {
        padding-top: 4.5rem !important;
        text-align: center;
        padding-bottom: 0;
    }
  .hero-title-split {
    font-size: 1.8rem;
  }
  .teachers-swiper .swiper-button-next,
  .teachers-swiper .swiper-button-prev {
    width: 40px;
    height: 40px;
  }

  .teachers-swiper .swiper-button-prev {
    left: 5px;
  }

  .teachers-swiper .swiper-button-next {
    right: 5px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem !important;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .cta-card {
    padding: 2.5rem 1.5rem;
  }

  .cta-card h2 {
    font-size: 1.75rem;
  }

  .navbar-nav .nav-link {
    padding: 0.75rem 1rem !important;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }
  .home-navbar {
    padding: 0.7rem 0;
  }
  .features-timeline,
  .courses-masonry,
  .cta-minimal {
    padding: 80px 0;
  }
  .features-timeline {
    padding-bottom: 0;
  }
  .section-title-minimal {
    font-size: 2rem;
  }
  .stat-card-horizontal {
    padding: 1.5rem 1rem;
  }
  .stat-icon-horizontal {
    width: 60px;
    height: 60px;
    margin: 0 auto 0.8rem;
    font-size: 1.5rem;
  }
  .stat-number-horizontal {
    font-size: 2.4rem;
    font-weight: 600;
  }

  .page_title_kids {
    padding-top: 120px;
  }
}

@media (max-width: 576px) {
  .course-details-right {
    padding: 10px;
  }
  .page_title_text {
    font-size: 30px;
  }
  .testimonial-card-grid {
    padding: 1.2rem;
  }

  .cta-content-minimal h2 {
    font-size: 1.7rem;
    font-weight: 600;
    margin-bottom: 0.9rem;
  }
  .section-title-minimal {
    font-size: 1.7rem;
  }
  .features-timeline,
  .courses-masonry,
  .testimonials-grid,
  .cta-minimal {
    padding: 30px 0;
  }

  .faq-card,
  .accordion-body {
    padding: 10px;
  }
  .btn_login {
    width: 40px;
    border-radius: calc(var(--border_radius) * 1.1);
    height: 40px;
  }
  .btn_login i {
    font-size: 20px;
  }
  .btn_login span {
    display: none;
  }
  .noran-logo {
    width: 70px;
  }
  .hero-title {
    font-size: 1.75rem;
  }

  .feature-card,
  .course-card,
  .testimonial-card {
    padding: 1.5rem;
  }

  .stat-card-home {
    padding: 2rem 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }
  .hero-left {
    padding: 3rem 1rem;
  }
  .hero-desc-split {
    font-size: 1rem;
  }
  .primary-btn,
  .secondary-btn {
    padding: 10px 13px;
  }
  .stat-card-horizontal {
    padding: 0.9rem 0.8rem;
  }
  .stat-number-horizontal {
    font-size: 1.9rem;
    font-weight: 500;
    line-height: 1;
  }
}
