

@media (min-width: 768px) and (max-width: 1023px) {
  body {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
  }

  /* header */
  .contact-bar {
    height: 100%; /* Reduce height to fit smaller screens */
    padding-right: 40px; /* Reduce right padding */
    font-size: 12px; /* Adjust font size */
  }

  .contact-content {
    gap: 16px; /* Reduce gap between elements */
  }

  .contact-email {
    font-size: 20px; /* Slightly smaller email font */
  }

  .phone-icon {
    width: 60px; /* Reduce phone icon size */
    height: 60px;
  }

  .phone-icon i {
    font-size: 20px; /* Adjust icon size */
  }

  .contact-number {
    font-size: 16px; /* Adjust contact number font */
  }

  /* nav-bar */
  .navbar {
    margin-top: 20px; /* Reduce top margin */
  }

  .navbar-container {
    justify-content: space-between; /* Adjust spacing */
    padding: 0 20px; /* Add padding to avoid elements touching edges */
  }

  .navbar-logo img {
    width: 180px; /* Reduce logo size */
    height: auto;
  }

  .navbar-links {
    gap: 30px; /* Reduce gap between links */
  }

  .navbar-links li a {
    font-size: 20px; /* Reduce link font size */
  }

  .join-now-btn {
    width: 140px; /* Reduce button size */
    height: 50px;
    font-size: 16px;
  }

  /* Mobile Menu Button */
  .menu-toggle {
    display: block; /* Show menu toggle for tablets */
  }

  .navbar-links {
    display: none; /* Hide desktop navbar links */
  }
  .close-btn{
    right: 50px;
  }

  .join-now-btn {
    display: none; /* Hide Join Now button on navbar */
  }

  /* Ensure Mobile Menu is properly visible */
  .mobile-menu {
    padding: 20px;
  }


  /* hero_section */

  .hero {
    flex-direction: column;
    text-align: left;
    padding-top: 10%;
    padding-bottom: 10%;
}

.hero-content {
    width: 80%;
    margin-left: 0;
}

.heading {
    font-size: 40px;
    line-height: 60px;
}

.subheading, .description {
    font-size: 20px;
    line-height: 30px;
}

.hero-btn {
    width: 200px;
    height: 55px;
    font-size: 20px;
}
.popads{
  margin-left: 250px;
}
.popads-text{
  font-size: 20px;
}

.students {
    align-items: center;
    margin-top: 150px;
    margin-left: 4%;
}

.students-text {
    margin-left: 10%;
}

.hero-images {
    margin-right: 0;
    text-align: center;
    margin-top: 20%;
}

.main-image img {
    width: 400px;
    height: 400px;
}

.gradient-1 {
    width: 220px;
    height: 220px;
    top: 300px;
    left: -80px;
}

.gradient-2 {
    width: 100px;
    height: 100px;
    left: 250px;
    top: -90px;
}

.circle-1, .circle-2, .circle-3 {
    width: 230px;
    height: 230px;
}

.circle-3 {
    left: -80px;
    top: -120px;
}

.circle-2 {
    top: 320px;
    left: 230px;
}

.circle-1 {
    left: 300px;
    top: -80px;
}

/* popular-course */

.popular-courses h1 {
  font-size: 2.5rem;
  margin-bottom: 2.5rem;
}

.course-card-wrapper {
  width: 30%; /* 3 cards per row */
  height: 400px;
}

.course-text {
  font-size: 28px;
}

.course-text p {
  font-size: 20px;
}

.view-course-btn {
  font-size: 18px;
  padding: 10px 18px;
}

/* whatwedo */

.what-we-do {
  padding: 50px 15px;
}

.what-we-do h1 {
  font-size: 40px;
  margin-bottom: 40px;
}

.container {
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.item {
  width: 45%;
}

.icon {
  width: 100px;
  height: 100px;
}

.circle {
  width: 200px;
  height: 200px;
}

.text {
  font-size: 18px;
  margin-top: 15px;
}


/* MandV */
.container-1 {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.container-2 {
  width: 80%;
  padding-left: 0;
}

.mission {
  width: 80%;
  padding-top: 50px;
}

.image-box {
  width: 100%;
  height: 500px;
}

.mission-title {
  font-size: 30px;
}

.mission-text {
  font-size: 18px;
  line-height: 28px;
}

.demo-box {
  left: 70%;
  right: 3%;
  top: 40%;
  transform: translateX(-50%);
  padding: 14px;
}

/* whatisstemr */

.stem-2 {
  padding-left: 5%;
  padding-top: 8%;
}

.stem-title {
  font-size: 38px;
}

.icons-container {
  gap: 12px;
}

.icon-item {
  width: 250px;
  height: 70px;
}

.circle-s, .circle-t, .circle-e, .circle-m, .circle-r {
  width: 70px;
  height: 70px;
  font-size: 30px;
}

.label {
  width: 150px;
  height: 45px;
  left: 70px;
  top: 12px;
  font-size: 20px;
}

.stem-content {
  flex-direction: column;
  text-align: center;
}

.stem-text {
  width: 90%;
  font-size: 20px;
}

.stem-image {
  width: 90%;
}

.stem-image img {
  width: 100%;
}

/* animation-cards */

.cards-container {
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  padding-left: 2%;
}

.card {
  width: 40%; /* Adjust width for medium screens */
  height: 110px;
}

.card img {
  width: auto;
  height: 55px;
}

.card p {
  font-size: 21px;
}

/* whyweneed? */
.stemr-section {
  padding-left: 2%;
}

.stemr-section h1 {
  font-size: 40px; /* Reduce heading size */
}

.stemr-section p.subtitle {
  font-size: 1.1em; /* Adjust subtitle size */
}

.stemr-section p.description {
  font-size: 0.95em; /* Adjust description size */
  margin-bottom: 30px;
}

.stemr-cd {
  gap: 50px; /* Reduce gap between cards */
}

.cd {
  width: 300px; /* Reduce card width */
  height: 190px; /* Adjust height */
  padding-top: 15px;
}

.cd img {
  width: 50px; /* Reduce icon size */
  height: 50px;
}

.cd h3 {
  font-size: 15px;
}

.cd p {
  font-size: 13px;
}

/* testimonial */

.testimonial-section {
  flex-direction: column; /* Stack elements vertically */
  gap: 30px;
  padding: 30px;
}

.testimonial-container {
  padding-left: 0;
  flex-direction: column;
  align-items: center;
}

.testimonial-left {
  width: 50%; /* Full width */
  height: auto; /* Auto height */
  padding: 30px;
}

.testimonial-left h2 {
  font-size: 28px; /* Reduce heading size */
}

.testimonial-right {
  width: 80%;
  padding: 20px;
}

.testimonial-card {
  width: 100%;
  height: auto;
  padding: 25px;
  box-shadow: 2px 4px 2px 4px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
  font-size: 18px;
  height: auto; /* Adjust height */
}

.testimonial-bottom {
  position: relative;
  bottom: auto;
  padding: 20px;
}

.testimonial-arrows {
  top: 10px;
  right: 10px;
}

.arrow-left,
.arrow-right {
  width: 30px;
  height: 30px;
  font-size: 14px;
}

/* whatyouget */

.cd-1 {
  width: 30%;
  padding: 20px;
}

.what-you-need h1 {
  font-size: 32px;
}

.cd-1 h3 {
  font-size: 24px;
}

.cd-1 p {
  font-size: 15px;
}

/* enrollsection */

.enroll-section {
  flex-direction: column; /* Stack content vertically */
  text-align: center; /* Center text for better alignment */
  padding: 30px 40px; /* Adjust padding */
}

.enroll-text h1 {
  font-size: 40px; /* Reduce heading size */
}

.enroll-text p {
  font-size: 26px; /* Reduce subtitle size */
}

.enroll-contact {
  flex-direction: column; /* Stack phone and button */
  gap: 16px;
  margin-top: 20px;
}

.phone {
  font-size: 28px; /* Reduce phone text size */
}

.phone i {
  font-size: 35px; /* Reduce icon size */
}

.join-btn {
  width: 220px; /* Reduce button width */
  height: 55px;
  font-size: 20px;
}

/* footer */

.footer {
  padding: 60px 40px;
}

.footer-content {
  flex-direction: column;
  text-align: center;
}

.footer-description {
  padding-left: 0;
  margin-right: 0;
}

.footer-courses h3,
.footer-contact h3 {
  margin-top: 20px;
}

.footer-courses ul {
  display: inline-block;
  text-align: left;
}

.footer-contact p {
  justify-content: center;
}

/* about-uspage */

.about {
  align-items: center;
  padding-bottom: 40px;
}

.about-container {
  align-items: center;
  text-align: center;
  margin-top: 10%;
}

.about-image {
  width: 100%;
  max-height: 450px; /* Reduce height for medium screens */
}

.about-text {
  width: 90%;
  padding: 20px;
  text-align: center; /* Center text */
}

.about-text p {
  font-size: 20px; /* Adjust font size */
}

.cta-box {
position: static;
  margin-top: 20px;
  padding: 12px;
}

.cta-box h3 {
  font-size: 22px;
}

.cta-box p {
  font-size: 16px;
}

.cta-box a {
  font-size: 20px;
}

/* contact-pages */

.contact {
  padding-left: 5%;
  padding-right: 5%;
  align-items: center; /* Centering the content */
  text-align: center;
}

.contact-us {
  margin-top: 5%;
  min-width: auto;
}

.contact-us p {
  font-size: 50px; /* Adjusted font size */
}

.form-container {
  max-width: 90%;
}

.form-group {
  flex-direction: column; /* Stack inputs */
  gap: 15px;
}

.message textarea {
  height: 100px;
}

.submit-btn {
  max-width: 300px;
  margin: 20px auto; /* Centering button */
}

.social-icons {
  position: static;
  flex-direction: row;
  justify-content: center;
  margin-top: 20px;
}

.social-icons a {
  width: 50px;
  height: 50px;
  font-size: 20px;
}


.contact-right {
  flex-direction: column;
  gap: 50px;
  padding-right: 0;
  align-items: center;
}

.contact-box {
  max-width: 100%;
}


/* courses-pages */
.course-menus {
  padding-top: 7%;
}

.menus-link {
  gap: 100px;
}

.menus-link a {
  font-size: 22px;
  padding: 8px 16px;
}

.course-title {
  font-size: 22px;
}

.sub-title-course h2 {
  font-size: 30px;
}

.courses-container-1 {
  grid-template-columns: repeat(2, 1fr); /* 2 cards per row */
  column-gap: 80px;
  row-gap: 50px;
  margin-top: 50px;

}
.section-title-1{
 position:absolute ;
 left: 0px;
}

.courses-card-1 {
  padding: 15px;
  width: 300px;
  max-width: 100%;
}

.courses-image-1 {
  width: 100%;
  height: auto;
}

.section-title-1 {
  top: 50px;
  left: 60px;
  font-size: 13px;
}

.courses-title {
  font-size: 15px;
}

.courses-description {
  font-size: 14px;
  width: 100%;
}

.detail-c {
  padding-top: 3%;
}

.detail-title {
  font-size: 48px;
}

.status-bar {
  font-size: 20px;
  gap: 30px;
}

.detail-content {
  text-align: center;
}

.detail-main-image {
  max-width: 80%;
  max-height: 500px;
}

.detail-info-box {
  gap: 40px;
  margin-left: 0;
  align-items: center;
}

.why-choose-content-container {
  flex-direction: column;
  padding-left: 0;
  text-align: center;
}

.why-choose-image-container{
  max-width: 80%;
}

.why-choose-text-container {
  text-align: center;
  margin-top: 5%;
}

.why-choose-section-title {
  font-size: 28px;
}

.why-choose-text-title {
  font-size: 30px;
}

.why-choose-text-description {
  width: 100%;
}
.get-more{
  font-size: 15px;
}
.why-choose-features-list{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}


/* pop-up-form */
.modal-content-1, .success-modal-1,.success-modal-2 {
  width: 80%; /* Adjust width for tablets */
  height: auto; /* Allow dynamic height */
  padding: 25px;
}
.form-headings-1{
  font-size: 30px;
}
.form-headings i{
  width: 57px;
  height: 57px;
  font-size: 30px;
 
}
.modal-content-1 small{
  font-size: 14px;
  justify-content: center;

}

.form-group-1 {
  flex-direction: column;
  gap: 12px;
}

.btn-1, .btn-ok-1 , .btn-ok-2 {
  font-size: 18px;
  padding: 14px;
}


.success-modal-1 h2 {
  font-size: 28px;
}

.success-modal-1 p {
  font-size: 14px;
}



/* plans */
.planscard {
  margin-top: 10%;
}

.menuplan {
  flex-direction: column;
  align-items: center;
  gap:30px;
}

.menuplan button {
  width: 180px;
  height: 60px;
  font-size: 20px;
}

.chooseplan {
  font-size: 32px;
}

.plans {
  justify-content: center;
  padding-bottom: 10%;
}

.plan {
  width: 340px;
  padding: 18px;
  border-radius: 45px;
}

.plan div {
  width: 280px;
}

}



 
  @media (max-width: 768px) {
    * {
      box-sizing: border-box;
    }
    .contact-bar {
        justify-content: center;
        padding-right: 0;
        height: 100%;
      }
    
      .contact-content {
        gap: 16px;
      }
    
      .contact-email,
      .contact-number {
        font-size: 16px;
      }
    
      .phone-icon {
        width: 60px;
        height: 60px;
      }
    
      .phone-icon i {
        font-size: 20px;
      }

.navbar-container{
  justify-content: space-between;
}

    .navbar-links {
      display: none;
    }
  
    .join-now-btn {
      display: none;
    }
  
    .menu-toggle {
      display: block;
    }
    .close-btn{
      right: 20px;
    }

    .heading {
        font-size: 32px;
    }

    .hero {
      flex-direction: column;
      padding-top: 25%;
      padding-bottom: 8%;
  }

  .hero-content {
      width: 90%;
      margin-left: 0;
  }

  .heading {
      font-size: 35px;
      line-height: 50px;
  }

  .subheading, .description {
      font-size: 18px;
      line-height: 28px;
  }

  .hero-btn {
      width: 180px;
      height: 50px;
      font-size: 18px;
  }
  .popads{
    margin-left: 200px;
  }

.popads-text{
  font-size: 16px;
}


  .students {
      align-items: center;
      margin-top: 150px;
      margin-left: 5%;
  }

  .students-text {
    margin-left: 15%;
  }

  .hero-images {
    margin-top: 20%;
      margin-right: 0;
      text-align: center;
  }

  .main-image img {
      width: 350px;
      height: 350px;
  }

  .gradient-1 {
      width: 180px;
      height: 180px;
      top: 250px;
      left: -60px;
  }

  .gradient-2 {
      width: 80px;
      height: 80px;
      left: 200px;
      top: -70px;
  }

  .circle-1, .circle-2, .circle-3 {
      width: 190px;
      height: 190px;
  }

  .circle-3 {
      left: -60px;
      top: -90px;
  }

  .circle-2 {
      top: 280px;
      left: 180px;
  }

  .circle-1 {
      left: 230px;
      top: -60px;
  }



    /* popular course */

    .Courses {
      margin-top: 30px;
      padding: 0 20px;
  }

  .popular-courses h1 {
      font-size: 2rem;
      margin-bottom: 2rem;
  }

  .course-grid {
      gap: 1.5rem;
  }

  .course-card-wrapper {
      width: 45%; /* 2 cards per row */
      height: 350px;
  }

  .course-text {
      font-size: 24px;
  }

  .course-text p {
      font-size: 18px;
  }

  .view-course-btn {
      font-size: 16px;
      padding: 8px 16px;
  }

    /* what we do */

    .container {
        flex-wrap: wrap;
        gap: 30px;
      }
    
      .icon {
        width: 100px;
        height: 100px;
      }
    
      .circle {
        width: 250px;
        height: 250px;
      }
    
      .text {
        font-size: 18px;
      }


      .Courses{
        margin-top: 150px;
      }

      /* MandV */

      .container-1 {
        flex-direction: column;
        align-items: center;
        text-align: center;
      }
      .container-2 {
        width: 90%;
    }

    .mission {
        width: 90%;
        padding-top: 40px;
    }

    .image-box {
        height: 450px;
    }

    .mission-title {
        font-size: 28px;
    }

    .mission-text {
        font-size: 16px;
        line-height: 26px;
    }

    .demo-box {
        top: 40%;
        right: 3%;
        padding: 12px;
    }


      /* stem r */


      .icons-container {
        gap: 12px;
      }
      .icon-item {
        width: 250px;
        height: 70px;
      }
      .circle-s, .circle-t, .circle-e, .circle-m, .circle-r {
        width: 70px;
        height: 70px;
        font-size: 32px;
      }
      .label {
        width: 170px;
        height: 45px;
        left: 70px;
        font-size: 20px;
      }
      .stem-text {
        width: 90%;
        font-size: 18px;
      }
      .stem-image {
        width: 70%;
      }
      .stem-content{
        flex-direction: column-reverse;
      }

      /* cards */

      .cards {
        padding-top: 3%;
        display: flex;
        justify-content: center;
      }
      .cards-container {
        flex-direction: column;
        align-items: center;

        width: 100%;
      }
      .card {
        width: 40%;
        height: 120px;
      }
      .card img {
        width: auto;
        height: 48px;
      }
      .card p {
        font-size: 17px;
      }

      /* why need */
      .stemr-section{
        display: flex;
        justify-content: center;
      }
      .stemr-section h1 {
        font-size: 28px;
      }
      .stemr-section p.subtitle {
        font-size: 1em;
        width: 80%;
      }
      .stemr-section p.description {
        font-size: 0.9em;
        margin-bottom: 30px;
        width: 80%;
      }
      .stemr-cd {
        gap: 15px;
      }
      .cd {
        padding-top: 15px;
      }
      .cd img {
        width: 50px;
        height: 50px;
      }
      .cd h3 {
        font-size: 14px;
      }
      .cd p {
        font-size: 13px;
      }

      /* testimonial */

      .testimonial-container {
        flex-direction: column;
        align-items: center;
      }
      .testimonial-left {
        height: auto;
        width: 100%;
      }
      .testimonial-left h2 {
        
        font-size: 20px;
      }
    
      .testimonial-right {
        width: 100%;
      }
    
      .testimonial-card {
        width: 100%;
      }
    
      .testimonial-text {
        font-size: 16px;
      }
    
      .testimonial-author img {
        width: 40px;
        height: 40px;
      }
      .author-name {
        font-size: 14px;
      }
      .author-grade {
        font-size: 12px;
      }
      .dot {
        width: 8px;
        height: 8px;
      }
      .arrow-left, .arrow-right {
        width: 30px;
        height: 30px;
        font-size: 14px;
      }

      /* whatneed */

      .cds {
        gap: 20px;
    }

    .cd-1 {
        width: 45%;
        padding: 18px;
    }

    .what-you-need h1 {
        font-size: 28px;
    }

    .cd-1 h3 {
        font-size: 22px;
    }

    .cd-1 p {
        font-size: 14px;
    }

      /* call */
      
      .enroll-contact {
        flex-direction: column;
        gap: 16px;
      }
      .enroll-text h1 {
        font-size: 36px;
      }
      .enroll-text p {
        font-size: 24px;
      }
      .phone {
        font-size: 24px;
      }
      .phone i {
        font-size: 32px;
      }
      .join-btn {
        width: 200px;
        height: 50px;
        font-size: 20px;
      }

      /* footer */
      .footer {
        padding: 50px 30px;
    }

    .footer-title {
        font-size: 28px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .footer-description {
        font-size: 14px;
        line-height: 1.6;
        margin-right: 0%;
        padding: 0;
    }
    .footer-link{
      font-size: 16px;
      text-align: center;
    }

    .footer-courses h3,
    .footer-contact h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .footer-courses ul {
        text-align: center;
        padding-left: 0;
        list-style: none;
    }

    .footer-contact p {
        justify-content: center;
        font-size: 14px;
    }

    .footer-2 {
        font-size: 14px;
        padding: 15px 0;
    }


      /* about-us page */
      .about {
        flex-direction: column;
        padding-bottom: 40px;
        padding-top: 5%;
      }
    
      .about-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-top: 15%;
      }
    
      .about-image {
        max-width: 80%;
        max-height: 350px;
      }
    
      .about-text {
        width: 90%;
        padding: 20px;
      }
    
      .about-text p {
        font-size: 20px;
      }
    
      .cta-box {
        position: relative;
        right: auto;
        top: auto;
        width: 80%;
        margin-top: 20px;
        padding: 12px;
      }
    
      .cta-box h3 {
        font-size: 22px;
      }
    
      .cta-box p {
        font-size: 16px;
      }
    
      .cta-box a {
        font-size: 20px;
      }


      /* contact-page */
      .contact {
        padding-left: 5%;
        padding-right: 5%;
        padding-top: 15%;
      }
    
      .contact-us {
        margin-top: 5%;
        min-width: auto;
        text-align: center;
      }
    
      .contact-us h2 {
        font-size: 22px;
      }
    
      .contact-us p {
        font-size: 50px; /* Reduce the heading size */
      }
    
      .form-container {
        max-width: 100%;
      }
    
      .form-group {
        flex-direction: column;
        gap: 15px;
        padding-top: 3%;
      }
    
      .form-group input,
      .message textarea {
        font-size: 20px;
      }
    
      .message {
        padding-top: 3%;
      }
    
      .submit-btn {
        width: 100%;
        max-width: 300px;
        padding: 24px 10px;
        font-size: 20px;
      }
    
      .social-icons {
        flex-direction: row; /* Change to horizontal */
        position: static; /* Remove absolute positioning */
        justify-content: center;
        margin-top: 30px;
      }
    
      .social-icons a {
        width: 50px;
        height: 50px;
        font-size: 20px;
      }


      .contact-info {
        padding-left: 5%;
        padding-right: 5%;
        padding-top: 5%;
      }
    
      .info-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
      }
    
      .contact-left {
        width: 100%;
      }
    
      .info-sub-heading {
        font-size: 22px;
      }
    
      .info-main-heading {
        font-size: 40px;
      }
    
      .contact-right {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        padding-right: 0;
        margin-top: 20px;
      }
    
      .contact-box {
        max-width: 100%;
      }
    
      .contact-box h4 {
        font-size: 20px;
      }
    
      .contact-box h5 {
        font-size: 20px;
      }
    
      .contact-box p {
        font-size: 18px;
      }


      /* course-pages */
      .course-menus {
        flex-direction: column;
        align-items: center;
        padding-top: 25%;
      }
    
      .menus-link {
        flex-direction: column;
        gap: 20px;
      }
    
      .menus-link a {
        font-size: 20px;
        padding: 8px 16px;
      }
    
      .course-title {
        font-size: 20px;
      }
    
      .sub-title-course h2 {
        font-size: 24px;
      }
    
      .courses-container-1 {
        grid-template-columns: repeat(1, 1fr); /* 1 card per row */
        column-gap: 30px;
        row-gap: 30px;
      }
    
      .courses-card-1 {
        width: 90%;
      }
    
      .courses-image-1 {
        width: 100%;
        height: auto;
      }
      .course-details{
        padding-top: 10%;
      }
      .section-title-1 {
        top: 1%;
        left: 10%;
        font-size: 10px;
      }
    
      .courses-title {
        font-size: 14px;
      }
    
      .courses-description {
        font-size: 14px;
      }
      .why-course {
        padding-top: 5%;
    }

    .why-choose-section-title {
        font-size: 28px;
    }

    .why-choose-section-description {
        font-size: 20px;
        width: 90%;
    }

    .why-choose-content-container {
        flex-direction: column;
        padding-left: 0;
        margin-top: 8%;
    }

    .why-choose-image-container {
        width: 90%;
    }

    .why-choose-student-image {
        max-width: 100%;
    }
    .why-choose-image-container img{
      max-width:500px;
    }

    .why-choose-text-container {
        width: 90%;
        text-align: center;
        margin-top: 20px;
    }

    .why-choose-text-title {
        font-size: 28px;
    }

    .why-choose-text-description {
        font-size: 14px;
        width: 100%;
        text-align: center;
    }

    .why-choose-features-list {
       
    }

    .why-choose-features-list li {
        font-size: 20px;
        justify-content: center;
    }

    .why-choose-features-list i {
        width: 25px;
        height: 25px;
        font-size: 16px;
        margin-right: 8px;
    }

    .get-more {
        font-size: 14px;
        padding: 5px 10px;
        width: 170px;
    }

    /* pop-up-form */
    .modal-content-1, .success-modal-1,.success-modal-2 {
      width: 90%; /* More compact layout */
      height: auto;
      padding: 20px;
    }
  
    .form-group-1 {
      flex-direction: column;
      gap: 8px;
    }
  
    .form-group-1 input, .form-group-1 textarea {
      font-size: 16px;
      padding: 14px;
    }
  
    .btn-1, .btn-ok-1,.btn-ok-2 {
      font-size: 16px;
      padding: 12px;
      border-radius: 10px;
    }
  
    .success-modal-1,.success-modal-2 h2 {
      font-size: 28px;
    }
  
    .success-modal-1,.success-modal-2 p {
      font-size: 14px;
    }
    .form-headings-1{
      font-size: 26px;
    }
    .form-headings i{
      width: 50px;
      height: 50px;
      font-size: 26px;
     
    }
    

  .success-modal-1,.success-modal-2 img {
      width: 60px;
      height: 60px;
  }
  .modal-content-1 small{
    font-size: 12px;
    justify-content: center;
  
  }
  .Terms {
    width: 90%;
    padding-top: 15%;
    
}

.Terms h1 {
    font-size: 20px;
}

.Terms li {
    font-size: 14px;
    padding: 8px;
}

.Terms h3 {
    font-size: 16px;
}
.policy {
  width: 90%;
  padding-top: 5%;
}

.policy h1 {
  font-size: 20px;
}

.policy li {
  font-size: 14px;
  padding: 8px;
}



.planscard {
  margin-top: 25%;
}

.menuplan {
  flex-direction: column;
  gap: 20px;
}

.menuplan button {
  width: 160px;
  height: 55px;
  font-size: 18px;
}

.chooseplan {
  font-size: 28px;
}

.plans {
  flex-direction: column;
  align-items: center;
  padding-bottom: 10%;
}

.plan {
  width: 300px;
  padding: 15px;
  border-radius: 40px;
  font-size: 16px;
}
.plan div{
  width: 220px;
}


  }

  @media (max-width: 480px) {

    .contact-bar {
        text-align: center;
      }
    
      .contact-content {
        gap: 12px;
      }
    
      .contact-email,
      .contact-number {
        font-size: 14px;
      }
    
      .phone-icon {
        width: 50px;
        height: 50px;
      }
    
      .phone-icon i {
        font-size: 18px;
      }
      .navbar-logo img{
        width: 120px;
        height: 50px;
      }

      .hero {
        padding-top: 40%;
        padding-bottom: 5%;
    }

    .hero-content {
        width: 100%;
        padding: 0 15px;
    }

    .heading {
        font-size: 28px;
        line-height: 42px;
    }

    .subheading, .description {
        font-size: 16px;
        line-height: 24px;
    }

    .hero-btn {
        width: 160px;
        height: 45px;
        font-size: 16px;
    }
    .popads{
      margin-left: 180px;
      
    }
    .popads-text{
      font-size: 16px;
    }

    .students {
        margin-top: 150px;
    }
    .students-text{
      font-size: 14px;
      margin-left: 25%;
    }
    .student-images img {
      width: 50px;
      height: 50px;
    }

    .hero-images {
        text-align: center;
        margin-top: 30%;
    }

    .main-image img {
        width: 280px;
        height: 280px;
    }

    .gradient-1 {
        width: 150px;
        height: 150px;
        top: 200px;
        left: -50px;
    }

    .gradient-2 {
        width: 70px;
        height: 70px;
        left: 150px;
        top: -50px;
    }

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

    .circle-3 {
        left: -50px;
        top: -80px;
    }

    .circle-2 {
        top: 220px;
        left: 140px;
    }

    .circle-1 {
        left: 180px;
        top: -50px;
    }

    /* courses */
    .Courses {
      margin-top: 25%;
      padding: 0 15px;
  }

  .popular-courses h1 {
      font-size: 1.8rem;
      margin-bottom: 1.5rem;
  }

  .course-grid {
      flex-direction: column;
      gap: 1rem;
      align-items: center;
  }

  .course-card-wrapper {
      width: 70%; /* 1 card per row */
      height: 320px;
      align-items: center;
  }

  .course-text {
      font-size: 20px;
  }

  .course-text p {
      font-size: 16px;
  }

  .view-course-btn {
      font-size: 14px;
      padding: 6px 14px;
  }

/* what-we-do */

    .container {
        flex-direction: column;
        align-items: center;
        gap: 40px;
      }
    
      .icon {
        width: 90px;
        height: 90px;
      }
    
      .circle {
        width: 200px;
        height: 200px;
      }
    
      .text {
        font-size: 16px;
      }
    
      .what-we-do h1 {
        font-size: 28px;
        margin-bottom: 40px;
      }
    
      .what-we-do {
        padding: 40px 15px;
      }

      /* MandV */


      .container-2 {
        width: 100%;
        padding-left: 0%;
    }

    .mission {
        width: 100%;
        padding-top: 25%;
        padding-left: 20px;
        padding-right: 20px;
    }

    .image-box {
        width: 100%;
        height: 350px;
        border-radius: 10px;
    }

    .mission-title {
        font-size: 24px;
    }

    .mission-text {
        font-size: 14px;
        line-height: 22px;
    }

    .demo-box {
      top: 35%;
        font-size: 14px;
    }

      /* stem r */


      .stem-title {
        font-size: 32px;
      }
      .icon-item {
        width: 200px;
        height: 60px;
      }
      .circle-s, .circle-t, .circle-e, .circle-m, .circle-r {
        width: 60px;
        height: 60px;
        font-size: 28px;
      }
      .label {
        width: 140px;
        height: 40px;
        left: 60px;
        font-size: 18px;
      }
      .stem-text {
        width: 95%;
        font-size: 16px;
      }
      .stem-image {
        width: 90%;
      }

      /* cards */
      .cards {
        padding-top: 2%;
      }
      .cards-container {
        gap: 12px;
      }
      .card {
        width: 260px;
        max-width: 100%;
        height: 90px;
        justify-content: center;
        text-align: center;
        border-radius: 12px;
        gap: 10px;
      }
      .card img {
        width: auto;
        height: 45px;
      }
      .card p {
        font-size: 16px;
        padding-left: 10px;
      }
      .card:hover p {
        padding-left: 12px;
      }

      /* why need */
      .stemr-section{
        justify-content: center;
      }
      .stemr-section h1 {
        font-size: 24px;
      }
      .stemr-section p.subtitle {
        font-size: 0.95em;
        margin-bottom: 8px;
      }
      .stemr-section p.description {
        font-size: 0.85em;
        margin-bottom: 25px;
      }
      .stemr-cd {
        gap: 12px;
      }
      .cd {
      
        padding-top: 12px;
        border-radius: 12px;
      }
      .cd img {
        width: 45px;
        height: 45px;
        margin-bottom: 12px;
      }
      .cd h3 {
        font-size: 13px;
        margin-bottom: 8px;
      }
      .cd p {
        font-size: 12px;
      }

      /* testimonial */

      .testimonial-section {
        gap: 20px;
        padding-top: 20px;
      }
 
      .testimonial-left h2 {
        font-size: 24px;
      }
   
      .testimonial-card img {
        width: 40px;
        height: 40px; 
      }
      .testimonial-text {
        font-size: 14px;
        padding-top: 30%;
      }
      .testimonial-author img {
        width: 35px;
        height: 35px;
      }
      .author-name {
        font-size: 13px;
      }
      .author-grade {
        font-size: 11px;
      }
      .testimonial-pagination {
        gap: 6px;
      }
      .dot {
        width: 7px;
        height: 7px;
      }
      .arrow-left, .arrow-right {
        width: 28px;
        height: 28px;
        font-size: 12px;
      }
      .what-you-need h1 {
        font-size: 28px;
        margin-bottom: 30px;
      }


      /* whatneed */

      .cd-1 {
        width:100%;
        max-width: 80%;
        padding: 16px;
      }
      .cd-1 h3 {
        font-size: 18px;
      }
      .cd-1 p {
        font-size: 13px;
      }
      .ico {
        width: 36px;
        height: 36px;
        border-radius: 8px;
      }
      .ico img {
        width: 40px;
        height: 40px;
      }

      /* call */

      .enroll-text h1 {
        font-size: 22px;
      }
      .enroll-text p {
        font-size: 18px;
      }
      .phone {
        font-size: 18px;
      }
      .phone i {
        font-size: 20px;
      }
      .join-btn {
        width: 140px;
        height: 45px;
        font-size: 18px;
      }
      .footer {
        padding: 40px 20px;
    }

    .footer-title {
        font-size: 24px;
    }

    .footer-content {
        gap: 20px;
        text-align: center;
    }

    .footer-description {
        font-size: 13px;
        margin-right: 0%;
      
    }

    .footer-courses h3,
    .footer-contact h3 {
        font-size: 18px;
    }

    .footer-courses ul {
        font-size: 14px;
        list-style:none;
    }

    .footer-contact p {
        font-size: 13px;
    }

    .footer-2 {
        font-size: 12px;
        padding: 10px 0;
    }


      /* about-us-page */
      .about{
        padding-top: 15%;
      }

      .about-text p {
        font-size: 18px;
      }
    
      .cta-box {
        width: 100%;
        padding: 10px;
      }
    
      .cta-box h3 {
        font-size: 20px;
      }
    
      .cta-box p {
        font-size: 14px;
      }
    
      .cta-box a {
        font-size: 18px;
      }
    
      .cta-phone {
        font-size: 14px;
      }




      /* contact-page */

      .contact {
        padding-left: 3%;
        padding-right: 3%;
        padding-top: 25%;
      }
    
      .contact-us h2 {
        font-size: 20px;
      }
    
      .contact-us p {
        font-size: 40px;
      }
    
      .form-group input,
      .message textarea {
        font-size: 18px;
      }
    
      .submit-btn {
        font-size: 18px;
        padding: 20px 10px;
        max-width: 250px;
      }
    
      .social-icons {
        gap: 10px;
      }
    
      .social-icons a {
        width: 45px;
        height: 45px;
        font-size: 18px;
      }


      .contact-info {
        padding-left: 3%;
        padding-right: 3%;
        padding-top: 8%;
      }
    
      .info-sub-heading {
        font-size: 18px;
      }
    
      .info-main-heading {
        font-size: 32px;
      }
    
      .contact-right {
        gap: 20px;
      }
    
      .contact-box h4 {
        font-size: 18px;
      }
    
      .contact-box h5 {
        font-size: 18px;
      }
    
      .contact-box p{
        font-size: 16px;
      }


      /* course-pages */
      .course-menus {
        padding-top: 25%;
      }
    
      .menus-link a {
        font-size: 18px;
        padding: 6px 12px;
      }
    
      .course-title {
        font-size: 18px;
        text-align: center;
        padding: 10px;
      }
    
      .sub-title-course h2 {
        font-size: 20px;
      }
      .course-details{
        align-items: center;
      }
    
      .courses-container-1 {
        grid-template-columns: repeat(1, 1fr); /* Single column */
        row-gap: 20px;
        margin-top: 30px;
        margin-left: 10%;
        align-items: center;
      }
    
      .courses-card-1 {
        padding: 15px;
        width: 200px;
        max-width: 100%;
      }
    
      .courses-image-1 {
        width: 100%;
        height: auto;
      }
    
      .section-title-1 {
        top: 2%;
        left: 2%;
        font-size: 9px;
        padding: 4px 8px;
      }
    
      .courses-title {
        font-size: 12px;
        padding: 6px 10px;
      }
    
      .courses-description {
        font-size: 12px;
        width: 100%;
      }
      .status-bar{
        font-size: 12px;
        gap:20px;
      }


      .detail-c {
        padding-top: 2%;
      }
    
      .detail-title {
        font-size: 36px;
      }
    
      .status-bar {
        /* flex-direction: column; */
        font-size: 18px;
        gap: 15px;
      }
    
      .detail-content {
        flex-direction: column;
        text-align: center;
      }
    
      .detail-main-image {
        max-width: 100%;
        max-height: 500px;
      }
    
      .detail-info-box {
        gap: 30px;
        margin-left: 0;
        align-items: center;
        margin-top: 30px;
      }
      .detail-info{
        width: 50px;
        height: 50px;
      }
      .detail-in p{
        font-size: 22px;
      }
    
      .why-choose-section-title {
        font-size: 24px;
      }
    
      .why-choose-text-title {
        font-size: 26px;
      }
    
      .why-choose-text-description {
        font-size: 14px;
        width: 100%;
      }
    
      .why-choose-features-list li {
        font-size: 20px;
      }
    
      .why-choose-image-container{
        max-width: 350px;
        max-height: auto;
      }
      .why-choose-image-container img{
        max-width:200px;
      }
    
      .why-choose-content-container {
        flex-direction: column;
        padding: 0%;
      }


      /* pop-up-form */
        .modal-content-1, .success-modal-1, .success-modal-2 {
          width: 90%;
          height: auto;
          padding: 20px;
        }
      
        .form-group-1 {
          flex-direction: column;
          gap: 8px;
        }
      
        .form-group-1 input, 
        .form-group-1 textarea {
          font-size: 16px;
          padding: 15px;
        }
      
        .btn-1, .btn-ok-1, .btn-ok-2 {
          font-size: 18px;
          padding: 12px;
        }
      
        .success-modal-1,.success-modal-2 h2 {
          font-size: 28px;
        }
      
        .success-modal-1,.success-modal-2 p {
          font-size: 14px;
        }
        .form-headings-1{
          font-size: 18px;
   
          max-width: 80%;
        }
        .form-headings i{
          width: 45px;
          height: 45px;
          font-size: 20px;
         
        }
        .modal-content-1 small{
          font-size: 12px;
          justify-content: center;
        
        }


        .Terms {
          width: 95%;
          padding-top: 30%;
      }
      
      .Terms h1 {
          font-size: 18px;
      }
      
      .Terms li {
          font-size: 13px;
          padding: 6px;
      }
      
      .Terms h3 {
          font-size: 14px;
      }
      .policy {
        width: 95%;
        padding-top: 3%;
    }
    
    .policy h1 {
        font-size: 18px;
    }
    
    .policy li {
        font-size: 13px;
        padding: 6px;
    }
    
    .policy h3 {
        font-size: 14px;
    }


/* plans */
.planscard {
  margin-top: 35%;
}

.menuplan button {
  width: 140px;
  height: 50px;
  font-size: 16px;
}

.chooseplan {
  font-size: 24px;
}

.plan {
  width: 280px;
  padding: 12px;
  border-radius: 30px;
  font-size: 14px;
}

.plan div {
  width: 200px;
}
}
