.about-main {
  margin-top: 80px;
}

.about-section {
  padding: 60px 20px;
  background-color: #fef9f1;
}

.about-section.alt {
  background-color: #fff7e6;
}

.section-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
}

.about-img img {
  max-width: 100%;
  max-height: 450px; /* Prevents from growing too tall */
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  object-fit: contain;
}

.about-text {
  flex: 1 1 400px;
  min-width: 300px;
}

.about-img {
  flex: 1 1 400px;
  min-width: 300px;
}

.temple-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.temple-card {
  flex: 1 1 250px;
  max-width: 300px;
  text-align: center;
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(0,0,0,0.08);
}

.temple-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
}

.center {
  text-align: center;
}

@media (max-width: 768px) {
  .section-flex {
    flex-direction: column;
    text-align: center;
  }

  .about-img,
  .about-text {
    flex: 1 1 100%;
  }
}
