.about-founder {
  background: linear-gradient(135deg, #f7faff 0%, #eef3f7 100%);
  padding: 100px 10%;
  overflow: hidden;
  position: relative;
}

.container {
  max-width: 1200px;
  margin: auto;
}

.founder-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 70px;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  padding: 60px;
  border: 2px solid transparent;
  background-clip: padding-box;
  position: relative;
  animation: fadeUp 1s ease forwards;
  transition: all 0.5s ease;
}

.founder-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 2px;
  background: linear-gradient(135deg, #0096c7, #00b4d8, #48cae4);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);   -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.founder-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.founder-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.image-border {
  background: linear-gradient(135deg, #0077b6, #00b4d8);
  padding: 6px;
  border-radius: 50%;
  box-shadow: 0 8px 25px rgba(0, 119, 182, 0.25);
  transition: all 0.4s ease;
}

.image-border:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 119, 182, 0.4);
}

.founder-image img {
  width: 320px;
  height: 320px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.founder-content {
  flex: 2;
  animation: revealText 1.2s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 650px;
}

.founder-content h2 {
  font-size: 2.2rem;
  color: #002b5b;
  margin-bottom: 6px;
  font-weight: 700;
  line-height: 1.2;
}

.founder-content h2 span {
  color: #0077b6;
  font-size: 1.1rem;
  font-weight: 500;
}

.founder-content h4 {
  font-size: 1.15rem;
  color: #0096c7;
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.5;
}

.founder-content p {
  line-height: 1.75;
  color: #333;
  font-size: 1.02rem;
  margin-bottom: 16px;
  text-align: justify;
  opacity: 0;
  transform: translateY(20px);
  animation: textFadeUp 0.8s forwards;
}

.founder-content p:nth-of-type(1) { animation-delay: 0.3s; }
.founder-content p:nth-of-type(2) { animation-delay: 0.5s; }
.founder-content p:nth-of-type(3) { animation-delay: 0.7s; }


@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes revealText {
  0% { opacity: 0; transform: translateX(40px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes textFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 992px) {
  .founder-card {
    flex-direction: column;
    text-align: center;
    padding: 40px 25px;
  }

  .founder-image img {
    width: 260px;
    height: 260px;
  }

  .founder-content h2 {
    font-size: 1.8rem;
  }

  .founder-content h4 {
    font-size: 1.1rem;
  }
}
