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

.page-resources h1, .page-resources h2, .page-resources h3 {
  color: #1A237E; /* Primary color */
  margin-bottom: 15px;
}

.page-resources h1 {
  font-size: 2.8em;
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.page-resources h2 {
  font-size: 2.2em;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 10px;
}

.page-resources h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700; /* Secondary color */
  border-radius: 2px;
}

.page-resources h3 {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.page-resources a {
  color: #1A237E;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources a:hover {
  color: #FFD700;
  text-decoration: underline;
}

.page-resources__section {
  max-width: 1200px;
  margin: 0 auto 60px auto;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-resources__banner {
  position: relative;
  width: 100%;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 60px;
  background: linear-gradient(135deg, #1A237E, #3F51B5);
}

.page-resources__banner-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.3;
}

.page-resources__banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  max-width: 800px;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
}

.page-resources__banner-content h1 {
  color: #FFD700;
  font-size: 3.5em;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-resources__banner-content p {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-resources__cta-button {
  display: inline-block;
  padding: 15px 35px;
  background: #FFD700; /* Secondary color */
  color: #1A237E; /* Primary color */
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-resources__cta-button:hover {
  background: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-resources__section p {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.1em;
  color: #555555;
}

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

.page-resources__card, .page-resources__link-item {
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-resources__card-image, .page-resources__link-icon {
  width: 100%;
  max-width: 300px; /* Ensure images are not too small */
  height: 200px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 20px;
}

.page-resources__card h3, .page-resources__link-item h3 {
  font-size: 1.3em;
  margin-bottom: 10px;
}

.page-resources__card h3 a, .page-resources__link-item h3 a {
  color: #1A237E;
}

.page-resources__card p, .page-resources__link-item p {
  font-size: 0.95em;
  color: #666666;
  flex-grow: 1;
  text-align: left;
}

.page-resources__card-link {
  display: inline-block;
  padding: 10px 20px;
  background-color: #1A237E; /* Primary color */
  color: #ffffff;
  border-radius: 5px;
  margin-top: 15px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-resources__card-link:hover {
  background-color: #3F51B5;
  text-decoration: none;
}

.page-resources__strategy-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-resources__strategy-list li {
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
  padding: 25px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources__strategy-list li:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-resources__list-icon {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
  border: 3px solid #FFD700;
}

.page-resources__strategy-list li h3 {
  margin-top: 0;
  font-size: 1.4em;
}

.page-resources__strategy-list li p {
  text-align: left;
  font-size: 1em;
  color: #666666;
  margin-bottom: 0;
}

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

.page-resources__glossary-item {
  background-color: #f9f9f9;
  border-left: 5px solid #1A237E; /* Primary color */
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.page-resources__glossary-item:hover {
  transform: translateX(5px);
}

.page-resources__glossary-item h3 {
  font-size: 1.2em;
  margin-top: 0;
  color: #1A237E;
}

.page-resources__glossary-item p {
  font-size: 0.95em;
  color: #666666;
  text-align: left;
  margin-bottom: 0;
}

/* FAQ Section Styling */
.page-resources__faq-container {
  max-width: 900px;
  margin: 30px auto;
}

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

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

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

.page-resources .faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #1A237E;
}

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

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

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

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

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

.page-resources__final-cta {
  text-align: center;
  font-size: 1.3em;
  font-weight: bold;
  margin-top: 50px;
  color: #1A237E;
}

.page-resources__final-cta a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources__final-cta a:hover {
  color: #e6c200;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-resources__banner-content h1 {
    font-size: 2.8em;
  }
  .page-resources h1 {
    font-size: 2.2em;
  }
  .page-resources h2 {
    font-size: 1.8em;
  }
  .page-resources__guide-cards, .page-resources__link-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-resources__strategy-list li {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .page-resources__list-icon {
    margin-bottom: 15px;
  }
  .page-resources__strategy-list li p {
    text-align: center;
  }
  .page-resources__glossary-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-resources__banner {
    min-height: 300px;
  }
  .page-resources__banner-content h1 {
    font-size: 2.2em;
  }
  .page-resources__banner-content p {
    font-size: 1em;
  }
  .page-resources__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-resources h1 {
    font-size: 1.8em;
  }
  .page-resources h2 {
    font-size: 1.6em;
  }
  .page-resources h3 {
    font-size: 1.3em;
  }
  .page-resources__section {
    margin-bottom: 40px;
    padding: 15px;
  }
  .page-resources__card, .page-resources__link-item {
    padding: 20px;
  }
  .page-resources__card-image, .page-resources__link-icon {
    height: 150px;
    max-width: 250px;
  }
  .page-resources .faq-question {
    padding: 15px 20px;
  }
  .page-resources .faq-question h3 {
    font-size: 1.1em;
  }
  .page-resources .faq-toggle {
    font-size: 1.5em;
  }
  .page-resources .faq-answer {
    padding: 0 20px;
  }
  .page-resources .faq-item.active .faq-answer {
    padding: 10px 20px 20px 20px;
  }
}

@media (max-width: 480px) {
  .page-resources__banner {
    min-height: 250px;
  }
  .page-resources__banner-content h1 {
    font-size: 1.8em;
  }
  .page-resources__banner-content p {
    font-size: 0.9em;
  }
  .page-resources__cta-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-resources h1 {
    font-size: 1.5em;
  }
  .page-resources h2 {
    font-size: 1.4em;
  }
  .page-resources h3 {
    font-size: 1.1em;
  }
  .page-resources__guide-cards, .page-resources__link-grid, .page-resources__glossary-grid {
    grid-template-columns: 1fr;
  }
  .page-resources__strategy-list li {
    padding: 15px;
  }
  .page-resources__list-icon {
    width: 100px;
    height: 100px;
  }
  .page-resources .faq-question h3 {
    font-size: 1em;
  }
  .page-resources .faq-toggle {
    font-size: 1.3em;
  }
  .page-resources__final-cta {
    font-size: 1.1em;
  }
}