.about-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 60px 50px;
  background-image: url("../img/bg1.png");
  background-size: cover;
  background-repeat: no-repeat;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.about-text {
  flex: 1 1 50%;
  padding-right: 20px;
}

.about-image {
  flex: 1 1 40%;
  text-align: center;
}

.about-image img {
  max-width: 100%;
  height: auto;
}

/* Titles & paragraph styling */
.title1 {
  color: #a3c644;
  text-align: left;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  margin-bottom: 10px;
}

.title2 {
  color: white;
  font-weight: bolder;
  font-size: 2.5em;
  margin-bottom: 20px;
}

.p1 {
  color: #e3e3e3;
  font-weight: 500;
  line-height: 1.8;
  font-family: sans-serif;
}

/* Tablet (<= 768px) */
@media (max-width: 768px) {
  .about-section {
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    text-align: center;
  }

  .about-text, .about-image {
    flex: 1 1 100%;
    padding: 0;
    max-width: 100%;
  }

  .title2 {
    font-size: 2em;
  }
}

/* Mobile (<= 480px) */
@media (max-width: 480px) {
  .about-section {
    padding: 30px 15px;
  }

  .title2 {
    font-size: 1.8em;
  }

  .p1 {
    font-size: 0.95em;
  }
}
