@media only screen and (max-width: 1200px) {
  .banner {
    padding: 100px 0px;

    .banner-content {
      width: 65%;
    }
  }

  .services {
    .service-content {
      width: 70%;
    }

    .item-img img {
      width: 120px;
    }

    .service-item {
      gap: 20px;
    }

    .service-name {
      h5 {
        font-size: 20px;
      }
    }
  }


  .about-us {
    .about-main-content {
      width: 96%;
      padding: 50px 0px 50px 50px;
    }
  }
}

@media only screen and (max-width: 1024px) {

  h3 {
    font-size: 42px;
  }

  h5 {
    font-size: 20px;
  }

  .section-padding {
    padding: 50px 0px;
  }

  .bottom-header {
    .logo {
      img {
        width: 150px;
      }
    }

    .primary-menu {
      gap: 10px;
    }

    nav {
      a {
        padding: 8px;
        font-size: 16px;
      }
    }

    .primary-btn {
      a {
        padding: 12px 12px;
        background-color: #0d152e;
        color: #fff;
        display: inline-block;
        text-transform: capitalize;
      }
    }
  }

  .banner {
    .banner-content {
      width: 65%;
      gap: 12px;
      padding: 35px 0 35px 25px;
    }
  }

  .about-us {
    .about-img {
      background-position: left;
    }
  }

  .why-choose-us {
    .call-box {
      width: 100%;
      gap: 20px;
    }

    .choose-item {
      .item-box {
        gap: 15px;
        padding: 15px 15px 15px 0px;

        p {
          font-size: 14px;
        }
      }
    }
  }
}

@media only screen and (max-width: 900px) {

  h4 {
    font-size: 26px;
  }

  h5 {
    font-size: 18px;
  }

  .primary-btn {
    a {
      padding: 10px 25px;
    }
  }

  .bottom-header {
    nav {
      a {
        font-size: 14px;
      }
    }

    .primary-btn {
      a {
        font-size: 14px;
      }
    }
  }

  .services {
    .service-content {
      width: 90%;
    }

    .item-img img {
      width: 100px;
    }

    .service-icon img {
      width: 50px;
    }

    .service-name {
      h5 {
        font-size: 18px;
      }
    }

    .service-item {
      gap: 10px;
    }
  }

  .about-us {
    .about-img {
      display: none;
    }

    .about-content {
      width: 100%;
    }
  }


  .why-choose-us {
    .choose-item {
      .icon-img {
        padding: 18px 28px 18px 18px;
      }

      .item-box {
        gap: 10px;
      }
    }
  }

  #servicePage {
    & .service-main {
      .container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, auto);
        grid-gap: 40px;
      }
    }
  }
}

@media only screen and (max-width: 768px) {
  h3 {
    font-size: 34px;
  }

  .section-padding {
    padding: 30px 0px;
  }

  .top-header {
    .container {
      .social-details {
        display: none;
      }
    }

  }

  .bottom-header {
    padding: 10px 0px;

    .primary-menu {
      flex-direction: column;
      padding: 150px 20px;
      position: fixed;
      background: #fff;
      width: 100%;
      max-width: 300px;
      right: -100%;
      top: 0px;
      transition: all .4s ease-in;
      z-index: 1;
      height: 100vh;

      transition: .5s;

      ul {
        flex-direction: column;
        gap: 15px;
      }

      nav {
        text-align: center;

        a {
          display: block;
          padding: 10px 0px;
          font-size: 16px;
        }
      }

    }

    .primary-menu.active {
      right: 0%;
      /* top: 0%; */
    }

    .menu-icon {
      display: block;
      border: none;
      background: transparent;
      width: 40px;
      z-index: 9;
      font-size: 24px;
    }
  }

  .banner {
    padding: 80px 0px;

    .banner-content {
      width: 100%;
      border-left: 10px solid #FFFFFF;
      padding: 25px 0 25px 25px;
    }

    .banner-content::before {
      height: 10px;
    }

    .banner-content::after {
      height: 10px;
    }
  }

  .services {
    .service-main {
      margin-top: 30px;
      gap: 20px;
      flex-wrap: wrap;
      justify-content: center;
    }

    .service-item {
      width: 48%;
    }

    .service-content {
      gap: 10px;
    }
  }

  .why-choose-us {
    .container {
      flex-direction: column;
    }

    .choose-content {
      width: 100%;
    }

    .choose-item {
      width: 100%;
    }
  }

  .testimonial-section {
    .testimonial-main {
      flex-direction: column;
      margin-top: 30px;
    }

    .testimonial-img {
      width: 100%;
    }

    .testimonial-content {
      width: 100%;
    }
  }

  /* ====== About page ======= */
  #aboutPage {
    .about-img {
      display: none;
    }

    .about-data {
      .about-content {
        width: 100%;
        max-width: 100%;
      }
    }
  }

  #contactPage {
    & .contact-main {
      .container {
        display: flex;
        gap: 40px;
        flex-direction: column;
      }
    }

    .contact-text {
      max-width: 100%;
    }

    .contact-form {
      width: 100%;
      max-width: 100%;
    }
  }

  #bookPage {
    .book-form {
      width: 100%;
      margin: 0px auto;
    }
  }

}

@media only screen and (max-width: 550px) {

  h3 {
    font-size: 28px;
  }

  p {
    font-size: 14px;
  }

  h4 {
    font-size: 22px;
    line-height: 28px;
  }

  .container {
    padding: 0px 15px;
  }

  .top-header {
    a {
      color: #fff;
      font-size: 10px;
    }
  }

  .banner {
    padding: 50px 0px;

    .banner-content {
      padding: 20px 0 20px 15px;
    }
  }

  .services {
    .service-content {
      width: 100%;
    }

    .service-item {
      width: 100%;
    }

    .primary-btn {
      margin-top: 25px;
    }
  }

  .about-us {
    .about-main-content {
      width: 100%;
      padding: 30px 15px;
    }
  }

  footer {
    .footer-content {
      a {
        font-size: 14px;
      }
    }

    ul {
      display: flex;
      flex-direction: column;
      gap: 5px;
    }
  }

  .testimonial-section {
    .testimonial-img {
      width: 100%;
      text-align: center;
    }
  }

  #servicePage {
    .service-main {
      .container {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(1, auto);
        grid-gap: 40px;
      }
    }
  }
}

@media only screen and (max-width: 360px) {
  h4 {
    font-size: 18px;
    line-height: 25px;
  }

  .divider {
    .divider-icon {
      font-size: 14px;
      padding: 10px;
    }
  }

  .top-header {
    .container>div {
      display: flex;
      gap: 7px;
      align-items: self-start;
      flex-direction: column;
    }

    a {
      font-size: 14px;
    }
  }

  .primary-btn {
    a {
      padding: 10px 15px;
    }
  }

  .about-us {
    .primary-btn {
      a {
        padding: 10px 20px;
      }
    }
  }

  .why-choose-us {
    .choose-content {
      p {
        margin-top: 10px;
      }
    }

    .call-box {
      margin-top: 10px;
      flex-direction: column;
      align-items: self-start;
      gap: 10px;

      .icon {
        width: 62px;
      }
    }



    .choose-item {
      .item-box {
        width: 90%;
      }
    }

    .right {
      margin-right: 15px;
    }
  }
}