/* =========================================
   TIBETAN PRAYERS — Global Stylesheet
   Sacred Paper · Olive Edition
   ========================================= */

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

/* --- Variables --- */
:root {
  --parch: #F2E8D2;        /* warm parchment background */
  --parch-dark: #E8D9B8;   /* slightly deeper parchment for cards */
  --olive: #5F5826;        /* primary olive */
  --olive-dim: #82793E;    /* lighter olive for accents */
  --olive-pale: #C8BF8A;   /* very light olive tint */
  --saffron: #D29628;      /* saffron gold accent */
  --saffron-light: #E8B84B;/* lighter saffron for hover */
  --maroon: #7B1818;       /* maroon — used sparingly for nav CTA */
  --maroon-dark: #5E1111;  /* darker maroon for hover */
  --ink: #261216;          /* dark ink for text */
  --ink-muted: #7A6B5A;    /* muted ink for secondary text */
  --border: #D4C8A8;       /* parchment border */
  --white: #FFFFFF;

  /* Aliases for existing code */
  --dark: var(--parch);
  --card-bg: var(--parch-dark);
  --text: var(--ink);
  --muted: var(--ink-muted);
  --gold: var(--saffron);
  --gold-light: var(--saffron-light);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--parch);
  color: var(--ink);
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: var(--olive); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.75; }

/* --- Typography --- */
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.3; color: var(--ink); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.4rem; }
p { color: var(--ink-muted); }

/* --- Utilities --- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.text-gold { color: var(--saffron); }
.text-center { text-align: center; }
.section { padding: 80px 0; }
.section-label {
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--olive-dim);
  margin-bottom: 12px;
  display: block;
}
.divider {
  width: 50px;
  height: 2px;
  background: var(--saffron);
  margin: 20px auto;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 4px;
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}
.btn-gold {
  background: var(--olive);
  color: var(--parch);
}
.btn-gold:hover {
  background: var(--olive-dim);
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(95,88,38,0.25);
}
.btn-outline {
  background: transparent;
  color: var(--olive);
  border: 1.5px solid var(--olive);
}
.btn-outline:hover {
  background: var(--olive);
  color: var(--parch);
  opacity: 1;
}

/* --- Navigation --- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: all 0.4s ease;
  background: transparent;
}
nav.scrolled {
  background: var(--olive);
  backdrop-filter: blur(10px);
  padding: 14px 0;
  border-bottom: 2px solid var(--saffron);
  box-shadow: 0 4px 20px rgba(38,18,22,0.18);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--olive);
  font-weight: 700;
  transition: color 0.4s;
}
nav.scrolled .nav-logo { color: var(--parch); }
.nav-logo span { color: var(--saffron); }
.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links > li > a { color: var(--ink-muted); font-size: 0.85rem; letter-spacing: 1px; text-transform: uppercase; transition: color 0.3s; }
nav.scrolled .nav-links > li > a { color: rgba(242,232,210,0.8); }
.nav-links > li > a:hover { color: var(--olive); opacity: 1; }
nav.scrolled .nav-links > li > a:hover { color: var(--saffron); opacity: 1; }

/* Nav CTA — maroon, used only for the Request a Prayer button */
.nav-links .btn-gold {
  background: var(--maroon);
  color: var(--parch);
  border: none;
}
.nav-links .btn-gold:hover {
  background: var(--maroon-dark);
  box-shadow: 0 4px 16px rgba(123,24,24,0.3);
  transform: translateY(-1px);
  opacity: 1;
}
nav.scrolled .nav-links .btn-gold {
  background: var(--maroon);
  color: var(--parch);
}

/* --- Dropdown --- */
.nav-dropdown { position: relative; }
.dropdown-arrow { font-size: 0.7rem; margin-left: 2px; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: 0 12px 40px rgba(95,88,38,0.15);
  min-width: 180px;
  list-style: none;
  padding: 8px 0;
  z-index: 200;
}
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px; left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid var(--border);
}
.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--ink-muted) !important;
  transition: background 0.2s, color 0.2s;
}
.dropdown-menu li a:hover {
  background: var(--parch);
  color: var(--olive) !important;
  opacity: 1;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu { display: block; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 101; /* above mobile menu overlay */
  position: relative;
}
.hamburger span { width: 24px; height: 2px; background: var(--olive); display: block; transition: all 0.3s; }
nav.scrolled .hamburger span { background: var(--parch); }

/* Hide hamburger when mobile menu is open */
.mobile-menu.open ~ nav .hamburger,
body.menu-open .hamburger { display: none; }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--olive);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: clamp(1.1rem, 5vw, 1.4rem);
  font-family: 'Playfair Display', serif;
  color: var(--parch);
  letter-spacing: 0.5px;
}
.mobile-menu a:hover { color: var(--saffron); opacity: 1; }
.mobile-close {
  position: absolute;
  top: 24px; right: 28px;
  font-size: 1.8rem;
  cursor: pointer;
  color: rgba(242,232,210,0.55);
  line-height: 1;
  display: none; /* hidden by default */
}
.mobile-menu.open .mobile-close { display: block; /* only show X when menu is open */ }
.mobile-menu .btn-gold {
  background: var(--maroon);
  color: var(--parch);
  font-size: clamp(0.8rem, 3.5vw, 0.9rem) !important;
  font-family: 'Lato', sans-serif !important;
  padding: 14px clamp(28px, 10vw, 48px) !important;
  margin-top: 8px;
}

/* --- Dharma Wheel --- */
.dharma-wheel-bg {
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  width: min(55vw, 580px);
  height: min(55vw, 580px);
  opacity: 0.07;
  pointer-events: none;
  z-index: 1;
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 65% 40%, rgba(95,88,38,0.10) 0%, transparent 65%),
    radial-gradient(ellipse at 20% 80%, rgba(210,150,40,0.07) 0%, transparent 55%),
    var(--parch);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%235F5826' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
/* Saffron accent stripe at top of hero */
.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--olive), var(--saffron), var(--olive));
}
.hero-content { position: relative; z-index: 2; max-width: 700px; }
.hero-symbol { font-size: 3rem; margin-bottom: 24px; display: block; }
.hero h1 { margin-bottom: 24px; color: var(--ink); }
.hero p { font-size: 1.1rem; margin-bottom: 40px; max-width: 540px; color: var(--ink-muted); }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--ink-muted);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
.hero-scroll::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--saffron), transparent);
}
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(-8px)} }

/* --- Trust Bar --- */
.trust-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
  background: var(--parch-dark);
}
.trust-items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--ink-muted);
  letter-spacing: 0.5px;
}
.trust-item .icon { font-size: 1.2rem; }

/* --- Steps --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  position: relative;
}
.step-card {
  text-align: center;
  padding: 32px 20px;
  position: relative;
}
.step-number {
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--olive);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: 'Playfair Display', serif;
  color: var(--olive);
  font-size: 1.1rem;
  background: rgba(95,88,38,0.06);
}
.step-card h3 { margin-bottom: 10px; font-size: 1.1rem; color: var(--ink); }

/* --- Package Cards --- */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 48px;
}
.packages-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) {
  .packages-grid-3 { grid-template-columns: 1fr; }
}
.package-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 40px;
  position: relative;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.package-card:hover {
  transform: translateY(-4px);
  border-color: var(--olive);
  box-shadow: 0 12px 32px rgba(95,88,38,0.12);
}
.package-card.featured {
  border-color: var(--olive);
  background: linear-gradient(135deg, #FFFFFF 0%, #F5EFD8 100%);
  box-shadow: 0 8px 32px rgba(95,88,38,0.12);
}
.package-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--olive);
  color: var(--parch);
  padding: 4px 20px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}
.package-icon { font-size: 2.5rem; margin-bottom: 20px; line-height: 1; }
.package-icon svg { display: block; }
.package-card h3 { margin-bottom: 8px; color: var(--ink); }
.package-card .tagline { color: var(--ink-muted); font-size: 0.9rem; margin-bottom: 24px; }
.package-price { margin-bottom: 8px; }
.package-price .amount {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: var(--olive);
}
.package-price .period { color: var(--ink-muted); font-size: 0.9rem; }
.package-price-monthly {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-bottom: 28px;
}
.package-features { list-style: none; margin-bottom: 32px; }
.package-features li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--ink-muted);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.package-features li:last-child { border-bottom: none; }
.package-features .check { color: var(--saffron); flex-shrink: 0; }
.package-actions { display: flex; flex-direction: column; gap: 12px; }
.package-actions .btn { text-align: center; width: 100%; }

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
}
.testimonial-stars { color: var(--saffron); margin-bottom: 16px; font-size: 0.9rem; }
.testimonial-text { font-style: italic; margin-bottom: 20px; color: var(--ink-muted); }
.testimonial-author { font-size: 0.85rem; color: var(--ink-muted); }
.testimonial-author strong { color: var(--ink); display: block; }

/* --- Form --- */
.form-section {
  max-width: 680px;
  margin: 0 auto;
}
.form-group { margin-bottom: 24px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 14px 16px;
  color: var(--ink);
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.3s;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(95,88,38,0.08);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235F5826' d='M6 8L0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-note { font-size: 0.8rem; color: var(--ink-muted); margin-top: 6px; }
.form-submit { text-align: center; margin-top: 32px; }
.form-success {
  display: none;
  background: rgba(95,88,38,0.06);
  border: 1px solid var(--olive);
  border-radius: 8px;
  padding: 32px;
  text-align: center;
}
.form-success .success-icon { font-size: 3rem; margin-bottom: 16px; }

/* --- Payment note box --- */
.payment-note {
  background: rgba(210,150,40,0.08);
  border: 1px solid var(--saffron);
  border-radius: 6px;
  padding: 16px 20px;
  font-size: 0.88rem;
  color: var(--ink);
  margin-bottom: 20px;
}

/* --- Page Hero (inner pages) --- */
.page-hero {
  padding: 160px 0 80px;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(95,88,38,0.08) 0%, transparent 70%),
    var(--parch);
  border-bottom: 1px solid var(--border);
}
.page-hero p { max-width: 560px; margin: 16px auto 0; color: var(--ink-muted); }

/* --- Content Sections --- */
.content-block { margin-bottom: 64px; }
.content-block h2 { margin-bottom: 20px; }
.content-block p { margin-bottom: 16px; }

/* --- FAQ --- */
.faq-list { margin-top: 48px; }
.faq-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  cursor: pointer;
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  gap: 16px;
  color: var(--ink);
}
.faq-icon { color: var(--olive); font-size: 1.2rem; flex-shrink: 0; transition: transform 0.3s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p { padding-bottom: 24px; }

/* --- Blog Cards --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 48px;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(95,88,38,0.10);
}
.blog-card-tag {
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 12px;
  display: block;
}
.blog-card h3 { font-size: 1.15rem; margin-bottom: 12px; color: var(--ink); }
.blog-card p { font-size: 0.9rem; color: var(--ink-muted); margin-bottom: 20px; }
.blog-card-link {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--olive);
}

/* --- Saffron stripe divider --- */
.stripe {
  height: 4px;
  background: linear-gradient(90deg, var(--olive), var(--saffron), var(--olive));
  border: none;
}

/* --- Footer --- */
footer {
  background: var(--olive);
  border-top: 3px solid var(--saffron);
  padding: 60px 0 32px;
}
footer p,
footer a,
footer .footer-col ul a,
footer .footer-brand p,
.footer-bottom {
  color: rgba(242,232,210,0.75);
}
footer h3, footer h4, footer .text-gold {
  color: var(--saffron);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand h3 { font-size: 1.2rem; margin-bottom: 12px; }
.footer-brand p { font-size: 0.9rem; max-width: 280px; }
.footer-col h4 {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: rgba(242,232,210,0.65); font-size: 0.9rem; }
.footer-col ul a:hover { color: var(--saffron); opacity: 1; }
.footer-bottom {
  border-top: 1px solid rgba(242,232,210,0.2);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: rgba(242,232,210,0.55);
}
.footer-mantra { color: var(--saffron); font-style: italic; }

/* --- Notification Toast --- */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: var(--white);
  border: 1px solid var(--olive);
  border-radius: 8px;
  padding: 16px 24px;
  font-size: 0.9rem;
  color: var(--ink);
  z-index: 999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s;
  max-width: 320px;
  box-shadow: 0 8px 24px rgba(95,88,38,0.15);
}
.toast.show { transform: translateY(0); opacity: 1; }

/* --- Scroll animation --- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Hero wheel icon --- */
.hero-symbol {
  display: block;
  margin-bottom: 28px;
  line-height: 1;
}
.hero-wheel-icon {
  width: 48px !important;
  height: 48px !important;
  max-width: 48px;
  max-height: 48px;
  display: block;
  color: var(--saffron);
  animation: spinSlow 40s linear infinite;
  filter: drop-shadow(0 2px 8px rgba(210,150,40,0.25));
}

/* --- CTA stupa --- */
.cta-stupa {
  width: 72px !important;
  height: 88px !important;
  max-width: 72px;
  display: block;
  margin: 0 auto;
  color: var(--olive);
  filter: drop-shadow(0 4px 12px rgba(95,88,38,0.15));
}

/* --- Hero entrance animation --- */
.hero-content {
  opacity: 0;
  transform: translateY(30px);
  animation: heroEnter 1s ease 0.3s forwards;
}
@keyframes heroEnter {
  to { opacity: 1; transform: translateY(0); }
}

/* --- Dharma wheel background --- */
.dharma-wheel-bg {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 620px;
  height: 620px;
  opacity: 0;
  animation: wheelFadeIn 1.8s ease 0.8s forwards;
  pointer-events: none;
  z-index: 1;
}
.dharma-wheel-bg svg {
  width: 100%;
  height: 100%;
  color: var(--olive);
  animation: spinSlow 90s linear infinite;
}
@keyframes wheelFadeIn {
  to { opacity: 0.12; }
}
@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* --- Trust bar SVG icons --- */
.trust-svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--olive);
  transition: color 0.3s, transform 0.3s;
}
.trust-item {
  transition: transform 0.2s;
}
.trust-item:hover .trust-svg {
  color: var(--saffron);
  transform: scale(1.15) rotate(6deg);
}

/* --- Mobile button --- */
.mobile-menu .btn-gold {
  background: var(--maroon);
  color: #F2E8D2 !important;
}

/* ─── Hover animations ─────────────────────── */

/* Card lift + glow on hover */
.testimonial-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(95,88,38,0.13);
  border-color: var(--olive);
}

/* Step cards hover */
.step-card {
  transition: transform 0.3s ease;
  border-radius: 8px;
}
.step-card:hover {
  transform: translateY(-4px);
}
.step-card:hover .step-number {
  background: var(--olive);
  color: var(--parch);
  transition: background 0.3s, color 0.3s;
}

/* Nav link underline slide */
.nav-links a:not(.btn) {
  position: relative;
}
.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--saffron);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav-links a:not(.btn):hover::after {
  transform: scaleX(1);
}
nav.scrolled .nav-links a:not(.btn)::after {
  background: var(--saffron);
}

/* CTA button gentle pulse */
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(123,24,24,0); }
  50%       { box-shadow: 0 0 0 10px rgba(123,24,24,0.08); }
}
.btn-gold:not(.nav-links .btn-gold) {
  animation: ctaPulse 3.5s ease-in-out infinite;
}

/* Package card icon spin on hover */
.package-card:hover .package-icon svg {
  animation-duration: 8s;
  transition: animation-duration 0.3s;
}

/* Section label bounce in */
.section-label {
  display: inline-block;
  animation: labelBounce 0.6s ease both;
}
@keyframes labelBounce {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Divider grow in */
.divider {
  animation: growDivider 0.8s ease both;
  transform-origin: left;
}
@keyframes growDivider {
  from { transform: scaleX(0); opacity: 0; }
  to   { transform: scaleX(1); opacity: 1; }
}

/* Package card feature check pulse on hover */
.package-card:hover .check {
  animation: checkPop 0.4s ease;
}
@keyframes checkPop {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.4); }
  100% { transform: scale(1); }
}

/* Footer link hover slide */
.footer-col ul a {
  display: inline-block;
  transition: transform 0.2s ease, color 0.2s ease;
}
.footer-col ul a:hover {
  transform: translateX(4px);
  opacity: 1;
}

/* --- Card pulse for featured package --- */
@keyframes cardPulse {
  0%, 100% { box-shadow: 0 8px 32px rgba(95,88,38,0.12); }
  50%       { box-shadow: 0 16px 48px rgba(95,88,38,0.22); }
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero { padding-top: 90px; min-height: auto; padding-bottom: 60px; }
  .hero-content { max-width: 100%; }
  .hero-buttons { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero-buttons .btn { width: 100%; text-align: center; }
  .dharma-wheel-bg { width: 280px; height: 280px; right: -60px; opacity: 0.07; }

  /* Trust bar */
  .trust-items { flex-direction: column; gap: 16px; align-items: flex-start; padding: 0 8px; }

  /* Sections */
  .section { padding: 48px 0; }

  /* About 2-col → 1-col */
  section .container > div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  /* Packages */
  .packages-grid { grid-template-columns: 1fr; }
  .packages-grid-3 { grid-template-columns: 1fr; }
  .package-card { padding: 28px 20px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }

  /* Form */
  .form-row { grid-template-columns: 1fr; }
  .form-section { padding: 0 4px; }

  /* Blog */
  .blog-grid { grid-template-columns: 1fr; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; }

  /* Page hero */
  .page-hero { padding: 120px 0 48px; }

  /* Steps */
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.5rem; }
  .steps-grid { grid-template-columns: 1fr; }
  .btn { padding: 13px 24px; font-size: 0.85rem; }
  .container { padding: 0 16px; }
  .hero-symbol { margin-bottom: 16px; }
  .package-card { padding: 24px 16px; }
  .trust-item { font-size: 0.82rem; }
}
