/* Import Google font - Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

/* Navigation bar */
header {
  display: flex;
  justify-content: space-between;
  background-color: #1a5276;
  align-items: center;
  padding: 1rem 0rem;
  height: 2vh;
  z-index: 999999;
}

header .logo {
  font-size: 2rem;
  margin: 0rem 0.2rem;
  color: white;
  margin-left: 2px;
}

ulh {
  display: flex;
  justify-content: space-evenly;
}

ulh lih {
  margin-right: 1rem;
}

ulh lih a {
  font-size: 1.5rem;
  padding: 10px 12px;
}

ulh lih a.active,
ulh lih a:hover {
  z-index: 1000;
  background-color: #7fb3d5;
  opacity: 0.9;
  transition: 0.5s;
  border-radius: 4px;
  color: white;
  font-size: 1.5rem;
}

.hamburger {
  position: absolute;
  right: 1.5rem;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 19px;
  display: none;
  z-index: 1000;
}

.hamburger .bar {
  height: 3px;
  width: 100%;
  background-color: #fff;
  border-radius: 10px;
  transition: 0.3s all;
  z-index: 1000;
}

.divider {
  width: 60px;
  height: 3px;
  background: #186e9d;
  margin: 10px auto 20px auto;
  border-radius: 2px;
}

/* Sticky top banner */
.top-banner {
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.6);
  width: 100%;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 1000;
  transition: background 0.4s ease;
}

.top-banner.scrolled {
  background: rgba(0, 0, 0, 0.95);
}

/* Pic Card Effect */
.pic-card {
  background: #ffffff;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 15px;
}

.pic-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

/* Push page content down so it doesn’t hide behind fixed banner */
body {
  font-family: 'Poppins', Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(to bottom right, #f9f9f9, #e3edf7);
  overflow-x: hidden;
  width: 100%;
}

.footer-thankyou {
  text-align: center;
}

.register-btn {
  padding: 10px 20px;
  background-color: #3b799b;
  color: white;
  border-radius: 8px;
  display: inline-block;
  margin: 0 auto;
  font-size: 1.2em;
  font-weight: 450;
  text-decoration: none;
  transition: all 0.3s ease;
}

.register-btn:hover {
  background-color: #34526f;
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.divider2 {
  width: 60px;
  height: 3px;
  background: #90a4ae;
  margin: 10px auto 20px auto;
  border-radius: 2px;
}

/* Overlay container (opens from right side) */
.overlay {
  height: 100%;
  width: 0;
  position: fixed;
  top: 0;
  right: 0;
  left: auto;
  z-index: 2000;
  background-color: rgba(0,0,0,0.95);
  overflow-x: hidden;
  transition: width 0.4s ease;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}

.overlay-content {
  color: #fff;
  padding: 21px;
  text-align: left;
}

.overlay-content a {
  color: #fff !important;
  display: block;
  padding: 10px 0;
  text-decoration: none;
  font-size: 1.5rem;
}

.overlay-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: none;
  z-index: 1900;
}

#myNav.overlay {
  height: 100%;
  width: 0;
  position: fixed;
  top: 0;
  right: 0;
  left: auto;
  background-color: rgba(0,0,0,0.95);
  overflow-x: hidden;
  transition: width 0.4s ease;
  z-index: 2000;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}

.overlay-content {
  padding-top: 70px;
}

/* Updated close button styling */
.overlay .closebtn {
  position: absolute;
  top: 15px;
  left: 20px;
  width: 40px;
  height: 40px;
  background: rgba(123, 179, 213, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0;
  text-decoration: none;
  z-index: 2100;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.overlay .closebtn:hover {
  background: rgba(123, 179, 213, 0.3);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.overlay .closebtn::before,
.overlay .closebtn::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 2px;
  background: #ffffff;
  transform-origin: center;
}

.overlay .closebtn::before {
  transform: rotate(45deg);
}

.overlay .closebtn::after {
  transform: rotate(-45deg);
}

/* close button used in articles */
.close-button {
  position: absolute !important;
  top: 2% !important;
  right: 2% !important;
  width: 40px;
  height: 40px;
  background: rgba(75, 0, 130, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4B0082 !important;
  font-size: 0 !important;
  z-index: 2100;
  cursor: pointer !important;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.close-button:hover {
  background: rgba(75, 0, 130, 0.3);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.close-button::before,
.close-button::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 2px;
  background: #4B0082;
  transform-origin: center;
}

.close-button::before {
  transform: rotate(45deg);
}

.close-button::after {
  transform: rotate(-45deg);
}

@media (width < 968px) {
  body {
    overflow-x: hidden;
  }

  .hamburger {
    display: flex;
    cursor: pointer;
    z-index: 1000;
  }

  ulh {
    z-index: 1000;
    flex-direction: column;
    position: absolute;
    top: 10vh;
    font-size: 1.5rem;
    right: -100%;
    color: #fff;
    background-color: #1a5276;
    height: 30vh;
    width: 100%;
    align-items: center;
    transition: right 0.3s ease-in;
  }

  ulh lih {
    margin-right: 0px;
    font-size: 1.5rem;
    color: #fff;
  }

  .menu-slide {
    right: 0%;
    transition: right 0.3s ease-in;
  }

  .cross .bar:nth-child(2) {
    opacity: 0;
  }

  .cross .bar:first-child {
    transform: rotate(-45deg) translate(-5px, 7px);
  }

  .cross .bar:last-child {
    transform: rotate(45deg) translate(-5px, -7px);
  }

  .dropdown-content {
    z-index: 1000;
    display: none;
    position: absolute;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
  }

  .dropdown-content a {
    z-index: 1000;
    color: white;
    padding: 10px 14px;
    text-decoration: none;
    display: block;
    background-color: #1a5276;
  }

  .dropdown-content a:active {
    z-index: 1000;
    background-color: #7fb3d5;
    opacity: 0.9;
    transition: 0.3s;
    border-radius: 4px;
    color: white;
    font-size: 1.5rem;
  }

  .dropdown:active .dropdown-content {
    z-index: 1000;
    margin-top: 30px;
    transition: 0.5s;
    border-radius: 4px;
    color: white;
    font-weight: 500;
    font-size: 1.5rem;
    display: block;
  }

  .dropdown:active .dropbtn {
    z-index: 1000;
    transition: 0.5s;
    border-radius: 4px;
    color: white;
    font-size: 1.5rem;
  }
}

.dropbtn {
  border: none;
}

.dropdown-content {
  z-index: 1000;
  display: none;
  position: absolute;
  font-size: 1.5rem;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown-content a {
  color: white;
  padding: 10px 14px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  z-index: 1000;
  background-color: #7fb3d5;
  opacity: 0.9;
  transition: 0.3s;
  border-radius: 4px;
  color: white;
  font-size: 1.5rem;
}

.dropdown:hover .dropdown-content {
  z-index: 1000;
  margin-top: 30px;
  transition: 0.5s;
  border-radius: 4px;
  color: white;
  display: block;
}

.dropdown:hover .dropbtn {
  z-index: 1000;
  transition: 0.5s;
  border-radius: 4px;
  color: white;
  font-size: 1.5rem;
}

/* Consolidated styles from index.html */
.carousel img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(75,126,168,0.25);
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(75,126,168,0.25);
}

.program-section h1:hover {
  transform: scale(1.03);
  box-shadow: 0px 10px 25px rgba(0,0,0,0.25);
}

.about-image:hover img,
.program-image:hover,
.yatra-image img:hover {
  transform: scale(1.05);
  opacity: 0.95;
}

.program-section {
  padding: 30px 0;
}

.section-title {
  font-size: 1.7em;
  font-weight: 600;
  letter-spacing: 2px;
  padding: 17px 30px;
  margin: 0 auto 20px auto;
  display: block;
  max-width: 650px;
  text-align: left;
  color: #000;
  clip-path: polygon(0 0, 90% 0%, 85% 100%, 0% 100%);
}

.program-image-wrapper {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.program-image {
  width: 100%;
  height: auto;
  min-height: 365px;
  max-height: 400px;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.w3-card-4 {
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.w3-card-4:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.18);
}

.yatras-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.yatra-image img {
  width: 100%;
  max-width: 480px;
  height: auto;
  min-height: 300px;
  max-height: 400px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.about-section {
  background: linear-gradient(-225deg, #FFFEFF 0%, #D7FFFE 100%);
}

.about-wrapper {
  max-width: 1100px;
  margin: auto;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.about-image {
  flex: 1 1 55%;
  min-width: 350px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transition: transform 0.4s ease;
}

.about-image img {
  min-height: 350px;
  max-height: 400px;
  width: 100%;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.about-text {
  flex: 1;
  min-width: 280px;
  text-align: center;
}

.about-text h2 {
  font-size: 2em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #2c3e50;
}

.about-text h3 {
  font-size: 1.2em;
  line-height: 1.6em;
  font-weight: 400;
  color: #333;
}

.about-text .know-more {
  color: darkslategrey;
  font-weight: 600;
}

@media (max-width: 768px) {
  .wrapper {
    max-width: 90%;
    margin: auto;
  }
  .card-container {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 992px) {
  .about-container {
    flex-direction: column;
    align-items: center;
  }
  .about-image, .about-text {
    flex: 1 1 100%;
    max-width: 650px;
    text-align: center;
  }
  .about-text h2 {
    font-size: 1.8em;
  }
  .about-text p {
    font-size: 1em;
  }
}

/* Additional styles from style.css */
bodys {
  display: flex;
  padding: 2px;
  min-height: 65vh;
  align-items: center;
  justify-content: center;
  padding-right: 10px;
  padding-left: 10px;
}

.wrapper {
  display: flex;
  max-width: 1200px;
  position: relative;
  padding-right: 10px;
  padding-left: 10px;
}

.wrapper i {
  top: 50%;
  height: 44px;
  width: 44px;
  cursor: pointer;
  font-size: 1.15rem;
  position: absolute;
  text-align: center;
  line-height: 44px;
  background: #fff;
  border-radius: 50%;
  transform: translateY(-50%);
  transition: transform 0.1s linear;
}

.wrapper i:active {
  transform: translateY(-50%) scale(0.9);
}

.wrapper i:hover {
  background: #f2f2f2;
}

.wrapper i:first-child {
  left: -22px;
  padding: 5px;
}

.wrapper i:last-child {
  right: -22px;
  padding: 5px;
}

.wrapper .carousel {
  font-size: 0px;
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap;
  scroll-behavior: smooth;
}

.carousel.dragging {
  cursor: grab;
  scroll-behavior: auto;
}

.carousel.dragging img {
  pointer-events: none;
}

.carousel img {
  height: 340px;
  object-fit: cover;
  user-select: none;
  margin-left: 14px;
  width: calc(100% / 3);
  padding-left: 10px;
  padding-right: 10px;
}

.carousel img:first-child {
  margin-left: 0px;
}

@media screen and (max-width: 900px) {
  .carousel img {
    width: calc(100% / 2);
  }
}

@media screen and (max-width: 550px) {
  .carousel img {
    width: 100%;
  }
}

bodys1 {
  display: flex;
  padding: 2px;
  min-height: 65vh;
  align-items: center;
  justify-content: center;
  padding-right: 10px;
  padding-left: 10px;
}

.wrapper1 {
  display: flex;
  max-width: 1200px;
  position: relative;
  padding-right: 10px;
  padding-left: 10px;
}

.wrapper1 i {
  top: 50%;
  height: 44px;
  width: 44px;
  cursor: pointer;
  font-size: 1.15rem;
  position: absolute;
  text-align: center;
  line-height: 44px;
  background: #fff;
  border-radius: 50%;
  transform: translateY(-50%);
  transition: transform 0.1s linear;
}

.wrapper1 i:active {
  transform: translateY(-50%) scale(0.9);
}

.wrapper1 i:hover {
  background: #f2f2f2;
}

.wrapper1 i:first-child {
  left: -22px;
  padding: 5px;
}

.wrapper1 i:last-child {
  right: -22px;
  padding: 5px;
}

.wrapper1 .carousel1 {
  font-size: 0px;
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap;
  scroll-behavior: smooth;
}

.carousel1.dragging1 {
  cursor: grab;
  scroll-behavior: auto;
}

.carousel1.dragging1 img {
  pointer-events: none;
}

.carousel1 img {
  height: 340px;
  object-fit: cover;
  user-select: none;
  margin-left: 14px;
  width: calc(100% / 3);
  padding-left: 10px;
  padding-right: 10px;
}

.carousel1 img:first-child {
  margin-left: 0px;
}

@media screen and (max-width: 900px) {
  .carousel1 img {
    width: calc(100% / 2);
  }
}

@media screen and (max-width: 550px) {
  .carousel1 img {
    width: 100%;
  }
}

/* img container */
item-a {
  grid-area: side-left;
}

.item-b {
  grid-area: side-right-up;
}

.item-c {
  grid-area: sider-right-down;
}

.containersq {
  display: grid;
  grid-template-columns: calc(50% - 10px) calc(50% - 10px);
  grid-template-rows: calc(50% - 15px) 50%;
  grid-template-areas:
    "side-left side-right-up"
    "side-left sider-right-down";
  grid-column-gap: 15px;
  grid-row-gap: 15px;
}

.containersq img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Slider for testimonial */
.active {
  display: none;
}

iframe {
  vertical-align: middle;
}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: .4
  }
  to {
    opacity: 1
  }
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .text {
    font-size: 11px
  }
}

/* WhatsApp icon */
.whatsapp_float {
  position: fixed;
  width: 50px;
  height: 50px;
  bottom: 10px;
  right: 10px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 100;
}

.whatsapp-icon {
  margin-top: 16px;
}

/* For mobile */
@media screen and (max-width: 767px) {
  .whatsapp-icon {
    margin-top: 10px;
  }
  .whatsapp_float {
    width: 40px;
    height: 40px;
    bottom: 20px;
    right: 10px;
    font-size: 22px;
  }
  .w3-third {
    padding-bottom: 50px;
  }
}

select {
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
}

select:focus {
  outline: none;
}

.zoom-img {
  overflow: hidden;
}

.zoom-img img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: all .3s ease;
}

.zoom-img img:hover {
  transform: scale(1.2);
}

.containerwrite {
  position: relative;
  margin: 0 auto;
}

.containerwrite img {
  vertical-align: middle;
}

.containerwrite .content {
  position: absolute;
  bottom: 0;
  background: rgb(0, 0, 0);
  background: rgba(0, 0, 0, 0.5);
  color: #f1f1f1;
  width: 100%;
  padding: 5px;
}

/* For top mobile in navigation */
#slider, #slider1, #slider2, #slider3 {
  margin: 0 auto;
  width: 80%;
  overflow: hidden;
}

.slides, .slides1, .slides2, .slides3 {
  overflow: hidden;
  animation-name: fade;
  animation-duration: 1s;
  display: none;
}

img {
  width: 100%;
}

#dot {
  margin: 0 auto;
  text-align: center;
}

.dot {
  display: inline-block;
  border-radius: 50%;
  background: #d3d3d3;
  padding: 8px;
  margin: 10px 5px;
}

.active {
  background: black;
}

@media (max-width: 567px) {
  #slider {
    width: 100%;
  }
}

#mobileshow {
  display: none;
}

@media screen and (max-width: 780px) {
  #mobileshow {
    display: block;
  }
}

div.example {
  padding: 20px;
}

@media screen and (max-width: 780px) {
  div.example {
    display: none;
  }
}

/* Slideshow wrap */
.containerslide {
  width: auto;
  overflow: hidden;
  background: white;
}

/* Photobanner */
.photobanner__wrap {
  display: flex;
}

.photobanner__wrap:hover .photobanner {
  animation-play-state: paused;
}

.photobanner {
  display: flex;
  animation-name: swiperAnimation;
  animation-duration: 40s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.photobanner img {
  width: 350px;
  height: 250px;
  object-fit: cover;
  margin-right: 10px;
}

@keyframes swiperAnimation {
  0% {
    transform: translateX(0)
  }
  100% {
    transform: translateX(-100%)
  }
}

/* Hero section image */
.videoBgWrapper {
  position: relative;
  width: 100%;
  height: 450px;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.hero-image {
  width: 100%;
  max-height: 450px;
  object-fit: cover;
  opacity: 0.9;
  border-radius: 12px;
}

/* Program title styling */
.program-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5em;
  color: #2e4c68;
  margin: 12px 0;
}

/* New class for banner gradient */
.section-banner {
  font-size: 1.7em;
  font-weight: 600;
  letter-spacing: 2px;
  padding: 17px 30px;
  margin: 0 auto 40px auto;
  display: block;
  max-width: 650px;
  text-align: left;
  color: #ffffff;
  clip-path: polygon(0 0, 90% 0%, 85% 100%, 0% 100%);
  border-radius: 10px;
  background: linear-gradient(135deg,#4b8ac7, #3aa7c0, #2ec4b6); 
  box-shadow: 0px 6px 15px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}