/* Base Styles */
:root {
  --primary-color: #ff5a5f;
  --dark-color: #333;
  --light-color: #f8f9fa;
  --overlay-color: rgba(0, 0, 0, 0.6);
  --spacing: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 4rem;
}

/* Hero Section */
.hero {
  position: relative;
  height: 80vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: var(--spacing-xl);
}

.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: white;
  padding: 0 var(--spacing);
  max-width: 800px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: var(--spacing);
  line-height: 1.2;
}

.hero .subheading {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-lg);
}

/* Section Styles */
.section {
  padding: var(--spacing-xl) var(--spacing);
  margin: 0 auto;
}

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

.section h2 {
  text-align: center;
  margin-bottom: var(--spacing-xl);
  font-size: 2.5rem;
}

/* Timeline */
.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;
  width: 100px;
  text-align: center;
  font-weight: bold;
  margin-bottom: var(--spacing);
}

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

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

.team-member {
  text-align: center;
}

.team-photo {
  width: 150px;
  height: 150px;
  margin: 0 auto var(--spacing);
  border-radius: 50%;
  background-color: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: var(--primary-color);
}

.team-member h3 {
  margin-bottom: 0.5rem;
}

.position {
  color: var(--primary-color);
  font-weight: bold;
  margin-bottom: var(--spacing);
}

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

.value-item {
  text-align: center;
  padding: var(--spacing);
}

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

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

.cta-section h2 {
  margin-bottom: var(--spacing);
}

.cta-section p {
  margin-bottom: var(--spacing-lg);
  font-size: 1.2rem;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

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

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

/* Responsive Styles */
@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: 80px;
  }
}