/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.f-poppins {
  font-family: 'Poppins', sans-serif;
}

@keyframes fade-in {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}
.animate-fade-in {
  animation: fade-in 1s ease-out;
}
.language-btn.active {
  background-color: #ecfdf5;
  color: #047857;
  font-weight: 700;
}

/* ============================================
   HERO SLIDER STYLES
   ============================================ */

/* Hero Slider Background Images */
:root {
  --hero-slide-1: linear-gradient(135deg, rgba(5, 46, 22, 0.6) 0%, rgba(6, 78, 59, 0.6) 100%), url('/assets/images/banner1.jpg');
  --hero-slide-2: linear-gradient(135deg, rgba(5, 46, 22, 0.6) 0%, rgba(6, 78, 59, 0.6) 100%), url('/assets/images/vegetables.jpg');
  --hero-slide-3: linear-gradient(135deg, rgba(5, 46, 22, 0.6) 0%, rgba(6, 78, 59, 0.6) 100%), url('/assets/images/cow.jpg');
  --hero-slide-4: linear-gradient(135deg, rgba(5, 46, 22, 0.6) 0%, rgba(6, 78, 59, 0.6) 100%), url('https://images.unsplash.com/photo-1556909114-f6e7ad7d3136?w=1200&h=800&fit=crop');
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Individual slide background images */
.hero-slide:nth-child(1) {
  background-image: var(--hero-slide-1);
  background-size: cover;
  background-position: center;
}

.hero-slide:nth-child(2) {
  background-image: var(--hero-slide-2);
  background-size: cover;
  background-position: center;
}

.hero-slide:nth-child(3) {
  background-image: var(--hero-slide-3);
  background-size: cover;
  background-position: center;
}

.hero-slide:nth-child(4) {
  background-image: var(--hero-slide-4);
  background-size: cover;
  background-position: center;
}

.hero-slide {
  position: absolute;
  inset: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.opacity-100 {
  opacity: 1;
  z-index: 10;
}

.hero-slide.opacity-0 {
  opacity: 0;
  z-index: 5;
}

/* Navigation buttons */
.hero-prev,
.hero-next {
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-prev:hover,
.hero-next:hover {
  background-color: rgba(255, 255, 255, 0.6) !important;
}

/* Dots indicators */
.hero-dot {
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-dot.active {
  width: 0.875rem;
  background-color: white;
}

.hero-dot:not(.active) {
  background-color: rgba(255, 255, 255, 0.5);
}

.hero-dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   SECTOR AGRÍCOLA IMAGE STYLES
   ============================================ */

.grid.md\:grid-cols-2 > .relative.group {
  min-height: 500px;
}

.relative.group img {
  filter: brightness(0.95) contrast(1.05);
}

.relative.group:hover img {
  filter: brightness(1) contrast(1.1);
}

.relative.group > div:first-child {
  box-shadow: 0 0 40px rgba(16, 185, 129, 0.3);
}

.relative.group:hover > div:first-child {
  box-shadow: 0 0 60px rgba(16, 185, 129, 0.5);
}

/* ============================================
   SECTOR TITLES DECORATION
   ============================================ */

/* Sector Agrícola Title */
#sectores .text-center h2 {
  text-shadow: none;
}

#sectores .text-center > div:first-child i {
  animation: iconBounce 2s ease-in-out infinite;
}

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

/* ============================================
   LIVESTOCK CARDS STYLES
   ============================================ */

.livestock-card {
  position: relative;
  overflow: hidden;
}

.livestock-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
  z-index: 1;
}

.livestock-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.livestock-card img {
  transition: all 0.5s ease;
}

.livestock-card:hover img {
  filter: brightness(1.1) contrast(1.05);
}

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

.livestock-card:hover h3 {
  transform: translateX(4px);
}














