:root {
  /* Colors - "Vibrant Organic" Palette */
  --primary-color: #1B4332;
  /* Deep Forest Green - Trust/Premium */
  --primary-light: #2D6A4F;
  /* Lighter Green */
  --secondary-color: #FB8500;
  /* Vibrant Saffron/Orange - Action/Pop */
  --secondary-hover: #FFB703;
  /* Yellow-Orange */
  --accent-color: #D4A373;
  /* Warm Sand/Beige Accent */

  /* Backgrounds */
  --bg-light: #FEFAE0;
  /* Very soft warm white/cream */
  --bg-white: #FFFFFF;
  --bg-card: #FFFFFF;
  /* Clean white cards for glassmorphism */

  /* Text */
  --text-dark: #1F2421;
  /* Charcoal Black */
  --text-grey: #4A5759;
  /* Slate Grey */
  --border-color: #E9EDC9;
  /* Soft Green-Beige Border */

  /* Font Families */
  --font-main: 'Mulish', 'Inter', sans-serif;
  /* High legibility */
  --font-heading: 'Poppins', sans-serif;
  /* Modern, Bold, Startup-like */

  /* Spacing */
  --container-padding: 20px;
  --radius-md: 16px;
  /* Enhanced Rounding */
  --radius-lg: 24px;

  /* Shadows - Soft & Deep */
  --shadow-sm: 0 4px 6px -1px rgba(27, 67, 50, 0.08);
  /* Green tinted shadow */
  --shadow-md: 0 10px 30px -5px rgba(27, 67, 50, 0.12);
  --shadow-lg: 0 20px 40px -5px rgba(27, 67, 50, 0.15);

  /* Shared Transitions */
  --transition-speed: 0.3s;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Dark Mode Variables */
body.dark-mode {
  --bg-light: #121212;
  --bg-card: #1E1E1E;
  --bg-white: #1a1a1a;
  --text-dark: #E0E0E0;
  --text-grey: #a0a0a0;
  --border-color: #333333;

  --bg-dark: #121212;
  --bg-card-dark: #1E1E1E;
  --text-light: #E0E0E0;
  --border-dark: #333333;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  padding-bottom: 0px;
  transition: background-color var(--transition-speed), color var(--transition-speed);
}



body.dark-mode .hero {
  background: var(--bg-card-dark);
}

body.dark-mode header {
  background: rgba(18, 18, 18, 0.95);
  border-bottom: 1px solid var(--border-dark);
}

body.dark-mode .nav-link {
  color: var(--text-light);
}

body.dark-mode .nav-link:hover {
  color: var(--secondary-color);
}

body.dark-mode .dropdown-content {
  background: var(--bg-card-dark);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

body.dark-mode .dropdown-content a {
  color: var(--text-light);
}

body.dark-mode .dropdown-content a:hover {
  background: #2a2a2a;
  color: var(--secondary-color);
}

body.dark-mode .product-card,
body.dark-mode .feature-box,
body.dark-mode .info-table,
body.dark-mode .badge-card,
body.dark-mode .feature-card,
body.dark-mode .blog-card {
  background: var(--bg-card-dark);
  border-color: var(--border-dark);
  color: var(--text-light);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

body.dark-mode .product-name {
  color: var(--text-light);
}

body.dark-mode .product-img {
  background: #2a2a2a;
}

body.dark-mode .section-subtitle,
body.dark-mode .product-weight,
body.dark-mode p {
  color: #bbb;
}

body.dark-mode .cart-icon {
  background: var(--bg-card-dark);
  color: var(--text-light);
}

/* Logo updates */
.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  line-height: 1.2;
}

.logo span:first-child {
  font-size: 1.5rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  font-family: var(--font-heading);
}

.brand-subtitle {
  font-size: 0.65rem;
  color: var(--text-grey);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0;
}

.logo-subtitle {
  font-size: 0.75rem;
  color: var(--text-grey);
  font-family: var(--font-main);
  letter-spacing: 0.5px;
}

body.dark-mode .logo-subtitle {
  color: #bbb;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

/* Scroll Reveal Class (to be added by JS intersection observer or just simple animation) */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

h1,
h2,
h3,
h4,
.logo {
  font-family: var(--font-heading);
  color: var(--primary-color);
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode .logo,
body.dark-mode .brand-title {
  color: var(--text-light);
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.2s;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}

/* --- Layout --- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: 60px 0;
}

.section-padding {
  padding: 60px 0;
}

.mt-3 {
  margin-top: 1rem;
}

.mt-4 {
  margin-top: 1.5rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.max-600 {
  max-width: 600px;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

/* --- Header & Navigation --- */
header {
  background: var(--bg-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0;
}

.nav-container {
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  z-index: 1001;
}

.logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

/* Navigation Links */
.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  color: var(--text-dark);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--secondary-color);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--secondary-color);
  transform: scaleX(1);
  transition: transform 0.3s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--secondary-color);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

/* Header Actions (Right Side) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Language Toggle */
.lang-toggle {
  background: transparent;
  border: 1px solid var(--primary-light);
  color: var(--primary-color);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-main);
  font-weight: 600;
}

.lang-toggle:hover {
  background: var(--primary-color);
  color: white;
}

/* Theme Toggle */
.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary-color);
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.theme-toggle:hover {
  color: var(--secondary-color);
  transform: rotate(15deg);
}

/* Cart Button */
.cart-btn {
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}

.cart-btn i {
  width: 20px;
  height: 20px;
}

.cart-btn:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.cart-count {
  font-weight: 700;
  font-size: 0.9rem;
}

/* Dark Mode Overrides for Header */
body.dark-mode .lang-toggle {
  border-color: var(--text-light);
  color: var(--text-light);
}

body.dark-mode .lang-toggle:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  color: white;
}

body.dark-mode .theme-toggle {
  color: var(--text-light);
}

body.dark-mode .cart-btn {
  background: var(--secondary-color);
  color: white;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--primary-color);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1002;
}

/* Mobile Responsive Header */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    order: 3;
  }

  /* Fix Mobile Header Overlap */
  .brand-subtitle {
    display: none;
  }

  .brand-title {
    font-size: 0.9rem;
    /* Smaller font */
    line-height: 1.1;
  }

  .logo {
    gap: 6px;
    flex-shrink: 1;
    /* Allow logo to shrink if needed */
  }

  .logo-img {
    height: 32px;
    /* Smaller image */
  }

  .header-actions {
    order: 2;
    margin-right: 5px;
    /* Reduced margin */
    gap: 6px;
    /* Reduced gap between buttons */
  }

  /* Compact buttons on mobile */
  .header-actions .lang-toggle {
    padding: 4px 8px;
    font-size: 0.75rem;
  }

  .header-actions .theme-toggle {
    padding: 4px;
  }

  .header-actions .cart-btn {
    padding: 6px 10px;
  }

  .header-actions .cart-btn span {
    display: none;
    /* Hide '0' text if needed, or just keep it small. Let's keep it but maybe smaller */
    font-size: 0.8rem;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-white);
    flex-direction: column;
    padding: 80px 20px 20px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    align-items: flex-start;
  }

  .nav-links.active {
    right: 0;
  }

  body.dark-mode .nav-links {
    background: var(--bg-card-dark);
  }
}

/* --- Hero --- */
.hero {
  background: linear-gradient(rgba(46, 89, 54, 0.9), rgba(93, 64, 55, 0.8)), url('../images/vindhya millets gallery (2).jpg');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 100px 20px;
  text-align: center;
  border-radius: 0;
  margin-bottom: 0px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.hero-tag {
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  display: inline-block;
  backdrop-filter: blur(5px);
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero h1 {
  font-size: 3.5rem;
  color: white;
  margin-bottom: 16px;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
  max-width: 700px;
  margin: 0 auto 30px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 50px;
  /* Full Pill Shape */
  font-weight: 600;
  font-family: var(--font-heading);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  gap: 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.btn-large {
  padding: 14px 32px;
  font-size: 1.05rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-hover));
  color: #121212;
  /* Dark text on orange/yellow is high contrast */
  box-shadow: 0 4px 15px rgba(251, 133, 0, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--secondary-hover), var(--secondary-color));
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(251, 133, 0, 0.5);
  border-color: transparent;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--secondary-color);
  /* Thicker border for better visibility */
  color: var(--secondary-color);
}

.hero .btn-outline {
  border-color: white;
  color: white;
}

.btn-outline:hover {
  background: var(--secondary-color);
  color: white;
}

.hero .btn-outline:hover {
  background: white;
  color: var(--primary-color);
}

/* --- Premium Amazon / Buy Now Button --- */
.btn-amazon {
  background: linear-gradient(135deg, #FF9900 0%, #FFB800 100%);
  color: #111;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 153, 0, 0.3);
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.3s ease;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.btn-amazon:hover {
  background: linear-gradient(135deg, #FFB800 0%, #FF9900 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 153, 0, 0.5);
  color: #000;
}

/* Shimmer Effect */
.btn-amazon::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: 0.5s;
  z-index: -1;
}

.btn-amazon:hover::after {
  left: 100%;
  transition: 0.7s;
}

.product-actions {
  display: flex;
  gap: 12px;
  margin-top: 15px;
  width: 100%;
}

.product-actions .btn {
  flex: 1;
  /* Make buttons share equal width */
  padding: 10px 16px;
  /* Adjust padding for side-by-side */
  font-size: 0.85rem;
  white-space: nowrap;
}

/* --- Trust Badges (Cards) --- */
.trust-badges {
  background: var(--bg-light);
}

.badges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.badge-card {
  background: var(--bg-white);
  padding: 24px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.badge-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary-color);
}

.badge-icon {
  background: #E8F5E9;
  /* Light green bg */
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-color);
  margin-bottom: 16px;
}

.badge-content h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  font-family: var(--font-main);
  font-weight: 700;
}

.badge-content p {
  color: var(--text-grey);
  font-size: 0.9rem;
}


/* --- Features Grid (Why Switch) --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.feature-card {
  background: var(--bg-card);
  padding: 30px 20px;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: transform 0.3s ease;
  border: 1px solid transparent;
}

.feature-card:hover {
  transform: translateY(-5px);
  background: white;
  box-shadow: var(--shadow-md);
  border-color: var(--border-color);
}

.feature-icon {
  color: var(--accent-color);
  margin-bottom: 15px;
}

.feature-icon i {
  width: 40px;
  height: 40px;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-grey);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* --- Farmer Story Section --- */
.farmer-story-section {
  background-color: #F5F1E8;
  /* Slightly different beige */
  padding: 60px 0;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

@media (max-width: 900px) {
  .story-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .story-grid.reverse-mobile {
    display: flex;
    flex-direction: column-reverse;
  }
}

.story-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.story-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.story-list {
  margin-top: 20px;
}

.story-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 1.05rem;
  font-weight: 500;
}

.story-list li i {
  color: var(--secondary-color);
  width: 20px;
  height: 20px;
}

/* --- Product Cards --- */
.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-grey);
  margin-bottom: 40px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding-bottom: 30px;
}

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid transparent;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  /* Ensure equal height */
  text-align: center;
  padding-bottom: 20px;
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.product-img {
  height: 250px;
  background: #fff;
  width: 100%;
  object-fit: contain;
  padding: 20px;
}

.product-info {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-tag {
  font-size: 0.75rem;
  color: var(--secondary-color);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.product-name {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.product-weight {
  color: var(--text-grey);
  font-size: 0.85rem;
  margin-bottom: 15px;
}

.product-price-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: auto;
  margin-bottom: 15px;
}

.price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
}

.btn-add {
  background: var(--bg-light);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  width: 100%;
}

.btn-add:hover {
  background: var(--primary-color) !important;
  color: white !important;
}

.btn-amazon {
  background: #FF9900;
  color: #121212;
  border: none;
  font-weight: 600;
  flex: 1;
}

.btn-amazon:hover {
  background: #E88B00;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 153, 0, 0.3);
}

.product-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.product-actions .btn {
  padding: 10px;
  font-size: 0.9rem;
}

/* Dynamic Content Classes (Replaces Inline JS Styles) */
.product-img-wrapper {
  position: relative;
  overflow: hidden;
}

.health-tag-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary-color);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.product-desc {
  color: var(--text-grey);
  margin-bottom: 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.product-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 1rem;
  padding: 0 10px;
}

.product-price {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary-color);
}

.product-weight-text {
  color: var(--text-grey);
  font-size: 0.9rem;
}


.product-actions {
  display: flex;
  gap: 0.5rem;
  width: 100%;
}

.empty-state-message {
  grid-column: 1/-1;
  text-align: center;
  padding: 4rem;
  color: var(--text-grey);
}


/* Blog Highlights specific */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  padding-bottom: 40px;
}

.blog-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.blog-card .blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-category {
  font-size: 0.75rem;
  color: var(--secondary-color);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.blog-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
  line-height: 1.4;
  color: var(--primary-color);
}


.blog-excerpt {
  color: var(--text-grey);
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.6;
  flex-grow: 1;
}


.blog-card .btn-outline {
  margin-top: auto;
  border-color: var(--primary-color);
  color: var(--primary-color);
  width: 100%;
}

.blog-card .btn-outline:hover {
  background: var(--primary-color);
  color: white;
}

/* --- Newsletter --- */
.newsletter {
  background-color: var(--primary-color);
  color: white;
  text-align: center;
}

.newsletter h2 {
  color: white;
  margin-bottom: 10px;
}

.newsletter p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 10px;
  max-width: 500px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 20px;
  border-radius: 6px;
  border: none;
  font-family: var(--font-main);
  min-width: 250px;
}

/* --- Premium Footer --- */
.footer-premium {
  background-color: var(--primary-color);
  color: white;
  padding: 80px 0 30px;
  margin-top: 60px;
  font-family: var(--font-main);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .footer-logo {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

.footer-brand .brand-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--secondary-color);
  line-height: 1.2;
}

.footer-brand .brand-subtitle {
  font-size: 0.7rem;
  letter-spacing: 1px;
  opacity: 0.8;
  margin-top: 2px;
}

.footer-desc {
  font-size: 0.95rem;
  color: #d1d5db;
  /* Gray-300 equivalent */
  line-height: 1.6;
  margin-bottom: 25px;
  max-width: 300px;
}

/* Social Links */
.footer-brand .social-links {
  display: flex;
  gap: 15px;
}

.footer-brand .social-links a {
  color: white;
  background: rgba(255, 255, 255, 0.1);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.footer-brand .social-links a:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
  color: #121212;
}

/* Links Columns */
.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-heading);
  color: var(--secondary-color);
  font-size: 1.1rem;
  margin-bottom: 25px;
  letter-spacing: 0.5px;
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  color: #d1d5db;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links ul li a:hover {
  color: var(--secondary-color);
  transform: translateX(5px);
}

/* Contact Column */
.footer-contact ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
  color: #d1d5db;
  font-size: 0.95rem;
}

.footer-contact ul li i {
  color: var(--secondary-color);
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

/* Footer Bottom */
.footer-bottom {
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.9rem;
  color: #9ca3af;
}

.developer-credit a {
  color: var(--secondary-color);
  font-weight: 500;
  text-decoration: none;
}

/* Responsive Footer */
@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand .footer-logo {
    align-items: center;
  }

  .footer-brand .social-links {
    justify-content: center;
  }

  .footer-contact ul li {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* orphaned code
flex-direction: column;
gap: 8px;
*/


.developer-credit a {
  color: var(--secondary-color);
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

/* --- Shop Sidebar Layout --- */
.shop-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 40px;
  align-items: start;
  padding-top: 20px;
  padding-bottom: 60px;
}

.shop-sidebar {
  background: var(--bg-card);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  position: sticky;
  top: 100px;
  /* Sticks when scrolling */
}

.filter-group {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.filter-group:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.filter-group h3 {
  font-size: 1rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-color);
}

.filter-group h3 i {
  width: 18px;
  height: 18px;
}

/* Custom Checkboxes */
.category-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: color 0.2s;
}

.checkbox-container:hover {
  color: var(--primary-color);
}

.checkbox-container input {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid var(--text-grey);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
}

.checkbox-container input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

/* Search Box */
.search-box input {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background: var(--bg-light);
  color: var(--text-primary);
}

.search-box input:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 2px rgba(46, 89, 54, 0.1);
}

/* Sort Controls */
.shop-header-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
}

.sort-box select {
  padding: 8px 12px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-primary);
  cursor: pointer;
}

@media (max-width: 900px) {
  .shop-layout {
    grid-template-columns: 1fr;
    /* Stack on mobile */
  }

  .shop-sidebar {
    position: static;
    margin-bottom: 30px;
  }
}

/* --- Cart Modal (Fixed Position Fix) --- */
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(2px);
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-modal {
  position: fixed;
  top: 0;
  right: -400px;
  /* Hide off-screen */
  width: 400px;
  max-width: 90%;
  height: 100vh;
  /* Full viewport height */
  background: var(--bg-card);
  z-index: 1000;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  transition: right 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.cart-modal.active {
  right: 0;
}

.cart-header {
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-card);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.cart-footer {
  padding: 20px;
  border-top: 1px solid var(--border-color);
  background: var(--bg-card);
}

/* --- Cart Item Styles (Premium Redesign) --- */
.cart-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-color);
  animation: fadeIn 0.3s ease;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-image {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 1px solid var(--border-color);
  background: var(--bg-light);
}

.cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cart-item-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
}

.cart-item-price {
  font-size: 0.9rem;
  color: var(--secondary-color);
  font-weight: 500;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.qty-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  transition: all 0.2s;
}

.qty-btn:hover {
  border-color: var(--secondary-color);
  color: var(--secondary-color);
  background: rgba(56, 142, 60, 0.05);
}

.cart-item-total {
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary-color);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
}

/* --- Floating Cart Button --- */
.floating-cart-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 990;
  /* Below modal (1000) but above content */
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-cart-btn:hover {
  transform: scale(1.1);
  background: var(--secondary-color);
}

.floating-cart-btn i {
  width: 24px;
  height: 24px;
}

.floating-cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #FF9900;
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  min-width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-card);
}

.floating-cart-btn.bump {
  animation: bump 0.3s ease;
}

@keyframes bump {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }
}

/* =========================================
   MOBILE RESPONSIVENESS REFINEMENTS (FINAL)
   ========================================= */

@media (max-width: 768px) {
  /* --- Global Improvements --- */

  /* Container Padding */
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Typography Clamping and Readability */
  h1,
  .page-title,
  .hero-title,
  .section-heading {
    font-size: clamp(1.8rem, 5vw, 2.5rem) !important;
    line-height: 1.2;
  }

  p,
  .lead-text,
  .product-desc {
    font-size: 1rem !important;
    line-height: 1.6;
  }

  /* --- Navigation --- */
  .nav-links .nav-link {
    padding: 15px 0;
    width: 100%;
    display: block;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 1.1rem;
  }

  /* --- Home Page --- */
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 10px;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  /* --- Product Page --- */
  .shop-sidebar {
    background: #FAFAFA;
    border: 1px solid #E0E0E0;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 16px;
  }

  .shop-header-controls {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .sort-box {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  /* --- Blog Page --- */
  /* Horizontal Scroll for Filters */
  .filter-bar {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 15px;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    gap: 10px;
    scrollbar-width: none;
    /* Firefox */
  }

  .filter-bar::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
  }

  .filter-btn {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 0.9rem;
    padding: 8px 20px;
  }

  /* --- Gallery --- */
  /* Ensure 2 columns for images on mobile (better visual) */
  .gallery-grid,
  .gallery-page-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }

  /* --- Footer --- */
  .footer-premium {
    text-align: center;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-links ul li a:hover {
    transform: none;
    /* Disable shift on touch */
    color: var(--secondary-color);
  }
}

/* Very Small Screens */
@media (max-width: 380px) {

  .gallery-grid,
  .gallery-page-grid {
    grid-template-columns: 1fr !important;
  }

  .product-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Hide floating button on very small screens if needed, 
   but user asked for it, so keeping it visible */
@media (max-width: 480px) {
  .floating-cart-btn {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
}

/* --- About Us Page Revamp --- */
.about-hero {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 60px;
  overflow: hidden;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  background: rgba(0, 0, 0, 0.4);
  padding: 40px;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(2px);
}

.hero-title {
  font-size: 3.5rem;
  font-family: var(--font-heading);
  margin-bottom: 10px;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 300;
  letter-spacing: 1px;
}

.intro-box {
  max-width: 800px;
  margin: 0 auto 60px;
  text-align: center;
}

.lead-text {
  font-size: 1.5rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.sub-lead {
  font-size: 1.2rem;
  color: var(--secondary-color);
  font-weight: 500;
  margin-bottom: 20px;
}

.brand-highlight {
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-weight: 700;
}

/* Focus Section */
.focus-section {
  margin-bottom: 80px;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.focus-card {
  background: var(--bg-card);
  padding: 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.focus-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.focus-icon {
  width: 60px;
  height: 60px;
  background: rgba(46, 89, 54, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary-color);
}

.focus-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.focus-card p {
  color: var(--text-grey);
  font-size: 0.95rem;
}

/* Identity & Commitment */
.identity-section {
  margin-bottom: 60px;
}

.identity-card {
  background: var(--bg-light);
  padding: 40px;
  border-radius: var(--radius-lg);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.cin-badge {
  display: inline-block;
  background: var(--bg-card);
  padding: 8px 16px;
  border-radius: 20px;
  font-family: monospace;
  font-size: 1rem;
  color: var(--secondary-color);
  border: 1px solid var(--border-color);
  margin-top: 20px;
}

.commitment-section {
  margin-bottom: 80px;
}

.quote-box {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  padding: 60px 40px;
  border-radius: var(--radius-lg);
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.heart-icon {
  margin-bottom: 20px;
  width: 40px;
  height: 40px;
  opacity: 0.9;
}

.quote-text {
  font-size: 1.8rem;
  font-family: var(--font-heading);
  line-height: 1.4;
  font-style: italic;
  max-width: 800px;
  margin: 20px auto 0;
}

.quote-box h3 {
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
}

/* Directors Section */
.directors-section {
  margin-bottom: 60px;
}

.directors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.director-card {
  text-align: center;
  padding: 20px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  transition: transform 0.3s ease;
}

.director-card:hover {
  transform: translateY(-5px);
}

.director-img-wrapper {
  width: 150px;
  height: 150px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--bg-light);
  box-shadow: var(--shadow-md);
}

.director-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.director-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.director-title {
  color: var(--secondary-color);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
}

/* Animations */
.animate-fade-in {
  /* ... existing fade in logic or rely on fade-in-up class */
}

/* --- Advanced Animations --- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Zoom In Effect */
.animate-on-scroll.zoom-in {
  transform: scale(0.9);
}

.animate-on-scroll.zoom-in.visible {
  transform: scale(1);
}

/* Slide Up Effect (Default, but explicit) */
.animate-on-scroll.slide-up {
  transform: translateY(30px);
}

.animate-on-scroll.slide-up.visible {
  transform: translateY(0);
}

/* Delays */
.delay-100 {
  transition-delay: 0.1s;
}

.delay-200 {
  transition-delay: 0.2s;
}

.delay-300 {
  transition-delay: 0.3s;
}

.delay-400 {
  transition-delay: 0.4s;
}

.delay-500 {
  transition-delay: 0.5s;
}

/* Card Hover Effects */
.focus-card,
.director-card {
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease !important;
}

.focus-card:hover,
.director-card:hover {
  transform: translateY(-8px) scale(1.02) !important;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.director-card:hover .director-img-wrapper {
  border-color: var(--primary-color);
  transform: scale(1.05);
}

.director-img-wrapper {
  transition: all 0.3s ease;
}

/* Page Headers */
.page-header {
  text-align: center;
  padding: 60px 20px;
  background-color: var(--bg-card);
  /* Light background */
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
}

.page-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-header p {
  font-size: 1.1rem;
  color: var(--text-grey);
  max-width: 600px;
  margin: 0 auto;
}

/* --- Start Contact Page Revamp Styles --- */

/* Contact Hero */
.contact-hero {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  padding: 80px 20px 100px;
  position: relative;
  overflow: hidden;
}

.contact-hero .hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 20%),
    radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 20%);
  pointer-events: none;
}

.hero-badge {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: inline-block;
  backdrop-filter: blur(5px);
}

.text-white {
  color: #fff !important;
}

.text-white-50 {
  color: rgba(255, 255, 255, 0.8) !important;
}

.text-muted {
  color: var(--text-grey) !important;
}

/* Contact Grid */
.contact-grid-revamp {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: -60px;
  /* Pull up into hero */
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .contact-grid-revamp {
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
  }
}

/* Info Card */
.info-card {
  background: var(--bg-card);
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.contact-methods .method-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.icon-box {
  width: 45px;
  height: 45px;
  background: rgba(27, 67, 50, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  flex-shrink: 0;
}

.method-item h4 {
  margin-bottom: 5px;
  font-family: var(--font-heading);
  color: var(--text-dark);
}

.btn-whatsapp {
  background: #25D366;
  color: white;
  border: none;
  width: 100%;
  justify-content: center;
}

.btn-whatsapp:hover {
  background: #1ebc57;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

/* Glass Form */
.glass-form {
  background: rgba(255, 255, 255, 0.9);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
}

body.dark-mode .glass-form {
  background: rgba(30, 30, 30, 0.9);
  border-color: rgba(255, 255, 255, 0.1);
}

.form-title {
  margin-bottom: 30px;
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-size: 1.8rem;
}

/* Floating Labels */
.form-floating-group {
  position: relative;
  margin-bottom: 25px;
}

.form-floating-group .form-control {
  width: 100%;
  padding: 15px 15px 15px 15px;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  outline: none;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-floating-group label {
  position: absolute;
  left: 15px;
  top: 15px;
  color: var(--text-grey);
  pointer-events: none;
  transition: all 0.2s ease;
  background: transparent;
  padding: 0 5px;
}

.form-floating-group .form-control:focus {
  border-color: var(--secondary-color);
  background: var(--bg-card);
  box-shadow: 0 0 0 3px rgba(251, 133, 0, 0.1);
}

/* Float label logic when focused or has value (handled via :placeholder-shown trick) */
.form-floating-group .form-control:focus~label,
.form-floating-group .form-control:not(:placeholder-shown)~label {
  top: -10px;
  left: 10px;
  font-size: 0.85rem;
  color: var(--secondary-color);
  background: var(--bg-card);
}

/* Hide actual placeholder so trick works */
.form-floating-group .form-control::placeholder {
  color: transparent;
}

/* Map */
.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--bg-card);
}

/* Accordion */
.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
}

.accordion-header {
  width: 100%;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-dark);
  cursor: pointer;
  transition: background 0.3s;
}

.accordion-header:hover {
  background: rgba(0, 0, 0, 0.02);
}

.accordion-body {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
}

.accordion-header[aria-expanded="true"]~.accordion-body {
  max-height: 200px;
  /* Approx height */
  padding: 0 20px 20px;
}

.accordion-header[aria-expanded="true"] i {
  transform: rotate(180deg);
}

body.dark-mode .accordion-header:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* --- Amazon Button --- */
.btn-amazon {
  background: linear-gradient(135deg, #FF9900, #FFB700);
  color: #131921 !important;
  /* Force dark text */
  border: none;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(255, 153, 0, 0.3);
}

.btn-amazon:hover {
  background: linear-gradient(135deg, #FFB700, #FA8900);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 153, 0, 0.4);
}

/* Blog Filters */
.filter-bar {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  background: transparent;
  border: 2px solid var(--border-color);
  color: var(--text-grey);
  padding: 10px 24px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.filter-btn:hover {
  border-color: var(--secondary-color);
  color: var(--secondary-color);
  transform: translateY(-2px);
}

.filter-btn.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
  box-shadow: 0 4px 12px rgba(27, 67, 50, 0.2);
}

body.dark-mode .filter-btn {
  border-color: var(--border-dark);
  color: var(--text-grey);
}

body.dark-mode .filter-btn:hover {
  color: var(--secondary-color);
  border-color: var(--secondary-color);
}

body.dark-mode .filter-btn.active {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  color: #121212;
}

/* Responsive Blog Grid */
@media (max-width: 768px) {
  .filter-bar {
    gap: 10px;
  }

  /* --- Mobile Responsiveness Improvements --- */

  /* Global Typography */
  html {
    font-size: 14px;
    /* Slightly smaller base font */
  }

  h1 {
    font-size: 2rem !important;
  }

  h2 {
    font-size: 1.75rem !important;
  }

  h3 {
    font-size: 1.4rem !important;
  }

  /* Container Spacing */
  .container {
    padding: 0 16px;
  }

  /* Section Padding */
  .section,
  .section-padding {
    padding: 40px 0;
  }

  /* Hero Section */
  .hero {
    min-height: auto;
    padding: 60px 20px;
    text-align: center;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  /* About Page - Mobile */
  .about-hero {
    height: 300px;
  }

  .intro-box .lead-text {
    font-size: 1.2rem;
  }

  .story-grid {
    grid-template-columns: 1fr !important;
  }

  .story-image img {
    height: 250px;
  }

  /* Grids - Force Single Column */
  .focus-grid,
  .directors-grid,
  .product-grid,
  .blog-grid,
  .badges-grid,
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand .footer-logo,
  .footer-brand .social-links,
  .footer-contact ul li {
    justify-content: center;
    align-items: center;
  }

  /* Shop Sidebar */
  .shop-layout {
    grid-template-columns: 1fr;
  }

  .shop-sidebar {
    position: static;
    margin-bottom: 30px;
  }

  /* Mobile Tables */
  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  @media (max-width: 480px) {

    /* Smaller Mobile devices */
    .hero-buttons {
      flex-direction: column;
      width: 100%;
    }

    .hero-buttons .btn {
      width: 100%;
    }
  }

}

/* --- Gallery Preview & Page --- */
.gallery-preview {
  background-color: var(--bg-light);
  padding: 80px 0;
}

.gallery-grid-preview {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}

@media (min-width: 768px) {
  .gallery-grid-preview {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

.gallery-item-preview {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
  aspect-ratio: 1;
  /* Square images for preview */
}

.gallery-item-preview:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
}

.gallery-item-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item-preview:hover img {
  transform: scale(1.1);
}

/* Gallery Page specific */
.page-header {
  background: linear-gradient(rgba(46, 89, 54, 0.9), rgba(93, 64, 55, 0.8)), url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 80px 20px;
  text-align: center;
  margin-bottom: 0;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: white;
}

.page-header p {
  font-size: 1.1rem;
  opacity: 1;
  max-width: 600px;
  margin: 0 auto;
  color: white !important;
}

.gallery-section {
  padding: 60px 0;
  background: var(--bg-white);
}

.gallery-page-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* 2 cols on mobile */
  gap: 15px;
}

@media (min-width: 600px) {
  .gallery-page-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
  }
}

.gallery-item-full {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  background: var(--bg-card);
  aspect-ratio: 4/3;
  /* Standard aspect for gallery */
}

.gallery-item-full:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.gallery-item-full img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item-full:hover img {
  transform: scale(1.05);
}

/* Dark Mode fixes for Gallery */
body.dark-mode .gallery-section {
  background: var(--bg-dark);
}

body.dark-mode .gallery-preview {
  background: var(--bg-dark);
}

body.dark-mode .gallery-item-full {
  background: var(--bg-card-dark);
}

/* Mobile Adjustments for Gallery */
@media (max-width: 480px) {
  .gallery-grid-preview {
    gap: 10px;
  }
}

/* --- Corrected Gallery Styles (Matches New HTML) --- */

/* Homepage Preview Item */
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 1 / 1;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Gallery Page Specific */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  padding: 20px 0;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #f0f0f0;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-overlay i {
  color: white;
  width: 32px;
  height: 32px;
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-card:hover img {
  transform: scale(1.1);
}

/* Responsive Gallery Page */
@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

@media (max-width: 400px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Lightbox Styles --- */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  backdrop-filter: blur(5px);
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content-wrapper {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lightbox-modal.active .lightbox-content-wrapper {
  transform: scale(1);
}

.lightbox-image {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  display: block;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: -10px;
  background: transparent;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  transition: transform 0.2s, color 0.2s;
  outline: none;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover {
  color: var(--secondary-color);
  transform: scale(1.1) rotate(90deg);
}

/* --- Hero Image Slider --- */
.hero-slider-section {
  position: relative;
  width: 100%;
  height: 90vh;
  /* Full viewport height minus header roughly */
  min-height: 600px;
  max-height: 900px;
  overflow: hidden;
  background: #000;
}

.hero-slider {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  /* Slight initial scale for effect */
  transition: transform 6s ease;
  /* Slow zoom effect */
}

.hero-slide.active .slide-image {
  transform: scale(1);
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
  z-index: 3;
}

.slide-content {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  z-index: 4;
  text-align: left;
  max-width: 600px;
  color: white;
}

.slide-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease 0.3s;
  line-height: 1.2;
}

.slide-subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease 0.5s;
  font-weight: 300;
}

.hero-slide.active .slide-title,
.hero-slide.active .slide-subtitle,
.hero-slide.active .slide-btn {
  opacity: 1;
  transform: translateY(0);
}

/* Premium Shop Button */
.slide-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 40px;
  background: linear-gradient(135deg, var(--secondary-color), #FF8F00);
  color: white;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 50px;
  box-shadow: 0 10px 20px rgba(251, 133, 0, 0.4);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease 0.7s;
}

.slide-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(251, 133, 0, 0.6);
  background: linear-gradient(135deg, #FF8F00, var(--secondary-color));
}

.slide-btn i {
  transition: transform 0.3s ease;
}

.slide-btn:hover i {
  transform: translateX(5px);
}

/* Slider Controls */
.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  /* Glass effect */
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.slider-prev:hover,
.slider-next:hover {
  background: white;
  color: var(--primary-color);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.slider-prev {
  left: 20px;
}

.slider-next {
  right: 20px;
}

.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: var(--secondary-color);
  transform: scale(1.2);
}

/* Mobile Responsiveness for Slider */
@media (max-width: 768px) {
  .hero-slider-section {
    height: 70vh;
    min-height: 500px;
  }

  .slide-content {
    left: 5%;
    width: 90%;
    text-align: center;
    top: 55%;
    /* Push down slightly */
  }

  .slide-title {
    font-size: 2.5rem;
  }

  .slide-subtitle {
    font-size: 1rem;
  }

  .slider-prev,
  .slider-next {
    display: none;
    /* Hide arrows on mobile, use Swipe */
  }
}

/* =========================================
   Refined Single About Section
   ========================================= */
.about-single-section {
  padding: 6rem 0;
  background: var(--bg-body);
}

.about-single-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #1a1a1a;
  /* Dark premium card background */
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-card-image {
  position: relative;
  height: 100%;
  min-height: 400px;
  overflow: hidden;
}

.single-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.about-single-card:hover .single-image {
  transform: scale(1.05);
}

.image-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(26, 26, 26, 0) 0%, rgba(26, 26, 26, 0.8) 90%, #1a1a1a 100%);
  pointer-events: none;
}

.about-card-content {
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.about-text-large {
  font-size: 1.25rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
}

.text-white {
  color: #ffffff !important;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
  .about-single-card {
    grid-template-columns: 1fr;
  }

  .about-card-image {
    height: 300px;
    min-height: 300px;
  }

  .image-overlay-gradient {
    background: linear-gradient(to bottom, rgba(26, 26, 26, 0) 0%, #1a1a1a 100%);
  }

  .about-card-content {
    padding: 2.5rem 2rem;
    text-align: center;
  }

  .section-title.text-start {
    text-align: center;
  }

  .about-text-large {
    font-size: 1.1rem;
  }
}

/* Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   About Page Redesign (Refined & Polished)
   ========================================= */

/* --- Fonts & Base --- */
:root {
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --gradient-primary: linear-gradient(135deg, #1B4332 0%, #0D2E21 100%);
  --gradient-gold: linear-gradient(135deg, #FFB703 0%, #FB8500 100%);
  --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 20px 60px -10px rgba(0, 0, 0, 0.1);
  --bg-subtle: #F8FAF9;
}

body {
  font-family: var(--font-body);
  overflow-x: hidden;
  /* Prevent horizontal scroll */
}

h1,
h2,
h3,
h4,
.hero-title,
.section-heading,
.stat-number,
.mission-title {
  font-family: var(--font-display);
}

/* --- Improved Hero Section --- */
.about-hero-modern {
  position: relative;
  height: 85vh;
  /* Slightly taller */
  min-height: 600px;
  background: url('../images/vindhya millets gallery (1).jpeg') no-repeat center center/cover;
  background-attachment: fixed;
  /* Parallax effect */
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  overflow: hidden;
  margin-bottom: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.4) 0%,
      rgba(27, 67, 50, 0.7) 60%,
      rgba(27, 67, 50, 0.95) 100%);
  z-index: 1;
}

.hero-content-modern {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 24px;
  margin-top: -40px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
  font-weight: 700;
  color: #FFD166;
  /* Softer yellow */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  /* Responsive typography */
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: rgba(255, 255, 255, 0.95);
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.6;
  font-weight: 400;
}

/* Floating Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 3;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s;
  cursor: pointer;
}

.hero-scroll-indicator:hover {
  color: white;
}

.hero-scroll-indicator span {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
}

.hero-scroll-indicator i {
  animation: bounce 2s infinite ease-in-out;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-10px);
  }

  60% {
    transform: translateY(-5px);
  }
}

/* --- Floating Stats Section --- */
.stats-section {
  position: relative;
  z-index: 10;
  margin-top: -80px;
  /* Overlap hero */
  padding-bottom: 40px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  background: white;
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.stat-card {
  text-align: center;
  position: relative;
  padding: 10px;
}

/* Add separator lines between stats */
.stat-card:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -15px;
  top: 10%;
  height: 80%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, #E0E0E0, transparent);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 5px;
  line-height: 1;
}

.stat-label {
  font-size: 1.1rem;
  color: var(--text-grey);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
}

/* --- Story Section (Zigzag) --- */
.story-section {
  background: white;
  overflow: hidden;
  /* Prevent spill */
}

.story-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.story-image-wrapper {
  position: relative;
  padding: 20px;
}

/* Decorative behind image */
.story-image-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 80%;
  height: 80%;
  background: var(--bg-subtle);
  /* Pattern placeholder */
  background-image: radial-gradient(#E8F5E9 15%, transparent 16%);
  background-size: 20px 20px;
  z-index: -1;
  border-radius: 30px;
  opacity: 0.6;
}

.rounded-image {
  border-radius: 24px;
  width: 100%;
  height: 550px;
  object-fit: cover;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transition: transform 0.5s ease;
}

.story-image-wrapper:hover .rounded-image {
  transform: scale(1.02);
}

.experience-badge {
  position: absolute;
  bottom: 40px;
  right: -20px;
  background: white;
  padding: 24px 32px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-left: 6px solid var(--secondary-color);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.experience-badge .years {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.experience-badge .text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
}

.section-badge {
  display: inline-block;
  color: var(--secondary-color);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  background: rgba(251, 133, 0, 0.08);
  /* Very subtle orange tint */
  padding: 8px 16px;
  border-radius: 50px;
}

.section-heading {
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 25px;
  line-height: 1.2;
  color: var(--primary-color);
}

.lead-text {
  font-size: 1.25rem;
  color: #344e41;
  /* Darker green-grey */
  margin-bottom: 24px;
  font-weight: 500;
  line-height: 1.6;
}

.highlight {
  position: relative;
  z-index: 1;
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(251, 133, 0, 0.3);
  z-index: -1;
  transform: skewX(-10deg);
}

.mission-box {
  background: white;
  padding: 30px;
  border-radius: 20px;
  display: flex;
  gap: 25px;
  align-items: flex-start;
  border: 1px solid #E9EDC9;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease;
}

.mission-box:hover {
  transform: translateY(-5px);
  border-color: var(--secondary-color);
}

.mission-icon {
  background: linear-gradient(135deg, #1B4332 0%, #2D6A4F 100%);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 10px 20px rgba(27, 67, 50, 0.2);
}

.mission-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--primary-color);
}

/* --- Values/Focus Section --- */
.values-section {
  background: var(--bg-subtle);
  position: relative;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.value-card {
  background: white;
  padding: 40px 30px;
  border-radius: 24px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid transparent;
  text-align: center;
  height: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.value-card:hover::before {
  transform: scaleX(1);
}

.value-icon-wrapper {
  width: 80px;
  height: 80px;
  background: #FEFAE0;
  /* Light cream */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: var(--secondary-color);
  font-size: 2rem;
  transition: transform 0.3s ease, background 0.3s ease;
}

.value-card:hover .value-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
  background: var(--secondary-color);
  color: white;
}

.value-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.value-card p {
  color: var(--text-grey);
  font-size: 1rem;
  line-height: 1.6;
}

/* --- Leadership Section --- */
.team-section {
  background: white;
}

/* Founder Card Redesigned */
.founder-card {
  max-width: 800px;
  background: white;
  padding: 0;
  /* Let inner content handle padding */
  border-radius: 30px;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: stretch;
  text-align: left;
  overflow: hidden;
  border: 1px solid #eee;
  margin-bottom: 60px;
}

.founder-img {
  flex: 0 0 35%;
  position: relative;
}

.founder-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
  border-radius: 0;
}

.founder-info {
  flex: 1;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.founder-info h3 {
  font-size: 2rem;
  margin-bottom: 5px;
  color: var(--primary-color);
}

.founder-info .role {
  color: var(--secondary-color);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 20px;
}

.founder-info .quote {
  font-style: italic;
  color: var(--text-dark);
  font-size: 1.15rem;
  line-height: 1.6;
  position: relative;
  padding-left: 20px;
  border-left: 4px solid #E9EDC9;
}

/* Directors Grid */
.directors-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  padding: 20px 10px;
}

.team-card {
  background: white;
  width: 100%;
  padding: 30px 20px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: #E9EDC9;
}

.team-img {
  position: relative;
  width: 110px;
  height: 110px;
  margin: 0 auto 20px;
}

.team-img img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid white;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.team-card h4 {
  font-size: 1.2rem;
  margin-bottom: 6px;
  font-weight: 700;
  color: var(--text-dark);
}

.team-card span {
  font-size: 0.9rem;
  color: var(--secondary-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- Responsive Polish --- */
@media (max-width: 992px) {
  .hero-content-modern {
    padding-top: 20px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .stat-card {
    padding: 30px;
    border-bottom: 1px solid #eee;
  }

  .stat-card:last-child {
    border-bottom: none;
  }

  .stat-card:not(:last-child)::after {
    display: none;
  }

  .story-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .story-image-wrapper {
    order: 1;
    padding: 0;
  }

  .story-text {
    order: 2;
    padding: 0 10px;
  }

  .rounded-image {
    height: 400px;
  }

  .founder-card {
    flex-direction: column;
    max-width: 450px;
    margin: 0 auto 60px;
  }

  .founder-img {
    height: 350px;
  }

  .founder-info {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .about-hero-modern {
    background-attachment: scroll;
    /* Fix mobile parallax jitter */
    min-height: 500px;
  }

  .section-heading {
    font-size: 2rem;
  }

  .experience-badge {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: -30px;
    margin-left: 20px;
    margin-right: 20px;
    width: calc(100% - 40px);
    text-align: center;
    align-items: center;
    border-left: none;
    border-top: 4px solid var(--secondary-color);
  }

  .directors-grid-modern {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .directors-grid-modern {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .values-grid {
    gap: 20px;
  }
}

/* Fix for Overlapping Badge */
.badg-fix {
  z-index: 10;
  /* Ensure it stays on top */
  background: rgba(255, 255, 255, 0.95);
  /* More opacity */
  backdrop-filter: blur(10px);
}

/* Enhanced Hover for Director/Team Cards */
.hover-lift {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.hover-lift:hover {
  transform: translateY(-12px) scale(1.02) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12) !important;
  border-color: var(--secondary-color) !important;
}

.hover-lift:hover .team-img img {
  border-color: var(--secondary-color);
  transform: scale(1.1);
  transition: transform 0.4s ease, border-color 0.3s ease;
}

/* Fix Footer Brand Subtitle Visibility */
.footer-brand .brand-subtitle {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 0.7rem;
  letter-spacing: 1px;
  margin-top: 4px;
  display: block;
}

/* Fix Blog Page Header Visibility */
.page-header h1.page-title {
  color: var(--primary-color) !important;
  font-weight: 800;
  text-shadow: none;
  /* Remove any shadow that might blur it */
}

.page-header p {
  color: var(--text-dark) !important;
  font-weight: 600;
  opacity: 1 !important;
}

/* Product Thumbnail Slider */
.thumbnail-grid {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.thumbnail {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
}

.thumbnail:hover {
  transform: translateY(-3px);
}

.thumbnail.active {
  border-color: var(--primary-color);
  transform: scale(1.05);
}

.main-image {
  transition: opacity 0.2s ease;
}
/* =========================================
   COMPREHENSIVE DARK MODE FIXES
   ========================================= */

body.dark-mode {
    /* Global Text Fixes */
    color: #E0E0E0 !important;
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6,
body.dark-mode .page-title,
body.dark-mode .section-title,
body.dark-mode .brand-title,
body.dark-mode .hero-title,
body.dark-mode .mission-title {
    color: #FFFFFF !important;
}

body.dark-mode p,
body.dark-mode span,
body.dark-mode li,
body.dark-mode .text-grey,
body.dark-mode .section-subtitle,
body.dark-mode .hero-subtitle,
body.dark-mode .product-desc,
body.dark-mode .blog-excerpt {
    color: #B0B0B0 !important;
}

body.dark-mode .text-muted {
    color: #888 !important;
}

/* --- Section Backgrounds --- */
body.dark-mode .section:nth-child(even),
body.dark-mode .bg-subtle,
body.dark-mode .farmer-story-section,
body.dark-mode .about-single-section {
    background-color: #1a1a1a !important;
}

body.dark-mode .section:nth-child(odd),
body.dark-mode .bg-white, 
body.dark-mode .team-section,
body.dark-mode .story-section {
    background-color: #121212 !important;
}

/* --- Cards & Containers --- */
body.dark-mode .card,
body.dark-mode .product-card,
body.dark-mode .blog-card,
body.dark-mode .feature-card,
body.dark-mode .value-card,
body.dark-mode .stat-card,
body.dark-mode .team-card,
body.dark-mode .founder-card,
body.dark-mode .mission-box,
body.dark-mode .shop-sidebar,
body.dark-mode .info-card {
    background-color: #1E1E1E !important;
    border-color: #333 !important;
    color: #E0E0E0 !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.5);
}

body.dark-mode .value-icon-wrapper {
    background-color: #333 !important;
}
body.dark-mode .value-card:hover .value-icon-wrapper {
    background-color: var(--secondary-color) !important;
}


/* --- Forms & Inputs --- */
body.dark-mode input,
body.dark-mode select,
body.dark-mode textarea,
body.dark-mode .form-control {
    background-color: #2a2a2a !important;
    border: 1px solid #444 !important;
    color: #fff !important;
}

body.dark-mode input::placeholder,
body.dark-mode textarea::placeholder {
    color: #888 !important;
}

body.dark-mode .filter-btn {
    background: #2a2a2a;
    color: #ccc;
    border: 1px solid #444;
}

body.dark-mode .filter-btn.active,
body.dark-mode .filter-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* --- Header & Nav --- */
body.dark-mode header,
body.dark-mode .nav-links {
    background-color: #121212 !important;
    border-bottom-color: #333;
}

body.dark-mode .nav-link {
    color: #fff !important;
}

body.dark-mode .nav-link:hover,
body.dark-mode .nav-link.active {
    color: var(--secondary-color) !important;
}

body.dark-mode .menu-toggle {
    color: #fff !important;
}

body.dark-mode .theme-toggle {
    color: #FFD700 !important; /* Yellow Sun for dark mode toggle */
}

/* --- Badges & Tags --- */
body.dark-mode .product-tag, 
body.dark-mode .blog-category,
body.dark-mode .hero-label,
body.dark-mode .section-badge {
   /* Keep original colors as they are usually vibrant */
   filter: brightness(1.2);
}

body.dark-mode .health-tag-badge {
    background-color: var(--secondary-color) !important;
    color: #000 !important;
}

/* --- Specific Components --- */
body.dark-mode .accordion-item {
    background-color: #1E1E1E !important;
    border-color: #333;
}

body.dark-mode .accordion-button {
    background-color: #1E1E1E !important;
    color: #fff !important;
}

body.dark-mode .accordion-button:not(.collapsed) {
    background-color: #2a2a2a !important;
    color: var(--secondary-color) !important;
}

body.dark-mode .glass-form {
    background: rgba(30, 30, 30, 0.8) !important;
    border: 1px solid rgba(255,255,255,0.1);
}

/* --- Mobile Menu Fixes --- */
@media (max-width: 768px) {
    body.dark-mode .nav-links {
        background-color: #1a1a1a !important;
        box-shadow: -5px 0 15px rgba(0,0,0,0.5);
    }
}


/* Fix Blog Page Header Background in Dark Mode */
body.dark-mode .page-header {
    background-color: var(--bg-card-dark) !important;
    background: var(--bg-card-dark) !important; /* Override inline style */
}


/* Fix Slider Visibility in Light Mode */
.slide-content h1, 
.slide-content p,
.slide-title,
.slide-subtitle {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

