.menu-icon {
      display: none;
      flex-direction: column;
      cursor: pointer;
    }

    .menu-icon span {
      height: 3px;
      width: 25px;
      background: #fff;
      margin: 4px 0;
      border-radius: 3px;
      transition: 0.3s;
    }

    #menu-toggle {
      display: none;
    }

   
    @media (max-width: 900px) {
  
      .logo{
        padding: 10px;
      }
      .links{
        width: 100vw;
      }
      .links a{
        font-size: 12px;
        align-items: center;flex-wrap: wrap; 
      }
     
    }
    @media (max-width: 700px) {
      .menu-icon {
        display: flex;
      }

      .links {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        flex-direction: column;
        align-items: center;
        background: rgba(112, 109, 109, 0.6);backdrop-filter: blur(4px);   
        gap: 20px;
        padding: 20px 0;
        display: none;
      }

      .btns {
        display: none;
      }

      #menu-toggle:checked ~ .links {
        display: flex;
      }

      #menu-toggle:checked + .menu-icon span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
      }
      #menu-toggle:checked + .menu-icon span:nth-child(2) {
        opacity: 0;
      }
      #menu-toggle:checked + .menu-icon span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
      }
    }


    /* ===========main ============= */
@media (max-width: 1100px) {
     .main {
    gap: 20px;
  }

  .texts span:first-child {
    font-size: 1.9rem;
  }

  .texts span:nth-child(2) {
    font-size: 0.95rem;
    max-width: 420px;
  }
  .explosion{
    transform: translate(-80%, -20%) scale(0);
  }
  @keyframes blast {
  0%, 5% {
    transform: translate(-50%, -20%) scale(0);
    opacity: 0;
  }

  10% {
    transform: translate(-50%, -30%) scale(0.5);
    opacity: 1;
  }

  20% {
    transform: translate(-50%, -30%) scale(1);
    opacity: 1;
  }
  31.5% {
    transform: translate(-50%, -30%) scale(1.5);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -20%) scale(0);
    opacity: 0;
  }
}

  .btns2 button {
    padding: 10px 18px;
    font-size: 0.9rem;
  }

  .l-btns a {
    font-size: 1.3rem;
  }

  .right  {
    max-width: 330px;
    max-height: 330px;
  }
}
   @media (max-width: 900px) {
  .main {
    gap: 20px;
  }

  .texts span:first-child {
    font-size: 1.9rem;
  }

  .texts span:nth-child(2) {
    font-size: 0.95rem;
    max-width: 420px;
  }
  .explosion{
   display: none;
  }

  .btns2 button {
    padding: 10px 18px;
    font-size: 0.9rem;
  }

  .l-btns a {
    font-size: 1.3rem;
  }

  .right  {
    max-width: 330px;
    max-height: 330px;
  }
}

@media (max-width: 700px) {
  .main {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 25px;
  }
  .btns2 button {
    padding: 8px 16px;       
    border-radius: 30px;
    font-size: 0.85rem;       
  }

  .btns2 button a {
    font-size: 0.85rem; font-weight: 0;
  }

  .texts span:first-child {
    font-size: 1.6rem;
  }

  .texts span:nth-child(2) {
    font-size: 0.85rem;
    max-width: 90%;
  }

  .l-btns {
    justify-content: center;
  }

  .btns2 {
    justify-content: center;
  }

  .right  {
    width: 250px;
    max-width: 80%;
    border-radius: 15px;
  }
}

/* paid course */
@media (max-width: 800px) {
  .paidcourses {
    padding: 2rem 1rem;
  }

  .paidsections h1 {
    font-size: 2rem;
  }

  .cards {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 60%;
    transform: none !important;
    box-shadow: none ;
    transition: none;
  }

  .card:hover {
    transform: none;
    box-shadow: none;
  }
}

/* contact us  */
@media (max-width: 900px) {
  .contact-section {
    flex-direction: column;
    text-align: center;
  }

  .contact-text {
    width: 100%;
  }

  .contact-image img {
    width: 80%;
    height: 80%;
    
    margin: 2rem;
  }

  .form-row {
    flex-direction: column;
    gap: 1rem;
  }

  .btn {
    align-self: center;
  }
}


@media (max-width: 800px) {
  .slider {
    padding: 0 30px; 
  }
}

@media (max-width: 600px) {
  .slide h1 {
    font-size: 1.8rem; 
  }

  .slide span {
    font-size: 1rem; 
    padding: 0 25px;
  }

  .ex-btn {
    padding: 8px 16px;
    font-size: 0.9rem; 
  }

  .slider {
    padding: 0 25px; 
  }
}
/* ==========mentors========= */
@media (max-width: 1000px) {
  .mentors {
    height: auto;
    padding: 60px 20px;
  }

  .rohit, .aditya {
    flex-direction: column;
    position: static; 
    transform: none;
    opacity: 1;
    visibility: visible;
    animation: none; 
    width: 100%;
    gap: 25px;
    padding: 30px 20px;
    margin-bottom: 50px;
  }

  .rohit .l img,
  .aditya .r img {
    width: 200px;
    height: 200px;
    margin: 0 auto;
  }

  .aditya .r img {
    margin-left: 0;
  }

  .r, .l {
    text-align: center;
  }

  .r h1, .l h1 {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }

  .role-line {
    justify-content: center;
    flex-direction: column;
    gap: 5px;
  }

  .r span, .l span {
    font-size: 0.9rem;
  }

  .rohit:hover, .aditya:hover {
    transform: none; 
  }
}

@media (max-width: 600px) {
  .mentors h1 {
    font-size: 2rem;
  }

  .mentors > span {
    font-size: 0.9rem;
    margin-bottom: 30px;
  }

  .r h1, .l h1 {
    font-size: 1.6rem;
  }

  .rohit .l img,
  .aditya .r img {
    width: 160px;
    height: 160px;
  }
  .aditya .r img{
    margin-bottom: 0px;
  }
}
/* ======footer=========== */
@media (max-width: 768px) {
    .footer {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px 30px;
    }

    .footer .f1 p {
        max-width: 100%;
        margin: 0 auto;
    }

    .footer > span:last-child {
        font-size: 0.8rem;
    }
}