/* 1135px */
@media only screen and (max-width: 76.125em) {
  h1 {
    font-size: 4rem;
    line-height: 6rem;
  }

  .history h2 {
    font-size: 3.4rem;
    margin-bottom: 1.5rem;
  }

  .history-box img {
    flex-basis: 30%;
    width: 45%;
  }

  .data-plan {
    width: 23%;
  }

  .work-heading p,
  .why-heading p {
    width: 70%;
  }

  .service-box {
    width: 30%;
  }

  .join h2 {
    font-size: 4rem;
    line-height: 6rem;
  }
}


/* 1199px */
@media only screen and (max-width: 74.9375em) {
  .why-textbox {
    margin-top: 0rem;
  }

  .why-img {
    width: 49%;
  }
}

/* 991px */
@media only screen and (max-width: 61.9375em) {
  .nav-list {
    display: none;
  }

  .button {
    display: none;
  }

  .openMenu {
    display: block;
  }

  .closeMenu {
    display: block;
  }

  .menu-list li a {
    display: block;
  }

  .link,
  .login {
    display: block;
  }

  .login {
    width: 70%;
  }

  .hero {
    flex-direction: column;
    padding-top: 3rem;
  }

  .hero-text {
    width: 100%;
    margin-top: 4rem;
  }

  .hero-img {
    width: 60%;
    align-self: center;
    margin-top: 5rem;
  }

  .service-heading {
    width: 90%;
  }

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

  .service-box {
    width: 60%;
  }

  .service-box img {
    margin-bottom: 2rem;
  }

  .service-box:not(:last-child) {
    margin-bottom: 6rem;
  }

  .why-container {
    flex-direction: column-reverse;
  }

  .why-textbox {
    width: 100%;
  }

  .why-heading p {
    width: 80%;
  }

  .why-img {
    width: 50%;
    align-self: center;
    margin-top: 4rem;
  }

  .work-box {
    flex-direction: column-reverse;
    align-items: center;
  }

  .work-box:not(:last-child) {
    margin-bottom: 8rem;
  }

  .work-box img {
    width: 60%;
    margin-top: 2rem;
  }

  .work-text {
    width: 80%;
    text-align: center;
  }

  .history-box {
    flex-direction: column;
  }

  .history-text {
    width: 100%;
  }

  .history-box img {
    width: 60%;
    align-self: center;
  }

  .testimonial-container {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .testimonial-box {
    width: 60%;
  }

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

  .data-plan {
    width: 60%;
  }

  .data-plan:not(:last-child) {
    margin-bottom: 5rem;
  }

  .form input,
  .form a {
    width: 70%;
  }

  .footer-about {
    flex-basis: 45%;
  }
}

@media only screen and (max-width: 47.9375em) {

  section,
  footer {
    padding: 10rem 4rem 0 4rem;
  }

  footer {
    padding: 2rem 4rem;
  }

  header {
    padding: 3rem 4rem;
  }

  nav {
    padding: 3rem 4rem;
  }

  .service-box {
    width: 70%;
  }

  .testimonial-box {
    width: 70%;
  }

  .why-heading p {
    width: 100%;
    font-size: 1.5rem;
  }

  .footer-box {
    flex-direction: column;
    padding-top: 3rem;
  }

  ul {
    padding-left: 0 !important;
  }

  .footer-box ul {
    margin-top: 3rem;
  }

  .work-heading p,
  .why-heading p {
    width: 90%;
  }
}

@media only screen and (max-width: 35.9375em) {
  h1 {
    font-size: 3.6rem;
    line-height: 6rem;
  }

  .hero-text p {
    font-size: 1.6rem;
  }

  .hero-img {
    width: 100%;
  }

  .service h2 {
    font-size: 3rem;
  }

  .service-box {
    width: 100%;
  }

  .why-img {
    width: 95%;
  }

  .work-heading h2 {
    font-size: 3.6rem;
  }

  .work-heading p {
    width: 100%;
  }

  .work-text {
    width: 100%;
  }

  .work-text p {
    font-size: 1.5rem;
  }

  .work-box img {
    width: 90%;
  }

  .testimonial-heading h2 {
    font-size: 3.5rem;
  }

  .testimonial-heading p {
    font-size: 2rem;
  }

  .testimonial-box {
    width: 90%;
  }

  .data-plan {
    width: 80%;
  }

  .accordion-button {
    font-size: 1.5rem !important;
  }

  .accordion-body {
    font-size: 1.4rem !important;
    line-height: 2rem !important;
  }

  .para-slide p {
    font-size: 2.4rem;
  }

  .para-slide {
    width: 540px;
  }

  .join h2 {
    font-size: 3rem;
    padding: 5rem 0rem 0 0rem;
    line-height: 4rem;
  }

  .form input,
  .form a {
    width: 100%;
  }

  .faq-container h2 {
    padding-bottom: 1rem;
  }

  .logo {
    width: 18rem;
  }
}

@media only screen and (max-width: 27.25em) {
  html {
    font-size: 50%;
  }

  .why-box {
    flex-direction: column;
  }

  /* .why-text h3 {
    font-size: 2.2rem;
  }

  .why-text p {
    font-size: 1.5rem;
  } */

  .history-text p {
    line-height: 30px;
  }

  .data-plan {
    width: 96%;
  }

  section,
  footer {
    padding: 10rem 3rem 0 3rem;
  }

  footer {
    padding: 2rem 3rem;
  }

  header {
    padding: 3rem 3rem;
  }

  nav {
    padding: 3rem 3rem;
  }
}