/* style/resources.css */
.page-resources {
  font-family: 'Arial', sans-serif;
  color: #f8f9fa; /* Light text for dark background */
  background-color: #1a1a2e; /* Dark background */
}

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

.page-resources__hero {
  background: linear-gradient(135deg, #007BFF, #0056b3); /* Main color gradient */
  padding: 100px 0;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-resources__hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at top left, rgba(255, 193, 7, 0.2), rgba(0, 123, 255, 0)); /* Subtle accent glow */
  z-index: 0;
  opacity: 0.3;
}

.page-resources__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  color: #ffffff;
  position: relative;
  z-index: 1;
}

.page-resources__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #e0e0e0;
  position: relative;
  z-index: 1;
}

.page-resources__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1.1em;
  margin: 10px;
}

.page-resources__btn--primary {
  background-color: #FFC107; /* Accent color */
  color: #1a1a2e; /* Dark text for accent background */
}

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

.page-resources__section {
  padding: 60px 0;
}

.page-resources__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #007BFF; /* Main color */
  font-weight: bold;
}

.page-resources__section-subtitle {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 50px;
  color: #bbb;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources__introduction .page-resources__content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  text-align: justify;
}

.page-resources__introduction p {
  font-size: 1.05em;
  line-height: 1.8;
  color: #e0e0e0;
  max-width: 900px;
}

.page-resources__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources__image--full-width {
  width: 100%;
  margin-top: 30px;
}

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

.page-resources__article-card {
  background-color: #2a2a4a; /* Slightly lighter dark background */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-resources__article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-resources__article-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #3a3a5a;
}

.page-resources__article-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

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

.page-resources__article-title a {
  color: #007BFF; /* Main color for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources__article-title a:hover {
  color: #4da3ff; /* Lighter main color on hover */
}

.page-resources__article-category {
  font-size: 0.9em;
  color: #FFC107; /* Accent color */
  margin-bottom: 10px;
  text-transform: uppercase;
}

.page-resources__article-summary {
  font-size: 1em;
  line-height: 1.6;
  color: #c0c0c0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-resources__btn--secondary {
  background-color: #007BFF; /* Main color */
  color: #ffffff;
  padding: 10px 20px;
  font-size: 1em;
  align-self: flex-start;
}

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

.page-resources__cta {
  background-color: #1f1f3f; /* Darker background for CTA */
  text-align: center;
  padding: 80px 0;
}

.page-resources__btn--tertiary {
  background-color: transparent;
  border: 2px solid #007BFF;
  color: #007BFF;
}

.page-resources__btn--tertiary:hover {
  background-color: #007BFF;
  color: #ffffff;
  transform: translateY(-2px);
}

.page-resources__faq {
  background-color: #1a1a2e;
}

.page-resources__faq-item {
  background-color: #2a2a4a;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-resources__faq-question {
  font-size: 1.3em;
  color: #FFC107; /* Accent color */
  margin-bottom: 10px;
}

.page-resources__faq-answer {
  font-size: 1em;
  line-height: 1.7;
  color: #c0c0c0;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-resources__hero-title {
    font-size: 2.8em;
  }
  .page-resources__section-title {
    font-size: 2em;
  }
  .page-resources__article-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-resources__hero {
    padding: 80px 0;
  }
  .page-resources__hero-title {
    font-size: 2.2em;
  }
  .page-resources__hero-description {
    font-size: 1.1em;
  }
  .page-resources__section {
    padding: 40px 0;
  }
  .page-resources__section-title {
    font-size: 1.8em;
  }
  .page-resources__article-content {
    padding: 20px;
  }
  .page-resources__article-title {
    font-size: 1.3em;
  }
  .page-resources__btn {
    padding: 12px 25px;
    font-size: 1em;
  }
}

@media (max-width: 576px) {
  .page-resources__hero {
    padding: 60px 0;
  }
  .page-resources__hero-title {
    font-size: 1.8em;
  }
  .page-resources__hero-description {
    font-size: 1em;
  }
  .page-resources__section {
    padding: 30px 0;
  }
  .page-resources__section-title {
    font-size: 1.5em;
  }
  .page-resources__article-grid {
    grid-template-columns: 1fr;
  }
  .page-resources__btn {
    display: block;
    width: calc(100% - 20px);
    margin: 10px auto;
  }
  .page-resources__introduction .page-resources__content-wrapper {
    text-align: left;
  }
}