/* style/resources.css */
.page-resources {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f8f8;
}

.page-resources__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-resources__hero-section {
  background: linear-gradient(135deg, #FF4500, #1E90FF);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.page-resources__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #fff;
}

.page-resources__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #eee;
}

.page-resources__hero-description a {
  color: #fff;
  text-decoration: underline;
}

.page-resources__hero-description a:hover {
  color: #ffd700;
}

.page-resources__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-resources__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 1em;
}

.page-resources__btn--primary {
  background-color: #FF4500;
  color: #fff;
}

.page-resources__btn--primary:hover {
  background-color: #e63e00;
  transform: translateY(-2px);
}

.page-resources__btn--secondary {
  background-color: #1E90FF;
  color: #fff;
}

.page-resources__btn--secondary:hover {
  background-color: #1a7bdc;
  transform: translateY(-2px);
}

.page-resources__content-section {
  padding: 60px 0;
}

.page-resources__section-title {
  font-size: 2.5em;
  color: #FF4500;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-resources__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #1E90FF;
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-resources__text-content {
  font-size: 1.1em;
  text-align: justify;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #555;
}

.page-resources__text-content a {
  color: #1E90FF;
  text-decoration: none;
  font-weight: bold;
}

.page-resources__text-content a:hover {
  text-decoration: underline;
}

.page-resources__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-resources__grid-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-resources__grid-item:hover {
  transform: translateY(-10px);
}

.page-resources__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-resources__feature-title {
  font-size: 1.5em;
  color: #FF4500;
  margin-bottom: 15px;
}

.page-resources__feature-text {
  font-size: 1em;
  color: #666;
  text-align: justify;
}

.page-resources__feature-text a {
  color: #1E90FF;
  text-decoration: none;
  font-weight: bold;
}

.page-resources__feature-text a:hover {
  text-decoration: underline;
}

.page-resources__article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.page-resources__article-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.page-resources__article-card:hover {
  transform: translateY(-10px);
}

.page-resources__article-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-resources__article-content {
  padding: 25px;
}

.page-resources__article-title {
  font-size: 1.4em;
  margin-bottom: 15px;
}

.page-resources__article-title a {
  color: #FF4500;
  text-decoration: none;
  font-weight: bold;
}

.page-resources__article-title a:hover {
  text-decoration: underline;
  color: #e63e00;
}

.page-resources__article-summary {
  font-size: 0.95em;
  color: #666;
  margin-bottom: 20px;
}

.page-resources__btn--small {
  padding: 8px 18px;
  font-size: 0.9em;
  background-color: #1E90FF;
  color: #fff;
}

.page-resources__btn--small:hover {
  background-color: #1a7bdc;
}

.page-resources__cta-section {
  background-color: #333;
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.page-resources__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FF4500;
}

.page-resources__cta-description {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #eee;
}

.page-resources__cta-description a {
  color: #1E90FF;
  text-decoration: underline;
  font-weight: bold;
}

.page-resources__cta-description a:hover {
  color: #ffd700;
}

.page-resources__cta-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-resources__hero-title {
    font-size: 2.5em;
  }
  .page-resources__section-title {
    font-size: 2em;
  }
  .page-resources__cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-resources__hero-title {
    font-size: 2em;
  }
  .page-resources__hero-description {
    font-size: 1em;
  }
  .page-resources__hero-actions,
  .page-resources__cta-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources__btn {
    width: 80%;
    margin: 0 auto;
  }
  .page-resources__section-title {
    font-size: 1.8em;
  }
  .page-resources__grid,
  .page-resources__article-grid {
    grid-template-columns: 1fr;
  }
  .page-resources__grid-item,
  .page-resources__article-card {
    margin: 0 10px;
  }
  .page-resources__cta-title {
    font-size: 1.8em;
  }
  .page-resources__cta-description {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-resources__hero-title {
    font-size: 1.8em;
  }
  .page-resources__section-title {
    font-size: 1.5em;
  }
  .page-resources__cta-title {
    font-size: 1.5em;
  }
  .page-resources__btn {
    width: 90%;
  }
  .page-resources__hero-section,
  .page-resources__content-section,
  .page-resources__cta-section {
    padding: 40px 0;
  }
  .page-resources__container {
    padding: 0 15px;
  }
}