/* ===== Administration Page ===== */

.admin-section {
  padding: 50px 20px;
  max-width: 1200px;
  margin: auto;
}

/* ===== Present Committee Cards ===== */
.committee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 26px;
  margin-top: 30px;
}

.committee-card {
  background: #fff;
  border-radius: 14px;
  text-align: center;
  padding: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  transition: transform 0.3s ease;
}

.committee-card:hover {
  transform: translateY(-6px);
}

.committee-card img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid #e6c85a;
  margin-bottom: 14px;
}

.committee-card h3 {
  margin: 6px 0 4px;
  color: #721717;
  font-size: 16px;
}

.committee-card p {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

/* ===== Previous Committee Table ===== */
.previous-table-wrapper {
  overflow-x: auto;
  margin-top: 30px;
}

.previous-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
  border-radius: 12px;
  overflow: hidden;
}

.previous-table th,
.previous-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid #eee;
  color: #333;
}

.previous-table th {
  background: #721717;
  color: #fff;
  font-weight: 600;
}

.previous-table tr:last-child td {
  border-bottom: none;
}

.previous-table tr:hover {
  background: #f9f6ef;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .committee-card img {
    width: 120px;
    height: 120px;
  }
}
/* ===============================
   Committee Members Section
   =============================== */

.committee-section {
  max-width: 1000px;
  margin: 60px auto;
  padding: 30px 20px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
}

/* Title */
.committee-title {
  text-align: center;
  font-family: "Great Vibes", cursive;
  font-size: 40px;
  color: #721717;
  margin-bottom: 30px;
  position: relative;
}

.committee-title::after {
  content: "";
  display: block;
  width: 220px;
  height: 4px;
  background: #e6c85a;
  margin: 10px auto 0;
  border-radius: 6px;
}

/* Table */
.committee-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.committee-table thead th {
  background: #721717;
  color: #ffffff;
  padding: 14px;
  text-align: center;
  font-weight: 600;
}

.committee-table tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid #ffffff;
  color: #333333;
   text-align: center;
}

.committee-table tbody tr:nth-child(even) {
  background: #faf7f0;
}

.committee-table tbody tr:hover {
  background: #f3ebd7;
  transition: background 0.3s ease;
}

/* ===============================
   Mobile Responsive
   =============================== */

@media (max-width: 600px) {
  .committee-title {
    font-size: 30px;
  }

  .committee-table,
  .committee-table thead,
  .committee-table tbody,
  .committee-table th,
  .committee-table td,
  .committee-table tr {
    display: block;
  }

  .committee-table thead {
    display: none;
  }

  .committee-table tbody tr {
    margin-bottom: 16px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    padding: 10px;
  }

  .committee-table tbody td {
    border: none;
    padding: 8px 10px;
    position: relative;
    text-align: left;
    font-size: 13px;
  }

  .committee-table tbody td::before {
    content: "Member";
    font-weight: 600;
    color: #721717;
    margin-right: 6px;
  }
}




/* ===== Contact Page ===== */

.contact-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 30px;
}

/* ===== Contact Info ===== */
.contact-info h2 {
  color: #721717;
  margin-bottom: 14px;
}

.contact-info p {
  margin-bottom: 10px;
  font-size: 15px;
  color: #333;
}

.contact-info i {
  color: #721717;
  margin-right: 8px;
}

.map iframe {
  width: 100%;
  height: 260px;
  border: 0;
  border-radius: 12px;
  margin-top: 14px;
}

/* ===== Contact Form ===== */
.contact-form {
  background: #fff;
  padding: 26px;
  border-radius: 14px;
  box-shadow: 0 14px 36px rgba(0,0,0,0.15);
}

.contact-form h2 {
  color: #721717;
  margin-bottom: 16px;
  text-align: center;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 14px;
}

.contact-form button {
  background: #e6c85a;
  color: #721717;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
}

.contact-form button:hover {
  background: #d6b94d;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

/* ===== Contact Persons Section ===== */
.contact-persons {
  margin-top: 60px;
  text-align: center;
}

.section-subtitle {
  font-size: 26px;
  color: #721717;
  margin-bottom: 30px;
}

.person-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 900px;
  margin: auto;
}

.person-card {
  background: #fff;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.person-card:hover {
  transform: translateY(-6px);
}

.person-card img {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid #e6c85a;
  margin-bottom: 14px;
}

.person-card h3 {
  color: #721717;
  margin-bottom: 6px;
  font-size: 16px;
}

.person-card p {
  font-size: 14px;
}

.person-card a {
  color: #333;
  text-decoration: none;
  font-weight: 600;
}

.person-card a:hover {
  color: #721717;
}
