/* ========== Officers Page Styling (Circle Layout) ========== */

.officers-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 */
}

/* Officers Grid – 3 in a row desktop, responsive for smaller screens */
.officer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* always 3 columns on desktop */
  gap: 20px;
  justify-items: center;
  align-items: start;
  margin-top: 20px;
}

/* Officer Card – Flex Centering */
.officer-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 */
.officer-card img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #a7a0a0;
  margin-bottom: 10px;
  display: block;
}

/* Officer Name */
.officer-card h3 {
  font-size: 1.1rem;
  color: #444;
  margin: 4px 0 4px;
}

/* Designation + Contact */
.officer-card p {
  font-size: 0.95rem;
  color: #444;
  margin: 0;
  line-height: 1.7;
}

/* =========================
   Responsive Adjustments
========================= */

/* Tablets – 2 per row */
@media (max-width: 900px) {
  .officer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile – 1 per row */
@media (max-width: 600px) {
  .officer-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .officer-card img {
    width: 120px;
    height: 120px;
  }

  .officer-card h3 {
    font-size: 1rem;
  }

  .officer-card p {
    font-size: 0.85rem;
  }
}
