/* style/resources.css */
.page-resources {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0;
  background-color: #1A1A1A;
  line-height: 1.6;
}

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

.page-resources-section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.page-resources-section:last-of-type {
  border-bottom: none;
}

.page-resources-hero {
  background: linear-gradient(135deg, #1A1A1A 0%, #333333 100%);
  padding: 80px 20px;
  text-align: center;
  color: #FFD700;
}

.page-resources-hero h1 {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.page-resources-hero p {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #E0E0E0;
}

.page-resources-cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #FFD700;
  color: #1A1A1A;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-resources-cta-button:hover {
  background: #E6C200;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-resources h2 {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-resources h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: #FFD700;
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-resources h3 {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-resources p {
  margin-bottom: 15px;
  color: #CCCCCC;
}

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

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

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

.page-resources-grid-2-col {
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
}

.page-resources-card {
  background-color: #2A2A2A;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  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.5);
}

.page-resources-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

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

.page-resources-card-content h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.page-resources-card-content h3 a {
  color: #FFD700;
  font-size: 1.4em;
  display: block;
}

.page-resources-card-content p {
  color: #B0B0B0;
  font-size: 0.95em;
  flex-grow: 1;
}

.page-resources-card-link {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #FFD700;
  color: #1A1A1A;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  align-self: flex-start;
}

.page-resources-card-link:hover {
  background-color: #E6C200;
  color: #000000;
  text-decoration: none;
}

/* FAQ Section */
.page-resources-faq-section {
  background-color: #222222;
}

.page-resources-faq-list {
  margin-top: 40px;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #333333;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

.faq-question:hover {
  background-color: #4A4A4A;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.25em;
  color: #FFD700;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  color: #B0B0B0;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding: 20px 25px;
  background-color: #333333;
}

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

.page-resources-contact-info {
  background-color: #2A2A2A;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  margin-top: 40px;
}

.page-resources-contact-info p {
  font-size: 1.1em;
  color: #CCCCCC;
  margin-bottom: 20px;
}

.page-resources-contact-info a {
  color: #FFD700;
  font-weight: bold;
}

.page-resources-small-button {
  padding: 12px 30px;
  font-size: 1em;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-hero h1 {
    font-size: 3em;
  }
  .page-resources h2 {
    font-size: 2em;
  }
  .page-resources h3 {
    font-size: 1.6em;
  }
  .page-resources-grid-2-col {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-resources-section {
    padding: 40px 0;
  }
  .page-resources-hero {
    padding: 60px 15px;
  }
  .page-resources-hero h1 {
    font-size: 2.5em;
  }
  .page-resources-hero p {
    font-size: 1em;
  }
  .page-resources-cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-resources h2 {
    font-size: 1.8em;
  }
  .page-resources h3 {
    font-size: 1.4em;
  }
  .page-resources-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-resources-grid-2-col {
    grid-template-columns: 1fr;
  }
  .page-resources-card-image {
    height: 180px;
  }
  .page-resources-card-content {
    padding: 20px;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-answer {
    padding: 15px 20px;
  }
  .page-resources-contact-info {
    padding: 20px;
  }
  .page-resources-contact-info p {
    font-size: 0.95em;
  }
}

@media (max-width: 480px) {
  .page-resources-hero h1 {
    font-size: 2em;
  }
  .page-resources h2 {
    font-size: 1.6em;
  }
  .page-resources h3 {
    font-size: 1.2em;
  }
  .page-resources-cta-button {
    width: 100%;
    box-sizing: border-box;
  }
  .page-resources-small-button {
    width: auto;
  }
}