.scroll-zoom-container {
  position: relative;
  height: 750px; /* Set a fixed height */
  overflow: hidden;
  background-image: url('https://toursite.link/pinnacle/wp-content/uploads/2025/04/anu.png');
  background-size: cover;
  background-position: left bottom; /* 👈 Align background image to bottom */
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end; /* 👈 Align inner image to bottom */
}

.scroll-zoom-img {
  transform: scale(0.4); /* Start small */
  transition: transform 0.5s ease;
  width: 100%;
  transform-origin: bottom right; /* Zoom from bottom right */
}

.scroll-zoom-container:hover .scroll-zoom-img {
  transform: scale(1.0); /* Zoom in on hover */
  
}

.scroll-headings {
  position: absolute;
  top: 70px;
  left: 150px;
  color: black;
  z-index: 2;
}

/* Style only the h2 */
.main-heading {
  font-size: 50px;
  font-weight: 700;
  font-family: 'Philosopher', sans-serif;
  margin: 0;
  color: #F6931D;
  /* You can change this */
}

/* Style only the h3 */
.sub-heading {
  font-size: 50px;
  margin: 5px 0 0;
  color: #1E6E47;
  font-weight: 275;
  font-family: 'Poppins', sans-serif;
  /* You can change this */
}
.sub-containers {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.sub-box {
  width: 100%;
  background-position: center;
  background-size: cover;
  position: relative;
  overflow: hidden;
}

/* Maintain square aspect ratio */
.sub-box::before {
  content: "";
  display: block;
  padding-top: 200%;
}

/* Gradient overlay */
.sub-box::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgb(255 255 255 / 0%), rgb(30 110 71 / 0%), rgb(30 110 71 / 0%), rgba(30, 110, 71, 0.8));
  pointer-events: none;
}
.sub-box-title {
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  padding: 5px 10px;
  text-align: center;
  color: white;
  font-size: 20px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  z-index: 91;
  
 
}
/* Explore button */
.explore-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 18px;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  color: white;
  background-color: transparent;
  border: 1px solid white;
  border-radius: 5px;
  text-decoration: none;
  opacity: 0;
  transition: all 0.3s ease;
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  bottom: 15px;
  z-index: 91;
}

/* Show button on hover */
.sub-box:hover .explore-btn {
  opacity: 1;
  background-color: rgba(30, 110, 71, 0);
  color: white;
  transition-delay: 0.2s;
}
.sub-box .explore-btn:hover {
  opacity: 1;
  background-color: #F6931D;
  color: white;
  transition-delay: 0s;
}

.sub-box:hover .sub-box-title{
    transform: translateY(-40%);
    transition: transform 0.5s ease;
}
.sub-box:hover::after {
  background: linear-gradient(
    to bottom,
   rgb(255 255 255 / 0%),
    rgba(30, 110, 71, 0%),
    rgba(30, 110, 71, 0.5),
    rgba(30, 110, 71, 0.9)
  );
}


