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

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

.page-resources__hero {
  background: linear-gradient(135deg, #1A1A1A 0%, #333333 70%, #FFD700 100%);
  padding: 100px 0;
  text-align: center;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

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

.page-resources__hero-subtitle {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.8;
  color: #E0E0E0;
}

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

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

.page-resources__section-title {
  font-size: 2.8em;
  color: #FFD700; /* Gold for section titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-resources__section-description {
  font-size: 1.1em;
  color: #CCCCCC;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 60px;
}

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

.page-resources__content-grid:nth-child(even) .page-resources__image-wrapper {
  order: 2;
}

.page-resources__text-content {
  flex: 1;
}

.page-resources__text-content p {
  margin-bottom: 20px;
  font-size: 1.05em;
  line-height: 1.7;
  color: #E0E0E0;
}

.page-resources__text-content ul {
  list-style: none;
  padding: 0;
}

.page-resources__text-content ul 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="%23FFD700"><path d="M9 21.035l-9-8.638 2.791-2.87 6.209 5.961 12.21-12.436 2.79 2.87-15 15.283z"/></svg>') no-repeat left 8px;
  background-size: 18px;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #E0E0E0;
}

.page-resources__image-wrapper {
  flex: 1;
  text-align: center;
}

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

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

.page-resources__image--full-width {
  margin-top: 60px;
  border-radius: 15px;
  width: 100%;
  object-fit: cover;
  max-height: 450px;
}

.page-resources__image--bottom {
  margin-bottom: -100px; /* Overlap with footer */
  position: relative;
  z-index: 1;
}

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

.page-resources__card {
  background-color: #2A2A2A;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-resources__card-title {
  font-size: 1.5em;
  color: #FFD700; /* Gold for card titles */
  margin-bottom: 15px;
  font-weight: bold;
}

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

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

.page-resources__card-description {
  font-size: 1em;
  color: #B0B0B0;
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
}

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

.page-resources__btn--primary {
  background-color: #FFD700; /* Gold */
  color: #1A1A1A; /* Dark text on gold */
  border: 2px solid #FFD700;
}

.page-resources__btn--primary:hover {
  background-color: #E0B300;
  border-color: #E0B300;
  color: #000;
  transform: translateY(-2px);
}

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

.page-resources__btn--secondary:hover {
  background-color: #FFD700;
  color: #1A1A1A; /* Dark text on gold */
  transform: translateY(-2px);
}

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

.page-resources__btn--tertiary:hover {
  background-color: #444444;
  border-color: #444444;
  color: #FFF;
  transform: translateY(-2px);
}

.page-resources__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.page-resources .highlight {
  color: #FFD700;
  font-weight: bold;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-resources__hero-title {
    font-size: 2.8em;
  }
  .page-resources__section-title {
    font-size: 2.2em;
  }
  .page-resources__content-grid {
    flex-direction: column;
  }
  .page-resources__content-grid:nth-child(even) .page-resources__image-wrapper {
    order: unset;
  }
  .page-resources__image--full-width {
    max-height: 300px;
  }
}

@media (max-width: 768px) {
  .page-resources__hero {
    padding: 80px 0;
  }
  .page-resources__hero-title {
    font-size: 2.2em;
  }
  .page-resources__hero-subtitle {
    font-size: 1.1em;
  }
  .page-resources__section {
    padding: 60px 0;
  }
  .page-resources__section-title {
    font-size: 1.8em;
  }
  .page-resources__section-description {
    font-size: 0.95em;
  }
  .page-resources__card-grid {
    grid-template-columns: 1fr;
  }
  .page-resources__btn {
    padding: 10px 20px;
    font-size: 1em;
  }
  .page-resources__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources__image--full-width {
    margin-top: 40px;
    max-height: 250px;
  }
  .page-resources__image--bottom {
    margin-bottom: -60px;
  }
}

@media (max-width: 480px) {
  .page-resources__hero-title {
    font-size: 1.8em;
  }
  .page-resources__hero-subtitle {
    font-size: 1em;
  }
  .page-resources__section-title {
    font-size: 1.5em;
  }
  .page-resources__section-description {
    font-size: 0.9em;
  }
  .page-resources__card-title {
    font-size: 1.3em;
  }
  .page-resources__card-description {
    font-size: 0.9em;
  }
  .page-resources__btn {
    width: 100%;
  }
}