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

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

.page-resources__section-title {
  font-size: 2.5em;
  color: #0A2E36;
  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: #E0B400;
  border-radius: 2px;
}

.page-resources__section-title--light {
  color: #FFFFFF;
}

.page-resources__section-title--light::after {
  background-color: #FFFFFF;
}

.page-resources__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px auto;
  color: #555;
}

.page-resources__section-description--light {
  color: #E0E0E0;
}

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

.page-resources__btn--primary {
  background-color: #E0B400;
  color: #0A2E36;
  border: 2px solid #E0B400;
}

.page-resources__btn--primary:hover {
  background-color: #f0c300;
  border-color: #f0c300;
  transform: translateY(-2px);
}

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

.page-resources__btn--secondary:hover {
  background-color: #0A2E36;
  color: #E0B400;
  transform: translateY(-2px);
}

.page-resources__btn--accent {
  background-color: #0A2E36;
  color: #E0B400;
  border: 2px solid #E0B400;
}

.page-resources__btn--accent:hover {
  background-color: #1a4a52;
  border-color: #f0c300;
  transform: translateY(-2px);
}

.page-resources__btn--link {
  color: #0A2E36;
  text-decoration: none;
  font-weight: bold;
  padding: 0;
  border: none;
  background: none;
  display: inline-flex;
  align-items: center;
  font-size: 1em;
}

.page-resources__btn--link:hover {
  color: #E0B400;
  text-decoration: underline;
}

/* Hero Section */
.page-resources__hero-section {
  background: linear-gradient(135deg, #0A2E36 0%, #1a4a52 100%);
  padding: 100px 0;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  min-height: 600px;
}

.page-resources__hero-section .page-resources__container {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-resources__hero-content {
  flex: 1;
  min-width: 300px;
}

.page-resources__hero-title {
  font-size: 3.5em;
  margin-bottom: 25px;
  line-height: 1.2;
  color: #E0B400;
}

.page-resources__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 600px;
}

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

.page-resources__hero-image-wrapper {
  flex: 1;
  min-width: 400px;
  text-align: center;
}

.page-resources__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* About Section */
.page-resources__about-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.page-resources__content-grid {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap-reverse;
}

.page-resources__text-content {
  flex: 1;
  min-width: 300px;
}

.page-resources__text-content p {
  margin-bottom: 15px;
  color: #444;
}

.page-resources__image-wrapper {
  flex: 1;
  min-width: 400px;
  text-align: center;
}

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

/* Guides Section */
.page-resources__guides-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

.page-resources__detail-item {
  background-color: #fefefe;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources__detail-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.page-resources__detail-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-resources__detail-title {
  font-size: 1.5em;
  color: #0A2E36;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-resources__detail-title a {
  color: #0A2E36;
  text-decoration: none;
}

.page-resources__detail-title a:hover {
  color: #E0B400;
  text-decoration: underline;
}

.page-resources__detail-description {
  font-size: 1em;
  color: #666;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Promotions Section */
.page-resources__promotions-section {
  background: linear-gradient(90deg, #0A2E36 0%, #1a4a52 100%);
  padding: 80px 0;
  color: #FFFFFF;
}

.page-resources__promotions-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-resources__promotions-content {
  flex: 1;
  min-width: 300px;
}

.page-resources__promotions-image-wrapper {
  flex: 1;
  min-width: 400px;
  text-align: center;
}

.page-resources__promotions-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Why Choose Us Section */
.page-resources__why-choose-us-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.page-resources__feature-list {
  list-style: none;
  padding: 0;
  margin: 60px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.page-resources__feature-list li {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources__feature-list li:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-resources__feature-title {
  font-size: 1.6em;
  color: #E0B400;
  margin-bottom: 15px;
}

.page-resources__feature-list p {
  color: #555;
}

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

/* FAQ Section */
.page-resources__faq-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

.page-resources__faq-list {
  margin-top: 40px;
}

.page-resources__faq-item {
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 20px;
  overflow: hidden;
}

.page-resources__faq-question {
  background-color: #f5f5f5;
  color: #0A2E36;
  padding: 20px;
  font-size: 1.2em;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  transition: background-color 0.3s ease;
}

.page-resources__faq-question:hover {
  background-color: #e0e0e0;
}

.page-resources__faq-question::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-resources__faq-item.active .page-resources__faq-question::after {
  content: '-';
  transform: rotate(180deg);
}

.page-resources__faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  background-color: #FFFFFF;
}

.page-resources__faq-item.active .page-resources__faq-answer {
  max-height: 200px; /* Adjust as needed */
  padding: 20px;
}

.page-resources__faq-answer p {
  margin: 0;
  color: #555;
}

/* Final CTA Section */
.page-resources__final-cta-section {
  background: linear-gradient(135deg, #0A2E36 0%, #1a4a52 100%);
  padding: 80px 0;
  text-align: center;
  color: #FFFFFF;
}

.page-resources__final-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-resources__hero-section .page-resources__container,
  .page-resources__content-grid,
  .page-resources__promotions-grid {
    flex-direction: column;
    text-align: center;
  }

  .page-resources__hero-content,
  .page-resources__hero-image-wrapper,
  .page-resources__text-content,
  .page-resources__image-wrapper,
  .page-resources__promotions-content,
  .page-resources__promotions-image-wrapper {
    min-width: unset;
    width: 100%;
  }

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

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

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

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

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

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

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

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

  .page-resources__section-description {
    font-size: 1em;
    margin-bottom: 40px;
  }

  .page-resources__final-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .page-resources__hero-section {
    min-height: 450px;
  }

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

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

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

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

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