.page-resources {
  --primary-color: #007bff;
  --secondary-color: #ffc107;
  --text-color: #333;
  --light-text-color: #fff;
  --background-light: #f8f9fa;
  --background-dark: #343a40;
  --card-bg: #ffffff;
  --border-color: #e0e0e0;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
}

.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: var(--background-light);
}

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

.page-resources .main-title {
  font-size: 3.2em;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-resources .section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.page-resources .section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.page-resources .description,
.page-resources .section-description {
  font-size: 1.15em;
  color: #555;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-resources .cta-button:hover {
  background: #e0ac00; /* Slightly darker secondary color */
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-resources .secondary-button {
  background: var(--primary-color);
}

.page-resources .secondary-button:hover {
  background: #0056b3; /* Slightly darker primary color */
}

/* Intro Section */
.page-resources .intro-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
  color: var(--light-text-color);
  padding: 80px 0;
}

.page-resources .intro-section .main-title {
  color: var(--light-text-color);
}

.page-resources .intro-section .description {
  color: rgba(255, 255, 255, 0.9);
}

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

.page-resources .card {
  background-color: var(--card-bg);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: left;
  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 10px 30px rgba(0, 0, 0, 0.15);
}

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

.page-resources .card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-resources .card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-resources .card-link {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources .card-link:hover {
  color: var(--secondary-color);
}

.page-resources .card-text {
  font-size: 1em;
  color: #666;
  margin-bottom: 20px;
}

.page-resources .card-button {
  display: inline-block;
  padding: 10px 25px;
  background: var(--secondary-color);
  color: var(--light-text-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.95em;
  font-weight: bold;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

.page-resources .card-button:hover {
  background: #e0ac00;
}

.page-resources .more-guides,
.page-resources .more-strategies {
  margin-top: 40px;
  font-size: 1.1em;
  color: #555;
}

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

.page-resources .strategy-item {
  background-color: var(--card-bg);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

.page-resources .strategy-title {
  font-size: 1.6em;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-resources .strategy-link {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources .strategy-link:hover {
  color: var(--secondary-color);
}

.page-resources .strategy-text {
  font-size: 1.05em;
  color: #666;
  margin-bottom: 15px;
}

.page-resources .strategy-read-more {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources .strategy-read-more:hover {
  color: var(--secondary-color);
}

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

.page-resources .article-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

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

.page-resources .article-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-resources .article-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-resources .article-link {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources .article-link:hover {
  color: var(--secondary-color);
}

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

.page-resources .article-excerpt {
  font-size: 1em;
  color: #666;
  margin-bottom: 20px;
}

.page-resources .article-read-more {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  align-self: flex-start;
}

.page-resources .article-read-more:hover {
  color: var(--secondary-color);
}

/* FAQ Section */
.page-resources .faq-section {
  background-color: var(--background-light);
}

.page-resources .faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-resources .faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

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

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

.page-resources .faq-question h3 {
  margin: 0;
  font-size: 1.25em;
  color: var(--primary-color);
}

.page-resources .faq-toggle {
  font-size: 2em;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
  line-height: 1;
}

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

.page-resources .faq-answer p {
  margin: 0;
  padding: 20px 0;
  font-size: 1.05em;
  color: #444;
}

.page-resources .faq-item.active .faq-answer {
  max-height: 500px; /* Enough height to contain content */
  padding: 10px 25px 20px;
}

.page-resources .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--primary-color);
}

/* Contact CTA Section */
.page-resources .contact-cta-section {
  background: linear-gradient(135deg, #0056b3 0%, var(--primary-color) 100%);
  color: var(--light-text-color);
  padding: 80px 0;
}

.page-resources .contact-cta-section .section-title {
  color: var(--light-text-color);
}

.page-resources .contact-cta-section .section-title::after {
  background-color: var(--secondary-color);
}

.page-resources .contact-cta-section .description {
  color: rgba(255, 255, 255, 0.9);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-resources .main-title {
    font-size: 2.8em;
  }
  .page-resources .section-title {
    font-size: 2em;
  }
  .page-resources .description,
  .page-resources .section-description {
    font-size: 1.05em;
  }
  .page-resources .strategy-item {
    flex-direction: column;
  }
  .page-resources .strategy-image {
    width: 100%;
    height: 250px;
  }
}

@media (max-width: 768px) {
  .page-resources section {
    padding: 40px 0;
  }
  .page-resources .main-title {
    font-size: 2.2em;
  }
  .page-resources .section-title {
    font-size: 1.8em;
  }
  .page-resources .cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-resources .guide-cards,
  .page-resources .news-articles {
    grid-template-columns: 1fr;
  }
  .page-resources .card-title,
  .page-resources .article-title {
    font-size: 1.3em;
  }
  .page-resources .strategy-title {
    font-size: 1.4em;
  }
  .page-resources .faq-question {
    padding: 15px 20px;
  }
  .page-resources .faq-question h3 {
    font-size: 1.1em;
  }
  .page-resources .faq-answer p {
    font-size: 0.95em;
  }
  .page-resources .faq-item.active .faq-answer {
    padding: 10px 20px 15px;
  }
}

@media (max-width: 480px) {
  .page-resources .main-title {
    font-size: 1.8em;
  }
  .page-resources .section-title {
    font-size: 1.6em;
  }
  .page-resources .description,
  .page-resources .section-description {
    font-size: 0.95em;
  }
  .page-resources .card-content,
  .page-resources .article-content,
  .page-resources .strategy-content {
    padding: 15px;
  }
  .page-resources .card-title,
  .page-resources .article-title {
    font-size: 1.1em;
  }
  .page-resources .strategy-title {
    font-size: 1.2em;
  }
  .page-resources .card-text,
  .page-resources .article-excerpt,
  .page-resources .strategy-text {
    font-size: 0.9em;
  }
  .page-resources .faq-question h3 {
    font-size: 1em;
  }
  .page-resources .faq-toggle {
    font-size: 1.5em;
  }
}