:where([class^="ri-"])::before { content: "\f3c2"; }

body {
  font-family: 'Poppins', 'Open Sans', sans-serif;
  color: #222222;
  background-color: #F5F5F0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
}

.hero-section {
  background-image: url('https://readdy.ai/api/search-image?query=Modern%20smart%20farming%20landscape%20with%20diverse%20agricultural%20elements:%20automated%20greenhouse%20with%20hydroponic%20systems%2C%20drone%20monitoring%20crops%2C%20solar%20panels%2C%20advanced%20irrigation%20systems%2C%20and%20smart%20livestock%20monitoring.%20Clean%20gradient%20on%20left%20side%20for%20text%20overlay.%20Bright%20natural%20lighting%2C%20showing%20technological%20integration%20in%20agriculture.%20Professional%2C%20high-tech%20agricultural%20setting%20with%20pristine%20environment&width=1600&height=800&seq=1&orientation=landscape');
  background-size: cover;
  background-position: right center;
  overflow: hidden;
}

/* Hero section text improvements */
#hero-title {
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
  position: relative;
  z-index: 30;
}

#hero-text {
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 30;
}

#hero-buttons {
  position: relative;
  z-index: 30;
}

/* Ensure hero text is always visible */
#home .container {
  position: relative;
  z-index: 25;
}

/* Animation styles */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.8s ease-out forwards;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Form elements */
input:focus, textarea:focus {
  outline: none;
  border-color: #7EBB4F;
}

input.border-red-500, textarea.border-red-500 {
  border-color: #ef4444 !important;
}

input.border-gray-300, textarea.border-gray-300 {
  border-color: #d1d5db !important;
}

input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #7EBB4F;
  border-radius: 4px;
  background-color: white;
  position: relative;
}

input[type="checkbox"]:checked {
  background-color: #7EBB4F;
}

input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  top: 3px;
  left: 6px;
  transform: rotate(45deg);
}

/* Toggle switch */
.custom-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.custom-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #7EBB4F;
}

input:checked + .slider:before {
  transform: translateX(26px);
}

/* Card hover effects */
.testimonial-card {
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.feature-card {
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border-color: #C3E08A;
}

.farming-type-card {
  transition: all 0.3s ease;
}

.farming-type-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.pricing-card {
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Active navigation styles */
header a.text-leafGreen {
  font-weight: 600;
  position: relative;
}

header a.text-leafGreen::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #7EBB4F;
  transform: scaleX(1);
  transition: transform 0.3s ease;
}

/* Scroll indicator */
.scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background-color: #7EBB4F;
  z-index: 1000;
  width: 0%;
  transition: width 0.1s ease;
}

/* Section transitions */
section {
  transition: opacity 0.5s ease;
}

/* Chart container styles */
#chart-container {
  min-height: 384px;
  width: 100%;
  position: relative;
} 