/* ============================================================
   VASTU ASTROLOGY CONSULTANCY — DESIGN SYSTEM
   Premium Spiritual Luxury Website
   ============================================================ */

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

/* ---- CSS VARIABLES ---- */
:root {
  /* Primary */
  --royal-blue: #0D1B4C;
  --deep-navy: #081126;
  /* Secondary */
  --gold: #D4AF37;
  --gold-light: #E8CB5A;
  --gold-dark: #A8882A;
  --warm-beige: #F8F5EF;
  /* Accent */
  --emerald: #2E8B57;
  --saffron: #FF9933;
  /* Neutrals */
  --white: #FFFFFF;
  --light-gray: #F2F2F2;
  --mid-gray: #9A9A9A;
  --charcoal: #2C2C2C;
  --border-color: rgba(212,175,55,0.25);
  /* Typography */
  --font-heading: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-sub: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', 'Poppins', sans-serif;
  /* Spacing */
  --section-py: 100px;
  --container: 1400px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  /* Shadows */
  --shadow-card: 0 8px 40px rgba(13,27,76,0.10);
  --shadow-hover: 0 20px 60px rgba(13,27,76,0.18);
  --shadow-gold: 0 4px 30px rgba(212,175,55,0.25);
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ---- CONTAINER ---- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 80px;
}

/* ---- TYPOGRAPHY ---- */
h1, .h1 { font-family: var(--font-heading); font-size: 72px; font-weight: 700; line-height: 1.1; letter-spacing: -1px; }
h2, .h2 { font-family: var(--font-heading); font-size: 56px; font-weight: 600; line-height: 1.15; }
h3, .h3 { font-family: var(--font-heading); font-size: 42px; font-weight: 500; line-height: 1.2; }
h4, .h4 { font-family: var(--font-heading); font-size: 32px; font-weight: 500; }
h5, .h5 { font-family: var(--font-body); font-size: 22px; font-weight: 600; }
h6, .h6 { font-family: var(--font-body); font-size: 18px; font-weight: 600; }
.body-lg { font-size: 20px; line-height: 1.8; }
.body { font-size: 18px; line-height: 1.75; }
.small { font-size: 16px; }
.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---- SECTION ---- */
.section { padding: var(--section-py) 0; }
.section-dark { background: var(--deep-navy); color: var(--white); }
.section-navy { background: var(--royal-blue); color: var(--white); }
.section-beige { background: var(--warm-beige); }
.section-header { text-align: center; margin-bottom: 64px; }
.section-header .eyebrow { margin-bottom: 16px; }
.section-header h2 { margin-bottom: 20px; }
.section-header p { max-width: 640px; margin: 0 auto; color: var(--mid-gray); font-size: 20px; }
.section-dark .section-header p,
.section-navy .section-header p { color: rgba(255,255,255,0.65); }

/* ---- GOLD DIVIDER ---- */
.gold-divider {
  display: flex; align-items: center; gap: 12px;
  justify-content: center; margin: 20px 0;
}
.gold-divider span { width: 60px; height: 1px; background: var(--gold); }
.gold-divider i { color: var(--gold); font-size: 18px; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 36px; border-radius: 50px;
  font-family: var(--font-body); font-size: 16px; font-weight: 600;
  letter-spacing: 0.5px; cursor: pointer; border: 2px solid transparent;
  transition: all 0.3s ease; white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--deep-navy);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}
.btn-secondary {
  background: var(--royal-blue);
  color: var(--white);
  border-color: var(--royal-blue);
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline:hover { background: var(--gold); color: var(--deep-navy); }
.btn-white {
  background: var(--white);
  color: var(--royal-blue);
  border-color: var(--white);
}
.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  border-color: #25D366;
}
.btn-lg { padding: 20px 48px; font-size: 18px; }
.btn-sm { padding: 10px 24px; font-size: 14px; }

/* ---- HEADER ---- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(8,17,38,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 80px; height: 84px; max-width: 1920px; margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 14px; }
.logo-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.logo-text { font-family: var(--font-heading); color: var(--white); }
.logo-text .brand { font-size: 22px; font-weight: 700; line-height: 1; }
.logo-text .tagline { font-size: 11px; letter-spacing: 2px; color: var(--gold); text-transform: uppercase; }
.nav-menu { display: flex; align-items: center; gap: 36px; }
.nav-menu a {
  color: rgba(255,255,255,0.85); font-size: 15px; font-weight: 500;
  transition: color 0.2s; position: relative;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--gold); }
.header-cta { display: flex; align-items: center; gap: 16px; }
.header-phone { color: var(--gold); font-weight: 600; font-size: 15px; }

/* ---- FOOTER ---- */
.site-footer {
  background: var(--deep-navy);
  color: rgba(255,255,255,0.75);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px; padding-bottom: 60px;
}
.footer-brand .logo { margin-bottom: 20px; }
.footer-brand p { font-size: 15px; line-height: 1.8; max-width: 300px; }
.footer-col h5 {
  color: var(--white); font-family: var(--font-heading);
  font-size: 18px; margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 15px; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-contact-item {
  display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start;
}
.footer-contact-item .icon { color: var(--gold); margin-top: 3px; font-size: 18px; }
.footer-contact-item p { font-size: 15px; }
.footer-newsletter { margin-top: 16px; }
.footer-newsletter h6 { color: var(--white); font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.footer-newsletter-form { display: flex; gap: 8px; }
.footer-newsletter-form input {
  flex: 1; padding: 12px 16px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.07);
  color: var(--white); font-size: 14px; outline: none;
}
.footer-newsletter-form button {
  padding: 12px 20px; background: var(--gold); color: var(--deep-navy);
  border: none; border-radius: 8px; font-weight: 600; cursor: pointer; font-size: 14px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: 14px; }
.social-links { display: flex; gap: 12px; }
.social-link {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; transition: all 0.2s;
}
.social-link:hover { border-color: var(--gold); color: var(--gold); }

/* ---- CARDS ---- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: all 0.35s ease;
}
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-6px); }

.service-card {
  padding: 40px 36px;
  border: 1px solid var(--border-color);
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--saffron));
  transform: scaleX(0); transition: transform 0.3s;
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 68px; height: 68px;
  background: linear-gradient(135deg, rgba(212,175,55,0.12), rgba(212,175,55,0.04));
  border: 1px solid var(--border-color);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; margin-bottom: 24px;
}
.service-card h5 { font-family: var(--font-heading); font-size: 22px; margin-bottom: 12px; color: var(--royal-blue); }
.service-card p { color: var(--mid-gray); font-size: 16px; line-height: 1.7; }

.testimonial-card {
  padding: 36px; border: 1px solid var(--border-color);
  position: relative;
}
.testimonial-card .quote {
  font-family: var(--font-sub); font-size: 60px; line-height: 0.8;
  color: var(--gold); margin-bottom: 16px;
}
.testimonial-card p { font-size: 17px; line-height: 1.75; color: var(--charcoal); font-style: italic; margin-bottom: 24px; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--royal-blue), var(--gold));
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 700; font-size: 18px;
}
.author-info strong { display: block; font-size: 16px; color: var(--royal-blue); }
.author-info span { font-size: 14px; color: var(--mid-gray); }
.stars { color: var(--gold); font-size: 16px; margin-bottom: 16px; }

/* ---- BLOG CARD ---- */
.blog-card { overflow: hidden; }
.blog-card-img { height: 220px; object-fit: cover; width: 100%; }
.blog-card-body { padding: 24px; }
.blog-tag {
  display: inline-block; padding: 4px 14px;
  background: rgba(212,175,55,0.1); color: var(--gold-dark);
  border-radius: 50px; font-size: 12px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px;
}
.blog-card-body h5 { font-size: 20px; font-family: var(--font-heading); color: var(--royal-blue); margin-bottom: 10px; line-height: 1.35; }
.blog-card-body p { font-size: 15px; color: var(--mid-gray); line-height: 1.65; }
.blog-meta { display: flex; align-items: center; gap: 16px; margin-top: 16px; font-size: 13px; color: var(--mid-gray); }

/* ---- FORMS ---- */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 14px; font-weight: 600; color: var(--royal-blue); margin-bottom: 8px; letter-spacing: 0.3px; }
.form-control {
  width: 100%; padding: 14px 18px;
  border: 1.5px solid rgba(13,27,76,0.15); border-radius: 10px;
  font-family: var(--font-body); font-size: 16px; color: var(--charcoal);
  background: var(--white); outline: none; transition: border-color 0.2s;
}
.form-control:focus { border-color: var(--gold); }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ---- STAT COUNTER ---- */
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-heading); font-size: 64px; font-weight: 700;
  color: var(--gold); line-height: 1;
}
.stat-plus { color: var(--gold); font-size: 40px; }
.stat-label { font-size: 16px; color: rgba(255,255,255,0.7); margin-top: 8px; letter-spacing: 1px; text-transform: uppercase; }

/* ---- PROCESS STEP ---- */
.process-step { text-align: center; position: relative; }
.step-number {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--saffron));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 28px; font-weight: 700;
  color: var(--deep-navy); margin: 0 auto 20px;
}
.step-connector {
  position: absolute; top: 36px; left: calc(50% + 48px);
  width: calc(100% - 96px); height: 2px;
  background: linear-gradient(90deg, var(--gold), rgba(212,175,55,0.2));
}

/* ---- BADGE ---- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 50px; font-size: 13px; font-weight: 600;
}
.badge-gold { background: rgba(212,175,55,0.12); color: var(--gold-dark); border: 1px solid rgba(212,175,55,0.3); }
.badge-navy { background: var(--royal-blue); color: var(--white); }
.badge-emerald { background: rgba(46,139,87,0.12); color: var(--emerald); border: 1px solid rgba(46,139,87,0.3); }

/* ---- SACRED GEOMETRY DECORATIONS ---- */
.mandala-bg {
  position: absolute; opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Ccircle cx='100' cy='100' r='90' fill='none' stroke='%23D4AF37' stroke-width='1'/%3E%3Ccircle cx='100' cy='100' r='70' fill='none' stroke='%23D4AF37' stroke-width='1'/%3E%3Ccircle cx='100' cy='100' r='50' fill='none' stroke='%23D4AF37' stroke-width='1'/%3E%3Cpolygon points='100,10 190,60 190,140 100,190 10,140 10,60' fill='none' stroke='%23D4AF37' stroke-width='1'/%3E%3Cpolygon points='100,30 170,70 170,130 100,170 30,130 30,70' fill='none' stroke='%23D4AF37' stroke-width='1'/%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat;
}

/* ---- HERO PLACEHOLDERS (SVG backgrounds) ---- */
.hero-visual-placeholder {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
}
.img-placeholder {
  background: linear-gradient(135deg, var(--royal-blue) 0%, #1a3580 50%, var(--deep-navy) 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.4); font-size: 14px; font-family: var(--font-body);
  position: relative; overflow: hidden;
}
.img-placeholder .mandala {
  position: absolute; opacity: 0.15;
  font-size: 220px; line-height: 1;
}
.img-placeholder .label {
  position: relative; z-index: 1;
  background: rgba(212,175,55,0.15); padding: 8px 18px; border-radius: 50px;
  border: 1px solid rgba(212,175,55,0.3); color: rgba(255,255,255,0.6);
}

/* ---- ACCORDION (FAQ) ---- */
.accordion-item {
  border-bottom: 1px solid rgba(13,27,76,0.1);
}
.accordion-header {
  padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; font-family: var(--font-heading); font-size: 20px;
  color: var(--royal-blue); font-weight: 500;
}
.accordion-icon { font-size: 20px; color: var(--gold); transition: transform 0.3s; }
.accordion-body { padding: 0 0 24px; font-size: 17px; color: var(--mid-gray); line-height: 1.75; }

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--deep-navy) 0%, var(--royal-blue) 100%);
  padding: 160px 0 80px;
  text-align: center; color: var(--white); position: relative; overflow: hidden;
}
.page-hero h1 { color: var(--white); margin-bottom: 16px; font-size: 56px; }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 20px; max-width: 600px; margin: 0 auto; }
.breadcrumb { display: flex; align-items: center; gap: 8px; justify-content: center; margin-bottom: 20px; font-size: 14px; }
.breadcrumb a { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,0.4); }

/* ---- UTILITY ---- */
.text-gold { color: var(--gold); }
.text-navy { color: var(--royal-blue); }
.text-white { color: var(--white); }
.text-gray { color: var(--mid-gray); }
.text-center { text-align: center; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.pt-header { padding-top: 84px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

/* ---- WHATSAPP FLOAT (desktop only) ---- */
.whatsapp-float {
  position: fixed; bottom: 32px; right: 32px; z-index: 999;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  font-size: 28px; box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  color: white; text-decoration: none;
}

/* ---- MOBILE BOTTOM NAV BAR ---- */
.mobile-bottom-nav {
  display: none; /* shown only at ≤1024px via responsive.css */
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1100;
  background: rgba(8, 17, 38, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(196, 160, 80, 0.2);
  padding: 8px 0 max(8px, env(safe-area-inset-bottom));
  display: none;
}
.mobile-bottom-nav .mbn-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 4px 6px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 10px;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.mobile-bottom-nav .mbn-item.active,
.mobile-bottom-nav .mbn-item:hover { color: var(--gold); }
.mobile-bottom-nav .mbn-icon {
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
}
.mobile-bottom-nav .mbn-icon svg { width: 22px; height: 22px; }
.mobile-bottom-nav .mbn-label { line-height: 1; }

/* WhatsApp tab — green accent */
.mobile-bottom-nav .mbn-whatsapp { color: #25D366; }
.mobile-bottom-nav .mbn-whatsapp:hover { color: #1ebe5d; }

/* Book tab — gold pill */
.mobile-bottom-nav .mbn-book {
  color: var(--gold);
  background: rgba(196, 160, 80, 0.12);
  border-radius: 12px;
  margin: 0 4px;
}
