.page-resources {
  font-family: 'Arial', sans-serif;
  color: #333333;
  line-height: 1.6;
  background-color: #f4f7f6;
}

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

.page-resources-section {
  padding: 60px 0;
  text-align: center;
}

.page-resources-section:nth-of-type(odd) {
  background-color: #e9ecef;
}

.page-resources-section h1,
.page-resources-section h2 {
  color: #0A2342;
  margin-bottom: 25px;
  font-size: 2.5em;
  font-weight: bold;
}

.page-resources-section h3 {
  color: #0A2342;
  font-size: 1.5em;
  margin-bottom: 15px;
}

.page-resources-section p {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 20px;
}

/* Buttons */
.page-resources-btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.page-resources-btn-primary {
  background-color: #FFD700;
  color: #0A2342;
}

.page-resources-btn-primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-resources-btn-secondary {
  background-color: #0A2342;
  color: #FFD700;
}

.page-resources-btn-secondary:hover {
  background-color: #071930;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-resources-btn-sm {
  padding: 8px 15px;
  font-size: 0.9em;
}

.page-resources-btn-lg {
  padding: 18px 35px;
  font-size: 1.2em;
}

/* Hero Banner */
.page-resources-hero-banner {
  background: linear-gradient(135deg, #0A2342 0%, #1a3a60 100%);
  padding: 80px 0;
  color: #ffffff;
  text-align: center;
}

.page-resources-hero-banner .page-resources-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-resources-hero-content h1 {
  color: #FFD700;
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-resources-hero-content p {
  font-size: 1.3em;
  color: #e0e0e0;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-resources-hero-image {
  width: 100%;
  max-width: 800px;
}

.page-resources-hero-image .page-resources-img-fluid {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Grid for Cards */
.page-resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-resources-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-resources-card h3 {
  padding: 20px 20px 10px 20px;
  margin: 0;
  font-size: 1.4em;
  line-height: 1.3;
}

.page-resources-card-link {
  text-decoration: none;
  color: #0A2342;
  transition: color 0.3s ease;
}

.page-resources-card-link:hover {
  color: #FFD700;
}

.page-resources-card p {
  padding: 0 20px 20px 20px;
  font-size: 1em;
  color: #666666;
  flex-grow: 1;
}

.page-resources-card .page-resources-btn {
  margin: 0 20px 20px 20px;
  width: calc(100% - 40px);
  text-align: center;
}

/* Article List */
.page-resources-article-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 40px;
}

.page-resources-article-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: left;
  display: flex;
  flex-direction: row;
}

.page-resources-article-img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  flex-shrink: 0;
}

.page-resources-article-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-resources-article-content h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.3em;
}

.page-resources-article-link {
  text-decoration: none;
  color: #0A2342;
  transition: color 0.3s ease;
}

.page-resources-article-link:hover {
  color: #FFD700;
}

.page-resources-article-content p {
  font-size: 0.95em;
  color: #666666;
  margin-bottom: 15px;
}

/* FAQ Section */
.page-resources-faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-resources-faq-list .faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background-color: #ffffff;
  overflow: hidden;
}

.page-resources-faq-list .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-resources-faq-list .faq-question:hover {
  background-color: #f5f5f5;
}

.page-resources-faq-list .faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #0A2342;
  text-align: left;
}

.page-resources-faq-list .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFD700;
  transition: transform 0.3s ease;
}

.page-resources-faq-list .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: #0A2342;
}

.page-resources-faq-list .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background-color: #f9f9f9;
  border-top: 1px solid #e0e0e0;
}

.page-resources-faq-list .faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding: 20px 25px;
}

.page-resources-faq-list .faq-answer p {
  margin: 0;
  color: #555555;
  font-size: 1em;
  text-align: left;
}

/* CTA Section */
.page-resources-section-cta {
  background-color: #0A2342;
  color: #ffffff;
  padding: 80px 0;
}

.page-resources-cta-content h2 {
  color: #FFD700;
  font-size: 2.8em;
}

.page-resources-cta-content p {
  color: #e0e0e0;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-resources-text-center {
    text-align: center;
}

.page-resources-mt-40 {
    margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-resources-hero-content h1 {
    font-size: 2.5em;
  }
  .page-resources-hero-content p {
    font-size: 1.1em;
  }
  .page-resources-article-item {
    flex-direction: column;
  }
  .page-resources-article-img {
    width: 100%;
    height: 250px;
  }
}

@media (max-width: 768px) {
  .page-resources-section {
    padding: 40px 0;
  }
  .page-resources-section h1,
  .page-resources-section h2 {
    font-size: 2em;
  }
  .page-resources-section h3 {
    font-size: 1.3em;
  }
  .page-resources-hero-banner {
    padding: 60px 0;
  }
  .page-resources-hero-content h1 {
    font-size: 2em;
  }
  .page-resources-hero-content p {
    font-size: 1em;
  }
  .page-resources-grid {
    grid-template-columns: 1fr;
  }
  .page-resources-article-content h3 {
    font-size: 1.1em;
  }
  .page-resources-faq-list .faq-question {
    padding: 15px 20px;
  }
  .page-resources-faq-list .faq-question h3 {
    font-size: 1em;
  }
  .page-resources-faq-list .faq-toggle {
    font-size: 20px;
  }
  .page-resources-faq-list .faq-answer {
    padding: 15px 20px;
  }
  .page-resources-cta-content h2 {
    font-size: 2em;
  }
  .page-resources-cta-content p {
    font-size: 1em;
  }
  .page-resources-btn-lg {
    padding: 15px 30px;
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page-resources-container {
    padding: 0 15px;
  }
  .page-resources-section h1,
  .page-resources-section h2 {
    font-size: 1.8em;
  }
  .page-resources-card h3 {
    font-size: 1.2em;
  }
  .page-resources-article-img {
    height: 180px;
  }
  .page-resources-article-content h3 {
    font-size: 1em;
  }
  .page-resources-faq-list .faq-question h3 {
    font-size: 0.9em;
  }
  .page-resources-cta-content h2 {
    font-size: 1.8em;
  }
}