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

:root {
  /* Color Palette */
  --clr-deep-brown: #5A2E1B;
  --clr-dark-brown: #3B2116;
  --clr-rich-brown: #7A3F20;
  --clr-burnt-orange: #C65A1E;
  --clr-saffron-orange: #E8892F;
  --clr-light-orange: #F4C08A;
  --clr-warm-cream: #FFF8EF;
  --clr-white: #FFFFFF;
  --clr-black: #111111;
  --clr-charcoal: #252525;
  --clr-gold: #B98A44;

  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing & Layout */
  --max-width: 1200px;
  --header-height: 80px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  
  /* Shadows */
  --shadow-subtle: 0 4px 20px rgba(90, 46, 27, 0.08);
  --shadow-hover: 0 10px 30px rgba(90, 46, 27, 0.15);
  
  /* Transitions */
  --transition: all 0.3s ease;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--clr-black);
  background-color: var(--clr-white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--clr-deep-brown);
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; }

p {
  margin-bottom: 1rem;
  color: var(--clr-charcoal);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

ul {
  list-style: none;
}

/* Layout Classes */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background-color: var(--clr-warm-cream);
}

.text-center { text-align: center; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 500;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--clr-burnt-orange);
  color: var(--clr-white);
}

.btn-primary:hover {
  background-color: var(--clr-deep-brown);
  color: var(--clr-white);
}

.btn-secondary {
  background-color: var(--clr-white);
  color: var(--clr-deep-brown);
  border-color: var(--clr-deep-brown);
}

.btn-secondary:hover {
  background-color: var(--clr-deep-brown);
  color: var(--clr-white);
}

.btn-accent {
  background-color: var(--clr-warm-cream);
  color: var(--clr-burnt-orange);
  border-color: var(--clr-burnt-orange);
}

.btn-accent:hover {
  background-color: var(--clr-burnt-orange);
  color: var(--clr-white);
}

/* Header & Navigation */
/* =========================
   HEADER & NAVIGATION
========================= */

/* =========================================
   FINAL HEADER FIX
   Keep header horizontal
========================================= */

.header {
  width: 100%;
  height: 90px;
  background: #fff8ef;
  border-bottom: 1px solid rgba(90, 46, 27, 0.12);
  position: relative;
  z-index: 1000;
}

.header-container {
  width: 100%;
  max-width: 1450px;
  height: 90px;
  margin: 0 auto;
  padding: 0 30px;

  display: flex;
  align-items: center;
}

/* Logo */
.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 35px;
}

.logo-img {
  height: 50px;
  width: auto;
  display: block;
}

/* Navigation */
.nav-links {
  flex: 1;
  display: flex !important;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.nav-links ul,
.nav-menu {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: center;

  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;

  gap: 18px;
}

.nav-links li,
.nav-menu li {
  display: block !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  white-space: nowrap;
}

.nav-links li::before,
.nav-menu li::before {
  display: none !important;
  content: none !important;
}

.nav-link {
  display: block !important;
  color: #5a2e1b;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: #d05a18;
}

/* Right side */
.header-actions {
  display: flex !important;
  align-items: center;
  gap: 18px;
  margin-left: 25px;
  flex-shrink: 0;
}

.lang-switcher {
  display: flex !important;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.lang-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

/* Appointment */
.header-book-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 13px 22px;
}

/* Hamburger hidden on desktop */
.hamburger {
  display: none;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

  .header,
  .header-container {
    height: 80px;
  }

  .header-container {
    padding: 0 20px;
  }

  .logo-img {
    height: 55px;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);

    background: #fff8ef;

    display: block !important;
    padding: 20px;
    transition: 0.3s ease;
    overflow-y: auto;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links ul,
  .nav-menu {
    display: flex !important;
    flex-direction: column !important;
    width: 100%;
    gap: 0;
  }

  .nav-links li,
  .nav-menu li {
    width: 100%;
    text-align: center;
    padding: 15px 0 !important;
    border-bottom: 1px solid rgba(90, 46, 27, 0.1);
  }

  .header-actions {
    margin-left: auto;
  }

  .lang-switcher,
  .header-book-btn {
    display: none !important;
  }

  .hamburger {
    display: block !important;
  }
}/* Hero Section */
.hero {
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 5rem;
  background-color: var(--clr-warm-cream);
  position: relative;
  overflow: hidden;
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.05;
  background-image: 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="%235A2E1B" fill-opacity="1"%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');
  z-index: 1;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}

.hero-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: inherit;
  pointer-events: none;
}

/* Cards & Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background-color: var(--clr-white);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition);
  border: 1px solid rgba(90, 46, 27, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(198, 90, 30, 0.2);
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--clr-warm-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--clr-burnt-orange);
  font-size: 1.5rem;
}

.card-img-top {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  margin: -2.5rem -2.5rem 1.5rem -2.5rem;
  width: calc(100% + 5rem);
}

.card-title {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.card-text {
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

/* Image Cards (Navgrah, Services) */
.image-card {
  background-color: var(--clr-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition);
  text-align: center;
}

.image-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.image-card-img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-bottom: 3px solid var(--clr-burnt-orange);
}

.image-card-body {
  padding: 1.5rem;
}

/* Vedic Wisdom Section */
.vedic-wisdom {
  background-color: var(--clr-deep-brown);
  color: var(--clr-white);
  padding: 6rem 0;
  text-align: center;
  position: relative;
}

.vedic-wisdom h2, .vedic-wisdom h3 {
  color: var(--clr-warm-cream);
}

.vedic-wisdom p {
  color: rgba(255, 255, 255, 0.9);
}

.sanskrit-verse {
  font-size: 1.5rem;
  font-family: var(--font-heading);
  color: var(--clr-gold);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.verse-divider {
  width: 100px;
  height: 2px;
  background-color: var(--clr-burnt-orange);
  margin: 2rem auto;
}

/* Footer */
.footer {
  background-color: var(--clr-dark-brown);
  color: #ffffff;
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  color: var(--clr-white);
  margin-bottom: 1rem;
}

.footer-heading {
  color: var(--clr-white);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
}

/* Only footer text white */
.footer p,
.footer a,
.footer li {
  color: #ffffff;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--clr-saffron-orange);
  padding-left: 5px;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.footer-contact p i {
  color: var(--clr-saffron-orange);
}

/* IMPORTANT: Logo stays original */
.footer-logo,
.footer-brand img {
  filter: none !important;
}
/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--clr-deep-brown);
}

.form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid rgba(90, 46, 27, 0.2);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
  background-color: var(--clr-white);
}

.form-control:focus {
  outline: none;
  border-color: var(--clr-burnt-orange);
  box-shadow: 0 0 0 3px rgba(198, 90, 30, 0.1);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* Specific Page Elements */
/* Numerology Cards */
.number-card {
  text-align: center;
  padding: 2rem;
  background-color: var(--clr-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-subtle);
  border: 1px solid rgba(90, 46, 27, 0.05);
}
.number-card .number {
  font-size: 4rem;
  font-family: var(--font-heading);
  color: var(--clr-burnt-orange);
  line-height: 1;
  margin-bottom: 1rem;
}
.number-card .attribute {
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--clr-deep-brown);
}

/* Resource Card */
.resource-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background-color: var(--clr-white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-subtle);
  margin-bottom: 1rem;
  border-left: 4px solid var(--clr-burnt-orange);
}
.resource-info h3 { margin-bottom: 0.25rem; }
.resource-info span { color: var(--clr-burnt-orange); font-size: 0.875rem; font-weight: 500; }

/* Content sections */
.content-box {
  background: var(--clr-white);
  padding: 3rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-subtle);
  margin-bottom: 3rem;
}

/* Page Header */
.page-header {
  padding: 8rem 0 4rem;
  background-color: var(--clr-warm-cream);
  text-align: center;
  border-bottom: 1px solid rgba(90, 46, 27, 0.1);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-content p {
    margin: 0 auto 2.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--clr-warm-cream);
    flex-direction: column;
    padding: 2rem;
    transition: var(--transition);
    overflow-y: auto;
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .nav-links li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(90, 46, 27, 0.1);
    padding: 1rem 0;
  }
  
  .header-actions {
    margin-left: auto;
    margin-right: 1rem;
  }
  
  .header-actions .btn {
    display: none; /* Hide CTA on mobile header, show in menu if needed */
  }

  .nav-links .btn {
    display: inline-flex;
    margin-top: 1rem;
  }

  .grid-3, .grid-2 {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .resource-card {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    color: #fff;
    background: transparent;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #444120;
    border-color: #444120;
    color: #fff;
    transform: translateY(-3px);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: 0.3s ease;
}

.footer-social a:hover {
    background: #444120;
    border-color: #444120;
    transform: translateY(-2px);
}

/* =========================================
   STATS SECTION
   ========================================= */

.stats-section {
    width: 100%;
    background: #ffffff;
    padding: 70px 40px 90px;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    text-align: center;
    align-items: start;
}

.stat-item {
    padding: 10px 20px;
}

.stat-number {
    font-family: Arial, sans-serif;
    font-size: 60px;
    font-weight: 700;
    line-height: 1.1;
    color: #e94f12;
    margin-bottom: 12px;
}

.stat-label {
    font-family: Arial, sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.4;
    color: #111111;
}


/* =========================================
   WHAT WE OFFER HEADING
   ========================================= */

.offer-heading-section {
    background: #ffffff;
    padding: 25px 20px 45px;
    text-align: center;
}

.offer-heading {
    display: inline-block;

    margin: 0;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
    font-weight: 700;

    color: #e94f12;

    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}

/* =========================================
   TABLET
   ========================================= */

@media (max-width: 900px) {

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 45px;
    }

    .stat-number {
        font-size: 50px;
    }

    .stat-label {
        font-size: 18px;
    }
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 600px) {

    .stats-section {
        padding: 50px 20px 60px;
    }

    .stats-container {
        grid-template-columns: 1fr 1fr;
        gap: 35px 10px;
    }

    .stat-item {
        padding: 5px 10px;
    }

    .stat-number {
        font-size: 42px;
    }

    .stat-label {
        font-size: 16px;
    }

    .offer-heading-section {
        padding: 20px 15px 35px;
    }

    .offer-heading {
        font-size: 28px;
    }
}