/* =========================================================
   विभाग परिचय Page Styling
   ========================================================= */

.dept-wrapper {
  width: 100%;
  margin: 0 auto;
  padding: 20px;
  background: #fafafa;
}

/* 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;   
  border-bottom: none;  
}

/* Paragraph Styling */
.dept-container p {
  font-size: clamp(0.95rem, 2vw, 1rem);
  line-height: 1.8;
  color: #333;
  text-align: justify;
  margin-bottom: 10px;
  background: #f1f8e9;
  padding: 15px;
  border-top: 1px solid grey;
  border-left: 5px solid #1a237e;
  border-bottom: 1px solid grey;
  border-right: 1px solid grey;
  border-radius: 10px;
}

/* Sub-heading */
.dept-container h3 {
  color: #12083f;
  font-size: clamp(1.1rem, 2.4vw, 1.3rem);
  margin: 25px 0 15px;
  text-align: center;
}

/* =========================================================
   Team Section Styling (Circle Images)
   ========================================================= */

   /* Team Card */
.team-card {
  display: flex;
  flex-direction: column;  /* stack image and text vertically */
  align-items: center;     /* center horizontally */
  justify-content: flex-start;
  text-align: center;
  background: none !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
}

/* Circle Image */
.team-card img {
  width: clamp(110px, 25vw, 140px);
  height: clamp(110px, 25vw, 140px);
  object-fit: cover;
  border-radius: 50%;
  display: block;
  border: 3px solid #a7a0a0;
  margin-bottom: 10px;    /* spacing between image and title */
}

/* Titles */
.team-card h3 {
  margin-top: 0;
  font-size: clamp(0.9rem, 2.2vw, 1.1rem);
  color: #444;
}

/* Description */
.team-card p {
  font-size: clamp(0.85rem, 2vw, 1rem);
  color: #444;
}


.team-section {
  padding: 10px 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 per row on desktop */
  gap: 15px;
  justify-items: center;
  width: 100%;
}

/* =========================================================
   Extra Small Screens
   ========================================================= */

@media (max-width: 480px) {
  /* Grid auto adjusts so no overflow needed */
  .team-grid {
    grid-template-columns: repeat(1, minmax(100px, 1fr));
    gap: 10px;
  }
}
