/* ===================== MISSION / STORY ===================== */
.mission-section { padding: 70px 0; }
.mission-section img {
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(3,27,78,.22);
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ===================== FOUNDER SECTION ===================== */
.founder-section {
  padding: 80px 0;
  background: #fff;
}
.founder-img-wrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(3,27,78,.20);
  aspect-ratio: 4 / 5;
  max-width: 420px;
  margin: 0 auto;
}
.founder-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.founder-img-wrap:hover img { transform: scale(1.04); }

/* gold accent frame behind image */
.founder-img-wrap::before {
  content: "";
  position: absolute;
  inset: -12px;
  border: 3px solid var(--accent-line);
  border-radius: 28px;
  z-index: -1;
  pointer-events: none;
}

.founder-badge {
  display: inline-block;
  background: rgba(245,180,0,.15);
  color: var(--accent-line);
  border: 1px solid rgba(245,180,0,.4);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: 1.5px;
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.founder-name {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--blue-deep);
  margin-bottom: .3rem;
}
.founder-role {
  color: var(--blue-mid);
  font-weight: 600;
  font-size: .95rem;
  margin-bottom: 1.2rem;
  display: block;
}
.founder-quote {
  border-left: 4px solid var(--accent-line);
  padding: 6px 0 6px 18px;
  margin: 20px 0;
  font-style: italic;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.7;
}
.founder-story p {
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.8;
  margin-bottom: 14px;
}

/* ===================== VALUES ===================== */
.values-section {
  background: linear-gradient(180deg,
    var(--blue-deep) 0%,
    var(--blue-royal) 55%,
    var(--blue-mid) 100%);
  padding: 90px 0;
}
.program-card {
  background: #fff;
  border-radius: 20px;
  padding: 35px 25px;
  height: 100%;
  text-align: center;
  box-shadow: 0 6px 24px rgba(3,27,78,.10);
  border-bottom: 4px solid transparent;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.program-card:hover {
  transform: translateY(-8px);
  border-bottom-color: var(--accent-line);
  box-shadow: 0 18px 40px rgba(3,27,78,.18);
}
.icon-circle {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-royal), var(--blue-bright));
  display: grid; place-items: center;
  margin: 0 auto 20px;
  transition: background .3s ease, transform .3s ease;
}
.icon-circle i {
  font-size: 1.8rem;
  color: var(--accent-soft);
  transition: color .3s ease;
}
.program-card:hover .icon-circle {
  background: linear-gradient(135deg, var(--accent-gold), #e0a300);
  transform: rotate(-8deg) scale(1.05);
}
.program-card:hover .icon-circle i { color: var(--blue-deep); }
.program-card h5 {
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 10px;
  font-size: 1.05rem;
}
.program-card p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ===================== TEAM ===================== */
.team-section { padding: 80px 0; }
.team-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
  text-align: center;
  box-shadow: 0 6px 24px rgba(3,27,78,.10);
  transition: transform .3s ease, box-shadow .3s ease;
  border-bottom: 4px solid transparent;
}
.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(3,27,78,.20);
  border-bottom-color: var(--accent-line);
}
.team-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--surface);
}
.team-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.team-card:hover .team-img-wrap img { transform: scale(1.06); }

/* gradient overlay on hover for social icons */
.team-img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3,27,78,.85) 0%, transparent 55%);
  opacity: 0;
  transition: opacity .35s ease;
}
.team-card:hover .team-img-wrap::after { opacity: 1; }

/* social icons appear on hover */
.team-socials {
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 2;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .35s ease, transform .35s ease;
}
.team-card:hover .team-socials {
  opacity: 1;
  transform: translateY(0);
}
.team-socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  color: var(--blue-royal);
  display: grid; place-items: center;
  text-decoration: none;
  font-size: .95rem;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.team-socials a:hover {
  background: var(--accent-gold);
  color: var(--blue-deep);
  transform: translateY(-3px);
}

.team-body { padding: 22px 18px; }
.team-body h5 {
  font-weight: 700;
  color: var(--blue-deep);
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.team-body .role {
  color: var(--blue-mid);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .3px;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 991px) {
  .mission-section { padding: 50px 0; }
  .founder-section { padding: 60px 0; }
  .values-section { padding: 60px 0; }
  .team-section { padding: 60px 0; }
  .founder-img-wrap {
    max-width: 340px;
    margin-bottom: 40px;
  }
  .founder-img-wrap::before { inset: -8px; border-width: 2px; }
}
@media (max-width: 575px) {
  .founder-img-wrap::before { display: none; }
}