.video-regular {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  /* 16:9 aspect ratio */
  overflow: hidden;
  border-radius: 12px;
}

.video-regular iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-short {
  position: relative;
  width: 100%;
  padding-bottom: 177.78%;
  /* 9:16 aspect ratio */
  max-height: 600px;
  overflow: hidden;
  border-radius: 12px;
  margin: 0 auto;
}

.video-short iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.youtube-video-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.youtube-video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .video-short {
    max-height: 500px;
  }
}

@media (max-width: 576px) {
  .video-short {
    max-height: 400px;
  }
}

/* Popup Modal Overlay */
.popup-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 999999 !important;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.popup-modal-overlay.popup-show {
  display: flex !important;
  opacity: 1 !important;
}

/* Popup Container */
.popup-modal-container {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
  animation: popupZoomIn 0.4s ease-out;
}

@keyframes popupZoomIn {
  from {
    transform: scale(0.7);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Close Button */
.popup-close-btn {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 45px;
  height: 45px;
  background: #ffffff;
  border: 3px solid #f0f0f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999999;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.popup-close-btn:hover {
  background: #ff4444;
  border-color: #ff4444;
  transform: rotate(90deg) scale(1.15);
  box-shadow: 0 8px 25px rgba(255, 68, 68, 0.4);
}

.popup-close-btn i {
  font-size: 28px;
  color: #333;
  transition: color 0.3s ease;
  line-height: 1;
}

.popup-close-btn:hover i {
  color: #fff;
}

/* Image Wrapper */
.popup-image-wrapper {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-image {
  width: 100%;
  height: auto;
  max-height: 90vh;
  object-fit: contain;
  display: block;
}

/* Prevent Body Scroll */
body.popup-active {
  overflow: hidden !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .popup-modal-container {
    max-width: 95%;
    max-height: 85vh;
  }

  .popup-close-btn {
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
  }

  .popup-close-btn i {
    font-size: 24px;
  }

  .popup-image-wrapper {
    border-radius: 10px;
  }
}

@media (max-width: 576px) {
  .popup-modal-container {
    max-width: 92%;
    max-height: 80vh;
  }

  .popup-close-btn {
    top: -12px;
    right: -12px;
    width: 36px;
    height: 36px;
  }

  .popup-close-btn i {
    font-size: 22px;
  }
}

.main-banner-area {
  min-height: 900px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Remove or reduce dark overlay if exists */
.main-banner-area::before {
  opacity: 0.3 !important;
  /* Reduce darkness - adjust between 0 to 1 */
}

@media (max-width: 768px) {
  .main-banner-area {
    min-height: 500px;
  }
}

.carousel-item {
  transition: transform 0.6s ease-in-out;
}

.main-banner-area {
  height: 700px;
  width: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  object-fit: cover;
}

@media (max-width: 768px) {
  .main-banner-area {
    height: 500px;
  }
}

.logo-img > img {
  max-height: 100px !important;
  width: auto !important;
}

/* Header */
.top-header {
  background-color: #5c2277;
}

.top-header-text {
  color: #ffffff !important;
}

.header-icons li a {
  color: #ffffff !important;
  border: 1px solid #ffffff !important;
}

.header-icons li a:hover {
  background-color: #ffffff !important;
  color: #5c2277 !important;
}

.min-h-300 {
  min-height: 320px;
}
