/* ============================================================
   SkyGroupGh — Board of Directors page enhancements
   (loads AFTER home-enhancements.css — reuses its utilities)
   ============================================================ */

/* --- Hero --------------------------------------------------------------- */
.board-hero {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: url('../img/board.jpg') center center / cover no-repeat;
  overflow: hidden;
}
.board-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6,20,41,.85) 0%, rgba(13,110,253,.7) 100%);
}
.board-hero .container { position: relative; z-index: 2; padding: 3rem 1rem; }
.board-hero .eyebrow {
  display: inline-block;
  padding: .4rem 1rem;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 30px;
  color: #fff;
  font-weight: 600;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 1rem;
}
.board-hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: .75rem;
  text-shadow: 0 4px 24px rgba(0,0,0,.35);
}
.board-hero .lead {
  font-size: 1.1rem;
  max-width: 680px;
  margin: 0 auto 1.5rem;
  opacity: .92;
}
.board-hero .crumb {
  display: inline-flex;
  gap: .6rem;
  align-items: center;
  font-size: .9rem;
  opacity: .85;
}
.board-hero .crumb a { color: #fff; text-decoration: none; }
.board-hero .crumb a:hover { text-decoration: underline; }

/* --- Board member cards ------------------------------------------------ */
.board-card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid #eef1f6;
  height: 100%;
  transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
  position: relative;
}
.board-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(13,110,253,.15);
  border-color: rgba(13,110,253,.25);
}

.board-card .photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, #e7f0ff, #d5e5ff);
}
.board-card .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.board-card:hover .photo img { transform: scale(1.06); }

/* Role badge on top of image */
.board-card .role-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: .35rem .85rem;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  color: #0d6efd;
  font-weight: 700;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
  z-index: 2;
}

/* Social icons slide up on hover */
.board-card .socials {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(0deg, rgba(6,20,41,.85), transparent);
  display: flex;
  justify-content: center;
  gap: .5rem;
  transform: translateY(100%);
  transition: transform .4s ease;
}
.board-card:hover .socials { transform: translateY(0); }
.board-card .socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #0d6efd;
  font-size: .85rem;
  text-decoration: none;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.board-card .socials a:hover {
  background: #0d6efd;
  color: #fff;
  transform: translateY(-2px);
}

.board-card .info {
  text-align: center;
  padding: 1.5rem 1.25rem 1.75rem;
}
.board-card .info h4 {
  font-size: 1.15rem;
  margin-bottom: .25rem;
  color: #111827;
}
.board-card .info .title {
  color: #0d6efd;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .75rem;
  margin-bottom: .75rem;
}
.board-card .info p {
  color: #6b7280;
  font-size: .88rem;
  margin: 0;
  line-height: 1.6;
}

/* --- Governance pillars ------------------------------------------------ */
.gov-tile {
  background: #fff;
  border-radius: 18px;
  padding: 2rem 1.5rem;
  height: 100%;
  border: 1px solid #eef1f6;
  text-align: center;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.gov-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(13,110,253,.12);
  border-color: rgba(13,110,253,.25);
}
.gov-tile .ic {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, #e7f0ff, #d5e5ff);
  color: #0d6efd;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.15rem;
  transition: transform .4s ease, background .4s ease, color .4s ease;
}
.gov-tile:hover .ic {
  transform: rotate(-6deg) scale(1.05);
  background: linear-gradient(135deg, #0d6efd, #5b8def);
  color: #fff;
}
.gov-tile h5 {
  font-size: 1.05rem;
  margin-bottom: .5rem;
  color: #111827;
}
.gov-tile p {
  color: #6b7280;
  font-size: .9rem;
  margin: 0;
  line-height: 1.6;
}

/* --- Intro section image ---------------------------------------------- */
.board-intro-img {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(6,20,41,.15);
}
.board-intro-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Responsive -------------------------------------------------------- */
@media (max-width: 991.98px) {
  .board-hero { min-height: 380px; }
}
@media (max-width: 575.98px) {
  .board-hero { min-height: 340px; }
  .board-hero h1 { font-size: 2rem; }
  .board-card .info { padding: 1.25rem 1rem 1.4rem; }
  .board-card .socials { transform: translateY(0); background: rgba(6,20,41,.7); }
}

@media (prefers-reduced-motion: reduce) {
  .board-card,
  .board-card .photo img,
  .board-card .socials,
  .gov-tile,
  .gov-tile .ic { transition: none; }
}