/* ============================================
   Bagasse Packaging UK - Main Stylesheet
   RIPPLE18 LTD - bagassepackaging.co.uk
   Version: 3.0 - Sustainable Green Theme
   ============================================ */

/* ============================================
   CSS Custom Properties (Design System)
   Sustainable Green - Fresh Eco Theme
   Based on ColorHunt Palette + Extensions
   ============================================ */
:root {
  /* ============================================
     PRIMARY PALETTE - Sustainable Green
     Core brand colors from ColorHunt
     ============================================ */
  --eco-green-dark: #2E7D32;         /* Darker forest green */
  --eco-green-primary: #388E3C;      /* Primary brand green (ColorHunt) */
  --eco-green-medium: #43A047;       /* Medium green */
  --eco-green-light: #8BC34A;        /* Light green accent (ColorHunt) */
  --eco-green-bright: #9CCC65;       /* Bright lime accent */

  /* ============================================
     BACKGROUND PALETTE - Clean & Natural
     ============================================ */
  --eco-bg-lightest: #F2F9F1;        /* Mint cream - lightest (ColorHunt) */
  --eco-bg-light: #DDEEDF;           /* Honeydew - light sections (ColorHunt) */
  --eco-bg-soft: #E8F5E9;            /* Soft green tint */
  --eco-bg-white: #FFFFFF;           /* Pure white */
  --eco-bg-cream: #FAFDF7;           /* Warm cream */

  /* ============================================
     TEXT & NEUTRAL PALETTE
     ============================================ */
  --eco-text-dark: #1B4332;          /* Dark green-black for headings */
  --eco-text-primary: #2D3E2F;       /* Primary text color */
  --eco-text-secondary: #5C6D5E;     /* Secondary/muted text */
  --eco-text-light: #6B7C6D;         /* Light text */
  --eco-text-muted: #8A9A8C;         /* Very muted text */

  /* ============================================
     ACCENT & FUNCTIONAL COLORS
     ============================================ */
  --eco-accent-gold: #C9A227;        /* Premium gold accent */
  --eco-accent-amber: #F9A825;       /* Warm amber */
  --eco-accent-teal: #00897B;        /* Teal accent */
  --eco-accent-blue: #0288D1;        /* Info blue */

  /* Functional */
  --eco-success: #4CAF50;
  --eco-warning: #FF9800;
  --eco-danger: #E53935;
  --eco-info: #29B6F6;

  /* ============================================
     LEGACY VARIABLE MAPPINGS
     For backward compatibility
     ============================================ */
  --primary-green: #388E3C;
  --primary-green-medium: #43A047;
  --primary-green-light: #8BC34A;
  --primary-beige: #F2F9F1;
  --primary-white: #FFFFFF;
  --secondary-blue: #00897B;
  --secondary-brown: #5D4037;
  --accent-green: #8BC34A;
  --accent-emerald: #66BB6A;
  --accent-gold: #C9A227;
  --text-dark: #1B4332;
  --text-light: #5C6D5E;

  /* Font Families */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --font-mono: 'Poppins', monospace;

  /* Font Sizes - Desktop */
  --font-h1: 48px;
  --font-h2: 36px;
  --font-h3: 28px;
  --font-h4: 24px;
  --font-body: 16px;
  --font-small: 14px;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 4rem;

  /* Border Radius - Harmonized with enhanced section */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  /* Shadows - Green tinted for cohesion */
  --shadow-sm: 0 2px 4px rgba(56, 142, 60, 0.08);
  --shadow-md: 0 4px 12px rgba(56, 142, 60, 0.12);
  --shadow-lg: 0 8px 24px rgba(56, 142, 60, 0.16);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ============================================
   Global Styles
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

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

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

h1 {
  font-size: var(--font-h1);
  font-weight: 700;
}

h2 {
  font-size: var(--font-h2);
  font-weight: 600;
}

h3 {
  font-size: var(--font-h3);
  font-weight: 600;
}

h4 {
  font-size: var(--font-h4);
}

p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

a {
  color: var(--secondary-blue);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--primary-green);
  text-decoration: underline;
}

/* ============================================
   Header & Navigation
   ============================================ */
.top-header {
  background-color: var(--primary-green);
  color: var(--primary-white);
  padding: 0.5rem 0;
  font-size: 14px;
}

.top-header a {
  color: var(--primary-white);
  margin: 0 1rem;
}

.top-header a:hover {
  color: var(--primary-beige);
  text-decoration: none;
}

.main-header {
  background-color: var(--primary-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-green) !important;
}

.navbar-brand:hover {
  color: var(--accent-green) !important;
}

.navbar-nav .nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--text-dark);
  padding: 0.5rem 1rem;
  transition: var(--transition-fast);
}

.navbar-nav .nav-link:hover {
  color: var(--primary-green);
  text-decoration: none;
}

.navbar-nav .nav-link.active {
  color: var(--primary-green);
  font-weight: 600;
}

/* Language Switcher */
.language-switcher {
  margin-left: 1rem;
}

.language-switcher .dropdown-toggle {
  border-color: var(--primary-green);
  color: var(--primary-green);
}

.language-switcher .dropdown-toggle:hover {
  background-color: var(--primary-green);
  color: var(--primary-white);
}

/* ============================================
   Buttons & CTAs - Rounded Pill Style
   ============================================ */
.btn-primary {
  background-color: var(--accent-green);
  border-color: var(--accent-green);
  color: var(--primary-white);
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-full);
  transition: var(--transition-normal);
}

.btn-primary:hover {
  background-color: var(--primary-green);
  border-color: var(--primary-green);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-primary {
  border-color: var(--primary-green);
  color: var(--primary-green);
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-full);
  transition: var(--transition-normal);
}

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

.btn-secondary {
  background-color: var(--secondary-blue);
  border-color: var(--secondary-blue);
  color: var(--primary-white);
  border-radius: var(--radius-full);
}

.btn-secondary:hover {
  background-color: #00695C;
  border-color: #00695C;
}

/* Global Bootstrap Button Rounded Pill Override */
.btn {
  border-radius: var(--radius-full) !important;
}

.btn-lg {
  padding: 1rem 2.5rem;
  border-radius: var(--radius-full) !important;
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full) !important;
}

/* Additional button variants */
.btn-success {
  border-radius: var(--radius-full);
}

.btn-danger {
  border-radius: var(--radius-full);
}

.btn-warning {
  border-radius: var(--radius-full);
}

.btn-info {
  border-radius: var(--radius-full);
}

.btn-light {
  border-radius: var(--radius-full);
}

.btn-dark {
  border-radius: var(--radius-full);
}

.btn-outline-secondary {
  border-radius: var(--radius-full);
}

.btn-outline-success {
  border-radius: var(--radius-full);
}

.btn-outline-danger {
  border-radius: var(--radius-full);
}

.btn-outline-warning {
  border-radius: var(--radius-full);
}

.btn-outline-info {
  border-radius: var(--radius-full);
}

.btn-outline-light {
  border-radius: var(--radius-full);
}

.btn-outline-dark {
  border-radius: var(--radius-full);
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
  background: linear-gradient(135deg, #2E7D32 0%, #1B5E20 100%);
  color: var(--primary-white);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,106.7C1248,96,1344,96,1392,96L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
  background-size: cover;
  background-position: bottom;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-section h1 {
  color: var(--primary-white);
  font-size: 56px;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-section .lead {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.hero-badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.hero-badge {
  background-color: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
}

/* ============================================
   Trust Bar / Certification Badges
   ============================================ */
.trust-bar {
  background-color: #f8f9fa;
  padding: 2rem 0;
  border-top: 1px solid #dee2e6;
  border-bottom: 1px solid #dee2e6;
}

.certification-badge {
  text-align: center;
  padding: 1rem;
  transition: var(--transition-normal);
}

.certification-badge:hover {
  transform: translateY(-5px);
}

.certification-badge img {
  height: 60px;
  width: auto;
  margin-bottom: 0.5rem;
  filter: grayscale(100%);
  transition: var(--transition-normal);
}

.certification-badge:hover img {
  filter: grayscale(0%);
}

.certification-badge p {
  font-size: 12px;
  color: var(--text-light);
  margin: 0;
}

/* ============================================
   Product Cards
   ============================================ */
.product-card {
  background-color: var(--primary-white);
  border: 1px solid #e0e0e0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.product-card-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  background-color: #f8f9fa;
}

.product-card-body {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.product-card-text {
  color: var(--text-light);
  font-size: 14px;
  flex-grow: 1;
}

.product-badge {
  display: inline-block;
  background-color: var(--accent-green);
  color: var(--primary-white);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* ============================================
   Sections
   ============================================ */
.section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  color: var(--primary-green);
  margin-bottom: 1rem;
}

.section-title p {
  color: var(--text-light);
  font-size: 1.125rem;
  max-width: 700px;
  margin: 0 auto;
}

.section-bg-light {
  background-color: #f8f9fa;
}

.section-bg-beige {
  background-color: var(--primary-beige);
}

/* ============================================
   Features / Icon Boxes
   ============================================ */
.feature-box {
  text-align: center;
  padding: 2rem 1rem;
  transition: var(--transition-normal);
}

.feature-box:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #8BC34A 0%, #388E3C 100%);
  color: var(--primary-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow-md);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.feature-text {
  color: var(--text-light);
  font-size: 14px;
}

/* ============================================
   Stats / Numbers Section
   ============================================ */
.stats-section {
  background: linear-gradient(135deg, #00695C 0%, #004D40 100%);
  color: var(--primary-white);
  padding: 4rem 0;
}

.stat-box {
  text-align: center;
  padding: 2rem 1rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
}

.stat-label {
  font-size: 1rem;
  opacity: 0.9;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, #2E7D32 0%, #1B5E20 100%);
  color: var(--primary-white);
  padding: 4rem 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--primary-white);
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background-color: var(--eco-charcoal-dark);
  color: var(--primary-white);
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--primary-white);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary-white);
  text-decoration: none;
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 2rem;
  padding-top: 1.5rem;
  text-align: center;
  color: rgba(255,255,255,0.6);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background-color: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-white);
  transition: var(--transition-normal);
}

.social-link:hover {
  background-color: var(--accent-green);
  transform: translateY(-3px);
  color: var(--primary-white);
  text-decoration: none;
}

/* ============================================
   Forms - Rounded Style
   ============================================ */
.form-control {
  border-radius: var(--radius-full);
}

.form-control:focus {
  border-color: var(--accent-green);
  box-shadow: 0 0 0 0.2rem rgba(124, 179, 66, 0.25);
}

.form-label {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.form-select {
  border-radius: var(--radius-full);
}

.form-select:focus {
  border-color: var(--accent-green);
  box-shadow: 0 0 0 0.2rem rgba(124, 179, 66, 0.25);
}

/* Textarea should be less rounded */
textarea.form-control {
  border-radius: var(--radius-lg);
}

/* Input groups with rounded ends */
.input-group > .form-control:first-child,
.input-group > .input-group-text:first-child {
  border-top-left-radius: var(--radius-full);
  border-bottom-left-radius: var(--radius-full);
}

.input-group > .form-control:last-child,
.input-group > .input-group-text:last-child,
.input-group > .btn:last-child {
  border-top-right-radius: var(--radius-full);
  border-bottom-right-radius: var(--radius-full);
}

/* ============================================
   Utilities
   ============================================ */
.text-primary-green {
  color: var(--primary-green) !important;
}

.bg-primary-green {
  background-color: var(--primary-green) !important;
}

.text-accent-green {
  color: var(--accent-green) !important;
}

.bg-accent-green {
  background-color: var(--accent-green) !important;
}

/* ============================================
   Responsive Styles
   ============================================ */

/* Tablet */
@media (max-width: 991px) {
  :root {
    --font-h1: 36px;
    --font-h2: 28px;
    --font-h3: 24px;
  }

  .hero-section {
    padding: 4rem 0;
  }

  .hero-section h1 {
    font-size: 42px;
  }

  .section {
    padding: 3rem 0;
  }
}

/* Mobile */
@media (max-width: 767px) {
  :root {
    --font-h1: 32px;
    --font-h2: 24px;
    --font-h3: 20px;
  }

  .hero-section {
    padding: 3rem 0;
  }

  .hero-section h1 {
    font-size: 32px;
  }

  .hero-section .lead {
    font-size: 1rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn {
    width: 100%;
  }

  .product-card-img {
    height: 200px;
  }
}

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

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
  .navbar, .footer, .cta-section, .btn {
    display: none;
  }
}
/* ============================================
   Enhanced UI Components - Premium Eco-Friendly Design
   RIPPLE18 LTD - Deep Forest Green Theme
   Version: 2.0 - UK Market Focus
   ============================================ */

/* ============================================
   Enhanced Color Palette - Sustainable Green
   Fresh, Natural, Eco-Conscious - 2025
   Based on ColorHunt: #F2F9F1 #388E3C #8BC34A #DDEEDF
   ============================================ */
:root {
  /* Primary Palette - Sustainable Greens */
  --eco-deep-green: #1B5E20;          /* Deepest green */
  --eco-forest-dark: #2E7D32;         /* Dark forest */
  --eco-forest: #388E3C;              /* Primary brand (ColorHunt) */
  --eco-forest-medium: #43A047;       /* Medium green */
  --eco-forest-light: #66BB6A;        /* Light forest */
  --eco-sage: #8BC34A;                /* Sage/Light green (ColorHunt) */
  --eco-mint: #9CCC65;                /* Fresh mint */
  --eco-lime: #AED581;                /* Soft lime */
  --eco-leaf: #C5E1A5;                /* Light leaf */
  --eco-seafoam: #00897B;             /* Teal accent */
  --eco-pearl: #DDEEDF;               /* Pearl/Honeydew (ColorHunt) */
  --eco-honeydew: #F2F9F1;            /* Lightest bg (ColorHunt) */

  /* Neutral Palette - Natural & Clean */
  --eco-ivory: #F2F9F1;               /* Ivory (ColorHunt lightest) */
  --eco-sand: #DDEEDF;                /* Sand (ColorHunt light) */
  --eco-linen: #E8F5E9;               /* Soft green tint */
  --eco-taupe: #C8E6C9;               /* Light green-gray */
  --eco-stone: #A5D6A7;               /* Soft stone green */
  --eco-slate: #5C6D5E;               /* Green-tinted slate */
  --eco-charcoal: #1B4332;            /* Dark green-charcoal */
  --eco-charcoal-dark: #0D2818;       /* Deepest dark */

  /* Accent Palette - Vibrant & Natural */
  --eco-terracotta: #E57373;          /* Warm terracotta */
  --eco-amber: #FFB74D;               /* Warm amber */
  --eco-sunset: #FFCC80;              /* Soft sunset */
  --eco-sky: #4FC3F7;                 /* Sky blue */
  --eco-ocean: #00897B;               /* Ocean teal */

  /* Functional Colors */
  --success: #66BB6A;
  --warning: #FFB74D;
  --danger: #EF5350;
  --info: #29B6F6;

  /* Shadows - Green tinted for cohesion */
  --shadow-xs: 0 1px 2px rgba(56, 142, 60, 0.06);
  --shadow-sm: 0 2px 8px rgba(56, 142, 60, 0.08);
  --shadow-md: 0 4px 16px rgba(56, 142, 60, 0.10);
  --shadow-lg: 0 8px 32px rgba(56, 142, 60, 0.14);
  --shadow-xl: 0 16px 48px rgba(56, 142, 60, 0.18);
  --shadow-2xl: 0 24px 64px rgba(56, 142, 60, 0.22);

  /* Glassmorphism */
  --glass-white: rgba(255, 255, 255, 0.85);
  --glass-light: rgba(255, 255, 255, 0.7);
  --glass-medium: rgba(255, 255, 255, 0.5);
  --glass-backdrop: blur(12px);

  /* Gradients - Sustainable Green Theme */
  --gradient-forest: linear-gradient(135deg, #2E7D32 0%, #66BB6A 100%);
  --gradient-forest-light: linear-gradient(135deg, #388E3C 0%, #8BC34A 100%);
  --gradient-earth: linear-gradient(135deg, #5D4037 0%, #8D6E63 100%);
  --gradient-ocean: linear-gradient(135deg, #00695C 0%, #26A69A 100%);
  --gradient-mint: linear-gradient(135deg, #388E3C 0%, #8BC34A 100%);
  --gradient-lime: linear-gradient(135deg, #8BC34A 0%, #AED581 100%);
  --gradient-teal: linear-gradient(135deg, #00695C 0%, #00897B 100%);
  --gradient-gold: linear-gradient(135deg, #C9A227 0%, #F4D03F 100%);
  --gradient-subtle: linear-gradient(180deg, #F2F9F1 0%, #DDEEDF 100%);

  /* Enhanced Typography */
  --font-display: 'Poppins', system-ui, sans-serif;
  --font-body: 'Poppins', system-ui, sans-serif;
  --font-accent: 'Poppins', system-ui, sans-serif;

  /* Spacing Scale - Fibonacci-based */
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.5rem;    /* 24px */
  --space-6: 2rem;      /* 32px */
  --space-8: 3rem;      /* 48px */
  --space-10: 4rem;     /* 64px */
  --space-12: 6rem;     /* 96px */
  --space-16: 8rem;     /* 128px */

  /* Border Radius - Organic */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ============================================
   Enhanced Global Styles
   ============================================ */
body {
  background: var(--eco-ivory);
  color: var(--eco-charcoal);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Selection Color */
::selection {
  background-color: var(--eco-mint);
  color: var(--eco-forest-dark);
}

/* ============================================
   Enhanced Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--eco-forest-dark);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.text-gradient {
  background: var(--gradient-forest);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-accent {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--eco-terracotta);
}

/* ============================================
   Enhanced Buttons - Rounded Pill Style
   ============================================ */

/* Base Button Styles - Apply to all eco buttons */
.btn-eco-primary,
.btn-eco-secondary,
.btn-eco-outline,
.btn-eco-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-align: center;
  line-height: 1.5;
}

/* Primary Button - Mint Gradient (Main CTAs) */
.btn-eco-primary {
  background: var(--gradient-mint);
  color: white;
  box-shadow: none;
}

.btn-eco-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(124, 179, 66, 0.3);
  color: white;
  background: linear-gradient(135deg, #8FCC65 0%, #9CCC65 100%);
}

/* Secondary Button - Forest Gradient (Alternative CTAs) */
.btn-eco-secondary {
  background: var(--gradient-forest);
  color: white;
  box-shadow: none;
}

.btn-eco-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(45, 80, 22, 0.3);
  color: white;
  background: linear-gradient(135deg, #3a661d 0%, #528f2d 100%);
}

/* Light Button - White/Light (for dark backgrounds) */
.btn-eco-light {
  background: white;
  color: var(--eco-forest-dark);
  box-shadow: none;
}

.btn-eco-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
  color: white;
  background: var(--eco-mint);
}

/* Outline Button - Transparent with border */
.btn-eco-outline {
  background: transparent;
  color: var(--eco-forest);
  border: 2px solid var(--eco-forest);
  box-shadow: none;
}

.btn-eco-outline:hover {
  background: var(--eco-forest);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(45, 80, 22, 0.3);
}

/* Outline Light Variant - For dark backgrounds */
.btn-eco-outline-light {
  background: transparent;
  color: white;
  border: 2px solid white;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
}

.btn-eco-outline-light:hover {
  background: white;
  color: var(--eco-forest-dark);
  border-color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

/* Button Sizes */
.btn-eco-primary.btn-lg,
.btn-eco-secondary.btn-lg,
.btn-eco-light.btn-lg,
.btn-eco-outline.btn-lg,
.btn-eco-outline-light.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

.btn-eco-primary.btn-sm,
.btn-eco-secondary.btn-sm,
.btn-eco-light.btn-sm,
.btn-eco-outline.btn-sm,
.btn-eco-outline-light.btn-sm {
  padding: 0.6rem 1.5rem;
  font-size: 0.9375rem;
}

/* Icon Spacing */
.btn-eco-primary i,
.btn-eco-secondary i,
.btn-eco-light i,
.btn-eco-outline i,
.btn-eco-outline-light i {
  margin-right: 0.5rem;
}

.btn-eco-primary i:last-child,
.btn-eco-secondary i:last-child,
.btn-eco-light i:last-child,
.btn-eco-outline i:last-child,
.btn-eco-outline-light i:last-child {
  margin-right: 0;
  margin-left: 0.5rem;
}

/* Disabled State */
.btn-eco-primary:disabled,
.btn-eco-secondary:disabled,
.btn-eco-light:disabled,
.btn-eco-outline:disabled,
.btn-eco-outline-light:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* Glass variant for special cases */
.btn-eco-glass {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  box-shadow: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  text-decoration: none;
}

.btn-eco-glass:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  color: white;
}

/* ============================================
   Enhanced Cards
   ============================================ */
.eco-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  border: 1px solid rgba(27, 67, 50, 0.05);
  position: relative;
  overflow: hidden;
}

.eco-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-forest);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-smooth);
}

.eco-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.eco-card:hover::before {
  transform: scaleX(1);
}

.eco-card-glass {
  background: var(--glass-white);
  backdrop-filter: var(--glass-backdrop);
  -webkit-backdrop-filter: var(--glass-backdrop);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-smooth);
}

.eco-card-glass:hover {
  background: rgba(255, 255, 255, 0.85);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ============================================
   Enhanced Product Cards
   ============================================ */
.product-card-enhanced {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  position: relative;
  border: 1px solid var(--eco-sand);
}

.product-card-enhanced:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: var(--shadow-2xl);
}

.product-card-image-wrapper {
  position: relative;
  overflow: hidden;
  background: var(--gradient-subtle);
  aspect-ratio: 4/3;
}

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

.product-card-enhanced:hover .product-card-image-wrapper img {
  transform: scale(1.1);
}

.product-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.5) 100%);
  opacity: 0;
  transition: opacity var(--transition-smooth);
  display: flex;
  align-items: flex-end;
  padding: var(--space-4);
}

.product-card-enhanced:hover .product-card-overlay {
  opacity: 1;
}

.product-badge-enhanced {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: var(--gradient-forest);
  color: white;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-md);
  z-index: 10;
}

.product-card-content {
  padding: var(--space-5);
}

.product-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--eco-forest-dark);
  margin-bottom: var(--space-3);
  font-family: var(--font-display);
}

.product-card-description {
  color: var(--eco-slate);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.product-spec-tag {
  background: var(--eco-honeydew);
  color: var(--eco-forest-medium);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

/* ============================================
   Enhanced Hero Section
   ============================================ */
.hero-enhanced {
  position: relative;
  background: var(--gradient-forest);
  padding: var(--space-16) 0 var(--space-12);
  overflow: hidden;
  color: white;
}

/* Organic Shapes Background */
.hero-enhanced::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 80%;
  height: 150%;
  background: radial-gradient(circle, rgba(82, 183, 136, 0.3) 0%, transparent 70%);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: float 20s ease-in-out infinite;
}

.hero-enhanced::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 60%;
  height: 100%;
  background: radial-gradient(circle, rgba(116, 198, 157, 0.2) 0%, transparent 70%);
  border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
  animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-content-enhanced {
  position: relative;
  z-index: 2;
}

.hero-title-enhanced {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-5);
  color: white;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.hero-subtitle-enhanced {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  margin-bottom: var(--space-4);
  opacity: 0.95;
  font-weight: 500;
}

.hero-badges-enhanced {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin: var(--space-6) 0;
}

.hero-badge-enhanced {
  background: var(--glass-white);
  backdrop-filter: var(--glass-backdrop);
  -webkit-backdrop-filter: var(--glass-backdrop);
  color: var(--eco-forest-dark);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
}

.hero-badge-enhanced:hover {
  background: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.hero-badge-enhanced i {
  color: var(--eco-sage);
  margin-right: var(--space-2);
}

/* ============================================
   Enhanced Certification Badges
   ============================================ */
.cert-badge-enhanced {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  text-align: center;
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--eco-sand);
  position: relative;
}

.cert-badge-enhanced::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: var(--gradient-forest);
  border-radius: var(--radius-lg);
  opacity: 0;
  transition: opacity var(--transition-smooth);
  z-index: -1;
}

.cert-badge-enhanced:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: var(--shadow-lg);
}

.cert-badge-enhanced:hover::before {
  opacity: 1;
}

.cert-badge-logo {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-3);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--eco-honeydew);
  border-radius: var(--radius-md);
  transition: all var(--transition-smooth);
}

.cert-badge-enhanced:hover .cert-badge-logo {
  background: white;
  transform: scale(1.1);
}

.cert-badge-logo img {
  max-width: 60px;
  max-height: 60px;
  filter: grayscale(100%);
  transition: filter var(--transition-smooth);
}

.cert-badge-enhanced:hover .cert-badge-logo img {
  filter: grayscale(0%);
}

.cert-badge-name {
  font-weight: 700;
  color: var(--eco-forest-dark);
  font-size: 0.9rem;
  margin-bottom: var(--space-1);
}

.cert-badge-description {
  font-size: 0.75rem;
  color: var(--eco-slate);
}

/* ============================================
   Enhanced Feature Boxes
   ============================================ */
.feature-box-enhanced {
  text-align: center;
  padding: var(--space-6);
  transition: all var(--transition-smooth);
}

.feature-icon-enhanced {
  width: 100px;
  height: 100px;
  background: var(--gradient-mint);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-5);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-bounce);
  position: relative;
}

.feature-icon-enhanced::before {
  content: '';
  position: absolute;
  inset: -4px;
  background: var(--gradient-forest);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  opacity: 0;
  transition: opacity var(--transition-smooth);
  z-index: -1;
}

.feature-box-enhanced:hover .feature-icon-enhanced {
  border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
  transform: translateY(-10px) rotate(10deg);
  box-shadow: var(--shadow-xl);
}

.feature-box-enhanced:hover .feature-icon-enhanced::before {
  opacity: 1;
}

.feature-icon-enhanced i {
  font-size: 2.5rem;
  color: white;
  transition: transform var(--transition-smooth);
}

.feature-box-enhanced:hover .feature-icon-enhanced i {
  transform: scale(1.2);
}

.feature-title-enhanced {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--eco-forest-dark);
  margin-bottom: var(--space-3);
  font-family: var(--font-display);
}

.feature-description-enhanced {
  color: var(--eco-slate);
  line-height: 1.7;
}

/* ============================================
   Enhanced Stats Section
   ============================================ */
.stats-enhanced {
  background: var(--gradient-ocean);
  padding: var(--space-10) 0;
  position: relative;
  overflow: hidden;
}

.stats-enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.stat-item-enhanced {
  text-align: center;
  color: white;
  position: relative;
  z-index: 1;
  padding: var(--space-5);
}

.stat-number-enhanced {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  font-family: var(--font-display);
  line-height: 1;
  margin-bottom: var(--space-3);
  background: linear-gradient(135deg, white 0%, var(--eco-mint) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label-enhanced {
  font-size: 1.1rem;
  opacity: 0.9;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  margin: 0 auto;
}

/* ============================================
   Enhanced Forms
   ============================================ */
.form-enhanced .form-label {
  font-weight: 600;
  color: var(--eco-forest-dark);
  margin-bottom: var(--space-2);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-enhanced .form-control,
.form-enhanced .form-select {
  border: 2px solid var(--eco-sand);
  border-radius: var(--radius-full);
  padding: var(--space-4);
  font-size: 1rem;
  transition: all var(--transition-smooth);
  background: white;
}

.form-enhanced textarea.form-control {
  border-radius: var(--radius-lg);
}

.form-enhanced .form-control:focus,
.form-enhanced .form-select:focus {
  border-color: var(--eco-sage);
  box-shadow: 0 0 0 4px rgba(82, 183, 136, 0.1);
  outline: none;
}

.form-enhanced .form-control::placeholder {
  color: var(--eco-taupe);
}

/* ============================================
   Enhanced Footer
   ============================================ */
.footer-enhanced {
  background: var(--eco-charcoal-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: var(--space-12) 0 var(--space-6);
  position: relative;
  overflow: hidden;
}

.footer-enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--eco-mint), transparent);
}

.footer-enhanced h5 {
  color: white;
  font-weight: 700;
  margin-bottom: var(--space-4);
  font-size: 1.1rem;
  position: relative;
  padding-bottom: var(--space-3);
}

.footer-enhanced h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--gradient-mint);
  border-radius: var(--radius-full);
}

.footer-link-enhanced {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all var(--transition-base);
  display: inline-block;
  position: relative;
  padding-left: 0;
}

.footer-link-enhanced::before {
  content: '→';
  position: absolute;
  left: -20px;
  opacity: 0;
  transition: all var(--transition-base);
  color: var(--eco-mint);
}

.footer-link-enhanced:hover {
  color: var(--eco-mint);
  padding-left: 20px;
  text-decoration: none;
}

.footer-link-enhanced:hover::before {
  opacity: 1;
  left: 0;
}

.social-link-enhanced {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  transition: all var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link-enhanced:hover {
  background: var(--gradient-mint);
  transform: translateY(-4px) rotate(5deg);
  box-shadow: var(--shadow-lg);
  color: white;
  border-color: transparent;
}

/* ============================================
   Utility Classes
   ============================================ */
.bg-gradient-forest {
  background: var(--gradient-forest);
}

.bg-gradient-earth {
  background: var(--gradient-earth);
}

.bg-gradient-ocean {
  background: var(--gradient-ocean);
}

.bg-gradient-subtle {
  background: var(--gradient-subtle);
}

.section-enhanced {
  padding: var(--space-12) 0;
}

.section-title-enhanced {
  text-align: center;
  margin-bottom: var(--space-10);
}

.section-title-enhanced h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: var(--space-4);
  position: relative;
  display: inline-block;
}

.section-title-enhanced h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-forest);
  border-radius: var(--radius-full);
}

.section-subtitle-enhanced {
  font-size: 1.2rem;
  color: var(--eco-slate);
  max-width: 700px;
  margin: var(--space-4) auto 0;
  line-height: 1.8;
}

/* Decorative Elements */
.leaf-decoration {
  position: absolute;
  opacity: 0.1;
  pointer-events: none;
  color: var(--eco-sage);
}

/* ============================================
   Header & Navigation Enhancements
   ============================================ */

/* Enhanced Navigation Hover Effects */
.navbar-nav .nav-link {
  position: relative;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gradient-forest);
  border-radius: 2px;
  transition: width 0.3s ease;
}

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

/* Remove underline from dropdown toggles */
.navbar-nav .nav-link.dropdown-toggle::after {
  display: none;
}

.navbar-nav .nav-link:hover {
  color: var(--eco-sage) !important;
}

/* Dropdown Toggle Animation */
.navbar-nav .dropdown-toggle {
  display: flex;
  align-items: center;
}

.navbar-nav .dropdown-toggle::after {
  transition: transform 0.3s ease;
  margin-left: 0.5rem;
}

.navbar-nav .dropdown:hover .dropdown-toggle::after {
  transform: rotate(180deg);
}

.navbar-nav .dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

/* Enhanced Dropdown Menu - Products Navigation */
.navbar-nav .dropdown-menu {
  border: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-radius: var(--radius-lg);
  padding: 0.75rem;
  margin-top: 0;
  min-width: 250px;
  animation: fadeInDown 0.3s ease;
  background: white;
}

.navbar-nav .dropdown-item {
  transition: all 0.3s ease;
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  margin: 0.25rem 0;
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--eco-forest-dark);
  display: flex;
  align-items: center;
}

.navbar-nav .dropdown-item:hover {
  background: var(--eco-ivory) !important;
  color: var(--eco-forest-dark) !important;
  transform: translateX(8px);
  padding-left: 1.25rem !important;
}

.navbar-nav .dropdown-item:active {
  background: var(--eco-mint) !important;
  color: white !important;
}

.navbar-nav .dropdown-item i {
  transition: transform 0.3s ease;
  color: var(--eco-sage);
  font-size: 1rem;
}

.navbar-nav .dropdown-item:hover i {
  transform: scale(1.15);
  color: var(--eco-mint);
}

.navbar-nav .dropdown-divider {
  margin: 0.5rem 0;
  border-color: rgba(45, 80, 22, 0.1);
}

/* Show dropdown on hover for desktop - only navbar nav */
@media (min-width: 992px) {
  .navbar-nav .nav-item.dropdown:hover .dropdown-menu {
    display: block;
  }

  .navbar-nav .dropdown-menu {
    margin-top: 0;
    padding-top: 1rem;
  }

  .navbar-nav .nav-item.dropdown {
    position: relative;
  }

  .navbar-nav .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
  }
}

/* Language Switcher Dropdown - Keep Bootstrap Default */
.language-switcher .dropdown-menu {
  border: 1px solid rgba(45, 80, 22, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  min-width: 180px;
}

.language-switcher .dropdown-item {
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.language-switcher .dropdown-item:hover {
  background: var(--eco-ivory) !important;
  color: var(--eco-forest-dark) !important;
}

/* Language Switcher Enhancement */
.language-switcher .btn:hover {
  background: var(--eco-sage) !important;
  color: white !important;
  border-color: var(--eco-sage) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.language-switcher .dropdown-item:hover {
  background: var(--eco-honeydew) !important;
}

/* Navbar Brand Animation */
.navbar-brand:hover .fa-leaf {
  animation: leafBounce 0.6s ease;
}

/* Sticky Header Shadow */
.main-header.scrolled {
  box-shadow: var(--shadow-lg) !important;
}

/* Mobile Menu Enhancement */
@media (max-width: 991px) {
  .navbar-collapse {
    background: white;
    padding: 1.5rem;
    margin-top: 1rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
  }

  .navbar-nav .nav-item {
    margin: 0.5rem 0;
  }

  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
  }

  .navbar-nav .nav-link:hover {
    background: var(--eco-honeydew);
  }

  .dropdown-menu {
    border: none;
    box-shadow: none;
    padding-left: 1rem;
  }
}

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

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

@keyframes leafBounce {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-10deg); }
  75% { transform: rotate(10deg); }
}

@keyframes subtlePulse {
  0%, 100% { box-shadow: var(--shadow-md); }
  50% { box-shadow: var(--shadow-lg); }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* Loading Skeleton */
.skeleton {
  background: linear-gradient(90deg, var(--eco-sand) 0%, var(--eco-linen) 50%, var(--eco-sand) 100%);
  background-size: 1000px 100%;
  animation: shimmer 2s infinite;
}

/* ============================================
   HOMEPAGE CLEANUP STYLES
   Simplified, cleaner layouts
   ============================================ */

/* Consistent Section Spacing */
.section-spacing {
  padding: 5rem 0 !important;
}

.section-spacing-sm {
  padding: 3rem 0 !important;
}

@media (max-width: 768px) {
  .section-spacing {
    padding: 3rem 0 !important;
  }
  .section-spacing-sm {
    padding: 2rem 0 !important;
  }
}

/* Clean Heading Style */
.heading-primary {
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--eco-forest-dark);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.heading-secondary {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--eco-slate);
  font-weight: 400;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 3rem;
}

/* Simplified Cards */
.card-simple {
  background: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--eco-sand);
  transition: all 0.3s ease;
  height: 100%;
}

.card-simple:hover {
  border-color: var(--eco-sage);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

/* Clean Grid System */
.grid-clean {
  display: grid;
  gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

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

/* ============================================
   Icon System - Intentional Shape Hierarchy
   ============================================ */

/* Card Icons - Rounded squares for structured content */
.icon-simple {
  width: 64px;
  height: 64px;
  background: var(--gradient-mint);
  border-radius: var(--radius-lg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}

.icon-simple i {
  font-size: 1.75rem;
  color: white;
}

/* Card Icon - Alias for icon-simple (rounded square) */
.icon-card {
  width: 56px;
  height: 56px;
  background: var(--gradient-mint);
  border-radius: var(--radius-lg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-card i {
  font-size: 1.5rem;
  color: white;
}

/* Feature/Hero Icons - Circular for eye-catching elements */
.icon-circle {
  width: 80px;
  height: 80px;
  background: var(--gradient-mint);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.icon-circle i {
  font-size: 2rem;
  color: white;
}

.icon-circle-sm {
  width: 48px;
  height: 48px;
  background: var(--gradient-mint);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon-circle-sm i {
  font-size: 1.25rem;
  color: white;
}

.icon-circle-lg {
  width: 100px;
  height: 100px;
  background: var(--gradient-mint);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}

.icon-circle-lg i {
  font-size: 2.5rem;
  color: white;
}

/* Organic Blob Icons - For eco/sustainable emphasis */
.icon-blob {
  width: 80px;
  height: 80px;
  background: var(--gradient-mint);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-bounce);
}

.icon-blob:hover {
  border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
  transform: rotate(5deg);
}

.icon-blob i {
  font-size: 2rem;
  color: white;
}

/* Inline Icons - Subtle, no background competition */
.icon-inline {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--eco-sage);
  flex-shrink: 0;
}

.icon-inline i {
  font-size: 1rem;
}

.icon-inline-lg {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--eco-sage);
  flex-shrink: 0;
}

.icon-inline-lg i {
  font-size: 1.25rem;
}

/* Subtle background inline icons */
.icon-subtle {
  width: 40px;
  height: 40px;
  background: var(--eco-honeydew);
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-subtle i {
  font-size: 1rem;
  color: var(--eco-forest);
}

/* Reduce Animation Complexity */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* ============================================
   Nested Dropdown Menu (Submenu on Right)
   ============================================ */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-menu {
  position: absolute;
  top: 0;
  left: 100%;
  margin-top: -1px;
  margin-left: 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: none !important; /* Force hidden by default */
}

/* Show submenu ONLY when hovering over the specific dropdown-submenu item */
.dropdown-submenu:hover > .dropdown-menu {
  display: block !important;
}

/* Arrow indicator for submenu */
.dropdown-submenu > .dropdown-item::after {
  content: "\f105"; /* Font Awesome chevron-right */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  float: right;
  margin-left: auto;
  padding-left: 1rem;
  opacity: 0.6;
}

/* Hover effect for submenu parent */
.dropdown-submenu > .dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Active/hover state for parent item */
.dropdown-submenu:hover > .dropdown-item {
  background-color: var(--eco-honeydew);
  color: var(--eco-forest-dark);
}

/* Submenu items styling */
.dropdown-submenu .dropdown-menu .dropdown-item {
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
  white-space: nowrap;
}

.dropdown-submenu .dropdown-menu .dropdown-item:hover {
  background-color: var(--eco-honeydew);
  color: var(--eco-forest-dark);
  padding-left: 1.5rem;
  transition: padding-left 0.2s ease;
}

/* Prevent Bootstrap's default show class from interfering */
.dropdown-submenu .dropdown-menu.show {
  display: none !important;
}

/* ============================================
   Touch & Mobile Enhancements
   ============================================ */

/* Improve tap targets for mobile */
@media (hover: none) and (pointer: coarse) {
  /* Larger touch targets */
  .btn, button, a.btn-eco-primary, a.btn-eco-secondary, a.btn-eco-outline {
    min-height: 44px;
    min-width: 44px;
  }

  /* Disable hover effects on touch devices */
  .card-simple:hover,
  .hover-lift:hover {
    transform: none;
    box-shadow: var(--shadow-sm);
  }

  /* Ensure dropdown works with tap */
  .dropdown-submenu > .dropdown-menu {
    position: static;
    display: none;
    width: 100%;
    margin-left: 1rem;
    box-shadow: none;
    border-left: 2px solid var(--eco-sage);
  }

  .dropdown-submenu.show > .dropdown-menu {
    display: block !important;
  }
}

/* Safe area insets for notched devices */
@supports (padding: max(0px)) {
  body {
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
  }

  .footer-enhanced {
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
  }
}

/* Prevent text size adjustment on orientation change */
html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Better scrolling on iOS */
.table-responsive,
.overflow-auto,
.overflow-x-auto {
  -webkit-overflow-scrolling: touch;
}

/* Fix for iOS input zoom */
@media screen and (max-width: 767px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="search"],
  select,
  textarea {
    font-size: 16px !important;
  }
}

/* Smooth scrolling with prefers-reduced-motion respect */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .btn-eco-primary,
  .btn-eco-secondary {
    border: 2px solid currentColor;
  }

  .card-simple {
    border-width: 2px;
  }
}

/* Focus styles for accessibility */
:focus-visible {
  outline: 3px solid var(--eco-sage);
  outline-offset: 2px;
}

button:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
  outline: none;
}

/* Skip to content link (accessibility) */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--eco-forest-dark);
  color: white;
  padding: 8px 16px;
  z-index: 10000;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

/* ============================================
   Performance Optimizations
   ============================================ */

/* Use GPU acceleration for animations */
.hover-lift,
.card-simple,
.btn-eco-primary,
.btn-eco-secondary,
.btn-eco-light,
.btn-eco-outline {
  will-change: transform;
}

/* Reduce repaints */
img {
  content-visibility: auto;
}

/* Optimize rendering for fixed elements */
.navbar,
.main-header {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* ============================================
   Breadcrumb Styling
   ============================================ */

/* Light breadcrumb separator for dark backgrounds */
.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.6) !important;
}

/* Breadcrumb links on dark backgrounds */
.breadcrumb-item a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
  color: white;
  text-decoration: none;
}

/* Active breadcrumb item */
.breadcrumb-item.active {
  color: white;
}
