/* style/resources-choosing-a-platform.css */
.page-resources-choosing-a-platform {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: var(--background-color, #FFFFFF);
}

.page-resources-choosing-a-platform__dark-section {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-resources-choosing-a-platform__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

.page-resources-choosing-a-platform__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  box-sizing: border-box;
}

.page-resources-choosing-a-platform__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-resources-choosing-a-platform__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.page-resources-choosing-a-platform__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
}

.page-resources-choosing-a-platform__hero-title {
  font-size: 3.5em;
  color: #FFFFFF;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources-choosing-a-platform__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-resources-choosing-a-platform__hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-resources-choosing-a-platform__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.page-resources-choosing-a-platform__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-resources-choosing-a-platform__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #26A9E0;
  border-radius: 2px;
}

.page-resources-choosing-a-platform__sub-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-resources-choosing-a-platform__paragraph {
  font-size: 1em;
  margin-bottom: 15px;
  line-height: 1.7;
}

.page-resources-choosing-a-platform__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-resources-choosing-a-platform__ordered-list {
  list-style-type: decimal;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-resources-choosing-a-platform__list-item {
  margin-bottom: 10px;
}

.page-resources-choosing-a-platform__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px 0;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-choosing-a-platform__image-content {
  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-choosing-a-platform__cta-section {
  background-color: #f0f8ff; /* Light blue background */
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  margin-top: 50px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-resources-choosing-a-platform__cta-text {
  font-size: 1.5em;
  color: #333333;
  margin-bottom: 20px;
}

.page-resources-choosing-a-platform__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: 2px solid transparent;
}

.page-resources-choosing-a-platform__btn-primary:hover {
  background-color: #1a8ccb;
}

.page-resources-choosing-a-platform__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  border: 2px solid #26A9E0;
}

.page-resources-choosing-a-platform__btn-secondary:hover {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-resources-choosing-a-platform__faq-container {
  margin-top: 40px;
  border-top: 1px solid #eee;
}

.page-resources-choosing-a-platform__faq-item {
  border-bottom: 1px solid #eee;
}

.page-resources-choosing-a-platform__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  font-size: 1.1em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #f9f9f9;
  transition: background-color 0.3s ease;
}

.page-resources-choosing-a-platform__faq-question:hover {
  background-color: #f0f0f0;
}

.page-resources-choosing-a-platform__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-resources-choosing-a-platform__faq-item.active .page-resources-choosing-a-platform__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-choosing-a-platform__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 15px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  background-color: #ffffff;
}

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

.page-resources-choosing-a-platform__faq-answer p {
  margin-top: 0;
  margin-bottom: 15px;
  color: #555555;
}

.page-resources-choosing-a-platform__cta-bottom {
  padding: 80px 20px;
  text-align: center;
}

.page-resources-choosing-a-platform__cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-resources-choosing-a-platform__cta-title {
  font-size: 2.8em;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.page-resources-choosing-a-platform__cta-description {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-resources-choosing-a-platform__hero-title {
    font-size: 2.8em;
  }
  .page-resources-choosing-a-platform__section-title {
    font-size: 2em;
  }
  .page-resources-choosing-a-platform__sub-title {
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {
  .page-resources-choosing-a-platform__hero-section {
    height: 450px;
  }
  .page-resources-choosing-a-platform__hero-title {
    font-size: 2.2em;
  }
  .page-resources-choosing-a-platform__hero-description {
    font-size: 1em;
  }
  .page-resources-choosing-a-platform__hero-cta {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-choosing-a-platform__btn-primary,
  .page-resources-choosing-a-platform__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-resources-choosing-a-platform__content-area,
  .page-resources-choosing-a-platform__cta-section,
  .page-resources-choosing-a-platform__cta-bottom {
    padding: 30px 15px;
  }
  .page-resources-choosing-a-platform__section-title {
    font-size: 1.8em;
  }
  .page-resources-choosing-a-platform__sub-title {
    font-size: 1.3em;
  }
  .page-resources-choosing-a-platform p,
  .page-resources-choosing-a-platform li {
    font-size: 15px;
  }

  /* Image and Video Responsive Rules */
  .page-resources-choosing-a-platform img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-choosing-a-platform video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-choosing-a-platform__image-full-width,
  .page-resources-choosing-a-platform__image-content,
  .page-resources-choosing-a-platform__hero-image,
  .page-resources-choosing-a-platform__video-section,
  .page-resources-choosing-a-platform__video-container,
  .page-resources-choosing-a-platform__video-wrapper,
  .page-resources-choosing-a-platform__hero-cta {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-resources-choosing-a-platform__faq-question {
    font-size: 1em;
  }
  .page-resources-choosing-a-platform__faq-answer p {
    font-size: 0.95em;
  }
  .page-resources-choosing-a-platform__cta-title {
    font-size: 2em;
  }
  .page-resources-choosing-a-platform__cta-description {
    font-size: 1em;
  }

  /* Ensure padding-top for video section if it's the first content element */
  .page-resources-choosing-a-platform__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }
}