/* style/resources.css */

/* General Styles for page-resources */
.page-resources {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f8f8;
}

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

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

.page-resources__section:nth-of-type(odd) {
  background-color: #ffffff;
}

.page-resources__section-title {
  font-size: 2.5em;
  color: #1E90FF; /* Deep Blue */
  margin-bottom: 20px;
  font-weight: bold;
}

.page-resources__section-description {
  font-size: 1.1em;
  color: #555;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-resources__hero-section {
  background: linear-gradient(135deg, #FFD700, #1E90FF); /* Gold to Deep Blue */
  color: #ffffff;
  padding: 100px 0;
  text-align: center;
}

.page-resources__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-resources__hero-description {
  font-size: 1.3em;
  max-width: 900px;
  margin: 0 auto 40px auto;
  line-height: 1.8;
}

.page-resources__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Gold */
  color: #1E90FF; /* Deep Blue */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 2px solid #FFD700;
}

.page-resources__cta-button:hover {
  background-color: #1E90FF; /* Deep Blue */
  color: #FFD700; /* Gold */
  border-color: #FFD700;
}

.page-resources__cta-button--secondary {
  background-color: #1E90FF; /* Deep Blue */
  color: #FFD700; /* Gold */
  border-color: #1E90FF;
}

.page-resources__cta-button--secondary:hover {
  background-color: #FFD700; /* Gold */  color: #1E90FF; /* Deep Blue */
  border-color: #1E90FF;
}

/* Importance & Commitment Sections */
.page-resources__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
  margin-top: 40px;
}

.page-resources__content-wrapper--reverse {
  flex-direction: row-reverse;
}

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

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

.page-resources__image-box {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-resources__image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Types of Resources Section */
.page-resources__types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources__type-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 5px solid #FFD700;
}

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

.page-resources__type-title {
  font-size: 1.5em;
  color: #1E90FF; /* Deep Blue */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources__type-item p {
  color: #666;
  font-size: 0.95em;
}

/* Featured Articles Section */
.page-resources__articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources__article-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources__article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

.page-resources__article-content {
  padding: 25px;
}

.page-resources__article-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-resources__article-title a {
  color: #1E90FF; /* Deep Blue */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources__article-title a:hover {
  color: #FFD700; /* Gold */
}

.page-resources__article-summary {
  color: #666;
  font-size: 0.95em;
  margin-bottom: 20px;
  line-height: 1.6;
}

.page-resources__read-more-button {
  display: inline-block;
  background-color: #FFD700; /* Gold */
  color: #1E90FF; /* Deep Blue */
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 2px solid #FFD700;
}

.page-resources__read-more-button:hover {
  background-color: #1E90FF; /* Deep Blue */
  color: #FFD700; /* Gold */
  border-color: #FFD700;
}

/* FAQ Section */
.page-resources__faq {
  background-color: #f0f5fa; /* Light blueish background */
}

.page-resources__faq-list {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-resources__faq-item {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
  border-left: 5px solid #1E90FF;
}

.page-resources__faq-question {
  font-size: 1.3em;
  color: #1E90FF; /* Deep Blue */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-resources__faq-answer {
  color: #555;
  font-size: 1em;
  line-height: 1.7;
}

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

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

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

  .page-resources__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .page-resources__content-wrapper--reverse {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-resources__hero-section {
    padding: 80px 0;
  }

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

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

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

  .page-resources__types-grid, .page-resources__articles-grid {
    grid-template-columns: 1fr;
  }

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

  .page-resources__article-title {
    font-size: 1.2em;
  }

  .page-resources__faq-question {
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page-resources__hero-section {
    padding: 60px 0;
  }

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

  .page-resources__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

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

  .page-resources__section-description {
    font-size: 0.95em;
  }

  .page-resources__type-item, .page-resources__article-card, .page-resources__faq-item {
    padding: 20px;
  }
}