/* ════════════ TEAM SECTION ════════════ */
.team-section {
  padding: 70px 0;
  background: #fff;
}

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

.team-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #aaa;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.team-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--green);
}

/* Grid */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}

/* Card */
.team-card {
  flex: 0 0 calc((100% - 48px) / 3);
  max-width: calc((100% - 48px) / 3);
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: box-shadow 0.4s ease, transform 0.4s ease;
  position: relative;
  cursor: pointer;
}

.team-card:hover {
  box-shadow: 0 12px 35px rgba(0,0,0,0.18);
  transform: translateY(-6px);
}

/* Image area */
.team-card-img {
  position: relative;
  overflow: hidden;
}

.team-card-img img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.4s ease;
}

.team-card:hover .team-card-img img {
  transform: scale(1.04);
}

/* Social area */
.team-social {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

/* Share button — always visible */
.team-share-btn {
  width: 32px;
  height: 32px;
  background: var(--green);
  color: #fff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s;
  z-index: 2;
}

.team-share-btn:hover {
  background: var(--green-dark);
  color: #fff;
}

/* Hidden social icons — slide in on hover */
.team-social-icons {
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.4s ease;
}

.team-card:hover .team-social-icons,
.team-social.active .team-social-icons {
  max-height: 120px;
  opacity: 1;
}

.team-social-icons a {
  width: 32px;
  height: 32px;
  background: var(--green);
  color: #fff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  text-decoration: none;
  transition: background 0.2s;
}

.team-social-icons a:hover {
  background: var(--green-dark);
}

/* Card body */
.team-card-body {
  padding: 14px 16px 6px;
  background: var(--green);
}

.team-member-small {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.team-member-role {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

/* Green grass bottom */
.team-grass {
  height: 16px;
  background: var(--green-dark);
}

/* ── Responsive ── */
@media (max-width: 991px) {
  .team-card {
    flex: 0 0 calc((100% - 24px) / 2);
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .team-card {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.director-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.director-card {
  overflow: hidden;
  border: 1px solid rgba(46, 125, 50, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 14px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.director-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 34px rgba(0,0,0,0.14);
}

.director-avatar {
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff;
  font-size: 58px;
}

.management-section .director-avatar {
  width: 100%;
  height: 260px;
  min-height: 260px;
  background: #f3f7f4;
  color: var(--green);
}

.management-section .profile-card-info a {
  color: var(--green);
  font-weight: 600;
  text-decoration: none;
}

.management-section .profile-card-info a:hover {
  color: var(--green-dark);
}

.director-card-body {
  padding: 24px 20px;
  text-align: center;
}

.director-card .profile-card-name {
  margin: 0 0 8px;
  color: var(--green);
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
}

.director-card .profile-card-designation {
  display: block;
  color: #555;
  font-size: 15px;
  font-weight: 600;
}

.director-mobile {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-weight: 600;
  text-decoration: none;
}

.director-mobile:hover {
  color: var(--green-dark);
}

@media (max-width: 991px) {
  .director-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 576px) {
  .director-card-grid {
    grid-template-columns: 1fr;
  }
}

.zenith-director-section {
  background: #f7f8fa;
}

.zenith-director-grid {
  align-items: stretch;
}

.zenith-director-card {
  border: 1px solid #e5e7eb;
  border-radius: 0;
  box-shadow: none;
  background: #fff;
  text-align: center;
}

.zenith-director-card:hover {
  transform: none;
  box-shadow: 0 10px 28px rgba(0,0,0,0.10);
}

.zenith-director-photo {
  padding: 18px 18px 0;
  background: #fff;
}

.zenith-director-photo .profile-card-img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  object-position: top center;
  border: 1px solid #ececec;
  display: block;
}

.zenith-director-photo .director-avatar {
  min-height: 270px;
  border: 1px solid #ececec;
  background: #f3f5f3;
  color: var(--green);
}

.zenith-director-body {
  padding: 18px 18px 24px;
  background: #fff;
}

.zenith-director-card .profile-card-name {
  margin: 0 0 10px;
  color: #16733a;
  font-family: 'DM Sans', sans-serif;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.35;
}

.zenith-director-card .profile-card-designation {
  display: block;
  min-height: 44px;
  color: #222;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
}

.zenith-profile-link {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid #16733a;
  background: #16733a;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.zenith-profile-link:hover {
  background: #fff;
  color: #16733a;
}

@media (max-width: 576px) {
  .zenith-director-photo .profile-card-img,
  .zenith-director-photo .director-avatar {
    height: 240px;
    min-height: 240px;
  }
}
