/* Home css */

.home-sec {
  width: 100%;
  position: relative;
}

.bg-image {
  width: 100%;
  max-height: 90vh;
  height: auto;
  object-fit: cover;
  display: block;
}

.home-content {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  z-index: 2;
  max-width: 1122px;
}

@media screen and (max-width: 1122px) {
  .main-container {
    padding: 0 10px;
  }

  .home-content {
    margin: 0 10px;
    width: auto;
    left: 0%;
    transform: translateX(0%);
  }
}

@media screen and (max-width: 1024px) {
  .main-container {
    padding: 0 40px;
  }
  .home-content {
    margin: 0 40px;
  }
}

@media screen and (max-width: 768px) {
  .display-tital {
    font-size: 44px;
    line-height: 54px;
  }
  .headline-text {
    font-size: 26px;
  }

  .home-content .display-tital {
    font-size: 32px;
    line-height: 36px;
  }

  .home-content .white-button {
    padding: 7px 24px;
    margin-top: 20px;
  }
}

@media screen and (max-width: 480px) {
  .main-container {
    padding: 0 20px;
  }

  .home-content {
    margin: 0 20px;
  }

  .home-content .display-tital {
    font-size: 22px;
    line-height: 28px;
  }

  .home-content .white-button {
    padding: 4px 16px;
    margin-top: 12px;
    font-size: 14px;
  }

  .display-tital {
    font-size: 36px;
    font-weight: 700;
    line-height: 44px;
  }

  .headline-text {
    font-size: 22px;
  }

  .white-button {
    padding: 9px 36px;
    margin-top: 32px;
  }
}

.show-tils {
  margin-top: 85px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  justify-content: center;
}

.tils-box {
  padding: 8px 5.5px;
  max-width: 187px;
  border: 1px solid var(--light-gray);
  position: relative;
  display: block;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.tils-img {
  width: 100%;
  height: 100%;
  max-height: 123px;
}

.tils-box .label-text {
  color: var(--black-shade);
	text-align: center;
	margin-top: 4px;
}

.tils-box:hover .label-text {
  color: var(--primary-color);
  font-weight: bold;
}

.tils-box::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: transparent;
  transition: background-color 0.3s ease-in-out;
}

.tils-box:hover::after {
  background-color: var(--primary-color);
}

@media screen and (max-width: 940px) {
  .show-tils {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media screen and (max-width: 480px) {
  .show-tils {
    grid-template-columns: repeat(2, 1fr);
  }
}

.new-tils {
  padding: 70px 0 123px 0;
}

.new-tils .headline-text {
  text-align: center;
}

.new-tils-box {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.new-tils-content {
  position: relative;
  display: inline-block;
}

.new-tils-content img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.add-button {
  position: absolute;
  bottom: 0%;
  left: 0%;
  background-color: rgba(137, 92, 37, 0.74);
  color: white;
  border: none;
  font-size: 14px;
  padding: 8px 0px;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
}

.new-tils-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 6px 0px;
}

.new-tils-box .body-text span {
  color: var(--black-shade);
  font-weight: 600;
  margin-left: 0px;
}

@media screen and (max-width: 940px) {
  .new-tils-box {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .new-tils-box {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 480px) {
  .new-tils {
    padding: 70px 0 90px 0;
  }
  .new-tils-box {
    grid-template-columns: repeat(1, 1fr);
  }
}

.best-seller-bg {
  background: var(--black-shade);
  padding: 60px 0 120px 0;
}

.best-seller .headline-text {
  color: white;
  text-align: center;
}

.best-seller-box {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.best-seller-content {
  position: relative;
  display: inline-block;
}

.best-seller-content img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.best-seller-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 6px 0px;
}

.best-seller-details .title-text {
  color: white;
}

.best-seller-details p:first-of-type {
  color: var(--light-gray);
}

.best-seller-box .body-text span {
  color: var(--primary-color);
  font-weight: 600;
  margin-left: 5px;
}

@media screen and (max-width: 940px) {
  .best-seller-box {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .best-seller-box {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 480px) {
  .best-seller-box {
    grid-template-columns: repeat(1, 1fr);
  }
}

.about-us {
  margin-top: 114px;
  margin-bottom: 92px;
}

.about-us-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.about-us-content .secondnary-button {
  margin-top: 25px;
}

@media screen and (max-width: 768px) {
  .about-us {
    margin-top: 64px;
    margin-bottom: 62px;
  }

  .about-us-box {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-us-box img {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }
}

.tilescarreaux-bg {
  background: var(--gray);
  padding: 45px 0 100px 0;
}

.tilescarreaux-box {
  text-align: center;
}

.tilescarreaux-box .body-text {
  margin-top: 14px;
  max-width: 814px;
  margin: auto;
}

.tilescarreaux-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0px 32px;
}

.tilescarreaux-card {
  margin-top: 75px;
  background-color: white;
  position: relative;
  padding: 54px 56px 24px;
  text-align: center;
  overflow: visible;
}

.counter-box {
  background: var(--primary-color);
  height: 86px;
  width: 86px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
}

.counter-box .headline-s-text {
  color: white;
}

.tilescarreaux-cards .title-l-text {
  text-align: center;
}
.tilescarreaux-cards .body-text {
  text-align: center;
  padding-top: 12px;
  /* max-width: 432px; */
  margin: auto;
}

@media screen and (max-width: 940px) {
  .tilescarreaux-card {
    padding: 54px 16px 24px;
  }
}

@media screen and (max-width: 768px) {
  .tilescarreaux-cards {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* <!-- Our Clients -- >  */

.our-clients {
  margin-top: 42px;
}

.our-clients .headline-text {
  text-align: center;
}

.our-clients-content {
  margin-top: 32px;
}

.our-clients-box {
  border: 1px solid var(--light-gray);
  padding: 20px;
  width: 100%;
  max-width: 256px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 11px;
}

.our-clients-slider1,
.our-clients-slider2 {
  width: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: row;
  gap: 15px;
  margin-bottom: 20px;
}

.our-clients-img {
  max-width: 140px;
  object-fit: contain;
  margin: auto;
}

@media screen and (max-width: 768px) {
  .our-clients-box {
    max-width: 190px;
    margin: 0 6px;
    padding: 15px;
  }

  .our-clients-img {
    max-width: 120px;
  }
}

@media screen and (max-width: 480px) {
  .our-clients-box {
    max-width: 160px;

    padding: 10px;
  }

  .our-clients-img {
    max-width: 100px;
  }
}

.recent-blogs {
  padding: 114px 0 30px 0;
}

.recent-blogs .headline-text {
  text-align: center;
}

.blogs-details .body-s-text {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  text-overflow: ellipsis;
  line-height: 1.5em;
  max-height: 4.5em;
  margin-top: 4px;
}

.recent-blogs-box {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.blogs-details {
  padding: 7px;
  border: 1px solid var(--light-gray);
  display: flex;
  flex-direction: column;
  gap: 8px;
  /* max-width: 256px; */
  margin: auto;
}

.blogs-box {
  position: relative;
}

.blogs-img {
  object-fit: cover;
  width: 100%;
  display: block;
}

.date-box {
  position: absolute;
  bottom: 10px;
  right: 11px;
  color: var(--dark-black);
  font-size: 12px;
  text-align: center;
  width: 42px;
  height: 45px;
  background-color: white;
}

.date-box span {
  display: block;
  font-size: 16px;
  font-weight: 700;
}
@media screen and (max-width: 1024px) {
  .recent-blogs-box {
    gap: 20px;
  }
}
@media screen and (max-width: 940px) {
  .recent-blogs-box {
    gap: 10px;
  }
}

@media screen and (max-width: 768px) {
  .recent-blogs-box {
    grid-template-columns: repeat(2, 1fr);
  }
  .recent-blogs {
    padding: 64px 0 30px 0;
  }
}

@media screen and (max-width: 480px) {
  .recent-blogs-box {
    grid-template-columns: repeat(1, 1fr);
  }
  .recent-blogs {
    padding: 44px 0 30px 0;
  }
}

/* Client Testimonials */

.client-testimonials-bg {
  background-color: var(--gray);
}

.client-testimonials {
  padding: 114px 0px;
}

.client-testimonials .headline-text {
  text-align: center;
}

.client-testimonials-box {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.client-testimonials-details {
  background-color: white;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  margin-bottom: 38px !important;
}

.client-testimonials-details img {
  width: 95px;
  height: 95px;
  object-fit: cover;
  border-radius: 50%;
}

.client-testimonials-details .label-text {
  font-weight: 600;
  margin-top: 7px;
}

.client-testimonials-box {
  padding: 0 10px;
}

.client-testimonials-details {
  margin: 0 10px;
}

@media screen and (max-width: 940px) {
  .client-testimonials {
    padding: 84px 0px;
  }
  .client-testimonials-box {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .client-testimonials {
    padding: 64px 0px;
  }
}
@media screen and (max-width: 440px) {
  .client-testimonials {
    padding: 44px 0px;
  }
}

/* Contact Expert Section Styles */
.contact-expert-section {
    background-color: #242424;
    color: #ffffff;
    padding: 0;
    margin: 0;
    overflow: hidden;
    position: relative;
}

.contact-expert-wrapper {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.contact-expert-image {
    width: 50%;
    position: relative;
}

.contact-expert-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 450px;
}

.contact-expert-content {
    width: 50%;
    background-color: #242424;
    display: flex;
    align-items: center;
    padding: 40px 0;
}

.contact-expert-form {
    padding: 0 30px;
    max-width: 590px;
    width: 100%;
    margin: 0;
}

.contact-subtitle {
    font-size: 14px;
    font-weight: normal;
    margin: 0 0 5px 0;
}

.contact-title {
    font-size: 24px;
    font-weight: bold;
    margin: 0 0 25px 0;
}

/* Form styling */
.wpcf7-form p {
    margin-bottom: 15px;
}

.wpcf7-form label {
    display: block;
    font-size: 13px;
    margin-bottom: 5px;
}

.wpcf7-form .wpcf7-text,
.wpcf7-form .wpcf7-textarea {
    width: 100%;
    background-color: #333333;
    border: none;
    padding: 10px;
    color: #ffffff;
    border-radius: 3px;
}

.wpcf7-form .wpcf7-textarea {
    height: 120px;
    resize: none;
}

.wpcf7-form .form-row {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.wpcf7-form .form-column {
    flex: 1;
}

.wpcf7-form .submit-button {
    width: 100%;
    background-color: #b17a30;
    color: white;
    border: none;
    padding: 12px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.wpcf7-form .submit-button:hover {
    background-color: #c48a40;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .contact-expert-wrapper {
        flex-direction: column;
    }
    
    .contact-expert-image,
    .contact-expert-content {
        width: 100%;
    }
    
    .contact-expert-image img {
        min-height: 250px;
    }
    
    .contact-expert-content {
        padding: 30px 0;
    }
    
    .contact-expert-form {
        padding: 0 20px;
    }
}