:root {
  /* Color Palette - Fresh Agriculture (Light Theme) */
  --color-bg: #ffffff;
  /* White background */
  --color-bg-light: #f4f9f6;
  /* Very light green hint for sections */
  --color-text: #1a3c2c;
  /* Dark forest green for text */
  --color-text-muted: #4a665a;
  --color-primary: #e6b800;
  /* Rich Yellow/Gold */
  --color-secondary: #2e8b57;
  /* Sea Green */
  --color-accent: #2e8b57;
  /* Green for highlights */

  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(46, 139, 87, 0.1);
  --glass-shadow: 0 8px 32px 0 rgba(46, 139, 87, 0.1);

  --font-heading: 'Playfair Display', serif;
  --font-body: 'Outfit', sans-serif;

  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --section-padding: 6rem 2rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

html {
  overflow-x: hidden;
  width: 100%;
}

h1,
h2,
h3,
h4,
.logo {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-text);
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 8px;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

.section-padding {
  padding: var(--section-padding);
}

/* Typography Utilities */
.subheading {
  display: block;
  font-family: var(--font-body);
  font-size: 0.875rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

h2 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.text-gradient {
  background: linear-gradient(135deg, #fff 0%, var(--color-primary) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: var(--color-primary);
  color: #000;
  font-weight: 600;
  border-radius: 4px;
  border: 1px solid var(--color-primary);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--color-primary);
}

.btn-secondary {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-secondary);
  border-radius: 4px;
}

.btn-secondary:hover {
  background-color: var(--color-secondary);
  color: #fff;
}

/* Glassmorphism Components */
.glass-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 0.5rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.glass-card {
  background: rgba(255, 255, 255, 0.9);
  /* Translucent for "glass" effect */
  border: 1px solid rgba(46, 139, 87, 0.1);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-primary);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Header */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  letter-spacing: 1px;
}

.logo-img {
  height: 100px;
  /* Adjust based on logo aspect ratio */
  width: auto;
  object-fit: contain;
  transform: scale(1.15);
  transform-origin: left center;

}


.footer-logo {
  height: 80px;
  width: 80px;
  object-fit: contain;
  background-color: #ffffff;
  border-radius: 50%;
  padding: 10px;
  flex-shrink: 0;
  /* Fix: Prevent squashing */
  margin-bottom: 1rem;
  /* Fix: Prevent collision with text */
  margin-right: 0;
  /* Reset desktop margin if any */
}



.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.95rem;
  opacity: 0.8;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--color-primary);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--color-text);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
  /* Account for fixed header */
  overflow: hidden;
  /* Clip decorations */
}

/* Background Accent */
.hero-bg-accent {
  position: absolute;
  top: -10%;
  right: -10%;
  width: 50%;
  height: 80%;
  background: radial-gradient(circle, rgba(46, 139, 87, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: -1;
  border-radius: 50%;
}

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

.hero-text-content {
  max-width: 600px;
}

.hero-text-content h1 {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--color-text);
}

.hero-text-content .highlight {
  color: var(--color-secondary);
  font-style: italic;
  position: relative;
  display: inline-block;
}

.hero-text-content .highlight::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 10px;
  background: rgba(230, 184, 0, 0.2);
  z-index: -1;
  transform: rotate(-2deg);
}

.hero-text-content p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: var(--color-text-muted);
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

/* Hero Visuals */
.hero-visuals {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-main {
  width: 80%;
  height: 85%;
  border-radius: 20px 20px 0 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  z-index: 2;
  position: relative;
}

.hero-image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image-accent {
  position: absolute;
  bottom: 50px;
  left: -30px;
  width: 45%;
  height: 40%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  border: 5px solid #fff;
  z-index: 3;
  animation: float 6s ease-in-out infinite;
}

.hero-image-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Decorations */
.decoration-circle {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 150px;
  height: 150px;
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  z-index: 1;
  opacity: 0.3;
}

.decoration-dots {
  position: absolute;
  bottom: 20px;
  right: -20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  z-index: 1;
}

.decoration-dots span {
  width: 6px;
  height: 6px;
  background-color: var(--color-secondary);
  border-radius: 50%;
  opacity: 0.3;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  opacity: 1;
}

.mouse {
  width: 26px;
  height: 40px;
  border: 2px solid var(--color-text-muted);
  border-radius: 20px;
  position: relative;
}

.mouse::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: var(--color-text-muted);
  border-radius: 50%;
  animation: scrollWheel 2s infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* About Section */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  position: relative;
}

.image-wrapper {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.stat-card {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  background: rgba(10, 31, 20, 0.9);
  min-width: 180px;
  text-align: center;
}

.stat-card h3 {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.stat-card p {
  font-size: 0.9rem;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.feature-list {
  margin-top: 2rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.feature-list .icon {
  color: var(--color-primary);
  font-weight: bold;
}

/* Services */
.dark-bg {
  background-color: var(--color-bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-text);
}

/* products / Parallax */
.products-section {
  position: relative;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  background-size: cover;
  background-position: center;
  transform: translateY(0);
  /* Handled by JS if we want parallax or just fixed */
  background-attachment: fixed;
  z-index: -2;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.75);
  /* Reduced opacity */
  z-index: -1;
}

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

/* Contact */
.contact-details {
  margin-top: 3rem;
}

.contact-details .item {
  margin-bottom: 2rem;
}

.contact-details .label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.contact-details a {
  font-size: 1.5rem;
  font-family: var(--font-heading);
  color: var(--color-primary);
  /* Visible on white */
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: var(--color-text);
  font-family: inherit;
  transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
  background: #fff;
}

.full-width {
  width: 100%;
}

/* Footer */
footer {
  background: #1a3c2c;
  padding: 4rem 0 2rem;
  border-top: none;
  color: #fff;
}

.footer-links-list {
  display: flex;
  gap: 1.5rem;
  justify-content: right;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.footer-links-list a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-links-list a:hover {
  color: var(--color-primary);
}

.footer-brand p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links p {
  font-size: 0.8rem;
  opacity: 0.6;
  color: rgba(255, 255, 255, 0.7);
}

/* Animations */
@keyframes zoomSlow {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.1);
  }
}

@keyframes scrollWheel {

  0%,
  100% {
    transform: translate(-50%, 0);
    opacity: 0;
  }

  50% {
    transform: translate(-50%, 8px);
    opacity: 1;
  }
}

/* Reveal Animations Classes */
.reveal-text,
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal-left {
  transform: translateX(-30px);
}

.reveal-right {
  transform: translateX(30px);
}

.in-view {
  opacity: 1;
  transform: translate(0, 0);
}

.delay-1 {
  transition-delay: 0.2s;
}

.delay-2 {
  transition-delay: 0.4s;
}

.delay-3 {
  transition-delay: 0.6s;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-section {
    padding-top: 140px;
    /* Increased to clear fixed header */
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
    padding-bottom: 2rem;
  }

  .hero-text-content {
    margin: 0 auto;
    text-align: center;
    /* Fix: Ensure centering */
    padding: 0 1rem;
    /* Fix: Add margins/padding */
    width: 100%;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visuals {
    height: 350px;
    width: 100%;
    margin-top: 1rem;
  }

  .hero-image-main {
    width: 85%;
    height: 90%;
    margin: 0 auto;
  }

  .hero-image-accent {
    width: 40%;
    height: 40%;
    left: 5%;
    bottom: 20px;
  }

  .hero-text-content h1 {
    /* Fix: Corrected class name */
    font-size: 3rem;
  }

  .grid-2 {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .stat-card {
    right: 0;
    bottom: -1rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .nav-links {
    display: none;
  }

  .footer-links-list {
    justify-content: center;
  }

  /* Simplified for now */
  .mobile-menu-btn {
    display: block;
  }

  /* Would need JS for toggle */

  .hero-text-content h1 {
    /* Fix: Corrected class name from .hero-content */
    font-size: 2.2rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  /* Stack buttons */
  .btn-primary,
  .btn-secondary {
    display: block;
    text-align: center;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
  }

  /* Header Fixes */
  nav {
    justify-content: space-between;
    /* Fix: Align logo left, button right */
    position: relative;
    padding: 0 1rem;
    /* Add side padding */
  }

  nav .logo-img {
    /* Fix: Target specific logo in nav */
    height: 40px;
    /* Fix: Reduce size to fit header */
    transform: scale(2);
    /* Scaled up as requested */
    transform-origin: left center;
  }

  .mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text);
    padding: 0.5rem;
    transition: var(--transition);
  }

  .mobile-menu-btn:hover {
    color: var(--color-primary);
    transform: scale(1.1);
  }

  .scroll-indicator,
  .mouse {
    display: none;
    /* Fix: Hide scroll indicator on mobile */
  }

  .hero-section {
    overflow-x: hidden;
    /* Fix: Prevent horizontal scroll */
    width: 100%;
    /* Removed debug border */
    justify-content: center;
    /* Fix: Ensure flex container aligns children to center */
  }

  .hero-bg-accent {
    right: -10%;
    /* Fix: Pull back to prevent overflow trigger */
    width: 60%;
    /* Fix: Reduce width */
    opacity: 0.5;

  }
}