/* ======================================
   Leaders pages – profile layout & styling
   Used by: Wahid-Lutfy.html, Hamid-Lutfy.html, etc.
   ====================================== */

.leader-page {
  background: rgba(15, 23, 42, 0.85);
  border-radius: 16px;
  padding: 1.5rem 1.25rem 2rem 1.25rem;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.9);
  max-width: 900px;
  margin: 0 auto;
}

/* Title section ("MyWebUniversity Executive Leaders") */
.leaders-title {
  text-align: center;
  margin-bottom: 1.5rem;
}

/* Profile block: image + text */

.leader-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  border-radius: 14px;
  padding: 1.25rem;
  background: radial-gradient(circle at top left, #0f172a, #020617);
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.leader-photo {
  margin: 0;
}

#img_cycle,
.leader-image {
  max-width: 220px;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1rem;
  object-fit: cover;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.9);
}

/* Info next to the photo */

.leader-info {
  text-align: center;
}

.leader-info h3 {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.leader-info p {
  margin: 0.1rem 0;
  font-size: 0.98rem;
}

.leader-info p strong {
  font-weight: 600;
}

/* Biography text */

.leader-bio {
  margin-top: 0.75rem;
  font-size: 0.98rem;
}

.leader-bio ul {
  margin-left: 1.1rem;
}

/* Badge section */

.leader-badge {
  text-align: center;
  margin-top: 1.2rem;
}

/* Navigation arrows (Previous / Home / Next) */

.page-nav {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1.3rem;
}

.page-nav a img {
  display: block;
  max-width: 52px;
  height: auto;
  filter: drop-shadow(0 5px 15px rgba(15, 23, 42, 0.9));
  transition: transform 0.15s ease, filter 0.15s ease;
}

.page-nav a:hover img,
.page-nav a:focus-visible img {
  transform: translateY(-2px) scale(1.05);
  filter: drop-shadow(0 10px 25px rgba(56, 189, 248, 0.7));
}

/* Footer spacing on these pages */

.site-footer {
  margin-top: 2rem;
}

/* ===============================
   Responsive tweaks
   =============================== */

@media (min-width: 700px) {
  .leader-profile {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
  }

  .leader-photo {
    flex: 0 0 auto;
  }

  .leader-info {
    flex: 1;
    text-align: left;
  }

  .leader-info h3 {
    font-size: 1.6rem;
  }

  .leader-bio {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .leader-page {
    padding: 1.1rem 0.9rem 1.6rem 0.9rem;
  }

  #img_cycle,
  .leader-image {
    max-width: 190px;
  }

  .page-nav a img {
    max-width: 44px;
  }
}
