/* Above 1200px screen */

@media all and (min-width: 1200px) {
  /* lg container */
  .lg-container {
    max-width: 1200px;
    width: 100%;
  }
}

/* Below 1199px screen */

@media all and (max-width: 1199px) {
  .service-top-img {
    min-width: 200px;
  }
  .inner-page-bnr {
    padding: 140px 0;
  }
  /* navbar */
  .navbar-brand {
    padding: 37px 0;
  }
  /* about bottom section  */
  .counter-wrapper {
    display: flex;
    margin: 0 -15px;
    flex-wrap: wrap;
  }
  .product-img {
    margin-top: -210px;
  }
  .product-desc {
    padding: 35px 30px 0;
  }
  /* .about-bottom-content */
  .about-bottom-content h6 {
    line-height: 21px;
  }

  /* service */

  .service-content {
    margin-left: 0;
  }

  /* about */
  .about-content li {
    align-items: baseline;
  }

  /* testimonial */
  .testimonial-content {
    margin-top: -493px;
    padding: 25px 0 65px 30px;
  }
  .testimonial-content h4 {
    max-width: 100%;
  }
  .testimonial-item-content {
    max-width: 330px;
  }
  /* gallery */
  .gallery-img-wrapper {
    flex-wrap: wrap;
  }
  .gallery-img {
    max-width: 33.3%;
  }
  /* second-container */

  .lg-container {
    max-width: 960px;
  }
  /* expert */
  .expert-content {
    max-width: 450px;
  }
  .expert-img {
    max-width: 450px;
    padding-left: 15px;
  }
  /* header */

  .top-logo {
    display: none;
  }
  .navbar-brand {
    display: block;
  }
  .nav-item {
    margin-right: 25px;
  }
  .nav-link {
    font-size: 17px;
    line-height: 21px;
  }
  .nav-search button svg {
    width: 21.5px;
    margin-right: 7px;
  }
  .nav-phn {
    display: none;
  }
  .navbar-brand {
    max-width: 180px;
    margin-right: 50px;
  }

  /* banner */

  .bnr-content {
    max-width: 100%;
  }
  .bnr-content h3 {
    font-size: 40px;
    line-height: 47px;
  }
  .bnr-content h2 {
    font-size: 55px;
    line-height: 65px;
  }
  /* .bnr-slider-item {
    padding: 160px 0;
  } */

  .contact-form {
    padding-right: 0;
  }
  .contact-content {
    padding-left: 0;
  }
}

/* Above 992px screen */

@media all and (min-width: 992px) {
  .nav-link::before {
    content: "";
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    z-index: -1;
    background: url("../images/nav-shape.png") no-repeat center;
    background-size: 100% 100%;
    clip-path: inset(0% 100% 0% 0%);
    transition: all 0.5s;
  }
  .nav-link:hover::before,
  .nav-link.active::before {
    clip-path: inset(0% 0% 0% 0%);
  }
  .nav-link::after {
    content: "";
    height: 80px;
    width: 30px;
    position: absolute;
    background: url("../images/nav-top.png") no-repeat center;
    background-size: auto;
    top: -160px;
    transition: all 0.5s;
    left: 0;
    right: 0;
    margin: 0 auto;
  }

  .nav-link:hover::after,
  .nav-link.active::after {
    top: -92px;
  }
}
/* Below 991px screen */

@media all and (max-width: 991px) {
  .submenu {
    display: none;
  }
  .about-page-content {
    margin-top: 45px;
  }
  #reasons .img-box {
    margin: 3rem 0;
  }
  .inner-page-bnr {
    padding: 50px 0;
  }
  .product-page-section1 .product-img {
    margin-top: 45px;
  }
  .product-page-section2 .product-img {
    margin-top: 0px;
    margin-bottom: 45px;
  }
  .product-page-section3 .product-img {
    margin-top: 45px;
  }
  .product-page-section4 .product-img {
    margin-top: 0px;
    margin-bottom: 45px;
  }
  /* service section */
  .service-desc {
    margin-bottom: 45px;
  }
  /* about section */
  .about-content {
    margin-bottom: 45px;
  }
  .about-btm-content {
    max-width: 700px;
    margin: 0 auto 45px;
  }
  .about-btm-img {
    max-width: 500px;
    margin: auto;
  }

  /* service page */
  .service-page-img {
    margin-bottom: 25px;
    max-width: 450px;
  }
  .service-page-last-img {
    margin-bottom: 25px;
  }
  /* gallery page */
  .gallery-slider-item {
    max-width: 500px;
  }
  /* contact page */
  .contact-page-contact-details {
    margin-bottom: 50px;
  }
  .contact-page-detail {
    max-width: 100%;
  }
  /* about page bottom */
  .about-bottom-content {
    margin-bottom: 30px;
  }
  .about-bottom-content h6 {
    font-size: 15px;
  }
  .about-bottom-last,
  .about-bottom-seclast,
  .about-bottom-thirdlast {
    margin-bottom: 0;
  }
  .about-offer-content {
    margin-bottom: 45px;
  }
  .about-offer-img {
    max-width: 450px;
  }
  /* inner page banner */
  .inner-bnr-content {
    padding: 106px 0;
  }
  .inner-bnr-content h1 {
    font-size: 50px;
    line-height: 57px;
  }
  /* footer */
  .ftr-main {
    padding-bottom: 60px;
  }
  /* testimonial */
  .testimonial-content {
    margin-top: -300px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    padding: 25px 30px 65px 30px;
  }
  .testimonial-item-content {
    max-width: 300px;
  }
  /* contact */
  .contact {
    background-position: left top;
    background-size: 2500px 637px;
    padding-bottom: 0;
  }
  .contact-content h4 {
    margin-bottom: 10px;
  }
  .contact-content p {
    max-width: 100%;
    margin-bottom: 20px;
  }
  .contact-content li {
    margin-bottom: 20px;
  }
  .contact-content ul {
    margin-bottom: 30px;
  }
  .contact-form {
    padding-bottom: 40px;
  }
  .contact-content {
    padding-top: 40px;
  }
  /* gallery */
  .gallery-img-wrapper {
    flex-wrap: wrap;
  }
  .gallery-img {
    width: 50%;
    max-width: 50%;
    max-height: 300px;
    overflow: hidden;
  }
  .gallery-img a {
    width: 100%;
    height: 100%;
  }
  .gallery-img img {
    height: 450px;
    width: 100%;
  }
  .gallery-more-wrapper {
    width: 100%;
    height: 100px;
  }
  .gallery-more {
    width: 100%;
    height: 100%;
  }
  .gallery-more-wrapper a {
    width: 100%;
    height: 100%;
  }
  /* flooring */
  .flooring-content {
    margin-bottom: 50px;
  }
  /* second-container */

  .lg-container {
    max-width: 960px;
  }
  /* expert */
  .expert-content {
    max-width: 450px;
  }
  .expert-img {
    max-width: 450px;
    padding-left: 15px;
  }
  /* service */
  .service-img {
    max-width: 450px;
  }

  .service-odd .service-content {
    text-align: left;
  }
  .service-odd .service-content h2 {
    margin-left: 0;
  }
  .service-odd .service-img-content {
    right: auto;
    left: 0;
  }

  .service-odd .service-content h2::before {
    left: 0;
    right: auto;
  }
  .service-img {
    margin-bottom: 35px;
  }
  .service-content {
    margin-bottom: 55px;
    max-width: 100%;
  }
  .service-inner:last-child .service-img {
    margin-bottom: 35px;
  }
  .service-inner:last-child .service-content {
    margin-bottom: 0;
  }
  .service-content h2 {
    margin-bottom: 20px;
    padding-bottom: 20px;
    font-size: 55px;
    line-height: 66px;
  }
  /* common */

  h4 {
    font-size: 45px;
    line-height: 55px;
  }
  section,
  main {
    margin-bottom: 95px;
  }

  /* expert */
  .expert-content {
    max-width: 720px;
    padding: 0px 15px;
    margin: 0 auto 50px;
  }
  .expert {
    padding: 50px 0;
  }
  .expert-img {
    max-width: 720px;
    padding: 0 15px;
    margin: auto;
  }
  .expert-img img {
    width: 100%;
    max-width: 400px;
  }
  .expert h4 {
    max-width: 100%;
  }
  /* second container */

  .lg-container {
    max-width: 720px;
  }
  /* about section */
  .about-img {
    max-width: 420px;
    margin-bottom: 50px;
  }
  /* header */

  .nav-link,
  .nav-item,
  .navbar-nav {
    height: auto;
  }
  .navbar {
    align-items: center;
  }
  .navbar-collapse {
    background-color: var(--red);
    border-radius: 5px;
    position: absolute;
    top: 100%;
    width: 100%;
    left: 0;
    z-index: 999999999;
  }
  .navbar-expand-lg .navbar-nav .nav-link {
    padding: 0;
    display: inline-block;
  }
  .dropdown-menu {
    display: none;
  }
  /* .dropdown:hover .dropdown-menu{
    display: block;
} */
  .nav-link:hover,
  .nav-link.active {
    color: var(--white);
  }
  .dropdown .nav-link:hover svg,
  .dropdown .nav-link.active svg {
    fill: var(--white);
  }
  .navbar-nav {
    padding: 8px 0;
  }
  .nav-item {
    margin: 0;
    padding: 8px 16px;
  }

  /* banner */

  .bnr-content {
    max-width: 100%;
  }
  .bnr-content h3 {
    font-size: 30px;
    line-height: 37px;
  }
  .bnr-content h2 {
    font-size: 45px;
    line-height: 55px;
  }
  /* .bnr-slider-item {
    padding: 100px 0;
  } */
  .bnr-btns .page-btn {
    padding: 14.5px 20px;
  }
}

/* Below 767px screen */

@media all and (max-width: 767px) {
  .about-page-content h2 {
    font-size: 50px;
    line-height: 60px;
  }
  .about-page-content {
    padding: 20px 30px;
  }
  .product-page-section::after {
    display: none;
  }
  .product-page-section {
    margin-bottom: 0 !important;
    margin-top: 100px !important;
  }
  /* about section */
  .about h4 {
    margin-bottom: 40px;
  }
  /* service page */
  .service-page-img {
    max-width: 400px;
  }
  .service-page-content h3 {
    font-size: 25px;
    line-height: 30px;
  }
  .service-page-content p {
    margin-bottom: 15px;
  }
  /* gallery page */
  .gallery-slider-item {
    max-width: 450px;
  }
  /* about offer  */
  .about-page {
    padding: 40px 0;
  }
  .about-offer-content svg {
    height: 60px;
    width: 60px;
  }
  .about-offer-content p {
    margin-bottom: 25px;
  }
  .about-offer-img {
    max-width: 400px;
  }
  /* inner page banner */
  .inner-bnr-content {
    padding: 85px 0;
  }
  .inner-bnr-content h1 {
    font-size: 43px;
    line-height: 50px;
  }
  /* footer */
  .ftr-logo img {
    max-width: 200px;
  }
  .ftr-main {
    padding-bottom: 40px;
  }
  .ftr-subscribe input[type="email"] {
    width: calc(100% - 45px);
  }
  .ftr-submit input {
    width: 45px;
  }
  /* testimonial */
  .testimonial-content {
    margin-top: 0px;
    max-width: 100%;
    padding: 0;
  }
  .testimonial-item-content {
    max-width: 350px;
  }
  .testimonial-item-content p {
    font-size: 16px;
  }
  .testimonial-item-img {
    max-width: 150px;
  }
  .testimonial-img {
    max-width: 400px;
    margin-bottom: 40px;
  }
  /* contact */
  .contact-odd,
  .contact-even {
    padding: 0;
  }

  .contact {
    background-size: 2500px 677px;
    padding-top: 40px;
  }
  /* gallery */
  .gallery-img {
    max-height: 250px;
  }

  /* service */
  .service-img {
    max-width: 400px;
  }
  .service-img {
    margin-bottom: 25px;
  }
  .service-content {
    margin-bottom: 50px;
  }
  .service-inner:last-child .service-img {
    margin-bottom: 25px;
  }
  .service-content h2 {
    margin-bottom: 20px;
    padding-bottom: 20px;
    font-size: 45px;
    line-height: 56px;
  }
  .service-content h3 {
    font-size: 28px;
    line-height: 36px;
  }
  /* expert */
  .expert-content {
    max-width: 540px;
    margin: 0 auto 40px;
  }
  .expert-img {
    max-width: 540px;
  }
  .expert-img img {
    width: 100%;
    max-width: 350px;
  }
  /* common */

  .page-btn {
    padding: 16.5px 20px;
  }

  h4 {
    font-size: 35px;
    line-height: 45px;
  }

  section,
  main {
    margin-bottom: 80px;
  }
  /* second container */
  .lg-container {
    max-width: 540px;
  }

  /* header */
  .header-top-details {
    display: none;
  }

  .navbar-brand {
    max-width: 170px;
  }

  /* about section */
  .about-img {
    max-width: 360px;
  }
  .about-img svg {
    height: 100px;
    width: 100px;
  }
  .about-img .modal-content {
    padding: 0 15px;
  }
  .about-img .modal-btn {
    left: 40px;
  }
  /* banner */

  .bnr-content {
    max-width: 100%;
  }
  .bnr-content h3 {
    font-size: 27px;
    line-height: 34px;
  }
  .bnr-content h2 {
    font-size: 40px;
    line-height: 50px;
  }
  /* .bnr-slider-item {
    padding: 80px 0;
  } */
  .bnr-slider .slick-prev::after,
  .bnr-slider .slick-next::after {
    display: none;
  }
  .bnr-slider .slick-prev:hover::before {
    left: 0;
  }
  .bnr-slider .slick-next:hover::before {
    right: 0;
  }
}

/* Below 575px screen */

@media all and (max-width: 575px) {
  .about-page-content h2 {
    font-size: 40px;
    line-height: 50px;
  }
  .about-page-content {
    padding: 10px;
  }
  .service-top-inner {
    display: block;
  }
  .service-top-content {
    margin-left: 0;
    padding-left: 20px;
  }
  .service-top-img {
    width: 100px;
    margin: auto;
  }
  .inner-page-bnr {
    padding: 30px 0;
  }
  .product-desc {
    padding: 20px 12px 0;
  }
  /* service page */
  .service-page-img {
    max-width: 350px;
  }
  .service-page-content h3 {
    font-size: 23px;
    margin-bottom: 10px;
  }
  .service-page-content p {
    font-size: 16px;
  }
  /* gallery page */
  .gallery-slider-item {
    max-width: 400px;
  }
  .gallery-slider .slick-prev {
    left: 15px;
    height: 45px;
    width: 45px;
  }
  .gallery-slider .slick-next {
    right: 15px;
    height: 45px;
    width: 45px;
  }
  /* contact page */
  .contact-page-detail-content a {
    word-break: break-all;
  }
  .contact-form-head {
    font-size: 19px;
    line-height: 23px;
  }
  /* about page bottom */

  .about-bottom-thirdlast {
    margin-bottom: 30px;
  }
  .about-offer-img {
    margin-bottom: 50px;
  }

  /* inner page banner */
  .inner-bnr-content {
    padding: 60px 0;
  }
  .inner-bnr-content h1 {
    font-size: 35px;
    line-height: 45px;
  }
  /* top-arrow */
  #top {
    display: none;
  }
  /* footer */
  .ftr-subscribe {
    max-width: 400px;
  }
  .ftr-logo {
    max-width: 400px;
  }
  .ftr-menu h3 {
    margin-top: 45px;
    font-size: 25px;
    line-height: 29px;
  }
  /* testimonial */
  .testimonial-item.slick-slide {
    display: block;
  }
  .testimonial-item-img {
    margin-top: 20px;
  }
  .testimonial-img {
    max-width: 300px;
  }
  .testimonial-item-content {
    max-width: 100%;
  }
  /* gallery */
  .gallery-img {
    width: 100%;
    max-width: 100%;
    max-height: 200px;
    overflow: hidden;
  }
  .gallery-img a {
    width: 100%;
    height: 100%;
  }
  .gallery-img img {
    height: 450px;
    width: 100%;
  }
  .gallery-more-wrapper {
    width: 100%;
    height: 100px;
  }
  .gallery-more {
    width: 100%;
    height: 100%;
  }
  .gallery-more-wrapper a {
    width: 100%;
    height: 100%;
  }
  /* flooring */
  .flooring-sec-last-img {
    margin-bottom: 30px;
  }
  /* service */
  .service-img {
    max-width: 350px;
  }
  .service-img {
    margin-bottom: 20px;
  }
  .service-content {
    margin-bottom: 40px;
  }
  .service-inner:last-child .service-img {
    margin-bottom: 20px;
  }
  .service-content h2 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    font-size: 40px;
    line-height: 51px;
  }
  .service-content h3 {
    font-size: 25px;
    line-height: 35px;
    margin-bottom: 10px;
  }
  .service-img-content {
    max-width: calc(100% - 30px);
  }
  /* expert */
  .expert-content {
    max-width: 100%;
    margin: 0 auto 40px;
  }
  .expert-img {
    max-width: 100%;
  }
  .expert-img img {
    max-width: 300px;
  }
  /* common */
  .page-btn {
    padding: 15px 20px;
    font-size: 18px;
  }
  section,
  main {
    margin-bottom: 70px;
  }

  /* second container */
  .lg-container {
    max-width: 100%;
  }

  /* header */
  .navbar-brand {
    max-width: 150px;
  }
  .modal-content {
    padding: 0 15px;
  }

  /* about section */
  .about-img {
    max-width: 300px;
  }
  .about-img svg {
    height: 80px;
    width: 80px;
  }
  .about-img .modal-btn {
    left: 35px;
  }
  /* banner */

  .bnr-content {
    max-width: 100%;
  }
  .bnr-content h3 {
    font-size: 25px;
    line-height: 32px;
  }
  .bnr-content h2 {
    font-size: 33px;
    line-height: 43px;
  }
  /* .bnr-slider-item {
    padding: 60px 0 90px 0;
  } */
  .bnr-slider-item p {
    margin-bottom: 40px;
  }
  .bnr-slider .slick-dots {
    bottom: 30px;
    justify-content: flex-start;
    display: flex;
    padding: 0 15px;
    max-width: 100%;
  }
  .bnr-btns .page-btn {
    padding: 12px 15px;
    font-size: 17px;
    line-height: 21px;
  }
  .bnr-slider .slick-dots li button {
    display: none;
  }
  .bnr-slider .slick-dots li {
    height: 10px;
    width: 10px;
    background: var(--white);
    transition: all 0.5s;
    border-radius: 100%;
  }
  .bnr-slider .slick-dots li.slick-active {
    background: var(--red);
  }
  .bnr-slider.slick-dotted.slick-slider {
    margin-bottom: 0;
  }
  .bnr-slider .slick-prev::after,
  .bnr-slider .slick-next::after {
    display: none;
  }
  .bnr-slider .slick-prev:hover::before {
    left: 0;
  }
  .bnr-slider .slick-next:hover::before {
    right: 0;
  }

  .inner-bnr-content h2 {
    position: absolute;
    top: 368px;
    left: 0;
    right: 0;
  }
  .inner-page-bnr{
    margin-bottom: 140px;
    background-size: contain;
  }
}

/* Below 450px screen */

@media all and (max-width: 450px) {
  /* service page */
  .service-page-img {
    max-width: 300px;
  }
  /* gallery page */
  .gallery-slider-item {
    max-width: 350px;
  }
  /* contact page */
  .contact-page-detail-content a {
    font-size: 16px;
  }

  .contact-form-body {
    padding: 25px 10px 21px;
  }
  .contact-page-detail-content li {
    font-size: 16px;
  }
  /* about offer  */

  .about-offer-img {
    max-width: 300px;
  }
  /* inner page banner */
  .inner-bnr-content {
    padding: 50px 0;
  }
  .inner-bnr-content h6 a {
    font-size: 18px;
  }
  .inner-bnr-content h1 {
    font-size: 30px;
    line-height: 40px;
  }

  /* footer */
  .ftr-logo img {
    max-width: 170px;
  }
  /* testimonial */
  .testimonial-content h4 {
    margin-bottom: 15px;
  }
  /* service */
  .service-img {
    max-width: 300px;
  }
  .service-content h3 {
    font-size: 22px;
    line-height: 30px;
    margin-bottom: 10px;
  }
  .service-img-content {
    max-width: calc(100% - 30px);
  }
  .service-img-content h6 {
    font-size: 20px;
    line-height: 23px;
  }
  .service-img-content p {
    font-size: 15px;
    line-height: 23px;
  }
  .service-content p {
    font-size: 15px;
    line-height: 23px;
  }
  /* .expert */
  .expert-content li {
    font-size: 17px;
    margin-bottom: 20px;
  }
  /* common */

  h4 {
    font-size: 30px;
    line-height: 40px;
  }
  /* header */

  .nav-contact-details {
    display: none;
  }

  /* about section */
  .about-img {
    max-width: 280px;
  }
  .about-img svg {
    height: 70px;
    width: 70px;
  }
  .about-img .modal-btn {
    left: 35px;
  }
  .about-content li {
    font-size: 17px;
  }
  /* banner */

  .bnr-content h3 {
    font-size: 23px;
    line-height: 29px;
  }
  .bnr-content h2 {
    font-size: 28px;
    line-height: 38px;
  }
  /* .bnr-slider-item {
    padding: 50px 0 80px 0;
  } */
}
/* Below 380px screen */

@media all and (max-width: 380px) {
  /* service page */
  .service-page-img {
    max-width: 280px;
  }
  /* inner page banner */
  .inner-bnr-content h1 {
    font-size: 28px;
    line-height: 38px;
  }

  /* testimonial */
  .testimonial-img {
    max-width: 270px;
  }
  /* banner */
  .bnr-btns {
    display: block;
  }
  /* common */
  section,
  main {
    margin-bottom: 60px;
  }
  /* about section */
  .about-img {
    max-width: 250px;
  }
  .about-img .modal-btn {
    left: 28px;
    bottom: 75px;
  }
  .bnr-explore-btn {
    margin-top: 10px;
  }
  p {
    font-size: 16px;
    line-height: 23px;
  }
}
