/* 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; }
