@media (max-width: 790px) {
  /* Styles for mobile devices */
  body {
    font-size: 14px;
    overflow-x: clip;
  }

  .doddle {
    width: auto;
    aspect-ratio: 4/3;
    max-width: 100%;
  }
 
  .hero-features {
    font-size: 1.5rem;
    bottom: 12%;
    width: 90%;
    right: 5%;
  }

  .highlights {
    flex-direction: column;
  }
  .highlight {
    width: 100%;
  }
  .support-cont {
    bottom: 10%;
    left: 10%;
  }
  .swal2-popup {
    min-height: 60% !important;
  }
  .features-cont {
    height: 500px;
  }
  .student-image {
    left: -20px;
    margin-top: -290px;
  }
  .icon {
    height: 40px;
    width: 40px;
  }
  .icon-text {
    font-size: 15px;
  }
  .icon-cont {
    top: 19px;
    height: 62px;
  }

  .hamburger {
    height: 20px;
    width: 35px;
    background-image: url("https://res.cloudinary.com/dfynyucmr/image/upload/v1747437096/navigation_qzc7hz.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
  }

  .doddle2 {
    max-width: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    height: 40%;

    width: auto;
    aspect-ratio: 4/3;
    position: absolute;
    background-repeat: no-repeat;
    z-index: 10;
    top: 17%;
    transform: rotate(-25deg);
    left: 0%;
    background-image: url("https://res.cloudinary.com/dfynyucmr/image/upload/v1747473999/Group_11_vb0blv.png");
  }
  .menu-cont {
    height: fit-content;
    width: fit-content;
    position: absolute;
    top: 30px;
    right: 3%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    gap: 5px;
    border-radius: 10px;
    transform: scale(0.85);
  }

  .navigation {
    top: 130px !important;
    align-items: center;
    background-color: white;
    width: 150px;
    position: absolute;
    height: fit-content;
    right: 2.5%;
    border-radius: 10px 10px 10px 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    opacity: 0;
    max-height: 0;
  }

  .navigation.active {
    display: flex;
    transition: all 0.3s ease-in-out;
    opacity: 1;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    max-height: 180px;
  }

  .menu-cont.active1 {
    border-radius: 10px 10px 0px 0px;
  }

  #side-image {
    background-image: url("https://res.cloudinary.com/dqtyu2frf/image/upload/v1760474375/happy-student-girl_ls5eyt_1_epeupw.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 50%;
    width: auto;
    aspect-ratio: 9/13;
    position: absolute;
    bottom: 0;
    z-index: 10;
    right: 0%;
    transform: scale(1.1);
  }
  .hero-cont {
    position: absolute;
    top: 20%;
    left: 7%;
    font-weight: 700;
  }
  .hero {
    font-weight: 1000;
    font-size: 2rem;
  }
  #cookie-notification {
    font-size: 0.7rem;
  }
  #cookie-notification button {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
  }

  .hero-text {
    font-size: 1.2rem;
    margin-top: 10px;
    width: 90%;
    right: 5%;
    bottom: 15%;
    position: absolute;
    line-height: 1.4rem;
  }
  .hero-image {
    width: auto;
    height: auto;
    max-width: 100%;
    aspect-ratio: 4/3;
    position: absolute;
    top: -20px;
    right: -20px;
  }
  .doddle-cont_ {
    height: auto;
    width: 100%;
    position: absolute;
    left: 0%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    top: 23%;
  }

  .dotted-line-dooddle {
    transform: rotate(-19deg);
    margin-top: 15px;
  }

  .jet-doddle {
    top: -60px;
    transform: scale(2.2);
    right: 4%;
  }

  .log-cont-ed {
    height: 70px;
    width: 70px;
    position: absolute;
    border: 2px solid white;
    right: 0px;
    top: -100px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.3;
    border-radius: 50%;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }
  .section-features {
    width: 90%;
    left: 5%;
    padding: 1rem;
  }
  .signup-link-m {
    color: #dd4a0a;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 2rem;
  }
  .signup-link-d {
    display: none;
  }
  .end-logo-ed {
    display: none;
  }
  .dodx {
    display: none;
  }
  .footer-nav-columns {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

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

  .footer-legal-links {
    flex-wrap: wrap;
    justify-content: center;
  }
  #user-avatar-logout {
    top: 12px;
  }
  .user-avatar-img {
    width: 45px;
    height: 45px;
  }
  .logout-btn {
    width: 28px;
    height: 28px;
    font-size: 1rem;
  }

  #user-avatar-logout {
    position: absolute;
    top: 35px;
    right: calc(5% + 35px);
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .sign-in-btn {
    right: calc(5% + 35px);
    font-size: 0.9rem;
  }
  .swal2-popup {
    z-index: 9999 !important;
    width: 95% !important;
  }
}

.details {
  position: relative;
  margin-top: 10px;
}
.sign-in-button {
  position: relative;
  margin-top: 15px;
  width: 50%;
}
@media (min-width: 310px) and (max-width: 390px) {
  .hero {
    font-weight: 1000;
    font-size: 1.6rem;
  }
  .details {
    position: relative;
  }
}
