/* ========== Employees Page Styling (Circle Grid UI) ========== */

.employees-container {
  width: 100%;
  margin: 0 auto;
  padding: 10px;
}

/* Section title */
.section-title {
  text-align: center;
  color: #12083f;
  font-size: clamp(1.5rem, 2.5vw, 1.8rem);
  margin: 20px 20px 20px;
  font-weight: 600;
  text-decoration: none;   /* removes underline if it exists */
  border-bottom: none;     /* removes any bottom border */
}

/* Member Grid - responsive 3 per row desktop */
.member-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 per row on desktop */
  gap: 25px;
  margin-top: 30px;
  justify-items: center;
  align-items: start;
}

/* Member Card – Flex Centering */
.member-card {
  display: flex;
  flex-direction: column;  /* stack image and text vertically */
  align-items: center;     /* center horizontally */
  justify-content: flex-start;
  text-align: center;
  padding: 0;
  background: none !important;
  box-shadow: none !important;
  border: none !important;
}

/* Circle Image */
.member-card img {
  width: clamp(120px, 20vw, 140px);
  height: clamp(120px, 20vw, 140px);
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #a7a0a0;
  margin-bottom: 10px;
  display: block;
}

/* Member Name */
.member-card h3 {
  font-size: clamp(1rem, 2vw, 1.1rem);
  margin: 4px 0 4px;
  color: #444;
}

/* Designation / Role */
.member-card p {
  font-size: clamp(0.85rem, 1.8vw, 0.95rem);
  color: #444;
  margin: 0;
  line-height: 1.7;
}

/* =========================
   Responsive Adjustments
========================= */

/* Tablet – 2 per row */
@media (max-width: 900px) {
  .member-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile – 1 per row */
@media (max-width: 600px) {
  .member-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .member-card img {
    width: 120px;
    height: 120px;
  }

  .member-card h3 {
    font-size: 1rem;
  }

  .member-card p {
    font-size: 0.85rem;
  }
}
