@media (min-width: 769px) and (max-width: 992px) {
  .nav-container {
    padding: 0rem 1rem;
  }
  nav ul li {
    margin: 0px;
  }
  nav ul li a {
    font-size: 14px;
  }
}

@media only screen and (max-width: 760px) {
  /* Navbar Starts */
  .nav-container {
    height: 5rem;
    background-color: var(--white);
    padding: 1rem 1rem;
    padding-right: 0rem;
    overflow: hidden;
  }

  .logo img {
    object-fit: contain;
  }

  nav {
    height: 100vh;
    width: 80%;
    border-radius: 10px 0px 0px 10px;
    background-color: var(--white);
    z-index: 100;
    position: fixed;
    right: -100%;
    transition: 0.5s;
    box-shadow: 8px 0px 6px 15px rgba(0, 0, 0, 0.05);
    align-items: flex-start;
  }

  nav ul {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin-top: 6rem;
    width: 100%;
    align-items: center;
  }

  nav ul li {
    margin-bottom: 1rem;
    font-size: 3rem;
    font-weight: 600;
    position: relative;
    width: 90%;
  }

  nav ul li::after {
    content: "";
    height: 1px;
    width: 100%;
    left: 0%;
    bottom: 0%;
    background-color: var(--oxford-blue);
    position: absolute;
  }

  #open-nav {
    display: block;
    z-index: 5;
    color: var(--main-color);
    font-size: 1.9rem;
    margin: auto 1rem;
    cursor: pointer;
  }

  #close-nav {
    display: unset;
    color: var(--oxford-blue);
    font-size: 1.9rem;
    position: absolute;
    right: 24px;
    top: 1rem;
    cursor: pointer;
  }

  .open {
    right: 0%;
    top: 0%;
  }

  /* Hero Section Starts */
  .hero {
    padding: 1rem 1rem;
    display: flex;
    /* flex-direction: column-reverse; */
    justify-content: space-evenly;
    margin-top: 1.5rem;
  }

  .hero .graphics {
    width: 80%;
  }

  .hero .graphics img {
    width: 100%;
  }

  .hero .info h1 {
    font-size: 1.9rem;
    font-weight: 500;
    margin-top: 3rem;
    color: var(--oxford-blue);
    margin-bottom: 1rem;
  }

  .hero .info p {
    font-size: 0.9rem;
    font-weight: 400;
    color: grey;
    width: 90%;
    margin-bottom: 2rem;
  }

  .hero .info button:hover {
    background-color: var(--main-color);
    color: var(--white);
    border: none;
    transform: scale(1);
  }

  .hero .blob {
    position: absolute;
    z-index: -1;
    right: 0;
    top: 0;
    width: 80%;
  }

  /* Testimonial */
  .testimonial {
    margin-top: 1rem;
    padding: 0rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .testimonial h1 {
    font-size: 1.6rem;
    font-weight: 600;
  }

  .testimonial .testimonial-div {
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 0 1.5rem;
  }

  .testimonial-div .quotation {
    font-size: 8rem;
    position: absolute;
    top: -13%;
    left: 7%;
    color: var(--main-color);
    z-index: -1;
    opacity: 0.2;
  }

  .testimonial-div .comment {
    font-size: 1rem;
    font-size: 500;
    margin-bottom: 2rem;
  }

  .testimonial-div .profilePhoto {
    width: 3.7rem;
    height: 3.7rem;
    margin-bottom: 1rem;
  }

  /* About Us section */
  .about-us {
    margin-top: 5rem;
    padding: 2.5rem 1rem;
    display: flex;
  }

  .about-us h2 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
  }

  .about-us p {
    font-size: 1rem;
    line-height: 1.5rem;
    padding: 1rem 0rem;
    letter-spacing: 0.9px;
    width: 90%;
    text-align: center;
    color: #808080;
    /* color: #d1cccc; */
  }

  /* What we do section */
  .what-we-do {
    padding: 0 0.7rem;
    margin-top: 5rem;
    scroll-behavior: smooth;
  }

  .what-we-do h1 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
  }

  .what-we-do .slides {
    width: 100%;
    margin: 0 auto;
  }

  .what-we-do .slides:hover {
    transform: scale(1);
    box-shadow: 8px 8px 24px 12px rgba(255, 0, 0, 0.05);
  }

  .what-we-do .slides .topic {
    font-size: 1.1rem;
  }

  .what-we-do .slides .description {
    font-size: 0.9rem;
  }

  /* Partners */
  .partners {
    padding: 0 1rem;
    margin-top: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .partners .header {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
  }

  .partners marquee img {
    width: 9rem;
    height: 7rem;
    margin: 0 2rem;
    object-fit: contain;
  }

  .max-width {
    padding: 0 2rem;
  }

  .contact .title {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 2.5rem;
  }

  /* Footer Section */
  footer {
    margin-top: 3rem;
  }

  footer h3 {
    font-size: 1.3rem;
    font-weight: 400;
  }

  footer p::before {
    width: 100%;
    top: -20px;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

@media (max-width: 947px) {
  .contact .contact-content .column {
    width: 100%;
    margin-bottom: 35px;
  }
}

@media (max-width: 500px) {
  .contact .right form .fields {
    flex-direction: column;
  }

  .contact .right form .name,
  .contact .right form .email {
    margin: 0;
  }

  .right form .error-box {
    width: 150px;
  }
}
