@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700;800&family=Rozha+One&display=swap');

:root {
  --primary-dark-green: #153018;
  --primary-green: #234E27;
  --primary-light-green: #46874E;
  --accent-saffron: #E36E18;
  --accent-saffron-hover: #C65A0D;
  --accent-saffron-light: #FEEADB;
  --neutral-cream: #FAF9F3;
  --neutral-dark: #2A312B;
  --neutral-light: #EBE9E1;
  --white: #FFFFFF;
  --font-hindi: 'Noto Sans Devanagari', sans-serif;
  --font-english: 'Outfit', sans-serif;
  --font-display: 'Rozha One', serif;
  --shadow-sm: 0 2px 4px rgba(21, 48, 24, 0.05);
  --shadow-md: 0 8px 16px rgba(21, 48, 24, 0.08);
  --shadow-lg: 0 16px 32px rgba(21, 48, 24, 0.12);
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-hindi);
  background-color: var(--neutral-cream);
  color: var(--neutral-dark);
  margin-bottom: 0px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* English Text override */
.lang-en {
  font-family: var(--font-english) !important;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--neutral-cream);
}
::-webkit-scrollbar-thumb {
  background: var(--primary-green);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark-green);
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  color: var(--primary-dark-green);
  font-weight: 700;
}
.display-font {
  font-family: var(--font-display);
}

/* Core Buttons */
.btn-ayur-primary {
  background-color: var(--primary-green);
  color: var(--white);
  border: 2px solid var(--primary-green);
  font-weight: 600;
  border-radius: 50px;
  padding: 10px 24px;
  transition: var(--transition-smooth);
}
.btn-ayur-primary:hover {
  background-color: var(--primary-dark-green);
  border-color: var(--primary-dark-green);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-ayur-secondary {
  background-color: var(--accent-saffron);
  color: var(--white);
  border: 2px solid var(--accent-saffron);
  font-weight: 600;
  border-radius: 50px;
  padding: 10px 24px;
  transition: var(--transition-smooth);
}
.btn-ayur-secondary:hover {
  background-color: var(--accent-saffron-hover);
  border-color: var(--accent-saffron-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-ayur-outline {
  background-color: transparent;
  color: var(--primary-green);
  border: 2px solid var(--primary-green);
  font-weight: 600;
  border-radius: 50px;
  padding: 10px 24px;
  transition: var(--transition-smooth);
}
.btn-ayur-outline:hover {
  background-color: var(--primary-green);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Custom Header with Blur */
.ayur-navbar {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--neutral-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  z-index: 1050;
}
.ayur-navbar-brand {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--primary-dark-green) !important;
  font-weight: 800;
  display: flex;
  align-items: center;
}
.ayur-navbar-brand span {
  color: var(--accent-saffron);
}
.ayur-nav-link {
  color: var(--neutral-dark);
  font-weight: 600;
  padding: 8px 16px !important;
  border-radius: 4px;
  transition: var(--transition-smooth);
}
.ayur-nav-link:hover, .ayur-nav-link.active {
  color: var(--primary-green) !important;
  background-color: rgba(70, 135, 78, 0.08);
}
.tagline-header {
  font-size: 0.85rem;
  color: var(--accent-saffron);
  font-weight: 500;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, rgba(21, 48, 24, 0.9) 0%, rgba(35, 78, 39, 0.7) 100%), url('/images/hero/hero_bg.jpg') no-repeat center center/cover;
  padding: 100px 0 140px 0;
  position: relative;
  overflow: hidden;
  color: var(--white);
}
.hero-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--neutral-cream);
  clip-path: ellipse(60% 80px at 50% 80px);
}
.hero-heading {
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero-subheading {
  font-size: 1.3rem;
  opacity: 0.9;
  margin-bottom: 40px;
}

/* Info Badges / Icons */
.feature-box {
  background-color: var(--white);
  border-radius: 16px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--neutral-light);
  transition: var(--transition-smooth);
}
.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light-green);
}
.feature-icon-wrapper {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: rgba(70, 135, 78, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary-green);
  font-size: 2rem;
  transition: var(--transition-smooth);
}
.feature-box:hover .feature-icon-wrapper {
  background-color: var(--primary-green);
  color: var(--white);
}

/* Category Circle Pill */
.category-pill-card {
  background-color: var(--white);
  border-radius: 12px;
  padding: 16px 20px;
  border: 1px solid var(--neutral-light);
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none !important;
}
.category-pill-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-saffron);
}
.category-pill-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: var(--accent-saffron-light);
  color: var(--accent-saffron);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}
.category-pill-card h5 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-dark-green);
}

/* Premium Cards */
.ayur-card {
  background-color: var(--white);
  border-radius: 20px;
  border: 1px solid var(--neutral-light);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.ayur-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(70, 135, 78, 0.2);
}
.ayur-card-img-wrapper {
  position: relative;
  overflow: hidden;
  padding-top: 75%; /* 4:3 Aspect Ratio */
}
.ayur-card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}
.ayur-card:hover .ayur-card-img {
  transform: scale(1.08);
}
.ayur-card-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--accent-saffron);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 1;
}
.ayur-card-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.ayur-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
}
.ayur-card-title a {
  color: var(--primary-dark-green);
  text-decoration: none;
  transition: var(--transition-smooth);
}
.ayur-card-title a:hover {
  color: var(--accent-saffron);
}
.ayur-card-excerpt {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 20px;
}
.ayur-card-meta {
  font-size: 0.85rem;
  color: #888;
  display: flex;
  align-items: center;
  gap: 15px;
  border-top: 1px solid var(--neutral-light);
  padding-top: 15px;
}

/* Product Card Specifics */
.product-card .price-section {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 15px;
}
.product-card .original-price {
  text-decoration: line-through;
  color: #888;
  font-size: 0.9rem;
}
.product-card .offer-price {
  color: var(--accent-saffron);
  font-size: 1.3rem;
  font-weight: 700;
}
.product-rating {
  color: #FFC107;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

/* Related Products Section */
.related-products-section {
  background-color: rgba(70, 135, 78, 0.05);
  border-radius: 24px;
  padding: 40px;
  margin-top: 60px;
  border: 1px solid rgba(70, 135, 78, 0.1);
}

/* Testimonials Carousel */
.testimonial-card {
  background-color: var(--white);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--neutral-light);
  position: relative;
}
.testimonial-card::before {
  content: "“";
  position: absolute;
  top: 10px;
  left: 30px;
  font-size: 8rem;
  color: rgba(70, 135, 78, 0.1);
  font-family: Georgia, serif;
  line-height: 1;
}
.testimonial-img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-light-green);
}

/* FAQ Accordion */
.ayur-faq .accordion-item {
  border: 1px solid var(--neutral-light);
  background-color: var(--white);
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
}
.ayur-faq .accordion-button {
  font-weight: 600;
  color: var(--primary-dark-green);
  background-color: var(--white);
  padding: 20px;
}
.ayur-faq .accordion-button:not(.collapsed) {
  color: var(--primary-green);
  background-color: rgba(70, 135, 78, 0.05);
  box-shadow: none;
}
.ayur-faq .accordion-button::after {
  filter: sepia(100%) hue-rotate(80deg) saturate(200%);
}

/* Footer Section */
.ayur-footer {
  background-color: var(--primary-dark-green);
  color: rgba(255, 255, 255, 0.85);
  padding: 80px 0 30px 0;
  font-family: var(--font-hindi);
}
.ayur-footer h5 {
  color: var(--white);
  margin-bottom: 25px;
  font-weight: 600;
  position: relative;
  padding-bottom: 10px;
}
.ayur-footer h5::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--accent-saffron);
}
.ayur-footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition-smooth);
}
.ayur-footer a:hover {
  color: var(--white);
  padding-left: 5px;
}
.ayur-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  margin-top: 50px;
  font-size: 0.9rem;
}

/* Newsletter form */
.newsletter-form .form-control {
  border-radius: 50px 0 0 50px;
  padding: 12px 20px;
  border: none;
}
.newsletter-form .btn {
  border-radius: 0 50px 50px 0;
  padding: 0 25px;
}

/* Dosha Calculator Form */
.dosha-quiz {
  background-color: var(--white);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--neutral-light);
}
.quiz-question-box {
  background-color: var(--neutral-cream);
  padding: 25px;
  border-radius: 16px;
  margin-bottom: 20px;
  border-left: 5px solid var(--accent-saffron);
}
.quiz-option {
  display: block;
  background-color: var(--white);
  border: 1px solid var(--neutral-light);
  border-radius: 10px;
  padding: 15px 20px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.quiz-option:hover {
  border-color: var(--primary-light-green);
  background-color: rgba(70, 135, 78, 0.05);
}
.quiz-option input {
  margin-right: 15px;
}

/* Responsive Overrides */
@media (max-width: 991.98px) {
  .hero-heading {
    font-size: 2.5rem;
  }
}
@media (max-width: 575.98px) {
  .hero-heading {
    font-size: 2rem;
  }
  .display-4 {
    font-size: 2.2rem;
  }
  .feature-box {
    padding: 20px;
  }
}