/* style/resources.css */
.page-resources {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f4f7f6; /* Light background for readability */
}

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

.page-resources-hero {
  background: linear-gradient(135deg, #003366, #1a528a); /* Dark blue gradient */
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-resources-hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15; /* Subtle background image */
  z-index: 0;
}

.page-resources-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-resources-hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFCC00; /* Gold for emphasis */
  position: relative;
  z-index: 1;
}

.page-resources-hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px;
  position: relative;
  z-index: 1;
}

.page-resources-hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.page-resources-btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: 1.1em;
  cursor: pointer;
}

.page-resources-btn-primary {
  background-color: #FFCC00; /* Gold */
  color: #003366; /* Dark blue */
  border: 2px solid #FFCC00;
}

.page-resources-btn-primary:hover {
  background-color: #e6b800;
  color: #002244;
  border-color: #e6b800;
}

.page-resources-btn-secondary {
  background-color: transparent;
  color: #FFCC00; /* Gold */
  border: 2px solid #FFCC00;
}

.page-resources-btn-secondary:hover {
  background-color: #FFCC00;
  color: #003366;
}

.page-resources-section {
  padding: 60px 0;
  background-color: #ffffff;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.page-resources-section:nth-of-type(even) {
  background-color: #fcfcfc;
}

.page-resources-section-title {
  font-size: 2.5em;
  color: #003366; /* Dark blue */
  margin-bottom: 30px;
  text-align: center;
  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: #FFCC00; /* Gold underline */
  border-radius: 2px;
}

.page-resources-introduction p {
  font-size: 1.1em;
  margin-bottom: 15px;
  text-align: justify;
  color: #444;
}

.page-resources-detail-articles {
  background-color: #e6eff7; /* Light blue tint */
}

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

.page-resources-article-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-resources-article-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.page-resources-article-title {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: #003366;
  min-height: 60px; /* Ensure consistent title height */
}

.page-resources-article-title a {
  color: #003366;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources-article-title a:hover {
  color: #FFCC00;
}

.page-resources-article-description {
  font-size: 0.95em;
  color: #555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-resources-btn-text {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid #003366;
  background-color: #003366;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  align-self: flex-start;
}

.page-resources-btn-text:hover {
  background-color: #FFCC00;
  border-color: #FFCC00;
  color: #003366;
}

.page-resources-content-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.page-resources-news-updates p, .page-resources-expert-tips p {
  font-size: 1.1em;
  margin-bottom: 15px;
  text-align: justify;
  color: #444;
}

.page-resources-benefits-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-resources-benefits-list li {
  background-color: #f0f8ff; /* Lighter blue background for list items */
  border-left: 5px solid #003366;
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  font-size: 1.1em;
  color: #333;
}

.page-resources-benefits-list li strong {
  color: #003366;
}

.page-resources-cta-section {
  background: linear-gradient(45deg, #003366, #0055aa); /* Dark blue gradient */
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 40px;
}

.page-resources-cta-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1; /* Very subtle background image */
  z-index: 0;
}

.page-resources-cta-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-resources-cta-title {
  font-size: 3em;
  color: #FFCC00;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.page-resources-cta-description {
  font-size: 1.2em;
  max-width: 700px;
  margin: 0 auto 40px;
  position: relative;
  z-index: 1;
}

.page-resources-cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-resources-hero-title {
    font-size: 2.8em;
  }
  .page-resources-section-title {
    font-size: 2em;
  }
  .page-resources-article-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-resources-cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-resources-hero {
    padding: 60px 0;
  }
  .page-resources-hero-title {
    font-size: 2.2em;
  }
  .page-resources-hero-description {
    font-size: 1em;
  }
  .page-resources-hero-actions, .page-resources-cta-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-btn {
    width: 80%;
    max-width: 300px;
    margin: 0 auto;
  }
  .page-resources-section {
    padding: 40px 0;
  }
  .page-resources-section-title {
    font-size: 1.8em;
  }
  .page-resources-article-item {
    padding: 20px;
  }
  .page-resources-article-title {
    font-size: 1.2em;
    min-height: auto;
  }
  .page-resources-cta-title {
    font-size: 2em;
  }
  .page-resources-cta-description {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-resources-hero-title {
    font-size: 1.8em;
  }
  .page-resources-hero-description {
    font-size: 0.9em;
  }
  .page-resources-section-title {
    font-size: 1.5em;
  }
  .page-resources-btn {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-resources-article-title {
    font-size: 1.1em;
  }
  .page-resources-article-description {
    font-size: 0.85em;
  }
  .page-resources-cta-title {
    font-size: 1.8em;
  }
  .page-resources-cta-description {
    font-size: 0.9em;
  }
  .page-resources-benefits-list li {
    font-size: 1em;
  }
}