.page-resources {
  --primary-color: #FFD700;
  --secondary-color: #000080;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f4f7f6;
  --background-dark: #000080;
  --border-color: #e0e0e0;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
}

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

.page-resources .section-title {
  font-size: 2.5em;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  position: relative;
  padding-bottom: 15px;
}

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

/* 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: var(--background-dark);
}

.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 10px 20px rgba(0, 0, 0, 0.3);
}

.page-resources .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  color: var(--text-light);
}

.page-resources .hero-content h1 {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--primary-color);
  line-height: 1.2;
}

.page-resources .hero-content p {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

.page-resources .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 2px solid var(--primary-color);
}

.page-resources .cta-button:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border-color: var(--primary-color);
}

/* Introduction Section */
.page-resources .introduction-section {
  background-color: var(--background-light);
  padding: 80px 0;
  text-align: center;
}

.page-resources .introduction-section p {
  font-size: 1.1em;
  margin-bottom: 25px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-dark);
}

.page-resources .introduction-section strong {
  color: var(--secondary-color);
}

.page-resources .content-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.page-resources .guide-steps {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.page-resources .step-item {
  background: var(--background-light);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-resources .step-item h3 {
  font-size: 1.5em;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-resources .step-item p {
  font-size: 1em;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.page-resources .step-image {
  width: 100%;
  max-width: 250px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

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

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

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

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

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

.page-resources .btn-tertiary {
  background: #cccccc;
  color: var(--text-dark);
}

.page-resources .btn-tertiary:hover {
  background: #aaaaaa;
  color: var(--text-light);
}

/* Other Resources Section */
.page-resources .other-resources-section {
  background-color: var(--background-light);
  padding: 80px 0;
}

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

.page-resources .resource-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-resources .resource-card h3 {
  font-size: 1.4em;
  color: var(--secondary-color);
  margin: 20px 20px 10px 20px;
}

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

.page-resources .resource-card h3 a:hover {
  color: var(--primary-color);
}

.page-resources .resource-card p {
  font-size: 0.95em;
  color: var(--text-dark);
  padding: 0 20px 15px 20px;
}

.page-resources .btn-link {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  padding: 0 20px 20px 20px;
  transition: color 0.3s ease;
}

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

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

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

.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: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

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

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

.page-resources .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--secondary-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: #f9f9f9;
  color: var(--text-dark);
}

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

.page-resources .faq-answer p {
  margin-bottom: 10px;
  font-size: 1em;
}

.page-resources .faq-answer .btn-link {
  padding: 5px 0 0 0;
}

/* Final CTA Section */
.page-resources .cta-final-section {
  background-color: var(--background-dark);
  padding: 80px 0;
  text-align: center;
  color: var(--text-light);
}

.page-resources .cta-final-section .section-title {
  color: var(--primary-color);
}

.page-resources .cta-final-section p {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

.page-resources .cta-buttons-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-resources .cta-button.secondary {
  background: none;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

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

/* Responsive Design */
@media (max-width: 992px) {
  .page-resources .hero-content h1 {
    font-size: 2.8em;
  }
  .page-resources .section-title {
    font-size: 2em;
  }
  .page-resources .guide-steps {
    flex-direction: column;
    align-items: center;
  }
  .page-resources .step-item {
    max-width: 100%;
  }
  .page-resources .resource-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-resources .hero-section {
    padding: 40px 15px;
  }
  .page-resources .hero-content h1 {
    font-size: 2.2em;
  }
  .page-resources .hero-content p {
    font-size: 1em;
  }
  .page-resources .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-resources .section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-resources .introduction-section, .page-resources .guide-section, .page-resources .other-resources-section, .page-resources .faq-section, .page-resources .cta-final-section {
    padding: 50px 0;
  }
  .page-resources .step-item {
    padding: 20px;
  }
  .page-resources .resource-card .card-image {
    height: 180px;
  }
  .page-resources .resource-card h3 {
    font-size: 1.2em;
    margin: 15px 15px 8px 15px;
  }
  .page-resources .resource-card p {
    padding: 0 15px 10px 15px;
  }
  .page-resources .faq-question {
    padding: 15px 20px;
  }
  .page-resources .faq-question h3 {
    font-size: 1.1em;
  }
  .page-resources .faq-toggle {
    font-size: 20px;
  }
  .page-resources .faq-answer {
    padding: 0 20px;
  }
  .page-resources .faq-item.active .faq-answer {
    padding: 12px 20px;
  }
  .page-resources .cta-buttons-group {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .page-resources .hero-content h1 {
    font-size: 1.8em;
  }
  .page-resources .section-title {
    font-size: 1.5em;
  }
  .page-resources .cta-button {
    width: 100%;
    max-width: 280px;
  }
  .page-resources .hero-image img {
    border-radius: 4px;
  }
}