/* style/resources.css */
.page-resources {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0; /* Light grey for general text on dark background */
  background-color: #0A2342; /* Main dark blue background */
  line-height: 1.6;
}

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

.page-resources__hero {
  background: linear-gradient(135deg, #0A2342 0%, #1A3A60 100%); /* Dark blue gradient */
  padding: 80px 20px;
  text-align: center;
  color: #FFD700; /* Gold for hero text */
  border-bottom: 3px solid #FFD700;
}

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

.page-resources__hero-subtitle {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #D4D4D4;
}

.page-resources__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold for section titles */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
  position: relative;
}

.page-resources__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-resources__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 50px;
  color: #B0B0B0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources__introduction, .page-resources__why-18win {
  padding: 60px 0;
  background-color: #0A2342;
}

.page-resources__content-grid {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}

.page-resources__content-grid:nth-child(even) {
  flex-direction: row-reverse;
}

.page-resources__content-text {
  flex: 1;
  min-width: 300px;
  color: #E0E0E0;
}

.page-resources__content-text p {
  margin-bottom: 15px;
  font-size: 1.05em;
}

.page-resources__content-text strong {
  color: #FFD700;
}

.page-resources__content-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-resources__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.page-resources__image:hover {
  transform: translateY(-5px);
}

.page-resources__featured-resources {
  background-color: #1A3A60; /* Slightly lighter dark blue */
  padding: 80px 0;
}

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

.page-resources__resource-item {
  background-color: #0A2342;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #FFD700;
}

.page-resources__resource-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-resources__resource-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  filter: drop-shadow(0 2px 5px rgba(255, 215, 0, 0.5));
}

.page-resources__resource-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-resources__resource-description {
  font-size: 1em;
  color: #B0B0B0;
  margin-bottom: 20px;
}

.page-resources__details-list {
  padding: 80px 0;
  background-color: #0A2342;
}

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

.page-resources__list-item {
  background-color: #1A3A60; /* Slightly lighter dark blue */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border-left: 5px solid #FFD700;
  transition: background-color 0.3s ease;
}

.page-resources__list-item:hover {
  background-color: #2D5280; /* Even lighter blue on hover */
}

.page-resources__item-title {
  font-size: 1.4em;
  margin-bottom: 10px;
}

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

.page-resources__item-title a:hover {
  color: #FFF;
}

.page-resources__item-description {
  font-size: 0.95em;
  color: #B0B0B0;
  margin-bottom: 15px;
}

.page-resources__list-benefits {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-resources__list-benefits li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23FFD700" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 15px;
  color: #E0E0E0;
  font-size: 1.05em;
}

.page-resources__list-benefits li strong {
  color: #FFD700;
}

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

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

.page-resources__faq-item {
  background-color: #0A2342;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-resources__faq-question {
  font-size: 1.3em;
  color: #FFD700;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-resources__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  color: #FFD700;
  transition: transform 0.3s ease;
}

.page-resources__faq-question.active::after {
  content: '-';
  transform: translateY(-50%) rotate(0deg);
}

.page-resources__faq-answer {
  font-size: 1em;
  color: #E0E0E0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
  padding-top: 0;
}

.page-resources__faq-answer.active {
  max-height: 200px; /* Adjust as needed */
  padding-top: 15px;
}

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

.page-resources__cta {
  background-color: #0A2342;
  padding: 80px 20px;
  text-align: center;
  border-top: 3px solid #FFD700;
}

.page-resources__cta-note {
  font-size: 1em;
  color: #B0B0B0;
  margin-top: 20px;
}

.page-resources__contact-link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources__contact-link:hover {
  color: #FFF;
}

/* Buttons */
.page-resources__btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.page-resources__btn--primary {
  background-color: #FFD700; /* Gold */
  color: #0A2342; /* Dark blue */
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

.page-resources__btn--primary:hover {
  background-color: #E6C200;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(255, 215, 0, 0.6);
}

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

.page-resources__btn--secondary:hover {
  background-color: #FFD700;
  color: #0A2342;
  transform: translateY(-3px);
}

.page-resources__btn--tertiary {
  background-color: #FFD700;
  color: #0A2342;
  padding: 8px 18px;
  font-size: 0.9em;
  border-radius: 3px;
}

.page-resources__btn--tertiary:hover {
  background-color: #E6C200;
  color: #0A2342;
}

.page-resources__btn--large {
  padding: 15px 40px;
  font-size: 1.3em;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-resources__hero-title {
    font-size: 2.5em;
  }

  .page-resources__hero-subtitle {
    font-size: 1.1em;
  }

  .page-resources__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-resources__section-description {
    font-size: 1em;
    margin-bottom: 40px;
  }

  .page-resources__content-grid {
    flex-direction: column;
  }

  .page-resources__resource-grid, .page-resources__list-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .page-resources__hero-title {
    font-size: 1.8em;
  }

  .page-resources__hero-subtitle {
    font-size: 0.95em;
  }

  .page-resources__btn {
    padding: 10px 20px;
    font-size: 1em;
  }

  .page-resources__btn--large {
    padding: 12px 25px;
    font-size: 1.1em;
  }

  .page-resources__resource-title {
    font-size: 1.4em;
  }

  .page-resources__item-title {
    font-size: 1.2em;
  }

  .page-resources__faq-question {
    font-size: 1.1em;
  }
}