/* ==========================================================================
   VEDIK KUNDALI — TRADITIONAL VEDIC BRAND IDENTITY DESIGN SYSTEM
   Palette: Deep Forest Green (#123C2E), Antique Gold (#B88A2A), Warm Cream (#FAF6EA)
   Typography: Martel & Playfair Display (Serif), Mukta & Plus Jakarta Sans (Body & UI)
   Language: Hindi-First with Elegant English Sub-Accents
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&family=Martel:wght@400;600;700;800&family=Mukta:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,600&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Brand Primary Colors */
  --color-forest: #123C2E;         /* Deep Forest Green */
  --color-forest-secondary: #1C4A38;
  --color-forest-dark: #0D2B21;
  --color-forest-subtle: rgba(18, 60, 46, 0.07);
  --color-forest-border: rgba(18, 60, 46, 0.18);
  
  --color-gold: #B88A2A;           /* Antique Gold */
  --color-gold-hover: #9E7422;
  --color-gold-light: #D6A848;
  --color-gold-subtle: rgba(184, 138, 42, 0.12);
  --color-gold-border: rgba(184, 138, 42, 0.35);

  --color-cream: #FAF6EA;          /* Warm Cream / Ivory */
  --color-cream-light: #F3EBDD;    /* Light Cream */
  --color-cream-card: #FFFFFF;
  --color-white: #FFFFFF;

  /* Aliased Semantic Tokens */
  --bg-primary: #FAF6EA;
  --bg-warm: #FAF6EA;
  --bg-secondary: #F3EBDD;
  --bg-tertiary: #EBDDCB;
  --bg-card: #FFFFFF;
  --bg-card-warm: #FBF8F0;
  --bg-card-hover: #FFFFFF;
  --bg-dark: #123C2E;
  --bg-dark-secondary: #0D2B21;
  --bg-dark-card: #1C4A38;

  /* Saffron & Gold Tokens */
  --saffron-primary: #123C2E;
  --saffron-hover: #1C4A38;
  --saffron-light: #B88A2A;
  --saffron-subtle: rgba(184, 138, 42, 0.1);
  --saffron-glow: rgba(184, 138, 42, 0.22);
  --gold-primary: #B88A2A;
  --gold-accent: #9E7422;
  --gold-light: #D6A848;
  --gold-highlight: #FAF6EA;
  --gold-border: rgba(184, 138, 42, 0.35);

  /* High-Readability Forest / Warm Dark Text */
  --text-primary: #17352B;
  --text-secondary: #2B2B27;
  --text-muted: #5C6B64;
  --text-light: #FAF6EA;
  --text-white: #FFFFFF;
  --text-accent: #B88A2A;
  --text-gold: #B88A2A;

  /* Structural Borders & Warm Shadows */
  --border-subtle: #E6DCBE;
  --border-medium: #D4C69E;
  --border-gold: #B88A2A;
  --border-dark: rgba(255, 255, 255, 0.15);

  --shadow-subtle: 0 2px 10px rgba(18, 60, 46, 0.04);
  --shadow-card: 0 4px 20px rgba(18, 60, 46, 0.07);
  --shadow-card-hover: 0 12px 32px rgba(18, 60, 46, 0.12);
  --shadow-warm: 0 8px 24px rgba(184, 138, 42, 0.2);

  /* Roundedness */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Typography */
  --font-serif: 'Martel', 'Playfair Display', Georgia, serif;
  --font-sans: 'Mukta', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-accent: 'Cinzel', Georgia, serif;

  /* Layout */
  --container-max: 1240px;
  --container-narrow: 860px;
  --header-height: 82px;
  --mobile-bar-height: 64px;
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.18s ease-in-out;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: clip;
  max-width: 100%;
  width: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  max-width: 100%;
  width: 100%;
  position: relative;
  min-height: 100vh;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--text-primary);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  margin-bottom: 0.75rem;
}

h4 {
  font-size: 1.15rem;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 0.5rem;
}

p {
  color: var(--text-secondary);
  font-size: 1.025rem;
  line-height: 1.72;
  margin-bottom: 1.25rem;
}

p.lead {
  font-size: 1.18rem;
  line-height: 1.75;
  color: var(--text-primary);
  font-weight: 400;
}

a {
  color: var(--saffron-primary);
  text-decoration: none;
  transition: var(--transition-smooth);
}

a:hover {
  color: var(--saffron-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

svg {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Global SVG Icon Hygiene:
   Ensure all icon-sized SVGs without inline fill default to stroked line icons
   and never inherit browser-default solid black fill or expand unchecked */
.service-icon-box svg,
.why-icon svg,
.about-check-icon svg,
.service-link svg,
.dropdown-chevron,
.faq-chevron,
.blog-search-icon {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Button Icon Hygiene */
.btn-icon {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.btn-whatsapp .btn-icon,
svg.btn-icon[fill="currentColor"] {
  fill: currentColor !important;
  stroke: none !important;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  position: relative;
  z-index: 1;
  min-width: 0;
  box-sizing: border-box;
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-tight {
  padding: 3.75rem 0;
}

.section-warm {
  background-color: var(--bg-warm);
}

.section-secondary {
  background-color: var(--bg-secondary);
}

.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--text-white);
}

.section-dark p {
  color: rgba(250, 247, 242, 0.82);
}

/* Section Header Styles */
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--saffron-primary);
  background: var(--saffron-subtle);
  border: 1px solid rgba(229, 142, 38, 0.25);
  padding: 0.35rem 1.15rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-title {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

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

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--saffron-primary);
  outline-offset: 3px;
}
