.about-section {
  background: #ffffff;
  padding: 80px 20px 0;
    font-family: 'Outfit', sans-serif;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1140px;
  margin: auto;
  gap: 40px;
}

/* ✅ Desktop Image Style */
.about-image-desktop {
  flex: 1 1 45%;
  text-align: center;
}

.about-image-desktop img,
.about-image-mobile img {
  width: 100%;
  max-width: 490px;
  height: 420px;
  object-fit: cover;
  border-radius: 50% 50% 50% 50%;
  box-shadow: 0 4px 20px rgba(15, 10, 10, 0.1);
}

/* ✅ Mobile image wrapper hidden on desktop */
.about-image-mobile {
  display: none;
}

/* ✅ Content section */
.about-content {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-content h2 {
  font-size: 36px;
  color: #1A2C53;
  margin-bottom: 0;
}

.about-content h2 span {
  color: #F4B730;
}

.about-content h4 {
  font-size: 24px;
  font-weight: 700;
  color: #1A2C53;
  margin: 0;
  padding-left: 1px;
  position: relative;
  display: inline-block;
}

.about-content p {
  font-size: 16px;
  color: #333;
  line-height: 1.7;
  margin: 0;
}

.about-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-content ul li {
  font-size: 15px;
  color: #1A2C53;
  margin-bottom: 12px;
  line-height: 1.5;
}

.about-content ul li i {
  color: #F4B730;
  margin-right: 10px;
}

.about-btn {
  display: inline-flex;
  align-items: center;
  position: relative;
  background: #F6C442;
  color: #1A2C53;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: bold;
  border-radius: 50px;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  z-index: 1;
  transition: color 0.3s ease;
  gap: 8px;
}

/* 🔶 Background animation */
.about-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background-color: #1A2C53;
  z-index: 0;
  border-radius: 50px;
  transition: width 0.4s ease;
}

/* 🔶 Animate background on hover */
.about-btn:hover::before {
  width: 100%;
}

/* 🔶 Target icon and text inside */
.about-btn i,
.about-btn span {
  position: relative;
  z-index: 2;
  color: inherit;
  transition: color 0.3s ease;
}

/* 🔶 Force white color on hover */
.about-btn:hover i,
.about-btn:hover span {
  color: #ffffff;
}


/* ---------------------- ✅ Responsive Mobile View ---------------------- */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-image-desktop {
    display: none; /* ❌ Hide desktop image */
  }

  .about-image-mobile {
    display: block; /* ✅ Show image inside content */
    margin: 20px auto;
    text-align: center;
  }

  .about-image-mobile img {
    height: 300px; /* ✅ Reduced height for mobile */
    width: 100%;
    max-width: 320px;
    object-fit: cover;
    border-radius: 50% 50% 0 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .about-content h2 {
    font-size: 28px;
  }

  .about-content h4 {
    font-size: 20px;
    padding-left: 0;
  }

  .about-content p {
    font-size: 15px;
  }

  .about-content ul li {
    font-size: 14px;
  }

  .about-btn {
    width: 100%;
    max-width: 300px;
    font-size: 15px;
    margin-top: 5px;
    margin-bottom: 40px;
    padding: 10px 14px;
  }
    .about-content {
    text-align: left;
    align-items: flex-start; /* Optional: to align flex children left */
  }
}
