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

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

.page-resources__hero {
  background: linear-gradient(135deg, #007bff, #4da3ff); /* Gradient using main color and its lighter variant */
  color: #ffffff;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.page-resources__hero-title .highlight {
  color: #ffc107; /* Accent color for highlight */
}

.page-resources__hero-description {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #e0e0e0;
}

.page-resources__hero-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
}

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

.page-resources__btn--primary {
  background-color: #ffc107; /* Accent color for primary CTA */
  color: #0056b3; /* Darker variant of main color for contrast */
  border: 2px solid #ffc107;
}

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

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

.page-resources__btn--secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.page-resources__section {
  padding: 60px 0;
  border-bottom: 1px solid #eee;
}

.page-resources__section:last-of-type {
  border-bottom: none;
}

.page-resources__section-title {
  font-size: 2.5em;
  color: #0056b3; /* Darker main color for section titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-resources__section-title .highlight {
  color: #ffc107; /* Accent color for highlight */
}

.page-resources__sub-title {
  font-size: 1.8em;
  color: #007bff; /* Main color for sub-titles */
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-resources__sub-title .highlight {
  color: #ffc107;
}

.page-resources__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #495057;
}

.page-resources__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #495057;
}

.page-resources__list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-resources__list li strong {
  color: #0056b3;
}

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

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

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

.page-resources__card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-resources__card-title {
  font-size: 1.5em;
  color: #007bff; /* Main color for card titles */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources__card-title a {
  color: #007bff;
  text-decoration: none;
}

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

.page-resources__card-description {
  font-size: 1em;
  color: #6c757d;
  margin-bottom: 20px;
}

.page-resources__btn--link {
  color: #ffc107; /* Accent color for link buttons */
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  padding: 8px 0;
  border-bottom: 2px solid #ffc107;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-resources__btn--link:hover {
  color: #e0a800;
  border-color: #e0a800;
}

.page-resources__cta-small {
  text-align: center;
  margin-top: 40px;
}

.page-resources__cta-large {
  text-align: center;
  margin-top: 60px;
}

.page-resources__conclusion {
  background-color: #e9f7ff; /* Lighter variant of main color for conclusion background */
  padding: 80px 0;
  text-align: center;
}

.page-resources__conclusion .page-resources__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #333;
}

/* Floating Promo */
.page-resources__floating-promo {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #ffc107; /* Accent color for promo */
  color: #0056b3; /* Darker main color for contrast */
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  overflow: hidden;
  animation: page-resources__pulse 2s infinite;
}

.page-resources__floating-promo-link {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  text-decoration: none;
  color: #0056b3;
  font-weight: bold;
  font-size: 1.1em;
}

.page-resources__floating-promo-icon {
  width: 30px;
  height: 30px;
  margin-right: 10px;
}

@keyframes page-resources__pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-resources__hero-title {
    font-size: 2.5em;
  }
  .page-resources__hero-description {
    font-size: 1.1em;
  }
  .page-resources__section-title {
    font-size: 2em;
  }
  .page-resources__sub-title {
    font-size: 1.5em;
  }
  .page-resources__text-block {
    font-size: 1em;
  }
  .page-resources__grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-resources__hero {
    padding: 80px 0;
  }
  .page-resources__hero-title {
    font-size: 2em;
  }
  .page-resources__hero-description {
    font-size: 0.95em;
  }
  .page-resources__hero-cta {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources__btn {
    width: 80%;
    margin: 0 auto;
  }
  .page-resources__section {
    padding: 40px 0;
  }
  .page-resources__section-title {
    font-size: 1.8em;
  }
  .page-resources__sub-title {
    font-size: 1.3em;
  }
  .page-resources__floating-promo {
    bottom: 10px;
    right: 10px;
    padding: 10px 15px;
  }
  .page-resources__floating-promo-link {
    font-size: 0.9em;
  }
  .page-resources__floating-promo-icon {
    width: 25px;
    height: 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%;
  }
  .page-resources__grid {
    grid-template-columns: 1fr;
  }
  .page-resources__card {
    padding: 20px;
  }
  .page-resources__floating-promo {
    width: calc(100% - 40px);
    right: 20px;
    left: 20px;
    text-align: center;
    justify-content: center;
  }
  .page-resources__floating-promo-link {
    padding: 10px 10px;
  }
}