body {
  min-height: 100vh;
}

.hero-section {
  background-color: var(--green-100);
  padding: 4rem 0;
  display: flex;
  align-items: center;
}

.hero-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

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

.hero-title {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-light);
  animation: fadeInUp 0.8s ease-out;
}

.hero-description {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-400);
  margin-bottom: 2rem;
  line-height: 1.4;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-buttons a {
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
}

.hero-right {
  position: relative;
}

.hero-stats {
  position: absolute;
  bottom: 2rem;
  left: -5rem;
  display: flex;
  background: var(--green-200);
  backdrop-filter: blur(10px);
  padding: 8px 4px;
  border-top-left-radius: 8px;
  border-bottom-right-radius: 8px;
  width: 220px;
  z-index: 10;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.stat-item {
  text-align: center;
}

#stat-item1 {
  border-right: 1px solid var(--green-300);
}

.stat-number {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-500);
  opacity: 0.8;
}

/* Image Animation Styles */
.hero-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
  width: auto;
  height: 400px;
  position: relative;
}

.image-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.image-slide.active {
  opacity: 1;
  z-index: 1;
}

.image-slide .featured {
  grid-row: span 2;
  grid-column: 1;
}

.image-slide.active .image-container {
  filter: brightness(1);
}
.image-container {
  border-top-left-radius: 48px;
  border-bottom-right-radius: 48px;
  overflow: hidden;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-image-featured {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-footer {
  background-color: var(--green-200);
  padding: 20px 0;
  overflow: hidden;
}

.hero-footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  align-items: center;
  gap: 5rem;
}

@keyframes slideLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-load {
  opacity: 0;
  transform: translateY(-50px);
  animation: slideUpOnLoad 0.8s ease-out forwards;
}

@keyframes slideUpOnLoad {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-container {
    gap: 2rem;
  }

  .hero-title {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 1rem;
    min-height: auto;
  }

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

  .hero-content {
    text-align: left;
  }

  .hero-title {
    font-size: 32px;
    font-weight: 600;
    line-height: 40px;
    margin-bottom: 1rem;
  }

  .hero-description {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-section {
    overflow-x: hidden;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-images {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .image-slide {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .image-container {
    width: 340px;
    height: 200px;
    overflow: hidden;
    position: relative;
  }
}
