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

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

.page-resources-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, #001a4e 100%);
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  position: relative;
  overflow: hidden;
}

.page-resources-hero-container {
  max-width: 900px;
  z-index: 1;
}

.page-resources-hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-resources-hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  opacity: 0.9;
}

.page-resources-cta-button {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 18px 45px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-cta-button:hover {
  background-color: #ffc400;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-resources-section {
  padding: 60px 0;
  background-color: #ffffff;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-resources-section:nth-child(even) {
  background-color: #fcfcfc;
}

.page-resources-section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-resources-section-subtitle {
  font-size: 1.2em;
  color: #555;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-introduction .page-resources-content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-resources-introduction .page-resources-image-wrapper {
  flex: 1;
  min-width: 400px;
}

.page-resources-introduction .page-resources-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-resources-introduction .page-resources-text-content {
  flex: 1;
}

.page-resources-introduction .page-resources-text-content p {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #444;
}

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

.page-resources-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-resources-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.page-resources-card-title {
  font-size: 1.5em;
  color: var(--primary-color);
  padding: 20px 20px 10px;
  font-weight: bold;
}

.page-resources-card-title a {
  color: inherit;
  text-decoration: none;
}

.page-resources-card-title a:hover {
  text-decoration: underline;
}

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

.page-resources-card-button {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 12px 25px;
  margin: 0 20px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-align: center;
}

.page-resources-card-button:hover {
  background-color: #ffc400;
  transform: translateY(-2px);
}

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

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

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--primary-color);
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #001a4e;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: inherit;
}

.faq-toggle {
  font-size: 24px;
  font-weight: bold;
  transition: transform 0.3s ease;
  color: var(--secondary-color);
}

.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;
  color: #444;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 20px 25px;
  border-top: 1px solid #e0e0e0;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: #ffffff;
}

.faq-answer p {
  margin: 0;
  font-size: 1.05em;
}

/* News Section */
.page-resources-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-resources-news-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.page-resources-news-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-resources-news-title {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-resources-news-title a {
  color: inherit;
  text-decoration: none;
}

.page-resources-news-title a:hover {
  text-decoration: underline;
}

.page-resources-news-date {
  font-size: 0.9em;
  color: #999;
  margin-bottom: 15px;
}

.page-resources-news-excerpt {
  font-size: 1em;
  color: #666;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-resources-news-link {
  display: inline-block;
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources-news-link:hover {
  color: #ffc400;
  text-decoration: underline;
}

/* Contact Section */
.page-resources-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-resources-contact-item {
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-contact-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-resources-contact-heading {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-resources-contact-text {
  font-size: 1.05em;
  margin-bottom: 25px;
  opacity: 0.9;
}

.page-resources-contact-button {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 12px 30px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-resources-contact-button:hover {
  background-color: #ffc400;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-hero-title {
    font-size: 2.8em;
  }
  .page-resources-hero-description {
    font-size: 1.1em;
  }
  .page-resources-introduction .page-resources-content-wrapper {
    flex-direction: column;
  }
  .page-resources-introduction .page-resources-image-wrapper {
    min-width: unset;
    width: 100%;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-resources-hero {
    padding: 60px 15px;
  }
  .page-resources-hero-title {
    font-size: 2.2em;
  }
  .page-resources-hero-description {
    font-size: 1em;
  }
  .page-resources-cta-button {
    padding: 15px 35px;
    font-size: 1em;
  }
  .page-resources-section {
    padding: 40px 0;
  }
  .page-resources-section-title {
    font-size: 2em;
  }
  .page-resources-section-subtitle {
    font-size: 1em;
  }
  .page-resources-card-grid, .page-resources-news-grid, .page-resources-contact-grid {
    grid-template-columns: 1fr;
  }
  .page-resources-card-image {
    height: 180px;
  }
  .page-resources-card-title, .page-resources-news-title {
    font-size: 1.3em;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
  .page-resources-contact-heading {
    font-size: 1.5em;
  }
}

@media (max-width: 480px) {
  .page-resources-hero-title {
    font-size: 1.8em;
  }
  .page-resources-hero-description {
    font-size: 0.9em;
  }
  .page-resources-cta-button {
    padding: 12px 25px;
    font-size: 0.9em;
  }
  .page-resources-section-title {
    font-size: 1.8em;
  }
  .page-resources-card-title, .page-resources-news-title {
    font-size: 1.2em;
  }
  .page-resources-card-description, .page-resources-news-excerpt, .page-resources-contact-text {
    font-size: 0.95em;
  }
}