/* Reset and base styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: #1a73e8;
}

a:hover {
  text-decoration: underline;
}

/* Header */
.header {
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-link {
  display: inline-block;
}

.logo-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}

.site-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #222;
}

.navigation {
  margin-top: 0.5rem;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-item {
  margin: 0;
}

.nav-link {
  font-weight: 500;
  color: #333;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #1a73e8;
}

/* Hero Section */
.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}

.hero-text {
  text-align: center;
  color: #fff;
  padding: 2rem;
  max-width: 800px;
}

.hero-heading {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero-cta {
  display: inline-block;
  background-color: #1a73e8;
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.hero-cta:hover {
  background-color: #1557b0;
  text-decoration: none;
}

/* Sections common */
section {
  padding: 4rem 2rem;
}

.section-heading {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  color: #222;
}

/* About Section */
.about-section {
  background-color: #fff;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.about-text {
  flex: 1 1 300px;
}

.about-text p {
  margin-bottom: 1rem;
}

.about-image {
  flex: 1 1 300px;
}

.about-img {
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Events Section */
.events-section {
  background-color: #f4f4f4;
}

.events-container {
  max-width: 1200px;
  margin: 0 auto;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.event-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.event-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.event-img-small {
  height: 150px;
  width: 150px;
  margin: 0 auto;
  border-radius: 50%;
}

.event-title {
  font-size: 1.25rem;
  font-weight: 600;
  padding: 1rem 1rem 0.5rem;
}

.event-date {
  color: #1a73e8;
  font-weight: 500;
  padding: 0 1rem;
}

.event-description {
  padding: 0.5rem 1rem 1rem;
  color: #555;
}

/* Resources Section */
.resources-section {
  background-color: #fff;
}

.resources-container {
  max-width: 1200px;
  margin: 0 auto;
}

.resources-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.resource-item {
  background-color: #f9f9f9;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.resource-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.resource-item p {
  margin-bottom: 1rem;
  color: #555;
}

.resource-link {
  color: #1a73e8;
  font-weight: 500;
}

/* Contact Section */
.contact-section {
  background-color: #f4f4f4;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.contact-info {
  flex: 1 1 300px;
}

.contact-info p {
  margin-bottom: 0.75rem;
}

/* Donate Button */
.donate-button {
  display: inline-block;
  background-color: #007bff;
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  margin-bottom: 1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.donate-button:hover {
  background-color: #0056b3;
  text-decoration: none;
  transform: translateY(-2px);
}

.contact-image {
  flex: 1 1 300px;
}

.contact-img {
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
  background-color: #222;
  color: #ccc;
  padding: 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.footer-text {
  margin-bottom: 0.5rem;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.footer-link {
  color: #ccc;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #fff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-list {
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
  }

  .hero-heading {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .about-content, .contact-content {
    flex-direction: column;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav-list {
    justify-content: center;
    margin-top: 1rem;
  }
}