/* Modal Styles */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-container {
  background: white;
  border-radius: 1rem;
  padding: 1rem;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  color: gray;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
}

.modal-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Original Image Style with Side-by-Side Layout */
.modal-image-container {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.modal-image {
  width: 100%;
  max-width: 250px;
  border-radius: 1rem;
  object-fit: cover;
}

.modal-text {
  flex: 1;
}

.modal-text h2 {
  font-size: 1.5rem;
  color: #053F33;
  margin-bottom: 1rem;
}

.modal-text p {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
}

/* Responsive Modal Layout */
@media (max-width: 768px) {
  .modal-image-container {
    flex-direction: column;
  }
  
  .modal-image {
    max-width: 100%;
    margin: 0 auto;
  }
}

/* Breadcrumb */
.breadcrumb-wrapper {
  background-color: #eaf5e3;
}

/* Director Grid */
.directors-section {
  padding: 2rem 1rem;
}
.directors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 1rem;
  }

  .director-card {
    background-size: cover;
    background-position: center;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    height: 350px;
    display: flex;
    align-items: flex-end;
    position: relative;
    transition: transform 0.3s ease;
  }

  .director-card:hover {
    transform: translateY(-5px);
  }

  /* REMOVED THE GRADIENT OVERLAY */
  /* .director-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.7) 100%);
  } */

  .director-info {
    position: relative;
    z-index: 2;
    padding: 2rem;
    width: 100%;
    color: #053f33;
    background: white; 
    /* background: rgba(0, 0, 0, 0.7);  */
    margin: 1.5rem;
    padding: 0.5rem;
    border-radius: 10px 10px;

  }

  .director-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    
  }

  .director-title {
    font-size: 1rem;
    opacity: 0.9;
  }
/* Committees */
.committees-section {
  background-color: #f1f8e9;
  padding: 4rem 1rem 3rem;
}

.committees-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
}

.committee-card {
  margin-bottom: 2.5rem;
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.committee-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #053F33;
  word-break: break-word;
  line-height: 1.4;
}

.committee-table-container {
  overflow-x: auto;
}

.committee-table {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-collapse: collapse;
  font-size: 1rem;
}

.committee-table thead tr {
  background-color: #4a7c12;
  color: #fff;
  text-align: left;
}

.committee-table th,
.committee-table td {
  padding: 1rem;
}

.committee-table th:first-child {
  border-top-left-radius: 0.5rem;
}
.committee-table th:last-child {
  border-top-right-radius: 0.5rem;
}

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