/* Basic reset and body styling */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: #607d75;
  color: #fff;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #2c2c2c;
  padding: 1rem 2rem;
}

header .logo {
  display: flex;
  align-items: center;
}

header img {
  height: 30px;
  width: 30px;
  margin-right: 0.5rem;
}

header nav {
  display: flex;
  gap: 1.5rem;
}

header a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
}

.home-btn {
  background-color: #444;
  padding: 0.5rem 1rem;
  border-radius: 5px;
}

.main-content {
  padding: 2rem;
  text-align: center;
}

h2 {
  font-size: 2rem;
  color: #fff;
}

/* Banner styling */
.banner {
  background: linear-gradient(to right, #00bcd4, #8bc34a);
  padding: 3rem;
  border-radius: 10px;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 2rem;
  color: black;
}

/* Initiatives section */
.initiatives {
  margin: 3rem auto;
  max-width: 1000px;
  padding: 0 2rem;
  color: black;
  text-align: left;
}

.initiatives h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: white;
}

.initiative {
  background-color: rgba(255, 255, 255, 0.1);
  border-left: 4px solid #00bcd4;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 6px;
}

.initiative h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.initiative p {
  font-size: 1rem;
  color: #e0e0e0;
}

/* Projects section */
.projects-section {
  text-align: center;
}

.projects-section h2 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: black;
}

.projects-section p {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: black;
}

.learn-btn {
  background-color: black;
  color: white;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

/* Footer */
footer {
  background-color: #1b1b1b;
  color: white;
  display: flex;
  justify-content: space-around;
  padding: 1rem;
  font-size: 0.9rem;
}

footer a {
  color: white;
}

/* Project Grid */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 0 2rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.project-card {
  background-color: #2c2c2c;
  padding: 1.5rem;
  border-radius: 10px;
  color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

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

.project-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #8bc34a;
}

.project-card p {
  font-size: 0.95rem;
  margin: 0.5rem 0;
  color: #ddd;
}

.project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
}

.view-btn {
  margin-top: 1rem;
  background-color: #00bcd4;
  color: black;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.view-btn:hover {
  background-color: #0097a7;
}

.more-info {
  display: none;
  margin-top: 10px;
  color: #333;
  font-size: 0.95rem;
}

.project-card.expanded .more-info {
  display: block;
}

/* About Page Styling */
.about-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
  color: white;
  text-align: left;
}

.about-section,.partners-section {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 1.5rem 2rem;
  border-left: 4px solid #00bcd4;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}

.about-section:hover,.partners-section:hover {
  transform: translateY(-3px);
}

.about-section h3,.partners-section h3 {
  color: #8bc34a;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.about-section p,.partners-section p {
  line-height: 1.6;
  color: #ddd;
}

.about-list,.partners-list {
  list-style: disc;
  padding-left: 1.5rem;
  color: #ccc;
}

.about-list li,.partners-list li {
  margin-bottom: 0.5rem;
}

/* Donation Page Layout */
.donation-page-container {
  display: flex;
  justify-content: flex-end; /* Aligns to the right */
  align-items: flex-start; /* Aligns to the top */
  height: 100vh;
  padding: 2rem;
}

.donation-info {
  flex: 1 1 300px;
  background: linear-gradient(to bottom right, #00bcd4, #8bc34a);
  border-radius: 12px;
  color: black;
  padding: 2rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  text-align: left;
  margin-right: 2rem; 
}

.donation-info h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.donation-info p {
  font-size: 1rem;
  line-height: 1.6;
}

.donation-form {
  background-color: #2c2c2c;
  padding: 2rem;
  flex: 1 1 400px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: stretch;
  max-width: 500px; 
}

.donation-form label {
  color: #8bc34a;
  font-weight: 600;
}

.donation-form input,
.donation-form select,
.donation-form textarea {
  padding: 0.75rem;
  background-color: #f7f7f7;
  color: #222;
  border-radius: 6px;
  border: none;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
}

.submit-btn {
  background-color: #00bcd4;
  color: black;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
  width: 100%;
}

.submit-btn:hover {
  background-color: #0097a7;
}
.contact-page-container {
  display: flex;
  justify-content: space-between;
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info {
  flex: 1;
  background: linear-gradient(to bottom right, #00bcd4, #8bc34a);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #333;
}

.contact-info p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #666;
}

.contact-info ul {
  list-style: none;
  padding: 0;
}

.contact-info li {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #555;
}

.contact-form {
  flex: 1;
  background-color: #2c2c2c;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  color: white;
}

.contact-form h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.contact-form label {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  background-color: #f7f7f7;
  color: #222;
  border-radius: 6px;
  border: none;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.contact-form textarea {
  resize: vertical;
}

.submit-btn {
  background-color: #00bcd4;
  color: black;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
  width: 100%;
}

.submit-btn:hover {
  background-color: #0097a7;
}

footer {
  background-color: #1b1b1b;
  color: white;
  padding: 1.5rem 2rem;
  text-align: center;
}

footer a {
  color: white;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icon {
  font-size: 1.5rem;
  color: white;
  transition: color 0.3s ease;
}

.social-icon:hover {
  color: #00bcd4;
}

.social-icon.facebook:hover {
  color: #3b5998;
}

.social-icon.twitter:hover {
  color: #1da1f2;
}

.social-icon.instagram:hover {
  color: #e4405f;
}

.social-icon.linkedin:hover {
  color: #0077b5;
}
.faq-section {
  background-color: #607d75;
  padding: 2.5rem;
  border-radius: 12px;
  margin-bottom: 3rem;
}

.faq-section h3 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.faq-item {
  margin-bottom: 1.5rem;
}

.faq-item h4 {
  font-size: 1.25rem;
  color: #333;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.faq-item p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
}

.faq-item a {
  color: #00bcd4;
  text-decoration: none;
}

.faq-item a:hover {
  text-decoration: underline;
}
.styled-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 1rem;
  color: #fff;
  background-color: #2c2c2c;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.styled-table thead tr {
  background-color: #00bcd4;
  color: #000;
  text-align: left;
  font-weight: bold;
}

.styled-table th,
.styled-table td {
  padding: 1rem;
  border-bottom: 1px solid #444;
}

.styled-table tbody tr:last-of-type {
  border-bottom: 2px solid #00bcd4;
}

.styled-table tbody tr:hover {
  background-color: rgba(0,188,212,0.1);
}

/* Status indicators */
.status-ongoing {
  color: #FFC107;
  font-weight: 600;
}

.status-open {
  color: #8bc34a;
  font-weight: 600;
}

.status-closed {
  color: #f44336;
  font-weight: 600;
}

/* Responsive table */
@media (max-width: 768px) {
  .styled-table {
    display: block;
    overflow-x: auto;
  }
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}

.main-nav a {
  margin: 0 10px;
}

.nav-active {
  font-weight: bold;
  color: #3498db;
}

.banner-projects {
  background: linear-gradient(to right, #00c6ff, #0072ff);
  color: white;
  text-align: center;
  padding: 60px 20px;
  font-size: 2rem;
}

.resources-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 40px;
}

.resource-card {
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: center;
}

.explore-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background: #0072ff;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

.site-footer {
  padding: 30px;
  background: #333;
  color: white;
  text-align: center;
}

/* Filter Buttons Styling */
.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.filter-buttons button {
  padding: 10px 18px;
  background-color: #007BFF; /* Primary blue */
  border: none;
  color: white;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-family: 'Inter', sans-serif;
}

.filter-buttons button:hover {
  background-color: #0056b3; /* Darker blue on hover */
  transform: translateY(-2px); /* Tiny lift */
}

.filter-buttons button.active {
  background-color: #28a745; /* Green for active filter */
}

.hidden {
  display: none !important;
}
.filter-buttons button.active {
  background-color: #4CAF50; /* Green background for active button */
  color: white;
}
