/* Overall container */
.about-container {
  font-family: 'Segoe UI', sans-serif;
  padding: 20px 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 100px;
}

/* Top hero section */
.about-hero {
  text-align: center;
  margin-bottom: 60px;
}

.about-hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.about-hero p {
  font-size: 1.2rem;
  color: #666;
}

/* About content section */
.about-content {
  display: flex;
  justify-content: center;
}

/* The rounded card that holds text and image */
.about-card {
  background: #f9f9f9;
  border-radius: 20px;
  padding: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-width: 1000px;
  width: 100%;
}

/* Text area */
.about-text {
  flex: 1 1 50%;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #333;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 15px;
}

/* Image area */
.about-image {
  flex: 1 1 40%;
  text-align: center;
}

.about-image img {
  width: 100%;
  max-width: 300px;
  border-radius: 20px;
  object-fit: cover;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .about-card {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .about-text, .about-image {
    flex: 1 1 100%;
  }

  .about-image img {
    max-width: 80%;
    display: none;
  }


}