/* Reset and Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #333;

}

/* Navbar */
/* Navbar styling */
.navbar {
  position: sticky;      /* <-- makes it stick */
  top: 0;                /* <-- sticks to top of the viewport */
  z-index: 1000;         /* <-- keeps it above other content */
  display: flex;         /* <-- allows horizontal layout */
  align-items: center;   /* <-- vertical alignment */
  justify-content: center; /* optional: center content horizontally */
  padding: 12px 24px;
  background-color: rgb(191, 0, 0);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img {
  height: 50px;
  width: 50px;
  object-fit: cover;
  border-radius: 50%;
  /* Makes the image circular */
}

.nav-logo span {
  color: white;
  font-size: 18px;
  font-weight: bold;
}

/* Hero Section */
#hero-section {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.bg-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  transition: opacity 1s ease-in-out;
  opacity: 0;
  z-index: 0;
}

.bg-img.active {
  opacity: 1;
}

/* Marquee Styling */
#hero-section {
  position: relative;
  max-width: 100%;
  height: 100vh;
  overflow: hidden;
}

.bg-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  transition: opacity 1s ease-in-out;
  opacity: 0;
  z-index: 0;
}

.bg-img.active {
  opacity: 1;
}

/* Marquee */
.hero-caption {
  background-color: #000;
  color: white;
  font-size: 1.5rem;
  padding: 15px 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: inline-block;
  white-space: nowrap;
  will-change: transform;
}


.hero h1 {
  font-size: 5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 27px;
}

/* Sections */
section {
  padding: 3rem 1rem;
  max-width: 70%;
  margin: auto;
}

h2 {
  margin-bottom: 1.2rem;
  color: #2a9d8f;
  text-align: center;
  font-size: 35px;
}

#about p {
  text-align: left;
  font-size: 1.1rem;
}

.about-container {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.about-img {
  flex: 1 1 300px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.about-text {
  flex: 1 1 300px;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  background-color: #fff7e6;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  height: 345px;
}

/* Payment Section */
#payment .payment-info {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  flex-direction: row-reverse;
  margin-top: 1rem;
  background-color: #fff7e6;
}

#payment img {
  width: 200px;
  height: auto;
}

#payment h2 {
  margin-bottom: 0;
}

.bank-details strong {
  padding-left: 20px;
}

.gallery-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  padding: 1rem;
}

.gallery-images img,
.video-thumbnail img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Lightbox Styles */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  cursor: zoom-out;
}


.video-thumbnail {
  position: relative;
  cursor: pointer;
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
  color: white;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  padding: 0.5rem 1rem;
}

/* Modal Styling */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
}

.modal-content {
  position: relative;
  max-width: 800px;
  width: 90%;
}

.modal-content video {
  width: 100%;
  border-radius: 10px;
}

.close {
  position: absolute;
  top: -40px;
  right: 0;
  font-size: 2.5rem;
  color: white;
  cursor: pointer;
}

.close1 {
  position: absolute;
  top: -40px;
  right: 0;
  font-size: 2.5rem;
  color: white;
  cursor: pointer;
}

.modal-content1 video {
  width: 60%;
  border-radius: 10px;
}



.modal-content1 {
  position: relative;
  max-width: 800px;
  width: 90%;
}

.marquee-text {
  display: inline-block;
  padding-right: 100px; /* space between repeats */
}

.payment-img {
  width: 20%;
  background-color: #ffffff;
  padding-left: 55px;
}

.payment-p {
  text-align: center;
}

.bank-details p {
  margin: 0.4rem 0;
}

/* Gallery */
.gallery-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  justify-content: center;
}

.gallery-images img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Location */
/* Contact Section Layout */
.contact-section {
  display: flex;
  background-color: #111;
  color: #fff;
  padding: 0px;
  flex-wrap: wrap;
  max-width: 100%;
}

/* Left: Map Frame */
.contact-section .map-container {
  flex: 1 1 50%;
  min-width: 300px;
}

.contact-section .map-container iframe {
  width: 100%;
  height: 504px;
  border: 0;
  border-radius: 8px;
}

/* Right: Contact Info */
.contact-section .info-container {
  flex: 1 1 50%;
  min-width: 300px;
  padding: 0 30px;
}

.contact-section h2 {
  font-size: 26px;
  margin-bottom: 20px;
  border-bottom: 2px solid #fff2;
  padding-bottom: 5px;
  padding-top: 50px;
  text-align: left;
}

.contact-person {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.contact-person .icon {
  font-size: 35px;
  margin-right: 15px;
  color: #00BFFF;
}

.contact-person-details p {
  margin: 4px 0;
  font-size: 16px;
}

.contact-person-details a {
  color: #00BFFF;
  text-decoration: none;
}

.contact-person-details a:hover {
  text-decoration: underline;
}

.contact-address {
  margin-top: 30px;
  font-size: 16px;
}

.english {
  text-align: left;
}


/* Events Section */
.event-details {
  text-align: center;
  margin: 0 auto;
  display: flex;
  gap: 65px;
}

.event-details h3 {
  color: #e76f51;
  margin-bottom: 0.5rem;
}

.event-details p {
  margin: 0.5rem 0;
  line-height: 2em;
  letter-spacing: normal;
}

.event-img {
  width: 100%;
  margin-top: 1rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hindi {
  padding-top: 50px;
  text-align: left;
}

.hindi p {
  padding-bottom: 5px;
}


/* Footer */
footer {
  background-color: #2a9d8f;
  color: white;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    gap: 0.8rem;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .gallery-images img {
    width: 100%;
    max-width: 300px;
  }

  .about-img {
    width: 100%;
  }

  .about-text {
    height: auto;
  }

  .payment-img {
    width: 100%;
    padding-left: 0%;
    text-align: center;
  }

  .event-details {
    flex-direction: column;
  }

  .hero {
    height: 50vh;
  }

  #about {
    font-size: 50px;
  }

}


@media (max-width: 1024px) {

  .payment-img {
    width: 100%;
    padding-left: 0%;
    text-align: center;
  }

  .hero-content {
    width: 100%;
  }

}


@media (max-width: 576px) {

  section {
    max-width: 95%;
  }

  .bank-details strong {
    padding-left: 0;
  }

}

@media (max-width:902px) and (min-width:769px){

  .about-text{
    height: 440px;
  }
}