/* Container & Layout */
.about-section {
  width: 100%;
  background-color: #ffffff; /* Adjust background if your site uses dark mode */
  padding: 120px 20px 0 20px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.about-container {
  max-width: 1200px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Top Outline Heading Image */
.top-heading {
  width: 100%;
  max-width: 380px; /* Controls scale of 'about' image */
  margin-bottom: 25px;
}

.heading-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Text Content styling */
.about-content {
  max-width: 580px; /* Keeps text nicely centered and narrow like original image */
  margin: 0 auto 170px auto;
}

.about-content p {
  color: #333333;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.about-content p:last-child {
  margin-bottom: 0;
}

/* Bottom Outline Heading Image */
.bottom-heading {
  width: 100%;
  max-width: 1000px; /* Spans wider across the base */
}

.footer-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Responsive adjustments for mobile screens */
@media (max-width: 768px) {
  .about-section {
    padding-top: 40px;
  }

  .top-heading {
    max-width: 250px;
    margin-bottom: 20px;
  }

  .about-content {
    max-width: 100%;
    padding: 0 10px;
    margin-bottom: 100px;
  }

  .about-content p {
    font-size: 13px;
    line-height: 1.5;
  }
}