.page-resources-how-to-choose-platform {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #f8f9fa;
}

.page-resources-how-to-choose-platform__dark-bg {
  background-color: #000080;
  color: #ffffff;
}

.page-resources-how-to-choose-platform__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-resources-how-to-choose-platform__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background-color: #000080; /* Auxiliary brand color */
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-resources-how-to-choose-platform__hero-content {
  max-width: 900px;
  z-index: 1;
  position: relative;
}

.page-resources-how-to-choose-platform__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold accent for main title */
  line-height: 1.2;
}

.page-resources-how-to-choose-platform__intro-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-how-to-choose-platform__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin: 10px;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Break long words */
  box-sizing: border-box;
}

.page-resources-how-to-choose-platform__btn-primary {
  background-color: #FFD700; /* Primary brand color */
  color: #000080; /* Dark blue text for contrast */
  border: 2px solid #FFD700;
}

.page-resources-how-to-choose-platform__btn-primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-resources-how-to-choose-platform__btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-resources-how-to-choose-platform__btn-secondary:hover {
  background-color: #FFD700;
  color: #000080;
  transform: translateY(-2px);
}

.page-resources-how-to-choose-platform__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.page-resources-how-to-choose-platform__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle background image */
  position: absolute;
  top: 0;
  left: 0;
}

.page-resources-how-to-choose-platform__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  margin-top: -60px; /* Overlap with hero for visual flow */
  position: relative;
  z-index: 2;
}

.page-resources-how-to-choose-platform__section-title {
  font-size: 2.5em;
  color: #000080;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-resources-how-to-choose-platform__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-resources-how-to-choose-platform__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-resources-how-to-choose-platform__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-resources-how-to-choose-platform__card {
  background-color: #fefefe;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-resources-how-to-choose-platform__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-how-to-choose-platform__card-title {
  font-size: 1.5em;
  color: #000080;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources-how-to-choose-platform__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-resources-how-to-choose-platform__card-text {
  font-size: 1em;
  color: #555555;
  margin-bottom: 15px;
  text-align: justify;
}

.page-resources-how-to-choose-platform ul {
  list-style: none;
  padding: 0;
  margin-top: 15px;
  text-align: left;
  width: 100%;
}

.page-resources-how-to-choose-platform li {
  margin-bottom: 8px;
  padding-left: 25px;
  position: relative;
  color: #444444;
}

.page-resources-how-to-choose-platform li::before {
  content: '✔';
  color: #FFD700;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-resources-how-to-choose-platform__cta-wrapper {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 50px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.page-resources-how-to-choose-platform__faq-container {
  margin-top: 40px;
  border-top: 1px solid #eee;
  padding-top: 20px;
}

.page-resources-how-to-choose-platform__faq-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  background-color: #fefefe;
}

.page-resources-how-to-choose-platform__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: #000080; /* Dark blue background for questions */
  color: #ffffff;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-resources-how-to-choose-platform__faq-question:hover {
  background-color: #000066;
}

.page-resources-how-to-choose-platform__faq-question h3 {
  margin: 0;
  color: #ffffff;
}

.page-resources-how-to-choose-platform__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFD700; /* Gold color for toggle icon */
}

.page-resources-how-to-choose-platform__faq-item.active .page-resources-how-to-choose-platform__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-how-to-choose-platform__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  background-color: #ffffff;
  color: #333333;
  text-align: justify;
}

.page-resources-how-to-choose-platform__faq-item.active .page-resources-how-to-choose-platform__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-resources-how-to-choose-platform__main-title {
    font-size: 2.8em;
  }

  .page-resources-how-to-choose-platform__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-resources-how-to-choose-platform__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
  }

  .page-resources-how-to-choose-platform__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-resources-how-to-choose-platform__intro-text {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-resources-how-to-choose-platform__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    margin: 10px 0;
    padding: 12px 20px;
    font-size: 0.9em;
  }

  .page-resources-how-to-choose-platform__cta-wrapper {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-resources-how-to-choose-platform__content-area {
    padding: 20px 15px;
    margin-top: -30px;
  }

  .page-resources-how-to-choose-platform__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-resources-how-to-choose-platform__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-resources-how-to-choose-platform__card {
    padding: 20px;
  }

  .page-resources-how-to-choose-platform__card-title {
    font-size: 1.3em;
  }

  .page-resources-how-to-choose-platform__card-image {
    height: 200px;
  }

  .page-resources-how-to-choose-platform img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-resources-how-to-choose-platform__section,
  .page-resources-how-to-choose-platform__card,
  .page-resources-how-to-choose-platform__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-resources-how-to-choose-platform__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-resources-how-to-choose-platform__faq-answer {
    padding: 10px 20px;
  }
}

@media (max-width: 480px) {
  .page-resources-how-to-choose-platform__main-title {
    font-size: 1.8em;
  }

  .page-resources-how-to-choose-platform__section-title {
    font-size: 1.5em;
  }
}