/* -------------------------------------------------------------
 * GRAM DHAN PASHU AHAR - Premium CSS Design System
 * ------------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #0f5132;        /* Rich Forest Green */
  --primary-light: #157347;  /* Active Green */
  --primary-dark: #0a3622;   /* Deep Forest Green */
  --secondary: #d97706;      /* Harvest Amber/Gold */
  --secondary-light: #f59e0b;/* Bright Amber */
  --secondary-dark: #b45309; /* Deep Gold */
  --dark: #252526;           /* Light Black / VS Code Sidebar Charcoal */
  --dark-light: #475569;     /* Slate Medium-Light */
  --light: #fcfbf7;          /* Soft Agricultural Cream */
  --light-gray: #f1f5f9;     /* Light Gray */
  --white: #ffffff;
  --success: #10b981;        /* Emerald Success */
  --danger: #ef4444;         /* Crimson Red */
  --glass-bg: rgba(252, 251, 247, 0.85);
  --glass-border: rgba(15, 81, 50, 0.08);
  --shadow-sm: 0 2px 8px rgba(15, 81, 50, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(15, 81, 50, 0.08), 0 8px 10px -6px rgba(15, 81, 50, 0.08);
  --shadow-lg: 0 20px 40px -15px rgba(15, 81, 50, 0.15);
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base resets & styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-light) var(--light-gray);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--light);
  color: var(--dark-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--dark);
  font-weight: 700;
  line-height: 1.25;
}

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

button {
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
  font-family: var(--font-body);
  transition: var(--transition);
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Watermark line art backgrounds (Subtle scattered cow, wheat, hen, and leaf drawings) */
.watermark-bg {
  position: absolute;
  top: -30px;
  left: -30px;
  right: -30px;
  bottom: -30px;
  pointer-events: none;
  z-index: 1;
  animation: slow-float 22s ease-in-out infinite;
}

/* 1. Science Meets Nature - Molecular Leaf (Left) & Wheat Ear (Right) */
.watermark-bg.watermark-leaf {
  opacity: 0.45;
  background-image: 
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 15 C30 35 30 65 50 85 C70 65 70 35 50 15 Z M50 15 L 50 85 M35 45 L 50 55 M65 45 L 50 55 M38 60 L 50 70 M62 60 L 50 70' stroke='rgba(15, 81, 50, 0.8)' stroke-width='1.5' fill='none'/%3E%3Ccircle cx='50' cy='15' r='3' fill='rgba(15, 81, 50, 0.8)'/%3E%3Ccircle cx='35' cy='45' r='3' fill='rgba(15, 81, 50, 0.8)'/%3E%3Ccircle cx='65' cy='45' r='3' fill='rgba(15, 81, 50, 0.8)'/%3E%3C/svg%3E"), 
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 90 L 50 30 M50 30 Q 35 25 35 15 Q 35 25 50 30 M50 30 Q 65 25 65 15 Q 65 25 50 30 M50 45 Q 32 40 32 30 Q 32 40 50 45 M50 45 Q 68 40 68 30 Q 68 40 50 45 M50 60 Q 32 55 32 45 Q 32 55 50 60 M50 60 Q 68 55 68 45 Q 68 55 50 60 M50 75 Q 35 70 35 60 Q 35 70 50 75 M50 75 Q 65 70 65 60 Q 65 70 50 75' stroke='rgba(15, 81, 50, 0.8)' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-position: left 5% center, right 5% center;
  background-repeat: no-repeat, no-repeat;
  background-size: 280px 280px, 260px 260px;
}

/* 2. Sea Buckthorn Section - Berry Cluster (Left) & Aloe Vera (Right) */
.watermark-bg.watermark-berry {
  opacity: 0.45;
  background-image: 
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M30 80 Q 50 50 70 20 M40 65 A 6 6 0 1 1 40 53 A 6 6 0 1 1 40 65 M50 50 A 6 6 0 1 1 50 38 A 6 6 0 1 1 50 50 M60 35 A 5 5 0 1 1 60 25 A 5 5 0 1 1 60 35 M45 45 A 5 5 0 1 1 45 35 A 5 5 0 1 1 45 45' stroke='rgba(15, 81, 50, 0.8)' stroke-width='1.5' fill='none'/%3E%3Ccircle cx='40' cy='59' r='3' fill='rgba(217, 119, 6, 0.8)'/%3E%3Ccircle cx='50' cy='44' r='3' fill='rgba(217, 119, 6, 0.8)'/%3E%3Ccircle cx='60' cy='30' r='2.5' fill='rgba(217, 119, 6, 0.8)'/%3E%3C/svg%3E"), 
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 90 Q 50 50 30 30 Q 45 45 50 90 M50 90 Q 50 45 70 30 Q 55 45 50 90 M50 90 Q 45 35 20 15 Q 38 35 50 90 M50 90 Q 55 35 80 15 Q 62 35 50 90 M50 90 Q 50 20 50 10 Q 55 25 50 90' stroke='rgba(15, 81, 50, 0.8)' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-position: left 6% center, right 6% center;
  background-repeat: no-repeat, no-repeat;
  background-size: 280px 280px, 280px 280px;
}

/* 3. Shop Section - Feed Bag (Left) & Grain Kernel Seed (Right) */
.watermark-bg.watermark-grain {
  opacity: 0.45;
  background-image: 
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M25 35 L 75 35 L 70 85 L 30 85 Z M25 35 Q 50 25 75 35 M30 48 L 70 48 M35 60 L 65 60' stroke='rgba(15, 81, 50, 0.8)' stroke-width='1.5' fill='none'/%3E%3Cpath d='M42 60 L 50 72 L 58 60' stroke='rgba(217, 119, 6, 0.8)' stroke-width='1.2' fill='none'/%3E%3C/svg%3E"), 
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 20 C 25 45 25 75 50 90 C 75 75 75 45 50 20 Z M50 20 L 50 90 M40 45 Q 50 50 50 55 M60 55 Q 50 60 50 65' stroke='rgba(217, 119, 6, 0.8)' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-position: left 7% center, right 7% center;
  background-repeat: no-repeat, no-repeat;
  background-size: 270px 270px, 250px 250px;
}

/* 4. Success Stories Section - Standing Cow (Left) & Milk Wave (Right) */
.watermark-bg.watermark-cow {
  opacity: 0.42;
  background-image: 
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cpath d='M20 70 C 30 65, 40 60, 50 60 C 60 45, 75 40, 90 40 C 95 40, 100 45, 98 55 C 93 57, 85 58, 80 62 L 80 85 L 75 85 L 77 65 L 50 65 L 48 85 L 43 85 L 45 72 C 38 72, 30 70, 25 68 Z M90 40 Q 95 30 100 35' stroke='rgba(15, 81, 50, 0.8)' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"), 
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M10 50 Q 30 30 50 50 T 90 50 M10 62 Q 30 42 50 62 T 90 62 M10 38 Q 30 18 50 38 T 90 38' stroke='rgba(15, 81, 50, 0.75)' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-position: left 7% center, right 7% center;
  background-repeat: no-repeat, no-repeat;
  background-size: 290px 290px, 280px 280px;
}

/* 5. Company Vision Section - Molecular Network (Left) & Farm Contour (Right) */
.watermark-bg.watermark-vision {
  opacity: 0.42;
  background-image: 
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='30' cy='30' r='6' stroke='rgba(255, 255, 255, 0.75)' stroke-width='1.5' fill='none'/%3E%3Ccircle cx='70' cy='30' r='6' stroke='rgba(255, 255, 255, 0.75)' stroke-width='1.5' fill='none'/%3E%3Ccircle cx='50' cy='70' r='8' stroke='rgba(251, 191, 36, 0.8)' stroke-width='1.5' fill='none'/%3E%3Cline x1='35' y1='35' x2='46' y2='64' stroke='rgba(255, 255, 255, 0.55)' stroke-width='1.2'/%3E%3Cline x1='65' y1='35' x2='54' y2='64' stroke='rgba(255, 255, 255, 0.55)' stroke-width='1.2'/%3E%3Cline x1='36' y1='30' x2='64' y2='30' stroke='rgba(255, 255, 255, 0.55)' stroke-width='1.2'/%3E%3C/svg%3E"), 
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M10 80 C 30 60, 40 50, 60 70 S 80 90, 90 70 M10 90 C 30 75, 50 70, 70 85 S 90 95, 95 90 M10 60 C 25 40, 55 35, 70 55 S 90 75, 95 65' stroke='rgba(255, 255, 255, 0.6)' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-position: left 6% center, right 6% center;
  background-repeat: no-repeat, no-repeat;
  background-size: 280px 280px, 290px 290px;
}

/* 6. Become Partner Section - Handshake Grain (Left) & Rising Sun Wheat (Right) */
.watermark-bg.watermark-partner {
  opacity: 0.45;
  background-image: 
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M25 50 L 35 40 L 50 55 L 75 30 L 80 35 L 50 65 Z M30 80 L 70 80 M40 73 L 60 73' stroke='rgba(15, 81, 50, 0.8)' stroke-width='1.5' fill='none'/%3E%3Ccircle cx='50' cy='30' r='6' stroke='rgba(217, 119, 6, 0.8)' stroke-width='1.2' fill='none'/%3E%3C/svg%3E"), 
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cpath d='M10 80 Q 40 50 70 80 T 110 80 M10 95 Q 40 70 70 95 T 110 95 M10 65 Q 60 30 110 65' stroke='rgba(15, 81, 50, 0.75)' stroke-width='1.5' fill='none'/%3E%3Ccircle cx='60' cy='35' r='12' stroke='rgba(217, 119, 6, 0.75)' stroke-width='1.2' fill='none'/%3E%3Cpath d='M60 23 L 60 12 M48 27 L 39 20 M72 27 L 81 20' stroke='rgba(217, 119, 6, 0.75)' stroke-width='1.2'/%3E%3C/svg%3E");
  background-position: left 7% center, right 7% center;
  background-repeat: no-repeat, no-repeat;
  background-size: 270px 270px, 280px 280px;
}

/* 7. ERP Dashboard Section - Analytical Grid & Trend Lines */
.watermark-bg.watermark-chart {
  opacity: 0.25;
  background-image: 
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M10 90 L 90 90 M 10 10 L 10 90 M 10 80 Q 30 50 50 60 T 90 20' stroke='rgba(15, 81, 50, 0.35)' stroke-width='1.5' fill='none'/%3E%3Cpath d='M 30 90 L 30 10 M 50 90 L 50 10 M 70 90 L 70 10 M 10 70 L 90 70 M 10 50 L 90 50 M 10 30 L 90 30' stroke='rgba(15, 81, 50, 0.1)' stroke-width='0.8' fill='none'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 350px 350px;
}

/* Animations */
@keyframes slow-float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulse-soft {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 12px rgba(16, 185, 129, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* Utility classes */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-glass {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border: 1px solid rgba(15, 81, 50, 0.15);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
  color: var(--white);
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.btn-secondary::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.btn-secondary:hover {
  background: linear-gradient(135deg, var(--secondary-light), var(--secondary-dark));
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 85px;
  z-index: 1000;
  transition: var(--transition);
}

header.scrolled, header.force-scrolled {
  height: 70px;
  box-shadow: 0 8px 32px 0 rgba(15, 81, 50, 0.05);
  background: rgba(253, 252, 248, 0.45);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(15, 81, 50, 0.08);
}

/* News Ticker (Below Hero Section) */
.news-ticker-banner {
  background: #061910;
  border-top: 1px solid rgba(251, 191, 36, 0.12);
  border-bottom: 1px solid rgba(251, 191, 36, 0.12);
  color: var(--white);
  height: 40px;
  overflow: hidden;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 10;
  width: 100%;
}

.ticker-wrapper {
  display: flex;
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
}

.ticker-content {
  display: inline-flex;
  animation: ticker-slide 55s linear infinite;
  flex-shrink: 0;
}

.ticker-content span {
  padding: 0 4rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ticker-content span i {
  color: var(--secondary-light);
  font-size: 0.85rem;
}

.ticker-content span strong {
  color: var(--white);
  font-weight: 600;
}

.ticker-wrapper:hover .ticker-content {
  animation-play-state: paused;
}

@keyframes ticker-slide {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-100%, 0, 0);
  }
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
}

.logo-wrapper {
  height: 55px;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.logo-img {
  height: 100%;
  max-height: 54px;
  object-fit: contain;
  transition: var(--transition);
}

.logo-img.square {
  display: none;
}

header.scrolled .logo-img, header.force-scrolled .logo-img {
  max-height: 46px;
}

.logo-text-branding {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  border-left: 2px solid rgba(255, 255, 255, 0.35);
  padding-left: 0.8rem;
  transition: var(--transition);
}

.logo-text-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--white);
  letter-spacing: 0.5px;
  transition: var(--transition);
}

.logo-text-subtitle {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--secondary);
  transition: var(--transition);
}

.logo-text-main-hindi {
  font-family: var(--font-body);
  font-weight: 850;
  font-size: 1.18rem;
  color: var(--white);
  letter-spacing: 0.5px;
  transition: var(--transition);
}

.logo-text-sub-hindi {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--secondary-light);
  letter-spacing: 0.2px;
  transition: var(--transition);
}

header.scrolled .logo-text-branding, header.force-scrolled .logo-text-branding {
  border-left-color: rgba(15, 81, 50, 0.25);
}

header.scrolled .logo-text-main-hindi, header.force-scrolled .logo-text-main-hindi {
  color: var(--primary);
}

header.scrolled .logo-text-sub-hindi, header.force-scrolled .logo-text-sub-hindi {
  color: var(--secondary-dark);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
  margin: 0 auto;
}

/* Align "Home" link exactly with "TRIAL-BASED" hero text on large screens */
@media (min-width: 1150px) {
  .nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 800px; /* matches .hero-content max-width */
    padding: 0 2rem;  /* matches .hero-content padding */
    justify-content: flex-start;
    margin: 0;
  }
}

/* Default nav links — white text over hero/section backgrounds */
.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.92);
  position: relative;
  padding: 0.5rem 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-light);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--white);
}

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

/* Scrolled state — dark text on frosted header */
header.scrolled .nav-links a,
header.force-scrolled .nav-links a {
  color: var(--dark);
  text-shadow: none;
}

header.scrolled .nav-links a:hover,
header.force-scrolled .nav-links a:hover {
  color: var(--primary);
}

header.scrolled .nav-links a::after,
header.force-scrolled .nav-links a::after {
  background: var(--primary);
}

/* Active link highlights */
header .nav-links a.active {
  color: var(--secondary-light) !important;
}

header.scrolled .nav-links a.active,
header.force-scrolled .nav-links a.active {
  color: var(--primary) !important;
}

.nav-links a.active::after {
  width: 100% !important;
}

header .nav-links a::after {
  background: var(--secondary-light);
}

header.scrolled .nav-links a::after,
header.force-scrolled .nav-links a::after {
  background: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-btn {
  position: relative;
  font-size: 1.3rem;
  color: var(--dark);
  padding: 0.5rem;
  border-radius: 50%;
}

.nav-btn:hover {
  background: var(--light-gray);
  color: var(--primary);
}

.cart-count {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--secondary);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Full Screen Hero Video Section */
.hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 95px;
}

.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(8, 22, 16, 0.9) 30%, rgba(8, 22, 16, 0.15) 100%);
  z-index: 3;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  filter: brightness(1.08) contrast(1.05) saturate(1.1);
  transition: opacity 1.5s ease-in-out;
  z-index: 1;
}

/* Custom simulated greenfield cows animated canvas/SVG background if video not loaded */
.hero-canvas-backup {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #102a1d 0%, #081610 100%);
  display: block;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 800px;
  color: var(--white);
  padding: 0 2rem;
  animation: fadeInUp 1s ease-out;
}

.hero-tag {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--secondary-light);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero-title span {
  color: var(--secondary-light);
}

.hero-desc {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 2.5rem;
  max-width: 650px;
}

.hero-buttons {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.btn-primary-white {
  background: var(--white);
  color: var(--primary);
  padding: 0.8rem 2.2rem;
  border-radius: 50px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
  border: none;
  font-size: 0.95rem;
  cursor: pointer;
}

.btn-primary-white:hover {
  background: var(--light);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.btn-secondary-outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: var(--white);
  padding: 0.8rem 2.2rem;
  border-radius: 50px;
  font-weight: 700;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
}

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

.hero-stats-row {
  display: flex;
  gap: 3.5rem;
  margin-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 1.8rem;
  max-width: 650px;
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--secondary-light);
  line-height: 1.1;
  font-family: 'Outfit', sans-serif;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.3rem;
  font-weight: 500;
}

.hero-stats-note {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 0.8rem;
  font-style: italic;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0.7;
  z-index: 3;
  animation: float 2s infinite ease-in-out;
}

.hero-scroll-indicator i {
  font-size: 1.2rem;
}

/* Sections General Styling */
section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 960px;
  margin: 0 auto 3rem auto;
}

.section-subtitle {
  color: var(--secondary);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 0.8rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.25;
}

.section-desc {
  color: var(--dark-light);
  opacity: 0.85;
}

/* Sea Buckthorn Section */
.sea-buckthorn-section {
  background: url("assets/background%20image.png") center/cover no-repeat;
  border-bottom: 1px solid var(--glass-border);
}

.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.sb-info-card {
  padding-right: 2rem;
}

.sb-bullets {
  list-style: none;
  margin-top: 2rem;
}

.sb-bullets li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1.2rem;
  font-weight: 500;
}

.sb-bullets li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: 700;
  font-size: 1.2rem;
}

.trial-container {
  display: flex;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.trial-card {
  flex: 1;
  padding: 1.5rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border: 1px solid rgba(15, 81, 50, 0.15);
  border-top: 4px solid var(--secondary);
  text-align: center;
  transition: var(--transition);
}

.trial-card:hover {
  transform: translateY(-5px);
  border-color: var(--secondary);
  box-shadow: var(--shadow-md);
}

.trial-num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.trial-txt {
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.8;
  color: var(--dark);
}

.sb-video-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  background: #000;
}

.sb-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sb-disclaimer {
  font-size: 0.75rem;
  opacity: 0.7;
  font-style: italic;
  margin-top: 2rem;
}

/* E-Commerce Shop Section */
.shop-section {
  background: url("assets/background%20image%202.png") center/cover no-repeat;
  border-bottom: 1px solid var(--glass-border);
  position: relative;
}

.shop-section > * {
  position: relative;
  z-index: 1;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 320px));
  justify-content: center;
  gap: 2.5rem;
}

.product-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(15, 81, 50, 0.04);
  border: 1px solid rgba(15, 81, 50, 0.15);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(15, 81, 50, 0.25);
  background: rgba(255, 255, 255, 0.03);
}

.product-image-container {
  position: relative;
  height: 240px;
  background: transparent;
  padding: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-img {
  max-width: 100%;
  max-height: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 12px rgba(0,0,0,0.08));
  transition: var(--transition);
  transform: scale(var(--img-scale, 1.0));
}

.product-card:hover .product-img {
  transform: scale(calc(var(--img-scale, 1.0) * 1.08));
}

.product-badge {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  z-index: 10;
  background: rgba(15, 81, 50, 0.55);
  color: #fff;
  padding: 0.28rem 0.75rem;
  border-radius: 30px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.product-badge.coming-soon {
  background: rgba(217, 119, 6, 0.55);
}

.product-details {
  padding: 1.2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-meta {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.product-name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.product-desc {
  font-size: 0.88rem;
  opacity: 0.8;
  margin-bottom: 1.5rem;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.product-footer button {
  white-space: nowrap;
}

.product-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
}

.product-price span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark-light);
  opacity: 0.7;
}

/* Mission & Vision Section */
.vision-section {
  padding-top: 2rem;
  background: url("assets/background%20image.png") center/cover no-repeat;
  color: var(--dark);
}

.vision-section h2, .vision-section h3, .vision-section p, .vision-section li {
  color: var(--dark) !important;
}

.vision-section .section-subtitle {
  color: var(--secondary-light);
}

.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.vision-card {
  padding: 2.2rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border: 1px solid rgba(15, 81, 50, 0.15);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.vision-card:hover {
  transform: translateY(-5px);
  border-color: rgba(15, 81, 50, 0.2);
  box-shadow: 0 15px 30px rgba(0,0,0,0.06), inset 0 0 15px rgba(255,255,255,0.02);
  background: rgba(255, 255, 255, 0.03);
}

.vision-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--secondary-light);
}

.vision-icon {
  font-size: 2.5rem;
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
}

.vision-card p {
  opacity: 0.95;
  font-size: 1.05rem;
}

.vision-card i {
  color: var(--primary-dark) !important;
}

/* Distributor Lead Form Section */
.distributor-section {
  background: url("assets/background%20image%202.png") center/cover no-repeat;
  border-top: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
}

.distributor-card {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 30px;
  padding: 4rem;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border: 1px solid rgba(15, 81, 50, 0.15);
  box-shadow: 0 4px 24px rgba(15, 81, 50, 0.05);
  position: relative;
  overflow: hidden;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.8rem 1.2rem;
  height: 48px;
  border-radius: 8px;
  border: 1px solid rgba(15, 81, 50, 0.15);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  outline: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
  color: var(--dark);
}

.form-group textarea {
  height: auto;
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%230f5132%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 1.2rem center;
  background-size: 0.65rem auto;
  padding-right: 2.5rem;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 81, 50, 0.1);
}

.form-submit-btn {
  margin-top: 1rem;
  width: 100%;
  justify-content: center;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #25d366;
  color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 999;
  animation: pulse-soft 2s infinite;
}

.whatsapp-float:hover {
  background: #20ba5a;
  transform: scale(1.1);
}


/* ============================================================
   FAQ ACCORDION SECTION
   ============================================================ */

.faq-section {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
  background: none;
}

/* Overlay removed — inherits the section background below */
.faq-bg-overlay {
  display: none;
}

.faq-inner {
  position: relative;
  z-index: 1;
}

.faq-section .section-title,
.faq-section .section-subtitle,
.faq-section .section-desc {
  color: var(--dark);
}
.faq-section .section-subtitle {
  color: var(--secondary-dark);
}
.faq-section .section-title {
  text-shadow: none;
}
.faq-section .section-desc {
  opacity: 0.85;
}

/* Accordion wrapper */
.faq-accordion {
  max-width: 860px;
  margin: 2.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Each item */
.faq-item {
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(15, 81, 50, 0.15);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  box-shadow: 0 2px 16px rgba(15, 81, 50, 0.04);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 6px 24px rgba(15, 81, 50, 0.14);
  transform: translateY(-2px);
}

.faq-item.open {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(217, 119, 6, 0.3);
  box-shadow: 0 6px 28px rgba(15, 81, 50, 0.06);
}

/* Question button */
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1.3rem;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--dark);
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  text-align: left;
  transition: background 0.25s ease;
  line-height: 1.4;
  min-height: unset;
}

.faq-question:hover {
  background: rgba(15, 81, 50, 0.05);
}

.faq-q-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(217, 119, 6, 0.25);
  border: 1px solid rgba(217, 119, 6, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  color: var(--secondary-light);
  transition: background 0.3s ease;
}

.faq-item.open .faq-q-icon {
  background: rgba(217, 119, 6, 0.45);
}

.faq-question > span:nth-child(2) {
  flex: 1;
}

.faq-chevron {
  flex-shrink: 0;
  font-size: 0.85rem;
  color: var(--dark-light);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--secondary-dark);
}

/* Answer panel */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.42s cubic-bezier(0.4,0,0.2,1),
              padding 0.35s ease,
              opacity 0.35s ease;
  opacity: 0;
  padding: 0 1.5rem;
}

.faq-answer.open {
  max-height: 500px;
  opacity: 1;
  padding: 0 1.5rem 1.4rem;
}

.faq-answer p {
  color: var(--dark-light);
  font-size: 0.96rem;
  line-height: 1.75;
  border-left: 3px solid rgba(217, 119, 6, 0.5);
  padding-left: 1rem;
  margin: 0;
}

.faq-answer p strong {
  color: var(--secondary-dark);
}

/* Footer Section */
footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 5rem 0 2rem 0;
  border-top: 5px solid var(--primary);
  position: relative;
  z-index: 5;
}

footer h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  position: relative;
  padding-bottom: 0.5rem;
}

footer h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--secondary);
}

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

.footer-about .logo-wrapper {
  margin-bottom: 1.5rem;
}

.footer-about p {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Vertical nav links in footer */
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links li {
  margin-bottom: 0;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.footer-links a::before {
  content: '›';
  color: var(--secondary);
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.footer-links a:hover {
  color: var(--white);
  border-bottom-color: rgba(217, 119, 6, 0.4);
  padding-left: 0.3rem;
}

.footer-links a:hover::before {
  transform: translateX(3px);
}

/* Footer Social Icons */
.footer-social {
  margin-top: 1.8rem;
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8) !important;
  transition: var(--transition);
  cursor: pointer;
}

.social-link:hover {
  background: var(--secondary) !important;
  color: var(--white) !important;
  border-color: var(--secondary) !important;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(217, 119, 6, 0.4);
}


/* Addresses side-by-side inside the 3rd column */
.footer-addresses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.footer-contact p {
  font-size: 0.88rem;
  margin-bottom: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  line-height: 1.5;
}

.footer-contact i {
  color: var(--secondary-light);
  margin-top: 0.2rem;
  font-size: 1rem;
  flex-shrink: 0;
}

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

/* Shopping Cart Drawer Overlay */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 450px;
  height: 100%;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  z-index: 1100;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-header {
  padding: 1.8rem;
  border-bottom: 1px solid var(--light-gray);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header h2 {
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-close-btn {
  font-size: 1.5rem;
  color: var(--dark-light);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1.8rem;
}

.cart-item {
  display: flex;
  gap: 1rem;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--light-gray);
}

.cart-item-img {
  width: 70px;
  height: 85px;
  object-fit: contain;
  background: var(--light-gray);
  padding: 0.5rem;
  border-radius: 8px;
}

.cart-item-info {
  flex: 1;
}

.cart-item-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.cart-item-price {
  color: var(--primary);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.cart-item-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.quantity-controls {
  display: flex;
  align-items: center;
  border: 1px solid rgba(15, 81, 50, 0.15);
  border-radius: 5px;
}

.quantity-btn {
  padding: 0.2rem 0.6rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.quantity-val {
  padding: 0.2rem 0.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--light-gray);
}

.cart-item-remove {
  color: var(--danger);
  font-size: 0.85rem;
}

.cart-footer {
  padding: 1.8rem;
  border-top: 1px solid var(--light-gray);
  background: var(--light);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.cart-checkout-btn {
  width: 100%;
  justify-content: center;
}

.cart-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1050;
  display: none;
}

.cart-backdrop.open {
  display: block;
}

/* Modals General */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(2px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  visibility: hidden;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.modal-container {
  width: 100%;
  max-width: 600px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border: 1px solid rgba(15, 81, 50, 0.15);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  transform: scale(0.8) translateY(30px);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.25s ease;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.modal-overlay.open .modal-container {
  transform: scale(1) translateY(0);
  opacity: 1;
  transition: transform 0.5s cubic-bezier(0.34, 1.6, 0.64, 1), opacity 0.4s ease;
}

.modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--light-gray);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-close {
  font-size: 1.5rem;
  color: var(--dark-light);
}

.modal-body {
  padding: 2rem;
  overflow-y: auto;
  flex: 1;
}

/* User & Employee Auth View */
.auth-section {
  padding-top: 10rem;
  background: radial-gradient(circle at top right, rgba(15, 81, 50, 0.05), transparent 60%);
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.auth-wrapper {
  max-width: 500px;
  margin: 0 auto;
  border-radius: 24px;
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(15, 81, 50, 0.15);
  color: var(--dark) !important;
}

body.dark-theme .auth-wrapper {
  background: rgba(20, 26, 23, 0.95) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #f8fafc !important;
}

.auth-toggle {
  display: flex;
  margin-bottom: 2rem;
  background: var(--light-gray);
  padding: 0.3rem;
  border-radius: 50px;
}

.auth-toggle-btn {
  flex: 1;
  padding: 0.6rem;
  text-align: center;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
}

.auth-toggle-btn.active {
  background: var(--primary);
  color: var(--white);
}

.auth-tabs {
  position: relative;
}

.auth-tab-pane {
  display: none;
}

.auth-tab-pane.active {
  display: block;
}

.auth-demo-credentials {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 8px;
  background: rgba(217, 119, 6, 0.08);
  border: 1px solid rgba(217, 119, 6, 0.15);
  font-size: 0.8rem;
  color: var(--secondary-dark);
}

.auth-demo-credentials code {
  font-weight: 700;
}

/* Portal Views (Customer & Admin) */
.vision-section {
  padding-top: 2rem;
  background: url("assets/background%20image.png") center/cover no-repeat;
}
.portal-section {
  background: transparent !important;
  min-height: 100vh;
}

.portal-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
}

.portal-sidebar {
  border-radius: 20px;
  padding: 1.5rem;
  position: sticky;
  top: 100px;
  background: rgba(253, 252, 248, 0.45) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  border: 1px solid rgba(15, 81, 50, 0.15) !important;
  box-shadow: var(--shadow-md) !important;
  transition: var(--transition);
}

.portal-user-info {
  text-align: center;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--glass-border);
}

.portal-avatar {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0 auto 1rem auto;
  box-shadow: var(--shadow-md);
}

.portal-user-role {
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--secondary);
  color: var(--white);
  padding: 0.2rem 0.6rem;
  border-radius: 10px;
  display: inline-block;
  margin-top: 0.3rem;
  text-transform: uppercase;
}

.portal-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.portal-menu-item a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1.2rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
}

.portal-menu-item.active a, .portal-menu-item a:hover {
  background: var(--primary);
  color: var(--white);
}

.portal-menu-item.logout a {
  color: var(--danger);
}

.portal-menu-item.logout a:hover {
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger);
}

.portal-content {
  background: rgba(253, 252, 248, 0.45) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  border: 1px solid rgba(15, 81, 50, 0.10) !important;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow-sm) !important;
  min-height: 600px;
  transition: var(--transition);
}

.portal-panel {
  display: none;
}

.portal-panel.active {
  display: block;
}

/* Dashboard Stat Cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.stat-card {
  padding: 1.8rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  background: rgba(253, 252, 248, 0.45) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(15, 81, 50, 0.12) !important;
  color: var(--dark) !important;
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.stat-card.green {
  border-left: 5px solid var(--primary) !important;
  background: linear-gradient(135deg, rgba(15, 81, 50, 0.08), rgba(15, 81, 50, 0.02)) !important;
}

.stat-card.gold {
  border-left: 5px solid var(--secondary) !important;
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.08), rgba(217, 119, 6, 0.02)) !important;
}

.stat-card.slate {
  border-left: 5px solid var(--dark-light) !important;
  background: linear-gradient(135deg, rgba(100, 116, 139, 0.08), rgba(100, 116, 139, 0.02)) !important;
}

.stat-card.emerald {
  border-left: 5px solid #059669 !important;
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.08), rgba(5, 150, 105, 0.02)) !important;
}

.stat-info h4 {
  font-size: 0.85rem;
  opacity: 0.8;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--dark-light) !important;
  margin-bottom: 0.5rem;
}

body.dark-theme .stat-info h4 {
  color: #94a3b8 !important;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 800;
}

.stat-icon {
  font-size: 2.5rem;
  opacity: 0.3;
}

/* Table styling for ERP elements */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin-top: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--light-gray);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.data-table th, .data-table td {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--light-gray);
}

.data-table th {
  background: var(--light);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--dark-light);
}

.data-table tr:hover {
  background: rgba(15, 81, 50, 0.02);
}

.status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-block;
  text-transform: uppercase;
}

.status-badge.completed, .status-badge.paid, .status-badge.active {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
}

.status-badge.pending, .status-badge.unpaid, .status-badge.dispatched {
  background: rgba(217, 119, 6, 0.1);
  color: var(--secondary);
}

.status-badge.cancelled, .status-badge.inactive {
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger);
}

/* Action button icons in tables */
.action-btn {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.action-btn.edit {
  background: rgba(15, 81, 50, 0.08);
  color: var(--primary);
}

.action-btn.delete {
  background: rgba(239, 68, 68, 0.08);
  color: var(--danger);
}

.action-btn:hover {
  transform: translateY(-2px);
}

/* Target & Progress Elements */
.progress-bar-container {
  background: var(--light-gray);
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 0.5rem;
}

.progress-bar-fill {
  background: var(--success);
  height: 100%;
  border-radius: 4px;
}

/* Balance Sheet & Debit/Credit Tracker */
.ledger-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.ledger-box {
  padding: 1.8rem;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border: 1px solid rgba(15, 81, 50, 0.15);
}

.ledger-box.credit {
  background: rgba(16, 185, 129, 0.04);
  border-left: 6px solid var(--success);
}

.ledger-box.debit {
  background: rgba(239, 68, 68, 0.04);
  border-left: 6px solid var(--danger);
}

/* Section Watermark Elements in HTML */
.watermark-wrapper, section.watermark-wrapper {
  position: relative !important;
  overflow: hidden !important;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .grid-2col, .vision-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .portal-grid {
    grid-template-columns: 1fr;
  }
  .portal-sidebar {
    position: static;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-addresses {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .sb-video-wrapper, .sb-benefits-video-container {
    height: 350px !important;
    width: 100% !important;
    aspect-ratio: auto !important;
  }
  .section-title {
    font-size: 2.2rem;
  }
  .sb-info-card {
    padding-right: 0;
  }

  /* Header & Navigation Drawer Mobile/Tablet Overrides */
  header {
    height: 64px;
  }
  header.scrolled, header.force-scrolled {
    height: 56px;
  }

  /* Logo shrink on mobile/tablet */
  .logo-wrapper {
    height: 42px;
    gap: 0.5rem;
  }
  .logo-img {
    max-height: 38px !important;
  }
  .logo-text-main-hindi {
    font-size: 0.92rem;
  }
  .logo-text-sub-hindi {
    font-size: 0.68rem;
  }

  /* Mobile Menu Toggle — always white so visible on dark hero header */
  #mobile-menu-toggle {
    display: block !important;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #fff !important;
    font-size: 1.6rem;
    padding: 0.4rem 0.5rem;
    line-height: 1;
  }
  header.scrolled #mobile-menu-toggle,
  header.force-scrolled #mobile-menu-toggle {
    color: var(--dark) !important;
  }

  /* Mobile nav drawer */
  .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px;
    left: -100%;
    width: 78vw;
    max-width: 280px;
    height: calc(100vh - 64px);
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    box-shadow: 4px 0 24px rgba(0,0,0,0.18);
    padding: 1.5rem 1.2rem;
    transition: left 0.32s cubic-bezier(0.4,0,0.2,1);
    z-index: 9999;
    overflow-y: auto;
  }
  .nav-links.active {
    left: 0;
  }
  .nav-links li {
    width: 100%;
  }
  .nav-links a {
    color: var(--dark) !important;
    text-shadow: none !important;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.9rem 0.5rem;
    display: block;
    border-bottom: 1px solid rgba(0,0,0,0.07);
  }
  .nav-links a:hover {
    color: var(--primary) !important;
  }
  header.scrolled .nav-links,
  header.force-scrolled .nav-links {
    top: 56px;
    height: calc(100vh - 56px);
  }
}

@media (max-width: 768px) {
  section {
    padding: 2.5rem 0 !important;
  }
  .section-header {
    margin-bottom: 1.5rem !important;
  }
  .hero-title {
    font-size: 2rem !important;
    letter-spacing: -0.5px;
  }
  .hero-subtitle {
    font-size: 1.1rem !important;
    margin-bottom: 0.8rem !important;
  }
  .hero-desc-sub {
    font-size: 0.9rem !important;
    margin-bottom: 1.4rem !important;
  }
  .hero-stats-row {
    gap: 1rem !important;
    flex-wrap: wrap;
    margin-top: 1.2rem !important;
    padding-top: 0.8rem !important;
  }
  .stat-number {
    font-size: 1.4rem !important;
  }
  .stat-label {
    font-size: 0.7rem !important;
  }
  .section-title {
    font-size: 1.6rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-links {
    display: flex;
    flex-wrap: nowrap !important;
    justify-content: center;
    gap: 0.4rem;
    flex-direction: row !important;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .footer-links a {
    font-size: 0.75rem !important;
    padding: 0.4rem 0.8rem !important;
    white-space: nowrap;
  }
  .footer-links li {
    margin-bottom: 0 !important;
  }
  .footer-grid > div:nth-child(2) h3 {
    text-align: center;
  }
  .footer-addresses {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  .footer-contact p {
    font-size: 0.85rem;
    word-break: break-word;
    overflow-wrap: break-word;
  }
  .footer-contact a {
    word-break: break-all;
    overflow-wrap: break-word;
  }
  .footer-contact h3 {
    font-size: 1.05rem;
    margin-bottom: 0.8rem;
  }
  /* Float DB Setup FAB above WhatsApp button on mobile to avoid overlap */
  #db-setup-fab {
    bottom: 100px !important;
  }
  .distributor-card {
    padding: 2rem;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .watermark-bg {
    background-size: 140px 140px, 130px 130px !important;
    background-position: left -3% top 15%, right -3% bottom 15% !important;
    opacity: 0.18 !important;
  }
  
  /* Additional Mobile Optimizations */
  .trial-container {
    flex-direction: column;
    align-items: stretch;
  }
  .trial-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
  }
  .trial-num {
    font-size: 1.45rem !important;
  }
  .trial-txt {
    font-size: 0.82rem !important;
    text-align: center;
  }
  .product-price {
    font-size: 1.2rem !important;
    white-space: nowrap;
  }
  .product-price span {
    font-size: 0.8rem !important;
  }
  .success-card {
    width: 85vw !important;
    max-width: 320px;
    padding: 1.5rem !important;
  }
  .scroll-track {
    gap: 1.5rem !important;
  }
  .sb-video-wrapper, .sb-benefits-video-container {
    height: 250px !important;
    width: 100% !important;
    aspect-ratio: auto !important;
  }
  .sb-bullets li {
    font-size: 0.9rem;
  }
  
  /* Science Section Reordering */
  #science-section .grid-2col {
    display: flex !important;
    flex-direction: column;
    gap: 0.5rem;
  }
  #science-section .sb-info-card {
    display: contents;
  }
  #science-section .sb-info-card > h3 { order: 1; margin-bottom: 0.2rem; }
  #science-section .sb-info-card > p:nth-of-type(1) { order: 2; margin-top: 0 !important; margin-bottom: 0.5rem; }
  #science-section .sb-info-card > .sb-bullets { order: 3; margin-top: 0; margin-bottom: 0.5rem; }
  #science-section .sb-video-wrapper { 
    order: 4; 
    margin: 0.5rem 0;
  }
  #science-section .sb-info-card > .trial-container { 
    order: 5; 
    margin-top: 0.5rem; 
    gap: 0.8rem;
  }
  #science-section .sb-info-card > .sb-disclaimer { 
    order: 6; 
    margin-top: 1rem; 
  }
}

/* Mobile nav overlay backdrop (darkens the rest of the page when menu is open) */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 9998;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.nav-overlay.active {
  display: block;
}

/* Extra small phones (max 480px) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.65rem !important;
  }
  .hero-subtitle {
    font-size: 0.95rem !important;
  }
  .hero-desc-sub {
    font-size: 0.82rem !important;
  }
  .stat-number {
    font-size: 1.2rem !important;
  }
  .stat-label {
    font-size: 0.65rem !important;
  }
  .trial-num {
    font-size: 1.2rem !important;
  }
  .section-title {
    font-size: 1.4rem !important;
  }
  .section-subtitle {
    font-size: 0.75rem !important;
  }
  .faq-question {
    font-size: 0.9rem !important;
    padding: 1rem 1rem !important;
    gap: 0.7rem !important;
  }
  .faq-q-icon {
    width: 30px !important;
    height: 30px !important;
    font-size: 0.8rem !important;
  }
  .faq-answer {
    padding: 0 1rem !important;
  }
  .faq-answer.open {
    padding: 0 1rem 1rem !important;
  }
  .nav-container {
    padding: 0 1rem !important;
  }
  .logo-wrapper {
    height: 36px !important;
  }
  .logo-img {
    max-height: 32px !important;
  }
  .logo-text-main-hindi {
    font-size: 0.82rem !important;
  }
  .logo-text-sub-hindi {
    font-size: 0.6rem !important;
  }
}


 * ------------------------------------------------------------- */

/* Header text color transitions */
header .nav-links a {
  color: var(--white);
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
header.scrolled .nav-links a, header.force-scrolled .nav-links a {
  color: var(--dark-light);
  text-shadow: none;
}
header .nav-btn {
  color: var(--white);
}
header.scrolled .nav-btn, header.force-scrolled .nav-btn {
  color: var(--dark);
}
header .logo-img {
  filter: brightness(0) invert(1);
}
header.scrolled .logo-img, header.force-scrolled .logo-img {
  filter: none;
}

/* Watermark adjustments & animations */
.watermark-bg {
  animation: float-slow 15s infinite ease-in-out alternate;
}
@keyframes float-slow {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-20px) rotate(4deg); }
}

/* Animate on Scroll (Reveal) */
.animate-reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.animate-reveal.in-view {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Glow on Card Hovers */
.card-hover-glow {
  position: relative;
  transition: var(--transition);
}
.card-hover-glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  box-shadow: 0 10px 30px rgba(15, 81, 50, 0.15);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
  z-index: 1;
}
.card-hover-glow:hover {
  transform: translateY(-8px);
  border-color: var(--primary) !important;
}
.card-hover-glow:hover::before {
  opacity: 1;
}

/* Kisan Success Infinite Scroll */
.success-section {
  background: url("assets/background%20image%202.png") center/cover no-repeat;
  overflow: hidden;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}
.infinite-scroll-container {
  overflow: hidden;
  width: 100%;
  padding: 3rem 0;
  position: relative;
}
.infinite-scroll-container::before,
.infinite-scroll-container::after {
  content: '';
  position: absolute;
  top: 0;
  width: 180px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.infinite-scroll-container::before {
  left: 0;
  background: linear-gradient(to right, #fdfdf9 10%, transparent 100%);
}
.infinite-scroll-container::after {
  right: 0;
  background: linear-gradient(to left, #fdfdf9 10%, transparent 100%);
}
.scroll-track {
  display: flex;
  width: max-content;
  gap: 2.5rem;
  animation: scroll-loop 35s linear infinite;
}
.scroll-track:hover {
  animation-play-state: paused;
}
@keyframes scroll-loop {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.success-card {
  width: 350px;
  padding: 2.2rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border: 1px solid rgba(15, 81, 50, 0.15);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.success-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-light);
  background: rgba(255, 255, 255, 0.03);
}
.farmer-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.farmer-loc {
  font-size: 0.8rem;
  opacity: 0.7;
}
.success-rating {
  color: #fbbf24;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.success-text {
  font-size: 0.9rem;
  opacity: 0.95;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.success-badge-stat {
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(15, 81, 50, 0.08);
  color: var(--primary);
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  display: inline-block;
  align-self: flex-start;
}

/* Sea Buckthorn Dedicated Accordion */
.seabuckthorn-benefits-section {
  background: url("assets/background%20image%202.png") center/cover no-repeat;
  border-bottom: 1px solid var(--glass-border);
}
.sb-benefits-video-container {
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.sb-benefits-video {
  transition: transform 1s ease;
  display: block;
}
.sb-benefits-video-container:hover .sb-benefits-video {
  transform: scale(1.05);
}
.video-overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.6) 100%);
  pointer-events: none;
}
.benefits-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.benefit-item {
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 0.8rem;
}
.benefit-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.3rem;
}
.benefit-num {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--secondary);
  font-size: 1.15rem;
}
.benefit-header h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
}
.benefit-body {
  font-size: 0.92rem;
  opacity: 0.85;
  padding-left: 2rem;
  line-height: 1.4;
}

/* Admin Dashboard Appreciation Modal & Confetti Styles */
/* .watermark-bg {
  display: none !important;
} */
#confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
  display: none;
}

/* Modal Receipt Img adjustments */
#modal-receipt-img {
  max-height: 70vh;
  object-fit: contain;
}

/* -------------------------------------------------------------
 * RESPONSIVE MOBILE FIXES & FLUID VIEW OVERRIDES
 * ------------------------------------------------------------- */

/* Prevent horizontal scroll globally */
html, body {
  overflow-x: hidden !important;
  max-width: 100% !important;
}

/* Fluid Hero layout instead of fixed scrollbar width viewport */
.hero {
  width: 100% !important;
  padding-top: 75px !important;
}

/* Hide mobile-only auth links on desktop/wide screens */
.mobile-only-auth {
  display: none !important;
}

/* Sea Buckthorn Section Title scaling */
.sea-buckthorn-section .section-title {
  font-size: 2.1rem;
}

/* Responsive media queries */
@media (max-width: 1024px) {
  /* Hide desktop auth container to make room in the header */
  .nav-actions-auth {
    display: none !important;
  }
  
  /* Show mobile auth links inside mobile menu drawer */
  .mobile-only-auth {
    display: block !important;
  }
  
  /* Decrease section titles sizes on tablet/mobile */
  .section-title {
    font-size: 1.8rem !important;
  }
  
  /* Decrease Sea Buckthorn title size */
  .sea-buckthorn-section .section-title {
    font-size: 1.6rem !important;
  }

  /* Scale headings globally */
  h1 {
    font-size: 2.2rem !important;
  }
  .sb-info-card h3 {
    font-size: 1.3rem !important;
  }
  .benefit-header h4 {
    font-size: 0.95rem !important;
  }
  
  /* Testimony card formatting for mobile screens */
  .success-card {
    width: 290px !important;
    max-width: calc(100vw - 32px) !important;
    flex-shrink: 0 !important;
    padding: 1.5rem !important;
  }
  .success-text {
    font-size: 0.82rem !important;
    margin-bottom: 1rem !important;
    line-height: 1.5 !important;
  }
  .success-badge-stat {
    font-size: 0.72rem !important;
  }
  
  /* Reduce side gradients overlay width on mobile testimonials loop */
  .infinite-scroll-container::before,
  .infinite-scroll-container::after {
    width: 50px !important;
  }
}

@media (max-width: 768px) {
  /* Decrease typography further on mobile */
  .section-title {
    font-size: 1.45rem !important;
  }
  .sea-buckthorn-section .section-title {
    font-size: 1.35rem !important;
  }
  h1 {
    font-size: 1.9rem !important;
  }
  .sb-info-card h3 {
    font-size: 1.15rem !important;
  }
  .benefit-header h4 {
    font-size: 0.9rem !important;
  }
}

@media (max-width: 576px) {
  /* Stack footer bottom content (copyright and tagline) */
  .footer-bottom {
    flex-direction: column !important;
    text-align: center !important;
    gap: 0.8rem !important;
    padding-top: 1.5rem !important;
  }
}

@media (max-width: 480px) {
  /* Further scale down section titles on smallest viewports */
  .section-title {
    font-size: 1.25rem !important;
  }
  .sea-buckthorn-section .section-title {
    font-size: 1.2rem !important;
  }
  .hero-title, h1 {
    font-size: 1.7rem !important;
  }
  .sb-info-card h3 {
    font-size: 1.05rem !important;
  }
  .benefit-header h4 {
    font-size: 0.85rem !important;
  }
}

/* Responsive Sea Buckthorn Benefits Title (forces fit in one line) */
.seabuckthorn-benefits-section .section-title {
  white-space: nowrap !important;
  font-size: clamp(1.2rem, 3.8vw, 2.3rem) !important;
}

/* Blog Section Styles */
.blog-section {
  padding: 5rem 0;
  background: var(--light);
  border-bottom: 1px solid var(--glass-border);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.blog-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
  height: 100%;
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(15, 81, 50, 0.2);
}
.blog-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
  font-size: 0.85rem;
}
.blog-date {
  color: var(--dark-light);
  font-weight: 500;
}
.blog-tag {
  background: rgba(15, 81, 50, 0.08);
  color: var(--primary);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.8rem;
}
.blog-card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
  font-weight: 700;
  line-height: 1.3;
}
.blog-hindi-title {
  font-size: 1.05rem;
  color: var(--primary-light);
  margin-bottom: 1rem;
  font-weight: 600;
  font-family: var(--font-body);
}
.blog-card-body p {
  font-size: 0.9rem;
  color: var(--dark-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  margin-top: auto;
}
.blog-read-more i {
  transition: transform 0.3s ease;
}
.blog-read-more:hover {
  color: var(--secondary);
}
.blog-read-more:hover i {
  transform: translateX(5px);
}

@media (max-width: 1024px) {
  .seabuckthorn-benefits-section .section-title {
    font-size: clamp(1.1rem, 3.5vw, 1.8rem) !important;
  }
}
@media (max-width: 768px) {
  .seabuckthorn-benefits-section .section-title {
    font-size: clamp(1rem, 3.2vw, 1.35rem) !important;
  }
}
@media (max-width: 480px) {
  .seabuckthorn-benefits-section .section-title {
    font-size: clamp(0.85rem, 3vw, 1.05rem) !important;
  }
  .blog-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  .blog-card {
    padding: 1.5rem !important;
  }
}

/* Hide cheap SVG line art watermarks completely so they do not clash with the premium pencil sketch backgrounds */
.watermark-bg {
  display: none !important;
}

/* Alternating Section Backgrounds using direct background%20images for 100% drawing visibility */
/* Uses image 2 (microscopes, molecules, test tubes) for science/innovation/insights and image 1 (cows, wheat, tractors, feed bags) for retail/stories/distributors */
.sea-buckthorn-section {
  background: url("assets/background%20image%202.png") center/cover no-repeat !important;
}

.seabuckthorn-benefits-section {
  background: url("assets/background%20image.png") center/cover no-repeat !important;
}

.shop-section {
  background: url("assets/background%20image%202.png") center/cover no-repeat !important;
}

.success-section {
  background: url("assets/background%20image.png") center/cover no-repeat !important;
}

.vision-section {
  background: url("assets/background%20image%202.png") center/cover no-repeat !important;
}

.distributor-section {
  background: url("assets/background%20image.png") center/cover no-repeat !important;
}

.blog-section {
  background: url("assets/background%20image%202.png") center/cover no-repeat !important;
  border-bottom: 1px solid var(--glass-border);
}

.faq-section {
  background: url("assets/background%20image.png") center/cover no-repeat !important;
  border-bottom: 1px solid var(--glass-border);
}

/* Consistent premium glassmorphism cards across all layout sections */
.trial-card,
.success-card,
.distributor-card,
.blog-card,
.faq-item {
  background: rgba(255, 255, 255, 0.02) !important;
  backdrop-filter: blur(2px) !important;
  -webkit-backdrop-filter: blur(2px) !important;
  border: 1px solid rgba(15, 81, 50, 0.15) !important;
  box-shadow: 0 4px 20px rgba(15, 81, 50, 0.04) !important;
}

.trial-card:hover,
.success-card:hover,
.blog-card:hover,
.faq-item:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 8px 30px rgba(15, 81, 50, 0.08) !important;
  border-color: rgba(15, 81, 50, 0.25) !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

.faq-item.open {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(217, 119, 6, 0.35) !important;
}

/* Language-specific content visibility */
body.lang-en .lang-hi {
  display: none !important;
}
body.lang-hi .lang-en {
  display: none !important;
}

/* Frosted glass overrides for portal in dark theme */
body.dark-theme .portal-sidebar {
  background: rgba(15, 23, 42, 0.45) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #f8fafc !important;
}
body.dark-theme .portal-content {
  background: rgba(15, 23, 42, 0.45) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #f8fafc !important;
}

/* Premium Blog Page UI Styles */
.blog-post-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 2rem 60px 2rem;
}

.blog-breadcrumbs {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark-light);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.blog-breadcrumbs a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}
.blog-breadcrumbs a:hover {
  color: var(--secondary);
}

.blog-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}
@media (max-width: 992px) {
  .blog-hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.blog-hero-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.blog-category-badge {
  background: rgba(16, 185, 129, 0.1);
  color: var(--primary);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  width: fit-content;
}

.blog-post-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.15;
  margin: 0.5rem 0;
}

.blog-post-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 600;
  color: var(--primary-light);
  line-height: 1.4;
  opacity: 0.95;
}

.blog-post-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--dark-light);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  padding: 0.8rem 0;
  margin-top: 1rem;
}
.blog-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.blog-hero-image-wrapper {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--glass-border);
  position: relative;
  aspect-ratio: 4/3;
}
.blog-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}
.blog-hero-image-wrapper:hover .blog-hero-image {
  transform: scale(1.03);
}

.blog-intro-card {
  background: rgba(16, 185, 129, 0.04) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border-left: 6px solid var(--primary) !important;
  border-top: 1px solid var(--glass-border) !important;
  border-right: 1px solid var(--glass-border) !important;
  border-bottom: 1px solid var(--glass-border) !important;
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 3rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--dark);
}
.blog-intro-icon {
  font-size: 2.2rem;
  color: var(--primary);
  flex-shrink: 0;
}
@media (max-width: 576px) {
  .blog-intro-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
  }
}

.blog-section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 3rem 0 1.5rem 0;
  border-left: 5px solid var(--secondary);
  padding-left: 1rem;
}
.blog-section-header h2 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 700;
  color: var(--dark);
  margin: 0;
}

.blog-paragraph {
  font-size: 1rem;
  color: var(--dark-light);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.blog-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.blog-feature-card {
  background: rgba(255, 255, 255, 0.03) !important;
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
  border: 1px solid rgba(15, 81, 50, 0.15) !important;
  border-radius: 20px;
  padding: 1.8rem;
  transition: var(--transition);
  height: 100%;
}
.blog-feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary) !important;
  box-shadow: 0 10px 25px rgba(15, 81, 50, 0.08) !important;
}
.blog-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(15, 81, 50, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
}
.blog-feature-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.6rem;
}
.blog-feature-card p {
  font-size: 0.9rem;
  color: var(--dark-light);
  line-height: 1.5;
  margin: 0;
}

.blog-benefit-card {
  background: rgba(16, 185, 129, 0.08) !important;
  border: 1px solid rgba(16, 185, 129, 0.25) !important;
  border-radius: 20px;
  padding: 1.8rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  height: 100%;
}
.blog-benefit-icon {
  font-size: 2.2rem;
  color: var(--primary);
}
.blog-benefit-card h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin: 0;
}
.blog-benefit-card p {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.4;
  margin: 0;
}

.blog-bullet-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.blog-bullet-item {
  display: flex;
  gap: 1rem;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--dark);
}
.blog-bullet-icon {
  color: var(--secondary);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.blog-cta-banner {
  background: linear-gradient(135deg, rgba(15, 81, 50, 0.95), rgba(11, 15, 13, 0.95)), url("../assets/premium_cows_hero_clean.png") center/cover no-repeat !important;
  border-radius: 24px;
  padding: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  margin-top: 4rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.blog-cta-content h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.blog-cta-content p {
  font-size: 1rem;
  opacity: 0.85;
  margin: 0;
}
.blog-cta-stats {
  display: flex;
  gap: 2rem;
}
.blog-cta-stat-item {
  text-align: center;
}
.blog-cta-stat-icon {
  font-size: 1.5rem;
  color: var(--secondary);
  margin-bottom: 0.3rem;
}
.blog-cta-stat-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.8;
}
@media (max-width: 992px) {
  .blog-cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 2.5rem;
    gap: 2rem;
  }
  .blog-cta-stats {
    justify-content: center;
  }
}
@media (max-width: 576px) {
  .blog-cta-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
}

/* Dark mode specific overrides for blog cards */
body.dark-theme .blog-feature-card {
  background: rgba(17, 24, 39, 0.4) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}
body.dark-theme .blog-feature-icon {
  background: rgba(16, 185, 129, 0.15);
}
body.dark-theme .blog-benefit-card {
  background: rgba(16, 185, 129, 0.12) !important;
}


/* Language Toggle Tab */
.lang-toggle-tab {
  display: flex;
  background: rgba(255, 255, 255, 0.15);
  padding: 3px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  margin-right: 15px;
  align-items: center;
  backdrop-filter: blur(4px);
}
.lang-btn {
  background: none;
  border: none;
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  border-radius: 16px;
  transition: all 0.2s ease;
  outline: none;
}
.lang-btn.active {
  background: var(--white);
  color: var(--primary);
}

/* Theme Toggle Button */
.theme-toggle-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  margin-right: 10px;
  outline: none;
  backdrop-filter: blur(4px);
}
.theme-toggle-btn:hover {
  background: var(--white);
  color: var(--primary);
}

/* Scrolled / Styled states — dark text and dark borders */
header.scrolled .lang-toggle-tab,
header.force-scrolled .lang-toggle-tab,
header[style] .lang-toggle-tab {
  background: rgba(15, 81, 50, 0.08);
  border-color: rgba(15, 81, 50, 0.15);
}
header.scrolled .lang-btn,
header.force-scrolled .lang-btn,
header[style] .lang-btn {
  color: var(--dark-light);
}
header.scrolled .lang-btn.active,
header.force-scrolled .lang-btn.active,
header[style] .lang-btn.active {
  background: var(--primary);
  color: var(--white);
}

header.scrolled .theme-toggle-btn,
header.force-scrolled .theme-toggle-btn,
header[style] .theme-toggle-btn {
  background: rgba(15, 81, 50, 0.08);
  border-color: rgba(15, 81, 50, 0.15);
  color: var(--primary);
}
header.scrolled .theme-toggle-btn:hover,
header.force-scrolled .theme-toggle-btn:hover,
header[style] .theme-toggle-btn:hover {
  background: var(--primary);
  color: var(--white);
}

/* Circular Close Button */
.modal-close {
  background: none !important;
  border: none !important;
  font-size: 1.2rem !important;
  color: var(--dark-light) !important;
  cursor: pointer !important;
  padding: 8px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
  outline: none !important;
  width: 36px;
  height: 36px;
}
.modal-close:hover {
  background: rgba(239, 68, 68, 0.1) !important;
  color: #ef4444 !important;
}

/* Modal Overlay visibility backdrop */
.modal-overlay {
  background: rgba(15, 23, 42, 0.55) !important;
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
}
.modal-container {
  background: rgba(253, 252, 248, 0.97) !important;
  border: 1px solid rgba(15, 81, 50, 0.2) !important;
  box-shadow: 0 25px 60px rgba(0,0,0,0.3) !important;
}

/* Stat Cards Gradients */
.stat-card.blue {
  border-left: 5px solid #2563eb !important;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(37, 99, 235, 0.02)) !important;
}
.stat-card.teal {
  border-left: 5px solid #0d9488 !important;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.08), rgba(13, 148, 136, 0.02)) !important;
}
.stat-card.red {
  border-left: 5px solid #dc2626 !important;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.08), rgba(220, 38, 38, 0.02)) !important;
}
.stat-card.purple {
  border-left: 5px solid #7c3aed !important;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(124, 58, 237, 0.02)) !important;
}
.stat-card.orange {
  border-left: 5px solid #ea580c !important;
  background: linear-gradient(135deg, rgba(234, 88, 12, 0.08), rgba(234, 88, 12, 0.02)) !important;
}

/* -------------------------------------------------------------
   DARK MODE SYSTEM
   ------------------------------------------------------------- */
body.dark-theme {
  --light: #0b0f0d;
  --dark: #f8fafc;
  --dark-light: #cbd5e1;
  --light-gray: #1e293b;
  --white: #ffffff;
  --glass-bg: rgba(11, 15, 13, 0.88);
  --glass-border: rgba(255, 255, 255, 0.15);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.8);
  
  /* Accessible green/gold variants for dark theme */
  --primary: #10b981;
  --primary-light: #34d399;
  --primary-dark: #2dd4bf;
  --secondary: #fbbf24;
  --secondary-light: #fcd34d;
  --secondary-dark: #f59e0b;
}

body.dark-theme::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 15, 13, 0.85) !important;
  z-index: -1;
  pointer-events: none;
}

body.dark-theme header {
  background: rgba(11, 15, 13, 0.9) !important;
  border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}

body.dark-theme input,
body.dark-theme textarea,
body.dark-theme select {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  color: #f8fafc !important;
}

body.dark-theme input:focus,
body.dark-theme textarea:focus,
body.dark-theme select:focus {
  border-color: var(--primary-light) !important;
  box-shadow: 0 0 0 3px rgba(21, 115, 71, 0.2) !important;
}

body.dark-theme .modal-container {
  background: rgba(22, 28, 25, 0.98) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  color: #f1f5f9 !important;
}

body.dark-theme .modal-header,
body.dark-theme .modal-footer {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

body.dark-theme .modal-close {
  color: #cbd5e1 !important;
}

body.dark-theme .modal-close:hover {
  background: rgba(239, 68, 68, 0.15) !important;
  color: #ef4444 !important;
}

body.dark-theme .data-table th {
  background: rgba(255, 255, 255, 0.05) !important;
  color: #cbd5e1 !important;
}

body.dark-theme .data-table td {
  border-color: rgba(255, 255, 255, 0.08) !important;
  color: #e2e8f0 !important;
}

body.dark-theme .stat-card {
  box-shadow: 0 4px 15px rgba(0,0,0,0.4) !important;
  background: rgba(15, 23, 42, 0.45) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #f8fafc !important;
}

body.dark-theme .portal-sidebar {
  border-right-color: rgba(255, 255, 255, 0.1) !important;
}

body.dark-theme .portal-menu-item a {
  color: #cbd5e1 !important;
}

body.dark-theme .portal-menu-item.active a {
  background: rgba(21, 115, 71, 0.25) !important;
  color: #2dd4bf !important;
}

body.dark-theme .sb-info-card {
  background: rgba(255, 255, 255, 0.02) !important;
}

body.dark-theme .benefit-header h4 {
  color: #f8fafc !important;
}

body.dark-theme .faq-answer {
  color: #cbd5e1 !important;
}

body.dark-theme .faq-item {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

body.dark-theme .lang-toggle-tab {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

body.dark-theme .lang-btn.active {
  background: var(--primary-light) !important;
}

body.dark-theme .logo-text-branding span {
  color: #f8fafc !important;
}

body.dark-theme footer {
  background: #060907 !important;
}

body.dark-theme .theme-toggle-btn {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  color: #cbd5e1 !important;
}
body.dark-theme .theme-toggle-btn:hover {
  background: var(--primary-light) !important;
  color: var(--white) !important;
}

body.dark-theme .logo-img {
  filter: brightness(1.2) !important;
}

/* Dark mode section background%20image overrides (keep drawings visible but dark and dimmed) */
body.dark-theme .sea-buckthorn-section {
  background: linear-gradient(rgba(11, 15, 13, 0.94), rgba(11, 15, 13, 0.94)), url("assets/background%20image%202.png") center/cover no-repeat !important;
}
body.dark-theme .seabuckthorn-benefits-section {
  background: linear-gradient(rgba(11, 15, 13, 0.94), rgba(11, 15, 13, 0.94)), url("assets/background%20image.png") center/cover no-repeat !important;
}
body.dark-theme .shop-section {
  background: linear-gradient(rgba(11, 15, 13, 0.94), rgba(11, 15, 13, 0.94)), url("assets/background%20image%202.png") center/cover no-repeat !important;
}
body.dark-theme .success-section {
  background: linear-gradient(rgba(11, 15, 13, 0.94), rgba(11, 15, 13, 0.94)), url("assets/background%20image.png") center/cover no-repeat !important;
}
body.dark-theme .vision-section {
  background: linear-gradient(rgba(11, 15, 13, 0.94), rgba(11, 15, 13, 0.94)), url("assets/background%20image%202.png") center/cover no-repeat !important;
}
body.dark-theme .distributor-section {
  background: linear-gradient(rgba(11, 15, 13, 0.94), rgba(11, 15, 13, 0.94)), url("assets/background%20image.png") center/cover no-repeat !important;
}
body.dark-theme .blog-section {
  background: linear-gradient(rgba(11, 15, 13, 0.94), rgba(11, 15, 13, 0.94)), url("assets/background%20image%202.png") center/cover no-repeat !important;
}
body.dark-theme .faq-section {
  background: linear-gradient(rgba(11, 15, 13, 0.94), rgba(11, 15, 13, 0.94)), url("assets/background%20image.png") center/cover no-repeat !important;
}

/* Ensure modal input dropdowns and other buttons show clean contrast in dark mode */
body.dark-theme .btn-primary {
  color: var(--white) !important;
}
body.dark-theme .btn-secondary-outline {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  color: #f8fafc !important;
}
body.dark-theme select option {
  background-color: var(--white) !important;
  color: var(--dark) !important;
}
body.dark-theme .pincode-badge {
  background: rgba(16, 185, 129, 0.2) !important;
  color: #34d399 !important;
}

/* Subpage background styles (consistent drawing visibility via pseudo-elements) */
body.subpage-body {
  background: transparent !important;
  position: relative;
}
body.subpage-body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("assets/background%20image%202.png") center/cover no-repeat !important;
  z-index: -2;
  pointer-events: none;
}
body.subpage-body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.75) !important;
  z-index: -1;
  pointer-events: none;
}
body.dark-theme.subpage-body::before {
  background: rgba(11, 15, 13, 0.85) !important;
}

/* Premium Blog Details Layout & Sidebar */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  margin-top: 2rem;
  align-items: start;
}
@media (max-width: 992px) {
  .blog-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}
.blog-main-content {
  min-width: 0;
}
.blog-sidebar {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.blog-sidebar-widget {
  background: rgba(253, 252, 248, 0.45) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  border: 1px solid var(--glass-border) !important;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
body.dark-theme .blog-sidebar-widget {
  background: rgba(15, 23, 42, 0.45) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}
.blog-sidebar-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.25rem;
  border-bottom: 2px solid var(--secondary);
  padding-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
body.dark-theme .blog-sidebar-title {
  color: var(--primary-light);
}
.blog-sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.blog-sidebar-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding-bottom: 0.8rem;
  transition: var(--transition);
}
body.dark-theme .blog-sidebar-item {
  border-bottom-color: rgba(255, 255, 255, 0.05);
}
.blog-sidebar-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.blog-sidebar-link {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.blog-sidebar-link-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.35;
  transition: var(--transition);
}
body.dark-theme .blog-sidebar-link-title {
  color: #cbd5e1;
}
.blog-sidebar-link:hover .blog-sidebar-link-title {
  color: var(--primary);
}
body.dark-theme .blog-sidebar-link:hover .blog-sidebar-link-title {
  color: var(--primary-light);
}
.blog-sidebar-link-date {
  font-size: 0.75rem;
  color: var(--dark-light);
  opacity: 0.7;
}
.blog-sidebar-item.coming-soon {
  opacity: 0.7;
}
.blog-sidebar-badge {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  background: rgba(217, 119, 6, 0.1);
  color: var(--secondary-dark);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  margin-left: 0.5rem;
  text-transform: uppercase;
}
body.dark-theme .blog-sidebar-badge {
  background: rgba(251, 191, 36, 0.15);
  color: var(--secondary-light);
}
.blog-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
  margin-bottom: 1.5rem;
  cursor: pointer;
  background: transparent;
  width: fit-content;
}
body.dark-theme .blog-back-btn {
  border-color: var(--primary-light);
  color: var(--primary-light);
}
.blog-back-btn:hover {
  background: var(--primary);
  color: var(--white) !important;
  transform: translateX(-4px);
}
body.dark-theme .blog-back-btn:hover {
  background: var(--primary-light);
  color: var(--white) !important;
}

/* Customized Post Elements */
.blog-paragraph.intro::first-letter {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary);
  float: left;
  line-height: 0.9;
  margin-right: 0.6rem;
  margin-top: 0.1rem;
  font-family: var(--font-heading);
}
body.dark-theme .blog-paragraph.intro::first-letter {
  color: var(--primary-light);
}
.blog-pullquote {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--primary-light);
  border-left: 4px solid var(--secondary);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 2.2rem 0;
  line-height: 1.6;
  font-weight: 600;
  background: rgba(217, 119, 6, 0.02);
  border-radius: 0 12px 12px 0;
}
body.dark-theme .blog-pullquote {
  background: rgba(217, 119, 6, 0.05);
}
.blog-highlight-box {
  background: rgba(15, 81, 50, 0.03) !important;
  border: 1px solid rgba(15, 81, 50, 0.1) !important;
  border-left: 5px solid var(--primary) !important;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  margin: 2.2rem 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--dark);
}
body.dark-theme .blog-highlight-box {
  background: rgba(16, 185, 129, 0.06) !important;
  border-color: rgba(16, 185, 129, 0.15) !important;
  border-left-color: var(--primary-light) !important;
  color: #e2e8f0;
}
.blog-highlight-box strong {
  color: var(--primary);
}
body.dark-theme .blog-highlight-box strong {
  color: var(--primary-light);
}

/* Firebase Live Status Dot Pulse Animation */
@keyframes pulse-dot {
  0%   { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
  70%  { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

body.dark-theme .cart-drawer {
  background: var(--light) !important;
  border-left: 1px solid var(--glass-border);
}

/* Global News Ticker */
.news-ticker-container {
  display: flex;
  align-items: center;
  background: var(--primary-light, rgba(15, 81, 50, 0.05));
  border-bottom: 1.5px solid var(--primary, #0f5132);
  height: 36px;
  overflow: hidden;
  z-index: 1000;
  position: fixed;
  top: 90px;
  left: 0;
  width: 100%;
  font-family: 'Outfit', sans-serif;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  backdrop-filter: blur(8px);
}
.news-ticker-label {
  background: var(--primary, #0f5132);
  color: white;
  padding: 0 1rem;
  height: 100%;
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  box-shadow: 2px 0 5px rgba(0,0,0,0.1);
  z-index: 2;
}
.news-ticker-content {
  flex: 1;
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark, #1e293b);
  overflow: hidden;
  padding-left: 1rem;
}
.news-ticker-content marquee {
  width: 100%;
}
body.dark-theme .news-ticker-container {
  background: rgba(16, 185, 129, 0.08);
  border-bottom-color: var(--primary-light);
}
body.dark-theme .news-ticker-label {
  background: var(--primary-light);
  color: var(--light);
}
body.dark-theme .news-ticker-content {
  color: var(--light);
}

/* Adjust page spacing for ticker */
.portal-main, .admin-main {
  padding-top: 156px !important;
}
.login-main {
  padding-top: 156px !important;
}
#home-section {
  padding-top: 156px !important;
}

/* Profile Image Upload */
.profile-avatar-wrapper {
  position: relative;
  width: 90px;
  height: 90px;
  margin: 0 auto 1rem auto;
}
.profile-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
  box-shadow: var(--shadow-sm);
}
.profile-avatar-upload-label {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--primary);
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.8rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}
.profile-avatar-upload-label:hover {
  background: var(--secondary);
  transform: scale(1.1);
}

.status-badge.partial {
  background: rgba(217, 119, 6, 0.1) !important;
  color: #d97706 !important;
}
.status-badge.advance {
  background: rgba(37, 99, 235, 0.1) !important;
  color: #2563eb !important;
}
