/* responsive code start */
@media (max-width: 1400px) {
  #map .right {
    padding-right: 0px;
  }
  .about2 .counter-section{
        gap: 42px;
  }

  #map .social-icon {
    width: 100%;
    position: static;
    left: 187px;
    top: 50%;
    transform: translateY(-50%);
    padding: 0px 0px;
    flex-direction: row;
  }

  #map .left .head-content {
    padding: 40px 20px;
    position: static;
    right: -14px;
    top: 0;
    background-color: var(--primary);
  }

  #map .left .inside {
    display: flex;
  }

  #map .left .outside {
    display: none;
  }
}


@media (max-width: 1383px) {
  .counter-section {
    gap: 10px;

  }
}

@media (max-width:1352px) {
  .home-banner .carousel-inner .carousel-caption p br {
    display: none;
  }

}

@media (max-width:1199.98px) {
  .home-banner .carousel-caption p {
    font-size: 46px;
  }

  .home-banner .carousel-caption .img-box {
    width: 46vw;
  }
}

@media (max-width:1310px) {

  .about-page-feature .right {
    padding: 50px 10px;
  }

}


@media (max-width: 992px) {

   /* Image moves below text but remains inside container */
  .home-banner .carousel-caption .container {
    min-height: calc(100vh - 0px);
    /* keep full height; adjust if you have fixed header */
  }

  .home-banner .carousel-caption .row {
    min-height: auto;
    /* allow natural height on mobile */
  }

  .home-banner .carousel-caption .img-box {
    position: static;
    /* flow with document */
    width: 70%;
    max-width: 440px;
    margin: 18px 0 0 auto;
    /* stays right */
    pointer-events: auto;
  }


  .home-banner .carousel-caption .para {
    font-size: 16px;
  }
  .form-control {
    margin-bottom: 20px;
  }

  .testimonial-slider2 .card-body p .fa-quote-left {
    font-size: 35px;
  }

  .testimonial-slider2 .card-body p .fa-quote-right {
    font-size: 35px;
  }

  .navbar-nav .dropdown-menu {

    width: fit-content;
    margin: auto;
    text-align: center;

  }

  #review .card-body {
    padding: 20px 28px !important;
  }

  #service-sec .main-para {
    margin: 0px 0px;
  }

  #header {
    padding: 0 0px;
  }

  #map .left .box {
    padding-bottom: 0;
  }

  #review .left {
    height: fit-content;
  }

  .section {
    margin-top: 0px;
    margin-bottom: 0px;
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .navbar .icon-box {
    justify-content: center;
    align-items: center;
  }

  .about {
    margin-top: 0;
  }

  #about-page .section {
    padding-top: 0;
  }

  .soci-icon {
    z-index: 2;
    align-items: center;
    margin: auto;
  }

  .soci-icon a i {
    color: var(--primary);
    margin: 0 10px;
    font-size: 16px;
  }

  .soci-icon span {
    color: var(--primary);
  }

}

@media (max-width: 767px) {
  .header-top .content {
    margin-bottom: 5px;
  }

  .form-control {
    margin-bottom: unset;
  }

  .footer .footer-blog-box {
    justify-content: start;
  }

  .Shop-cat .box .img-box {
    height: 100px;
    width: 100px;
  }

  .Shop-cat .box .content h5 {
    font-size: 16px;
  }

  .heading {
    font-size: 30px;
  }

  .sub-head {
    font-size: 18px;
  }

  .footer .copyright {
    padding: 1rem 0 0 0;

  }

  .trust .content {
    margin-bottom: 0px;
  }

  .breadcrumb-section ol li h2 {
    text-align: center;
  }


}

@media (max-width:575.98px) {
  .home-banner .carousel-caption p {
    font-size: 38px;
  }

  .home-banner .carousel-caption .para {
    font-size: 15px;
    font-weight: 400;
  }

  .home-banner .carousel-caption .img-box {
    width: 85%;
    margin-left: auto;

  }
}

@media (max-width:500px) {
  .header-top .content p{
    font-size: 14px;
  }
  .header-top .content p i{
    font-size: 14px;
  }
  #review .card-body {
    padding: 10px 8px !important;
  }

  .contect-sec form {
    padding: 0;
  }

  .why-section .icon-box i {
    font-size: 22px;
  }

  .why-section .feature-card {
    grid-template-columns: 50px 1fr;
  }

  .why-section .icon-box {
    width: 55px;
    height: 55px;
  }

  .benefit-box {
    padding: 20px;
  }

  .benefit-box .img-box {
    height: 70px;
    width: 70px;
  }

  .benefit-box:hover i {
    font-size: 24px;
  }

 
  .product-details {
    padding-top: 10px;
  }

  .heading {
    font-size: 25px;
  }

  .sub-head {
    font-size: 16px;
  }
  .error h1 {
    font-size: 150px;
  }
  .error h2{
    font-size: 26px;
  }
  #error {
    padding:0;
  }

}

@media (max-width: 480px) {
  .counter-box {
    flex: 1 1 100%;
    max-width: none;
  }
}


@media (max-width:425px) {
  #map .left .head-content {
    padding: 40px 0;
  }
  .contact-page .content{
    padding: 0.2rem;
  }
    .contact-page.section{
      margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

}

@media (max-width:420px) {
    .home-banner .carousel-caption p {
      font-size: 30px;
    }

}