/* Hover effect: scaling with z-index */
.hover-effect {
  transition: transform 0.3s ease-in-out;
  position: relative;
  width: 100%;
  height: auto;
  transform-origin: center center;
}

.hover-effect:hover {
  transform: scale(1.3);
}

/* Ensure slides allow overflow */
.swiper-slide {
  position: relative;
  overflow: visible;
  margin: 0 !important;
  backface-visibility: hidden;
  z-index: 1;
}

.swiper-slide:hover {
  z-index: 5;
}

/* Navigation Buttons */
.swiper-container {
  position: relative;
  overflow: visible;
}



.swiper-button-prev {
  left: 10px;
}

.swiper-button-next {
  right: 10px;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background-color: rgb(0, 92, 69) !important;
}

/* Title and Read More link styling */
.slide-content {
  text-align: center;
  padding: 10px;
  color: #fff;
  position: absolute;
  bottom: 0;
  width: 100%;
  transition: transform 0.3s ease-in-out;
}

.slide-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 5px;
  transition: font-size 0.3s ease-in-out;
  color: white;
}

.read-more {
  font-size: 14px;
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: font-size 0.3s ease-in-out;
}

.read-more:hover {
  text-decoration: underline;
}

.swiper-slide:hover .hover-effect {
  transform: scale(1.3);
}

.swiper-slide:hover .slide-title {
  font-size: 20px;
}

.swiper-slide:hover .read-more {
  font-size: 16px;
}


/* this is new */
.image-wrapper {
  position: relative;
  overflow: hidden;
}

.gradient-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px; /* Adjust height as needed */
  background: linear-gradient(to top, rgba(0, 3, 3, 0.8), rgba(0, 92, 69, 0)); /* Green fading upward */
  z-index: 1;
  pointer-events: none; /* Allow clicks to pass through */
}

.slide-content {
  z-index: 2;
  position: relative;
}
/* ---- Green Zameen static site extras ---- */
.text-white-stable { color:#fff !important; }
.card-lift { transition: transform .25s ease, box-shadow .25s ease; }
.card-lift:hover { transform: translateY(-6px); box-shadow:0 1rem 2rem rgba(0,0,0,.12); }
.gallery-img { width:100%; height:240px; object-fit:cover; border-radius:.5rem; cursor:pointer; transition:transform .25s ease; }
.gallery-img:hover { transform:scale(1.03); }
.play-btn { width:64px; height:64px; background:#fff; font-size:1.6rem; display:flex; align-items:center; justify-content:center; }
.video-popup-overlay { background:rgba(0,0,0,.8); z-index:9999; }
.markdown-body img { max-width:100%; height:auto; }

/* ---- Promo popup ---- */
.gz-promo-overlay {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(0,0,0,.7);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; animation: gzFade .25s ease;
}
@keyframes gzFade { from { opacity: 0; } to { opacity: 1; } }
.gz-promo-box {
  background: #fff; border-radius: 12px; overflow: hidden;
  max-width: 460px; width: 100%; max-height: 92vh;
  display: flex; flex-direction: column; position: relative;
  box-shadow: 0 1.5rem 3rem rgba(0,0,0,.4);
}
.gz-promo-close {
  position: absolute; top: 8px; right: 12px; z-index: 2;
  background: rgba(255,255,255,.9); border: none; border-radius: 50%;
  width: 34px; height: 34px; font-size: 22px; line-height: 1; cursor: pointer;
  color: #333; box-shadow: 0 2px 6px rgba(0,0,0,.2);
}
.gz-promo-close:hover { background: #fff; }
.gz-promo-head { background: #005C45; color: #fff; padding: 16px 40px 14px 20px; }
.gz-promo-imglink { display: block; overflow-y: auto; }
.gz-promo-imglink img { width: 100%; height: auto; display: block; }
.gz-promo-actions {
  display: flex; gap: 10px; padding: 14px; flex-wrap: wrap;
  justify-content: center; border-top: 1px solid #eee;
}
.gz-promo-actions .btn { flex: 1 1 auto; }
