/* About Us Page Specific Styles */

.about-section {
  padding: 80px 0;
  background: var(--bright-yellow) !important;
}

.about-section h1 {
  font-family: "Lexend";
  font-weight: 700;
  font-size: 40px;
  color: var(--title);
  text-align: center;
  margin-bottom: 40px;
}

.about-image {
  text-align: center;
  margin-bottom: 40px;
}

.about-image img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
}

.about-content {
  width: 1176px;
  min-height: auto;
  max-height: auto;
  margin: 0 auto;
  gap: 20px;
  opacity: 1;
  border-radius: 16px;
  padding: 30px;
  background: #fff;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
}

.about-content .about-image {
  margin-bottom: 20px;
}

.about-content .about-image img {
  max-width: 100%;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.about-content p {
  font-family: "Lexend";
  font-style: regular;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #4e4e4e;
  margin-bottom: 24px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  width: 100%;
}

/* Responsive Media Queries for About Us Page */

/* Large Desktop (max-width: 1200px) */
@media (max-width: 1200px) {
  .about-content {
    width: calc(100% - 40px);
    max-width: 1000px;
    min-height: auto;
    max-height: none;
  }
}

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  .about-section {
    padding: 60px 0;
  }

  .about-section h1 {
    font-size: 36px;
  }

  .about-content {
    width: calc(100% - 40px);
    max-width: 900px;
    padding: 24px;
  }

  .about-content p {
    font-size: 15px;
    line-height: 22px;
  }
}

/* Mobile and Small Tablet (max-width: 767px) */
@media screen and (max-width: 767px) {
  .about-section {
    padding: 50px 0;
  }

  .about-section h1 {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .about-image {
    margin-bottom: 30px;
  }

  .about-content {
    width: calc(100% - 30px);
    max-width: 100%;
    padding: 20px;
    min-height: auto;
    max-height: none;
  }

  .about-content p {
    font-size: 15px;
    line-height: 22px;
    margin-bottom: 20px;
  }
}

/* Small Mobile (max-width: 575px) */
@media (max-width: 575px) {
  .about-section {
    padding: 40px 0;
  }

  .about-section h1 {
    font-size: 24px;
    margin-bottom: 24px;
  }

  .about-image {
    margin-bottom: 24px;
  }

  .about-content {
    width: calc(100% - 20px);
    padding: 16px;
  }

  .about-content p {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 16px;
  }
}
