/* ==========================================================================
   DHANVANTARI AYURVEDA - STOREFRONT PAGES (storefront.css)
   Pure CSS - Zero Inline Styles - Exact Replica of React Storefront
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. HERO CAROUSEL SECTION (HeroCarousel.tsx)
   -------------------------------------------------------------------------- */

/* Wrapper: solid bg so the rounded bottom corners show cleanly */
.hero-carousel-wrapper {
  background-color: var(--color-bg-base); /* #fdfbf7 — matches page base */
  padding-bottom: 0;
}

.hero-carousel-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #0c0a07; /* near-black fallback — barely ever visible */
  border-bottom: 1px solid rgba(231, 229, 228, 0.6);
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* ─── All slides stacked, invisible by default ────────────────────────────── */
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateX(28px);
  transition:
    opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1),
    transform 1.2s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0s linear 1.2s;
  z-index: 0;
  will-change: opacity, transform;
}

/* ─── Incoming slide: drifts gently from right into view ─────────────────── */
.hero-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  transition:
    opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1),
    transform 1.2s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0s linear 0s;
  z-index: 2;
}

/* ─── Outgoing slide: drifts gently to the left while fading ─────────────── */
.hero-slide.is-leaving {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: visible;
  transform: translateX(-28px);
  transition:
    opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1),
    transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

/* Image */
.hero-slide-img {
  width: 100%;
  max-width: none; /* CRITICAL: override img reset so image is always full-width */
  height: auto;
  display: block;
  object-fit: cover;
}

/* Empty/fallback placeholder heights (React: h-[220px] sm:h-[380px] lg:h-[600px]) */
.hero-slide-placeholder {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.2;
}

@media (min-width: 640px) {
  .hero-slide-placeholder {
    height: 380px;
  }
}

@media (min-width: 1024px) {
  .hero-slide-placeholder {
    height: 600px;
  }
}

.hero-slide-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(12, 10, 9, 0.9) 0%,
    rgba(28, 25, 23, 0.6) 50%,
    transparent 100%
  );
  pointer-events: none;
}

.hero-content-container {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
}

.hero-text-box {
  max-width: 42rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .hero-text-box {
    gap: 1.5rem;
  }
}

/* Hero text cascade on slide activation */
.hero-slide.is-active .hero-subtitle {
  animation: heroCascadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.06s both;
}

.hero-slide.is-active .hero-heading {
  animation: heroCascadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.16s both;
}

.hero-slide.is-active .hero-description {
  animation: heroCascadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.26s both;
}

.hero-slide.is-active .hero-btn-row {
  animation: heroCascadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.36s both;
}

@keyframes heroCascadeUp {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-subtitle {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #3e7a37;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .hero-subtitle {
    font-size: 0.75rem;
  }
}

.hero-ping-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  background-color: var(--color-accent);
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
  75%,
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.hero-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

@media (min-width: 640px) {
  .hero-heading {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-heading {
    font-size: 4.5rem;
  }
}

.hero-description {
  font-size: 0.75rem;
  color: #e7e5e4;
  line-height: 1.6;
  max-width: 32rem;
}

@media (min-width: 640px) {
  .hero-description {
    font-size: 1rem;
  }
}

@media (min-width: 1024px) {
  .hero-description {
    font-size: 1.125rem;
  }
}

.hero-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 0.5rem;
}

@media (min-width: 640px) {
  .hero-btn-row {
    gap: 1rem;
    padding-top: 1rem;
  }
}

.btn-gold {
  background-color: var(--color-accent);
  color: #17321e;
  font-weight: 700;
  border: none;
  box-shadow: 0 4px 14px rgba(212, 160, 23, 0.3);
}

.btn-gold:hover {
  background-color: #b5860d;
  color: #ffffff;
  transform: translateY(-1px);
}

.hero-btn-arrow {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.btn-gold:hover .hero-btn-arrow {
  transform: translateX(3px);
}

.btn-outline-white {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  color: #ffffff;
  font-weight: 700;
}

.btn-outline-white:hover {
  background: #ffffff;
  color: var(--color-primary);
  border-color: #ffffff;
}

.hero-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  padding: 0.4rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #292524;
  border: none;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 640px) {
  .hero-nav-arrow {
    padding: 0.5rem;
  }
}

.hero-nav-arrow:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-50%) scale(1.05);
}

.hero-arrow-prev {
  left: 0.75rem;
}

@media (min-width: 640px) {
  .hero-arrow-prev {
    left: 1rem;
  }
}

.hero-arrow-next {
  right: 0.75rem;
}

@media (min-width: 640px) {
  .hero-arrow-next {
    right: 1rem;
  }
}

.hero-dots {
  position: absolute;
  bottom: 0.75rem;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .hero-dots {
    bottom: 1.5rem;
  }
}

.hero-dot {
  height: 0.375rem;
  width: 0.5rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-dot:hover {
  background: #ffffff;
}

.hero-dot.is-active {
  width: 2rem;
  background: var(--color-primary);
}

/* --------------------------------------------------------------------------
   2. TRUST & HERITAGE BADGES SECTION (TrustBadges.tsx)
   -------------------------------------------------------------------------- */
.trust-badges-section {
  padding: 0.75rem 0;
  background-color: #faf9f6;
  border-top: 1px solid rgba(231, 229, 228, 0.4);
  border-bottom: 1px solid rgba(231, 229, 228, 0.4);
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .trust-badges-section {
    padding: 2.5rem 0;
  }
}

.trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .trust-badges-grid {
    gap: 0.875rem;
  }
}

@media (min-width: 768px) {
  .trust-badges-grid {
    gap: 1rem;
  }
}

@media (min-width: 1024px) {
  .trust-badges-grid {
    gap: 1.5rem;
  }
}

@media (min-width: 1280px) {
  .trust-badges-grid {
    gap: 2rem;
  }
}

.trust-badge-card {
  position: relative;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid rgba(231, 229, 228, 0.5);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: all 0.5s ease;
  cursor: pointer;
  overflow: hidden;
}

@media (min-width: 640px) {
  .trust-badge-card {
    padding: 1.25rem 1rem;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
  }
}

@media (min-width: 1024px) {
  .trust-badge-card {
    padding: 1.75rem 1.25rem;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 1.25rem;
  }
}

@media (min-width: 1280px) {
  .trust-badge-card {
    padding: 2rem 1.5rem;
    gap: 1.5rem;
  }
}

.trust-badge-card:hover {
  border-color: rgba(5, 150, 105, 0.3);
  box-shadow: 0 12px 32px rgba(45, 90, 39, 0.06);
  transform: translateY(-0.25rem);
}

.trust-card-graphic {
  position: absolute;
  bottom: 0.25rem;
  width: 2.5rem;
  height: 2.5rem;
  pointer-events: none;
  user-select: none;
  opacity: 0.2;
  object-fit: contain;
}

@media (min-width: 640px) {
  .trust-card-graphic {
    width: 3.5rem;
    height: 3.5rem;
  }
}

@media (min-width: 1024px) {
  .trust-card-graphic {
    width: 4.5rem;
    height: 4.5rem;
  }
}

.trust-graphic-left {
  left: 0.25rem;
}

.trust-graphic-right {
  right: 0.25rem;
  transform: scaleX(-1);
}

.trust-icon-circle {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background-color: #edf4ed;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(209, 250, 229, 0.5);
  flex-shrink: 0;
  transition: transform 0.5s ease;
}

@media (min-width: 640px) {
  .trust-icon-circle {
    width: 3.75rem;
    height: 3.75rem;
  }
}

@media (min-width: 1024px) {
  .trust-icon-circle {
    width: 4.75rem;
    height: 4.75rem;
  }
}

@media (min-width: 1280px) {
  .trust-icon-circle {
    width: 5.5rem;
    height: 5.5rem;
  }
}

.trust-badge-card:hover .trust-icon-circle {
  transform: scale(1.05);
}

.trust-icon-emerald {
  color: #065f46;
  width: 1.25rem;
  height: 1.25rem;
}

@media (min-width: 640px) {
  .trust-icon-emerald {
    width: 1.75rem;
    height: 1.75rem;
  }
}

@media (min-width: 1024px) {
  .trust-icon-emerald {
    width: 2.25rem;
    height: 2.25rem;
  }
}

.trust-text-box {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 10;
  min-width: 0; /* prevents flex child overflow */
  width: 100%;
}

@media (min-width: 1024px) {
  .trust-text-box {
    text-align: left;
    width: auto;
  }
}

.trust-pre-label {
  display: none;
  font-size: 0.5625rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #b08d57;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

@media (min-width: 640px) {
  .trust-pre-label {
    display: block;
    font-size: 0.5625rem;
  }
}

@media (min-width: 1024px) {
  .trust-pre-label {
    font-size: 0.625rem;
  }
}

.trust-card-title {
  margin-bottom: 0.25rem;
  font-weight: 800;
  color: #1c1917;
  font-size: 0.6875rem;
  line-height: 1.3;
  transition: color 0.3s ease;
  word-break: normal;
  overflow-wrap: break-word;
}

@media (min-width: 640px) {
  .trust-card-title {
    font-size: 0.8125rem;
  }
}

@media (min-width: 1024px) {
  .trust-card-title {
    font-size: 0.9375rem;
  }
}

@media (min-width: 1280px) {
  .trust-card-title {
    font-size: 1rem;
  }
}

.trust-badge-card:hover .trust-card-title {
  color: #065f46;
}

.trust-card-desc {
  display: none;
  font-size: 0.6875rem;
  color: #78716c;
  margin-top: 0.25rem;
  line-height: 1.5;
  word-break: normal;
  overflow-wrap: break-word;
}

@media (min-width: 640px) {
  .trust-card-desc {
    display: block;
    font-size: 0.6875rem;
    line-height: 1.45;
  }
}

@media (min-width: 1024px) {
  .trust-card-desc {
    font-size: 0.75rem;
    line-height: 1.6;
  }
}

/* --------------------------------------------------------------------------
   3. CATEGORY RANGE SECTION (CategoryRange.tsx)
   -------------------------------------------------------------------------- */
.category-range-section {
  padding: 1.25rem 0;
  background-color: #ffffff;
  /* background-image: url("/category_bg.jpg"); */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 1px solid rgba(231, 229, 228, 0.4);
}

@media (min-width: 768px) {
  .category-range-section {
    padding: 2.5rem 0;
  }
}

/* ─── Category Section Header — Mobile-first ─────────────────────────────── */
.category-section-header {
  display: flex;
  flex-direction: column; /* mobile: stacked */
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.category-header-text {
  flex: 1;
  width: 100%;
}

/* Subtitle on mobile: smaller + compact */
.category-section-header .section-subtitle {
  font-size: 0.625rem;
  letter-spacing: 0.14em;
}

/* Title on mobile */
.category-section-header .section-title {
  font-size: 1.25rem;
  margin-top: 0.2rem;
  line-height: 1.25;
}

/* Description hidden on mobile — too much text, clutters small screens */
.category-header-desc {
  display: none;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
  line-height: 1.5;
}

/* Tablet (640px+): show row layout */
@media (min-width: 640px) {
  .category-section-header {
    flex-direction: row; /* title left, button right */
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .category-section-header .section-subtitle {
    font-size: 0.75rem;
  }

  .category-section-header .section-title {
    font-size: 1.75rem;
  }

  .category-header-desc {
    display: block; /* visible on tablet+ */
    font-size: 0.875rem;
  }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
  .category-section-header {
    margin-bottom: 2.5rem;
  }

  .category-section-header .section-title {
    font-size: 2.25rem;
  }
}

/* ─── "All Categories" button ─────────────────────────────────────────────── */
.btn-more-categories {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  border: 1.5px solid var(--color-accent);
  color: var(--color-accent);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  align-self: flex-start; /* mobile: aligns to left under title */
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

@media (min-width: 640px) {
  .btn-more-categories {
    padding: 0.5rem 1.1rem;
    font-size: 0.8125rem;
    align-self: center; /* tablet+: vertically centered with title */
  }
}

.btn-more-categories:hover {
  background-color: var(--color-accent);
  color: #fff;
  transform: translateY(-1px);
}

.btn-more-categories svg {
  transition: transform 0.2s ease;
}

.btn-more-categories:hover svg {
  transform: translateX(3px);
}

.category-header-wrap .section-subtitle {
  font-size: 0.5625rem;
  letter-spacing: 0.15em;
}

.category-header-wrap .section-title {
  font-size: 1.125rem;
  margin: 0.25rem 0;
}

.category-header-wrap .section-desc-center {
  font-size: 0.75rem;
  line-height: 1.5;
}

@media (min-width: 640px) {
  .category-header-wrap {
    margin-bottom: 3rem;
  }
  .category-header-wrap .section-subtitle {
    font-size: 0.75rem;
  }
  .category-header-wrap .section-title {
    font-size: 2.25rem;
  }
  .category-header-wrap .section-desc-center {
    font-size: 0.875rem;
  }
}

/* Mobile & Tablet: smooth horizontal slide / carousel in a single row */
.category-range-grid {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 0.625rem;
  padding-top: 0.375rem;
  padding-bottom: 0.75rem;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(197, 168, 128, 0.5) rgba(231, 229, 228, 0.4);
}

.category-range-grid::-webkit-scrollbar {
  height: 4px;
  display: block;
}

.category-range-grid::-webkit-scrollbar-track {
  background: rgba(231, 229, 228, 0.4);
  border-radius: 9999px;
  margin: 0 1rem;
}

.category-range-grid::-webkit-scrollbar-thumb {
  background: #c5a880;
  border-radius: 9999px;
}

/* Mobile cards: ~3 items visible */
.category-range-grid .category-item-card {
  flex: 0 0 calc((100% - 1.25rem) / 3);
  min-width: calc((100% - 1.25rem) / 3);
  max-width: calc((100% - 1.25rem) / 3);
  scroll-snap-align: start;
}

/* Tablet (640px to 1023px): horizontal scroll with ~4.2 to 4.5 cards visible per view */
@media (min-width: 640px) {
  .category-range-grid {
    gap: 1rem;
    padding-bottom: 1rem;
  }

  .category-range-grid .category-item-card {
    flex: 0 0 150px;
    min-width: 150px;
    max-width: 160px;
    scroll-snap-align: start;
  }
}

@media (min-width: 768px) {
  .category-range-grid {
    gap: 1.125rem;
  }

  .category-range-grid .category-item-card {
    flex: 0 0 165px;
    min-width: 165px;
    max-width: 175px;
  }
}

/* Desktop (1024px+): full static grid in a single clean row */
@media (min-width: 1024px) {
  .category-range-grid {
    display: grid;
    grid-template-columns: repeat(var(--cat-count, 6), 1fr);
    gap: 1.25rem;
    overflow-x: visible;
    overflow-y: visible;
    scroll-snap-type: none;
    padding-bottom: 0;
  }

  .category-range-grid::-webkit-scrollbar {
    display: none;
  }

  .category-range-grid .category-item-card {
    flex: unset;
    min-width: 0;
    max-width: none;
    scroll-snap-align: none;
  }
}

@media (min-width: 1280px) {
  .category-range-grid {
    gap: 1.5rem;
  }
}

.category-item-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(231, 229, 228, 0.4);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: all 0.5s ease;
  cursor: pointer;
  text-decoration: none;
}

@media (min-width: 640px) {
  .category-item-card {
    padding: 1.5rem;
    border-radius: 8px;
  }
}

.category-item-card:hover {
  transform: translateY(-0.375rem);
}

/* 5 Exact Form Gradient Variations */
.category-rose {
  background: linear-gradient(
    135deg,
    rgba(254, 205, 211, 0.9) 0%,
    rgba(255, 241, 242, 0.55) 50%,
    rgba(250, 250, 249, 0.4) 100%
  );
}
.category-rose:hover {
  border-color: rgba(251, 113, 133, 0.9);
  box-shadow: 0 12px 24px rgba(244, 63, 94, 0.12);
}
.category-rose:hover .category-circle-img-wrap {
  border-color: #fb7185;
}
.category-rose:hover .category-item-title {
  color: #9f1239;
}
.category-rose .category-shop-tag {
  background-color: rgba(225, 29, 72, 0.95);
}

.category-emerald {
  background: linear-gradient(
    135deg,
    rgba(167, 243, 208, 0.9) 0%,
    rgba(236, 253, 245, 0.55) 50%,
    rgba(250, 250, 249, 0.4) 100%
  );
}
.category-emerald:hover {
  border-color: rgba(52, 211, 153, 0.9);
  box-shadow: 0 12px 24px rgba(16, 185, 129, 0.12);
}
.category-emerald:hover .category-circle-img-wrap {
  border-color: #34d399;
}
.category-emerald:hover .category-item-title {
  color: #065f46;
}
.category-emerald .category-shop-tag {
  background-color: rgba(5, 150, 105, 0.95);
}

.category-amber {
  background: linear-gradient(
    135deg,
    rgba(253, 230, 138, 0.9) 0%,
    rgba(254, 243, 199, 0.55) 50%,
    rgba(250, 250, 249, 0.4) 100%
  );
}
.category-amber:hover {
  border-color: rgba(251, 191, 36, 0.9);
  box-shadow: 0 12px 24px rgba(245, 158, 11, 0.12);
}
.category-amber:hover .category-circle-img-wrap {
  border-color: #fbbf24;
}
.category-amber:hover .category-item-title {
  color: #92400e;
}
.category-amber .category-shop-tag {
  background-color: rgba(217, 119, 6, 0.95);
}

.category-sky {
  background: linear-gradient(
    135deg,
    rgba(186, 230, 253, 0.9) 0%,
    rgba(240, 249, 255, 0.55) 50%,
    rgba(250, 250, 249, 0.4) 100%
  );
}
.category-sky:hover {
  border-color: rgba(56, 189, 248, 0.9);
  box-shadow: 0 12px 24px rgba(14, 165, 233, 0.12);
}
.category-sky:hover .category-circle-img-wrap {
  border-color: #38bdf8;
}
.category-sky:hover .category-item-title {
  color: #075985;
}
.category-sky .category-shop-tag {
  background-color: rgba(2, 132, 199, 0.95);
}

.category-purple {
  background: linear-gradient(
    135deg,
    rgba(233, 213, 255, 0.9) 0%,
    rgba(245, 243, 255, 0.55) 50%,
    rgba(250, 250, 249, 0.4) 100%
  );
}
.category-purple:hover {
  border-color: rgba(192, 132, 252, 0.9);
  box-shadow: 0 12px 24px rgba(168, 85, 247, 0.12);
}
.category-purple:hover .category-circle-img-wrap {
  border-color: #c084fc;
}
.category-purple:hover .category-item-title {
  color: #6b21a8;
}
.category-purple .category-shop-tag {
  background-color: rgba(147, 51, 234, 0.95);
}

.category-circle-img-wrap {
  position: relative;
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  overflow: hidden;
  border: 2px solid rgba(231, 229, 228, 0.5);
  transition: all 0.5s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

@media (min-width: 640px) {
  .category-circle-img-wrap {
    width: 5.5rem;
    height: 5.5rem;
  }
}

@media (min-width: 1024px) {
  .category-circle-img-wrap {
    width: 6.5rem;
    height: 6.5rem;
  }
}

@media (min-width: 1280px) {
  .category-circle-img-wrap {
    width: 7rem;
    height: 7rem;
  }
}

.category-circle-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-item-card:hover .category-circle-img {
  transform: scale(1.1);
}

.category-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-item-card:hover .category-hover-overlay {
  opacity: 1;
}

.category-shop-tag {
  color: #ffffff;
  font-size: 0.5rem;
  font-weight: 700;
  padding: 0.125rem 0.5rem;
  border-radius: 0.375rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transform: scale(0.9);
  transition: transform 0.5s ease;
}

@media (min-width: 640px) {
  .category-shop-tag {
    font-size: 0.625rem;
    padding: 0.25rem 0.75rem;
  }
}

.category-item-card:hover .category-shop-tag {
  transform: scale(1);
}

.category-item-title {
  margin-top: 0.5rem;
  font-weight: 700;
  color: #1c1917;
  font-size: 0.75rem;
  transition: color 0.3s ease;
}

@media (min-width: 640px) {
  .category-item-title {
    margin-top: 0.75rem;
    font-size: 0.9375rem;
  }
}

@media (min-width: 1024px) {
  .category-item-title {
    margin-top: 1rem;
    font-size: 1rem;
  }
}

.category-item-desc {
  margin-top: 0.125rem;
  font-size: 0.5625rem;
  color: #a8a29e;
  font-weight: 500;
  line-height: 1.5;
  width: 100%;
  max-width: 180px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 640px) {
  .category-item-desc {
    margin-top: 0.25rem;
    font-size: 0.6875rem;
    max-width: 200px;
  }
}

/* --------------------------------------------------------------------------
   4. FEATURED FORMULATIONS SECTION (FeaturedFormulations.tsx)
   -------------------------------------------------------------------------- */
.featured-formulations-section {
  padding: 1.25rem 0;
  background-color: var(--color-bg-base);
}

@media (min-width: 768px) {
  .featured-formulations-section {
    padding: 4rem 0;
  }
}

.text-start-wrap {
  text-align: left;
  margin-bottom: 0.875rem; /* tight on mobile */
}

@media (min-width: 768px) {
  .text-start-wrap {
    margin-bottom: 2.5rem;
  }
}

/* Featured section title — left-aligned, smaller on mobile */
.text-start-wrap .section-title {
  font-size: 1.25rem;
}

@media (min-width: 640px) {
  .text-start-wrap .section-title {
    font-size: 1.75rem;
  }
}

@media (min-width: 768px) {
  .text-start-wrap .section-title {
    font-size: 2.25rem;
  }
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .products-grid {
    gap: 1.25rem;
  }
}

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.btn-view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background-color: #ffffff;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-decoration: none;
}

@media (min-width: 640px) {
  .btn-view-all {
    gap: 0.75rem;
    font-size: 0.875rem;
    letter-spacing: 0.15em;
    padding: 0.875rem 2.5rem;
    border-radius: 8px;
  }
}

.btn-view-all:hover {
  background-color: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(45, 90, 39, 0.2);
}

.btn-view-all svg {
  transition: transform 0.3s ease;
}

.btn-view-all:hover svg {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   5. TESTIMONIAL CAROUSEL SECTION (TestimonialCarousel.tsx)
   -------------------------------------------------------------------------- */
.testimonials-section {
  padding: 1.25rem 0;
  background-color: #12281a; /* Solid on mobile for fast lag-free scrolling */
  border-top: 1px solid rgba(45, 90, 39, 0.2);
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .testimonials-section {
    padding: 3rem 0;
  }
}

@media (min-width: 1024px) {
  .testimonials-section {
    /* Translucent on desktop so body background image shows through */
    background-color: rgba(20, 50, 30, 0.78);
  }
}

.testimonial-glow-top {
  position: absolute;
  top: 0;
  right: 25%;
  width: 24rem;
  height: 24rem;
  background: rgba(45, 90, 39, 0.1);
  border-radius: 9999px;
  filter: blur(64px);
  pointer-events: none;
}

.testimonial-glow-bottom {
  position: absolute;
  bottom: 0;
  left: 25%;
  width: 24rem;
  height: 24rem;
  background: rgba(212, 160, 23, 0.08);
  border-radius: 9999px;
  filter: blur(64px);
  pointer-events: none;
}

.testimonials-container {
  position: relative;
  z-index: 10;
}

.testimonials-header-row {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .testimonials-header-row {
    flex-direction: row;
    align-items: flex-end;
    gap: 1.5rem;
    margin-bottom: 3rem;
  }
}

.testimonials-title-box {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: left;
}

@media (min-width: 640px) {
  .testimonials-title-box {
    gap: 0.5rem;
  }
}

.testimonials-title-box .section-subtitle {
  margin: 0;
  font-size: 0.5625rem;
  letter-spacing: 0.15em;
  color: var(--color-accent);
}

@media (min-width: 640px) {
  .testimonials-title-box .section-subtitle {
    font-size: 0.75rem;
  }
}

.subtitle-accent {
  color: var(--color-accent);
}

.testimonials-main-title {
  margin: 0;
  padding: 0;
  font-size: 1.2rem; /* mobile */
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

@media (min-width: 640px) {
  .testimonials-main-title {
    font-size: 1.75rem;
  }
}

@media (min-width: 768px) {
  .testimonials-main-title {
    font-size: 2.25rem;
  }
}

.testimonials-desc {
  margin: 0;
  padding: 0;
  font-size: 0.6875rem;
  color: #e7e5e4;
  max-width: 36rem;
  line-height: 1.6;
}

@media (min-width: 640px) {
  .testimonials-desc {
    font-size: 0.875rem;
  }
}

.testimonial-nav-btns {
  display: none;
  align-items: center;
  gap: 0.375rem;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .desktop-only-flex {
    display: flex;
  }
}

.testimonial-arrow-btn {
  padding: 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.testimonial-arrow-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.testimonials-track-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 0.5rem 0 1.25rem;
}

.testimonials-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 1.5rem;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.testimonial-card {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  display: flex;
  background-color: #ffffff;
  border: 1px solid rgba(231, 229, 228, 0.5);
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  flex-direction: column;
  justify-content: space-between;
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

@media (min-width: 640px) {
  .testimonial-card {
    padding: 2rem;
  }
}

@media (min-width: 768px) {
  .testimonial-card {
    flex: 0 0 calc((100% - 1.5rem) / 2);
    width: calc((100% - 1.5rem) / 2);
    max-width: calc((100% - 1.5rem) / 2);
  }
}

@media (min-width: 1024px) {
  .testimonial-card {
    flex: 0 0 calc((100% - 3rem) / 3);
    width: calc((100% - 3rem) / 3);
    max-width: calc((100% - 3rem) / 3);
  }
}

.testimonial-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 10px 25px rgba(231, 229, 228, 0.4);
}

.testimonial-quote-bg {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: #f5f5f4;
  opacity: 0.8;
  pointer-events: none;
}

.testimonial-body-box {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  text-align: left;
}

@media (min-width: 640px) {
  .testimonial-body-box {
    gap: 1rem;
  }
}

.testimonial-stars-row {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.star-icon-gold {
  width: 0.75rem;
  height: 0.75rem;
}

@media (min-width: 640px) {
  .star-icon-gold {
    width: 0.875rem;
    height: 0.875rem;
  }
}

.testimonial-quote-text {
  font-size: 0.6875rem;
  color: #44403c;
  line-height: 1.6;
  font-style: italic;
  font-weight: 500;
}

@media (min-width: 640px) {
  .testimonial-quote-text {
    font-size: 0.875rem;
  }
}

.testimonial-author-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.875rem;
  border-top: 1px solid #f5f5f4;
  margin-top: 1rem;
  text-align: left;
}

@media (min-width: 640px) {
  .testimonial-author-row {
    padding-top: 1.25rem;
    margin-top: 1.5rem;
  }
}

.testimonial-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.625rem;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .testimonial-avatar {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 0.75rem;
  }
}

.avatar-bg-emerald {
  background-color: #047857;
  color: #d1fae5;
}
.avatar-bg-amber {
  background-color: #b45309;
  color: #fef3c7;
}
.avatar-bg-teal {
  background-color: #0f766e;
  color: #ccfbf1;
}
.avatar-bg-stone {
  background-color: #44403c;
  color: #f5f5f4;
}
.avatar-bg-green {
  background-color: #15803d;
  color: #dcfce7;
}
.avatar-bg-olive {
  background-color: #3f6212;
  color: #f7fee7;
}

.testimonial-author-info {
  flex-grow: 1;
  min-width: 0;
}

.testimonial-name-row {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  flex-wrap: wrap;
}

.testimonial-author-name {
  font-weight: 700;
  color: #1c1917;
  font-size: 0.75rem;
}

@media (min-width: 640px) {
  .testimonial-author-name {
    font-size: 0.875rem;
  }
}

.verified-badge {
  background-color: #ecfdf5;
  color: #047857;
  font-size: 0.4375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.125rem 0.25rem;
  border-radius: 0.25rem;
  border: 1px solid #d1fae5;
  display: inline-flex;
  align-items: center;
  gap: 0.125rem;
}

.testimonial-author-role {
  font-size: 0.5625rem;
  color: #a8a29e;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 640px) {
  .testimonial-author-role {
    font-size: 0.625rem;
  }
}

.testimonial-controls-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .testimonial-controls-bottom {
    margin-top: 2rem;
  }
  .mobile-only-btn {
    display: none;
  }
}

.testimonial-dots-row {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.testimonial-dot-btn {
  height: 0.25rem;
  width: 0.25rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-dot-btn:hover {
  background: rgba(255, 255, 255, 0.6);
}

.testimonial-dot-btn.is-active {
  width: 1rem;
  background: var(--color-accent);
}

/* --------------------------------------------------------------------------
   6. VEDIC JOURNAL SECTION (VedicJournal.tsx)
   -------------------------------------------------------------------------- */
.vedic-journal-section {
  padding: 1.25rem 0;
  background-color: #ffffff;
  border-top: 1px solid rgba(231, 229, 228, 0.5);
}

@media (min-width: 768px) {
  .vedic-journal-section {
    padding: 4rem 0;
  }
}

.journal-header-row {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .journal-header-row {
    flex-direction: row;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 3rem;
  }
}

.journal-header-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: left;
}

.journal-header-desc {
  display: none; /* hidden on mobile — too verbose */
  font-size: 0.6875rem;
  color: #78716c;
}

@media (min-width: 640px) {
  .journal-header-desc {
    display: block;
    font-size: 0.875rem;
  }
}

.journal-view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
  padding: 0.35rem 0.85rem;
  border: 1.5px solid var(--color-primary);
  border-radius: 9999px;
  white-space: nowrap;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
  align-self: flex-start; /* mobile: sits under title */
}

@media (min-width: 640px) {
  .journal-view-all-link {
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
    align-self: center; /* tablet+: vertically centered */
    border: none;
  }
}

.journal-view-all-link:hover {
  color: var(--color-primary-dark);
}

.journal-view-all-link svg {
  transition: transform 0.3s ease;
}

.journal-view-all-link:hover svg {
  transform: translateX(4px);
}

/* Mobile: smooth horizontal slide / carousel for Vedic Journal cards */
.journal-cards-grid {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 0.875rem;
  padding-top: 0.375rem;
  padding-bottom: 0.85rem;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(197, 168, 128, 0.5) rgba(231, 229, 228, 0.4);
}

.journal-cards-grid::-webkit-scrollbar {
  height: 3px;
  display: block;
}

.journal-cards-grid::-webkit-scrollbar-track {
  background: rgba(231, 229, 228, 0.4);
  border-radius: 9999px;
  margin: 0 1.5rem;
}

.journal-cards-grid::-webkit-scrollbar-thumb {
  background: #c5a880;
  border-radius: 9999px;
}

.journal-cards-grid .journal-blog-card {
  flex: 0 0 calc(85% - 0.5rem);
  min-width: calc(85% - 0.5rem);
  max-width: calc(85% - 0.5rem);
  scroll-snap-align: start;
}

@media (min-width: 480px) and (max-width: 767px) {
  .journal-cards-grid .journal-blog-card {
    flex: 0 0 calc(65% - 0.5rem);
    min-width: calc(65% - 0.5rem);
    max-width: calc(65% - 0.5rem);
  }
}

/* Tablet (768px+): restore 2-column grid layout */
@media (min-width: 768px) {
  .journal-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    overflow-x: visible;
    overflow-y: visible;
    scroll-snap-type: none;
    padding-top: 0;
    padding-bottom: 0;
  }

  .journal-cards-grid::-webkit-scrollbar {
    display: none;
  }

  .journal-cards-grid .journal-blog-card {
    flex: unset;
    min-width: 0;
    max-width: none;
    scroll-snap-align: none;
  }
}

/* Desktop (1024px+): 3-column grid layout */
@media (min-width: 1024px) {
  .journal-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.journal-blog-card {
  background: rgba(250, 250, 249, 0.5);
  border-radius: 8px;
  border: 1px solid rgba(231, 229, 228, 0.4);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
  transition: all 0.4s ease;
  cursor: pointer;
}

.journal-blog-card:hover {
  background-color: #ffffff;
  border-color: rgba(212, 160, 23, 0.4);
  box-shadow: 0 10px 25px rgba(231, 229, 228, 0.5);
  transform: translateY(-0.25rem);
}

.journal-img-container {
  position: relative;
  height: 10rem;
  overflow: hidden;
}

@media (min-width: 640px) {
  .journal-img-container {
    height: 14rem;
  }
}

.journal-feature-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.journal-blog-card:hover .journal-feature-img {
  transform: scale(1.05);
}

.journal-cat-pill {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background-color: rgba(45, 90, 39, 0.9);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.5625rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  z-index: 2;
  transition: all 0.25s ease;
}

.journal-cat-pill:hover {
  background-color: rgba(31, 71, 56, 1);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.journal-content-wrap {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
}

@media (min-width: 640px) {
  .journal-content-wrap {
    padding: 2rem;
    gap: 1.5rem;
  }
}

.journal-text-block {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .journal-text-block {
    gap: 0.75rem;
  }
}

.journal-meta-row {
  display: flex;
  align-items: center;
  font-size: 0.625rem;
  font-weight: 700;
  color: #a8a29e;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  gap: 0.625rem;
}

.meta-dot {
  width: 0.25rem;
  height: 0.25rem;
  background-color: #d6d3d1;
  border-radius: 9999px;
}

.journal-blog-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #1c1917;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s ease;
}

@media (min-width: 640px) {
  .journal-blog-title {
    font-size: 1.125rem;
  }
}

.journal-blog-title a {
  text-decoration: none;
  color: inherit;
}

.journal-blog-card:hover .journal-blog-title {
  color: var(--color-primary);
}

.journal-blog-summary {
  color: #78716c;
  font-size: 0.6875rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 640px) {
  .journal-blog-summary {
    font-size: 0.875rem;
  }
}

.journal-author-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid #f5f5f4;
}

@media (min-width: 640px) {
  .journal-author-row {
    padding-top: 1rem;
  }
}

.journal-author-avatar {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9999px;
  overflow: hidden;
  background-color: #e7e5e4;
  border: 1px solid rgba(214, 211, 209, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #57534e;
  font-weight: 800;
  font-size: 0.5625rem;
  text-transform: uppercase;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .journal-author-avatar {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 0.625rem;
  }
}

.journal-author-details {
  display: flex;
  flex-direction: column;
  text-align: left;
  min-width: 0;
}

.journal-author-name {
  font-size: 0.625rem;
  font-weight: 700;
  color: #44403c;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

@media (min-width: 640px) {
  .journal-author-name {
    font-size: 0.6875rem;
  }
}

.journal-author-exp {
  font-size: 0.5rem;
  color: #a8a29e;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

@media (min-width: 640px) {
  .journal-author-exp {
    font-size: 0.5625rem;
  }
}

/* --------------------------------------------------------------------------
   7. OUR CERTIFICATIONS SECTION (OurCertifications.tsx)
   -------------------------------------------------------------------------- */
.cert-section {
  background: linear-gradient(135deg, #fcf6eb 0%, #faf4e8 50%, #f4ebd6 100%);
  padding: 3rem 1.5rem;
  position: relative;
  overflow: hidden;
}

@media (max-width: 640px) {
  .cert-section {
    padding: 1.5rem 0;
  }
}

.cert-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(212, 160, 23, 0.4),
    transparent
  );
}

.text-center-wrap {
  text-align: center;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .text-center-wrap {
    margin-bottom: 2.5rem;
    gap: 0.75rem;
    padding: 0;
  }
}

.cert-section .section-subtitle {
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  margin-bottom: 0.15rem;
}

@media (min-width: 640px) {
  .cert-section .section-subtitle {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    margin-bottom: 0.35rem;
  }
}

.cert-section .section-title {
  font-size: 1.25rem;
  line-height: 1.2;
}

@media (min-width: 640px) {
  .cert-section .section-title {
    font-size: 2rem;
  }
}

@media (min-width: 768px) {
  .cert-section .section-title {
    font-size: 2.5rem;
  }
}

.cert-section .section-desc-center {
  font-size: 0.75rem;
  line-height: 1.45;
  color: #78716c;
  max-width: 32rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .cert-section .section-desc-center {
    font-size: 0.9375rem;
    line-height: 1.6;
    max-width: 42rem;
  }
}

.cert-title-flanked {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .cert-title-flanked {
    gap: 1.5rem;
  }
}

.cert-title-border {
  width: 1rem;
  opacity: 0.8;
}

@media (min-width: 640px) {
  .cert-title-border {
    width: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .cert-title-border {
    width: 1.75rem;
  }
}

.cert-title-border-flipped {
  transform: scaleX(-1);
}

.cert-carousel-wrap {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 0.5rem 0;
  max-width: 1400px;
  margin: 0 auto;
}

.cert-carousel-wrap::before,
.cert-carousel-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

@media (max-width: 640px) {
  .cert-carousel-wrap::before,
  .cert-carousel-wrap::after {
    width: 40px;
  }
}

.cert-carousel-wrap::before {
  left: 0;
  background: linear-gradient(to right, #fcf6eb, transparent);
}

.cert-carousel-wrap::after {
  right: 0;
  background: linear-gradient(to left, #f4ebd6, transparent);
}

.cert-carousel-track {
  display: flex;
  width: max-content;
  gap: 1.5rem;
  animation: certScroll 25s linear infinite;
}

@media (max-width: 640px) {
  .cert-carousel-track {
    gap: 1rem;
    animation-duration: 20s;
  }
}

.cert-carousel-track:hover,
.cert-carousel-track.is-paused {
  animation-play-state: paused;
}

@keyframes certScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 0.75rem));
  }
}

.cert-card {
  width: 280px;
  flex-shrink: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  background: #ffffff;
  border: 1.5px solid rgba(212, 160, 23, 0.2);
  border-radius: 8px;
  padding: 1.25rem;
  box-shadow: 0 4px 20px rgba(60, 30, 10, 0.04);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

@media (max-width: 640px) {
  .cert-card {
    width: 220px;
    padding: 0.85rem;
    gap: 0.65rem;
  }
}

.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(212, 160, 23, 0.12);
  border-color: rgba(212, 160, 23, 0.5);
}

.cert-img-wrap {
  width: 90px;
  height: 90px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  background: #fdfaf6;
  border-radius: 8px;
  border: 1px solid rgba(212, 160, 23, 0.15);
}

@media (max-width: 640px) {
  .cert-img-wrap {
    width: 56px;
    height: 56px;
    padding: 0.2rem;
  }
}

.cert-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cert-text {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: left;
}

.cert-label {
  font-size: 1.05rem;
  font-weight: 800;
  color: #2c1e0f;
  margin: 0;
  letter-spacing: 0.02em;
}

@media (max-width: 640px) {
  .cert-label {
    font-size: 0.85rem;
  }
}

.cert-desc {
  font-size: 0.8rem;
  color: #7a6652;
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .cert-desc {
    font-size: 0.65rem;
  }
}

/* --------------------------------------------------------------------------
   Clickable Certification Cards & Interactive Lightbox Modal
   -------------------------------------------------------------------------- */
.cert-card.is-clickable {
  cursor: pointer;
  position: relative;
  user-select: none;
}

.cert-card.is-clickable:hover {
  transform: translateY(-5px);
  border-color: #d4a017;
  box-shadow: 0 14px 30px rgba(31, 71, 56, 0.12), 0 0 0 1.5px rgba(212, 160, 23, 0.4);
}

.cert-card.is-clickable:focus-visible {
  outline: 2px solid #1f4738;
  outline-offset: 2px;
}

.cert-click-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
  background: #1f4738;
  border: 1px solid #1f4738;
  border-radius: 9999px;
  padding: 2px 7px;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(31, 71, 56, 0.25);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.cert-card.is-clickable:hover .cert-click-badge,
.cert-card.is-clickable:focus-visible .cert-click-badge {
  opacity: 1;
  transform: translateY(0);
}

/* Certificate Lightbox Modal */
.cert-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(18, 30, 24, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.cert-modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cert-modal-dialog {
  background: #ffffff;
  border-radius: 16px;
  border: 1.5px solid rgba(212, 160, 23, 0.45);
  box-shadow: 0 25px 65px -10px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  max-width: 840px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.94) translateY(12px);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.cert-modal-backdrop.is-open .cert-modal-dialog {
  transform: scale(1) translateY(0);
}

.cert-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #1f4738 0%, #153327 100%);
  color: #ffffff;
  border-bottom: 2px solid #d4a017;
}

.cert-modal-header-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.cert-modal-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffd875;
  font-size: 0.725rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.cert-modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.01em;
  font-family: inherit;
}

.cert-modal-desc {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
  line-height: 1.4;
}

.cert-modal-close {
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.cert-modal-close:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: rotate(90deg);
}

.cert-modal-body {
  padding: 1.25rem 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  background: #fbf9f4;
}

.cert-modal-preview-area {
  background: #ffffff;
  border: 1px solid rgba(212, 160, 23, 0.25);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  max-height: 60vh;
}

.cert-modal-img-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: #ffffff;
}

.cert-modal-img {
  max-width: 100%;
  max-height: 54vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.cert-modal-pdf-wrap {
  width: 100%;
  height: 56vh;
  min-height: 420px;
  background: #ffffff;
  overflow: hidden;
  border-radius: 6px;
}

.cert-modal-pdf-frame {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  background: #ffffff;
}

.cert-modal-fallback {
  padding: 3rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: #635343;
  font-size: 0.95rem;
}

.cert-modal-fallback-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1f4738;
  margin: 0;
}

.cert-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: #ffffff;
  border-top: 1px solid #ede8de;
}

.cert-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #1f4738;
  color: #ffffff !important;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid #d4a017;
  transition: all 0.2s ease;
}

.cert-btn-primary:hover {
  background: #153327;
  box-shadow: 0 4px 12px rgba(31, 71, 56, 0.3);
  transform: translateY(-1px);
}

.cert-btn-secondary {
  background: #f4ede0;
  color: #4a3e31;
  border: 1px solid rgba(212, 160, 23, 0.3);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cert-btn-secondary:hover {
  background: #e8decc;
}

@media (max-width: 640px) {
  .cert-modal-backdrop {
    padding: 0.5rem;
  }
  .cert-modal-dialog {
    max-height: 94vh;
    width: 100%;
    border-radius: 12px;
  }
  .cert-modal-header {
    padding: 0.75rem 1rem;
  }
  .cert-modal-title {
    font-size: 1.1rem;
  }
  .cert-modal-desc {
    font-size: 0.75rem;
  }
  .cert-modal-body {
    padding: 0.5rem;
  }
  .cert-modal-preview-area {
    min-height: auto;
    max-height: 75vh;
    border-radius: 8px;
    padding: 0;
  }
  .cert-modal-img-wrap {
    padding: 0.25rem;
    width: 100%;
  }
  .cert-modal-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 72vh;
    object-fit: contain;
  }
  .cert-modal-pdf-wrap {
    height: 65vh;
  }
}

/* --------------------------------------------------------------------------
   8. SLEEK AYURVEDIC VAIDYA CTA STRIP (Compact & Elegant)
   -------------------------------------------------------------------------- */
.sleek-cta-section {
  padding: 1.5rem 0;
  background-color: var(--color-bg-base);
}

.sleek-cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
  padding: 1.25rem 2rem;
  background: linear-gradient(135deg, #1b3818 0%, #254d22 100%);
  border: 1px solid rgba(212, 160, 23, 0.35);
  border-radius: 12px;
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(29, 60, 26, 0.14);
  position: relative;
  overflow: hidden;
}

.sleek-cta-strip::after {
  content: "";
  position: absolute;
  right: -30px;
  top: -30px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(212, 160, 23, 0.16) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.sleek-cta-content {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  min-width: 0;
}

.sleek-cta-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(212, 160, 23, 0.18);
  border: 1px solid rgba(212, 160, 23, 0.4);
  color: #f5c842;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  animation: ambientGoldPulse 3.5s ease-in-out infinite;
}

@keyframes ambientGoldPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(212, 160, 23, 0.35);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(212, 160, 23, 0);
  }
}

.sleek-cta-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.sleek-cta-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #f5c842;
}

.sleek-cta-title {
  font-family: var(--font-family-sans, "Inter", sans-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  line-height: 1.35;
  text-transform: none;
  letter-spacing: -0.01em;
}

.sleek-cta-subtitle {
  font-size: 0.825rem;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
  line-height: 1.4;
}

.sleek-cta-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.sleek-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  background-color: #f5c842;
  color: #173815;
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.sleek-cta-btn svg {
  transition: transform 0.25s ease;
}

.sleek-cta-btn:hover {
  background-color: #ffe066;
  color: #0f270d;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(245, 200, 66, 0.5);
}

.sleek-cta-btn:hover svg {
  transform: translateX(4px);
}

@media (max-width: 900px) {
  .sleek-cta-section {
    padding: 1rem 0;
  }
  .sleek-cta-strip {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.15rem 1.25rem;
    gap: 0.85rem;
  }
  .sleek-cta-content {
    align-items: flex-start;
  }
  .sleek-cta-title {
    font-size: 1.05rem;
  }
  .sleek-cta-actions {
    width: 100%;
    gap: 0.5rem;
  }
  .sleek-cta-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .sleek-cta-section {
    padding: 0.65rem 0;
  }
  .sleek-cta-strip {
    padding: 0.85rem 1rem;
    gap: 0.75rem;
    border-radius: 8px;
  }
  .sleek-cta-content {
    gap: 0.75rem;
  }
  .sleek-cta-icon-wrap {
    width: 32px;
    height: 32px;
    border-radius: 7px;
  }
  .sleek-cta-icon-wrap svg {
    width: 16px;
    height: 16px;
  }
  .sleek-cta-badge {
    font-size: 0.625rem;
    letter-spacing: 0.06em;
  }
  .sleek-cta-title {
    font-size: 0.925rem;
    line-height: 1.3;
  }
  .sleek-cta-subtitle {
    font-size: 0.725rem;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.78);
  }
  .sleek-cta-actions {
    margin-top: 0.15rem;
  }
  .sleek-cta-btn {
    padding: 0.45rem 1rem;
    font-size: 0.8rem;
    border-radius: 6px;
  }
  .sleek-cta-btn svg {
    width: 13px;
    height: 13px;
  }
}

/* ==========================================================================
   CONTACT PAGE - CLEAN MODERN AYURVEDIC DESIGN STYLES
   ========================================================================== */

/* Hero Banner */
.contact-hero-wrap {
  position: relative;
  background: radial-gradient(
    circle at 50% 20%,
    #173322 0%,
    #0d1a12 70%,
    #08100b 100%
  );
  color: #ffffff;
  padding: 3.5rem 1.5rem 6.5rem;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(212, 160, 23, 0.25);
  font-family: var(--font-family-sans, "Inter", sans-serif);
}

.contact-hero-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(212, 160, 23, 0.12) 1px,
    transparent 1px
  );
  background-size: 32px 32px;
  opacity: 0.5;
  pointer-events: none;
}

.contact-hero-inner {
  max-width: 52rem;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Breadcrumb inside Hero */
.contact-hero-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.25rem;
  list-style: none;
  padding: 0;
}

.contact-hero-breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-hero-breadcrumb a:hover {
  color: #f5c842;
}

.contact-hero-breadcrumb .breadcrumb-sep {
  color: rgba(255, 255, 255, 0.35);
  user-select: none;
}

.contact-hero-breadcrumb .breadcrumb-current {
  color: #ffffff;
  font-weight: 600;
}

.contact-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-family-sans, "Inter", sans-serif);
  font-size: 0.775rem;
  font-weight: 600;
  color: #f5c842;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  background: rgba(245, 200, 66, 0.12);
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  border: 1px solid rgba(245, 200, 66, 0.3);
}

.contact-hero-badge svg {
  width: 0.95rem;
  height: 0.95rem;
}

.contact-hero-title {
  font-family: var(--font-family-sans, "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  font-size: 2.25rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 0.75rem;
}

.contact-hero-desc {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.975rem;
  line-height: 1.6;
  max-width: 42rem;
  margin: 0 auto;
}

/* Main 2-Column Section Elevated & Overlapping Header */
.contact-main-wrap {
  margin-top: -4.5rem;
  position: relative;
  z-index: 4;
  margin-bottom: 4rem;
}

.contact-layout-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 2.25rem;
  align-items: start;
}

/* Contact Form Card */
.contact-form-card {
  background: #ffffff;
  border: 1px solid rgba(45, 90, 39, 0.14);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  position: relative;
}

.contact-form-header {
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #f0ede6;
}

.contact-form-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #b8860b;
  display: block;
  margin-bottom: 0.35rem;
}

.contact-form-title {
  font-family: var(--font-family-sans, "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: #173815;
  margin: 0 0 0.4rem;
  letter-spacing: -0.01em;
}

.contact-form-subtitle {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.5;
  margin: 0;
}

.contact-form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.contact-form-group {
  margin-bottom: 1.25rem;
}

.contact-form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.45rem;
  letter-spacing: 0.01em;
}

.contact-input-wrapper {
  position: relative;
}

.contact-input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  pointer-events: none;
}

.contact-form-input {
  width: 100%;
  padding: 0.8rem 1rem 0.8rem 2.65rem;
  font-size: 0.9375rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fafaf9;
  color: #1f2937;
  outline: none;
  transition: all 0.2s ease;
  font-family: var(--font-family-sans, "Inter", sans-serif);
  box-sizing: border-box;
}

.contact-form-input:focus {
  border-color: #2d5a27;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(45, 90, 39, 0.12);
}

.contact-form-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 0.9375rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fafaf9;
  color: #1f2937;
  outline: none;
  transition: all 0.2s ease;
  resize: vertical;
  min-height: 135px;
  font-family: var(--font-family-sans, "Inter", sans-serif);
  box-sizing: border-box;
}

.contact-form-textarea:focus {
  border-color: #2d5a27;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(45, 90, 39, 0.12);
}

.contact-submit-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: #2d5a27;
  color: #ffffff;
  font-size: 0.975rem;
  font-weight: 600;
  padding: 0.9rem 1.75rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(45, 90, 39, 0.25);
  font-family: var(--font-family-sans, "Inter", sans-serif);
}

.contact-submit-btn:hover {
  background: #1e3d1a;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(45, 90, 39, 0.35);
}

.contact-privacy-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.785rem;
  color: #78716c;
  margin-top: 1rem;
  text-align: center;
}

/* Success Card */
.contact-success-card {
  text-align: center;
  padding: 3rem 2rem;
}

.contact-success-icon {
  width: 64px;
  height: 64px;
  background: #ecfdf5;
  color: #10b981;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border: 2px solid rgba(16, 185, 129, 0.3);
}

.contact-success-title {
  font-family: var(--font-family-sans, "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: #173815;
  margin-bottom: 0.75rem;
}

.contact-success-desc {
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 28rem;
  margin: 0 auto 1.75rem;
}

/* Sidebar Channels */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-channel-card {
  background: #ffffff;
  border: 1px solid rgba(45, 90, 39, 0.12);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.contact-channel-card.featured-channel {
  background: #fdfcf7;
  border-color: rgba(212, 160, 23, 0.4);
}

.contact-channel-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.contact-channel-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-channel-icon.green {
  background: rgba(45, 90, 39, 0.1);
  color: #2d5a27;
}

.contact-channel-icon.gold {
  background: rgba(212, 160, 23, 0.15);
  color: #b8860b;
}

.contact-channel-icon.whatsapp {
  background: #25D366;
  color: #ffffff;
}

.contact-channel-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
}

.contact-channel-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b7280;
}

.contact-channel-detail {
  font-size: 1.15rem;
  font-weight: 700;
  color: #173815;
  margin: 0.25rem 0 0.4rem;
}

.contact-channel-detail a {
  color: inherit;
  text-decoration: none;
}

.contact-channel-detail a:hover {
  color: #2d5a27;
  text-decoration: underline;
}

.contact-channel-meta {
  font-size: 0.8125rem;
  color: #6b7280;
  line-height: 1.5;
  margin: 0;
}

.contact-wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  background: #128C7E;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.25rem;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 0.85rem;
  transition: all 0.25s ease;
  box-shadow: 0 3px 12px rgba(18, 140, 126, 0.3);
  box-sizing: border-box;
}

.contact-wa-btn:hover {
  background: #0d7065;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(18, 140, 126, 0.45);
}

.contact-wa-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.contact-sla-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fde68a;
  border-radius: 6px;
  padding: 0.45rem 0.75rem;
  font-size: 0.785rem;
  font-weight: 600;
  width: 100%;
  margin-top: 0.75rem;
  box-sizing: border-box;
}

/* Bottom Pillars Section */
.contact-pillars-wrap {
  margin-top: 1.5rem;
  margin-bottom: 4rem;
  padding-top: 2.75rem;
  border-top: 1px solid rgba(45, 90, 39, 0.12);
}

.contact-pillars-title {
  text-align: center;
  font-family: var(--font-family-sans, "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: #173815;
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

.contact-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.contact-pillar-card {
  background: #ffffff;
  border: 1px solid rgba(45, 90, 39, 0.1);
  border-radius: 10px;
  padding: 1.75rem 1.5rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.contact-pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(45, 90, 39, 0.08);
  color: #2d5a27;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.contact-pillar-name {
  font-size: 1.025rem;
  font-weight: 700;
  color: #173815;
  margin-bottom: 0.4rem;
}

.contact-pillar-text {
  font-size: 0.85rem;
  color: #6b7280;
  line-height: 1.55;
  margin: 0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .contact-layout-grid {
    grid-template-columns: 1fr;
  }
  .contact-pillars-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .contact-hero-wrap {
    padding: 2.25rem 1rem 4rem;
  }
  .contact-main-wrap {
    margin-top: -2.5rem;
  }
  .contact-hero-title {
    font-size: 1.75rem;
  }
  .contact-form-grid-2 {
    grid-template-columns: 1fr;
  }
  .contact-form-card {
    padding: 1.5rem 1.25rem;
  }
}

/* ==========================================================================
   DHANVANTARI - SUBTLE & ORGANIC ANIMATIONS (SCROLL REVEAL & MICRO-INTERACTIONS)
   Zero Layout Shifts - GPU Accelerated - A11y & Performance Compliant
   ========================================================================== */

/* 1. Base Reveal States (Progressive Enhancement - only active if reveal-ready class is present on <html>) */
.reveal-ready .reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-ready .reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* 2. Grid Children Stagger Delays (Organic sequential appearance) */
/* Trust Badges */
.reveal-ready .trust-badges-grid .trust-badge-card:nth-child(1) { transition-delay: 0.04s; }
.reveal-ready .trust-badges-grid .trust-badge-card:nth-child(2) { transition-delay: 0.14s; }
.reveal-ready .trust-badges-grid .trust-badge-card:nth-child(3) { transition-delay: 0.24s; }

/* Category Range items */
.reveal-ready .category-range-grid .category-item-card:nth-child(1) { transition-delay: 0.04s; }
.reveal-ready .category-range-grid .category-item-card:nth-child(2) { transition-delay: 0.10s; }
.reveal-ready .category-range-grid .category-item-card:nth-child(3) { transition-delay: 0.16s; }
.reveal-ready .category-range-grid .category-item-card:nth-child(4) { transition-delay: 0.22s; }
.reveal-ready .category-range-grid .category-item-card:nth-child(5) { transition-delay: 0.28s; }
.reveal-ready .category-range-grid .category-item-card:nth-child(6) { transition-delay: 0.34s; }

/* Featured Products grid */
.reveal-ready .products-grid .product-card:nth-child(1) { transition-delay: 0.05s; }
.reveal-ready .products-grid .product-card:nth-child(2) { transition-delay: 0.12s; }
.reveal-ready .products-grid .product-card:nth-child(3) { transition-delay: 0.19s; }
.reveal-ready .products-grid .product-card:nth-child(4) { transition-delay: 0.26s; }
.reveal-ready .products-grid .product-card:nth-child(5) { transition-delay: 0.33s; }
.reveal-ready .products-grid .product-card:nth-child(6) { transition-delay: 0.40s; }
.reveal-ready .products-grid .product-card:nth-child(7) { transition-delay: 0.47s; }
.reveal-ready .products-grid .product-card:nth-child(8) { transition-delay: 0.54s; }

/* Vedic Journal cards */
.reveal-ready .journal-cards-grid .journal-blog-card:nth-child(1) { transition-delay: 0.06s; }
.reveal-ready .journal-cards-grid .journal-blog-card:nth-child(2) { transition-delay: 0.16s; }
.reveal-ready .journal-cards-grid .journal-blog-card:nth-child(3) { transition-delay: 0.26s; }

/* Testimonials track wrap soft fade */
.reveal-ready .testimonials-track-wrap.reveal-on-scroll {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-ready .testimonials-track-wrap.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile container safe transforms (prevents clipping in overflow-x sliders) */
@media (max-width: 1023px) {
  .reveal-ready .category-range-grid .category-item-card.reveal-on-scroll {
    transform: translateY(10px) scale(0.98);
  }
  .reveal-ready .category-range-grid .category-item-card.is-revealed {
    transform: translateY(0) scale(1);
  }
}

/* 3. Section Titles & Subtitles Soft Float */
.reveal-ready .section-title-wrap.reveal-on-scroll,
.reveal-ready .category-section-header.reveal-on-scroll,
.reveal-ready .journal-header-row.reveal-on-scroll,
.reveal-ready .testimonials-header-row.reveal-on-scroll,
.reveal-ready .cert-section .text-center-wrap.reveal-on-scroll {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-ready .section-title-wrap.is-revealed,
.reveal-ready .category-section-header.is-revealed,
.reveal-ready .journal-header-row.is-revealed,
.reveal-ready .testimonials-header-row.is-revealed,
.reveal-ready .cert-section .text-center-wrap.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* 4. Enhanced Hover Micro-Interactions */
/* Hero Navigation Buttons subtle hover pop */
.hero-nav-arrow {
  transition: background-color 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}
.hero-nav-arrow:hover {
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Category card subtle elevation */
.category-item-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}
.category-item-card:hover {
  transform: translateY(-5px);
}

/* Journal Blog cards subtle lift & reading arrow glide */
.journal-view-all-link svg,
.btn-view-all svg,
.btn-more-categories svg {
  transition: transform 0.25s ease;
}
.journal-view-all-link:hover svg,
.btn-view-all:hover svg,
.btn-more-categories:hover svg {
  transform: translateX(4px);
}

/* Star rating subtle pulse on testimonial hover */
.testimonial-card:hover .star-icon-gold {
  transform: scale(1.12);
  transition: transform 0.2s ease;
}

/* 5. Accessibility Support: Respect user OS preferences */
@media (prefers-reduced-motion: reduce) {
  .reveal-ready .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero-slide.is-active .hero-subtitle,
  .hero-slide.is-active .hero-heading,
  .hero-slide.is-active .hero-description,
  .hero-slide.is-active .hero-btn-row {
    animation: none !important;
  }
  .sleek-cta-icon-wrap {
    animation: none !important;
  }
}


