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

.page-resources__hero {
  background: linear-gradient(135deg, #0A1931 0%, #1a3a61 100%);
  padding: 80px 5%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: 450px;
  position: relative;
  overflow: hidden;
}

.page-resources__hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('[IMAGE:resources_hero_bg]') no-repeat center center/cover;
  opacity: 0.1;
  z-index: 0;
}

.page-resources__hero-content {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  z-index: 1;
}

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

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

.page-resources__hero-btn {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #0A1931; /* Dark blue text on gold */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-resources__hero-btn:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-resources__hero-image-wrapper {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.page-resources__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-resources__section {
  padding: 60px 5%;
  max-width: 1200px;
  margin: 0 auto;
}

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

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

.page-resources__section-subtitle {
  font-size: 1.3em;
  color: #C0C0C0;
  text-align: center;
  margin-bottom: 50px;
}

.page-resources__content-block {
  background-color: #1a2c4a; /* Slightly lighter dark blue for content blocks */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  margin-bottom: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 30px;
}

.page-resources__content-block p {
  flex: 1;
  min-width: 280px;
  color: #E0E0E0;
  font-size: 1.1em;
}

.page-resources__content-block .page-resources__content-image {
  max-width: 40%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

.page-resources__content-block .page-resources__content-image--left {
  order: -1;
}

.page-resources__content-block .page-resources__content-image--right {
  order: 1;
}

@media (max-width: 768px) {
  .page-resources__content-block .page-resources__content-image {
    max-width: 100%;
    order: initial; /* Reset order for mobile */
  }
}

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

.page-resources__list li {
  background-color: #2a3d5e;
  margin-bottom: 10px;
  padding: 12px 20px;
  border-left: 5px solid #FFD700;
  border-radius: 5px;
  font-size: 1.05em;
  color: #F0F0F0;
  transition: background-color 0.3s ease;
}

.page-resources__list li:hover {
  background-color: #3a4d6e;
}

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

.page-resources__link:hover {
  color: #e6c200;
  text-decoration: underline;
}

.page-resources__link-list {
  margin-top: 30px;
}

.page-resources__cta-btn {
  display: inline-block;
  background-color: #FFD700;
  color: #0A1931;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
  margin-right: 15px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-resources__cta-btn:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-resources__cta-btn--secondary {
  background-color: #0A1931;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-resources__cta-btn--secondary:hover {
  background-color: #FFD700;
  color: #0A1931;
  transform: translateY(-2px);
}

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

.page-resources__resource-item {
  background-color: #1a2c4a;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

.page-resources__item-title a:hover {
  color: #e6c200;
  text-decoration: underline;
}

.page-resources__item-description {
  color: #C0C0C0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-resources__item-btn {
  display: inline-block;
  background-color: #0A1931;
  color: #FFD700;
  padding: 10px 20px;
  border: 1px solid #FFD700;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-resources__item-btn:hover {
  background-color: #FFD700;
  color: #0A1931;
}

.page-resources__cta {
  text-align: center;
  background-color: #1a2c4a;
  padding: 80px 5%;
  border-radius: 10px;
  margin-top: 60px;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
}

.page-resources__cta .page-resources__section-title {
  color: #FFD700;
  margin-bottom: 25px;
}

.page-resources__cta .page-resources__section-title::after {
  background-color: #FFD700;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-resources__hero {
    padding: 60px 4%;
  }

  .page-resources__hero-title {
    font-size: 2.8em;
  }

  .page-resources__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-resources__hero {
    flex-direction: column;
    text-align: center;
    padding: 50px 3%;
  }

  .page-resources__hero-content,
  .page-resources__hero-image-wrapper {
    max-width: 100%;
  }

  .page-resources__hero-title {
    font-size: 2.2em;
  }

  .page-resources__hero-description {
    font-size: 1em;
  }

  .page-resources__hero-btn {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-resources__section {
    padding: 40px 3%;
  }

  .page-resources__section-title {
    font-size: 1.8em;
  }

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

  .page-resources__content-block p,
  .page-resources__content-block .page-resources__content-image {
    max-width: 100%;
    order: initial;
  }

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

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

  .page-resources__cta-description {
    font-size: 1.1em;
  }
  
  .page-resources__cta-btn {
    margin-right: 0;
    margin-bottom: 15px;
  }
}

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

  .page-resources__section-title {
    font-size: 1.5em;
  }

  .page-resources__hero-btn,
  .page-resources__cta-btn {
    width: 100%;
    text-align: center;
  }
}