/* ===================================================
   BÔDÉLICE — Site Vitrine
   Design System & Styles
   =================================================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400;1,600&family=Inter:wght@300;400;500;600;700&family=Amiri:ital,wght@0,400;0,700;1,400&display=swap');

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
  /* Brand Colors */
  --clr-green-dark: #1B5E20;
  --clr-green: #2E7D32;
  --clr-green-light: #4CAF50;
  --clr-green-accent: #A5D6A7;
  --clr-red: #C62828;
  --clr-red-light: #E57373;
  --clr-gold: #D4A23A;
  --clr-gold-light: #F0D78C;

  /* Neutrals (Default Dark Theme) */
  --clr-bg: #0C0C0C;
  --clr-bg-elevated: #141414;
  --clr-bg-card: #1A1A1A;
  --clr-bg-card-hover: #222222;
  --clr-surface: #2A2A2A;
  --clr-border: rgba(255, 255, 255, 0.08);
  --clr-border-light: rgba(255, 255, 255, 0.15);

  /* Component Specific (Dark) */
  --clr-navbar-bg: rgba(12, 12, 12, 0.92);
  --clr-mobile-menu-bg: rgba(20, 20, 20, 0.98);
  --clr-card-image-overlay: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.7) 100%);
  --clr-pill-bg: rgba(255, 255, 255, 0.02);
  --clr-input-bg: rgba(255, 255, 255, 0.04);
  --clr-shadow-color: rgba(0, 0, 0, 0.4);

  /* Text */
  --clr-text-primary: #F5F0E8;
  --clr-text-secondary: #B8B0A2;
  --clr-text-muted: #7A7468;
  --clr-text-accent: var(--clr-gold);

  /* Typography */
  --ff-heading: 'Playfair Display', Georgia, serif;
  --ff-body: 'Inter', -apple-system, sans-serif;
  --ff-arabic: 'Amiri', serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Layout */
  --max-width: 1200px;
  --nav-height: 80px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow-green: 0 0 30px rgba(46, 125, 50, 0.2);
  --shadow-glow-gold: 0 0 30px rgba(212, 162, 58, 0.15);
}

/* Light Theme Variables */
body.light-theme {
  --clr-bg: #FAF9F5;
  --clr-bg-elevated: #F4F1EA;
  --clr-bg-card: #FFFFFF;
  --clr-bg-card-hover: #F8F5EE;
  --clr-surface: #EBE7DF;
  --clr-border: rgba(46, 125, 50, 0.08);
  --clr-border-light: rgba(46, 125, 50, 0.15);

  /* Component Specific (Light) */
  --clr-navbar-bg: rgba(250, 249, 245, 0.92);
  --clr-mobile-menu-bg: rgba(244, 241, 234, 0.98);
  --clr-card-image-overlay: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.4) 100%);
  --clr-pill-bg: rgba(46, 125, 50, 0.04);
  --clr-input-bg: rgba(46, 125, 50, 0.04);
  --clr-shadow-color: rgba(46, 125, 50, 0.08);

  /* Text */
  --clr-text-primary: #1C261D;
  --clr-text-secondary: #515A52;
  --clr-text-muted: #7D857E;

  /* Redefining Shadows with soft tone */
  --shadow-sm: 0 2px 8px rgba(46, 125, 50, 0.06);
  --shadow-md: 0 4px 20px rgba(46, 125, 50, 0.1);
  --shadow-lg: 0 8px 40px rgba(46, 125, 50, 0.14);
  --shadow-glow-green: 0 0 30px rgba(46, 125, 50, 0.08);
  --shadow-glow-gold: 0 0 30px rgba(212, 162, 58, 0.08);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  font-size: 16px;
}

body {
  font-family: var(--ff-body);
  background: var(--clr-bg);
  color: var(--clr-text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul, ol {
  list-style: none;
}

/* --- Typography Utilities --- */
.heading-xl {
  font-family: var(--ff-heading);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.heading-lg {
  font-family: var(--ff-heading);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.heading-md {
  font-family: var(--ff-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
}

.heading-sm {
  font-family: var(--ff-heading);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 600;
  line-height: 1.3;
}

.text-body {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--clr-text-secondary);
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--clr-text-muted);
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-3xl) 0;
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ff-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--clr-gold);
  margin-bottom: var(--space-sm);
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--clr-gold);
}

.section-title {
  margin-bottom: var(--space-md);
}

.section-subtitle {
  max-width: 600px;
  color: var(--clr-text-secondary);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* --- Decorative Elements --- */
.gradient-text {
  background: linear-gradient(135deg, var(--clr-gold-light), var(--clr-gold), var(--clr-green-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-green), var(--clr-gold));
  border-radius: 2px;
  margin: var(--space-md) 0;
}

.moroccan-pattern {
  position: absolute;
  opacity: 0.03;
  pointer-events: none;
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: all var(--transition-base);
  padding: 0 var(--space-md);
}

.navbar.scrolled {
  background: var(--clr-navbar-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--clr-border);
  box-shadow: var(--shadow-sm);
}

.navbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 1001;
}

.navbar-logo img {
  height: 50px;
  width: auto;
  border-radius: 50%;
  border: 2px solid var(--clr-border);
  transition: transform var(--transition-base);
}

.navbar-logo:hover img {
  transform: scale(1.05);
}

.navbar-logo-text {
  font-family: var(--ff-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--clr-text-primary);
}

.navbar-logo-text span {
  color: var(--clr-green-light);
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.navbar-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--clr-text-secondary);
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--transition-fast);
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--clr-green), var(--clr-gold));
  transition: width var(--transition-base);
  border-radius: 1px;
}

.navbar-links a:hover,
.navbar-links a.active {
  color: var(--clr-text-primary);
}

.navbar-links a:hover::after,
.navbar-links a.active::after {
  width: 100%;
}

.navbar-cta {
  background: linear-gradient(135deg, var(--clr-green-dark), var(--clr-green));
  color: white !important;
  padding: 0.6rem 1.5rem !important;
  border-radius: 50px;
  font-weight: 600 !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-base) !important;
}

.navbar-cta::after {
  display: none !important;
}

.navbar-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-green);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
  padding: 4px;
}

.menu-toggle span {
  width: 28px;
  height: 2px;
  background: var(--clr-text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Both images fill the container */
.hero-bg-dark,
.hero-bg-light {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transition: opacity 0.5s ease;
}

/* === DARK MODE === */
.hero-bg-dark {
  opacity: 1;
  filter: brightness(0.42) saturate(1.1);
}
.hero-bg-light {
  opacity: 0;
  pointer-events: none;
}

/* === LIGHT MODE === */
body.light-theme .hero-bg-dark {
  opacity: 0;
  pointer-events: none;
}
body.light-theme .hero-bg-light {
  opacity: 1;
  filter: brightness(0.78) saturate(1.05);
}

/* Dark mode gradient overlay */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(12, 12, 12, 0.35) 0%,
    rgba(12, 12, 12, 0.15) 35%,
    rgba(12, 12, 12, 0.55) 70%,
    rgba(12, 12, 12, 1) 100%
  );
  transition: background 0.5s ease;
}

/* Light mode gradient overlay */
body.light-theme .hero-bg::after {
  background: linear-gradient(
    180deg,
    rgba(250, 249, 245, 0.15) 0%,
    rgba(250, 249, 245, 0.05) 35%,
    rgba(250, 249, 245, 0.55) 70%,
    rgba(250, 249, 245, 1) 100%
  );
}


.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  padding-top: var(--nav-height);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(46, 125, 50, 0.15);
  border: 1px solid rgba(46, 125, 50, 0.3);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--clr-green-accent);
  margin-bottom: var(--space-lg);
  backdrop-filter: blur(10px);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--clr-green-light);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  margin-bottom: var(--space-md);
}

.hero-title .highlight {
  position: relative;
  display: inline-block;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 12px;
  background: linear-gradient(90deg, rgba(46, 125, 50, 0.3), rgba(212, 162, 58, 0.3));
  z-index: -1;
  border-radius: 2px;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--clr-text-secondary);
  margin-bottom: var(--space-lg);
  line-height: 1.8;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  background: linear-gradient(135deg, var(--clr-green-dark), var(--clr-green));
  color: white;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--clr-green), var(--clr-green-light));
  opacity: 0;
  transition: opacity var(--transition-base);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow-green);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary span {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--clr-text-primary);
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--clr-border-light);
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition-base);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  border-color: var(--clr-gold);
  color: var(--clr-gold);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--clr-border);
}

.hero-stat {
  text-align: left;
}

.hero-stat-value {
  font-family: var(--ff-heading);
  font-size: 2.2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--clr-gold-light), var(--clr-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.hero-stat-label {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  margin-top: 0.25rem;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--clr-text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: float-scroll 3s ease-in-out infinite;
}

.scroll-indicator .mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--clr-text-muted);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator .mouse::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: var(--clr-gold);
  border-radius: 2px;
  animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes scroll-wheel {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(10px); }
}

@keyframes float-scroll {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.about {
  background: var(--clr-bg-elevated);
  position: relative;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--clr-green-dark), var(--clr-gold), transparent);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-image {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.about-image:hover img {
  transform: scale(1.05);
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  pointer-events: none;
}

.about-experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 140px;
  height: 140px;
  background: linear-gradient(135deg, var(--clr-green-dark), var(--clr-green));
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow-green);
  border: 3px solid var(--clr-bg-elevated);
  z-index: 2;
}

.about-experience-badge .number {
  font-family: var(--ff-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  line-height: 1;
}

.about-experience-badge .label {
  font-size: 0.7rem;
  color: var(--clr-green-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
  line-height: 1.3;
}

.about-text p {
  color: var(--clr-text-secondary);
  margin-bottom: var(--space-md);
  font-size: 1.05rem;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.about-value {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--clr-pill-bg);
  border-radius: 10px;
  border: 1px solid var(--clr-border);
  transition: all var(--transition-base);
}

.about-value:hover {
  background: rgba(46, 125, 50, 0.08);
  border-color: rgba(46, 125, 50, 0.3);
  transform: translateY(-2px);
}

.about-value-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: rgba(212, 162, 58, 0.1);
  border-radius: 8px;
  flex-shrink: 0;
}

.about-value-text {
  font-weight: 600;
  font-size: 0.9rem;
}

/* =============================================
   PRODUCTS SECTION
   ============================================= */
.products {
  background: var(--clr-bg);
  position: relative;
}

.products-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.products-header .section-subtitle {
  margin: 0 auto;
}

.products-filters {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.6rem 1.3rem;
  background: var(--clr-input-bg);
  border: 1px solid var(--clr-border);
  border-radius: 50px;
  color: var(--clr-text-secondary);
  font-family: var(--ff-body);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-base);
}

.filter-btn:hover {
  background: rgba(46, 125, 50, 0.1);
  border-color: rgba(46, 125, 50, 0.3);
  color: var(--clr-text-primary);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--clr-green-dark), var(--clr-green));
  border-color: var(--clr-green);
  color: white;
  font-weight: 600;
  box-shadow: 0 2px 12px rgba(46, 125, 50, 0.3);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.product-card.hidden {
  display: none;
}

.product-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  transition: all var(--transition-base);
  cursor: pointer;
  group: true;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(46, 125, 50, 0.3);
  box-shadow: var(--shadow-lg), var(--shadow-glow-green);
}

.product-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

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

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

.product-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--clr-card-image-overlay);
}

.product-card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(46, 125, 50, 0.9);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 2;
  backdrop-filter: blur(10px);
}

.product-card-body {
  padding: var(--space-md);
}

.product-card-title {
  font-family: var(--ff-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.product-card-desc {
  font-size: 0.9rem;
  color: var(--clr-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-sm);
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-sm);
  border-top: 1px solid var(--clr-border);
}

.product-card-tag {
  font-size: 0.8rem;
  color: var(--clr-green-accent);
  font-weight: 500;
}

.product-card-arrow {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  color: var(--clr-text-muted);
  transition: all var(--transition-base);
}

.product-card:hover .product-card-arrow {
  background: var(--clr-green);
  color: white;
  transform: translateX(3px);
}

/* =============================================
   WHY SECTION (Pillars)
   ============================================= */
.why {
  background: var(--clr-bg-elevated);
  position: relative;
}

.why::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--clr-gold), var(--clr-green-dark), transparent);
}

.why-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.why-header .section-subtitle {
  margin: 0 auto;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.pillar-card {
  padding: var(--space-lg);
  background: var(--clr-pill-bg);
  border: 1px solid var(--clr-border);
  border-radius: 16px;
  transition: all var(--transition-base);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-green), var(--clr-gold));
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.pillar-card:hover {
  transform: translateY(-5px);
  background: rgba(46, 125, 50, 0.05);
  border-color: rgba(46, 125, 50, 0.2);
  box-shadow: var(--shadow-md);
}

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

.pillar-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  font-size: 2rem;
  background: linear-gradient(135deg, rgba(46, 125, 50, 0.15), rgba(212, 162, 58, 0.1));
  border-radius: 16px;
  border: 1px solid var(--clr-border);
}

.pillar-title {
  font-family: var(--ff-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.pillar-desc {
  font-size: 0.9rem;
  color: var(--clr-text-secondary);
  line-height: 1.7;
}

/* =============================================
   COMMITMENT SECTION
   ============================================= */
.commitment {
  background: var(--clr-bg);
  position: relative;
  overflow: hidden;
}

.commitment-banner {
  background: linear-gradient(135deg, var(--clr-green-dark), #0d3310);
  border-radius: 24px;
  padding: var(--space-2xl) var(--space-xl);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.commitment-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 162, 58, 0.15), transparent 60%);
  pointer-events: none;
}

.commitment-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(76, 175, 80, 0.1), transparent 60%);
  pointer-events: none;
}

.commitment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  position: relative;
  z-index: 2;
}

.commitment-text h2 {
  color: white;
  margin-bottom: var(--space-md);
}

.commitment-text p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.commitment-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.commitment-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition-base);
}

.commitment-feature:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
}

.commitment-feature-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.commitment-feature-text {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 0.95rem;
}

/* =============================================
   CONTACT SECTION
   ============================================= */
.contact {
  background: var(--clr-bg-elevated);
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--clr-green-dark), var(--clr-gold), transparent);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
}

.contact-info h2 {
  margin-bottom: var(--space-md);
}

.contact-info > p {
  color: var(--clr-text-secondary);
  margin-bottom: var(--space-lg);
  font-size: 1.05rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.contact-method {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 1rem 1.25rem;
  background: var(--clr-pill-bg);
  border: 1px solid var(--clr-border);
  border-radius: 12px;
  transition: all var(--transition-base);
}

.contact-method:hover {
  background: rgba(46, 125, 50, 0.08);
  border-color: rgba(46, 125, 50, 0.3);
  transform: translateX(5px);
}

.contact-method-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  background: linear-gradient(135deg, rgba(46, 125, 50, 0.15), rgba(212, 162, 58, 0.1));
  border-radius: 10px;
  flex-shrink: 0;
}

.contact-method-details {
  display: flex;
  flex-direction: column;
}

.contact-method-label {
  font-size: 0.8rem;
  color: var(--clr-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-method-value {
  font-weight: 600;
  font-size: 1rem;
  color: var(--clr-text-primary);
}

/* Social links */
.social-links {
  display: flex;
  gap: var(--space-sm);
}

.social-link {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--clr-border);
  border-radius: 12px;
  font-size: 1.2rem;
  transition: all var(--transition-base);
}

.social-link:hover {
  background: var(--clr-green);
  border-color: var(--clr-green);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow-green);
}

/* Contact Form */
.contact-form {
  background: var(--clr-pill-bg);
  border: 1px solid var(--clr-border);
  border-radius: 20px;
  padding: var(--space-lg);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--clr-text-secondary);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--clr-input-bg);
  border: 1px solid var(--clr-border);
  border-radius: 10px;
  color: var(--clr-text-primary);
  font-family: var(--ff-body);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  outline: none;
}

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

.form-input:focus,
.form-textarea:focus {
  border-color: var(--clr-green);
  background: rgba(46, 125, 50, 0.05);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.btn-submit {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, var(--clr-green-dark), var(--clr-green));
  color: white;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-green);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--clr-bg);
  padding: var(--space-2xl) 0 var(--space-lg);
  border-top: 1px solid var(--clr-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-brand p {
  color: var(--clr-text-secondary);
  font-size: 0.9rem;
  margin-top: var(--space-sm);
  max-width: 300px;
  line-height: 1.7;
}

.footer-heading {
  font-family: var(--ff-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--clr-text-primary);
}

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

.footer-links a {
  font-size: 0.9rem;
  color: var(--clr-text-secondary);
  transition: all var(--transition-fast);
}

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

.footer-bottom {
  padding-top: var(--space-lg);
  border-top: 1px solid var(--clr-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

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

.footer-flags {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.2rem;
}

/* =============================================
   ANIMATIONS (Scroll Reveal)
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.08s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.16s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.24s; }
.stagger.visible > *:nth-child(5) { transition-delay: 0.32s; }
.stagger.visible > *:nth-child(6) { transition-delay: 0.40s; }
.stagger.visible > *:nth-child(7) { transition-delay: 0.48s; }
.stagger.visible > *:nth-child(8) { transition-delay: 0.56s; }
.stagger.visible > *:nth-child(9) { transition-delay: 0.64s; }
.stagger.visible > *:nth-child(10) { transition-delay: 0.72s; }

.stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   COUNTER ANIMATION
   ============================================= */
.counter-value {
  font-variant-numeric: tabular-nums;
}

/* =============================================
   RESPONSIVE DESIGN
   ============================================= */
@media (max-width: 1024px) {

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

  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 70px;
  }

  .section {
    padding: var(--space-2xl) 0;
  }

  /* Mobile Nav */
  .navbar-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: var(--clr-mobile-menu-bg);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: calc(var(--nav-height) + 2rem) var(--space-lg) var(--space-lg);
    transition: right var(--transition-base);
    border-left: 1px solid var(--clr-border);
    align-items: flex-start;
    gap: var(--space-sm);
  }

  .navbar-links.open {
    right: 0;
  }

  .navbar-links a {
    font-size: 1.1rem;
    padding: 0.75rem 0;
    width: 100%;
    border-bottom: 1px solid var(--clr-border);
  }

  .navbar-cta {
    margin-top: var(--space-sm);
    text-align: center;
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .menu-toggle {
    display: flex;
  }

  /* Mobile overlay */
  .mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
  }

  .mobile-overlay.active {
    opacity: 1;
    pointer-events: all;
  }

  /* Hero */
  .hero-stats {
    gap: var(--space-lg);
  }

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

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .about-experience-badge {
    bottom: -15px;
    right: 10px;
    width: 110px;
    height: 110px;
  }

  .about-experience-badge .number {
    font-size: 2rem;
  }

  .about-values {
    grid-template-columns: 1fr;
  }

  /* Products */
  .products-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  /* Pillars */
  .pillars-grid {
    grid-template-columns: 1fr;
  }

  /* Commitment */
  .commitment-banner {
    padding: var(--space-xl) var(--space-md);
  }

  .commitment-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: var(--space-sm);
  }
}

/* --- Product Detail Modal --- */
.product-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.product-modal.active {
  opacity: 1;
  pointer-events: all;
}

.product-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.product-modal-content {
  position: relative;
  width: 100%;
  max-width: 800px;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border-light);
  border-radius: 20px;
  overflow: hidden;
  z-index: 2;
  transform: translateY(40px) scale(0.95);
  transition: transform var(--transition-base);
  box-shadow: var(--shadow-lg), 0 0 50px rgba(46, 125, 50, 0.15);
}

.product-modal.active .product-modal-content {
  transform: translateY(0) scale(1);
}

.product-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--clr-border);
  color: var(--clr-text-primary);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  z-index: 3;
}

.product-modal-close:hover {
  background: var(--clr-red);
  border-color: var(--clr-red);
  color: white;
}

.product-modal-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}

.product-modal-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #000;
}

.product-modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-modal-info {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-modal-info .product-modal-badge {
  align-self: flex-start;
  background: rgba(46, 125, 50, 0.2);
  border: 1px solid rgba(46, 125, 50, 0.4);
  color: var(--clr-green-accent);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-modal-title {
  font-family: var(--ff-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--clr-text-primary);
  margin-bottom: var(--space-sm);
}

.product-modal-desc-ar {
  font-family: var(--ff-arabic);
  font-size: 1.35rem;
  direction: rtl;
  color: var(--clr-gold);
  margin-bottom: var(--space-sm);
  line-height: 1.5;
}

.product-modal-desc-fr {
  font-size: 0.95rem;
  color: var(--clr-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.product-modal-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: var(--space-lg);
  border-top: 1px solid var(--clr-border);
  padding-top: var(--space-md);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--clr-text-muted);
}

.meta-icon {
  color: var(--clr-green-light);
  font-weight: bold;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  background: #25D366;
  color: white;
  font-weight: 600;
  border-radius: 50px;
  transition: all var(--transition-base);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #128C7E;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(18, 140, 126, 0.4);
}

@media (max-width: 768px) {
  .product-modal-grid {
    grid-template-columns: 1fr;
  }
  .product-modal-image {
    aspect-ratio: 16/10;
  }
  .product-modal-info {
    padding: var(--space-md);
  }
  .product-modal-content {
    max-height: 90vh;
    overflow-y: auto;
  }
}

/* =============================================
   FLOATING WHATSAPP BUTTON
   ============================================= */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all var(--transition-base);
  animation: whatsapp-pulse 2.5s ease-in-out infinite;
}

.floating-whatsapp:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.55);
  animation: none;
}

@keyframes whatsapp-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.65), 0 0 0 12px rgba(37, 211, 102, 0.08); }
}

/* =============================================
   SCROLL TO TOP BUTTON
   ============================================= */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 46px;
  height: 46px;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-text-secondary);
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: all var(--transition-base);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--clr-green);
  border-color: var(--clr-green);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow-green);
}

@media (max-width: 768px) {
  .floating-whatsapp {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 52px;
    height: 52px;
  }
  .scroll-top {
    bottom: 1.25rem;
    left: 1.25rem;
    width: 40px;
    height: 40px;
  }
}

/* =============================================
   NAVBAR RIGHT GROUP
   ============================================= */
.navbar-right-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 1001;
}

/* =============================================
   THEME TOGGLE BUTTON
   ============================================= */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--clr-border-light);
  color: var(--clr-text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  position: relative;
  flex-shrink: 0;
}

.theme-toggle:hover {
  background: rgba(46, 125, 50, 0.15);
  border-color: rgba(46, 125, 50, 0.4);
  color: var(--clr-green-light);
  transform: rotate(20deg) scale(1.05);
  box-shadow: 0 0 15px rgba(46, 125, 50, 0.15);
}

/* Default dark mode: show moon icon, hide sun */
.theme-toggle .sun-icon { display: none; }
.theme-toggle .moon-icon { display: block; }

/* Light mode: show sun icon, hide moon */
body.light-theme .theme-toggle .sun-icon { display: block; }
body.light-theme .theme-toggle .moon-icon { display: none; }

body.light-theme .theme-toggle {
  background: rgba(46, 125, 50, 0.08);
  border-color: rgba(46, 125, 50, 0.2);
  color: var(--clr-green);
}

/* =============================================
   LIGHT THEME — SPECIFIC OVERRIDES
   ============================================= */

/* Hero gradient adjusted for light theme */
body.light-theme .hero-bg::after {
  background: linear-gradient(
    180deg,
    rgba(250, 249, 245, 0.5) 0%,
    rgba(250, 249, 245, 0.3) 40%,
    rgba(250, 249, 245, 0.7) 70%,
    rgba(250, 249, 245, 1) 100%
  );
}

/* About section border-top */
body.light-theme .about::before {
  background: linear-gradient(90deg, transparent, var(--clr-green), var(--clr-gold-light), transparent);
}

/* Hero stats border */
body.light-theme .hero-stats {
  border-top-color: rgba(46, 125, 50, 0.15);
}

/* About image border */
body.light-theme .about-image::after {
  border-color: rgba(46, 125, 50, 0.1);
}

/* About value boxes */
body.light-theme .about-value {
  background: rgba(46, 125, 50, 0.04);
}

/* Product card arrow */
body.light-theme .product-card-arrow {
  background: rgba(46, 125, 50, 0.06);
  color: var(--clr-green);
}

/* Footer */
body.light-theme .footer {
  background: var(--clr-bg-elevated);
  border-top-color: rgba(46, 125, 50, 0.12);
}

/* Commitment banner — keep dark green */
body.light-theme .commitment-banner {
  background: linear-gradient(135deg, #1B5E20, #0a2e0e);
}

/* Scroll indicator */
body.light-theme .scroll-indicator {
  color: var(--clr-text-muted);
}

body.light-theme .scroll-indicator .mouse {
  border-color: var(--clr-text-muted);
}

/* Modal */
body.light-theme .product-modal-backdrop {
  background: rgba(28, 38, 29, 0.75);
}

body.light-theme .product-modal-content {
  box-shadow: var(--shadow-lg), 0 0 50px rgba(46, 125, 50, 0.08);
}

body.light-theme .product-modal-close {
  background: rgba(46, 125, 50, 0.08);
  border-color: rgba(46, 125, 50, 0.15);
  color: var(--clr-text-secondary);
}

body.light-theme .product-modal-image {
  background: var(--clr-bg-elevated);
}

/* Scroll top button */
body.light-theme .scroll-top {
  background: var(--clr-bg-card);
  border-color: rgba(46, 125, 50, 0.2);
  color: var(--clr-text-secondary);
}

/* Why section border */
body.light-theme .why::before {
  background: linear-gradient(90deg, transparent, var(--clr-gold-light), var(--clr-green), transparent);
}

/* Contact section border */
body.light-theme .contact::before {
  background: linear-gradient(90deg, transparent, var(--clr-green), var(--clr-gold-light), transparent);
}

/* Pillar card hover */
body.light-theme .pillar-card:hover {
  background: rgba(46, 125, 50, 0.05);
}

/* Form focus */
body.light-theme .form-input:focus,
body.light-theme .form-textarea:focus {
  background: rgba(46, 125, 50, 0.04);
  border-color: var(--clr-green);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.08);
}

/* Mobile overlay on light theme */
body.light-theme .mobile-overlay {
  background: rgba(28, 38, 29, 0.4);
}

/* Hero badge light theme */
body.light-theme .hero-badge {
  background: rgba(46, 125, 50, 0.12);
  border-color: rgba(46, 125, 50, 0.25);
}

/* Secondary button */
body.light-theme .btn-secondary {
  background: rgba(46, 125, 50, 0.06);
  border-color: rgba(46, 125, 50, 0.2);
  color: var(--clr-text-primary);
}

body.light-theme .btn-secondary:hover {
  background: rgba(46, 125, 50, 0.12);
  border-color: var(--clr-gold);
  color: var(--clr-gold);
}

/* Contact method hover */
body.light-theme .contact-method {
  background: rgba(46, 125, 50, 0.03);
}

/* Footer links */
body.light-theme .footer-bottom {
  border-top-color: rgba(46, 125, 50, 0.1);
}

/* Gradient text override for light theme to improve contrast */
body.light-theme .gradient-text {
  background: linear-gradient(135deg, #B58424, var(--clr-green-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =============================================
   LANGUAGE TOGGLE BUTTON
   ============================================= */
.lang-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--clr-border-light);
  color: var(--clr-text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  position: relative;
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--ff-body);
}

.lang-toggle:hover {
  background: rgba(46, 125, 50, 0.15);
  border-color: rgba(46, 125, 50, 0.4);
  color: var(--clr-green-light);
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(46, 125, 50, 0.15);
}

body.light-theme .lang-toggle {
  background: rgba(46, 125, 50, 0.08);
  border-color: rgba(46, 125, 50, 0.2);
  color: var(--clr-green);
}

/* =============================================
   RTL RULES FOR ARABIC
   ============================================= */
body.rtl {
  direction: rtl;
  font-family: var(--ff-arabic), var(--ff-body);
}

body.rtl .navbar-logo-text {
  font-family: var(--ff-arabic), var(--ff-heading);
}

body.rtl .heading-xl,
body.rtl .heading-lg,
body.rtl .heading-md,
body.rtl .heading-sm {
  font-family: var(--ff-arabic), var(--ff-heading);
}

/* Fix icons and indicators in RTL */
body.rtl .product-card-arrow {
  transform: scaleX(-1);
}
body.rtl .btn-primary span,
body.rtl .btn-submit span:last-child {
  display: inline-block;
  transform: scaleX(-1);
}

body.rtl .reveal-left {
  transform: translateX(50px);
}
body.rtl .reveal-right {
  transform: translateX(-50px);
}

body.rtl .reveal-left.visible,
body.rtl .reveal-right.visible {
  transform: translateX(0);
}


