/* ==========================================
   DESIGN SYSTEM & VARIABLES
   ========================================== */
:root {
  /* Color Palette */
  --color-primary: #055346;      /* Deep forest green/teal */
  --color-primary-hover: #0c4839;
  --color-accent: #F6B69E;       /* Terracotta/coral for social background */
  --color-accent-hover: #d77e5d;
  --color-icon: #055346;         /* Dark brown/charcoal for social icons */
  --color-text-dark: #111827;    /* Slate black for names/titles */
  --color-text-gray: #333333;    /* Cool gray for descriptions */
  --color-text-light: #333333;   /* Muted gray for subtitles */
  --color-bg-page: #fff;      /* Off-white background */
  --color-bg-card: #fbfffd;      /* Pure white for card body */
  --color-border: #e2e8f0;       /* Very light gray for card outline */

  /* Fonts */
  --font-headers: "Saira", sans-serif;
  --font-body: "Poppins", sans-serif;

  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease-out;

  /* Shadows */
  --shadow-subtle: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* ==========================================
   COACHES GRID & CARDS
   ========================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  width: 100%;
}

.team-card {
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-smooth);
}

/* Image Wrapper */
.team-card-image-wrapper {
  width: 100%;
  height: 315px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.team-card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: var(--transition-smooth);
}

/* Info Box (Overlaps the image) */
.team-card-info {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 24px 20px 20px 20px;
  margin: -30px 0 0 0;
  position: relative;
  z-index: 2;
  text-align: center;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-smooth);
}

/* Card Typography */
.team-card-info .member-name {
  font-family: var(--font-headers);
  font-size: 24px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 6px;
  line-height: 1.2;
}

.team-card-info .member-role {
  font-family: var(--font-headers);
  font-size: 20px;
  font-weight: 500;
  color: var(--color-text-dark);
}

.team-card-info .member-desc {
  font-size: 16px;
  color: var(--color-text-gray);
  margin-bottom: 20px;
  font-weight: 400;
  min-height: 45px; /* Keeps card content aligned */
}

/* Social Icon Buttons (Dark Green Circles with White Logos) */
.team-card-socials {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.social-btn {
  width: 35px;
  height: 35px;
  background-color: var(--color-primary); /* Circular dark forest green background (#055346) */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition-fast);
}

.social-btn svg {
  width: 20px;
  height: 20px;
  fill: #ffffff; /* White logo icons */
  transition: var(--transition-fast);
}

/* ==========================================
   MICRO-INTERACTIONS (HOVER EFFECTS)
   ========================================== */
/* Social Button Hover - Removed hover animations */


/* Card Hover */
.team-card:hover .team-card-image-wrapper img {
  transform: scale(1.05);
}

.team-card:hover .team-card-info {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(15, 90, 71, 0.2); /* Subtle highlight matching primary green */
}

/* ==========================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================== */
@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  
  .team-card-info {
    margin: -30px 0 0 0;
  }
}
