/* style/resources.css */
.page-resources {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0; /* Light gray for general text on dark background */
  background-color: #0F1D2C; /* Slightly lighter dark background than main #1A2E44 for contrast */
  line-height: 1.6;
}

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

.page-resources__hero {
  background: linear-gradient(135deg, #1A2E44, #0F1D2C);
  padding: 100px 0;
  text-align: center;
  color: #FFD700; /* Gold for hero title */
  position: relative;
  overflow: hidden;
}

.page-resources__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFD700;
}

.page-resources__hero-subtitle {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #C0C0C0; /* Lighter gray for subtitle */
}

.page-resources__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Gold for primary CTA */
  color: #1A2E44; /* Dark blue for text on gold */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-resources__cta-button:hover {
  background-color: #E5C100; /* Slightly darker gold on hover */
  transform: translateY(-3px);
}

.page-resources__cta-button .highlight-text {
  color: #1A2E44;
}

.page-resources__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold for section titles */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
}

.page-resources__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 60px;
  color: #C0C0C0;
}

.page-resources__introduction {
  padding: 80px 0;
  background-color: #1A2E44; /* Primary dark blue background */
}

.page-resources__intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.page-resources__intro-content p {
  margin-bottom: 20px;
  color: #E0E0E0;
}

.page-resources__intro-content strong {
  color: #FFD700;
}

.page-resources__intro-image {
  text-align: center;
}

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

.page-resources__secondary-cta-button {
  display: inline-block;
  background-color: #1A2E44; /* Dark blue for secondary CTA */
  color: #FFD700; /* Gold for text on dark blue */
  border: 2px solid #FFD700;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-top: 20px;
}

.page-resources__secondary-cta-button:hover {
  background-color: #FFD700;
  color: #1A2E44;
}

.page-resources__articles {
  padding: 80px 0;
  background-color: #0F1D2C;
}

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

.page-resources__article-card {
  background-color: #1A2E44;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  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 10px 20px rgba(0, 0, 0, 0.3);
}

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

.page-resources__article-card h3 {
  font-size: 1.4em;
  color: #FFD700;
  margin: 20px 20px 10px;
}

.page-resources__article-card h3 a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources__article-card h3 a:hover {
  color: #E5C100;
}

.page-resources__article-description {
  font-size: 0.95em;
  color: #C0C0C0;
  padding: 0 20px;
  flex-grow: 1;
}

.page-resources__read-more-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A2E44;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin: 20px;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

.page-resources__read-more-button:hover {
  background-color: #E5C100;
}

.page-resources__cta-banner {
  background-color: #1A2E44; /* Primary dark blue */
  padding: 80px 0;
  text-align: center;
}

.page-resources__banner-content {
  max-width: 800px;
  margin: 0 auto;
}

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

.page-resources__banner-description {
  font-size: 1.2em;
  color: #E0E0E0;
  margin-bottom: 40px;
}

.page-resources__banner-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-resources__cta-button--primary {
  background-color: #FFD700;
  color: #1A2E44;
}

.page-resources__cta-button--secondary {
  background-color: transparent;
  border: 2px solid #FFD700;
  color: #FFD700;
}

.page-resources__cta-button--secondary:hover {
  background-color: #FFD700;
  color: #1A2E44;
}

.page-resources__why-us {
  padding: 80px 0;
  background-color: #0F1D2C;
}

.page-resources__why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-resources__why-us-item {
  background-color: #1A2E44;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-resources__why-us-item img {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.page-resources__why-us-item h3 {
  color: #FFD700;
  font-size: 1.5em;
  margin-bottom: 15px;
}

.page-resources__why-us-item p {
  color: #C0C0C0;
  font-size: 0.95em;
}

.page-resources__faq {
  padding: 80px 0;
  background-color: #1A2E44;
}

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

.page-resources__faq-question {
  font-size: 1.3em;
  color: #FFD700;
  margin-bottom: 10px;
  cursor: pointer;
}

.page-resources__faq-answer {
  color: #E0E0E0;
  font-size: 1em;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.page-resources__faq-item.active .page-resources__faq-answer {
  max-height: 200px; /* Adjust based on content */
  transition: max-height 0.4s ease-in;
}

.page-resources__final-cta {
  padding: 80px 0;
  text-align: center;
  background-color: #0F1D2C;
}

.page-resources__final-cta .page-resources__section-title {
  margin-bottom: 20px;
}

.page-resources__final-cta .page-resources__section-description {
  margin-bottom: 40px;
}

.page-resources__cta-button--final {
  font-size: 1.2em;
  padding: 18px 40px;
}

.highlight {
  color: #FFD700;
}

/* Responsive Design */
@media (min-width: 768px) {
  .page-resources__intro-grid {
    grid-template-columns: 1fr 1fr;
  }
  .page-resources__cta-banner .page-resources__container {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
  }
  .page-resources__banner-content {
    flex: 1;
    margin: 0;
  }
  .page-resources__banner-image {
    flex: 1;
    text-align: right;
  }
  .page-resources__banner-buttons {
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  .page-resources__hero-title {
    font-size: 2.5em;
  }
  .page-resources__hero-subtitle {
    font-size: 1em;
  }
  .page-resources__section-title {
    font-size: 2em;
  }
  .page-resources__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-resources__banner-title {
    font-size: 2em;
  }
  .page-resources__banner-description {
    font-size: 1em;
  }
  .page-resources__banner-image {
    margin-top: 30px;
  }
  .page-resources__why-us-item {
    padding: 20px;
  }
}