/* ------------------------------------------------------------------------
   AgriFuture Hub - Main Stylesheet 
   Author: Priscila Araújo
------------------------------------------------------------------------ */

/* Table of Contents
   1. CSS Variables (Root)
   2. Base & Reset Styles
   3. Typography
   4. Layout & Containers
   5. Buttons & Interactive Elements
   6. Header & Navigation
   7. Hero Section
   8. Section Components & Shared Styles
   9. Specific Sections
     9.1 About Us (Quem Somos)
     9.2 Stats Section
     9.3 Partners Section
     9.4 Solution Sections (Farmer, Corporate, Startup)
   10. Footer
   11. Utility Classes
   12. Animations & Keyframes
   13. Media Queries
----------------------------------------------------------------------- */

/* ==========================================================================
   1. CSS VARIABLES (ROOT)
========================================================================== */
:root {
  /* Colors */
  --color-black: #000;
  --color-white: #fff;
  --color-green: #2ed22b;
  --color-dark-green: #28b226;
  --color-light-green: #73e971;
  --color-gray: #a0a0a0;
  --color-light-gray: #f0f0f0;
  --color-dark-gray: #333;
  --color-bg-dark: #0d0d0d;
  
  /* Typography */
  --font-primary: 'Comfortaa', sans-serif;
  --font-secondary: 'Orbitron', sans-serif;
  
  /* Transitions */
  --transition-fast: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-medium: 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  --transition-slow: 0.8s cubic-bezier(0.19, 1, 0.22, 1);
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 4rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-round: 50%;
  
  /* Section Padding */
  --section-padding: 100px 0;
  --section-padding-mobile: 60px 0;
}

/* ==========================================================================
   2. BASE & RESET STYLES
========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-primary);
  background-color: var(--color-black);
  color: var(--color-white);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  position: relative;
}

img {
  max-width: 100%;
  height: auto;
}

ul, ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

button, input, textarea {
  font-family: var(--font-primary);
  font-size: 1rem;
}

/* ==========================================================================
   3. TYPOGRAPHY
========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  margin: 0 0 var(--spacing-md);
  line-height: 1.3;
  font-weight: 700;
}

p {
  margin: 0 0 var(--spacing-md);
}

a {
  color: var(--color-green);
  text-decoration: none;
  transition: all var(--transition-fast);
}

a:hover {
  color: var(--color-light-green);
}

/* Section Titles */
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: var(--spacing-lg);
  position: relative;
}

.highlight-text {
  color: var(--color-white);
}

.title-underline {
  position: relative;
  width: 80px;
  height: 4px;
  background-color: var(--color-green);
  margin-top: var(--spacing-sm);
}

.title-underline.center {
  margin-left: auto;
  margin-right: auto;
}

.title-style-inverted .highlight-text {
  color: var(--color-white);
  position: relative;
  display: inline-block;
}

.title-style-inverted .normal-text {
  color: var(--color-green);
}

.title-style-inverted .highlight-text::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 80px;
  height: 4px;
  background-color: var(--color-green);
}

.title-style-inverted .title-underline {
  display: none;
}

.text-center.title-style-inverted .highlight-text {
  position: relative;
}

.text-center.title-style-inverted .highlight-text::after {
  left: 0;
  transform: none;
}

/* Content Typography */
.section-lead {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  color: var(--color-light-gray);
}

.section-text {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-light-gray);
  max-width: 700px;
}

.section-tagline {
  font-size: 1.25rem;
  color: var(--color-green);
  margin-top: var(--spacing-lg);
}

/* ==========================================================================
   4. LAYOUT & CONTAINERS
========================================================================== */
.container {
  padding-left: var(--spacing-lg);
  padding-right: var(--spacing-lg);
}

.section-padding {
  padding: var(--section-padding);
}

.text-center {
  text-align: center;
}

.bg-black {
  background-color: var(--color-black);
}

.bg-dark {
  background-color: var(--color-bg-dark);
}

.section-graphic {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bg-accent {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: radial-gradient(circle at center, rgba(46, 210, 43, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: -1;
}

/* ==========================================================================
   5. BUTTONS & INTERACTIVE ELEMENTS
========================================================================== */
/* Section badge */
.section-badge {
  display: inline-block;
  margin-bottom: 30px;
  transform: translateY(50px);
  opacity: 0;
  animation: fadeInUp 0.8s forwards;
  animation-delay: 0.2s;
}

.section-badge span {
  background-color: rgba(40, 178, 38, 0.15);
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 30px;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
}

.section-badge span::before,
.section-badge span::after {
  content: "";
  position: absolute;
  height: 1px;
  background-color: rgba(40, 178, 38, 0.3);
  top: 50%;
  width: 15px;
}

.section-badge span::before {
  left: -15px;
}

.section-badge span::after {
  right: -15px;
}

/* Back to Top Button */
#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-round);
  background-color: var(--color-green);
  color: var(--color-black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-fast);
  opacity: 0;
  visibility: hidden;
  z-index: 90;
}

#back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

#back-to-top:hover {
  background-color: var(--color-dark-green);
  color: var(--color-white);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   6. HEADER & NAVIGATION
========================================================================== */
#main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: var(--spacing-md) 0;
  transition: all var(--transition-medium);
}

#main-header.smart-header {
  transform: translateY(0);
  transition: transform var(--transition-medium),
              background-color var(--transition-medium),
              box-shadow var(--transition-medium),
              padding var(--transition-medium);
}

#main-header.hidden {
  transform: translateY(-100%);
}

#main-header.scrolled {
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  padding: var(--spacing-sm) 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: var(--spacing-lg);
  padding-right: var(--spacing-lg);
}

.logo-img {
  height: 50px;
  transition: height var(--transition-medium);
}

#main-header.scrolled .logo-img {
  height: 40px;
}

.main-nav {
  transition: all var(--transition-medium);
}

.menu {
  display: flex;
  gap: var(--spacing-md);
}

.nav-link {
  color: var(--color-white);
  font-size: 0.95rem;
  font-weight: 600;
  padding: var(--spacing-xs) var(--spacing-sm);
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-green);
  transition: width var(--transition-medium);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.hamburger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  padding: 0;
  position: relative;
  z-index: 101;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background-color: var(--color-white);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.hamburger-btn.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   7. HERO SECTION 
========================================================================== */
.hero-section {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
  z-index: 0;
}

.hero-content {
  text-align: center;
  width: 100%;
  max-width: 1200px;
  padding: 20px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-title {
  font-family: var(--font-secondary);
  font-size: clamp(2rem, 5vw, 5rem);
  margin: 0;
  line-height: 1.2;
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease-out forwards;
  animation-delay: 0.3s;
  width: 100%;
}

.hero-word {
  letter-spacing: 0.3em;
  display: inline-block;
  margin-bottom: 0.2em;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(20px);
  animation: wordAppear 1.2s ease-out forwards;
  transition: transform 0.8s ease-out, color 0.6s ease-out;
}

.hero-line {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  width: 100%;
  animation: fadeIn 1s ease-out forwards;
}

.green-dash {
  display: inline-block;
  width: 0; 
  max-width: 500px;
  height: 15px;
  background-color: var(--color-green);
  margin: 0 10px;
  animation: dashGrow 1.4s ease-out forwards; 
  transition: transform 0.4s ease-out, background-color 0.4s ease-out;
}

.hero-title:hover .line-que .hero-word {
  transform: translateX(-20px) !important;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-title:hover .line-o .hero-word {
  transform: translateX(20px) !important;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-title:hover .green-dash {
  transform: scaleX(0.7);
  background-color: var(--color-green);
}


@keyframes wordAppear {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
  }
  70% {
    opacity: 0.7;
    transform: translateY(0) scale(1.05);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes dashGrow {
  0% {
    width: 0;
    opacity: 0;
  }
  50% {
    opacity: 0.7;
  }
  100% {
    width: 30vw; 
    opacity: 1;
  }
}

.hero-word:nth-child(1) { animation-delay: 0.5s; }
.hero-line:nth-of-type(1) { animation-delay: 0.5s; }
.hero-line:nth-of-type(1) .green-dash { animation-delay: 0.7s; }

.hero-word:nth-child(3) { animation-delay: 0.8s; }
.hero-line:nth-of-type(2) { animation-delay: 0.8s; }
.hero-line:nth-of-type(2) .green-dash { animation-delay: 1s; }

.hero-word:nth-child(5) { animation-delay: 1.1s; }

/* ==========================================================================
   8. SECTION COMPONENTS & SHARED STYLES
========================================================================== */
/* Loader */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-black);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  transition: opacity var(--transition-medium);
}

.loader.fade-out {
  opacity: 0;
  pointer-events: none;
}

.loader-content {
  text-align: center;
}

.loader-logo {
  max-width: 120px;
  margin-bottom: var(--spacing-lg);
  animation: pulse 1.5s infinite alternate;
}

.loader-bar {
  width: 200px;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin: 0 auto;
}

.loader-progress {
  height: 100%;
  width: 0;
  background-color: var(--color-green);
  animation: progress 2s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

/* Icon Styles */
.icons-row-layout .icons-row {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 40px 0;
  flex-wrap: nowrap;
}

.icons-row-layout .icon-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform var(--transition-medium);
  flex: 0 0 auto;
}

.icons-row-layout .icon-container:hover {
  transform: translateY(-10px);
}

.icons-row-layout .icon-plus {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-green);
  margin: 0 15px;
  opacity: 0.8;
  animation: pulseTech 3s ease-in-out infinite;
  flex: 0 0 auto;
}

.icons-row-layout .idea-icon,
.icons-row-layout .plant-icon,
.icons-row-layout .tech-icon {
  width: 60px;
  height: 60px;
  background-color: var(--color-black);
  border: 2px solid var(--color-green);
  border-radius: var(--radius-round);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 15px rgba(46, 210, 43, 0.3);
  transition: all var(--transition-medium);
  margin: 0;
  position: relative;
}

.icons-row-layout .idea-icon i,
.icons-row-layout .plant-icon i,
.icons-row-layout .tech-icon i {
  font-size: 1.8rem;
  color: var(--color-green);
}

.icons-row-layout .idea-icon i {
  animation: pulseTech 2s ease-in-out infinite;
}

.icons-row-layout .plant-icon i {
  animation: leafSway 3s ease-in-out infinite alternate;
}

.icons-row-layout .tech-icon i {
  animation: pulseTech 2.5s ease-in-out infinite;
}

.icons-row-layout .icon-container:hover .idea-icon,
.icons-row-layout .icon-container:hover .plant-icon,
.icons-row-layout .icon-container:hover .tech-icon {
  transform: scale(1.1);
  box-shadow: 0 0 25px rgba(46, 210, 43, 0.5);
}

/* Particles */
.floating-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: rgba(46, 210, 43, 0.1);
  animation: float 15s infinite ease-in-out;
}

.particle:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
  animation-duration: 25s;
}

.particle:nth-child(2) {
  top: 60%;
  left: 20%;
  animation-delay: 2s;
  animation-duration: 20s;
}

.particle:nth-child(3) {
  top: 40%;
  left: 70%;
  animation-delay: 5s;
  animation-duration: 22s;
}

.particle:nth-child(4) {
  top: 70%;
  left: 85%;
  animation-delay: 1s;
  animation-duration: 18s;
}

.particle:nth-child(5) {
  top: 15%;
  left: 60%;
  animation-delay: 3s;
  animation-duration: 24s;
}

/* ==========================================================================
   9. SPECIFIC SECTIONS
========================================================================== */

/* 9.1 About Us Section (Quem Somos) */
#quem-somos {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

#quem-somos::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle, rgba(46, 210, 43, 0.03) 1px, transparent 1px);
  background-size: 15px 15px;
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}

#quem-somos::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 10% 20%, rgba(46, 210, 43, 0.05) 0%, transparent 30%),
    radial-gradient(circle at 90% 80%, rgba(46, 210, 43, 0.05) 0%, transparent 30%);
  z-index: 0;
  pointer-events: none;
}

#quem-somos .container {
  position: relative;
  z-index: 1;
}

#quem-somos .section-text strong {
  color: var(--color-green);
  font-weight: 700;
  position: relative;
  display: inline-block;
}

#quem-somos .section-text strong::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--color-green);
  opacity: 0.3;
  transition: all var(--transition-fast);
}

#quem-somos .section-text strong:hover::after {
  opacity: 0.7;
  height: 2px;
}

/* 9.2 Stats Section */
.stats-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: var(--spacing-xl) 0;
}

.stat-item {
  text-align: center;
  padding: 0 var(--spacing-md);
}

.stat-icon {
  font-size: 2.5rem;
  color: var(--color-green);
  margin-bottom: var(--spacing-md);
}

.stat-value {
  font-family: var(--font-secondary);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--color-white);
  display: inline-flex;
  align-items: baseline;
}

.stat-unit {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-green);
  margin-left: var(--spacing-xs);
}

.stat-label {
  font-size: 1.125rem;
  color: var(--color-light-gray);
  margin-top: var(--spacing-sm);
}

.stat-divider {
  width: 3px;
  height: 100px;
  background-color: var(--color-green);
}

/* 9.3 Partners Section */
#parcerias {
  background-color: var(--color-black);
}

.partners-slider {
  position: relative;
  overflow: hidden;
  padding: var(--spacing-lg) 0;
  width: 100%;
}

.partners-slider::before,
.partners-slider::after {
  content: '';
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 10;
  pointer-events: none;
}

.partners-slider::before {
  left: 0;
  background: linear-gradient(to right, 
              var(--color-black) 0%, 
              var(--color-black) 30%, 
              rgba(0, 0, 0, 0.8) 60%, 
              rgba(0, 0, 0, 0) 100%);
}

.partners-slider::after {
  right: 0;
  background: linear-gradient(to left, 
              var(--color-black) 0%, 
              var(--color-black) 30%, 
              rgba(0, 0, 0, 0.8) 60%, 
              rgba(0, 0, 0, 0) 100%);
}

.partners-track {
  display: flex;
  animation: slidePartners 30s linear infinite;
  position: relative;
  z-index: 1;
}

.partner-item {
  flex: 0 0 auto;
  padding: 0 var(--spacing-lg);
  opacity: 0.6;
  transition: opacity var(--transition-fast);
}

.partner-item:hover {
  opacity: 1;
}

.partner-logo {
  height: 80px;
  width: auto;
  filter: grayscale(100%);
  transition: filter var(--transition-fast);
}

.partner-item:hover .partner-logo {
  filter: grayscale(0%);
}

/* 9.4 Solution Sections (Shared) */
.solution-section {
  position: relative;
  overflow: hidden;
}

.solution-content {
  padding: var(--spacing-lg);
}

.solution-cards {
  display: flex;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
}

.solution-card {
  flex: 1;
  min-width: 280px;
  background-color: rgba(0, 0, 0, 0.761);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-medium);
}

.solution-card:hover {
  transform: translateY(-10px);
}

.card-image-container {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
  filter: grayscale(100%) brightness(0.7);
}

.solution-card:hover .card-image {
  transform: scale(1.1);
  filter: grayscale(0%) brightness(1);
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
}

.card-content {
  padding: var(--spacing-lg);
  position: relative;
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
  position: relative;
}

.card-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--color-green);
}

.card-text {
  font-size: 0.95rem;
  color: var(--color-light-gray);
  margin-bottom: var(--spacing-md);
}

/* Farmer Section */
#farmer.solution-section {
  position: relative;
  isolation: isolate;
}

#farmer.solution-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(46, 210, 43, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(46, 210, 43, 0.08) 1px, transparent 1px);
  background-size: 25px 25px;
  opacity: 0.7;
  z-index: 0;
  pointer-events: none;
}

#farmer.solution-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(46, 210, 43, 0.2) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(46, 210, 43, 0.2) 0%, transparent 40%),
    radial-gradient(circle, rgba(46, 210, 43, 0.15) 1px, transparent 2px);
  background-size: 100% 100%, 100% 100%, 30px 30px;
  opacity: 1;
  z-index: 0;
  pointer-events: none;
}

#farmer.solution-section .container {
  position: relative;
  z-index: 2;
}

#farmer .solution-card {
  border: 1px solid rgba(46, 210, 43, 0.1);
  box-shadow: 0 8px 30px rgba(46, 210, 43, 0.08);
}

#farmer .solution-card:hover {
  border-color: rgba(46, 210, 43, 0.3);
  box-shadow: 0 12px 40px rgba(46, 210, 43, 0.15);
}

#farmer .card-title::after {
  animation: greenPulse 3s infinite;
}

/* Corporate Section */
#corporate.solution-section {
  position: relative;
  background-color: var(--color-black);
  overflow: hidden;
}

#corporate .solution-card {
  border: 1px solid rgba(46, 210, 43, 0.15);
  box-shadow: 0 0 20px rgba(46, 210, 43, 0.1);
  position: relative;
  transition: all var(--transition-medium);
  background-color: var(--color-black);
}

#corporate .solution-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--radius-lg);
  box-shadow: 0 0 15px rgba(46, 210, 43, 0.2);
  opacity: 0.6;
  transition: all var(--transition-medium);
  z-index: -1;
}

#corporate .solution-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(46, 210, 43, 0.4);
  box-shadow: 0 10px 30px rgba(46, 210, 43, 0.2);
}

#corporate .solution-card:hover::before {
  box-shadow: 0 0 30px rgba(46, 210, 43, 0.4);
  opacity: 1;
}

/* Startup Section */
#startup.solution-section {
  position: relative;
  background-color: var(--color-black);
  background-image: 
    linear-gradient(to right, rgba(46, 210, 43, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(46, 210, 43, 0.08) 1px, transparent 1px);
  background-size: 20px 20px;
  background-position: center center;
  isolation: isolate;
}

#startup.solution-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle, rgba(46, 210, 43, 0.12) 1px, transparent 2px);
  background-size: 50px 50px;
  background-position: 0 0;
  opacity: 1;
  z-index: 0;
  pointer-events: none;
}

#startup.solution-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 15% 30%, rgba(46, 210, 43, 0.15) 0%, transparent 35%),
    radial-gradient(circle at 85% 70%, rgba(46, 210, 43, 0.15) 0%, transparent 35%);
  opacity: 1;
  z-index: 0;
  pointer-events: none;
}

#startup.solution-section .container {
  position: relative;
  z-index: 1;
}

#startup .solution-card {
  border: 1px solid rgba(46, 210, 43, 0.15);
  box-shadow: 0 0 20px rgba(46, 210, 43, 0.1);
  position: relative;
  transition: all var(--transition-medium);
}

#startup .solution-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--radius-lg);
  box-shadow: 0 0 15px rgba(46, 210, 43, 0.2);
  opacity: 0.6;
  transition: all var(--transition-medium);
  z-index: -1;
}

#startup .solution-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(46, 210, 43, 0.4);
  box-shadow: 0 10px 30px rgba(46, 210, 43, 0.2);
}

#startup .solution-card:hover::before {
  box-shadow: 0 0 30px rgba(46, 210, 43, 0.4);
  opacity: 1;
}

#startup .solution-card::after {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: var(--radius-lg);
  z-index: -2;
  background: transparent;
  box-shadow: 0 0 20px rgba(46, 210, 43, 0.2);
  opacity: 0;
  transition: opacity var(--transition-medium);
}

#startup .solution-card:hover::after {
  opacity: 1;
  animation: startupGlow 2s infinite;
}

/* ==========================================================================
   10. FOOTER
========================================================================== */
footer {
  background-color: var(--color-black);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 10% 10%, rgba(40, 178, 38, 0.05) 0%, transparent 30%),
    radial-gradient(circle at 90% 90%, rgba(40, 178, 38, 0.05) 0%, transparent 30%),
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"><path d="M10,20 L10,10 L15,5 M25,20 L25,10 L20,5 M17.5,20 L17.5,5" stroke="%2328B226" stroke-width="0.5" stroke-opacity="0.1" fill="none"/></svg>');
  opacity: 0.2;
  z-index: 0;
}

.footer-main {
  padding: 60px 0 40px;
  position: relative;
  z-index: 1;
}

.three-column-footer {
  display: flex;
  justify-content: space-between;
}

.three-column-footer > [class*="col-"] {
  padding-left: 25px;
  padding-right: 25px;
}

.left-centered-logo {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: 100%;
  padding-top: 15px;
}

.footer-logo {
  display: inline-block;
}

.footer-logo img {
  height: 65px;
  width: auto;
  filter: brightness(1.1);
  transition: filter var(--transition-fast);
}

.footer-logo:hover img {
  filter: brightness(1.2);
}

footer h4 {
  color: var(--color-white);
  font-family: var(--font-secondary);
  font-size: 1.1rem;
  margin-bottom: 25px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

footer h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--color-green);
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li {
  margin-bottom: 15px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  display: inline-block;
  position: relative;
  padding-left: 12px;
}

.footer-nav a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background-color: var(--color-green);
  border-radius: 50%;
  opacity: 0.7;
  transition: all var(--transition-fast);
}

.footer-nav a:hover {
  color: var(--color-white);
  transform: translateX(5px);
}

.footer-nav a:hover::before {
  opacity: 1;
  background-color: var(--color-white);
}

.footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.moved-left {
  margin-left: -60px;
}

.footer-contact li {
  display: flex;
  margin-bottom: 18px;
  align-items: flex-start;
}

.footer-contact i {
  color: var(--color-green);
  margin-right: 12px;
  margin-top: 3px;
  font-size: 0.9rem;
  
}

.footer-contact span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-social {
  margin-bottom: 30px;
}

.social-icons {
  display: flex;
  gap: 12px;
  margin-bottom: 25px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background-color:var(--color-green);
  color: var(--color-black);
  border-radius: 50%;
  text-decoration: none;
  font-size: 1rem;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.social-icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.2), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.social-icon:hover {
  background-color: var(--color-white);
  color: var(--color-black);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(40, 178, 38, 0.3);
}

.social-icon:hover::before {
  opacity: 1;
}

/* Newsletter form */
.newsletter-mini {
  margin-top: 20px;
}

.newsletter-mini p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.newsletter-form-mini {
  display: flex;
  max-width: 100%;
  position: relative;
}

.newsletter-form-mini input {
  flex: 1;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 45px 12px 15px;
  color: var(--color-white);
  border-radius: 30px;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.newsletter-form-mini input:focus {
  outline: none;
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--color-green);
}

.newsletter-form-mini input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter-form-mini button {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--color-green);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.newsletter-form-mini button i {
  color: var(--color-black);
  font-size: 0.8rem;
  transition: transform var(--transition-fast);
}

.newsletter-form-mini button:hover {
  background-color: var(--color-white);
}

.newsletter-form-mini button:hover i {
  transform: translateX(2px);
}

/* Footer bottom */
.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 1;
}

.copyright p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  margin: 0;
}

.copyright span {
  color: var(--color-green);
  font-weight: bold;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-white);
}

/* ==========================================================================
   11. UTILITY CLASSES
========================================================================== */
.btn {
  display: inline-block;
  padding: 10px 25px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  border-radius: 30px;
  border: none;
  font-size: 0.95rem;
}

.btn-card {
  background-color: rgba(46, 210, 43, 0.8);
  color: var(--color-black);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-card:hover {
  background-color: var(--color-white);
  color: var(--color-black);
  transform: translateY(-2px);
}

.btn-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0;
  background: linear-gradient(45deg, var(--color-green), var(--color-light-green));
  transition: opacity var(--transition-fast);
}

.btn-card:hover:before {
  opacity: 1;
}

/* ==========================================================================
   12. ANIMATIONS & KEYFRAMES
========================================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scrollWheel {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(15px);
  }
}

@keyframes scrollArrow {
  0% {
    opacity: 0;
    transform: rotate(45deg) translate(-5px, -5px);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(45deg) translate(5px, 5px);
  }
}

@keyframes pulse {
  from {
    transform: scale(0.98);
    opacity: 0.8;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes progress {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}

@keyframes slidePartners {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes leafSway {
  0% {
    transform: rotate(-5deg);
  }
  50% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(5deg);
  }
}

@keyframes circlePulse {
  0% {
    opacity: 0.4;
    transform: scale(0.9);
    box-shadow: 0 0 2px rgba(46, 210, 43, 0.3);
  }
  100% {
    opacity: 0.8;
    transform: scale(1.1);
    box-shadow: 0 0 8px rgba(46, 210, 43, 0.6);
  }
}

@keyframes growPlant {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(10px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes greenPulse {
  0% { 
    box-shadow: 0 0 10px rgba(46, 210, 43, 0.3);
  }
  50% {
    box-shadow: 0 0 20px rgba(46, 210, 43, 0.5);
  }
  100% {
    box-shadow: 0 0 10px rgba(46, 210, 43, 0.3);
  }
}

@keyframes startupGlow {
  0% {
    box-shadow: 0 0 20px rgba(46, 210, 43, 0.2);
  }
  50% {
    box-shadow: 0 0 35px rgba(46, 210, 43, 0.35);
  }
  100% {
    box-shadow: 0 0 20px rgba(46, 210, 43, 0.2);
  }
}

@keyframes float {
  0% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 0.1;
  }
  25% {
    transform: translateY(-15px) translateX(10px) scale(1.2);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-25px) translateX(-5px) scale(1);
    opacity: 0.1;
  }
  75% {
    transform: translateY(-10px) translateX(-15px) scale(1.1);
    opacity: 0.2;
  }
  100% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 0.1;
  }
}

@keyframes pulseTech {
  0% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); opacity: 0.7; }
}

@keyframes fadeInElement {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes growLine {
  0% { height: 0; }
  100% { height: 100px; }
}

@keyframes expandHorizontal {
  0% { width: 0; }
  100% { width: 100%; }
}

@keyframes expandVertical {
  0% { height: 0; }
  100% { height: 100%; }
}

@keyframes linePulse {
  0% {
    left: -100%;
  }
  50%, 100% {
    left: 100%;
  }
}

/* ==========================================================================
   13. MEDIA QUERIES
========================================================================== */
/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199px) {
  :root {
    --section-padding: 80px 0;
  }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991px) {
  :root {
    --section-padding: 60px 0;
  }
  
  .stats-container {
    flex-direction: column;
    gap: var(--spacing-xl);
  }
  
  .stat-divider {
    display: none;
  }
  
  .solution-content {
    padding: var(--spacing-lg) 0;
  }
  
  .section-graphic {
    margin-bottom: var(--spacing-lg);
    height: 300px;
  }
  
  .icons-row-layout .icons-row {
    margin: 30px 0;
  }
  
  .icons-row-layout .icon-plus {
    font-size: 2rem;
    margin: 0 10px;
  }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 768px) {
  #main-header {
    padding: var(--spacing-sm) 0;
  }
  
  .header-container {
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
  }
  
  .hamburger-btn {
    display: block;
  }
  
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--color-black);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-medium);
    z-index: 100;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
  }
  
  .main-nav.active {
    right: 0;
  }
  
  .menu {
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-lg);
  }
  
  .nav-link {
    font-size: 1.1rem;
  }
  
  .nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
  }
  
  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  
  .hero-content {
    padding: var(--spacing-md);
  }
  
  .solution-cards {
    gap: var(--spacing-md);
  }
  
  .solution-card {
    flex: 0 0 100%;
    margin-bottom: var(--spacing-md);
  }
  
  .partners-slider::before,
  .partners-slider::after {
    width: 100px;
  }
  
  .footer-main {
    padding: 40px 0 20px;
  }

  .left-centered-logo {
    justify-content: center;
    padding-top: 0;
  }
  
  .three-column-footer > [class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 15px;
  }
  
  .icons-row-layout .section-graphic {
    margin-bottom: 20px;
  }
  
  .icons-row-layout .icons-row {
    margin: 0 0 40px;
  }
  
  .icons-row-layout .idea-icon,
  .icons-row-layout .plant-icon,
  .icons-row-layout .tech-icon {
    width: 50px;
    height: 50px;
  }
  
  .icons-row-layout .idea-icon i,
  .icons-row-layout .plant-icon i,
  .icons-row-layout .tech-icon i {
    font-size: 1.5rem;
  }
  
  .icons-row-layout .icon-plus {
    font-size: 1.8rem;
    margin: 0 8px;
  }
  
  .hero-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
  }
  
  .hero-word {
    letter-spacing: 0.2em;
  }
  
  .green-dash {
    width: 25vw;
    height: 10px;
    margin: 0 8px;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 576px) {
  :root {
    --section-padding: 50px 0;
  }
  
  .container {
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
  }
  
  .hero-title {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
  }
  
  .section-title {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
  }
  
  .section-lead {
    font-size: 1.2rem;
  }
  
  .section-text {
    font-size: 1rem;
  }
  
  .partner-logo {
    height: 60px;
  }
  
  .partner-item {
    padding: 0 var(--spacing-md);
  }
  
  #back-to-top {
    width: 40px;
    height: 40px;
    bottom: 20px;
    right: 20px;
  }
  
  .section-graphic {
    height: 200px;
  }
  
  .icons-row-layout .icons-row {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .icons-row-layout .icon-container {
    margin: 10px;
  }
  
  .icons-row-layout .icon-plus {
    margin: 10px 5px;
    font-size: 1.5rem;
  }
  
  .icons-row-layout .idea-icon,
  .icons-row-layout .plant-icon,
  .icons-row-layout .tech-icon {
    width: 45px;
    height: 45px;
  }
  
  .icons-row-layout .idea-icon i,
  .icons-row-layout .plant-icon i,
  .icons-row-layout .tech-icon i {
    font-size: 1.3rem;
  }
  
  .icons-row-layout .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  
  .icons-row-layout .section-graphic {
    margin: 0 auto;
    width: 100%;
    max-width: 300px;
  }
  
  .hero-content {
    padding: 15px 10px;
  }
  
  .hero-word {
    letter-spacing: 0.15em;
    margin-bottom: 0.15em;
  }
  
  .green-dash {
    width: 20vw;
    height: 8px;
    margin: 0 5px;
  }
  
  .footer-main {
    padding: 30px 0 10px;
  }
  
  .left-centered-logo {
    margin-bottom: 20px;
  }
  
  .footer-logo img {
    height: 55px;
  }
  
  .footer-bottom {
    padding: 15px 0;
  }

  .newsletter-form-mini {
    max-width: 100%;
  }
}

/* Very small devices (small portrait phones, less than 400px) */
@media (max-width: 400px) {
  .icons-row-layout .section-graphic {
    max-width: 250px;
  }
  
  .icons-row-layout .icons-row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
  }
  
  .icons-row-layout .icon-container {
    margin: 5px;
  }
  
  .icons-row-layout .icon-plus {
    margin: 0 3px;
    font-size: 1.2rem;
  }
  
  .icons-row-layout .idea-icon,
  .icons-row-layout .plant-icon,
  .icons-row-layout .tech-icon {
    width: 38px;
    height: 38px;
  }
  
  .icons-row-layout .idea-icon i,
  .icons-row-layout .plant-icon i,
  .icons-row-layout .tech-icon i {
    font-size: 1.1rem;
  }
}

/* Extremely small devices */
@media (max-width: 320px) {
  .hero-title {
    font-size: 1.2rem;
  }
  
  .hero-word {
    letter-spacing: 0.1em;
  }
  
  .green-dash {
    width: 15vw;
    height: 6px;
    margin: 0 4px;
  }
}
