/* Page Banner */
.page-banner {
  position: relative;
  height: 40vh;
  min-height: 300px;
  max-height: 500px;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.pexels.com/photos/3802510/pexels-photo-3802510.jpeg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  margin-top: -80px;
}

.banner-content {
  max-width: 800px;
  padding: var(--space-2);
}

.banner-content h1 {
  font-size: 3rem;
  margin-bottom: var(--space-1);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-content p {
  font-size: 1.25rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* About Section */
.about-section {
  padding: var(--space-8) 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.about-text h2 {
  color: var(--secondary);
  margin-bottom: var(--space-3);
}

.about-text p {
  color: var(--gray-700);
  margin-bottom: var(--space-2);
  line-height: 1.8;
}

.about-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.about-image:hover img {
  transform: scale(1.05);
}

/* Values Section */
.values-section {
  text-align: center;
  margin-bottom: var(--space-8);
}

.values-section h2 {
  color: var(--secondary);
  margin-bottom: var(--space-4);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-4);
}

.value-card {
  background-color: white;
  padding: var(--space-4);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.value-card:hover {
  transform: translateY(-5px);
}

.value-card i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: var(--space-2);
}

.value-card h3 {
  color: var(--secondary);
  margin-bottom: var(--space-2);
}

.value-card p {
  color: var(--gray-600);
}

/* Timeline Section */
.milestones-section {
  text-align: center;
}

.milestones-section h2 {
  color: var(--secondary);
  margin-bottom: var(--space-4);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-4) 
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background-color: var(--primary);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: var(--space-4);
  width: 50%;
  padding: 0 var(--space-4);
}

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

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

.timeline-item::before {
  content: '';
  position: absolute;
  top: 50%;
  width: 20px;
  height: 20px;
  background-color: var(--primary);
  border-radius: 50%;
}

.timeline-item:nth-child(odd)::before {
  right: -10px;
}

.timeline-item:nth-child(even)::before {
  left: -10px;
}

.timeline-content {
  background-color: white;
  padding: var(--space-3);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.timeline-content h3 {
  color: var(--primary);
  margin-bottom: var(--space-1);
}

.timeline-content p {
  color: var(--gray-700);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  
  .about-text {
    order: 1;
  }
  
  .about-image {
    order: 2;
  }
}

@media (max-width: 768px) {
  .page-banner {
    height: 30vh;
  }
  
  .banner-content h1 {
    font-size: 2.5rem;
  }
  
  .timeline::before {
    left: 0;
  }
  
  .timeline-item {
    width: 100%;
    left: 0 !important;
    text-align: left !important;
    padding-left: var(--space-4);
  }
  
  .timeline-item::before {
    left: -10px !important;
  }
}

@media (max-width: 576px) {
  .page-banner {
    min-height: 250px;
  }
  
  .banner-content h1 {
    font-size: 2rem;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
  }
}