/* style/resources.css */
.page-resources {
  color: #f0f0f0; /* Light text for dark body background */
  background: var(--dark-bg-1);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-resources__section--padding-top {
  padding-top: 120px; /* Adjust for fixed header */
}

.page-resources__hero-section {
  background: linear-gradient(135deg, #1A202C 0%, #3a414e 100%); /* Dark gradient background */
  padding: 80px 20px;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-resources__hero-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-resources__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold color for title */
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
  font-weight: bold;
}

.page-resources__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #e0e0e0;
}

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

.page-resources__btn-primary,
.page-resources__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
}

.page-resources__btn-primary {
  background: #FFD700;
  color: #1A202C;
  border: 2px solid #FFD700;
}

.page-resources__btn-primary:hover {
  background: #e6c200;
  border-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.page-resources__btn-secondary {
  background: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-resources__btn-secondary:hover {
  background: #FFD700;
  color: #1A202C;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.page-resources__btn-large {
  padding: 18px 40px;
  font-size: 1.3em;
  border-radius: 35px;
}

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

.page-resources__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
  font-weight: bold;
}

.page-resources__section-title--light {
  color: #ffffff;
}

.page-resources__section-intro {
  font-size: 1.1em;
  color: #cccccc;
  text-align: center;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources__section-intro--light {
  color: #f0f0f0;
}

.page-resources__content-area {
  padding: 60px 0;
  background: var(--dark-bg-2);
}

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

.page-resources__card {
  background: #2a303c;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #f0f0f0;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-resources__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-resources__card-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.page-resources__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.page-resources__card:hover .page-resources__card-image img {
  transform: scale(1.05);
}

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

.page-resources__card-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
  line-height: 1.3;
}

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

.page-resources__card-title a:hover {
  color: #ffffff;
}

.page-resources__card-description {
  font-size: 1em;
  color: #cccccc;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-resources__card-link:hover {
  background-color: #FFD700;
  color: #1A202C;
}

.page-resources__faq-section {
  padding: 80px 0;
  background: #1A202C;
  color: #ffffff;
}

.page-resources__faq-list {
  max-width: 900px;
  margin: 0 auto;
  margin-top: 40px;
}

.page-resources__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #3a414e;
}

.page-resources__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #2a303c;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
}

.page-resources__faq-question:hover {
  background: #3a414e;
}

.page-resources__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.5;
  color: #FFD700;
  pointer-events: none;
}

.page-resources__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-resources__faq-item.active .page-resources__faq-question {
  background: #3a414e;
}

.page-resources__faq-item.active .page-resources__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg);
}

.page-resources__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: #1A202C;
  color: #cccccc;
}

.page-resources__faq-item.active .page-resources__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
}

.page-resources__faq-answer p {
  margin: 0;
  line-height: 1.8;
}

.page-resources__faq-answer a {
  color: #FFD700;
  text-decoration: underline;
}

.page-resources__latest-news-section {
  padding: 80px 0;
  background: var(--dark-bg-1);
}

.page-resources__article-card {
  background: #2a303c;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #f0f0f0;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

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

.page-resources__article-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.page-resources__article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.page-resources__article-card:hover .page-resources__article-image img {
  transform: scale(1.05);
}

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

.page-resources__article-title {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 10px;
  line-height: 1.3;
}

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

.page-resources__article-title a:hover {
  color: #ffffff;
}

.page-resources__article-summary {
  font-size: 0.95em;
  color: #cccccc;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-resources__article-link {
  display: inline-block;
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  border: 1px solid #FFD700;
  padding: 8px 18px;
  border-radius: 18px;
  align-self: flex-start;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 0.9em;
}

.page-resources__article-link:hover {
  background-color: #FFD700;
  color: #1A202C;
}

.page-resources__cta-section {
  background: #FFD700;
  padding: 80px 20px;
  text-align: center;
  color: #1A202C;
}

.page-resources__cta-content {
  max-width: 800px;
}

.page-resources__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #1A202C;
  font-weight: bold;
}

.page-resources__cta-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #333333;
}

.page-resources__cta-description a {
  color: #1A202C;
  text-decoration: underline;
  font-weight: bold;
}

.page-resources__cta-description a:hover {
  color: #000000;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources__hero-title {
    font-size: 2.8em;
  }
  .page-resources__section-title {
    font-size: 2.2em;
  }
  .page-resources__card-title {
    font-size: 1.3em;
  }
  .page-resources__article-title {
    font-size: 1.2em;
  }
}

@media (max-width: 768px) {
  .page-resources__section--padding-top {
    padding-top: 100px; /* Adjust for mobile fixed header */
  }
  .page-resources__hero-section {
    padding: 60px 15px;
  }
  .page-resources__hero-title {
    font-size: 2.2em;
  }
  .page-resources__hero-description {
    font-size: 1em;
  }
  .page-resources__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources__btn-primary,
  .page-resources__btn-secondary {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  .page-resources__section-title {
    font-size: 2em;
    padding-top: 30px;
  }
  .page-resources__section-intro {
    font-size: 0.95em;
    margin-bottom: 40px;
  }
  .page-resources__container {
    padding: 0 15px;
  }
  .page-resources__grid-3-col {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-resources__card-image {
    height: 180px;
  }
  .page-resources__card-content {
    padding: 20px;
  }
  .page-resources__card-title {
    font-size: 1.2em;
  }
  .page-resources__card-description {
    font-size: 0.9em;
  }
  .page-resources__card-link {
    padding: 8px 15px;
    font-size: 0.9em;
  }
  .page-resources__faq-section {
    padding: 60px 0;
  }
  .page-resources__faq-list {
    margin-top: 30px;
  }
  .page-resources__faq-question {
    padding: 15px 20px;
  }
  .page-resources__faq-question h3 {
    font-size: 1.1em;
  }
  .page-resources__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }
  .page-resources__faq-answer {
    padding: 0 20px;
  }
  .page-resources__faq-item.active .page-resources__faq-answer {
    padding: 15px 20px !important;
  }
  .page-resources__latest-news-section {
    padding: 60px 0;
  }
  .page-resources__article-image {
    height: 160px;
  }
  .page-resources__article-content {
    padding: 20px;
  }
  .page-resources__article-title {
    font-size: 1.1em;
  }
  .page-resources__article-summary {
    font-size: 0.85em;
  }
  .page-resources__article-link {
    padding: 6px 12px;
    font-size: 0.8em;
  }
  .page-resources__cta-section {
    padding: 60px 15px;
  }
  .page-resources__cta-title {
    font-size: 2.2em;
  }
  .page-resources__cta-description {
    font-size: 1.1em;
  }
  .page-resources__btn-large {
    padding: 15px 30px;
    font-size: 1.1em;
  }
}

/* Mobile image adaptation */
.page-resources img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-resources__card-image,
.page-resources__article-image {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .page-resources img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-resources__hero-section,
  .page-resources__content-area,
  .page-resources__faq-section,
  .page-resources__latest-news-section,
  .page-resources__cta-section,
  .page-resources__container,
  .page-resources__card,
  .page-resources__article-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-resources__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}