:root {
  --primary-color: #0f6c95;
  --primary-dark: #085273;
  --primary-light: rgba(15, 108, 149, 0.1);
  --accent-color: #ff9800;
  --text-dark: #333;
  --text-light: #fff;
  --border-color: #e0e0e0;
  --card-bg: #fff;
  --gradient-start: #0f6c95;
  --gradient-end: #118ab2;
}

#boardCommittee {
  padding: 2rem 0;
  background-color: #dae2ed !important;
}

header {
  text-align: center;
  margin-bottom: 40px;
  opacity: 0;
  animation: slideDown 1s forwards;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.subtitle {
  font-size: 1.2rem;
  color: #666;
  font-weight: 300;
}

.committees-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.committee-section {
  opacity: 0;
  animation: fadeIn 1s forwards;
  animation-delay: calc(var(--delay) * 0.3s);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.committee-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.committee-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--gradient-start),
    var(--gradient-end)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 4px 10px rgba(15, 108, 149, 0.3);
}

.committee-title-container {
  flex: 1;
}

.committee-title {
  font-size: 1.6rem;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 5px;
  font-family: "Raleway", sans-serif;
}

.committee-subtitle {
  font-size: 0.9rem;
  color: #666;
  font-weight: 400;
}

.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.member-card {
  background: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-header {
  background: linear-gradient(
    135deg,
    var(--gradient-start),
    var(--gradient-end)
  );
  color: white;
  padding: 15px 20px;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.position-badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.card-body {
  padding: 20px;
}

.member-name {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--primary-dark);
}

.member-designation {
  font-size: 0.9rem;
  color: #666;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 10px;
}

.member-number {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-color);
  width: 25px;
  height: 25px;
  border-radius: 50%;
  text-align: center;
  line-height: 25px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-right: 10px;
}

footer {
  text-align: center;
  margin-top: 60px;
  padding-top: 20px;
  color: #666;
  font-size: 0.9rem;
  opacity: 0;
  animation: fadeIn 1s forwards;
  animation-delay: 1.5s;
}

@media (max-width: 768px) {
  .container {
    padding: 15px;
  }

  .members-grid {
    grid-template-columns: 1fr;
  }

  .committee-title {
    font-size: 1.3rem;
  }

 
}



/* Policies section styles */
#policies {
  padding: 2.5rem 0;
}

/* Search container */
.search-container {
  margin: 1.5rem auto;
  display: flex;
  max-width: 600px;
  width: 100%;
}

.search-container input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 2px solid #e0e6eb;
  border-right: none;
  border-radius: 4px 0 0 4px;
  font-size: 1rem;
  width: 100%;
}

.search-container button {
  background-color: #0f6c95;
  color: white;
  border: none;
  border-radius: 0 4px 4px 0;
  padding: 0 1.5rem;
  cursor: pointer;
  transition: background-color 0.2s;
  white-space: nowrap;
}

.search-container button:hover {
  background-color: #0a5273;
}

/* PDF list grid */
.pdf-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

/* PDF item cards */
.pdf-item {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem;
  transition: transform 0.2s, box-shadow 0.2s;
  width: 100%;
}

.pdf-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(15, 108, 149, 0.1);
}

.pdf-title {
  font-size: 1rem;
  font-weight: 500;
  color: #0a5273;
  flex: 1;
  margin-right: 1rem;
  text-overflow: ellipsis;
  overflow: hidden;

}

.view-btn {
  background-color: #0a5273;
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s;
  flex-shrink: 0;
}

.view-btn:hover {
  background-color: #0f6c95;
}

.view-btn svg {
  width: 20px;
  height: 20px;
}

/* Modal styles */
.pdf-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(3px);
}

.pdf-modal.active {
  display: flex;
}

.modal-content {
  background-color: white;
  width: 90%;
  height: 90%;
  max-width: 1200px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-header {
  background-color: #0f6c95;
  color: white;
  padding: 0.75rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-size: 1.2rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.close-btn2 {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 4px;
  transition: background-color 0.2s;
  margin-left: 12px;
}

.close-btn2:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.modal-body {
  flex: 1;
  position: relative;
}

#pdfViewer {
  width: 100%;
  height: 100%;
  border: none;
}

.empty-state {
  padding: 3rem;
  text-align: center;
  color: #777;
}

/* Loading indicator */
.loading {
  text-align: center;
  padding: 2rem;
  color: #0f6c95;
}

.loading-spinner {
  display: inline-block;
  width: 50px;
  height: 50px;
  border: 5px solid rgba(15, 108, 149, 0.2);
  border-radius: 50%;
  border-top-color: #0f6c95;
  animation: spin 1s ease-in-out infinite;
  margin-bottom: 1rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* No files message */
.no-files {
  text-align: center;
  padding: 3rem 1rem;
  color: #777;
  grid-column: 1 / -1;
}

/* Responsive styles */
@media (max-width: 992px) {
  .pdf-list {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  
  .corporate-policies-page-header {
    padding: 3rem 0 !important;
  }
}

@media (max-width: 768px) {
  .pdf-list {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  
  .search-container {
    max-width: 100%;
  }
  
  .corporate-policies-page-header {
    padding: 2rem 0 !important;
  }
  
  .corporate-policies-page-header h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .pdf-list {
    grid-template-columns: 1fr;
  }
  
  .search-container {
    flex-direction: column;
  }
  
  .search-container input {
    border-right: 2px solid #e0e6eb;
    border-radius: 4px;
    margin-bottom: 0.75rem;
  }
  
  .search-container button {
    border-radius: 4px;
    padding: 0.75rem 1.5rem;
    width: 100%;
  }
  
  .corporate-policies-page-header {
    padding: 1.5rem 0 !important;
  }
  
  .corporate-policies-page-header h1 {
    font-size: 2rem;
  }
  
  .modal-content {
    width: 95%;
    height: 95%;
  }
  
  .modal-header {
    padding: 0.5rem 1rem;
  }
  
  .modal-title {
    font-size: 1rem;
  }
}