/* Bigger layout */
@media (max-width: 1920px) {
  .header-bottom .item {
    padding-top: 20%;
  }
}

@media (min-width: 1024px) and (max-width: 1350px) {
  .aboutus-text h3 {
    font-size: 26px;
  }

  .aboutus-text p {
    font-size: 14px;
    margin-bottom: 0;
  }
}

/* min-width 1024 to max-width 1200 */
@media (min-width: 1024px) and (max-width: 1200px) {
  .aboutus-text h3 {
    font-size: 26px;
  }

  .aboutus-text p {
    font-size: 14px;
    margin-bottom: 0;
  }

  .counter-left h1 {
    font-size: 50px;
  }

  .single-counter {
    height: 225px;
    width: 225px;
  }
}

/* Desktop layout */
@media (min-width: 992px) and (max-width: 1024px) {
  .contact-info ul li {
    font-size: 13px;
    margin-right: 5px;
  }

  .counter-left h1 {
    font-size: 50px;
  }

  .single-features h4 {
    font-size: 15px;
  }

  .single-a-service h3 {
    font-size: 16px;
  }


  .single-counter {
    height: 220px;
    width: 220px;
  }

  .single-blog h3 {
    font-size: 19px;
  }

}

/* Max-width :1024px */
@media (max-width: 1024px) {
  
  .single-feature {
    padding-left: 38px; 
    padding-right: 38px; 
  }

  .second-features .single-feature h2 {
    font-size: 18px;
  }

  .second-features .single-feature p {
    font-size: 14px;
  }

  #about-us-section.second-about-us {
    flex-direction: column;
  }
}

/* Tablet layout : Max-width :991px */
@media (max-width: 991px) {
  .single-feature {
    margin-bottom: 30px;
  }

  #features-area .col-lg-4:last-child .single-feature {
    margin-bottom: 0;
  }

  .single-feature p {
    font-size: 14px;
  }

  .aboutus-text {
    margin-top: 0;
    margin-left: 0;
  }

  .aboutus-text h3 {
    font-size: 40px;
  }

  .separator-text {
    margin-bottom: 30px;
    text-align: center;
  }

  .single-counter {
    margin-bottom: 30px;
  }

  #counter-area.counter-area-two .single-counter-two {
    margin-bottom: 70px;
  }


  #counter-area.counter-area-two .col-lg-4:last-child .single-counter-two {
    margin-bottom: 0;
  }

  .counter-left {
    margin-bottom: 40px;
  }

  .single-pricing-table {
    margin-bottom: 30px;
  }

  #pricing-table .col-lg-4:last-child .single-pricing-table {
    margin-bottom: 0;
  }

  .single-team {
    margin-bottom: 30px;
  }

  #team-section .col-lg-4:last-child .single-team {
    margin-bottom: 0;
  }

  #separator-area .separator-details  {
    flex-direction: column;
  }

  .single-blog-two {
    margin-bottom: 30px;
  }

  #blog-area .col-lg-4:last-child .single-blog-two {
    margin-bottom: 0;
  }

  .testimonial-text {
    padding: 0 24px;
  }

  .testimonial-text p {
    font-size: 14px;
    line-height: 32px;
  }

  .testimonial-text p:before {
    left: 3px;
    top: -9px;
  }

  .testimonial-text p:after {
    right: 12px;
    bottom: -9px;
  }

  .owl-theme .owl-nav.disabled+.owl-dots {
      margin-top: 25px;
  }

  .section-heading h2 {
    font-size: 38px;
  }

}


/* Tablet layout :768px */
@media (min-width: 768px) and (max-width: 991px) {

  .header-bottom h2 {
    font-size: 45px;
    line-height: 60px;
  }

  .contact-info ul {
    flex-direction: column;
  }

}

/* Small mobile  layout :320px */
@media only screen and (max-width: 767px) {
  .contact-info {
    margin-bottom: 20px;
  }

  .social-menu {
    margin-bottom: 20px;
  }

  .header-bottom h2 {
    font-size: 28px;
    line-height: 30px;
    margin-bottom: 15px;
  }

  .second-header .header-bottom h3 {
    font-size: 14px;
  }

  .second-header .header-bottom h1 {
    font-size: 26px;
  }

  .second-header .header-bottom p {
    font-size: 14px;
  }

  .header-bottom .h-btn {
    padding: 4px 22px;
  }

  .aboutus-text .about-btn {
    padding: 6px 20px;
  }

  .aboutus-text h3 {
    font-size: 30px;
  }

  .aboutus-text p {
    font-size: 14px;
  }

  .counter-left {
      padding: 0 25px;
  }


  .section-heading h2 {
    font-size: 26px;
  }

  ul.portfolio-nav li {
    padding: 3px 10px;
  }

  .counter-left h1 {
    font-size: 46px;
  }

  .counter-left p {
    font-size: 16px;
  }

  .single-pricing-table p a {
    padding: 6px 30px;
  }

  .single-testimonial {
    margin: 0 15px; 
  }

  .owl-theme .owl-nav [class*=owl-] {
    margin: 0 15px; 
  }

  #blog-area.second-blog-area .single-blog-two {
    margin-bottom: 30px;
  }

  #contact-area .contact-text {
    margin-bottom: 30px;
  }

  #contact-area.contact-area-three .contact-text {
    flex-direction: column;
  }
  
  #contact-area.contact-area-three .contact-form form .name-email-style {
    flex-direction: column;
  }

  #contact-area.contact-area-three .contact-form form input[type=text],
  #contact-area.contact-area-three .contact-form form input[type=email] {
    width: 100%;
  }

  .single-contact-text {
    margin-bottom: 30px;
  }

  #contact-area.contact-area-three .contact-form form button.submit-icon {
    width: 38%;
  }

  .contact-form form button.submit-icon {
    margin-bottom: 0;
  }
  .testimonial-text  h1{
    font-size: 25px;
    line-height: 1.5em;
    margin-bottom: 10px;
    color: #ffffff;
  }


}


/* Max 480px layout */
@media only screen and (max-width: 480px) {

  .header-bottom h1 {
    font-size: 40px;

  }

    .header-bottom h2 {
        font-size: 22px;
    }

    .second-header .header-bottom h1 {
      font-size: 22px;
    }

    .second-header .header-bottom p {
      font-size: 11px;
      line-height: 22px;
    }

    .second-features .single-feature h2 {
      font-size: 18px;
      line-height: 1;
    }

    .second-features .single-feature p {
      font-size: 14px;
    }

    .aboutus-text {
      padding-left: 30px;
      padding-right: 30px;
    }

    .aboutus-text h5 {
      font-size: 12px;
      margin-bottom: 6px;
    }

    .aboutus-text h3 {
      font-size: 26px;
      line-height: 36px;
    }

    .aboutus-text p {
      font-size: 14px;
    }

    ul.portfolio-nav li {
      padding: 3px 12px;
      margin-right: 0px;
      font-size: 12px;
    }


    #counter-area.counter-area-two .single-counter-two h1 {
      font-size: 60px;
    }

    #counter-area.counter-area-two .single-counter-two i {
      font-size: 40px;
    }

    #separator-area .separator-text p {
      font-size: 25px;
      line-height: 50px;
      text-align: center;
    }

    .single-testimonial {
      margin: 0 15px;
    }
}


/* Max 360px layout */
@media only screen and (max-width: 360px) {
  .header-bottom h2 {
    font-size: 17px;
    letter-spacing: 6px;
  }

  .aboutus-text h3 {
    font-size: 20px;
  }

  .counter-left h1 {
    font-size: 33px;
    line-height: 55px;
  }

  .single-blog h3 {
    font-size: 19px;
  }

  .single-blog p {
    font-size: 14px;
  }

}

/* Max 320px layout */
@media only screen and (max-width: 320px) {
  .contact-info ul li {
      font-size: 12px;
  }

  .single-features h4 {
    font-size: 15px;
    margin-bottom: 15px;
  }

  .intro-team h4 {
    font-size: 13px;
  }

  .intro-team span {
    font-size: 13px;
  }

  #blog-area.second-blog-area .single-blog-two .blog-two-meta .meta-info ul li {
    margin-right: 4px;
  }

  #blog-area.second-blog-area .single-blog-two .blog-two-meta .meta-info ul li a {
    font-size: 10px;
    padding: 8px 8px;
  }


}