:root {
  --primary-color: #22c55e;
  --primary-dark: #16a34a;
  --primary-light: #dcfce7;
  --secondary-color: #059669;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --text-light: #9ca3af;
  --bg-white: #ffffff;
  --bg-gray: #f8fafc;
  --border-color: #e5e7eb;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --transition: all 0.3s ease;
}

/* ========== Base Reset ========== */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: var(--bg-white);
  color: var(--text-primary);
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ========== Hero Section ========== */
.hero-section {
  position: relative;
  width: 100%;
  height: 90vh; /* Adjust height as needed */
  overflow: hidden;
}

.hero-slide {
  width: 100%;
  height: 100%;
  position: absolute;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-background {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ensures full coverage, no stretch */
  object-position: center center;
  display: block
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(135deg, rgba(31, 41, 55, 0.8), rgba(31, 41, 55, 0.4)); */
  z-index: 1;
}


.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  padding: 20px;
  width: 90%;
}

.hero-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.hero-buttons .hero-btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 1rem;
  border-radius: 6px;
  margin: 0 10px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero-btn.primary {
  background-color: #4a7c59;
  color: white;
}

.hero-btn.secondary {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.hero-btn:hover {
  opacity: 0.85;
}

.hero-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.indicator {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 0.5;
  border-radius: 50%;
  margin: 0 6px;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.indicator.active,
.indicator:hover {
  opacity: 1;
}

.scroll-indicator {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  text-align: center;
  z-index: 3;
  font-size: 0.9rem;
}

.scroll-arrow i {
  animation: bounce 2s infinite;
  font-size: 1.2rem;
  margin-top: 5px;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .hero-buttons .hero-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    margin: 6px 4px;
  }
}
@media (max-width: 768px) {
  .hero-section {
    height: 60vh; /* reduce height on small screens */
  }
}

/* ========== Navigation Buttons ========== */
.hero-navigation {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 2rem;
  transform: translateY(-50%);
  z-index: 3;
}

.hero-nav-btn {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
  transition: var(--transition);
}

.hero-nav-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* ========== Indicators ========== */
.hero-indicators {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 3;
}

.indicator {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
}

.indicator.active {
  background: var(--primary-color);
  transform: scale(1.2);
}

/* ========== Scroll Indicator ========== */
.scroll-indicator {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  text-align: center;
  color: white;
  animation: bounce 2s infinite;
}

.scroll-text {
  font-size: 0.8rem;
  text-transform: uppercase;
  opacity: 0.8;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* ========== Section Utilities ========== */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
}

/* ========== Why Choose Us ========== */
/* Section Background */
.why-choose-section {
  background-color: #f3f7f5; /* soft, complementary to green theme */
  padding: 60px 20px;
}

/* Section Title Centering */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-size: 2.5rem;
  color: #2c5530;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto;
}

/* Grid Styling */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Feature Card */
.feature-item {
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
  padding: 30px 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.feature-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 2.8rem;
  color: #4a7c59;
  margin-bottom: 20px;
}

.feature-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 12px;
}

.feature-content p {
  font-size: 0.95rem;
  color: #555;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-description {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-nav-btn {
    width: 40px;
    height: 40px;
  }

  .hero-navigation {
    padding: 0 1rem;
  }

  .scroll-indicator {
    right: 1rem;
    bottom: 0.5rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.7rem;
  }

  .hero-description {
    font-size: 0.95rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 2rem;
  }
}
