/* Smaller screens (below 768px) */
@media (max-width: 768px) {
  /* Hero */
  .hero {
    padding: 60px 20px;
    min-height: 300px;
    background-color: #e6f3f5; /* Updated background color */
  }
  .hero-title {
    font-size: 1.8rem;
    color: #ffffff; /* force white text color on small screens */
  }
  .hero-subtitle {
    font-size: 1rem;
    color: #ffffff; /* Updated color */
  }
  .hero-btn {
    padding: 10px 20px;
    font-size: 1rem;
    background-color: #b0d2da; /* Updated background color */
    color: #2f484a; /* Updated color */
  }
  /* About Mission */
  .about-mission {
    padding: 30px 20px;
    background-color: #e6f3f5; /* Updated background color */
  }
  .section-title {
    font-size: 1.5rem;
    color: #6fa3a4; /* Updated color */
  }
  .mission-text {
    font-size: 1rem;
    color: #4b6e72; /* Updated color */
  }
  /* Pillars */
  .pillar-card {
    margin-bottom: 20px;
  }
  .pillar-btn {
    background-color: #b0d2da; /* Updated background color */
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.1rem;
    transition: background-color 0.3s;
    display: block;
    text-align: center;
    font-family: "Raleway", sans-serif;
    border: none;
    cursor: pointer;
    margin: 20px auto;
  }

  .pillar-btn:hover {
    background-color: #9bc6cc; /* Darker variant of updated color */
  }
  /* Resources */
  .resource-grid {
    grid-template-columns: 1fr;
  }
  .resource-img {
    height: 120px;
  }
  /* Topics */
  .topics-grid {
    grid-template-columns: 1fr;
  }
  .topics-img {
    height: 120px;
  }
  /* CTA */
  .cta-form {
    flex-direction: column;
    align-items: center;
  }
  .cta-input {
    width: 100%;
    margin-bottom: 10px;
    box-sizing: border-box;
    background-color: #e6f3f5; /* Updated background color */
    color: #4b6e72; /* Updated color */
    font-family: "Open Sans", sans-serif;
  }

  /* Parallax÷ */

  .parallax__header {
    min-height: 45svh;
    padding: 20px;
  }

  .parallax__layer-title {
    align-items: flex-start;
  }

  .parallax__title {
    margin-top: 10%;
  }
}

/* Medium screens (768px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .resource-grid,
  .topics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero {
    min-height: 350px;
  }
}

/* Larger screens (above 1200px) */
@media (min-width: 1200px) {
  .hero {
    min-height: 500px;
  }
  .hero-title {
    font-size: 6.75rem;
    color: #ffffff;
  }
  .hero-subtitle {
    font-size: 1.5rem;
    color: #ffffff; /* Updated color */
  }
  .section-title {
    font-size: 2.5rem;
    color: #6fa3a4; /* Updated color */
  }
}
