/* ===========================
   ASK SAI BABA — DIVINE THEME
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Lato:wght@300;400;700&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #C9A84C;
  --gold-light: #E8C97B;
  --gold-dark: #8B6914;
  --saffron: #FF6B1A;
  --deep-maroon: #3D0C11;
  --maroon: #6B1A1A;
  --cream: #FDF6E3;
  --parchment: #F5E6C8;
  --brown-light: #8B4513;
  --text-dark: #1a0a00;
  --text-muted: #5c3d1e;
  --white: #ffffff;
}

body {
  font-family: 'Lato', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.75;
  overflow-x: hidden;
}

/* ---- DIVINE BACKGROUND ---- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(201,168,76,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(201,168,76,0.10) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(61,12,17,0.03) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

body > * { position: relative; z-index: 1; }

/* ---- HEADER ---- */
header {
  background: linear-gradient(135deg, #1a0500 0%, #3D0C11 40%, #6B1A1A 70%, #3D0C11 100%);
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 4px 24px rgba(0,0,0,0.5);
  position: sticky;
  top: 0;
  z-index: 999;
}

.header-top {
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-dark));
  text-align: center;
  padding: 6px 1rem;
  font-size: 12px;
  color: var(--deep-maroon);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.logo-icon {
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, var(--gold-light), var(--gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  border: 2px solid var(--gold-light);
  box-shadow: 0 0 20px rgba(201,168,76,0.4);
  flex-shrink: 0;
}

.logo-text h1 {
  font-family: 'Cinzel', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 1px;
  line-height: 1.1;
}

.logo-text p {
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.85;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

nav a {
  color: var(--gold-light);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 0.45rem 0.85rem;
  border-radius: 4px;
  transition: all 0.3s;
  border: 1px solid transparent;
}

nav a:hover, nav a.active {
  background: rgba(201,168,76,0.15);
  border-color: var(--gold);
  color: var(--gold);
}

/* ---- HERO ---- */
.hero {
  background:
    linear-gradient(180deg, rgba(61,12,17,0.85) 0%, rgba(61,12,17,0.65) 40%, rgba(253,246,227,0) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M30 5 L35 20 L50 20 L38 30 L43 45 L30 36 L17 45 L22 30 L10 20 L25 20Z' fill='none' stroke='%23C9A84C' stroke-width='0.4' opacity='0.2'/%3E%3C/svg%3E");
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(61,12,17,0.7) 0%, rgba(61,12,17,0.4) 60%, transparent 100%);
}

.hero-content { position: relative; z-index: 2; max-width: 760px; }

.hero-badge {
  display: inline-block;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-dark));
  color: var(--deep-maroon);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 6px 20px;
  border-radius: 30px;
  margin-bottom: 1.5rem;
}

.hero h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.hero h2 span { color: var(--gold-light); }

.hero p {
  font-size: 1.1rem;
  color: rgba(253,246,227,0.9);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  font-style: italic;
}

/* ---- PRASHNAVALI BOX ---- */
.oracle-box {
  background: linear-gradient(135deg, rgba(61,12,17,0.95), rgba(107,26,26,0.9));
  border: 2px solid var(--gold);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  max-width: 500px;
  margin: 0 auto;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4), inset 0 1px 0 rgba(201,168,76,0.3);
}

.oracle-box h3 {
  font-family: 'Cinzel', serif;
  color: var(--gold-light);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.oracle-input-row {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.oracle-input {
  width: 120px;
  padding: 0.75rem 1rem;
  background: rgba(253,246,227,0.1);
  border: 1.5px solid var(--gold);
  border-radius: 8px;
  color: var(--gold-light);
  font-size: 1.2rem;
  text-align: center;
  font-family: 'Cinzel', serif;
  outline: none;
}

.oracle-input::placeholder { color: rgba(201,168,76,0.4); }
.oracle-input:focus { border-color: var(--gold-light); background: rgba(253,246,227,0.15); }

.btn-divine {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-dark));
  color: var(--deep-maroon);
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: uppercase;
}

.btn-divine:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.4);
}

.oracle-hint {
  font-size: 0.8rem;
  color: rgba(201,168,76,0.65);
  margin-top: 0.5rem;
  font-style: italic;
}

#oracle-answer {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: rgba(253,246,227,0.08);
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: 10px;
  color: var(--cream);
  font-size: 1rem;
  line-height: 1.7;
  font-style: italic;
  display: none;
}

#oracle-answer.active { display: block; }

/* ---- SECTION STYLES ---- */
.section { padding: 5rem 2rem; }
.section-alt { background: linear-gradient(180deg, var(--parchment), var(--cream)); }

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.section-label {
  display: inline-block;
  color: var(--gold-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  color: var(--deep-maroon);
  margin-bottom: 1rem;
  line-height: 1.25;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ---- ORNAMENT ---- */
.ornament {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin: 1.5rem 0;
}
.ornament::before, .ornament::after {
  content: '';
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.ornament-icon { color: var(--gold); font-size: 1.2rem; }

/* ---- CARDS ---- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.card {
  background: var(--white);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 14px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(201,168,76,0.15);
  border-color: var(--gold);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-family: 'Cinzel', serif;
  color: var(--maroon);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.card p { color: var(--text-muted); font-size: 0.95rem; }

/* ---- QUOTE BLOCK ---- */
.quote-block {
  background: linear-gradient(135deg, var(--deep-maroon), var(--maroon));
  border-radius: 16px;
  padding: 3rem 2.5rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid var(--gold);
  position: relative;
}

.quote-block::before {
  content: '\201C';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 5rem;
  color: var(--gold);
  font-family: 'Cinzel', serif;
  line-height: 1;
}

.quote-block p {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--cream);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.quote-block cite {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-style: normal;
  font-weight: 700;
}

/* ---- STEPS ---- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  counter-reset: step;
}

.step {
  background: var(--white);
  border-radius: 14px;
  padding: 2rem 1.5rem;
  border: 1px solid rgba(201,168,76,0.25);
  position: relative;
  counter-increment: step;
}

.step::before {
  content: counter(step);
  position: absolute;
  top: -16px;
  left: 24px;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--deep-maroon);
  line-height: 32px;
  text-align: center;
}

.step h4 {
  font-family: 'Cinzel', serif;
  color: var(--maroon);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

.step p { color: var(--text-muted); font-size: 0.9rem; }

/* ---- FAQ ---- */
.faq-list { max-width: 820px; margin: 0 auto; }

.faq-item {
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 10px;
  margin-bottom: 1rem;
  overflow: hidden;
  background: var(--white);
}

.faq-q {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 700;
  color: var(--maroon);
  font-size: 1rem;
  transition: background 0.2s;
}

.faq-q:hover { background: rgba(201,168,76,0.06); }

.faq-q .faq-arrow {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--deep-maroon);
  font-size: 0.85rem;
  font-weight: 900;
  transition: transform 0.3s;
}

.faq-item.open .faq-arrow { transform: rotate(45deg); }

.faq-a {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.75;
  border-top: 1px solid transparent;
}

.faq-item.open .faq-a {
  max-height: 400px;
  padding: 1.25rem 1.5rem;
  border-top-color: rgba(201,168,76,0.2);
}

/* ---- CONTENT SECTIONS ---- */
.content-wrap { max-width: 860px; margin: 0 auto; }

.content-wrap h2 {
  font-family: 'Cinzel', serif;
  color: var(--deep-maroon);
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
  border-left: 4px solid var(--gold);
  padding-left: 1rem;
}

.content-wrap p { color: var(--text-muted); margin-bottom: 1.25rem; font-size: 1rem; }
.content-wrap ul { padding-left: 1.5rem; color: var(--text-muted); margin-bottom: 1.25rem; }
.content-wrap li { margin-bottom: 0.5rem; }

/* ---- BANNER ---- */
.banner {
  background: linear-gradient(135deg, var(--deep-maroon), var(--maroon));
  padding: 4rem 2rem;
  text-align: center;
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
}

.banner h2 {
  font-family: 'Cinzel', serif;
  color: var(--gold-light);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.banner p { color: rgba(253,246,227,0.85); font-size: 1.05rem; max-width: 600px; margin: 0 auto 2rem; }

/* ---- FOOTER ---- */
footer {
  background: linear-gradient(135deg, #0d0205 0%, #1a0500 50%, #0d0205 100%);
  border-top: 2px solid var(--gold);
  padding: 3rem 2rem 1.5rem;
  color: rgba(253,246,227,0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto 2.5rem;
}

.footer-brand p { font-size: 0.9rem; margin-top: 0.75rem; line-height: 1.6; color: rgba(253,246,227,0.55); }

.footer-col h4 {
  font-family: 'Cinzel', serif;
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a {
  color: rgba(253,246,227,0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--gold-light); }

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(201,168,76,0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: rgba(253,246,246,0.35);
}

.footer-bottom a { color: var(--gold); text-decoration: none; }

/* ---- PAGE HERO ---- */
.page-hero {
  background: linear-gradient(135deg, var(--deep-maroon), var(--maroon));
  padding: 4rem 2rem 3rem;
  text-align: center;
  border-bottom: 2px solid var(--gold);
}

.page-hero h1 {
  font-family: 'Cinzel', serif;
  color: var(--gold-light);
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 0.75rem;
}

.page-hero p { color: rgba(253,246,227,0.8); max-width: 600px; margin: 0 auto; }

/* ---- CONTACT FORM ---- */
.contact-form { max-width: 640px; margin: 0 auto; }

.form-group { margin-bottom: 1.5rem; }

.form-group label {
  display: block;
  color: var(--maroon);
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid rgba(201,168,76,0.4);
  border-radius: 8px;
  background: var(--white);
  color: var(--text-dark);
  font-family: 'Lato', sans-serif;
  font-size: 0.97rem;
  outline: none;
  transition: border-color 0.2s;
}

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

.form-group textarea { resize: vertical; min-height: 140px; }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .header-main { flex-direction: column; gap: 1rem; text-align: center; }
  nav ul { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .logo-text h1 { font-size: 1.2rem; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 3rem 1.25rem; }
}

/* ---- UTILITY ---- */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.container { max-width: 1100px; margin: 0 auto; }

.gold-divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  margin: 1.5rem auto;
  border-radius: 2px;
}

/* ---- TESTIMONIAL ---- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.testimonial {
  background: var(--white);
  border-radius: 14px;
  padding: 2rem 1.5rem;
  border: 1px solid rgba(201,168,76,0.25);
  position: relative;
}

.testimonial::before {
  content: '\201C';
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  color: var(--gold);
  position: absolute;
  top: 0.5rem;
  left: 1.25rem;
  line-height: 1;
  opacity: 0.5;
}

.testimonial p {
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 1rem;
  padding-top: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--deep-maroon);
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.author-name { font-weight: 700; color: var(--maroon); font-size: 0.9rem; }
.author-loc { font-size: 0.8rem; color: var(--text-muted); }

/* ---- SACRED FLAME ANIMATION ---- */
@keyframes flicker {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.8; transform: scaleY(0.95); }
}

.diya {
  display: inline-block;
  animation: flicker 2s ease-in-out infinite;
}
