.IYF-iskcon-wrapper {
  background: linear-gradient(135deg, #fff 60%, #284169 100%);
  position: relative;
  overflow: hidden;
}
.IYF-iskcon-hero-section {
  text-align: center;
  padding: 30px 20px;
  background: linear-gradient(135deg, #284169, #5a7bb8);
  border-radius: 25px;
  color: #fff;
  box-shadow: 0 8px 30px rgba(40, 65, 105, 0.3);
}
.IYF-iskcon-icon {
  color: #fff;
}
.IYF-iskcon-title {
  font-size: 45px;
  color: #fff;
  font-weight: 800;
  margin-bottom: 10px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.IYF-iskcon-divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #fef139 0%, #284169 100%);
  border-radius: 3px;
}
.IYF-iskcon-subtitle {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 0;
  opacity: 0.95;
  color: #fff;
}
.IYF-iskcon-card {
  background: #fff;
  border-radius: 20px;
  padding: 25px 20px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(40, 65, 105, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  border: 2px solid rgb(164, 172, 183);
}
.IYF-iskcon-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 35px rgba(40, 65, 105, 0.25);
  border-color: #284169;
}
.IYF-iskcon-card-icon {
  background: linear-gradient(135deg, #284169, #284469);
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 1.5rem;
  box-shadow: 0 3px 12px #284169;
}
.IYF-iskcon-card-title {
  color: #284169;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.IYF-iskcon-card-text {
  color: #222;
  font-size: 16px;
  text-align: justify;
  line-height: 1.6;
  margin-bottom: 0;
}
.IYF-iskcon-cta-section {
  background: linear-gradient(135deg, #284169, #3d5a8f);
  color: #fff;
  padding: 35px 25px;
  border-radius: 25px;
  box-shadow: 0 8px 30px rgba(40, 65, 105, 0.3);
}
.IYF-iskcon-cta-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}
.IYF-iskcon-cta-text {
  color: #ffff;
  font-size: 1.1rem;
  margin-bottom: 20px;
  opacity: 0.9;
}
.IYF-iskcon-contact-info {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}
.IYF-iskcon-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 500;
}
.IYF-iskcon-contact-item i {
  color: #fff;
  font-size: 1.1rem;
}
/* Responsive */
@media (max-width: 768px) {
  .IYF-iskcon-title {
    font-size: 1.8rem;
  }
  .IYF-iskcon-contact-info {
    flex-direction: column;
    gap: 15px;
  }
  .IYF-iskcon-card {
    padding: 20px 15px;
  }
}

.iskcon-video-gallery-section {
  background: linear-gradient(130deg, #fff 70%, #284169 100%);
  position: relative;
}
.iskcon-video-gallery-title {
  color: #284169;
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: 1px;
}
.iskcon-video-gallery-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #fef139 0%, #284169 100%);
  border-radius: 3px;
  box-shadow: 0 2px 8px rgba(254, 241, 57, 0.3);
}
.iskcon-video-gallery-subtitle {
  color: #222;
  font-size: 1.08rem;
  font-weight: 500;
}
.iskcon-video-gallery-video-wrapper {
  position: relative;
  background: transparent; /* Remove white background */
  border-radius: 16px;
  padding: 5px; /* Reduced padding */
  box-shadow: 0 8px 25px rgba(40, 65, 105, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none; /* Remove border */
  overflow: hidden;
}
.iskcon-video-gallery-video-wrapper:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(40, 65, 105, 0.4);
}
.iskcon-video-gallery-video {
  width: 100%;
  height: 200px !important;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid rgba(40, 65, 105, 0.2); /* Subtle border */
  outline: none;
  background-color: #284169; /* Krishna blue background when loading */
}
.iskcon-video-gallery-overlay-text {
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  background: rgba(40, 65, 105, 0.88);
  color: #fef139;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.35s ease;
  border-radius: 12px;
  cursor: pointer;
  z-index: 10;
}
.iskcon-video-gallery-video-wrapper:hover .iskcon-video-gallery-overlay-text {
  opacity: 1;
}

.iskcon-gallery-agra-section {
  background: linear-gradient(120deg, #fff 65%, #284169 110%);
  position: relative;
  overflow: hidden;
}
.iskcon-gallery-agra-header-icon {
  color: #fff;
  background: #284169;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 14px #28416916;
  width: 48px;
  height: 48px;
}
.iskcon-gallery-agra-title {
  color: #222;
  font-size: 45px;
  font-weight: 800;
  letter-spacing: 1px;
}
.iskcon-gallery-agra-divider {
  width: 60px;
  height: 3.5px;
  background: linear-gradient(90deg, #fef139 10%, #284169 85%);
  border-radius: 3px;
  box-shadow: 0 3px 10px #fef13933;
}
.iskcon-gallery-agra-subtitle {
  color: #222;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 7px;
}
.iskcon-gallery-agra-row {
  z-index: 2;
  position: relative;
}
.iskcon-gallery-agra-imgbox {
  background: linear-gradient(128deg, #fff 55%, #284169 110%);
  border-radius: 18px;
  padding: 13px;
  box-shadow: 0 6px 28px #28416926;
  position: relative;
  overflow: hidden;
  transition: transform 0.32s cubic-bezier(0.44, 1.4, 0.26, 0.98);
}
.iskcon-gallery-agra-imgbox:hover {
  transform: translateY(-10px) scale(1.04);
  box-shadow: 0 12px 38px #28416936, 0 3px 8px #fef13922;
}
.iskcon-gallery-agra-img {
  width: 100%;
  height: 220px !important; /* Fixed equal height for all images */
  object-fit: cover;
  border-radius: 12px;
  border: 2.5px solid #fff;
  transition: filter 0.23s;
  display: block;
}
.iskcon-gallery-agra-imgbox:hover .iskcon-gallery-agra-img {
  filter: brightness(1.06) saturate(1.15);
}
.iskcon-gallery-agra-imgicon {
  position: absolute;
  bottom: 18px;
  right: 23px;
  z-index: 2;
  background: #fbfbfb;
  color: #284169;
  border-radius: 50%;
  padding: 7px 11px;
  box-shadow: 0 0 14px #fef13930;
  font-size: 1.25em;
  opacity: 0.89;
  animation: iskcon-gallery-agra-halo 2.4s infinite alternate;
}
@keyframes iskcon-gallery-agra-halo {
  0% {
    box-shadow: 0 0 12px #fef13968, 0 0 5px #28416922;
  }
  100% {
    box-shadow: 0 0 26px #fef13990, 0 0 14px #28416933;
  }
}
/* Responsive: Small devices */
@media (max-width: 991px) {
  .iskcon-gallery-agra-img {
    height: 180px !important; /* Equal height for tablets */
  }
  .iskcon-gallery-agra-title {
    font-size: 1.8rem;
  }

  .iskcon-video-gallery-video {
    height: 180px !important;
  }
  .iskcon-video-gallery-title {
    font-size: 1.7rem;
  }
}
@media (max-width: 767px) {
  .iskcon-video-gallery-video {
    height: 200px !important;
  }
  .iskcon-video-gallery-title {
    font-size: 1.4rem;
  }
  .iskcon-video-gallery-overlay-text {
    font-size: 1rem;
  }

  .iskcon-gallery-agra-img {
    height: 160px !important; /* Equal height for mobile */
  }
  .iskcon-gallery-agra-title {
    font-size: 1.4rem;
  }
}
@media (max-width: 575px) {
  .iskcon-gallery-agra-img {
    height: 140px !important; /* Equal height for small mobile */
  }
  .IYF-iskcon-subtitle {
    font-size: 15px;
  }
  .IYF-iskcon-cta-text {
    text-align: justify;
    font-size: 16px;
  }
  .IYF-iskcon-contact-item {
    font-size: 14px;
    gap: 12px;
  }
}
