/* WRAPPER */
.leadership-wrapper {
  padding: 110px 20px 80px;
  background: linear-gradient(135deg, #f8fafc, #eef2f7);
}

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

/* HEADING */
.team-heading {
  text-align: center;
  margin-bottom: 50px;
}

.team-heading h2 {
  font-size: 28px;
  font-weight: 600;
  color: #0a2540;
}

.team-heading p {
  font-size: 13.5px;
  color: #667085;
}

/* GRID */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* CARD */
.leader-card {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(14px);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  position: relative;
}

.leader-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 35px rgba(0,0,0,0.10);
}

/* IMAGE */
.image-wrapper {
  position: relative;
}

.image-wrapper img {
  width: 100%;
  height: 250px;
  object-fit: contain;
  background: #f8fafc;
}

.image-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.25), transparent);
  opacity: 0;
  transition: 0.3s;
}

.leader-card:hover .image-wrapper::after {
  opacity: 1;
}

.leader-card:hover img {
  transform: scale(1.05);
}

/* CONTENT */
.card-content {
  padding: 18px;
}

.card-content h3 {
  font-size: 17px;
  font-weight: 600;
  color: #0a2540;
}

.card-content p {
  font-size: 13.5px;
  color: #667085;
  margin-top: 6px;
  line-height: 1.7;
}

/* BUTTON */
.btn {
  display: inline-block;
  margin-top: 14px;
  padding: 8px 15px;
  border-radius: 5px;
  font-size: 13px;
  text-decoration: none;
  border: 1px solid #e4e7ec;
  color: #344054;
  background: #fff;
  transition: all 0.25s ease;
}

.btn:hover {
  background: #0a2540;
  color: #fff;
  border-color: #0a2540;
}

.primary {
  background: #0a2540;
  color: #fff;
  border-color: #0a2540;
}

/* FEATURED */
.featured {
  border: 1px solid rgba(10, 37, 64, 0.15);
  background: linear-gradient(135deg, #ffffff, #f7fbff);
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
}

.modal-content {
  background: #fff;
  padding: 32px;
  max-width: 620px;
  margin: 5% auto;
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.2);
}

/* HEADER */
.modal-header {
  display: flex;
  align-items: center;
  gap: 15px;
}

.modal-header img {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  object-fit: cover;
}

/* BODY */
.modal-title {
  font-size: 18px;
  font-weight: 600;
  margin-top: 15px;
  color: #0a2540;
}

.modal-body p {
  font-size: 14px;
  line-height: 1.8;
  margin-top: 10px;
  color: #344054;
}

.closing {
  font-weight: 500;
}

/* SIGNATURE */
.signature {
  margin-top: 20px;
  border-top: 1px solid #eee;
  padding-top: 12px;
}

/* CLOSE */
.close {
  float: right;
  font-size: 22px;
  cursor: pointer;
}

/* ANIMATION */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s ease;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .leadership-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .leadership-grid {
    grid-template-columns: 1fr;
  }

  .card-content {
    text-align: center;
  }
}