/* For Google Chrome (125% zoom level) */
@media screen and (-webkit-min-device-pixel-ratio: 1.25),
screen and (min-resolution: 125dpi) {

}

@media (min-width: 1280px) and (max-width: 1366px) {
    .about-bg-image {
     margin-top: -122px !important;
     }
     .top-banner .bg-image {
        margin: -150px auto 0;
    }
    .bg-image.about-bg-image.contact-us-bg {
    margin-top: -95px !important;
}
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .tabs-list .nav {
    flex-wrap: wrap;
    gap: 10px;
  }

  .tabs-list .nav .nav-item {
    flex: 1 140px;
  }

  .top-banner .bg-image {
    margin-top: 20px;
  }

  .top-banner .bg-image .box {
    margin-bottom: 60px;
  }
.learn-img.animate-up {
    height: auto;
}
section.top-banner .banner-img {
    height: auto;
}
.pagebox h3 {
    font-size: 18px;
  }

  .pagebox h4::before {
    font-size: 30px;
  }

  .pagebox h4 {
    font-size: 30px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .about-professional .bg-image {
    padding: 20px !important;
}
    .learn-img.animate-up {
    height: auto;
}
section.top-banner .banner-img {
    height: auto;
}
  .top-banner .right-col h1 {
    font-size: 28px;
    /* text-align: center; */
  }

  .top-banner .bg-image .container .row .col-lg-12 p.mb-0 {
    text-align: center;
  }

  .top-banner p {
    margin-bottom: 25px;
    /* text-align: center; */
  }

  .top-banner .bg-image p {
    margin-top: 20px;
    text-align: center;
  }

  .top-banner .bg-image {
    margin: 25px auto 0;
    z-index: 0;
    height: auto;
    padding: 0 0 35px;

    .completed {
      display: flex;

      .box {
        width: 100%;
        margin-top: 30px;

        >div {
          justify-content: center;
        }
      }
    }
  }

  .bg-image::after {
    display: none;
  }

  .btnsec {
    /* text-align: center; */
  }

  .professional,
  .sec-5,
  .sec-7 {
    /* text-align: center; */

    .right>h2,
    .right>h3 {
      font-size: 28px;
    }
  }

  .slider-sec {
    padding-top: 0;

    .center-heading>h3 {
      font-size: 28px;
    }
  }

  .portfolio-tabs {
    padding-top: 35px;
    padding-bottom: 35px;

    .center-heading>h3 {
      font-size: 28px;
    }

    .tabs-list li.nav-item {
      width: 100%;
    }
  }

  .faqs .center-heading>h3 {
    font-size: 28px;
  }

  .get-quote {
    padding-top: 30px;
    padding-bottom: 30px;

    .center-heading>h3 {
      font-size: 28px;
    }

    .left-col>h3 {
      font-size: 28px;
    }
  }

  .btn {
    font-size: 14px;
    padding: 12px 25px;
  }

  .footer {
    text-align: center;
    padding-top: 45px;
    padding-bottom: 20px;

    .social {
      margin-bottom: 30px;
    }

    .footer-links>ul>li>a {
      justify-content: center;
    }
  }

  .tabs-list .nav {
    flex-wrap: wrap;
    gap: 12px;
  }

  .tabs-list .nav .nav-item {
    width: 100% !important;
    flex: 1 1 200px;
  }

  .tabs-list {
    border-radius: 10px !important;
  }
}

@media (min-width: 320px) and (max-width: 767px) {
    
    .sec-7 .right {
        margin-bottom: 0px !important;
    }
    .testimonial-heading h4 {
    font-size: 28px;
    line-height: 1;
    }
  .top-banner .right-col h1 {
    font-size: 28px;
    text-align: center;
  }
  .book-1-content h4 {
    font-size: 28px;
  } 
  .how-it-works-heading h4 {
    font-size: 28px;
  }
  .book-editing-sec-2-top-content > h4 {
    font-size: 28px;
  }
  .our-work-content h4 {
    font-size: 28px;
  }
  .top-banner p {
    margin-bottom: 25px;
    text-align: center;
  }

  .top-banner .bg-image p {
    margin-top: 20px;
  }

  .top-banner .bg-image {
    margin: 25px auto 0;
    z-index: 0;
    height: auto;
    padding: 0 0 35px;

    .completed {
      display: flex;

      .box {
        width: 100%;
        margin-top: 30px;

        >div {
          justify-content: center;
        }
      }

      flex-wrap: wrap;
    }
  }

  .bg-image::after {
    display: none;
  }

  .btnsec {
    text-align: center;
  }

  .professional,
  .sec-5,
  .sec-7 {
    text-align: center;

    .right>h2,
    .right>h3 {
      font-size: 28px;
    }
  }

  .slider-sec {
    padding-top: 0;
    padding-bottom: 10px;

    .center-heading>h3 {
      font-size: 28px;
    }
  }

  .portfolio-tabs {
    padding-top: 35px;
    padding-bottom: 35px;
    margin-bottom:0;

    .center-heading>h3 {
      font-size: 28px;
    }

    .tabs-list li.nav-item {
      width: 100%;
    }
  }

  .faqs .center-heading>h3 {
    font-size: 28px;
  }

  .get-quote {
    padding-top: 30px;
    padding-bottom: 30px;

    .center-heading>h3 {
      font-size: 28px;
    }

    .left-col>h3 {
      font-size: 28px;
    }
  }

  .btn {
    font-size: 12px;
    padding: 12px 14px;
  }

  .footer {
    text-align: center;
    padding-top: 45px;
    padding-bottom: 20px;

    .social {
      margin-bottom: 30px;
    }

    .footer-links>ul>li>a {
      justify-content: center;
    }
  }

  .tabs-list .nav {
    flex-wrap: wrap;
    gap: 12px;
  }

  .tabs-list .nav .nav-item {
    width: 100% !important;
    flex: 1 1 200px;
  }

  .tabs-list {
    border-radius: 10px !important;
  }
  .thanyou-banner h1 {
        font-size: 30px;
    }
    .pagebox h3 {
    font-size: 20px;
  }

  .most-sold::after {
    height: 60px;
    width: 60px;
    right: 0px;
    background-size: 60px;
  }

  .pagebox:hover {
    transform: scale(1);
  }
  .pagebox::before {
    top: -10px;
  }
  .packages .center-heading > h3 {
    font-size: 28px;
  }
  .packages {
    padding-bottom: 0px;
  }
}

@media (max-width: 991px) {
  .sec-7 .right {
    margin-top: 20px;
    margin-bottom: 20px;
  }



  .book-editing-sec-2-top-content {
    margin-bottom: 10px;
    text-align: center;
  }

  .book-editing-sec-2 .img-box.animate-up {
    display: none;
  }

  .book-editing-bottom-card {
    align-items: center;
    text-align: center;
    display: flex;
    flex-direction: column;
  }

  .book-editing-bottom-card-top {
    width: 100%;
    justify-content: center;
    gap: 10px;
  }

  .our-work-content {
    align-items: center;
  }

  .book-1-sec-img {
    display: none;
  }


  .book-1-content {
    align-items: center;
    text-align: center;
  }

  .bg-image.about-bg-image {
    display: none;
  }

  .our-mission-list-main {
    align-items: center;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    justify-content: center;
  }

  .our-mission-content {
    align-items: center;
    margin-top: 20px;
    margin-bottom: 30px;
  }

  .our-mission-list .box:after {
    content: none;
  }

  .our-mission-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .our-mission-card h6 {
    flex: 0 0 auto;
  }
  .social-main {
    flex-direction: column;
    align-items: center;
    gap: 0px;
}
.our-work-content-img {
    margin-bottom: 20px;
}
.our-work-content > p {
    text-align: center;
}
.footer-links>ul>li:last-child a {
     flex-start;
     align-items: flex-start;
     text-align: left;
}
}

@media (max-width: 767px) {
    h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1;
}
    .how-it-works {
    padding-top: 25px;
    }
    .how-it-works-card {
    margin-bottom: 10px;
    }
    form .form-group {
    margin-top: 0 !important;
    margin-bottom: 20px;
    }
    .our-mission-content h4 {
    font-size: 28px;
    line-height: 1;
    text-align: center;
    }
    .our-mission {
    padding-top: 25px;
    padding-bottom: 25px;
}
    .client {
    padding-top: 0;
    padding-bottom: 0;
   }
    section.top-banner .banner-img {
    height: auto;
    }
    section.sec-5 img {
    height: auto;
    }
    .our-work {
    padding-top: 40px;
    padding-bottom: 20px;
}
.testimonial {
    padding-top: 20px;
    padding-bottom: 50px;
}
    .navbar-brand img {
    width: 130px;
    }
    header.sticky img {
    width: 135px;
}

.header {
    padding: 0;
}
    .top-banner {
    padding-top: 25px;
    padding-bottom: 25px;
}
  .bg-image.about-bg-image, .learn-img.animate-up {
    display: none;
  }

  .left.about-us-img-1 {
    display: none;
  }

  .img-box-content {
    display: none;
  }

  .book-1 {
    margin: 0;
  }
  

.about-professional .bg-image {
    padding: 20px 10px !important;
}
.book-editing-main {
    background: transparent;
    padding: 0;
}

.book-editing-bottom-card-top .icon {
    margin-top: 0px;
}
.professional, .sec-5, .sec-7 {
    padding-bottom: 20px;
}

}
@media (max-width: 1024px) {
.main-portfolio .portfolio-img{
    padding: 12px;
}
}
