/* Center Advance Discounts and Travel Schedule sections */
.advance-discounts .container,
.travel-schedule .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.advance-discounts .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.advance-discounts .section-title {
  text-align: center;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  margin-top: 5rem;
}

.advance-discounts .discounts-content {
  text-align: left;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.travel-schedule .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.travel-schedule .section-title,
.travel-schedule .travel-content {
  text-align: center;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}


.advance-discounts .section-title {
  text-align: center;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.advance-discounts .discounts-content,
.advance-discounts .discounts-content.aos-init,
.advance-discounts .discounts-content.aos-animate {
  text-align: left;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.travel-schedule .section-title,
.travel-schedule .travel-content {
  text-align: center;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.advance-discounts .discounts-list,
.travel-schedule .travel-list {
  display: inline-block;
  text-align: left;
  margin: 0 auto;
}

/*
* Goddess Temple - Main Stylesheet
* Purple and white color scheme
*/

:root {
  --primary-color: #8a2be2;
  --primary-light: #a15ae8;
  --primary-dark: #6a1cb2;
  --white: #ffffff;
  --light-gray: #f0f0f0;
  --dark-gray: #333333;
  --text-color: #333333;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-gray);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  font-weight: 600;
}

.btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.9rem;
}

.service-cta {
  margin-top: 30px;
  text-align: center;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: var(--shadow);
  z-index: 1000;
  padding: 15px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 10px 0;
  background-color: rgba(255, 255, 255, 0.95);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-item {
  margin-left: 30px;
}

.nav-link {
  font-weight: 600;
  color: var(--dark-gray);
  position: relative;
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: var(--dark-gray);
  transition: var(--transition);
}

/* Sections */
section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  display: inline-block;
  position: relative;
}

.section-title h2::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 3px;
  background-color: var(--primary-color);
  bottom: -10px;
  left: 25%;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--white);
  padding-top: 80px;
}

.hero-content {
  max-width: 600px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.footer-column h3 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--white);
  opacity: 0.8;
}

.footer-links a:hover {
  opacity: 1;
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 30px;
  font-size: 0.9rem;
  color: var(--white);
  opacity: 0.7;
}

/* Services Section */
.services {
  background-color: var(--white);
}

.service-card {
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 30px;
  transition: var(--transition);
}

.service-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.service-item {
  text-align: center;
  padding: 20px;
  border-radius: 8px;
  background-color: var(--light-gray);
  transition: var(--transition);
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.service-item i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.service-note {
  margin-top: 20px;
  padding: 15px;
  background-color: rgba(138, 43, 226, 0.1);
  border-left: 4px solid var(--primary-color);
  border-radius: 4px;
}

/* About Section */
.about {
  background-color: var(--light-gray);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: flex-start;
}

.about-text p {
  margin-bottom: 20px;
}

.about-image img {
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.about-intro {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--primary-color);
}

.about-category {
  margin-bottom: 25px;
  background-color: var(--white);
  border-radius: 8px;
  padding: 20px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.about-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.about-category h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-category h3 i {
  font-size: 1.2rem;
}

.category-content p {
  margin-bottom: 15px;
  line-height: 1.6;
}

.category-content p:last-child {
  margin-bottom: 0;
}

.about-cta {
  margin-top: 30px;
  text-align: center;
  padding: 20px;
  background-color: rgba(138, 43, 226, 0.1);
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
}

.about-cta p {
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.about-images {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-image-main {
  border-radius: 8px;
  box-shadow: var(--shadow);
  width: 100%;
  height: auto;
}

.about-content-second {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: flex-start;
  margin-top: 40px;
}

.about-categories-side {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.about-image-second {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.about-image-secondary {
  border-radius: 8px;
  box-shadow: var(--shadow);
  width: 100%;
  height: auto;
  max-width: 400px;
}

.about-cta {
  margin-top: 40px;
  text-align: center;
  padding: 20px;
  background-color: rgba(138, 43, 226, 0.1);
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
}

/* Gallery Section */
.gallery {
  background-color: var(--white);
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .gallery-container {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
}

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  height: 250px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.video-container {
  margin-top: 40px;
  text-align: center;
}

.video-container video {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

/* Connect Section */
.connect {
  background-color: var(--light-gray);
}

.connect-platforms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.platform-card {
  background-color: var(--white);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.platform-card:hover {
  transform: translateY(-10px);
}

.platform-card img {
  width: 480px;
  height: 320px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  max-width: 100%;
}

.platform-card h3 {
  margin-bottom: 0;
}

/* Platform card image responsiveness */
@media (max-width: 768px) {
  .platform-card img {
    width: 400px;
    height: 267px;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .platform-card img {
    width: 320px;
    height: 213px;
    max-width: 100%;
  }
}

@media (max-width: 320px) {
  .platform-card img {
    width: 280px;
    height: 187px;
    max-width: 100%;
  }
}

/* Contact Section */
.contact {
  background-color: var(--white);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-item i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.contact-form {
  background-color: var(--light-gray);
  padding: 30px;
  border-radius: 8px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.success-message {
  background-color: rgba(138, 43, 226, 0.1);
  border-left: 4px solid var(--primary-color);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  animation: fadeIn 0.5s ease-in-out;
}

.success-message i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.success-message h3 {
  margin-bottom: 10px;
}

.success-message p {
  color: var(--dark-gray);
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.lightbox-content {
  position: relative;
  max-width: 80%;
  max-height: 80%;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  border: 5px solid white;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  font-size: 30px;
  color: white;
  cursor: pointer;
}

/* Movie Card Section */
.movie-card {
    margin-top: 5rem;
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border: 1px solid var(--primary-light);
    box-shadow: var(--shadow);
}

.movie-resource {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.movie-details {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.movie-details h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.movie-details p {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.movie-details p:last-of-type {
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.movie-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.movie-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 10px;
}

/* Movie Page */
.movie-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.movie-player {
    width: 100%;
    max-width: 800px;
}

.movie-player video {
    width: 100%;
    border-radius: 10px;
}

.movie-details {
    text-align: center;
}


/* Media Queries */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 3rem;
  }

  .about-content,
  .about-content-second,
  .contact-container {
    grid-template-columns: 1fr;
  }

  .about-images {
    order: -1;
    flex-direction: row;
    gap: 20px;
  }

  .about-image-second {
    order: -1;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: var(--white);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-item {
    margin: 15px 0;
  }

  .hero {
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .service-details {
    grid-template-columns: 1fr;
  }

  .gallery-container {
    grid-template-columns: 1fr;
  }
}

/* YouTube content text size reduction for small screens */
@media (max-width: 600px) {
  .youtube-cta {
    display: flex;
    flex-direction: column;
  }

  .youtube-cta-text {
    p {
      font-size: 0.7rem !important;
    }

    .youtube-cta-text, .btn {
      font-size: 0.7rem !important; 
    }
  }
}

@media (max-width: 400px) {
  .youtube-content h3 {
    font-size: 0.845rem !important;
    /* 35% reduction from 1.3rem */

  }

  .youtube-content p {
    font-size: 0.585rem !important;
    /* 35% reduction from 0.9rem */
  }

  .youtube-content .btn {
    font-size: 0.65rem !important;
    /* 35% reduction from 1rem */
    padding: 6px 13px !important;
    /* Adjusted padding proportionally */
  }
}