/* ===== PUJA SERVICES SPECIFIC STYLES ===== */

/* Custom video background styling for the vertical hero video */
.puja-hero .hero-main-video {
  position: absolute;
  top: 50%;
  left: 50%;

  width: 180vh;
  height: auto;

  object-fit: cover;

  transform: translate(-50%, -50%) rotate(-90deg);

  opacity: 0.6;
  filter: brightness(0.75) contrast(1.1) saturate(0.9);

  z-index: 1;
}

.puja-hero .hero-overlay {
  background:
    linear-gradient(90deg,
      rgba(0, 0, 0, 0.75) 0%,
      rgba(0, 0, 0, 0.45) 45%,
      rgba(0, 0, 0, 0.35) 100%),
    radial-gradient(circle at 75% 50%, rgba(212, 175, 55, 0.3), transparent 50%);
  /* Soft gold glow behind deity */
  z-index: 2;
}

.puja-hero .hero-grid {
  position: relative;
  z-index: 3;
}

/* Video blocks in two-column grids */
.puja-video-container {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 480px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 42px;
  box-shadow: var(--shadow-lux);
  background: #120f0c;
}

.puja-video-container video {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.dark-feature .puja-video-container {
  border-color: rgba(212, 175, 55, 0.24);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.32);
}

/* Benefit Cards icons styling */
.puja-benefit-icon {
  position: relative;
  display: grid;
  width: 66px;
  height: 66px;
  margin-bottom: 28px;
  place-items: center;
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(255, 255, 255, 0.62));
  color: var(--gold);
}

.puja-benefit-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Grid layout for 8 available pujas */
.puja-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 60px;
}

.puja-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 400px;
  padding: 38px 32px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: white;
  box-shadow: 0 20px 65px rgba(32, 27, 23, 0.05);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.puja-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: var(--shadow-lux);
}

.puja-card-top {
  display: flex;
  flex-direction: column;
}

.puja-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.puja-card-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a68a55;
}

.puja-card-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.puja-card-badge {
  background: rgba(212, 175, 55, 0.08);
  color: #a68a55;
  border-radius: 99px;
  padding: 6px 14px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.puja-card h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 16px;
  font-weight: 600;
}

.puja-card p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.75;
  margin: 0;
}

.puja-card-btn {
  margin-top: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 52px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.16);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.puja-card-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.28);
}

/* Steps section styling */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.step-card {
  position: relative;
  padding: 40px 32px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 50px rgba(32, 27, 23, 0.05);
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.4);
}

.step-num {
  font-family: var(--serif);
  font-size: 3.4rem;
  line-height: 1;
  color: var(--gold-soft);
  margin-bottom: 20px;
  font-weight: 600;
}

.step-card h3 {
  font-size: 1.4rem;
  margin: 0 0 12px;
  color: var(--ink);
}

.step-card p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.7;
}

/* Custom styling for FAQ items spacing */
.puja-faq details {
  margin-bottom: 16px;
}

.puja-faq details:last-child {
  margin-bottom: 0;
}

/* Responsive Overrides */
@media (max-width: 1200px) {
  .puja-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 992px) {
  .puja-video-container {
    min-height: 380px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .puja-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .puja-card {
    min-height: auto;
    padding: 30px 24px;
  }

  .puja-video-container {
    min-height: 300px;
    border-radius: 28px;
  }

  .puja-hero .hero-main-video {
    opacity: 0.45;
  }
}