/* ====================================================================
   Nair's Spice Co. - Premium Light Organic Brand Theme
   Directly inspired by the official white, forest green & gold logo
   ==================================================================== */

/* CSS Variables for design system tokens (Light Mode / High Elegance) */
:root {
  /* Warm, bright alabaster and light cream organic backgrounds */
  --bg-primary: #fcfbfa;      /* Clean alabaster off-white */
  --bg-secondary: #f6f4f0;    /* Warm, soft sand/cream */
  --bg-tertiary: #ebe8e2;     /* Richer linen contrast */
  
  /* Exact official brand colors extracted from the Nair's Spice Co. logo */
  --color-green: #0E472C;      /* Deep forest/pine green */
  --color-green-light: #165b3b;/* Slightly brighter green for hover states */
  --color-gold: #B88B2D;       /* Premium heritage warm gold */
  --color-gold-hover: #9c7320; /* Darker gold for buttons */
  
  /* Typography Colors */
  --text-primary: #121a15;     /* Deep charcoal/green (highly readable, premium contrast) */
  --text-secondary: #4a544e;   /* Midtone slate green */
  --text-muted: #7c8880;       /* Muted sage */
  
  --font-header: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --border-radius-lg: 16px;
  --border-radius-md: 8px;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-header);
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Premium Light Glassmorphism Header */
.glass-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(252, 251, 250, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(14, 71, 44, 0.05);
  transition: var(--transition-smooth);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 95px;
}

.logo-recreated {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo-recreated a {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.05;
  transition: var(--transition-smooth);
}

.logo-recreated a:hover {
  transform: scale(1.02);
}

.logo-title {
  font-family: 'Cinzel', serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--color-green);
  letter-spacing: 0.12em;
  text-align: center;
  margin-right: -0.12em; /* Centers perfectly by shifting right letter-spacing */
}

.logo-subtitle {
  font-family: 'Cinzel', serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--color-green);
  letter-spacing: 0.12em;
  text-align: center;
  margin-right: -0.12em;
}

.logo-tagline {
  font-family: 'Outfit', sans-serif;
  font-size: 0.58rem;
  font-weight: 600;
  color: var(--color-gold);
  letter-spacing: 0.22em;
  margin-top: 4px;
  margin-right: -0.22em;
  text-align: center;
  border-top: 1.5px solid var(--color-gold);
  padding-top: 2px;
  width: 100%;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-header);
  transition: var(--transition-smooth);
  position: relative;
}

.nav-link:hover {
  color: var(--color-green);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-gold);
  transition: var(--transition-smooth);
}

.nav-link:hover::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Premium Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-family: var(--font-header);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: var(--border-radius-md);
  transition: var(--transition-smooth);
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-green), var(--color-green-light));
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(14, 71, 44, 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14, 71, 44, 0.25);
  background: linear-gradient(135deg, var(--color-green-light), var(--color-green));
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.7);
  color: var(--text-primary);
  border: 1px solid rgba(14, 71, 44, 0.1);
  backdrop-filter: blur(5px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--color-green);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--color-green);
  border: 1.5px solid var(--color-green);
}

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

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-block {
  display: block;
  width: 100%;
}

/* Hero Section (High-Key Elegance with Split Grid Layout) */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 150px 0 80px 0;
  background-color: var(--bg-primary);
  background-image: radial-gradient(circle at 90% 20%, rgba(184, 139, 45, 0.04) 0%, transparent 50%),
                    radial-gradient(circle at 10% 80%, rgba(14, 71, 44, 0.03) 0%, transparent 50%);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.45) 0%, transparent 100%);
  pointer-events: none;
}

.hero-grid-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.hero-content {
  animation: fadeInUp 1s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 2;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(14, 71, 44, 0.06);
  color: var(--color-green);
  border: 1px solid rgba(14, 71, 44, 0.12);
  font-family: var(--font-header);
  font-weight: 600;
  font-size: 0.8rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
}

.badge-gold {
  background: rgba(184, 139, 45, 0.08);
  color: var(--color-gold);
  border-color: rgba(184, 139, 45, 0.18);
}

.hero-title {
  font-size: 3.8rem;
  line-height: 1.1;
  margin-bottom: 22px;
  font-weight: 800;
  color: var(--color-green);
  letter-spacing: -0.03em;
}

.gradient-text {
  background: linear-gradient(135deg, var(--color-green) 30%, var(--color-gold) 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 600px;
  line-height: 1.65;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

/* Hero Right Column - Floating product visual composition */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  animation: fadeInRight 1.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1;
  border-radius: var(--border-radius-lg);
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrapper::before {
  content: '';
  position: absolute;
  width: 110%;
  height: 110%;
  background: radial-gradient(circle, rgba(184, 139, 45, 0.08) 0%, transparent 70%);
  z-index: -1;
}

.floating-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 24px;
  box-shadow: 0 20px 45px rgba(14, 71, 44, 0.08);
  border: 1px solid rgba(14, 71, 44, 0.04);
  animation: floatAnimation 6s ease-in-out infinite;
}

/* Luxury Floating Badges */
.hero-floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(14, 71, 44, 0.06);
  padding: 12px 20px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 25px rgba(14, 71, 44, 0.06);
  z-index: 10;
  transition: var(--transition-smooth);
}

.hero-floating-badge:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 30px rgba(14, 71, 44, 0.1);
  background: #ffffff;
}

.badge-purity {
  top: 15%;
  left: -40px;
  animation: floatBadge1 7s ease-in-out infinite;
}

.badge-sourcing {
  bottom: 15%;
  right: -30px;
  animation: floatBadge2 8s ease-in-out infinite;
}

.badge-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(14, 71, 44, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.badge-text {
  display: flex;
  flex-direction: column;
}

.badge-text strong {
  font-family: var(--font-header);
  font-size: 0.9rem;
  color: var(--color-green);
  font-weight: 700;
}

.badge-text span {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* Animations */
@keyframes floatAnimation {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

@keyframes floatBadge1 {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(-1deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes floatBadge2 {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(8px) rotate(1deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ====================================================================
   Our Heritage & Story Section
   ==================================================================== */

.about-section {
  padding: 100px 0;
  background-color: var(--bg-primary);
  border-bottom: 1px solid rgba(14, 71, 44, 0.04);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.about-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.value-item {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(14, 71, 44, 0.04);
  padding: 20px;
  border-radius: var(--border-radius-md);
  transition: var(--transition-smooth);
}

.value-item:hover {
  background: #ffffff;
  border-color: rgba(184, 139, 45, 0.15);
  transform: translateY(-2px);
}

.value-icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 12px;
}

.value-item h4 {
  font-size: 1.05rem;
  color: var(--color-green);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.value-item p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.about-visual-card {
  text-align: center;
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(184, 139, 45, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 40px;
  box-shadow: 0 15px 35px rgba(14, 71, 44, 0.04);
}

.heritage-stamp {
  border: 1.5px dashed var(--color-gold);
  color: var(--color-gold);
  font-family: var(--font-header);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 25px;
}

.about-visual-card h3 {
  color: var(--color-green);
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.about-visual-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.plantation-link-box {
  width: 100%;
}

/* Glassmorphism Cards System (Light Organic) */
.glass-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(14, 71, 44, 0.04);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 30px rgba(14, 71, 44, 0.02);
}

.glass-card:hover {
  border-color: rgba(184, 139, 45, 0.15);
  box-shadow: 0 15px 35px rgba(14, 71, 44, 0.06);
}

/* Section Common Styles */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.section-title {
  font-size: 2.25rem;
  color: var(--color-green);
  margin-bottom: 15px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* Dual Geo Section */
.dual-geo-section {
  padding: 100px 0;
  background-color: var(--bg-secondary);
  position: relative;
}

.geo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.geo-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0 !important; /* Allow the image to stretch full-width to the edges */
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  transition: var(--transition-smooth);
}

.geo-card-image {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  border-bottom: 1px solid rgba(14, 71, 44, 0.05);
}

.geo-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.35); /* Keep it zoomed in by default to crop top text */
  transform-origin: center bottom; /* Shift zoom anchor to bottom to crop top text */
  transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.geo-card:hover .geo-card-image img {
  transform: scale(1.45); /* Zoom in slightly more on hover */
}

.geo-card-image-overlay {
  position: absolute;
  bottom: 15px;
  left: 20px;
  background: rgba(14, 71, 44, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fcfbfa;
  font-family: var(--font-header);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 14px;
  border-radius: 50px;
  border: 1px solid rgba(184, 139, 45, 0.25);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.geo-card-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.geo-card-icon {
  width: 54px;
  height: 54px;
  background: rgba(14, 71, 44, 0.04);
  border: 1px solid rgba(14, 71, 44, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-green);
  margin-bottom: 20px;
  transition: var(--transition-smooth);
}

.geo-card:hover .geo-card-icon {
  background: var(--color-green);
  color: #ffffff;
  border-color: var(--color-green);
  transform: translateY(-2px);
}

.geo-card-title {
  font-size: 1.5rem;
  margin-bottom: 6px;
  color: var(--color-green);
}

.geo-card-location {
  font-size: 0.95rem;
  color: var(--color-gold);
  margin-bottom: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.geo-card-text {
  color: var(--text-secondary);
  margin-bottom: 25px;
  flex-grow: 1;
  font-size: 0.98rem;
  line-height: 1.6;
}

.geo-card-list {
  list-style: none;
  margin-bottom: 10px;
}

.geo-card-list li {
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
  color: var(--text-secondary);
}

.geo-card-list li::before {
  content: '✦';
  color: var(--color-gold);
  position: absolute;
  left: 0;
}

.active-card {
  border-color: rgba(184, 139, 45, 0.25);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 35px rgba(184, 139, 45, 0.06);
}

.geo-details {
  background: rgba(246, 244, 240, 0.7);
  border-radius: var(--border-radius-md);
  padding: 20px;
  margin-bottom: 25px;
  border-left: 3px solid var(--color-gold);
}

.geo-details p {
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.geo-details p:last-child {
  margin-bottom: 0;
}

/* Products Collection Section */
.products-section {
  padding: 100px 0;
  background-color: var(--bg-primary);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-card {
  padding: 30px;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.product-image {
  height: 200px;
  background: rgba(235, 232, 226, 0.4);
  border-radius: var(--border-radius-md);
  margin-bottom: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  border: 1px solid rgba(14, 71, 44, 0.03);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.product-card:hover .product-image img {
  transform: scale(1.08);
}

.product-title {
  font-size: 1.3rem;
  margin-bottom: 4px;
  color: var(--color-green);
}

.product-origin {
  display: block;
  font-size: 0.85rem;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
  font-weight: 600;
}

.product-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 25px;
  flex-grow: 1;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(14, 71, 44, 0.05);
  padding-top: 20px;
}

.product-price {
  font-weight: 700;
  color: var(--color-green);
  font-family: var(--font-header);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
}

.price-original {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 400;
  margin-right: 8px;
}

/* Interactive Purity Test Section */
.purity-test-section {
  padding: 100px 0;
  background-color: var(--bg-secondary);
}

.purity-card {
  max-width: 900px;
  margin: 0 auto;
}

.purity-intro {
  color: var(--text-secondary);
  margin-bottom: 35px;
  font-size: 1.05rem;
}

.interactive-tester {
  background: rgba(252, 251, 250, 0.6);
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(14, 71, 44, 0.04);
  padding: 30px;
}

.tester-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(14, 71, 44, 0.05);
  padding-bottom: 15px;
  overflow-x: auto;
  scrollbar-width: none; /* Hide Firefox scrollbar */
  -ms-overflow-style: none; /* Hide IE scrollbar */
}

.tester-tabs::-webkit-scrollbar {
  display: none; /* Hide Chrome/Safari scrollbar */
}

.tab-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-header);
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 16px;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  flex-shrink: 0; /* Prevent tabs from squishing in horizontal scroll */
}

.tab-btn:hover {
  color: var(--color-green);
}

.tab-btn.active {
  color: var(--color-green);
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -16px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-gold);
}

.test-body {
  transition: opacity 0.2s ease;
}

.test-header {
  font-size: 1.4rem;
  color: var(--color-green);
  margin-bottom: 10px;
}

.test-body > p {
  color: var(--text-secondary);
  margin-bottom: 30px;
  font-style: italic;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.step-col {
  background: rgba(255, 255, 255, 0.6);
  border-radius: var(--border-radius-md);
  padding: 20px;
  border: 1px solid rgba(14, 71, 44, 0.02);
}

.step-col h5 {
  font-family: var(--font-header);
  font-size: 0.95rem;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.step-col p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.pure-behavior {
  border-left: 2px solid #2e7d32;
  padding-left: 10px;
  color: #1b5e20 !important;
  font-weight: 600;
}

.fake-behavior {
  border-left: 2px solid #c62828;
  padding-left: 10px;
  color: #b71c1c !important;
  font-weight: 600;
}

/* Footer Section (Matches Sourcing Map linen aesthetic) */
.footer-section {
  background-color: var(--bg-secondary);
  padding: 80px 0 30px 0;
  border-top: 1px solid rgba(14, 71, 44, 0.06);
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr;
  gap: 60px;
  margin-bottom: 50px;
}

/* Recreated vector footer logo styling */
.footer-logo-recreated {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.05;
  margin-bottom: 25px;
}

.footer-logo-recreated .logo-title,
.footer-logo-recreated .logo-subtitle {
  font-family: 'Cinzel', serif;
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--color-green);
  letter-spacing: 0.12em;
  text-align: left;
}

.footer-logo-recreated .logo-tagline {
  font-family: 'Outfit', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--color-gold);
  letter-spacing: 0.22em;
  margin-top: 5px;
  text-align: left;
  border-top: 1.5px solid var(--color-gold);
  padding-top: 3px;
  width: auto;
  text-transform: uppercase;
}

.footer-about {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.footer-links h4, .footer-contact h4 {
  font-size: 1.1rem;
  color: var(--color-green);
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

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

.footer-contact p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.footer-contact a {
  color: var(--text-secondary);
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--color-green);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(14, 71, 44, 0.05);
  padding-top: 30px;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Responsive Design */
@media (max-width: 992px) {
  .hero-grid-split {
    grid-template-columns: 1fr;
    gap: 45px;
    text-align: center;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
  }
  .hero-title {
    font-size: 3rem;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-visual {
    margin-top: 20px;
  }
  .badge-purity {
    left: 0;
  }
  .badge-sourcing {
    right: 0;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .geo-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .products-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  
  /* Compact Header on mobile to save vertical screen space */
  .header-container {
    height: 70px;
  }
  .logo-title,
  .logo-subtitle {
    font-size: 1.15rem;
  }
  .logo-tagline {
    font-size: 0.5rem;
    margin-top: 2px;
    padding-top: 1px;
  }
  .cart-toggle-btn {
    width: 38px;
    height: 38px;
    margin-right: 8px;
  }
  .cart-badge {
    width: 18px;
    height: 18px;
    top: -6px;
    right: -6px;
    font-size: 0.7rem;
  }
  #header-call-btn {
    padding: 6px 14px;
    font-size: 0.8rem;
  }
  
  /* Tighter vertical sections spacing on mobile */
  .hero-section {
    padding: 95px 0 45px 0; /* Adjusted for the 70px header */
  }
  .about-section,
  .dual-geo-section,
  .products-section,
  .purity-test-section {
    padding: 50px 0;
  }
  .section-header {
    margin-bottom: 30px;
  }
  
  /* Hero Image and Floating Badges Alignment below the image wrapper */
  .hero-visual {
    margin-top: 10px;
  }
  .hero-image-wrapper {
    max-width: 290px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    height: auto;
    aspect-ratio: auto;
  }
  .hero-image-wrapper::before {
    display: none;
  }
  .floating-img {
    width: 100%;
    height: auto;
    max-width: 250px;
    margin-bottom: 15px;
    animation: floatAnimation 6s ease-in-out infinite;
  }
  .hero-floating-badge {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    animation: none !important;
    margin: 8px auto !important;
    width: fit-content !important;
    max-width: 280px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 5px 15px rgba(14, 71, 44, 0.04);
    padding: 10px 16px;
    border-radius: 12px;
  }
  
  /* Hero Content adjustments */
  .hero-title {
    font-size: 2.4rem;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }
  .hero-buttons .btn {
    width: 100%;
  }
  
  /* Center About Section text & badge on mobile for perfect centering harmony */
  .about-text-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .about-text-content .badge-gold {
    margin: 0 auto 20px auto !important;
  }
  .about-text-content .section-title {
    text-align: center;
  }
  .about-description {
    text-align: center;
  }
  
  /* Values grid */
  .values-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    width: 100%;
  }
  
  /* Geo Card Content tight padding */
  .geo-card-content {
    padding: 20px;
  }
  .geo-details {
    padding: 15px;
    margin-bottom: 20px;
  }
  
  /* Product card & alignment tweaks */
  .products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .product-card {
    padding: 25px 20px;
  }
  .product-meta {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding-top: 15px;
    border-top: 1px solid rgba(14, 71, 44, 0.05);
  }
  .product-price {
    justify-content: center;
    margin-bottom: 5px;
  }
  .product-meta .btn {
    width: 100%;
    max-width: 240px;
  }
  
  /* Purity tester tabs and step alignment on mobile */
  .tester-tabs {
    justify-content: flex-start;
  }
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  /* Centered Footer layout on mobile */
  .footer-container {
    grid-template-columns: 1fr;
    gap: 35px;
    text-align: center;
  }
  .footer-brand {
    grid-column: span 1;
    text-align: center;
  }
  .footer-logo-recreated {
    align-items: center;
    margin: 0 auto 20px auto;
  }
  .footer-logo-recreated .logo-title,
  .footer-logo-recreated .logo-subtitle {
    text-align: center;
  }
  .footer-logo-recreated .logo-tagline {
    text-align: center;
    width: 100%;
  }
  .footer-about {
    text-align: center;
    margin: 0 auto;
    max-width: 320px;
  }
  .footer-links {
    text-align: center;
  }
  .footer-links h4,
  .footer-contact h4 {
    text-align: center;
    margin-bottom: 15px;
  }
  .footer-contact {
    text-align: center;
  }
  .footer-contact p {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
  }
  .footer-contact svg {
    margin-right: 0 !important;
  }
  .nav-menu {
    display: none;
  }
}

/* ====================================================================
   Shopping Cart & WhatsApp Checkout System CSS (Light Organic Theme)
   ==================================================================== */

.price-unit {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.cart-toggle-btn {
  background: rgba(14, 71, 44, 0.04);
  border: 1px solid rgba(14, 71, 44, 0.08);
  color: var(--color-green);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: var(--transition-smooth);
  backdrop-filter: blur(5px);
  margin-right: 15px;
}

.cart-toggle-btn:hover {
  background: var(--color-green);
  color: #ffffff;
  border-color: var(--color-green);
  transform: scale(1.05);
}

.cart-badge {
  background: var(--color-gold);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  position: absolute;
  top: -8px;
  right: -8px;
  box-shadow: 0 2px 8px rgba(184, 139, 45, 0.3);
}

/* Cart Drawer Container */
.cart-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 2000;
  display: none; /* Bedrock browser hiding rule */
}

.cart-drawer.active {
  display: block; /* Show instantly */
}

.cart-drawer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(18, 26, 21, 0.45);
  backdrop-filter: blur(4px);
  animation: fadeInOverlay 0.4s ease forwards; /* Smooth fade-in overlay keyframe */
}

.cart-drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 450px;
  height: 100%;
  background: #fcfbfa; /* High-contrast clean Alabaster base background */
  border-left: 1.5px solid var(--color-green); /* Beautiful forest green border */
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 35px rgba(14, 71, 44, 0.08);
  transform: translateX(100%); /* Completely off-screen initially */
}

.cart-drawer.active .cart-drawer-content {
  animation: slideInContent 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) forwards; /* Direct slide-in keyframe */
}

/* Keyframes for Drawer Animations (Ultra-compatible across all browsers) */
@keyframes fadeInOverlay {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInContent {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

/* Cart Header */
.cart-header {
  padding: 25px;
  border-bottom: 1px solid rgba(14, 71, 44, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header h3 {
  font-size: 1.3rem;
  color: var(--color-green);
}

.close-cart-btn {
  background: transparent;
  border: none;
  font-size: 2rem;
  color: var(--text-secondary);
  cursor: pointer;
  line-height: 1;
  transition: var(--transition-smooth);
}

.close-cart-btn:hover {
  color: var(--color-green);
}

/* Cart Body Items */
.cart-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 25px;
}

.empty-cart-message {
  text-align: center;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 50px;
  font-size: 0.95rem;
}

.cart-item {
  display: flex;
  gap: 15px;
  background: #ffffff;
  border: 1px solid rgba(14, 71, 44, 0.05);
  border-radius: var(--border-radius-md);
  padding: 15px;
  margin-bottom: 15px;
  align-items: center;
  box-shadow: 0 4px 12px rgba(14, 71, 44, 0.01);
}

.cart-item-img {
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  background: rgba(235, 232, 226, 0.3);
  flex-shrink: 0;
}

.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-details {
  flex-grow: 1;
}

.cart-item-details h5 {
  font-size: 0.95rem;
  margin-bottom: 4px;
  color: var(--color-green);
  font-family: var(--font-header);
}

.cart-item-meta {
  font-size: 0.8rem;
  color: var(--color-gold);
  margin-bottom: 8px;
  font-weight: 600;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 12px;
}

.qty-btn {
  background: var(--bg-secondary);
  border: 1px solid rgba(14, 71, 44, 0.05);
  color: var(--text-primary);
  width: 24px;
  height: 24px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.qty-btn:hover {
  background: var(--color-green);
  color: #ffffff;
}

.qty-val {
  font-size: 0.85rem;
  font-weight: 600;
}

.cart-item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  height: 100%;
  justify-content: space-between;
}

.cart-item-total {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-green);
  font-family: var(--font-header);
}

.cart-item-remove {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.3rem;
  cursor: pointer;
  line-height: 1;
  transition: var(--transition-smooth);
}

.cart-item-remove:hover {
  color: #ef5350;
}

/* Cart Footer */
.cart-footer {
  padding: 25px;
  border-top: 1px solid rgba(14, 71, 44, 0.06);
  background: #f6f4f0;
}

.summary-box {
  background: #ffffff;
  border-radius: var(--border-radius-md);
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid rgba(14, 71, 44, 0.04);
}

.summary-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.summary-line:last-child {
  margin-bottom: 0;
}

.summary-line span:last-child {
  font-weight: 700;
  font-family: var(--font-header);
}

#cart-subtotal {
  color: var(--color-green);
  font-size: 1.1rem;
}

.free-shipping {
  color: var(--color-green-light);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* Checkout Form styling */
.checkout-form {
  margin-bottom: 25px;
}

.checkout-form h4 {
  font-size: 1.05rem;
  color: var(--color-green);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
  font-family: var(--font-header);
  border-bottom: 1.5px solid var(--color-gold);
  padding-bottom: 5px;
  display: inline-block;
}

.checkout-form input, .checkout-form textarea {
  width: 100%;
  background: #ffffff;
  border: 1.5px solid var(--color-green); /* Solid high-contrast forest green borders */
  border-radius: var(--border-radius-md);
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  margin-bottom: 15px;
  transition: var(--transition-smooth);
}

.checkout-form input::placeholder, .checkout-form textarea::placeholder {
  color: var(--text-muted);
}

.checkout-form input:focus, .checkout-form textarea:focus {
  outline: none;
  border-color: var(--color-gold); /* Heritage gold on focus */
  box-shadow: 0 0 0 3px rgba(184, 139, 45, 0.15);
}

.btn-checkout {
  padding: 15px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* Badge Bounce Animation */
@keyframes cartBounce {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

.cart-badge.bounce {
  animation: cartBounce 0.3s ease-out;
}
