/* banner  */
.sub-banner-modern {
  background-image: url("../img/banner/2.webp"); /* your background */
  background-size: cover;
  background-position: center;
  height: 350px;
  border-radius: 0px 0px 20px 20px;
  margin: 0px 20px 20px 20px;
  position: relative;
  overflow: hidden;
  color: white;
}
.sub-banner-modern::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* black semi-transparent layer */
  z-index: 1;
  border-radius: 0px 0px 20px 20px;
}
.sub-banner-content {
  padding: 30px;
  position: relative;
  height: 100%;
  z-index: 2;
}

.text-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.banner-title {
  font-size: 36px;
  font-weight: 600;
  margin: 0;
  text-transform: uppercase;
}

.breadcrumb {
  position: absolute;
  bottom: 0px;
  left: 45%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--secondary-color) !important;
}
.breadcrumb a {
  color: var(--secondary-color);
  font-weight: 500;
  text-decoration: none;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}

.vertical-text {
  position: absolute;
  right: 0px;
  bottom: 25%;
  transform: rotate(90deg) translateY(-50%);
  font-size: 28px;
  color: rgba(255, 255, 255, 0.2);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  pointer-events: none;
}

/* about us */

.mission-section {
  padding: 40px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.mission-right {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  padding: 20px;
}

.diamond-grid {
  display: grid;
  grid-template-areas:
    "small1 large"
    "small2 large"
    "small3 large";
  gap: 20px;
  transform: rotate(45deg);
  position: relative;
}

.diamond-img {
  width: 100px;
  height: 100px;
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  transform: rotate(-45deg);
  transition: transform 0.4s ease;
}

.diamond-img:hover {
  transform: rotate(-45deg) scale(1.05);
}

.diamond-img.large {
  width: 220px;
  height: 220px;
  grid-area: large;
}

.diamond-img.small:nth-child(2) {
  grid-area: small1;
}
.diamond-img.small:nth-child(3) {
  grid-area: small2;
}
.diamond-img.small:nth-child(4) {
  grid-area: small3;
}

@media (max-width: 768px) {
  .diamond-grid {
    transform: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .diamond-img {
    transform: none;
    width: 100px;
    height: 100px;
  }

  .diamond-img.large {
    width: 180px;
    height: 180px;
  }
}
.mission-vision-goal {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.m-v-g-icon {
  font-size: 25px;
}
.shape2 {
  position: absolute;
  bottom: -70px;
  right: 0;
  z-index: -1;
  opacity: 20%;
}
/* gallery */
.gallery-box {
  width: 100%;
  height: 350px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  margin-top: 25px;
}
.gallery-box img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition: transform 0.5s ease-in-out;
}
.gallery-box:hover .comen-shep-box {
  --gradient: linear-gradient(
    to right,
    var(--secondary-color),
    var(--primary-color)
  );
  transition: 1s;
}

.gallery-box:hover img {
  transform: scale(1.1); /* Zooms the image to 110% */
}
.icon-white {
  width: 30px;
  height: 30px;
  color: #fff;
}
.main-shape {
  position: absolute;
  bottom: -10px;
  right: -11px;
  background-image: url(../img/gallery/comen.svg);
  background-repeat: no-repeat;
  width: 100px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.comen-shep-box {
  width: 50px;
  height: 50px;
  padding: 10px;
  border-radius: 50px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
}
.comen-shep-box i {
  color: var(--white);
}
/* contact us */
.contact-box {
  width: 100%;
  border-radius: 10px;
  background-color: var(--white);
  height: 100%;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
  padding: 20px;
}
.contact-content-box {
  background: var(--gradient);
  padding: 20px;
  border-radius: 10px;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.circle-overlay {
  width: 300px;
  height: 300px;
  background-color: #ffffff1f;
  position: absolute;
  bottom: -100px;
  right: -100px;
  border-radius: 50%;
}
.contact-links {
  font-size: 16px;
  font-weight: 400;
  color: var(--white);
  transition: all 0.3s ease;
  line-height: 35px;
}
.contact-links:hover {
  color: #ffffffc7;
}
.map-bx {
  padding: 20px;
  border-radius: 10px;
  height: 100%;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--primary-color);
}
.circle-overlay1 {
  width: 300px;
  height: 300px;
  background-color: #01af5211;
  position: absolute;
  bottom: -100px;
  right: -100px;
  border-radius: 50%;
}
/* service */
.service-inner-box {
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px,
    rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
  padding: 40px 20px 20px 30px;
  width: 100%;
  background: var(--light-gray);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  cursor: pointer;
  transition: all 0.5s ease;
}
.service-inner-box:hover {
  background-color: #01af531f;
}
.service-inner-box img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.inner-box-b1 {
  border-radius: 0px 60px 0px 60px;
}
.inner-box-b2 {
  border-radius: 60px 0px 60px 0px;
}
.inner-box-b1:hover {
  border-radius: 60px 0px 60px 0px;
}
.inner-box-b2:hover {
  border-radius: 0px 60px 0px 60px;
}
.service-bg {
  position: relative;
  background-image: url(../img/service/service-bg.webp);
  background-repeat: no-repeat;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px,
    rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
  padding: 40px 20px 20px 30px;
  background-position: center;
  background-size: cover;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  transition: all 0.5s ease;
}

.service-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}
.service-bg .sub-head {
  color: var(--white) !important;
  position: relative;
  z-index: 3;
}
/* project */
.features-section {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* Always 5 in a row */
  gap: 20px;
  padding: 40px;
  background: #f6f4ef;
  overflow-x: auto;
}

.feature-card {
  border-radius: 20px;
  padding: 30px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 200px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Card content styling */
.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 15px;
  line-height: 1.5;
}

/* Backgrounds for each card */
.feature-card.waterproofing {
  background-color: #bf8552;
}

.feature-card.repair {
  background-color: #e2ded6;
  color: #333;
}

.feature-card.grouting {
  background-color: #4e625bad;
}
.feature-card.coatings {
  background-color: #c4b8aa;
}

.feature-card.expansion {
  background-color: #61735a;
  display: flex;
  /*align-items: flex-end;*/
}

/* Responsive layout for smaller screens */
@media (max-width: 1200px) {
  .features-section {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
}

@media (max-width: 768px) {
  .feature-card {
    padding: 20px;
  }

  .feature-card h3 {
    font-size: 18px;
  }

  .feature-card p {
    font-size: 14px;
  }
  .breadcrumb{
      left: 30px;
  }
  .service-bg {
      height: 200px;
  }
}

/* Remove default arrow */
.accordion-button::after {
  display: none;
}

/* Custom icon styling */
.accordion-button {
  position: relative;
  padding-right: 2.5rem; /* space for icon */
}

.accordion-button::before {
  content: "+";
  font-size: 30px;
  font-weight: 400;
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s ease;
  color: var(--primary-color) !important;
}

/* Show minus when expanded */
.accordion-button:not(.collapsed)::before {
  content: "–";
}

.accordion-body {
  font-size: 15px;
}
.accordion-button:focus {
  box-shadow: 0 0 0 0;
}
.project-box .accordion-button {
  background: var(--light-gray);
  color: var(--primary-color);
}
.project-box .accordion-item {
  border: 0px;
  border-radius: 0px;
  margin-bottom: 10px;
}
.project-box .accordion-button {
  border-radius: 0px !important;
  font-size: 18px;
  font-weight: 400;
}
.project-box .accordion-button:not(.collapsed) {
  background: #01af521c;
  color: var(--secondary-color);
}
.project-box .accordion-button:not(.collapsed)::before {
  color: var(--secondary-color) !important;
}
.project-lebal {
  font-size: 16px;
  font-weight: 600;
  color: var(--secondary-color);
}
.project-lebal span {
  color: var(--primary-color);
}
.project-text {
  font-size: 16px;
  font-weight: 400;
  color: var(--secondary-color);
  margin-left: 40px;
}
/* pryvacy policy */
.privacy-policy-section {
  background-color: #f8f9fa;
  color: #333;
  padding: 60px 20px;
}

.privacy-policy-section .section-title {
  font-size: 32px;
  font-weight: 600;
  color: #2c3e50;
}

.privacy-policy-section h5 {
  font-size: 20px;
  font-weight: 500;
  margin-top: 20px;
  color: #1a1a1a;
}

.privacy-policy-section p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 12px;
}
