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

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

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

@media (max-width: 768px) {
  .page-resources .section-title {
    font-size: 28px;
  }
}

/* Hero Section */
.page-resources .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #2C3E50; /* Fallback for transparency */
}

.page-resources .hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-resources .hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-resources .hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-resources .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  color: #ffffff;
}

.page-resources .hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-resources .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-resources .cta-button:hover {
  background: #e68a00; /* Slightly darker orange */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .page-resources .hero-section {
    padding: 40px 15px;
  }
  .page-resources .hero-content h1 {
    font-size: 32px;
  }
  .page-resources .hero-content p {
    font-size: 16px;
  }
  .page-resources .hero-image img {
    border-radius: 4px;
  }
  .page-resources .cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
}

/* Intro Section */
.page-resources .intro-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-resources .intro-section p {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  font-size: 17px;
}

.page-resources .intro-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources .intro-cards .card {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

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

.page-resources .intro-cards .card h3 {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

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

.page-resources .intro-cards .card h3 a:hover {
  color: var(--secondary-color);
}

.page-resources .intro-cards .card p {
  font-size: 16px;
  color: #555555;
  margin-bottom: 25px;
}

.page-resources .intro-cards .card-button {
  display: inline-block;
  padding: 10px 25px;
  background-color: var(--primary-color);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 15px;
  transition: background-color 0.3s ease;
}

.page-resources .intro-cards .card-button:hover {
  background-color: #1a2734; /* Darker primary */
}

@media (max-width: 768px) {
  .page-resources .intro-cards .card {
    padding: 25px;
  }
  .page-resources .intro-cards .card h3 {
    font-size: 20px;
  }
  .page-resources .intro-cards .card p {
    font-size: 15px;
  }
}

/* Guide Section */
.page-resources .guide-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.page-resources .guide-section p {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 60px auto;
  font-size: 17px;
}

.page-resources .guide-item {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
  overflow: hidden;
}

.page-resources .guide-item:last-child {
  margin-bottom: 0;
}

.page-resources .guide-item img {
  width: 50%;
  height: 350px;
  object-fit: cover;
  display: block;
}

.page-resources .guide-content {
  width: 50%;
  padding: 40px;
}

.page-resources .guide-content h3 {
  font-size: 28px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.page-resources .guide-content p {
  text-align: left;
  font-size: 16px;
  color: #555555;
  margin-bottom: 30px;
}

.page-resources .guide-content p a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-resources .guide-content p a:hover {
  text-decoration: underline;
}

.page-resources .guide-button {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--secondary-color);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.page-resources .guide-button:hover {
  background-color: #e68a00;
}

.page-resources .guide-item.reverse {
  flex-direction: row-reverse;
}

@media (max-width: 992px) {
  .page-resources .guide-item {
    flex-direction: column;
  }
  .page-resources .guide-item img,
  .page-resources .guide-content {
    width: 100%;
  }
  .page-resources .guide-item.reverse {
    flex-direction: column;
  }
  .page-resources .guide-content {
    padding: 30px;
  }
  .page-resources .guide-content h3 {
    font-size: 24px;
  }
  .page-resources .guide-item img {
    height: 250px;
  }
}

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

.page-resources .strategy-section > p {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 60px auto;
  font-size: 17px;
}

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

.page-resources .strategy-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

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

.page-resources .strategy-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-resources .strategy-card h3 {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-resources .strategy-card p {
  font-size: 16px;
  color: #555555;
}

.page-resources .strategy-card p a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

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

/* FAQ Section */
.page-resources .faq-section {
  padding: 80px 0;
  background-color: #f0f2f5;
}

.page-resources .faq-section > p {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 60px auto;
  font-size: 17px;
}

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

.page-resources .faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-resources .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

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

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

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

.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: #ffffff;
  border-radius: 0 0 8px 8px;
  font-size: 16px;
  color: #555555;
}

.page-resources .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 15px 25px 25px 25px;
  border: 1px solid #e0e0e0;
  border-top: none;
}

.page-resources .faq-answer p {
  margin: 0;
}

.page-resources .faq-answer p a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-resources .faq-answer p a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .page-resources .faq-question {
    padding: 15px 20px;
  }
  .page-resources .faq-question h3 {
    font-size: 16px;
  }
  .page-resources .faq-toggle {
    font-size: 20px;
  }
  .page-resources .faq-answer {
    padding: 0 20px;
  }
  .page-resources .faq-item.active .faq-answer {
    padding: 10px 20px 20px 20px;
  }
}

/* Contact Section */
.page-resources .contact-section {
  padding: 80px 0;
  background-color: #2C3E50;
  color: #ffffff;
  text-align: center;
}

.page-resources .contact-section .section-title {
  color: #F39C12;
}

.page-resources .contact-section p {
  font-size: 18px;
  margin-bottom: 20px;
}

.page-resources .contact-info p {
  font-size: 20px;
  margin-bottom: 10px;
}

.page-resources .contact-info a {
  color: #F39C12;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources .contact-info a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Conclusion Section */
.page-resources .conclusion-section {
  padding: 80px 0;
  background-color: #ffffff;
  text-align: center;
}

.page-resources .conclusion-section p {
  font-size: 18px;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-resources .conclusion-section p a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-resources .conclusion-section p a:hover {
  text-decoration: underline;
}

.page-resources .conclusion-section .cta-button {
  margin-top: 20px;
}

/* General text styles for contrast */
.page-resources h1, .page-resources h2, .page-resources h3, .page-resources h4, .page-resources h5, .page-resources h6 {
  color: var(--primary-color); /* Ensure dark text on light backgrounds */
}

.page-resources p, .page-resources li {
  color: #333333; /* Ensure dark text on light backgrounds */
}

.page-resources .hero-content h1, .page-resources .hero-content p {
  color: #ffffff; /* Ensure light text on dark hero background */
}

.page-resources .contact-section p, .page-resources .contact-section .contact-info p {
  color: #ffffff; /* Ensure light text on dark contact background */
}

.page-resources .contact-section .section-title {
  color: var(--secondary-color); /* Bright title on dark background */
}

.page-resources .faq-question h3 {
  color: var(--primary-color); /* Dark text on light background */
}

.page-resources .faq-answer p {
  color: #555555; /* Dark text on light background */
}

.page-resources .faq-toggle {
  color: var(--secondary-color); /* Bright icon on light background */
}

.page-resources .faq-item.active .faq-toggle {
  color: var(--primary-color); /* Darker icon when active */
}