/* ===========================
   PAGE SECTIONS
   Main content sections styling
   =========================== */
.section {
  padding: 4rem 0 0 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #8e4248;
  margin-bottom: 3rem;
}

.section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

@media (max-width: 768px) {
  .section-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.content-card {
  padding: 2rem;
}

.content-card h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #8e4248;
  margin-bottom: 1.5rem;
}

.content-card p {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  color: #666;
}

.image-card {
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

.image-card img {
  width: 100%;
  min-height: 400px;
  object-fit: cover;
  transition: transform 0.3s ease;
  flex: 1;
}

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

/* ===========================
   STATS SECTION
   Timeline and statistics display
   =========================== */
.stats-section {
  color: #8e4248;
  position: relative;
  overflow: hidden;
  margin: 5rem 0;
}

/* Timeline chart */
.timeline-chart {
  width: 100%;
}

.timeline-svg {
  width: 100%;
  aspect-ratio: 2/0.5;
}

.chart-year {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  fill: #8e4248;
}

@media (max-width: 768px) {
  .chart-year {
    font-size: 18px;
  }

  .stats-section {
    margin-top: 0;
  }
}

@media (max-width: 480px) {
  .chart-year {
    font-size: 22px;
  }
}

/* Timeline events grid */
.timeline-events {
  max-width: 800px;
  margin: 0 auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.event-item {
  padding: 1.5rem;
  background: white;
  border: 1px solid #e5e5e5;
  border-radius: 1rem;
}

.event-date {
  font-size: 0.875rem;
  color: #8e4248;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
}

.event-title {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.25rem;
}

.event-subtitle {
  font-size: 0.875rem;
  color: #666;
  font-style: italic;
  margin: 0.25rem 0 0 0;
}
