/* style/resources.css */
.page-resources {
  font-family: 'Arial', sans-serif;
  color: #FFFFFF; /* White text on dark background */
  background-color: #0A192F; /* Deep Navy Blue main background */
  line-height: 1.6;
}

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

.page-resources__hero {
  background: linear-gradient(135deg, #0A192F 0%, #2a4163 100%); /* Dark gradient for hero */
  padding: 100px 0;
  text-align: center;
  color: #FFFFFF;
}

.page-resources__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

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

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

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

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

.page-resources__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
}

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

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

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

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

.page-resources__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.page-resources__guide-item {
  background-color: #1A2E44; /* Slightly lighter dark blue */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-resources__guide-item:hover {
  transform: translateY(-10px);
  background-color: #2a4163;
}

.page-resources__guide-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px #FFD700);
}

.page-resources__guide-item h3 {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #FFD700;
}

.page-resources__guide-item p {
  font-size: 1em;
  color: #CCCCCC;
  margin-bottom: 25px;
}

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

.page-resources__article-card {
  background-color: #1A2E44;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-resources__article-card:hover {
  transform: translateY(-10px);
}

.page-resources__article-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

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

.page-resources__article-content h3 {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #FFD700;
}

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

.page-resources__article-content h3 a:hover {
  color: #FFFFFF;
}

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

.page-resources__cta {
  background-color: #FFD700; /* Gold background for CTA */
  padding: 80px 0;
  text-align: center;
  color: #0A192F; /* Deep Navy Blue text on gold */
}

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

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

/* Buttons */
.page-resources__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

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

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

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

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

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

.page-resources__btn--tertiary:hover {
  background-color: #FFD700;
  color: #0A192F;
  border: 2px solid #FFD700;
  transform: translateY(-3px);
}

.page-resources__btn--link {
  display: inline-block;
  padding: 10px 20px;
  background-color: #FFD700;
  color: #0A192F;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-top: auto; /* Push button to bottom */
}

.page-resources__btn--link:hover {
  background-color: #e6c200;
}

.highlight {
  color: #FFD700;
}

/* 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-wrapper {
    flex-direction: column;
  }
  .page-resources__content-wrapper:nth-child(even) {
    flex-direction: column;
  }
  .page-resources__image-content {
    margin-top: 40px;
  }
  .page-resources__guide-grid {
    grid-template-columns: 1fr;
  }
  .page-resources__article-list {
    grid-template-columns: 1fr;
  }
}

@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__guide-item h3 {
    font-size: 1.5em;
  }
  .page-resources__article-content h3 {
    font-size: 1.3em;
  }
  .page-resources__cta-title {
    font-size: 2.2em;
  }
  .page-resources__cta-description {
    font-size: 1em;
  }
  .page-resources__btn {
    padding: 12px 25px;
    font-size: 1em;
  }
}

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