/*
====================================
Medium Screen - Others
====================================
*/
@media screen and (min-width: 320px) and (max-width: 1199px) {
  :root {
    --f19: 17px;
  }
  .container {
    max-width: 960px;
  }
  .project__company {
    flex-wrap: wrap;
  }
  .product__carpet__content h1 {
    font-size: 60px;
  }
  .exellent__service h3 {
    font-size: var(--f24);
  }
  .carpet__tiles__card {
    border-left-width: 25px;
    gap: 20px;
  }
  .flooring__card__img {
    margin-top: 18px;
}
.flooring__rules {
  gap: 18px;
}
  .carpet__card__img {
    max-width: 500px;
  }

  .footer__address {
    flex-direction: column;
    gap: 4px;
  }

  .footer__address__right {
    gap: 4px;
  }

  .footer__social {
    gap: 25px;
  }
  .footer__address__left {
    max-width: 100%;
  }
  .footer__email button {
    width: 98px;
  }

  .swiper-button-next,
  .swiper-rtl .swiper-button-prev {
    right: 220px;
    left: auto;
  }
  .swiper-button-prev,
  .swiper-rtl .swiper-button-next {
    left: 220px;
    right: auto;
  }

  .aboutus__img {
    left: -722px;
  }
}

/*
====================================
Small Screen - Tablate
====================================
*/
@media screen and (min-width: 320px) and (max-width: 991px) {
  :root {
    --f18: 16px;
    --f20: 18px;
    --f22: 20px;
    --f24: 22px;
    --f28: 24px;
    --f30: 25px;
    --f35: 28px;
  }
  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 24px;
  }

  h4 {
    font-size: 20px;
  }

  .container {
    max-width: 720px;
  }

  .carpet__tiles__cards {
    gap: 20px;
  }

  .carpet__tiles__card {
    flex-direction: column;
    gap: 10px;
  }

  .carpet__card__img {
    max-width: 100%;
    height: 220px;
  }

  .specification {
    padding-left: 12px;
  }
  .product__carpet__content h1 {
    font-size: 40px;
  }
  .service__details__card {
    gap: 10px;
  }
  .company__wrap {
    flex-wrap: wrap;
  }
  .exellent__service h3 {
    font-size: var(--f20);
  }

  .privacy__policy__wrap {
    flex-direction: column;
    gap: 10px;
    height: auto;
    padding: 10px 0px;
  }

  .privacy__policy__wrap ul {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 8px;
    column-gap: 22px;
  }

  section.service-area,
  section.product-carpet-area,
  .project-hero-area {
    height: 250px;
  }
  .header__top {
    padding: 0.6rem 0rem;
  }
  .title__area {
    margin-bottom: 20px;
    padding-bottom: 10px;
  }
  .project__card__content {
    padding: 12px;
  }

  .project__cards {
    gap: 28px;
    grid-template-columns: repeat(1, 1fr);
  }

  .aboutus__left {
    height: 360px;
  }

  .aboutus__left:before {
    width: 1200px;
    left: -300px;
  }

  .aboutus__right:after {
    width: 1200px;
    right: -300px;
  }
  .header__nav {
    gap: 10px;
  }

  .swiper-button-next,
  .swiper-rtl .swiper-button-prev {
    right: 98px;
    left: auto;
  }
  .swiper-button-prev,
  .swiper-rtl .swiper-button-next {
    left: 98px;
    right: auto;
  }
  .aboutus__img {
    left: -164px;
  }
  .footer__form {
    padding-right: 0px;
}
}

/*
====================================
Small Screen - Mobile
====================================
*/
@media screen and (min-width: 320px) and (max-width: 767px) {
  .mb_100 {
    margin-bottom: 60px;
  }
  .mb_50 {
    margin-bottom: 30px;
  }
  .product__carpet__content h1 {
    font-size: 30px;
  }
  .service__details__card p br {
    display: none;
  }
  .service__title h2 {
    font-size: 28px;
  }
  .about__choose__card {
    padding: 30px 1rem;
  }
  .owl-theme .owl-nav {
    left: -26px;
    right: -26px;
  }
  .footer__form {
    padding-left: 20px;
  }
  .privacy__policy__wrap span {
    text-align: center;
  }
  .service__card h4 {
    margin-bottom: 10px;
  }
  .service__card {
    height: auto;
    padding-left: 10px;
  }

  .aboutus__right {
    padding-left: 0px;
  }

  .aboutus__right__content {
    padding-left: 30px;
  }
  .aboutus__left {
    height: 288px;
  }
  .aboutus__commitment {
    margin-top: 25px;
    flex-direction: column;
  }
}

/*
====================================
Xtra Small Screen - Small Mobile
====================================
*/

@media screen and (max-width: 576px) {
  .single__specification div:first-child {
    max-width: 68px;
    width: 100%;
  }

  .single__specification {
    display: flex;
    align-items: start;
    gap: 15px;
  }
  .card__subtitle {
    width: 88%;
  }
  .swiper-carousel .swiper-slide {
    height: 300px;
  }
}
