/* Hero Section Styling */
.hero-section {
  background-image: url("images/hero.jpg");
  background-size: cover;
  background-position: center;
  height: 70vh;
  color: #ffffff;
}

.hero-section .container {
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: center;
  height: 100%;
  text-align: center;
}

.hero-section h1 {
  font-family: "Cinzel", serif;
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: 10px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.hero-section p {
  font-size: 1.25rem;
  color: #ffffff;
  opacity: 0.85;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
}

/* About Section Styling */
.about-section h2 {
  font-size: 1.75rem;
  color: var(--secondary-color); /* Dark purple */
  margin-bottom: 15px;
}

.about-section p {
  color: var(--primary-color); /* Midnight blue */
  font-size: 1rem;
  line-height: 1.6;
}

/* Services Section Styling */
.services-section h2 {
  font-size: 1.75rem;
  color: var(--secondary-color); /* Dark purple */
  margin-bottom: 15px;
}

.services-section p {
  color: var(--primary-color); /* Midnight blue */
}

.services-section ul {
  padding-left: 1.5rem;
}

.services-section ul li {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--primary-color); /* Midnight blue */
  margin-bottom: 0.5rem;
}

.services-section ul li strong {
  font-family: "Cinzel", serif;
  color: var(--primary-color); /* Midnight blue */
  font-size: 1.1rem;
}

/* Charity Section Styling */
.charity-section h2 {
  font-size: 1.75rem;
  color: var(--secondary-color); /* Dark purple */
  margin-bottom: 15px;
}

.charity-section p {
  color: var(--primary-color); /* Midnight blue */
  font-size: 1rem;
  line-height: 1.6;
}

/* Small screens (phones in portrait) */
@media (max-width: 576px) and (orientation: portrait) {
  .hero-section {
    height: 50vh;
    padding: 1rem;
    background-position: center top;
  }

  .hero-section h1 {
    font-size: 1.8rem;
    margin-bottom: 8px;
  }

  .hero-section p {
    font-size: 1rem;
    padding: 0 10px;
  }

  .about-section h2,
  .services-section h2,
  .charity-section h2 {
    font-size: 1.5rem;
  }

  .about-section p,
  .services-section p,
  .services-section ul li,
  .charity-section p {
    font-size: 0.9rem;
    line-height: 1.4;
  }
}

/* Small screens (phones in landscape) */
@media (max-width: 576px) and (orientation: landscape) {
  .hero-section {
    height: 40vh;
    padding: 0.5rem;
    background-position: center top;
  }

  .hero-section h1 {
    font-size: 1.6rem;
    margin-bottom: 6px;
  }

  .hero-section p {
    font-size: 0.9rem;
    padding: 0 8px;
  }

  .about-section h2,
  .services-section h2,
  .charity-section h2 {
    font-size: 1.4rem;
  }

  .about-section p,
  .services-section p,
  .services-section ul li,
  .charity-section p {
    font-size: 0.85rem;
    line-height: 1.3;
  }
}

/* Medium screens (larger phones and small tablets in portrait) */
@media (max-width: 768px) and (orientation: portrait) {
  .hero-section {
    height: 60vh;
    padding: 1.5rem;
  }

  .hero-section h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
  }

  .hero-section p {
    font-size: 1.1rem;
    padding: 0 20px;
  }

  .about-section h2,
  .services-section h2,
  .charity-section h2 {
    font-size: 1.6rem;
  }

  .about-section p,
  .services-section p,
  .services-section ul li,
  .charity-section p {
    font-size: 1rem;
    line-height: 1.5;
  }
}

/* Medium screens (larger phones and small tablets in landscape) */
@media (max-width: 768px) and (orientation: landscape) {
  .hero-section {
    height: 50vh;
    padding: 1rem;
  }

  .hero-section h1 {
    font-size: 2rem;
    margin-bottom: 8px;
  }

  .hero-section p {
    font-size: 1rem;
    padding: 0 15px;
  }

  .about-section h2,
  .services-section h2,
  .charity-section h2 {
    font-size: 1.5rem;
  }

  .about-section p,
  .services-section p,
  .services-section ul li,
  .charity-section p {
    font-size: 0.95rem;
    line-height: 1.4;
  }
}

/* Large screens (tablets and small laptops in portrait) */
@media (max-width: 992px) and (orientation: portrait) {
  .hero-section {
    height: 65vh;
    padding: 2rem;
  }

  .hero-section h1 {
    font-size: 2.5rem;
    margin-bottom: 12px;
  }

  .hero-section p {
    font-size: 1.2rem;
    padding: 0 30px;
  }

  .about-section h2,
  .services-section h2,
  .charity-section h2 {
    font-size: 1.75rem;
  }

  .about-section p,
  .services-section p,
  .services-section ul li,
  .charity-section p {
    font-size: 1.1rem;
    line-height: 1.6;
  }
}

/* Large screens (tablets and small laptops in landscape) */
@media (max-width: 992px) and (orientation: landscape) {
  .hero-section {
    height: 60vh;
    padding: 1.5rem;
  }

  .hero-section h1 {
    font-size: 2.3rem;
    margin-bottom: 10px;
  }

  .hero-section p {
    font-size: 1.1rem;
    padding: 0 25px;
  }

  .about-section h2,
  .services-section h2,
  .charity-section h2 {
    font-size: 1.65rem;
  }

  .about-section p,
  .services-section p,
  .services-section ul li,
  .charity-section p {
    font-size: 1rem;
    line-height: 1.5;
  }
}
