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

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

.page-resources__hero-section {
  background: linear-gradient(135deg, #FFD700, #DC143C);
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-resources__hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
  animation: page-resources-pulse 10s infinite alternate;
}

@keyframes page-resources-pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.2); opacity: 0.6; }
}

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

.page-resources__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

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

.page-resources__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.page-resources__btn--primary {
  background-color: #FFD700; /* Gold */
  color: #333;
  border-color: #FFD700;
}

.page-resources__btn--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-resources__btn--secondary {
  background-color: #DC143C; /* Deep Red */
  color: #ffffff;
  border-color: #DC143C;
}

.page-resources__btn--secondary:hover {
  background-color: #c21033;
  border-color: #c21033;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-resources__content-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-resources__section-title {
  font-size: 2.5em;
  color: #DC143C; /* Deep Red */
  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; /* Gold */
  border-radius: 2px;
}

.page-resources__sub-section-title {
  font-size: 1.8em;
  color: #333;
  margin-top: 50px;
  margin-bottom: 30px;
  text-align: center;
  position: relative;
}

.page-resources__sub-section-title::before {
  content: '';
  position: absolute;
  left: 50%;
  top: -15px;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background-color: #FFD700; /* Gold */
  border-radius: 1px;
}

.page-resources__text-block {
  font-size: 1.1em;
  margin-bottom: 25px;
  text-align: justify;
  color: #444;
}

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

.page-resources__resource-card {
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-resources__resource-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-resources__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #eee;
}

.page-resources__card-title {
  font-size: 1.4em;
  font-weight: bold;
  margin: 20px 20px 10px 20px;
  color: #DC143C; /* Deep Red */
}

.page-resources__card-title a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

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

.page-resources__card-excerpt {
  font-size: 0.95em;
  color: #666;
  margin: 0 20px 20px 20px;
  flex-grow: 1;
}

.page-resources__btn--small {
  padding: 8px 18px;
  font-size: 0.9em;
  border-radius: 20px;
  margin: 0 20px 20px 20px;
  background-color: #FFD700; /* Gold */
  color: #333;
  border: 2px solid #FFD700;
}

.page-resources__btn--small:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  color: #333;
}

.page-resources__call-to-action {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  margin-bottom: 30px;
}

.page-resources__btn--cta {
  background-color: #DC143C; /* Deep Red */
  color: #ffffff;
  border: 2px solid #DC143C;
  font-size: 1.1em;
  padding: 15px 30px;
  border-radius: 35px;
}

.page-resources__btn--cta:hover {
  background-color: #a8102e;
  border-color: #a8102e;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

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

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

  .page-resources__sub-section-title {
    font-size: 1.6em;
  }

  .page-resources__resource-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

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

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

  .page-resources__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-resources__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources__btn {
    width: 80%;
    max-width: 300px;
  }

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

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

  .page-resources__text-block {
    font-size: 1em;
  }

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

  .page-resources__btn--cta {
    font-size: 1em;
    padding: 12px 25px;
  }
}

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

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

  .page-resources__btn {
    width: 90%;
    padding: 10px 20px;
  }

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

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

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

  .page-resources__btn--small {
    font-size: 0.8em;
    padding: 6px 15px;
  }

  .page-resources__btn--cta {
    width: 100%;
  }
}