/* Base Styles */
:root {
  --primary-color: #2e7d32;
  --secondary-color: #f5f5f5;
  --text-color: #333;
  --light-text: #fff;
  --overlay-color: rgba(0, 0, 0, 0.5);
  --section-padding: 4rem 2rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: var(--section-padding);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2rem;
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 2rem;
}

.hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--overlay-color);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--light-text);
  padding: 0 1rem;
  max-width: 800px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero .subheading {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

/* Timeline Section */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  width: 2px;
  background-color: var(--primary-color);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
  box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
  left: 0;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-year {
  padding: 10px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 5px;
  text-align: center;
  width: 100px;
  position: absolute;
  top: 15px;
}

.timeline-item:nth-child(odd) .timeline-year {
  right: -120px;
}

.timeline-item:nth-child(even) .timeline-year {
  left: -120px;
}

.timeline-content {
  padding: 20px;
  background-color: var(--secondary-color);
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.timeline-content h3 {
  margin-top: 0;
  color: var(--primary-color);
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.team-member {
  text-align: center;
  padding: 1.5rem;
  background: var(--secondary-color);
  border-radius: 8px;
}

.member-photo {
  font-size: 5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.position {
  font-weight: bold;
  color: var(--primary-color);
  margin: 0.5rem 0;
}

.bio {
  font-size: 0.9rem;
}

/* Values Section */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.value-item {
  text-align: center;
  padding: 1.5rem;
}

.value-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.value-item h3 {
  margin: 1rem 0;
}

/* CTA Section */
.cta-banner {
  text-align: center;
  background-color: var(--primary-color);
  color: var(--light-text);
}

.cta-banner h2 {
  margin-bottom: 1rem;
}

.cta-banner p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--light-text);
  color: var(--primary-color);
}

.btn-primary:hover {
  background-color: #e0e0e0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero .subheading {
    font-size: 1.2rem;
  }
  
  .timeline::before {
    left: 31px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  
  .timeline-item:nth-child(even) {
    left: 0;
  }
  
  .timeline-year {
    width: 60px;
    top: 15px;
    left: 0;
    right: auto;
  }
  
  .timeline-item:nth-child(odd) .timeline-year,
  .timeline-item:nth-child(even) .timeline-year {
    left: 0;
    right: auto;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 3rem 1rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero .subheading {
    font-size: 1rem;
  }
}