/* ======================= TOP GREY BANNER ======================= */
.top-banner {
  width: 100%;
  height: 450px;
  background: #ced7be;
  overflow: hidden;
  position: relative;
  margin-top:-25px ;
  margin-bottom: 40px;
  
}

.top-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  padding: 0;
  
}

/* Hover Zoom */
.top-banner:hover img {
  transform: scale(1.08);
}

/* ======================= GALLERY BOX ======================= */

.gallery-box,
.gallery-video {
  width: 100%;
  height: 300px;
  /* border: 2px solid #c7c7c7; */
  border-radius: 18px;
  background: #7b8b5e;
  overflow: hidden;
  /* cursor: pointer; */
  transition: transform 0.3s ease-in-out;
  margin: auto;
}

/* Image Inside Gallery Box */
.gallery-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  transition: transform 0.4s ease;
  display: block;
}
/* .gallery-box img {
    width: 100%;
    height: auto; keep aspect ratio
    display: block;
} */

/* .gallery-box h3 {
  color: #7b8b5e; Theme Olive Green
  font-family: "Raleway", sans-serif;
  font-weight: 500;
  margin-top: 12px;
  text-align: center;
  font-size: 20px;
} */
.gallery-box h3 {
  font-family: "Raleway", sans-serif;
  margin-top: 12px;
  font-size: 20px;
  text-align: center;
  color: #7b8b5e;
  font-weight: 500;
}

.gallery-box {
  position: relative;
  overflow: visible; /* allow h3 to show */
}

/* Hover Zoom for images */
.gallery-box:hover img {
  transform: scale(1.08);
}

/* Iframe Styling */
.gallery-video iframe,
.gallery-box iframe {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  transition: transform 0.4s ease;
}

/* Hover Zoom for Iframe */
.gallery-video:hover iframe,
.gallery-box:hover iframe {
  transform: scale(1.1);
}

/* Shadow on Hover */
.gallery-box:hover,
.gallery-video:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

/* Equal Spacing Between Rows */
.row > div {
  margin-bottom: 25px;
  padding-bottom: 30px;
}

/* Lightbox Video */
.lightbox-video {
  width: 100%;
  height: 450px;
  border-radius: 18px;
}
.gallery-video {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
}

/* Thumbnail */
.gallery-video img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
  justify-content: space-evenly;
}

/* Hover zoom */
.gallery-video:hover img {
  transform: scale(1.05);
}

/* Play button */
.play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-btn::before {
  content: '';
  width: 64px;
  height: 64px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
}

.play-btn::after {
  content: '';
  position: absolute;
  border-left: 20px solid #fff;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  margin-left: 6px;
}
/* Product Card */
.product-card {
  width: 100%;
  height: 300px;
  border-radius: 18px;
  overflow: hidden;
  background: #7b8b5e;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
}

.product-card:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

/* Video wrapper */
.product-img-wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 18px;
}

.product-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-video {
  transform: scale(1.08);
}

/* ---------- MODAL ---------- */
.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 900px;
}

.video-modal video {
  width: 100%;
  max-height: 80vh;
  border-radius: 14px;
}

/* Close Button */
.close-btn {
  position: absolute;
  top: -40px;
  right: 0;
  font-size: 26px;
  color: #fff;
  cursor: pointer;
}

/* Mute Button */
.mute-btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 20px;
  cursor: pointer;
}



/* Mobile */
@media (max-width: 767px) {
  .product-card {
    height: 230px;
  }
}

/* Mobile spacing */
@media (max-width: 767px) {
  .gallery-video img {
    min-height: 200px;
  }
}

/* -------------------------------------------
   Sustainability Section
-------------------------------------------- */
/* -------------------------------------------
   Sustainability Section
-------------------------------------------- */

.sustain-title {
  font-size: 3.5rem;
  font-family: "Raleway", sans-serif;
  font-weight: 400;
  color: #7b8b5e;
  margin-bottom: 20px;
}

.sustain-text {
  font-size: 17px;
  color: #444;
  line-height: 1.7;
  margin-bottom: 18px;
  max-width: 520px;
}

/* ---- Image wrapper + green circle ---- */
.sustain-img-wrapper {
  position: relative;
  width: 420px;
  height: 420px;
  margin-right: auto;
}

.sustain-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  transition: 0.4s ease;
}

.sustain-circle {
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 130px;
  height: 130px;
  background: #7b8b5e;
  border-radius: 50%;
}

/* -------- Responsive -------- */

@media (max-width: 768px) {

  .sustain-img-wrapper {
    width: 300px;
    height: 300px;
    margin: 0 auto 20px;
  }

  .sustain-circle {
    width: 80px;
    height: 80px;
    bottom: -15px;
    left: -15px;
  }

  .sustain-title {
    text-align: center;
    font-size: 2.2rem;
  }

  .sustain-text {
    text-align: center;
    margin: 0 auto 15px;
  }
}


/* ===============================================================
   RESPONSIVE (TABLET)
   =============================================================== */
@media (max-width: 992px) {
  .top-banner {
    height: 350px;
  }

  .gallery-box,
  .gallery-video {
    height: 180px;
  }

  .gallery-box img,
  .gallery-video iframe {
    height: 180px;
  }

  .sustain-block h4 {
    font-size: 2.8rem;
    padding: 0 10px;
  }

  .lightbox-video {
    height: 350px;
  }
}

/* ===============================================================
   RESPONSIVE (MOBILE)
   =============================================================== */
@media (max-width: 576px) {
  .top-banner {
    height: 260px;
  }

  .top-banner img {
    padding-top: 0;
  }

  .gallery-box,
  .gallery-video {
    height: 160px;
  }

  .gallery-box img,
  .gallery-video iframe {
    height: 160px;
  }

  .sustain-block h4 {
    font-size: 2rem;
    line-height: 1.3;
  }

  .lightbox-video {
    height: 250px;
  }
}
