/* ============================================
   SPICES & AGRO PRODUCTS — Design System
   Blended Theme: Corporate Green + Spice Market
   ============================================ */

/* ---------- Google Fonts: loaded via <link> in HTML for performance ---------- */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Primary palette */
  --green: #15803D;
  --green-dark: #0F5C2B;
  --green-light: #22C55E;
  --orange: #F97316;
  --orange-dark: #EA580C;
  --gold: #EAB308;
  --gold-light: #FDE047;
  --crimson: #991B1B;
  --crimson-dark: #7F1D1D;
  --brown: #78350F;
  --brown-light: #A16207;

  /* Neutrals */
  --white: #FFFFFF;
  --cream: #FFFBEB;
  --light-bg: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-500: #6B7280;
  --gray-700: #374151;
  --gray-900: #111827;
  --charcoal: #1F2937;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);

  /* Border radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ---------- Utility Classes ---------- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.section {
  padding: var(--section-padding);
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--green);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 40px;
  height: 2px;
  background: var(--orange);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 600px;
  line-height: 1.8;
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(21, 128, 61, 0.3);
}

.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(21, 128, 61, 0.4);
}

.btn-secondary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.3);
}

.btn-secondary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--green);
}

.btn-outline-dark {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
}

.btn-outline-dark:hover {
  background: var(--green);
  color: var(--white);
}

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 14px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
  padding: 8px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  transition: var(--transition);
}

.nav-logo img {
  height: 70px;
  width: auto;
  display: inline-block;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
}

.navbar.scrolled .nav-logo {
  color: var(--green-dark);
}

.nav-logo .logo-icon {
  width: 42px;
  height: 42px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--white);
}

.navbar.scrolled .nav-logo .logo-icon {
  background: var(--green);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  padding: 4px 0;
}

.navbar.scrolled .nav-links a {
  color: var(--gray-700);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--orange);
}

.nav-cta {
  padding: 10px 24px !important;
  background: var(--orange) !important;
  color: var(--white) !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--orange-dark) !important;
  transform: translateY(-1px);
}

.nav-cta::after {
  display: none !important;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  padding: 5px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.navbar.scrolled .hamburger span {
  background: var(--gray-900);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ---------- HERO SECTION ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(15, 92, 43, 0.97) 0%, rgba(30, 70, 35, 0.95) 35%, rgba(78, 53, 15, 0.93) 70%, rgba(100, 60, 20, 0.90) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 180px;
  background: linear-gradient(to top, var(--white) 0%, rgba(255, 255, 255, 0.6) 40%, transparent 100%);
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero-content {
  max-width: 700px;
  padding: 120px 0 60px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: var(--radius-xl);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gold-light);
  margin-bottom: 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--green-light);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--gold), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stat h3 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
}

.hero-stat p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
}

/* Hero Slideshow */
.hero-slideshow {
  position: absolute;
  right: 2%;
  /* Move closer to edge */
  top: 50%;
  transform: translateY(-50%);
  width: 55%;
  /* Use percentage so it scales */
  max-width: 650px;
  /* Don't get too big */
  height: 600px;
  z-index: 2;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  /* Removed the white border */
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transition: opacity 0.6s ease-in-out, transform 6s linear;
  transform: scale(1.05);
  /* Zoom out effect */
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

@media (max-width: 992px) {
  .hero-slideshow {
    position: relative;
    top: 0;
    right: 0;
    transform: translateY(0);
    margin: 40px auto 0;
    width: 100%;
    max-width: 420px;
    height: 400px;
  }
}


/* ---------- ABOUT / COMPANY INFO ---------- */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  border: 3px solid var(--orange);
  border-radius: var(--radius-md);
  z-index: -1;
}

.about-image .experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--green);
  color: var(--white);
  padding: 24px 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.experience-badge h3 {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
}

.experience-badge p {
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 4px;
}

.about-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 20px;
  line-height: 1.2;
}

.about-text p {
  color: var(--gray-500);
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 30px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--cream);
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--gray-700);
}

.about-feature .icon {
  width: 36px;
  height: 36px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

/* ---------- WHY CHOOSE US ---------- */
.why-us {
  background: var(--light-bg);
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.why-card {
  background: var(--white);
  padding: 40px 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--orange));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-slow);
}

.why-card:hover::before {
  transform: scaleX(1);
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.why-card .card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--cream), var(--gold-light));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 24px;
}

.why-card .brand-logo {
  height: 90px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-card .brand-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.why-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 14px;
}

.why-card p {
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---------- CERTIFICATIONS ---------- */
.certifications {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  color: var(--white);
  padding: 80px 0;
}

.cert-content {
  text-align: center;
}

.cert-content .section-label {
  color: var(--gold);
}

.cert-content .section-label::before {
  background: var(--gold);
}

.cert-content .section-title {
  color: var(--white);
}

.cert-content .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
  margin: 0 auto 50px;
}

.cert-slider-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 40px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  margin-top: 40px;
}

.cert-slider-track {
  display: flex;
  gap: 30px;
  align-items: center;
  /* transition is handled by JS for smooth scroll vs snap */
}

.cert-slide {
  flex: 0 0 240px;
  height: 160px;
  background: var(--white);
  border-radius: var(--radius-md);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.cert-slide:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.cert-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: var(--transition);
}

.cert-slide:hover img {
  transform: scale(1.05);
}

/* Arrows */
.cert-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: var(--white);
  color: var(--green);
  border: none;
  border-radius: 50%;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.cert-arrow:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-50%) scale(1.1);
}

.cert-arrow-left {
  left: 20px;
}

.cert-arrow-right {
  right: 20px;
}

@media (max-width: 768px) {
  .cert-slider-wrapper {
    padding: 30px 10px;
  }

  .cert-slide {
    flex: 0 0 180px;
    height: 120px;
    padding: 15px;
  }
}


/* ---------- PRODUCTS SECTION / PAGE ---------- */
.products-hero {
  background: linear-gradient(135deg, rgba(120, 53, 15, 0.95), rgba(153, 27, 27, 0.92));
  padding: 160px 0 100px;
  text-align: center;
  color: var(--white);
}

.products-hero .section-label {
  color: var(--gold);
}

.products-hero .section-label::before {
  background: var(--gold);
}

.products-hero .section-title {
  color: var(--white);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
}

.products-hero .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
  margin: 0 auto;
}

/* Product Filters */
.product-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 28px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9rem;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: var(--transition);
  color: var(--gray-700);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

/* Product Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.product-card {
  background: transparent;
  perspective: 1000px;
  height: 400px;
}

.product-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
}

.product-card:hover .product-card-inner {
  transform: rotateY(180deg);
  box-shadow: var(--shadow-lg);
}

.product-card-front,
.product-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.product-card-front {
  background-color: var(--white);
  display: flex;
  flex-direction: column;
}

.product-card-back {
  background-color: var(--green-dark);
  color: var(--white);
  transform: rotateY(180deg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-card-img {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: var(--white);
  padding: 20px;
  transition: var(--transition-slow);
}

.product-card-inner:hover .product-card-img img {
  transform: scale(1.08);
}

.product-card-img .product-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--green);
  color: var(--white);
  padding: 4px 14px;
  border-radius: var(--radius-xl);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-card-front-title {
  padding: 16px 20px;
  background: var(--light-bg);
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-top: 1px solid var(--gray-200);
}

.product-card-front-title h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--green-dark);
  margin: 0;
}

.product-card-back h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--gold);
}

.product-features-list {
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
}

.product-features-list li {
  margin-bottom: 10px;
  font-size: 0.95rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.95);
  position: relative;
  padding-left: 20px;
}

.product-features-list li::before {
  content: '•';
  color: var(--orange);
  position: absolute;
  left: 0;
  font-size: 1.2rem;
  line-height: 1;
}

.product-card-back .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: auto;
  border-bottom: 2px solid transparent;
  width: fit-content;
  transition: var(--transition);
}

.product-card-back .learn-more:hover {
  color: var(--gold);
  gap: 10px;
  border-bottom-color: var(--gold);
}

/* ---------- CONTACT PAGE ---------- */
.contact-hero {
  background: linear-gradient(135deg, rgba(21, 128, 61, 0.97), rgba(15, 92, 43, 0.98));
  padding: 160px 0 100px;
  text-align: center;
  color: var(--white);
}

.contact-hero .section-label {
  color: var(--gold);
}

.contact-hero .section-label::before {
  background: var(--gold);
}

.contact-hero .section-title {
  color: var(--white);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
}

.contact-hero .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.contact-info-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--green);
}

.contact-info-card .card-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--cream), var(--gold-light));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-info-card h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 6px;
}

.contact-info-card p {
  color: var(--gray-500);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

.contact-form-wrapper h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--gray-900);
}

.contact-form-wrapper>p {
  color: var(--gray-500);
  margin-bottom: 30px;
  font-size: 0.95rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--gray-900);
  transition: var(--transition);
  background: var(--light-bg);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--green);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(21, 128, 61, 0.1);
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

.form-submit {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

/* Honeypot — hidden from humans */
.honeypot-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Error Banner */
.form-error-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: linear-gradient(135deg, #FEF2F2, #FEE2E2);
  border: 1px solid #FECACA;
  border-left: 4px solid #EF4444;
  border-radius: var(--radius-sm);
  margin-top: 16px;
  color: #991B1B;
  font-size: 0.92rem;
  font-weight: 500;
  animation: shakeError 0.4s ease;
}

.form-error-banner i {
  font-size: 1.2rem;
  color: #EF4444;
  flex-shrink: 0;
}

@keyframes shakeError {

  0%,
  100% {
    transform: translateX(0);
  }

  15% {
    transform: translateX(-6px);
  }

  30% {
    transform: translateX(6px);
  }

  45% {
    transform: translateX(-4px);
  }

  60% {
    transform: translateX(4px);
  }

  75% {
    transform: translateX(-2px);
  }
}

/* Loading Button State */
#submitBtn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

#submitBtn .fa-spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Success Container */
.form-success-container {
  text-align: center;
  padding: 50px 24px;
  animation: fadeInUp 0.6s ease;
}

.form-success-container .success-icon {
  font-size: 3.5rem;
  margin-bottom: 16px;
}

.form-success-container h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 10px;
}

.form-success-container p {
  color: var(--gray-500);
  font-size: 1rem;
  margin-bottom: 24px;
}

.form-success-container .success-subtext {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-top: 12px;
  margin-bottom: 0;
}

/* WhatsApp CTA Button */
.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
  transition: var(--transition);
}

.btn-whatsapp:hover {
  background: #1EBE5D;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp i {
  font-size: 1.2rem;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--brown) 100%);
  padding: 80px 0;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '🌿';
  position: absolute;
  font-size: 200px;
  opacity: 0.05;
  top: -40px;
  right: -40px;
}

.cta-banner h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn-secondary {
  font-size: 1.05rem;
  padding: 16px 40px;
}

/* ---------- FOOTER ---------- */
.footer {
  background: #2d5a47;
  color: rgba(255, 255, 255, 0.75);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 50px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .nav-logo {
  margin-bottom: 20px;
}

.footer-brand .nav-logo img {
  height: 80px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 24px;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--orange);
  padding-left: 6px;
}

.footer-newsletter input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font-body);
  margin-bottom: 12px;
}

.footer-newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.footer-newsletter input:focus {
  outline: none;
  border-color: var(--green);
}

.footer-bottom {
  text-align: center;
  padding: 24px 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ---------- SCROLL REVEAL ANIMATIONS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

/* Staggered delays for grid children */
.stagger-1 {
  transition-delay: 0.1s;
}

.stagger-2 {
  transition-delay: 0.2s;
}

.stagger-3 {
  transition-delay: 0.3s;
}

.stagger-4 {
  transition-delay: 0.4s;
}

.stagger-5 {
  transition-delay: 0.5s;
}

.stagger-6 {
  transition-delay: 0.6s;
}

/* ---------- RESPONSIVE: Large Desktop (>1400px) ---------- */
@media (min-width: 1400px) {
  :root {
    --container-width: 1320px;
  }

  .hero h1 {
    font-size: 4.5rem;
  }

  .hero-float {
    width: 500px;
    height: 500px;
  }

  .hero-float-img:nth-child(1) {
    width: 340px;
    height: 420px;
  }

  .footer-grid {
    gap: 70px;
  }
}

/* ---------- RESPONSIVE: Smaller Desktop (<=1200px) ---------- */
@media (max-width: 1200px) {
  .hero-float {
    width: 350px;
    height: 350px;
    right: 2%;
  }

  .hero-float-img:nth-child(1) {
    width: 230px;
    height: 290px;
  }

  .hero-float-img:nth-child(2) {
    width: 150px;
    height: 180px;
  }
}

/* ---------- RESPONSIVE: Tablet (<=992px) ---------- */
@media (max-width: 992px) {
  .section {
    padding: 70px 0;
  }

  .hero-float {
    display: none;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image {
    order: -1;
  }

  .about-image img {
    height: 360px;
  }

  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

/* ---------- RESPONSIVE: Tablet & Mobile Nav (<=768px) ---------- */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    padding: 40px;
    box-shadow: var(--shadow-xl);
    transition: var(--transition-slow);
    z-index: 1000;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    color: var(--gray-700) !important;
    font-size: 1.1rem;
  }

  .nav-links a:hover {
    color: var(--green) !important;
  }

  .nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
  }

  .nav-overlay.open {
    display: block;
  }

  .section {
    padding: 60px 0;
  }

  .hero {
    min-height: 90vh;
  }

  .hero-stats {
    gap: 28px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-stat h3 {
    font-size: 1.8rem;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .about-image::before {
    display: none;
  }

  .about-image .experience-badge {
    bottom: -10px;
    right: 10px;
    padding: 18px 22px;
  }

  .why-us-grid {
    grid-template-columns: 1fr;
  }

  .cert-grid {
    gap: 24px;
  }

  .cert-icon {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-wrapper {
    padding: 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* ---------- RESPONSIVE: Mobile (<=480px) ---------- */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 6px 14px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
  }

  .hero-stats {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .about-image img {
    height: 260px;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .product-filters {
    gap: 8px;
  }

  .filter-btn {
    padding: 8px 18px;
    font-size: 0.82rem;
  }

  .cta-banner {
    padding: 60px 0;
  }

  .cta-banner h2 {
    font-size: 1.5rem;
  }
}