/* Container */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* About Page Styles */
.top-imageD {
  margin: 20px auto;
  width: 70%;
  aspect-ratio: 1344 / 400;
}

.top-image {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  object-fit: cover;
  object-position: center;
}

.about-page {
  font-family: 'Poppins', sans-serif;
  color: #333;
  line-height: 1.7;
  max-width: 1000px;
  margin: 40px auto;
  padding: 20px;

  display: flex;
  align-items: center;
  gap: 30px;
} 

/* Text Section */
.about-page .text-content {
  flex: 1;
}

/* Headings */
.about-page h1 {
  font-size: 2.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  text-align: center;
  color: #222;
  font-family: 'Plante', serif; 
}

.about-page h2 {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 20px;
  text-align: center;
  color: #555;
  font-family: 'Ocean Delight', cursive;
}

.about-page h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #444;
  border-left: 4px solid #74ebd5;
  padding-left: 8px;
  font-family: 'Romanus', serif; 
}

/* Paragraphs */
.about-page p {
  margin-bottom: 20px;
  font-size: 1rem;
  font-family: 'Romanus', serif;
}

/* About Page Image */
.about-page .about-image {
  max-width: 450px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect */
.about-page .about-image:hover {
  transform: scale(1.03);      /* Slight zoom */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

/* Responsive */
@media (max-width: 768px) {
  .about-page {
    flex-direction: column;    /* Stack vertically */
    text-align: center;        /* Center text for mobile */
    padding: 15px;
  }

  .about-page .about-image {
    max-width: 100%;           /* Full width on mobile */
    margin: 20px 0;
    border-radius: 6px;
  }
}

