/* ===================================================================================
======================================================================================
                                EVERY ROOF COVERING SOC
======================================================================================
=================================================================================== */
.roof-covering-sec {
  background-image: url("../images/roof-types-page/roof-covering-bg.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* ===================================================================================
======================================================================================
                                ROOF TYPES SOC
======================================================================================
=================================================================================== */

.roof-types-sec {
  background-image: url("../images/roof-types-page/roof-types-bg.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.rooftypes-row {
  --bs-gutter-x: 24px;
  --bs-gutter-y: 24px;
}

.rooftypes-card::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    178.62deg,
    rgba(7, 7, 7, 0) 31.51%,
    #070707 102.95%
  );
  transition: all 0.4s ease-in-out;
  opacity: 0;
  visibility: hidden;
}

.rooftypes-card:hover::after {
  opacity: 1;
  visibility: visible;
}

.rooftypes-row .rooftypes-card .rooftype-image {
  min-height: 600px;
  max-height: 600px;
}

.rooftypes-row .rooftypes-card .rooftypes-card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 2;
}

.rooftypes-card .rooftypes-card-body .rooftypes-icon-wrapper {
  width: 100px;
  height: 100px;
  background-color: var(--primary-color);
  flex: 0 0 auto;
  padding: 10px;
  border-top: 1px solid var(--white-color);
}

.rooftypes-card .rooftypes-card-body .rooftypes-content-wrapper {
  border-top: 1px solid var(--white-color);
  padding: 15px 24px;
  min-height: 100px;
  max-height: 100px;
  transition: all 0.4s ease-in-out;
  width: 100%;
  position: relative;
}

.rooftypes-card .rooftypes-card-body .rooftypes-content-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(20px);
  background-color: var(--main-white-op8);
  transition: all 0.4s ease-in-out;
}

.rooftypes-card
  .rooftypes-card-body
  .rooftypes-content-wrapper
  .rooftypes-desc {
  opacity: 0;
  visibility: hidden;
  max-height: 0;
  margin: 0;
  overflow: hidden;
  transition: all 0.4s ease-in-out;
  position: relative;
}

.rooftypes-card:hover
  .rooftypes-card-body
  .rooftypes-content-wrapper
  .rooftypes-desc {
  opacity: 1;
  visibility: visible;
  max-height: 300px;
  margin-top: 16px;
}

.rooftypes-card:hover .rooftypes-card-body .rooftypes-content-wrapper {
  max-height: 400px;
  padding: 40px 24px;
}

.rooftypes-card:hover .rooftypes-card-body .rooftypes-content-wrapper::before {
  background-color: var(--black-text-op3);
  backdrop-filter: blur(10px);
}

.rooftypes-card:hover .rooftypes-card-body .rooftypes-title {
  color: var(--white-color);
}

/* EXPLORE ROOF TYPES CARD LINK CSS 26/08/2026  --  PRITESH */

.rooftypes-row .explore-rooftype-van-img {
  position: absolute;
  right: -35px;
  bottom: -25px;
  max-width: 350px;
}

[data-aos="van-slide-right"] {
  opacity: 1;
  transform: translateX(150%);
  transition-property: transform;
}

[data-aos="van-slide-right"].aos-animate {
  opacity: 1;
  transform: translateX(0);
}

.rooftypes-row .rooftypes-card.rooftypes-card-link .rooftypes-card-body {
  inset: 0;
  padding: 0 100px;
  gap: 30px;
}

.rooftypes-card-link::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(6px);
  background-color: var(--black-text-op3);
}

@media (max-width: 1699.98px) {
  /* ======================================================
                      ROOF TYPES SOC
  ====================================================== */

  .rooftypes-row {
    --bs-gutter-x: 22px;
    --bs-gutter-y: 22px;
  }

  .rooftypes-row .rooftypes-card .rooftype-image {
    min-height: 580px;
    max-height: 580px;
  }

  /* EXPLORE ROOF TYPES CARD LINK CSS 26/08/2026  --  PRITESH */

  .rooftypes-row .explore-rooftype-van-img {
    max-width: 320px;
  }

  .rooftypes-row .rooftypes-card.rooftypes-card-link .rooftypes-card-body {
    padding: 0 80px;
  }
}

@media (max-width: 1599.98px) {
  /* ======================================================
                      ROOF TYPES SOC
  ====================================================== */

  .rooftypes-row {
    --bs-gutter-x: 18px;
    --bs-gutter-y: 18px;
  }

  .rooftypes-row .rooftypes-card .rooftype-image {
    min-height: 530px;
    max-height: 530px;
  }

  .rooftypes-card .rooftypes-card-body .rooftypes-icon-wrapper {
    width: 85px;
    height: 85px;
    padding: 9px;
  }

  .rooftypes-card .rooftypes-card-body .rooftypes-content-wrapper {
    min-height: 85px;
    max-height: 85px;
  }

  .rooftypes-card:hover
    .rooftypes-card-body
    .rooftypes-content-wrapper
    .rooftypes-desc {
    margin-top: 14px;
  }

  .rooftypes-card:hover .rooftypes-card-body .rooftypes-content-wrapper {
    padding: 36px 24px;
  }

  /* EXPLORE ROOF TYPES CARD LINK CSS 26/08/2026  --  PRITESH */

  .rooftypes-row .explore-rooftype-van-img {
    max-width: 300px;
    right: -25px;
  }

  .rooftypes-row .rooftypes-card.rooftypes-card-link .rooftypes-card-body {
    padding: 0 60px;
    gap: 24px;
  }
}

@media (max-width: 1399.98px) {
  /* ======================================================
                      ROOF TYPES SOC
  ====================================================== */

  .rooftypes-row {
    --bs-gutter-x: 16px;
    --bs-gutter-y: 16px;
  }

  .rooftypes-row .rooftypes-card .rooftype-image {
    min-height: 480px;
    max-height: 480px;
  }

  .rooftypes-card .rooftypes-card-body .rooftypes-icon-wrapper {
    width: 75px;
    height: 75px;
    padding: 8px;
  }

  .rooftypes-card .rooftypes-card-body .rooftypes-content-wrapper {
    min-height: 75px;
    max-height: 75px;
    padding: 15px 20px;
  }

  .rooftypes-card:hover
    .rooftypes-card-body
    .rooftypes-content-wrapper
    .rooftypes-desc {
    margin-top: 14px;
  }

  .rooftypes-card:hover .rooftypes-card-body .rooftypes-content-wrapper {
    padding: 32px 20px;
  }

  /* EXPLORE ROOF TYPES CARD LINK CSS 26/08/2026  --  PRITESH */

  .rooftypes-row .explore-rooftype-van-img {
    max-width: 270px;
    bottom: -20px;
  }

  .rooftypes-row .rooftypes-card.rooftypes-card-link .rooftypes-card-body {
    padding: 0 45px;
    gap: 20px;
  }
}

@media (max-width: 1199.98px) {
  /* ======================================================
                      ROOF TYPES SOC
  ====================================================== */

  .rooftypes-row {
    --bs-gutter-x: 10px;
    --bs-gutter-y: 10px;
  }

  .rooftypes-row .rooftypes-card .rooftype-image {
    min-height: 420px;
    max-height: 420px;
  }

  .rooftypes-card .rooftypes-card-body .rooftypes-icon-wrapper {
    width: 55px;
    height: 65px;
    padding: 5px;
  }

  .rooftypes-card .rooftypes-card-body .rooftypes-content-wrapper {
    min-height: 65px;
    max-height: 65px;
    padding: 8px 15px;
  }

  .rooftypes-card:hover
    .rooftypes-card-body
    .rooftypes-content-wrapper
    .rooftypes-desc {
    margin-top: 12px;
  }

  .rooftypes-card:hover .rooftypes-card-body .rooftypes-content-wrapper {
    padding: 25px 15px;
  }

  /* EXPLORE ROOF TYPES CARD LINK CSS 26/08/2026  --  PRITESH */

  .rooftypes-row .rooftypes-card.rooftypes-card-link .rooftypes-card-body {
    padding: 0 14px;
    gap: 15px;
  }
}

@media (max-width: 991.98px) {
  /* ======================================================
                      ROOF TYPES SOC
  ====================================================== */

  .rooftypes-row {
    --bs-gutter-x: 16px;
    --bs-gutter-y: 16px;
  }

  .rooftypes-card .rooftypes-card-body .rooftypes-icon-wrapper {
    width: 65px;
  }

  /* EXPLORE ROOF TYPES CARD LINK CSS 26/08/2026  --  PRITESH */

  .rooftypes-row .explore-rooftype-van-img {
    max-width: 250px;
    bottom: -18px;
    right: -20px;
  }

  .rooftypes-row .rooftypes-card.rooftypes-card-link .rooftypes-card-body {
    padding: 0 37px;
  }
}

@media (max-width: 767px) {
  /* ======================================================
                      ROOF TYPES SOC
  ====================================================== */

  .rooftypes-row {
    --bs-gutter-x: 10px;
    --bs-gutter-y: 10px;
  }

  .rooftypes-row .rooftypes-card .rooftype-image {
    min-height: 400px;
    max-height: 400px;
  }

  .rooftypes-card .rooftypes-card-body .rooftypes-icon-wrapper {
    width: 45px;
    height: 55px;
    padding: 3px;
  }

  .rooftypes-card .rooftypes-card-body .rooftypes-content-wrapper {
    min-height: 55px;
    max-height: 55px;
    padding: 8px 12px;
  }

  .rooftypes-card .rooftypes-card-body .rooftypes-content-wrapper .font_28 {
    line-height: 20px;
  }

  .rooftypes-card:hover .rooftypes-card-body .rooftypes-content-wrapper {
    padding: 20px 12px;
  }

  /* EXPLORE ROOF TYPES CARD LINK CSS 26/08/2026  --  PRITESH */

  .rooftypes-row .explore-rooftype-van-img {
    max-width: 220px;
  }

  .rooftypes-row .rooftypes-card.rooftypes-card-link .rooftypes-card-body {
    padding: 0 15px;
  }

  .rooftypes-row
    .rooftypes-card.rooftypes-card-link
    .rooftypes-card-body
    .bttn {
    padding: 12px 10px;
    font-size: 14px;
    line-height: 17px;
  }
}

@media (max-width: 575px) {
  /* ======================================================
                      ROOF TYPES SOC
  ====================================================== */

  .rooftypes-row {
    --bs-gutter-y: 14px;
  }

  .rooftypes-card .rooftypes-card-body .rooftypes-icon-wrapper {
    width: 55px;
    height: 55px;
    padding: 5px;
  }

  /* EXPLORE ROOF TYPES CARD LINK CSS 26/08/2026  --  PRITESH */

  .rooftypes-row .explore-rooftype-van-img {
    max-width: 250px;
    right: -10px;
  }

  .rooftypes-row .rooftypes-card.rooftypes-card-link .rooftypes-card-body {
    padding: 0 40px;
  }
}
