/* patched page */

/* Hero Section */
.patches-hero {
  background: url("../images/patches-banner.jpg") center/cover no-repeat;
  height: 80vh;
  position: relative;
  color: white;
}
.patches-hero .overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.55);
  z-index: 0;
}
.patches-hero .container {
  position: relative;
  z-index: 2;
}

/* About Section */
.patches-about .section-title {
  color: #1b998c;
  font-weight: 700;
}
.patch-features li {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: #333;
}

/* Creative Gallery Styling */
.patches-gallery {
  background: linear-gradient(180deg, #ffffff, #f7fafc);
  overflow: hidden;
}

.gallery-box {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.gallery-box:hover {
  transform: translateY(-8px) rotate3d(1, 1, 0, 3deg);
  box-shadow: 0 15px 35px rgba(27, 153, 140, 0.4);
}

.gallery-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-box:hover .gallery-img {
  transform: scale(1.15);
  filter: brightness(75%);
}

/* Overlay text */
.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(27, 153, 140, 0.8);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}

.gallery-overlay h5 {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.gallery-box:hover .gallery-overlay {
  opacity: 1;
}

.gallery-box:hover .gallery-overlay h5 {
  transform: translateY(0);
}

/* Section Title */
.section-title {
  font-weight: 700;
  color: #1b998c;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 3px;
  background: #1b998c;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 5px;
}


/* CTA Section */
.patches-quote {
  background: linear-gradient(rgba(27, 153, 140, 0.85), rgba(27, 153, 140, 0.85)),
              url("../images/patches-banner1.jpg") center/cover no-repeat;
  position: relative;
  color: #fff;
}
.patches-quote .overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4);
}
.custom-btn {
  background-color: #1b998c;
  color: #fff;
  padding: 10px 30px;
  border-radius: 30px;
  transition: all 0.3s ease;
}
.custom-btn:hover {
  background-color: #148c7e;
  transform: scale(1.05);
}

/* AOS animation setup */
[data-aos] {
  opacity: 0;
  transition-property: transform, opacity;
}
[data-aos].aos-animate {
  opacity: 1;
}
