.page-resources {
  font-family: 'Arial', sans-serif;
  color: #e0e0e0;
  background-color: #0A192F;
  line-height: 1.6;
}

.page-resources a {
  color: #FFD700;
  text-decoration: none;
}

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

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

.page-resources__hero {
  background: linear-gradient(135deg, #0A192F, #1a3a60);
  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;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources__section {
  padding: 60px 0;
}

.page-resources__section--content {
  background-color: #0A192F;
}

.page-resources__section--details {
  background-color: #1a2b47;
}

.page-resources__section-title {
  font-size: 2.8em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

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

.page-resources__section-description {
  text-align: center;
  font-size: 1.1em;
  margin-bottom: 50px;
  color: #c0c0c0;
}

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

.page-resources__content-item {
  background-color: #1a2b47;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-resources__content-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-resources__content-subtitle {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
  min-height: 2.4em; /* Ensure consistent height for titles */
}

.page-resources__content-item p {
  color: #b0b0b0;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-resources__list {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
  color: #b0b0b0;
}

.page-resources__list li {
  margin-bottom: 8px;
}

.page-resources__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: bold;
  text-transform: uppercase;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-align: center;
  margin-top: auto; /* Push button to bottom */
}

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

.page-resources__btn--primary:hover {
  background-color: #e6c200;
  color: #000000;
  border-color: #e6c200;
}

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

.page-resources__btn--secondary:hover {
  background-color: #FFD700;
  color: #0A192F;
}

.page-resources__btn--link {
  background-color: transparent;
  color: #FFD700;
  border: none;
  padding: 0;
  text-align: left;
  font-weight: normal;
  text-transform: none;
  text-decoration: underline;
}

.page-resources__btn--link:hover {
  color: #e6c200;
  text-decoration: none;
}

.page-resources__detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-resources__detail-item {
  background-color: #0A192F;
  padding: 25px;
  border-radius: 8px;
  border: 1px solid #FFD700;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.page-resources__detail-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.page-resources__detail-title {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-resources__detail-title a {
  color: #FFD700;
  text-decoration: none;
}

.page-resources__detail-title a:hover {
  text-decoration: underline;
}

.page-resources__detail-description {
  color: #b0b0b0;
  font-size: 0.95em;
  flex-grow: 1;
  margin-bottom: 15px;
}

.page-resources__cta-banner {
  background-color: #FFD700;
  color: #0A192F;
  padding: 70px 0;
  text-align: center;
}

.page-resources__cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #0A192F;
}

.page-resources__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #222;
}

.page-resources__cta-banner .page-resources__btn--primary {
  background-color: #0A192F;
  color: #FFD700;
  border-color: #0A192F;
}

.page-resources__cta-banner .page-resources__btn--primary:hover {
  background-color: #2a3e5c;
  border-color: #2a3e5c;
  color: #FFD700;
}

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

@media (max-width: 768px) {
  .page-resources__hero {
    padding: 80px 0;
  }
  .page-resources__hero-title {
    font-size: 2.2em;
  }
  .page-resources__hero-description,
  .page-resources__cta-description {
    font-size: 1em;
  }
  .page-resources__section {
    padding: 40px 0;
  }
  .page-resources__section-title {
    font-size: 1.8em;
  }
  .page-resources__content-grid,
  .page-resources__detail-list {
    grid-template-columns: 1fr;
  }
  .page-resources__content-subtitle {
    font-size: 1.4em;
  }
  .page-resources__detail-title {
    font-size: 1.2em;
  }
  .page-resources__cta-title {
    font-size: 2em;
  }
}

@media (max-width: 480px) {
  .page-resources__hero-title {
    font-size: 1.8em;
  }
  .page-resources__section-title {
    font-size: 1.6em;
  }
  .page-resources__btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-resources__cta-title {
    font-size: 1.8em;
  }
}