/* HERO SECTION STARTS */
/* hero must be relative so we can overlap onto next section */
/* ---------- HERO SECTION ---------- */
.hero {
    position: relative;
    height: 620px; /* taller for strong visual impact */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -40px; /* lift section upwards */
  }
  
  .hero img.mainimg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
    transition: transform 0.8s ease, filter 0.8s ease;
    will-change: transform;
  }
  
  .hero:hover img.mainimg {
    transform: scale(1.03);
    filter: brightness(0.75);
  }
  
  .hero-text {
    position: absolute;
    top: 48%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    opacity: 0;
    transform: translate(-50%, -40%) translateY(40px);
    animation: heroFadeIn 1.2s ease forwards;
  }
  
  .hero-text h1 {
    font-size: 3rem;
    margin-bottom: 14px;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1.2;
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.7);
  }
  
  .hero-text p {
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    line-height: 1.5;
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.6);
  }
  
  /* ---------- Animation ---------- */
  @keyframes heroFadeIn {
    0% {
      opacity: 0;
      transform: translate(-50%, -40%) translateY(40px);
    }
    100% {
      opacity: 1;
      transform: translate(-50%, -40%) translateY(0);
    }
  }
  
  /* ---------- RESPONSIVE ---------- */
  
  /* Tablets */
  @media (max-width: 900px) {
    .hero {
      height: 500px;
      margin-top: -20px;
    }
  
    .hero-text {
      top: 45%;
      padding: 0 20px;
    }
  
    .hero-text h1 {
      font-size: 2.2rem;
    }
  
    .hero-text p {
      font-size: 1.1rem;
    }
  }
  
  /* Mobile Phones */
  @media (max-width: 480px) {
    .hero {
      height: 600px;
      margin-top: -49px;
    }
  
    .hero-text {
      max-width: 90%;
      top: 42%;
      padding: 0 10px;
    }
  
    .hero-text h1 {
      font-size: 1.8rem;
      margin-bottom: 10px;
    }
  
    .hero-text p {
      font-size: 1.3rem;
      line-height: 1.4;
      justify-content: center;
    }
  }
  /* HERO SECTION ENS */
  

/* Org Image starts */
.org-image {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px 0;
}

.mainimg {
  max-width: 90%;
  height: auto;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.mainimg:hover {
  transform: scale(1.02);
}

/* Popup Styles */
.popup {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}

.popup-content {
  margin: auto;
  display: block;
  max-width: 80%;
  max-height: 80%;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.close {
  position: absolute;
  top: 30px;
  right: 45px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #ccc;
}

/* Org Image starts */