/* Hero Section */
.resources-hero {
    position: relative;
    height: 60vh;
    background: url('../assets/resources-hero.jpg') center center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
  }
  
  .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.hero-content {
    margin-top: 60px;
}
.hero-content h1 {
    font-size: 2.4rem;
    margin-bottom: 10px;
  }
  
  .hero-content p {
    font-size: 1.4rem;
    line-height: 1.6;
    color: #f2f2f2;
  }
        

  
  
  
/* Articles Section */
.resource-articles {
  background-color: #F4F7F6;
  padding: 80px 0 60px;
  text-align: center;
}

.resource-articles h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #065535;
  margin-bottom: 40px;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.resource-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
}

.resource-card h3 {
  font-size: 1.3rem;
  color: #065535;
  margin-bottom: 10px;
  padding: 0 10px;
  text-align: center;
}

.resource-card p {
  font-size: 1rem;
  color: #555;
  padding: 0 10px;
  text-align: center;
}

.read-more {
  display: inline-block;
  margin-top: 15px;
  color: #065535;
  font-weight: 600;
  text-decoration: none;
}

.read-more:hover {
  text-decoration: underline;
}




.resource-downloads {
  background-color: #F4F7F6;
  padding: 80px 0 80px;
  text-align: center;
}

.resource-downloads h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #065535;
  margin-bottom: 30px;
}

.download-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto;
}

.download-list li {
  margin-bottom: 20px;
}

.download-list a {
  display: inline-block;
  background-color: #ffffff;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.05);
  color: #065535;
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.download-list a:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}
.resource-card {
    display: block;
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: inherit;
    text-decoration: none;
  }
  
  .resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  }
  
  .resource-tag {
    background-color: #E6F3EB;
    color: #065535;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 15px;
  }
  
  .read-more {
    display: inline-block;
    margin-top: 15px;
    color: #065535;
    font-weight: 600;
    font-size: 0.95rem;
  }
  @media (max-width: 768px) {
    .resources-subtitle {
      font-size: 1.1rem;
      line-height: 1.3;
      max-width: 320px;
      margin: 0 auto 1.5rem;
      text-align: center;
    }
  }
  .slide-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
  }
  
  .slide-up.visible {
    opacity: 1;
    transform: translateY(0);
  }
  @media (max-width: 768px) {
    .resources-subtitle {
      font-size: 1rem;
      line-height: 1.2;
      max-width: 280px;
      margin: 0 auto;
      text-align: center;
      padding: 0 10px;
    }
  }
  .hero-content {
    position: relative;
    top: 20%;
    text-align: center;
    width: 100%;
  }
  .hero-content {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}
.resources-subtitle {
  font-size: 1.4rem;
  line-height: 1.6;
  color: #f2f2f2;
  margin: 0 auto;
  max-width: 600px;
  padding: 0 20px;
}
