/* Admission Popup Overlay */
/* Overlay */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

/* Popup Content */
.popup-content {
  position: relative;
  width: auto;
  max-width: 95vw;
  max-height: 95vh;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

/* Full Image */
.popup-content img {
  width: auto;
  max-width: 100%;
  max-height: 95vh;
  height: auto;
  display: block;
  margin: auto;
  border-radius: 6px;
}

/* Close Button */
.close-btn {
  position: absolute;
  top: -12px;
  right: -12px;
  background: #ff3b3b;
  color: #fff;
  border: none;
  font-size: 16px;
  padding: 6px 9px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 100000;
}

/*=======whatsapp section============*/
/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99999;
}

/* WhatsApp Image */
.whatsapp-img {
  width: 55px;
  height: 55px;
  cursor: pointer;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.whatsapp-img:hover {
  transform: scale(1.1);
}


/*========whatsapp section end =========*/

/*=======image section=======*/
/* Tabs */
.gallery-tabs .tab-btn {
  background: #ddd;
  border: none;
  padding: 10px 25px;
  margin: 0 5px;
  cursor: pointer;
  border-radius: 5px;
}

.gallery-tabs .tab-btn.active {
  background: #007bff;
  color: white;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Slider */
.slider-wrapper {
  position: relative;
  overflow: hidden;
}

.slider {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px;
}

.slider::-webkit-scrollbar {
  display: none;
}

.slider img {
  width: 260px;
  height: 170px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
}

/* Nav buttons */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  font-size: 28px;
  padding: 8px 12px;
  cursor: pointer;
  z-index: 5;
}

.nav-btn.left { left: 5px; }
.nav-btn.right { right: 5px; }

/* Video thumb */
.video-thumb {
  position: relative;
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 40px;
  color: white;
  background: rgba(0,0,0,0.6);
  border-radius: 50%;
  padding: 10px 15px;
}

/* Popup */
.media-popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.media-popup img,
.media-popup video {
  max-width: 90%;
  max-height: 80vh;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 32px;
  color: white;
  cursor: pointer;
}

/* Mobile */
@media (max-width: 768px) {
  .slider img {
    width: 220px;
    height: 150px;
  }
}
