/* ============================================
   ACHARYA PANDIT SHUBHAM SHARMA JI
   Premium Sanatan Dharma Spiritual Website
   ============================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500&family=Inter:wght@300;400;500;600;700&family=Cinzel:wght@400;500;600;700;800;900&display=swap');

/* --- CSS Custom Properties / Design Tokens --- */
:root {
  /* Primary Palette */
  --saffron: #FF6F00;
  --saffron-light: #FF9E40;
  --saffron-glow: #FF8F0033;
  --gold: #D4A017;
  --gold-light: #F5D060;
  --gold-shimmer: #FFD700;
  --deep-maroon: #4A0E0E;
  --maroon: #6B1A1A;
  --maroon-dark: #2D0A0A;
  --white: #FFFFFF;
  --off-white: #FFF8F0;
  --cream: #FDF5E6;
  --ivory: #FFFEF7;

  /* Accent & Support */
  --temple-red: #C41E3A;
  --vermillion: #E34234;
  --divine-orange: #FF7722;
  --warm-brown: #8B4513;
  --dark-bg: #1A0505;
  --dark-surface: #2A0F0F;
  --dark-card: #351414;
  --text-gold: #E8C547;
  --text-light: #F5E6D3;
  --text-muted: #C9A88C;

  /* Typography */
  --font-hindi: 'Noto Sans Devanagari', sans-serif;
  --font-english-heading: 'Cinzel', 'Playfair Display', serif;
  --font-english-body: 'Inter', sans-serif;
  --font-decorative: 'Playfair Display', serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-max: 1200px;

  /* Shadows & Effects */
  --glow-gold: 0 0 30px rgba(212, 160, 23, 0.3), 0 0 60px rgba(212, 160, 23, 0.1);
  --glow-saffron: 0 0 30px rgba(255, 111, 0, 0.3), 0 0 60px rgba(255, 111, 0, 0.1);
  --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.3), 0 0 1px rgba(212, 160, 23, 0.3);
  --shadow-elevated: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 2px rgba(212, 160, 23, 0.2);

  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* --- CSS Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-english-body);
  background: var(--dark-bg);
  color: var(--text-light);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- Scrollbar Styling --- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--dark-bg);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold), var(--saffron));
  border-radius: 4px;
}

/* --- Utility Classes --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.hindi {
  font-family: var(--font-hindi);
}

.english {
  font-family: var(--font-english-body);
}

.text-gold { color: var(--text-gold); }
.text-saffron { color: var(--saffron); }

/* --- Om Symbol Decorative Divider --- */
.om-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 30px auto;
}

.om-divider .line {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.om-divider .om {
  font-size: 1.8rem;
  color: var(--gold);
  font-family: var(--font-hindi);
  text-shadow: 0 0 20px rgba(212, 160, 23, 0.5);
  animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { text-shadow: 0 0 20px rgba(212, 160, 23, 0.3); }
  50% { text-shadow: 0 0 40px rgba(212, 160, 23, 0.7), 0 0 60px rgba(255, 111, 0, 0.3); }
}

/* --- Section Title Styling --- */
.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title .hindi-title {
  font-family: var(--font-hindi);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 8px;
  text-shadow: 0 0 30px rgba(212, 160, 23, 0.2);
}

.section-title .english-title {
  font-family: var(--font-english-heading);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 4px;
  text-transform: uppercase;
}

/* ============================================
   PRELOADER
   ============================================ */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--dark-bg);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

#preloader .om-loader {
  font-size: 5rem;
  color: var(--gold);
  font-family: var(--font-hindi);
  animation: preloaderPulse 1.5s ease-in-out infinite;
}

#preloader .loader-text {
  font-family: var(--font-hindi);
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-top: 20px;
  letter-spacing: 3px;
}

@keyframes preloaderPulse {
  0%, 100% {
    transform: scale(1);
    text-shadow: 0 0 30px rgba(212, 160, 23, 0.4);
  }
  50% {
    transform: scale(1.15);
    text-shadow: 0 0 60px rgba(212, 160, 23, 0.8), 0 0 100px rgba(255, 111, 0, 0.4);
  }
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition-smooth);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(26, 5, 5, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(212, 160, 23, 0.15);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-brand .brand-icon {
  font-size: 2rem;
  color: var(--gold);
  text-shadow: 0 0 20px rgba(212, 160, 23, 0.5);
}

.nav-brand .brand-text {
  display: flex;
  flex-direction: column;
}

.nav-brand .brand-hindi {
  font-family: var(--font-hindi);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.2;
}

.nav-brand .brand-english {
  font-family: var(--font-english-heading);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-family: var(--font-english-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1px;
  position: relative;
  transition: var(--transition-smooth);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--saffron));
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--gold-light);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: linear-gradient(135deg, var(--saffron), var(--deep-maroon));
  color: var(--white) !important;
  padding: 10px 24px !important;
  border-radius: 50px;
  font-weight: 600 !important;
  transition: var(--transition-smooth);
  border: 1px solid rgba(212, 160, 23, 0.3);
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-saffron);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.hamburger span {
  width: 28px;
  height: 2px;
  background: var(--gold);
  transition: var(--transition-smooth);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 5, 5, 0.97);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.mobile-nav-overlay.active {
  display: flex;
  opacity: 1;
}

.mobile-nav-overlay a {
  color: var(--text-light);
  text-decoration: none;
  font-family: var(--font-hindi);
  font-size: 1.4rem;
  font-weight: 500;
  transition: var(--transition-smooth);
  padding: 8px 20px;
}

.mobile-nav-overlay a:hover {
  color: var(--gold-light);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 24px 80px;
}

/* Hero Background Layers */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-bg .bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(107, 26, 26, 0.6) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(255, 111, 0, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(212, 160, 23, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, var(--maroon-dark) 0%, var(--dark-bg) 100%);
}

/* Animated particles */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  animation: floatParticle linear infinite;
}

@keyframes floatParticle {
  0% {
    opacity: 0;
    transform: translateY(100vh) scale(0);
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.2;
  }
  100% {
    opacity: 0;
    transform: translateY(-20vh) scale(1);
  }
}

/* Mandala decoration */
.hero-mandala {
  position: absolute;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(212, 160, 23, 0.08);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: rotateMandala 60s linear infinite;
}

.hero-mandala::before {
  content: '';
  position: absolute;
  inset: 40px;
  border: 1px solid rgba(212, 160, 23, 0.06);
  border-radius: 50%;
}

.hero-mandala::after {
  content: '';
  position: absolute;
  inset: 80px;
  border: 1px solid rgba(212, 160, 23, 0.04);
  border-radius: 50%;
}

@keyframes rotateMandala {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Temple top border */
.hero-temple-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg,
    transparent,
    var(--gold) 20%,
    var(--saffron) 50%,
    var(--gold) 80%,
    transparent
  );
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}

/* Om symbol top */
.hero-om {
  font-size: 3.5rem;
  color: var(--gold);
  font-family: var(--font-hindi);
  display: block;
  margin-bottom: 16px;
  text-shadow: 0 0 40px rgba(212, 160, 23, 0.5), 0 0 80px rgba(212, 160, 23, 0.2);
  animation: pulseGlow 3s ease-in-out infinite;
}

/* Decorative Sanskrit line */
.hero-sanskrit {
  font-family: var(--font-hindi);
  font-size: 0.95rem;
  color: var(--text-muted);
  letter-spacing: 6px;
  margin-bottom: 24px;
  opacity: 0.7;
}

.hero-main-title {
  font-family: var(--font-hindi);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1.3;
  margin-bottom: 12px;
  text-shadow: 0 0 40px rgba(212, 160, 23, 0.2);
}

.hero-subtitle {
  font-family: var(--font-hindi);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--saffron-light);
  margin-bottom: 16px;
}

.hero-english-tagline {
  font-family: var(--font-english-heading);
  font-size: 0.95rem;
  color: var(--text-muted);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-description {
  font-family: var(--font-hindi);
  font-size: 1.1rem;
  color: var(--text-light);
  opacity: 0.85;
  line-height: 1.9;
  max-width: 650px;
  margin: 0 auto 40px;
}

/* Hero CTA Buttons */
.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--saffron), var(--divine-orange));
  color: var(--white);
  font-family: var(--font-hindi);
  box-shadow: 0 8px 30px rgba(255, 111, 0, 0.3);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(255, 111, 0, 0.5);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-secondary {
  background: transparent;
  color: var(--gold-light);
  font-family: var(--font-hindi);
  border: 2px solid var(--gold);
  box-shadow: 0 0 20px rgba(212, 160, 23, 0.1);
}

.btn-secondary:hover {
  background: rgba(212, 160, 23, 0.1);
  transform: translateY(-3px);
  box-shadow: var(--glow-gold);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.scroll-indicator .scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(212, 160, 23, 0.4);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator .scroll-mouse::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
  0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.3; transform: translateX(-50%) translateY(10px); }
}

.scroll-indicator .scroll-text {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  padding: var(--section-padding);
  position: relative;
  background: linear-gradient(180deg, var(--dark-bg) 0%, var(--dark-surface) 50%, var(--dark-bg) 100%);
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Image Placeholder */
.about-image-wrapper {
  position: relative;
}

.about-image-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, var(--dark-card), var(--maroon-dark));
  border-radius: 20px;
  border: 2px solid rgba(212, 160, 23, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.about-image-placeholder::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(212, 160, 23, 0.1);
  border-radius: 16px;
}

.about-image-placeholder .placeholder-icon {
  font-size: 4rem;
  opacity: 0.3;
}

.about-image-placeholder .placeholder-text {
  font-family: var(--font-hindi);
  color: var(--text-muted);
  font-size: 1rem;
  opacity: 0.5;
}

.about-image-placeholder .placeholder-english {
  font-family: var(--font-english-body);
  color: var(--text-muted);
  font-size: 0.8rem;
  opacity: 0.35;
}

/* Actual Pandit Ji Image */
.pandit-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 16px;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.6s ease;
  filter: brightness(0.95) contrast(1.05);
}

.about-image-placeholder:hover .pandit-image {
  transform: scale(1.03);
  filter: brightness(1) contrast(1.08);
}

.about-image-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, transparent 60%, rgba(26, 5, 5, 0.4) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Corner decorations */
.about-image-wrapper .corner-decor {
  position: absolute;
  width: 50px;
  height: 50px;
  border-color: var(--gold);
  border-style: solid;
  opacity: 0.4;
}

.about-image-wrapper .corner-decor.top-left {
  top: -8px; left: -8px;
  border-width: 2px 0 0 2px;
  border-radius: 4px 0 0 0;
}
.about-image-wrapper .corner-decor.top-right {
  top: -8px; right: -8px;
  border-width: 2px 2px 0 0;
  border-radius: 0 4px 0 0;
}
.about-image-wrapper .corner-decor.bottom-left {
  bottom: -8px; left: -8px;
  border-width: 0 0 2px 2px;
  border-radius: 0 0 0 4px;
}
.about-image-wrapper .corner-decor.bottom-right {
  bottom: -8px; right: -8px;
  border-width: 0 2px 2px 0;
  border-radius: 0 0 4px 0;
}

/* About Content */
.about-content {
  padding: 20px 0;
}

.about-content .about-hindi-text {
  font-family: var(--font-hindi);
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 2;
  margin-bottom: 24px;
}

.about-content .about-english-text {
  font-family: var(--font-english-body);
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 30px;
  padding-left: 20px;
  border-left: 3px solid var(--gold);
}

/* Credentials cards */
.credentials {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 30px;
}

.credential-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(212, 160, 23, 0.05);
  border: 1px solid rgba(212, 160, 23, 0.12);
  border-radius: 12px;
  transition: var(--transition-smooth);
}

.credential-card:hover {
  background: rgba(212, 160, 23, 0.1);
  transform: translateX(8px);
  border-color: rgba(212, 160, 23, 0.3);
}

.credential-card .cred-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.credential-card .cred-text {
  font-family: var(--font-hindi);
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}

.credential-card .cred-english {
  font-family: var(--font-english-body);
  font-size: 0.78rem;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
}

/* ============================================
   SERVICES / EXPERTISE SECTION
   ============================================ */
.services {
  padding: var(--section-padding);
  position: relative;
  background: var(--dark-bg);
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--saffron) 50%, transparent);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: linear-gradient(145deg, var(--dark-card), var(--dark-surface));
  border: 1px solid rgba(212, 160, 23, 0.1);
  border-radius: 20px;
  padding: 36px 24px;
  text-align: center;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--saffron), var(--gold));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 160, 23, 0.3);
  box-shadow: var(--shadow-elevated);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card .service-icon {
  font-size: 2.8rem;
  margin-bottom: 20px;
  display: block;
  filter: drop-shadow(0 0 10px rgba(212, 160, 23, 0.3));
}

.service-card .service-hindi {
  font-family: var(--font-hindi);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 6px;
}

.service-card .service-english {
  font-family: var(--font-english-body);
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* ============================================
   WHY CHOOSE US / FEATURES SECTION
   ============================================ */
.features {
  padding: var(--section-padding);
  background: linear-gradient(180deg, var(--dark-bg), var(--dark-surface), var(--dark-bg));
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  text-align: center;
  padding: 40px 30px;
  border-radius: 20px;
  background: rgba(212, 160, 23, 0.03);
  border: 1px solid rgba(212, 160, 23, 0.08);
  transition: var(--transition-smooth);
}

.feature-card:hover {
  background: rgba(212, 160, 23, 0.07);
  border-color: rgba(212, 160, 23, 0.2);
  transform: translateY(-5px);
}

.feature-card .feature-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
}

.feature-card .feature-hindi {
  font-family: var(--font-hindi);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.feature-card .feature-english {
  font-family: var(--font-english-heading);
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.feature-card .feature-desc {
  font-family: var(--font-hindi);
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
  padding: var(--section-padding);
  position: relative;
  background: var(--dark-bg);
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--saffron) 50%, transparent);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-info {
  padding: 20px 0;
}

.contact-info .contact-heading {
  font-family: var(--font-hindi);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.contact-info .contact-heading-en {
  font-family: var(--font-english-heading);
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.contact-info .contact-desc {
  font-family: var(--font-hindi);
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 30px;
  opacity: 0.85;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(212, 160, 23, 0.05);
  border: 1px solid rgba(212, 160, 23, 0.12);
  border-radius: 14px;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.contact-method:hover {
  background: rgba(212, 160, 23, 0.1);
  transform: translateX(8px) scale(1.02);
  border-color: rgba(212, 160, 23, 0.3);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), 0 0 15px rgba(212, 160, 23, 0.1);
}

.contact-method:active {
  transform: translateX(4px) scale(0.98);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.contact-method .method-icon {
  font-size: 1.6rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  flex-shrink: 0;
}

.contact-method .method-icon.phone-icon {
  background: rgba(255, 111, 0, 0.15);
}

.contact-method .method-icon.whatsapp-icon {
  background: rgba(37, 211, 102, 0.15);
}

.contact-method .method-text {
  display: flex;
  flex-direction: column;
}

.contact-method .method-label {
  font-family: var(--font-hindi);
  font-size: 1rem;
  color: var(--gold-light);
  font-weight: 600;
}

.contact-method .method-value {
  font-family: var(--font-english-body);
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Contact CTA Buttons */
.contact-cta-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 30px;
}

.contact-form-area {
  background: linear-gradient(145deg, var(--dark-card), var(--dark-surface));
  border: 1px solid rgba(212, 160, 23, 0.15);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.contact-form-area .form-title {
  font-family: var(--font-hindi);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 6px;
}

.contact-form-area .form-title-en {
  font-family: var(--font-english-heading);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  font-family: var(--font-hindi);
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 160, 23, 0.15);
  border-radius: 12px;
  color: var(--text-light);
  font-family: var(--font-hindi);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(212, 160, 23, 0.15);
  background: rgba(255, 255, 255, 0.06);
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form select option {
  background: var(--dark-card);
  color: var(--text-light);
}

.form-submit-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--saffron), var(--deep-maroon));
  color: var(--white);
  border: none;
  border-radius: 14px;
  font-family: var(--font-hindi);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 8px 30px rgba(255, 111, 0, 0.2);
}

.form-submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(255, 111, 0, 0.4);
}

.form-submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: linear-gradient(135deg, #4a3c3c, #302020);
  box-shadow: none;
}

/* ============================================
   FORM VALIDATION STYLES
   ============================================ */
.contact-form .form-group {
  position: relative;
}

.val-error {
  display: block;
  font-family: var(--font-hindi);
  font-size: 0.8rem;
  color: #ff6b6b; /* Soft red tone */
  margin-top: 6px;
  min-height: 20px;
  opacity: 0;
  transform: translateY(-5px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.val-error.active {
  opacity: 1;
  transform: translateY(0);
}

.contact-form input.is-invalid,
.contact-form textarea.is-invalid,
.contact-form select.is-invalid {
  border-color: #ff6b6b;
  box-shadow: 0 0 12px rgba(255, 107, 107, 0.2);
}

.contact-form input.is-invalid:focus,
.contact-form textarea.is-invalid:focus,
.contact-form select.is-invalid:focus {
  border-color: #ff6b6b;
  box-shadow: 0 0 18px rgba(255, 107, 107, 0.4);
}

.contact-form input.is-valid,
.contact-form textarea.is-valid,
.contact-form select.is-valid {
  border-color: var(--gold-light);
  box-shadow: 0 0 12px rgba(212, 160, 23, 0.2);
}

.form-success-msg {
  text-align: center;
  margin-top: 15px;
  font-family: var(--font-hindi);
  font-size: 1rem;
  color: #2ECC71;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
  display: none;
}

.form-success-msg.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--maroon-dark);
  padding: 60px 0 24px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--saffron) 50%, var(--gold) 70%, transparent);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .footer-brand-name {
  font-family: var(--font-hindi);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 6px;
}

.footer-brand .footer-brand-en {
  font-family: var(--font-english-heading);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-brand .footer-desc {
  font-family: var(--font-hindi);
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.footer-links h4 {
  font-family: var(--font-hindi);
  font-size: 1.1rem;
  color: var(--gold-light);
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul a {
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-hindi);
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.footer-links ul a:hover {
  color: var(--gold-light);
  padding-left: 8px;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(212, 160, 23, 0.1);
}

.footer-bottom p {
  font-family: var(--font-hindi);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom .footer-mantra {
  font-family: var(--font-hindi);
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 8px;
  text-shadow: 0 0 20px rgba(212, 160, 23, 0.3);
}

/* ============================================
   FLOATING BUTTONS
   ============================================ */
.floating-btns {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 998;
}

.float-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  text-decoration: none;
  color: var(--white);
  transition: var(--transition-smooth);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
}

.float-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.float-btn:hover::before {
  opacity: 1;
}

.float-btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
}

.float-btn-whatsapp:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

.float-btn-call {
  background: linear-gradient(135deg, var(--saffron), var(--divine-orange));
}

.float-btn-call:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 30px rgba(255, 111, 0, 0.4);
}

/* Pulsating animation for floating buttons */
.float-btn-whatsapp {
  animation: pulsateWhatsApp 2s infinite;
}

.float-btn-call {
  animation: pulsateCall 2s infinite 0.5s;
}

@keyframes pulsateWhatsApp {
  0%, 100% { box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3); }
  50% { box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 0 10px rgba(37, 211, 102, 0.15); }
}

@keyframes pulsateCall {
  0%, 100% { box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3); }
  50% { box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 0 10px rgba(255, 111, 0, 0.15); }
}

/* Tooltip on hover */
.float-btn .btn-tooltip {
  position: absolute;
  right: 72px;
  white-space: nowrap;
  background: var(--dark-card);
  color: var(--gold-light);
  padding: 8px 16px;
  border-radius: 8px;
  font-family: var(--font-hindi);
  font-size: 0.85rem;
  border: 1px solid rgba(212, 160, 23, 0.2);
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition-smooth);
  pointer-events: none;
}

.float-btn:hover .btn-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   MOBILE STICKY CTA
   ============================================ */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 997;
  background: rgba(26, 5, 5, 0.97);
  backdrop-filter: blur(20px);
  padding: 12px 16px;
  border-top: 1px solid rgba(212, 160, 23, 0.2);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.sticky-cta-content {
  display: flex;
  gap: 10px;
}

.sticky-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 10px;
  border-radius: 12px;
  text-decoration: none;
  font-family: var(--font-hindi);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  transition: var(--transition-smooth);
  border: none;
  cursor: pointer;
}

.sticky-btn-puja {
  background: linear-gradient(135deg, var(--saffron), var(--divine-orange));
}

.sticky-btn-call {
  background: linear-gradient(135deg, var(--deep-maroon), var(--maroon));
  border: 1px solid rgba(212, 160, 23, 0.2);
}

.sticky-btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* Staggered delays for children */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }
.stagger-7 { transition-delay: 0.7s; }
.stagger-8 { transition-delay: 0.8s; }

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(212, 160, 23, 0.2);
  border: 1px solid rgba(212, 160, 23, 0.3);
  color: var(--gold);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  z-index: 996;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: rgba(212, 160, 23, 0.3);
  transform: translateY(-4px);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .hero-main-title {
    font-size: 2.8rem;
  }
}

/* Mobile Large */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding: 100px 20px 80px;
    min-height: auto;
    padding-bottom: 100px;
  }

  .hero-main-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.15rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-mandala {
    width: 350px;
    height: 350px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image-wrapper {
    max-width: 350px;
    margin: 0 auto;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .service-card {
    padding: 24px 16px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-area {
    padding: 28px 20px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  /* Show mobile sticky CTA */
  .mobile-sticky-cta {
    display: block;
  }

  /* Adjust floating buttons on mobile */
  .floating-btns {
    bottom: 80px;
    right: 16px;
  }

  .float-btn {
    width: 52px;
    height: 52px;
    font-size: 1.4rem;
  }

  .float-btn .btn-tooltip {
    display: none;
  }

  .back-to-top {
    bottom: 150px;
    right: 16px;
    width: 40px;
    height: 40px;
  }

  .section-title .hindi-title {
    font-size: 2rem;
  }

  .scroll-indicator {
    display: none;
  }
}

/* Mobile Small */
@media (max-width: 480px) {
  .hero-main-title {
    font-size: 1.8rem;
  }

  .hero-om {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-english-tagline {
    font-size: 0.8rem;
    letter-spacing: 2px;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .service-card .service-icon {
    font-size: 2.2rem;
  }

  .service-card .service-hindi {
    font-size: 1rem;
  }

  .credential-card {
    padding: 12px 14px;
  }

  .sticky-btn {
    font-size: 0.78rem;
    padding: 10px 6px;
  }
}

.as-icon-vector {
  width: 54px;
  height: 54px;
  stroke: var(--gold-light, #f6e27a);
  fill: none;
  filter: drop-shadow(0 0 10px rgba(212, 160, 23, 0.4));
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.5s ease;
  opacity: 0.95;
  display: inline-block;
}

.as-card:hover .as-icon-vector,
.service-card:hover .as-icon-vector {
  transform: scale(1.15) translateY(-2px);
  filter: drop-shadow(0 0 20px rgba(255, 170, 0, 0.7));
  opacity: 1;
  stroke: #FFD700;
}
