* {
  font-family: Nunito, sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.about-section {
  padding: 0 50px;
  margin: 50px 0;
  width: 100%;
}

.about-container {
  max-width: 1320px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
  margin: 0 auto;
  padding: 10px 20px;
  position: relative;
  overflow: hidden;
}

.about-image-wrapper {
  position: relative;
  width: 48%;
}

.about-image {
  width: 100%;
  height: 800px;
  object-fit: cover;
}

.about-content {
  width: 48%;
  z-index: 100;
  padding-left: 20px;
}

.about-heading {
  font-size: 36px;
  line-height: 40px;
  font-weight: 700;
  margin-bottom: 20px;
  color: red;
  overflow-y: hidden;
}

.about-description {
  font-size: 18px;
  line-height: 26px;
  margin-bottom: 20px;
}

.feature-box {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
}

.feature-image {
  padding: 20px;
  border: 1px solid rgb(229, 229, 229);
  border-radius: 10px;
  margin-right: 10px;
}

.feature-image img {
  height: 60px;
  max-width: 100%;
  object-fit: contain;
}

.feature-text {
  flex: 1;
}

.feature-title {
  font-size: 18px;
  line-height: 28px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-description {
  color: rgb(153, 153, 153);
  line-height: 22px;
}

.explore-button {
  font-size: 18px;
  line-height: 20px;
  font-weight: 500;
  color: black;
  background-color: transparent;
  padding: 14px;
  border: solid 2px red;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.4s ease, color 0.4s ease;
  display: inline-block;
  margin-top: 30px;
}

.explore-button:hover {
  background-color: red;
  color: white;
}

.decorative-dots {
  position: absolute;
  bottom: -350px;
  right: -100px;
  height: 500px;
  width: 400px;
  object-fit: cover;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .about-container {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

  .about-image-wrapper {
    position: relative;
    width: auto;
  }

  .about-content {
    width: 100%;
    margin-bottom: 20px;
    text-align: left;
  }
}

@media (max-width: 768px) {

  .about-description {
    text-align: left;
    font-size: 17px;
    max-width: 520px;
  }

  .about-heading {
    text-align: center;
  }

  .about-image-wrapper {
    opacity: 0.8;
    height: 450px;
    width: 90%;
    margin: 5px auto 0 auto;
  }

  .feature-box {
    flex-direction: row;
    /* instead of column or center */
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    gap: 15px;
  }

  .feature-text {
    text-align: left;
  }

  .about-description,
  .about-heading,
  .feature-title,
  .feature-description {
    text-align: left;
  }

  .about-content {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    margin-top: 40px;
  }

  .decorative-dots {
    display: none;
  }

  .explore-button {
    font-size: 17px;
    padding: 13px;
  }

  .about-image {
    max-height: 60vh;
    object-fit: contain;
  }

  .about-image-wrapper {
    height: auto;
  }
}

@media (max-width: 480px) {
  .about-container {
    flex-direction: column;
    padding: 0;
  }

  .about-image-wrapper {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    opacity: 1;
  }

  .about-image {
    width: 100%;
    height: auto;
    max-height: 50vh;
    object-fit: contain;
  }

  .about-content {
    width: 100%;
    padding: 0;
    margin-top: 20px;
    text-align: left;
  }

  .about-heading {
    font-size: 24px;
    line-height: 30px;
    margin-bottom: 15px;
    text-align: left;
  }

  .about-description {
    font-size: 15px;
    line-height: 22px;
    margin-bottom: 20px;
    text-align: left;
  }

  .feature-box {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    margin-bottom: 20px;
    gap: 10px;
  }

  .feature-image {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    padding: 10px;
    border-radius: 8px;
    margin-right: 10px;
  }

  .feature-image img {
    height: 100%;
    width: auto;
    object-fit: contain;
  }

  .feature-text {
    flex: 1;
    text-align: left;
  }

  .feature-title {
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 6px;
    font-weight: 700;
  }

  .feature-description {
    font-size: 14px;
    line-height: 20px;
    color: #666;
  }

  .explore-button {
    font-size: 15px;
    padding: 10px 14px;
    margin-top: 25px;
  }

  .decorative-dots {
    display: none;
  }
}