body {
  background-color: #f8f7f4;
  color: #333;
  line-height: 1.6;
}

.church-history-section {
  padding: 5rem 2rem;
  background: linear-gradient(to bottom, #f8f7f4, #eae7e0);
}

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

.church-history-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #47351d;
  position: relative;
  padding-bottom: 1rem;
}

.church-history-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(to right, transparent, #c4a14e, transparent);
}

.timeline {
  position: relative;
  margin: 4rem 0;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background-color: #c4a14e;
  border-radius: 2px;
}

.timeline-item {
  display: flex;
  justify-content: center;
  position: relative;
  margin-bottom: 4rem;
}

.timeline-content {
  width: 80%;
  max-width: 800px;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.timeline-date {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background-color: #47351d;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.timeline-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.timeline-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.timeline-text {
  padding: 2rem;
}

.timeline-text p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.timeline-text blockquote {
  font-style: italic;
  border-left: 4px solid #c4a14e;
  padding-left: 1rem;
  margin: 1.5rem 0;
  font-size: 1.2rem;
  color: #47351d;
}

.church-mission {
  background-color: #47351d;
  color: white;
  padding: 3rem 2rem;
  text-align: center;
  border-radius: 12px;
  margin-top: 2rem;
}

.church-mission h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.church-mission p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    justify-content: flex-start;
    padding-left: 40px;
  }

  .timeline-date {
    left: 20px;
    top: 20px;
    width: 60px;
    height: 60px;
    font-size: 1rem;
  }

  .timeline-content {
    width: 100%;
  }
}
