.section-heading::after {
  content: '';
  display: block;
  width: max(200px, 50%);
  height: 2px;
  border-radius: 2px;
  background-color: var(--accent-gold);
  margin: 10px auto 0;
}

/* HERO SECTION */
.hero-section {
  margin-top: 2rem;
  background-color: transparent;
}

.hero-overlay-title {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-maroon);
  font-size: clamp(1.6rem, 3.8vw, 2.3rem);
  line-height: 1.25;
  text-shadow: none;
  max-width: 100%;
}

.hero-overlay-subtitle {
  font-family: var(--font);
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  color: var(--dark-text);
  line-height: 1.5;
  margin-top: 0.8rem;
  max-width: 520px;
}

@media (max-width: 991.98px) {
  .hero-overlay-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
}

/* ULTRA-COMPACT TRUST BADGES */
.hero-trust-badges {
  border-top: 1px solid rgba(106, 27, 27, 0.08);
  padding-top: 1rem;
  gap: 20px !important;
}

.badge-item {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--dark-text);
  background: #d4af3781;
  padding: 4px 8px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.badge-icon {
  font-size: 0.85rem;
}

.badge-text {
  font-family: var(--font);
}

/* VIDEO FRAME */
.hero-video-frame {
  position: relative;
  border-radius: 20px;
  padding: 8px;
  background: linear-gradient(145deg, var(--accent-gold), #b89035);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.hero-video-frame:hover {
  transform: translateY(-4px);
}

.hero-split-video {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

@media (max-width: 991.98px) {
  .hero-split-video {
    aspect-ratio: 16 / 9;
    max-height: 35vh;
  }
}

/* TICKER SECTION */
.ticker-section {
  margin: 5rem 0;
}

.ticker-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.ticker-line {
  border-top: 2px solid var(--primary-maroon);
  margin: 0.75rem 0;
}

.ticker-content {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: ticker-scroll 30s linear infinite;
}

.ticker-text {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary-maroon);
  padding: 5px 0;
  flex-shrink: 0; /* Keeps items from squishing */
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); /* Moves exactly half the total width of the content container */
  }
}

/* SERVICES SECTION */
.services-section {
  background-color: var(--light-cream);
  border-radius: 15px;
  padding: 1rem;
}

.section-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-maroon);
  font-size: clamp(2rem, 2.5vw, 2.5rem);
}

.service-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: var(--primary-maroon);
  color: var(--light-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  border: 4px solid var(--accent-gold);
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--primary-maroon);
}

.service-description {
  font-size: 1rem;
  color: #555;
  line-height: 1.7;
}

/* Authentic Puja & Havan SECTION - */
.puja-highlight-section {
  overflow: hidden;
}

.highlight-content .lead {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333;
}

.btn-primary-custom {
  background-color: var(--primary-maroon);
  border-color: var(--primary-maroon);
  color: #fff;
  padding: 12px 28px;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(122, 18, 34, 0.2);
}

.btn-primary-custom:hover {
  background-color: #6a0f1d;
  border-color: #6a0f1d;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 7px 20px rgba(122, 18, 34, 0.3);
}

.carousel-inner img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 16px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  border-top: 1px solid #e0e0e0;
}

.feature-box {
  background-color: var(--light-cream);
  padding: 2rem 1rem;
  text-align: center;
  border-radius: 16px;
  border: 1px solid #e9e9e9;
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
}

.feature-icon {
  color: var(--accent-gold);
  font-size: 2.5rem;
  margin-bottom: 1rem;
  transition: all 0.35s ease;
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent-gold);
  margin: 0;
  transition: color 0.35s ease;
}

.feature-box:hover {
  transform: translateY(-10px);
  background-color: var(--primary-maroon);
  border-color: var(--primary-maroon);
  box-shadow: 0 15px 30px rgba(106, 27, 27, 0.2);
}

.feature-box:hover .feature-icon {
  color: #fff;
  transform: scale(1.1);
}

.feature-box:hover .feature-title {
  color: #fff;
}

/* --- Responsive Adjustments --- */
@media (max-width: 991px) {
  .highlight-content {
    text-align: center;
  }
  .content-decorator {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 767px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 576px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-title {
    font-size: 0.9rem;
  }
}

/* UPCOMING PUJAS SECTION */
.puja-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.puja-card {
  position: relative;
  height: 420px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.puja-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.puja-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.puja-card:hover .puja-card-img {
  transform: scale(1.1);
}

.puja-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 10%,
    rgba(0, 0, 0, 0.6) 40%,
    transparent 70%
  );
  transition: background 0.4s ease;
}

.puja-card:hover .puja-card-overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.95) 30%,
    rgba(0, 0, 0, 0.7) 60%,
    transparent 100%
  );
}

.puja-card-content {
  color: #fff;
  text-align: left;
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 1.2rem;
}

.puja-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  margin: 0;
}

.puja-date {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
}

.puja-description {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition:
    opacity 0.4s ease,
    max-height 0.4s ease,
    margin-top 0.4s ease;
  line-height: 1.5;
  font-size: 0.9rem;
  color: #eee;
  margin-top: 0;
}

.puja-card:hover .puja-description {
  opacity: 1;
  max-height: 100px;
  margin-top: 0.5rem;
}

/* --- Mobile Responsive Design --- */
@media (max-width: 767px) {
  .puja-card {
    height: 380px;
  }

  .puja-title {
    font-size: 1.3rem;
  }

  .puja-date,
  .puja-description {
    opacity: 1;
  }

  .puja-description {
    font-size: 0.85rem;
    max-height: 100px;
    margin-top: 0.5rem;
  }

  .puja-card:hover {
    transform: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  }

  .puja-card:hover .puja-card-img {
    transform: none;
  }
}


/* --- Latest Pujas section --- */
.latest-packages-grid-section {
  background-color: transparent;
}

.section-subheading {
  font-family: var(--font);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Upgraded Card Design */
.package-grid-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(106, 27, 27, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
    box-shadow 0.4s ease;
}

.package-grid-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(106, 27, 27, 0.12) !important;
  border-color: rgba(212, 175, 55, 0.4);
}

.card-media-wrapper {
  position: relative;
  overflow: hidden;
}

.card-carousel .carousel-inner img {
  aspect-ratio: 16 / 11;
  object-fit: cover;
  width: 100%;
  transition: transform 0.6s ease;
}

.package-grid-card:hover .card-carousel .carousel-inner img {
  transform: scale(1.05);
}


/* Floating "Starting From" Price Tag */
.card-price-floating {
  position: absolute;
  bottom: 15px;
  right: 15px;
  z-index: 10;
  background: rgba(255, 248, 231, 0.95); /* High contrast cream glassmorphism */
  border: 1px solid var(--accent-gold);
  padding: 4px 14px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.card-price-floating .price-lbl {
  font-size: 0.65rem;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.card-price-floating .price-val {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-maroon);
}

/* Structural Internal Alignment */
.package-grid-body {
  padding: 1.5rem 1.5rem 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.package-grid-title {
  font-family: var(--font-heading);
  color: var(--primary-maroon);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.package-grid-description {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #555;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Clean, Text-Link CTA Footer design */
.package-grid-footer {
  padding: 0 1.5rem 1.5rem 1.5rem;
  background: transparent;
  border-top: none;
  margin-top: auto;
}

.btn-explore-link {
  color: var(--primary-maroon);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: color 0.25s ease;
}

.btn-explore-link i {
  transition: transform 0.25s ease;
}

.package-grid-card:hover .btn-explore-link {
  color: var(--accent-gold);
}

.package-grid-card:hover .btn-explore-link i {
  transform: translateX(4px); /* Moves icon subtly right on hover */
}

/* --- SAMAGRI KITS SECTION --- */
/* Animation Definition */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.samagri-kits-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
  overflow-x: hidden;
}

/* --- PART 1: Featured Kits --- */
.featured-kits-section {
  margin-bottom: clamp(3.5rem, 8vw, 6rem);
}
.featured-kits-description {
  max-width: 700px;
  margin: 1rem auto clamp(2rem, 5vw, 3.5rem);
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  line-height: 1.7;
  color: var(--dark-text);
}
.kit-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  overflow: hidden;
  height: 100%;
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}
/* Staggered animation delay */
.kit-card:nth-child(2) {
  animation-delay: 0.15s;
}
.kit-card:nth-child(3) {
  animation-delay: 0.3s;
}

.kit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(106, 27, 27, 0.15);
}
.kit-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.kit-card-img {
  overflow: hidden;
}
.kit-card-img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.kit-card:hover .kit-card-img img {
  transform: scale(1.1);
}
.kit-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.kit-card-title {
  font-size: clamp(1.2rem, 2vw, 1.3rem);
  font-weight: 700;
  color: var(--primary-maroon);
}
.kit-card-description {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
  margin: 0.5rem 0 1rem;
  flex-grow: 1;
}
.kit-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #f0f0f0;
  padding-top: 1rem;
  margin-top: auto;
}

.kit-card-price {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.price-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: #777;
}

.price-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark-text);
}
.btn-view {
  color: var(--primary-maroon);
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.3s;
}
.kit-card-link:hover .btn-view {
  color: var(--accent-gold);
}

/* --- PART 2: Showcase --- */
.kit-showcase-section {
  margin-bottom: clamp(3.5rem, 8vw, 6rem);
}
.showcase-title {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--primary-maroon);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

/* Gallery Styles */
.kit-gallery,
.kit-showcase-content {
  opacity: 0;
  animation: fadeInUp 0.6s ease-out 0.4s forwards;
}

.kit-gallery {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.gallery-img-top,
.gallery-img-bottom {
  width: 100%;
  object-fit: cover;
  border-radius: 12px;
}
.gallery-img-top {
  aspect-ratio: 3 / 2;
}
.gallery-img-bottom {
  aspect-ratio: 4 / 3;
}
@media (min-width: 768px) {
  .kit-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gallery-img-top {
    grid-column: 1 / 3;
    aspect-ratio: 16 / 11;
  }
  .gallery-img-bottom {
    aspect-ratio: 1 / 1;
  }
}
.gallery-caption {
  text-align: center;
  font-size: 0.9rem;
  font-style: italic;
  color: #666;
  margin-top: 1rem;
}

/* Content Styles */
.kit-showcase-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.kit-showcase-content p {
  line-height: 1.8;
  margin-bottom: 2rem;
}
.category-list-wrapper {
  background-color: #fff;
  border: 1px solid #f0e6d2;
  border-radius: 16px;
  margin-bottom: 1.5rem;
  overflow: hidden;
}
.category-list-item {
  padding: 1rem 1.25rem;
  border-top: 1px solid #f0e6d2;
}
.category-list-item:first-child {
  border-top: none;
}
.category-list-item h4 {
  display: flex;
  align-items: center;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-maroon);
  margin-bottom: 0.25rem;
}
.category-list-item h4 i {
  color: var(--accent-gold);
  font-size: 0.7rem;
  margin-right: 10px;
}
.category-list-item p {
  font-size: 0.9rem;
  color: #555;
  margin: 0;
  padding-left: 22px;
}
.showcase-assurance-text {
  margin-top: auto;
  padding-top: 1rem;
  font-weight: 600;
  color: var(--primary-maroon);
  border-top: 1px solid #f0e6d2;
}

/* --- PART 3: Introduction (Now with Dark BG) --- */
.kit-intro-section {
  background: var(--primary-maroon);
  border-radius: 24px;
  padding: clamp(2.5rem, 5vw, 4rem) 1.5rem;
}
.kit-intro-section .section-heading,
.kit-intro-section .section-subheading {
  color: #fff;
}
.kit-intro-section .section-heading::after {
  background-color: var(--accent-gold);
}
.features-wrapper {
  max-width: 950px;
  margin: 0 auto;
}
.feature-item {
  padding: 1rem;
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}
.feature-item:nth-child(2) {
  animation-delay: 0.15s;
}
.feature-item:nth-child(3) {
  animation-delay: 0.3s;
}
.feature-item-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background-color: transparent;
  border: 2px solid var(--accent-gold);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: all 0.3s ease-in-out;
}
.feature-item:hover .feature-item-icon {
  background-color: var(--accent-gold);
  color: var(--primary-maroon);
  transform: scale(1.1) rotate(10deg);
}
.feature-item-title {
  color: #fff;
  font-size: clamp(1.2rem, 2vw, 1.3rem);
  font-weight: 700;
}
.feature-item p {
  font-size: 0.9rem;
  color: var(--light-cream);
  line-height: 1.6;
}

/* Responsive Fixes */
@media (max-width: 991px) {
  .kit-gallery {
    margin-bottom: 2rem;
  }
  .kit-showcase-content {
    text-align: center;
  }
  .category-list-item h4 {
    justify-content: center;
  }
  .category-list-item p {
    padding-left: 0;
  }
}
