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

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

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

/* Hero Section */
.page-resources__hero-section {
  background: linear-gradient(135deg, #0A1931 0%, #1A345E 100%); /* Dark blue gradient */
  padding: 100px 0;
  text-align: center;
  color: #FFFFFF; /* White text on dark background */
  border-bottom: 5px solid #FFD700; /* Gold accent */
}

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

.page-resources__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #E0E0E0; /* Light gray for description */
}

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

.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__text-content {
  font-size: 1.1em;
  color: #E0E0E0;
  margin-bottom: 20px;
  text-align: justify;
}

.page-resources__text-content strong {
  color: #FFD700;
}

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

.page-resources__btn--primary {
  background-color: #FFD700; /* Gold background */
  color: #0A1931; /* Dark blue text */
  font-size: 1.1em;
}

.page-resources__btn--primary:hover {
  background-color: #E6C200; /* Slightly darker gold on hover */
  transform: translateY(-2px);
}

.page-resources__btn--secondary {
  background-color: #1A345E; /* Darker blue background */
  color: #FFD700; /* Gold text */
  border: 1px solid #FFD700;
  font-size: 1em;
}

.page-resources__btn--secondary:hover {
  background-color: #FFD700; /* Gold background on hover */
  color: #0A1931; /* Dark blue text on hover */
  transform: translateY(-2px);
}

/* Image Styling */
.page-resources__image-wrapper {
    text-align: center;
    margin: 40px 0;
}

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

/* Grid Container for Resource Types */
.page-resources__grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-resources__grid-item {
  background-color: #1A345E; /* Dark blue background for items */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
}

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

.page-resources__grid-title {
  font-size: 1.8em;
  color: #FFD700; /* Gold for grid titles */
  margin-bottom: 15px;
}

.page-resources__grid-description {
  font-size: 1em;
  color: #C0C0C0; /* Lighter gray for description */
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-resources__grid-image {
  max-width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-top: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Detail List Section */
.page-resources__detail-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-resources__detail-item {
  background-color: #1A345E;
  border: 1px solid #2A4B7D; /* Slightly lighter blue border */
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
}

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

.page-resources__item-title a {
  color: #FFD700; /* Gold for link titles */
  text-decoration: none;
}

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

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

/* Call to Action Section */
.page-resources__cta-section {
  background-color: #0A1931;
  text-align: center;
  padding: 80px 0;
  border-top: 5px solid #FFD700;
}

.page-resources__cta-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 20px;
}

.page-resources__cta-description {
  font-size: 1.2em;
  color: #E0E0E0;
  max-width: 700px;
  margin: 0 auto 40px auto;
}

.page-resources__cta-image {
    max-width: 600px;
    height: auto;
    margin-top: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

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

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

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

  .page-resources__grid-item {
    padding: 20px;
  }

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

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

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

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

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

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

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

  .page-resources__grid-image {
    height: 180px;
  }

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