* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

/* Prevent horizontal scroll on body and html */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
    background-color: #FFF8E7; /* Light cream */
    color: #5C1304; /* Brown */
    overflow-x: hidden;
}

/* Decorative Divider */
.divider {
    width: 100%;
    /* height: 20px; */
    background-size: 50px;
    opacity: 0.3;
}

/* Header */
header {
    background-color: #5C1304; /* Brown header */
    padding: 10px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.logo img {
    height: 50px;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5)); /* Gold shadow */
    transition: transform 0.5s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

nav {
    display: flex;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
}

nav ul li a {
    color: #FFF8E7; /* Light cream */
    text-decoration: none;
    font-family: 'Prata', serif;
    font-size: 14px;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s ease;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #FFD700; /* Gold underline */
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a:hover {
    color: #FFD700; /* Gold on hover */
}

.contact-btn {
    background-color: #FFD700; /* Gold button */
    color: #5C1304; /* Brown text */
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-family: 'Prata', serif;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}


.contact-btn:hover {
    background-color: #D4A017; /* Darker gold */
    color: #FFF8E7;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.7);
}

.hamburger {
    display: none;
    font-size: 30px;
    color: #FFF8E7;
    cursor: pointer;
}

/* Hero Section (About and Contact Us) */
/* Hero Section (About and Contact Us) */
.hero {
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  color: #fff8e7;
  position: relative;
}

.hero.img1 {
  background: url("../assets/hero_slider2.jpg") center/cover no-repeat;
}

.hero.img2 {
  background: url("../assets/oil1.jpg") center/cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(92, 19, 4, 0.5); /* Brown overlay */
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 60px;
}

.hero-content h1 {
  font-family: "Prata", serif;
  font-size: 48px;
  margin-bottom: 20px;
  text-shadow: 0 0 15px rgba(255, 248, 231, 0.8);
}

.hero-content p {
  font-size: 20px;
}

/* Hero Slider (Index) */
.hero-slider {
  height: 68vh; /* Reduced from 100vh to 70vh for better viewport balance */
  position: relative;
  overflow: hidden;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(92, 19, 4, 0.5); /* Brown overlay */
  z-index: 1;
}

.slide-content {
  text-align: left;
  color: #fff8e7;
  position: relative;
  z-index: 2;
  padding: 40px 60px;
  animation: fadeInLeft 1s ease-in-out;
  margin-top: 50px;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-content h1 {
  font-family: "Prata", serif;
  font-size: 48px; /* Slightly reduced for better fit */
  margin-bottom: 20px;
  text-shadow: 0 0 15px rgba(255, 248, 231, 0.8);
}

.slide-content p {
  font-size: 20px; /* Slightly reduced for better readability */
  margin-bottom: 30px;
  line-height: 1.5;
}

.slide-content a {
  background-color: #ffd700; /* Gold button */
  color: #5c1304;
  padding: 12px 35px; /* Slightly smaller padding */
  border-radius: 30px;
  text-decoration: none;
  font-family: "Prata", serif;
  font-size: 16px; /* Slightly smaller font */
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease,
    box-shadow 0.3s ease;
  display: inline-block;
}

.slide-content a:hover {
  background-color: #d4a017; /* Darker gold */
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.7);
}

.slider-nav {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 2;
}

.slider-nav span {
  width: 10px; /* Slightly smaller nav dots */
  height: 10px;
  background-color: #fff8e7;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.slider-nav span.active {
  background-color: #ffd700; /* Gold active dot */
  transform: scale(1.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-slider {
    height: 60vh; /* Further reduce height for smaller screens */
  }

  .slide-content {
    padding: 20px 30px; /* Reduce padding for smaller screens */
  }

  .slide-content h1 {
    font-size: 36px; /* Smaller heading for mobile */
  }

  .slide-content p {
    font-size: 16px; /* Smaller paragraph text */
  }

  .slide-content a {
    padding: 10px 30px;
    font-size: 14px; /* Smaller button text */
  }

  .slider-nav {
    bottom: 15px;
    gap: 10px;
  }

  .slider-nav span {
    width: 8px;
    height: 8px;
  }
}

@media (max-width: 480px) {
  .hero-slider {
    height: 50vh; /* Even smaller height for very small screens */
  }

  .slide-content h1 {
    font-size: 28px;
  }

  .slide-content p {
    font-size: 14px;
  }

  .slide-content a {
    padding: 8px 25px;
    font-size: 12px;
  }
}
.slider-nav span.active {
    background-color: #FFD700; /* Gold active dot */
    transform: scale(1.3);
}

/* Fade-In Animation for Sections */
/*section {*/
/*    opacity: 0;*/
/*    transform: translateY(20px);*/
/*    transition: opacity 0.8s ease, transform 0.8s ease;*/
/*}*/

/*section.visible {*/
/*    opacity: 1;*/
/*    transform: translateY(0);*/
/*}*/

/* About Content (About) */
.about-content {
    padding: 30px 60px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    background-color: #F5E8C7; /* Light beige */
}

.about-content h2 {
    font-family: 'Prata', serif;
    font-size: 36px;
    color: #5C1304;
    margin-bottom: 30px;
    position: relative;
}
.hero-welcome {
  background-color: #fdf6e3;
  padding: 60px 20px;
  text-align: center;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  font-family: 'Segoe UI', sans-serif;

}

.hero-heading {
  font-size: 36px;
  margin-bottom: 10px;
  border-bottom: 3px solid #4b2e19;
  display: inline-block;
  padding-bottom: 5px;
  position: relative;
}

.hero-heading::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: #f1c40f;
  margin: 6px auto 0 auto;
  border-radius: 2px;
}

.hero-subtitle {
  font-size: 20px;
  font-style: italic;
  color: #7a5130;
  margin: 25px 0;
}

.hero-list p {
  font-size: 16px;
  line-height: 1.7;
  text-align: left;
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .hero-heading {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-list p {
    font-size: 15px;
  }

  .hero-list {
    padding: 0 10px;
  }
}

/* Offer Slider Styling */
.offer-banner {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #007bff;
  color: white;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  animation: slideIn 0.5s ease-in-out;
  z-index: 999;
  font-size: 16px;
}

/* Close Button */
.offer-banner .close-offer {
  margin-left: 15px;
  cursor: pointer;
  font-weight: bold;
}

/* Slide-in Animation */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-content h2::after {
    content: '';
    width: 100px;
    height: 3px;
    background-color: #FFD700; /* Gold underline */
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.about-content p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #5C1304;
}

.about-image {
    margin: 40px 0;
}

.about-image img {
    width: 100%;
    max-width: 600px;
    border-radius: 15px;
    /* box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1); */
}

/* Mission and Vision (About) */
.mission-vision {
    padding: 30px 60px;
    background-color: #FFF8E7;
    text-align: center;
}

.mission-vision h2 {
    font-family: 'Prata', serif;
    font-size: 36px;
    color: #5C1304;
    margin-bottom: 30px;
    position: relative;
}

.mission-vision h2::after {
    content: '';
    width: 100px;
    height: 3px;
    background-color: #FFD700;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Changed from 1fr 1fr */
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    justify-items: center;
}

.mission-vision-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
    width: 100%;
    max-width: 500px;
}

.mission-vision-card:hover {
    transform: translateY(-10px);
}

.mission-vision-card h3 {
    font-family: 'Prata', serif;
    font-size: 24px;
    color: #5C1304;
    margin-bottom: 15px;
}

.mission-vision-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #5C1304;
}

@media (max-width: 992px) {
    .mission-vision-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .mission-vision-grid {
        grid-template-columns: 1fr;
    }
}


/* Our Journey (About) */
.our-journey {
    padding: 30px 60px;
    background-color: #F5E8C7;
    text-align: center;
}

.our-journey h2 {
    font-family: 'Prata', serif;
    font-size: 36px;
    color: #5C1304;
    margin-bottom: 30px;
    position: relative;
}

.our-journey h2::after {
    content: '';
    width: 100px;
    height: 3px;
    background-color: #FFD700;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.journey-timeline {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.timeline-item {
    margin-bottom: 40px;
    position: relative;
    padding-left: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    width: 2px;
    height: 100%;
    background-color: #FFD700;
}

.timeline-item h3 {
    font-family: 'Prata', serif;
    font-size: 24px;
    color: #5C1304;
    margin-bottom: 10px;
}

.timeline-item p {
    font-size: 16px;
    line-height: 1.6;
    color: #5C1304;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 0;
    width: 12px;
    height: 12px;
    background-color: #FFD700;
    border-radius: 50%;
}

/* Our Values (About) */
.our-values {
    padding: 30px 60px;
    background-color: #FFF8E7;
    text-align: center;
}


.our-values h2 {
    font-family: 'Prata', serif;
    font-size: 36px;
    color: #5C1304;
    margin-bottom: 30px;
    position: relative;
}

.our-values h2::after {
    content: '';
    width: 100px;
    height: 3px;
    background-color: #FFD700;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    justify-items: center;
}

.value-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
    width: 100%;
    max-width: 300px;
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-card h3 {
    font-family: 'Prata', serif;
    font-size: 24px;
    color: #5C1304;
    margin-bottom: 15px;
}

.value-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #5C1304;
}

/* Why Choose Us (Index) */
.why-us {
    padding: 40px 60px;
    text-align: center;
    background-color: #F5E8C7;
}

.why-us h2 {
    font-family: 'Prata', serif;
    font-size: 40px;
    color: #5C1304;
    margin-bottom: 40px;
    position: relative;
}

.why-us h2::after {
    content: '';
    width: 100px;
    height: 3px;
    background-color: #FFD700;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    justify-items: center;
}


.why-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.why-card:hover {
    transform: translateY(-10px);
}

.why-card i {
    font-size: 40px;
    color: #FFD700;
    margin-bottom: 20px;
}

.why-card h3 {
    font-family: 'Prata', serif;
    font-size: 24px;
    color: #5C1304;
    margin-bottom: 15px;
}

.why-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #5C1304;
}

/* Product Showcase (Index) */
.products {
    padding: 30px 60px;
    background-color: #FFF8E7;
    text-align: center;
}

.products h2 {
    font-family: 'Prata', serif;
    font-size: 40px;
    color: #5C1304;
    margin-bottom: 40px;
    position: relative;
}

.products h2::after {
    content: '';
    width: 100px;
    height: 3px;
    background-color: #FFD700;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    justify-items: center;
}

.product-card {
    background-color: #F5E8C7;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
    width: 100%;
    max-width: 300px;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.product-card h3 {
    font-family: 'Prata', serif;
    font-size: 24px;
    color: #5C1304;
    margin-bottom: 10px;
}

.product-card p {
    font-size: 16px;
    color: #5C1304;
    margin-bottom: 15px;
}

.product-card a {
    background-color: #FFD700;
    color: #5C1304;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.product-card a:hover {
    background-color: #D4A017;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.7);
}

/* Testimonials (Index) */
.testimonials {
    padding: 2rem 1rem;
    background-color: #F5E8C7;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.testimonials h2 {
    font-family: 'Prata', serif;
    font-size: clamp(2rem, 5vw, 2.5rem);
    color: #5C1304;
    margin-bottom: 2rem;
    position: relative;
}

.testimonials h2::after {
    content: '';
    width: 100px;
    height: 3px;
    background-color: #FFD700;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-slider {
    width: 100%;
    max-width: 90vw;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.testimonial-card {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    width: 100%;
    box-sizing: border-box;
    display: none;
    text-align: left;
}

.testimonial-card.active {
    display: block;
}

.testimonial-card::before {
    content: '“';
    font-family: 'Prata', serif;
    font-size: clamp(2.5rem, 8vw, 3.75rem);
    color: #FFD700;
    position: absolute;
    top: 10px;
    left: 15px;
    opacity: 0.3;
}

.testimonial-card img {
    width: clamp(40px, 10vw, 60px);
    height: clamp(40px, 10vw, 60px);
    border-radius: 50%;
    margin-bottom: 1rem;
    object-fit: cover;
}

.testimonial-card p {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #5C1304;
}

.testimonial-card .stars {
    color: #FFD700;
    font-size: clamp(0.9rem, 2.5vw, 1.125rem);
    margin-bottom: 0.625rem;
}

.testimonial-card h4 {
    font-family: 'Prata', serif;
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    color: #FFD700;
}

.slider-controls {
    margin-top: 1.25rem;
    display: flex;
    justify-content: center;
    gap: 0.625rem;
}

.slider-controls button {
    background-color: #5C1304;
    color: #FFF8E7;
    border: none;
    padding: 0.625rem 1.25rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.slider-controls button:hover {
    background-color: #FFD700;
    color: #5C1304;
}

.slider-dots {
    margin-top: 0.9375rem;
    display: flex;
    justify-content: center;
    gap: 0.625rem;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    background-color: #5C1304;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.5;
}

.slider-dots .dot.active {
    opacity: 1;
    background-color: #FFD700;
}

/* Spiritual Significance (Index) */
.spiritual {
    padding: 30px 60px;
    background-color: #FFF8E7;
    text-align: center;
    color: #5C1304;
}

.spiritual-content {
    max-width: 800px;
    margin: 0 auto;
}

.spiritual h2 {
    font-family: 'Prata', serif;
    font-size: 40px;
    color: #5C1304;
    margin-bottom: 20px;
    position: relative;
}

.spiritual h2::after {
    content: '';
    width: 100px;
    height: 3px;
    background-color: #FFD700;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.spiritual p {
    font-size: 18px;
    line-height: 1.6;
}

/* Rituals Guide (Index) */
.rituals {
    padding: 30px 60px;
    background-color: #F5E8C7;
    text-align: center;
}

.rituals h2 {
    font-family: 'Prata', serif;
    font-size: 40px;
    color: #5C1304;
    margin-bottom: 40px;
    position: relative;
}

.rituals h2::after {
    content: '';
    width: 100px;
    height: 3px;
    background-color: #FFD700;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.ritual-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    justify-items: center;
}

.ritual-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
    width: 100%;
    max-width: 350px;
}

.ritual-card:hover {
    transform: translateY(-10px);
}

.ritual-card h3 {
    font-family: 'Prata', serif;
    font-size: 24px;
    color: #5C1304;
    margin-bottom: 15px;
}

.ritual-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #5C1304;
}

/* Blog Highlights (Index) */
.blog {
    padding: 30px 60px;
    background-color: #FFF8E7;
    text-align: center;
}

.blog h2 {
    font-family: 'Prata', serif;
    font-size: 40px;
    color: #5C1304;
    margin-bottom: 40px;
    position: relative;
}

.blog h2::after {
    content: '';
    width: 100px;
    height: 3px;
    background-color: #FFD700;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    justify-items: center;
}

.blog-card {
    background-color: #F5E8C7;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
    width: 100%;
    max-width: 350px;
}

.blog-card:hover {
    transform: translateY(-10px);
}

.blog-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.blog-card h3 {
    font-family: 'Prata', serif;
    font-size: 22px;
    color: #5C1304;
    margin-bottom: 10px;
}

.blog-card p {
    font-size: 16px;
    color: #5C1304;
}

/* Pooja Essentials (Index) */
.pooja-essentials {
    padding: 30px 60px;
    background-color: #F5E8C7;
    text-align: center;
}

.pooja-essentials h2 {
    font-family: 'Prata', serif;
    font-size: 40px;
    color: #5C1304;
    margin-bottom: 40px;
    position: relative;
}

.pooja-essentials h2::after {
    content: '';
    width: 100px;
    height: 3px;
    background-color: #FFD700;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.essentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    justify-items: center;
}

.essential-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
    width: 100%;
    max-width: 300px;
}

.essential-card:hover {
    transform: translateY(-10px);
}

.essential-card i {
    font-size: 40px;
    color: #FFD700;
    margin-bottom: 20px;
}

.essential-card h3 {
    font-family: 'Prata', serif;
    font-size: 24px;
    color: #5C1304;
    margin-bottom: 15px;
}

.essential-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #5C1304;
}

/* Festivals and Oils (Index) */
.festivals {
    padding: 30px 60px;
    background-color: #FFF8E7;
    text-align: center;
}

.festivals h2 {
    font-family: 'Prata', serif;
    font-size: 40px;
    color: #5C1304;
    margin-bottom: 40px;
    position: relative;
}

.festivals h2::after {
    content: '';
    width: 100px;
    height: 3px;
    background-color: #FFD700;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.festival-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    justify-items: center;
}

.festival-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
    width: 100%;
    max-width: 350px;
}

.festival-card:hover {
    transform: translateY(-10px);
}

.festival-card h3 {
    font-family: 'Prata', serif;
    font-size: 24px;
    color: #5C1304;
    margin-bottom: 15px;
}

.festival-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #5C1304;
}

/* Contact Section */
.contact-section {
    padding: 30px 15px;
    background-color: #FFF8E7;
    text-align: center;
    max-width: 100%;
    overflow-x: hidden;
}

.contact-section h2 {
    font-family: 'Prata', serif;
    font-size: 28px;
    color: #5C1304;
    margin-bottom: 20px;
    position: relative;
}

.contact-section h2::after {
    content: '';
    width: 80px;
    height: 2px;
    background-color: #FFD700;
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Side-by-side layout */
    gap: 20px;
    max-width: 1200px; /* Limit max width for larger screens */
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.contact-info.left {
    text-align: left;
    padding: 15px;
    box-sizing: border-box;
}

.contact-info {
    text-align: center;
    padding: 15px;
    box-sizing: border-box;
}

.contact-info p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 15px;
    color: #5C1304;
}

.contact-info a {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #5C1304;
}

.contact-form {
    background-color: #FFF8E7;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.contact-form h3 {
    font-family: 'Prata', serif;
    font-size: 20px;
    color: #5C1304;
    margin-bottom: 15px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid #FFD700;
    border-radius: 6px;
    font-size: 14px;
    color: #5C1304;
    background-color: #F5E8C7;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #D4A017;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form button {
    background-color: #FFD700;
    color: #5C1304;
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    font-family: 'Prata', serif;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form button:hover {
    background-color: #D4A017;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
}

/* Media Query for Mobile Devices */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr; /* Stack vertically on mobile */
        gap: 15px;
    }

    .contact-section h2 {
        font-size: 24px;
    }

    .contact-info {
        padding: 10px;
    }

    .contact-info p {
        font-size: 14px;
    }

    .contact-form {
        padding: 15px;
    }

    .contact-form h3 {
        font-size: 18px;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 12px;
    }

    .contact-form button {
        font-size: 12px;
    }
}

/* Prevent horizontal scroll */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}
/* CTA Section (Index) */
.cta {
    padding: 30px 60px;
    background-color: #F5E8C7;
    text-align: center;
    color: #5C1304;
}

.cta h2 {
    font-family: 'Prata', serif;
    font-size: 40px;
    color: #5C1304;
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 30px;
}

.cta a {
    background-color: #FFD700;
    color: #5C1304;
    padding: 15px 35px;
    border-radius: 25px;
    text-decoration: none;
    font-family: 'Prata', serif;
    font-weight: bold;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.cta a:hover {
    background-color: #D4A017;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.7);
}

/* Footer */
footer {
    background-color: #5C1304;
    color: #FFF8E7;
    padding: 60px 60px;
    text-align: center;
}

footer p {
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-links a {
    color: #FFF8E7;
    text-decoration: none;
    font-family: 'Prata', serif;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FFD700;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icons a {
    color: #FFF8E7;
    font-size: 28px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    color: #FFD700;
    transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        padding: 15px 30px;
        flex-wrap: wrap;
    }

    .hamburger {
        display: block;
    }

    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #5C1304;
        position: absolute;
        top: 100%;
        left: 0;
        padding: 20px;
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        margin: 10px 0;
    }

    .hero {
        height: 50vh;
    }

    .hero-content,
    .slide-content {
        padding: 30px;
        max-width: 400px;
    }

    .hero-content h1,
    .slide-content h1 {
        font-size: 36px;
    }

    .hero-content p,
    .slide-content p {
        font-size: 16px;
    }

    .hero-slider {
        height: 70vh;
    }

    .slider-nav {
        bottom: 15px;
    }

    .about-content,
    .mission-vision,
    .our-journey,
    .our-values,
    .why-us,
    .products,
    .testimonials,
    .spiritual,
    .rituals,
    .blog,
    .pooja-essentials,
    .festivals,
    .contact-section,
    .cta {
        padding: 60px 30px;
    }

    .mission-vision-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info,
    .contact-form {
        max-width: 100%;
    }

    .footer-links,
    .social-icons {
        flex-direction: column;
        gap: 10px;
    }

    .testimonials {
        padding: 1rem 0.5rem;
    }

    .testimonials h2 {
        font-size: clamp(1.5rem, 4vw, 2rem);
    }

    .testimonial-slider {
        max-width: 95vw;
    }

    .testimonial-card {
        padding: 1rem;
    }

    .testimonial-card::before {
        font-size: clamp(2rem, 6vw, 2.5rem);
        left: 10px;
    }

    .slider-controls button {
        padding: 0.5rem 1rem;
        font-size: clamp(0.8rem, 2vw, 0.9rem);
    }
}

@media (max-width: 600px) {
    .testimonials {
        padding: 1rem 0.5rem;
    }
}

@media (max-width: 480px) {
    header {
        padding: 15px 20px;
    }

    .hero-content,
    .slide-content {
        padding: 20px;
        max-width: 300px;
    }

    .hero-content h1,
    .slide-content h1 {
        font-size: 28px;
    }

    .hero-content p,
    .slide-content p {
        font-size: 14px;
    }

    .slide-content a {
        padding: 10px 30px;
        font-size: 16px;
    }

    .slider-nav {
        bottom: 10px;
    }

    .about-content,
    .mission-vision,
    .our-journey,
    .our-values,
    .why-us,
    .products,
    .testimonials,
    .spiritual,
    .rituals,
    .blog,
    .pooja-essentials,
    .festivals,
    .contact-section,
    .cta {
        padding: 40px 20px;
    }

    .testimonial-card img {
        width: 40px;
        height: 40px;
    }

    .testimonial-card p {
        font-size: 0.875rem;
    }

    .testimonial-card h4 {
        font-size: 0.875rem;
    }
}
 /* About Section */
        .about-section {
            padding: 40px 60px;
            background-color: #FFF8E7; /* Light cream */
            text-align: center;
            color: #5C1304; /* Brown */
            opacity: 0;
            /*transform: translateY(20px);*/
            /*transition: opacity 0.8s ease, transform 0.8s ease;*/
        }

        .about-section.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .about-section h2 {
            font-family: 'Prata', serif;
            font-size: 40px;
            color: #5C1304;
            margin-bottom: 30px;
            position: relative;
        }

        .about-section h2::after {
            content: '';
            width: 100px;
            height: 3px;
            background-color: #FFD700; /* Gold underline */
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
        }

        .about-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            max-width: 1200px;
            margin: 0 auto;
            align-items: center;
        }

        .about-text {
            text-align: left;
        }

        .about-text p {
            font-size: 18px;
            line-height: 1.6;
            color: #5C1304;
            margin-bottom: 20px;
        }

        .about-image img {
            width: 100%;
            max-width: 500px;
            border-radius: 15px;
            /* box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1); */
            object-fit: cover;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .about-section {
                padding: 40px 30px;
            }

            .about-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .about-text {
                text-align: center;
            }

            .about-image img {
                max-width: 100%;
            }
        }

        @media (max-width: 480px) {
            .about-section {
                padding: 30px 20px;
            }

            .about-section h2 {
                font-size: 32px;
            }

            .about-text p {
                font-size: 16px;
            }
        }

/*.top-marquee {*/
/*    background-color: #ffe7b3;*/
/*    color: #5c1304;*/
/*    font-weight: 600;*/
/*    font-size: 14px;*/
/*    padding: 4px 12px;*/
/*    overflow: hidden;*/
/*    white-space: nowrap;*/
/*    width: 100%;*/
/*    position: fixed; */
/*    top: 0; */
/*    z-index: 1001; */
/*}*/

/*.marquee-content {*/
/*    display: inline-block;*/
/*    animation: scrollLeft 25s linear infinite;*/
/*}*/

/*@keyframes scrollLeft {*/
/*    0% { transform: translateX(100%); }*/
/*    100% { transform: translateX(-100%); }*/
/*}*/
/* Default styles (your existing CSS) */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.popup-overlay.show {
    display: flex;
    animation: fadeIn 0.3s ease-in-out;
}

.popup-content {
    background-color: #fff8e7;
    border-radius: 16px;
    width: auto; /* Changed from fixed % to auto */
    max-width: 300px; /* Matches image width */
    position: relative;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    animation: scaleUp 0.4s ease-in-out;
    overflow: hidden;
    border: 2px solid #ff6a00;
    margin: 20px; /* Added margin for smaller screens */
}

.popup-image img {
    width: 300px;
    height: 450px;
    object-fit: contain; /* Changed from cover to contain */
    display: block;
    border-bottom: 1px solid #ddd;
}

.popup-button {
    padding: 12px 8px; /* Increased padding */
}

.popup-button a {
    background-color: #ff6a00;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px; /* Increased padding */
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.popup-button a:hover {
    background-color: #d95600;
}

.btn-close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 22px;
    color: #5c1304;
    cursor: pointer;
    z-index: 1; /* Ensure it stays above image */
}

@keyframes scaleUp {
    from { transform: scale(0.85); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Media Queries for all devices */

/* Small phones (portrait) */
@media (max-width: 480px) {
    .popup-content {
        max-width: 90vw;
        margin: 10px;
    }
    
    .popup-image img {
        width: 100%;
        height: auto;
        max-height: 70vh; /* Limits height on small screens */
    }
    
    .popup-button a {
        font-size: 13px;
        padding: 8px 16px;
    }
    
    .btn-close-popup {
        font-size: 20px;
    }
}

/* Small phones (landscape) and tablets */
@media (min-width: 481px) and (max-width: 767px) {
    .popup-content {
        max-width: 80vw;
    }
    
    .popup-image img {
        width: 100%;
        height: auto;
        max-height: 80vh;
    }
}

/* Tablets (portrait) */
@media (min-width: 768px) and (max-width: 1024px) {
    .popup-content {
        max-width: 60vw;
    }
    
    .popup-image img {
        width: 100%;
        height: auto;
        max-height: 80vh;
    }
}

/* Landscape orientation adjustments */
@media (max-width: 1024px) and (orientation: landscape) {
    .popup-content {
        max-width: 60vw;
    }
    
    .popup-image img {
        max-height: 90vh;
    }
    
    .popup-button {
        padding: 8px;
    }
}

/* Larger devices */
@media (min-width: 1025px) {
    .popup-content {
        max-width: 300px; /* Fixed width to match image */
    }
    
    .popup-image img {
        width: 300px;
        height: 450px;
    }
}