@media (max-width: 1199px) {
  a.nav-link {
    font-size: 14px;
  }

  nav a.comon_btn2,
  nav button.comon_btn2 {
    color: var(--primary);
    display: inline-block;
    font-size: 14px;
    padding: 10px 5px;
    border-radius: 55px;
    width: 140px;
    text-align: center;
    /* text-transform: uppercase; */
    font-weight: 600;
    letter-spacing: 2px;
    border: 2px solid var(--primary);
    transition: all 0.6s ease;
  }
}

@media (max-width: 991.98px) {
  .container-fluid {
    padding: 0 18px;
  }

  section {
    padding: 60px 0;
  }

  h1 {
    font-size: 60px;
  }

  h2 {
    font-size: 40px;
  }

  h3 {
    font-size: 30px;
  }

  p {
    font-size: 16px;
    line-height: 26px;
  }

  .navbar .container-fluid {
    gap: 12px;
  }

  .site-header.is-fixed img {
    width: 120px;
  }

  .navbar-collapse {
    margin-top: 12px;
    padding: 18px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(20, 68, 119, 0.1);
  }

  .navbar-nav {
    gap: 6px;
  }

  .navbar .comon_btn2 {
    width: 100%;
    margin: 12px 0 0 !important;
  }

  .hero {
    padding-top: 90px;
    padding-bottom: 90px;
    text-align: center;
  }

  .hero .illustration {
    max-width: 420px;
    margin: 0 auto;
  }

  /* .hero .list-unstyled li {
    justify-content: center;
  } */

  .button_container {
    justify-content: center !important;
  }

  .story h2 {
    font-size: 40px;
  }

  .story .stats-box {
    gap: 16px;
    flex-wrap: wrap;
  }

  .story .stats-box>div {
    min-width: 140px;
  }

  .courses-tabs .nav-link {
    margin: 6px;
  }

  .course-card {
    /* height: 460px; */
    cursor: pointer;
  }

  .course-card:hover .course-card-inner {
    transform: none;
  }

  .course-card.is-flipped .course-card-inner {
    transform: rotateY(180deg);
  }

  .course-card-back {
    padding: 24px;
  }

  .founder-content,
  .founder-section .section-header,
  .team-section .section-header,
  .testimonials-section .section-header,
  .faq-section .section-header {
    text-align: center;
  }

  .team-slider-wrapper {
    padding: 0 36px;
  }

  .testimonial-card {
    min-height: 280px;
  }
}

@media (max-width: 767.98px) {
  .container-fluid {
    padding: 0 14px;
  }

  section {
    padding: 52px 0;
  }

  h1 {
    font-size: 50px;
  }

  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 26px;
  }

  h4 {
    font-size: 20px;
  }

  p {
    font-size: 15px;
    line-height: 24px;
  }

  a.comon_btn,
  button.comon_btn,
  a.comon_btn2,
  button.comon_btn2,
  a.comon_btn3,
  button.comon_btn3 {
    /* width: 100%; */
    max-width: 280px;
    font-size: 15px;
  }


  .site-header.is-fixed img {
    width: 60px;
  }


  nav.navbar, .site-header.is-fixed {
    height: 70px;
  }

  nav.navbar .navbar-brand {
    width: 60px;
    padding-top: 0;
}

nav.navbar .navbar-brand img, .site-header.is-fixed img {
    width: 60px;
}


  .hero {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero .lead {
    font-size: 17px;
  }

  .hero .illustration {
    max-width: 100%;
  }

  .hero .list-unstyled li {
    text-align: start;
  }

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

  .story h2,
  .section-header h2,
  .learning-platform h2,
  .courses-hero h1,
  .founder-content h2 {
    font-size: 30px;
    letter-spacing: 1px;
  }

  .story .stats-box {
    padding: 18px;
    flex-direction: column;
    text-align: center;
  }

  .story small {
    font-size: 13px;
    letter-spacing: 1px;
    color: #333;
  }

  .why-choose .why-card {
    min-height: auto;
    flex-direction: column;
    text-align: center;
  }

  .courses-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .courses-tabs .nav-link {
    margin: 5px;
    padding: 8px 16px;
  }

  .course-card {
    min-height: 580px;
  }

  .course-card-back {
    border-radius: 12px;
  }

  .course-card-body {
    height: 55%;
  }

  .learning .outcome-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
  }

  .learning .outcome-card p {
    text-align: center;
  }

  .founder-img {
    width: 100%;
    max-width: 260px;
  }

  .team-slider-wrapper {
    padding: 0;
  }

  .team-swiper-prev,
  .team-swiper-next,
  .testimonial-swiper-prev,
  .testimonial-swiper-next {
    display: none !important;
  }

  .team-card {
    min-height: 320px;
  }

  .lead {
    font-size: 16px;
  }

  .testimonial-card {
    min-height: auto;
  }

  .testimonial-card.text-center.p-5 {
    padding: 1.5rem !important;
  }

  .faq-accordion {
    margin-bottom: 2rem !important;
  }

  /* .about-hero,
  .about-hero .overlay,
  .courses-hero,
  .courses-hero .overlay {
    min-height: 280px;
    height: 280px;
  } */

  .about-hero h1 {
    font-size: 40px;
  }

  .gallery-card,
  .popular-courses .course-card,
  .learning-outcomes .outcome-card,
  .course-benefits .benefit-card {
    border-radius: 16px;
  }
}