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

.page-resources-reliable-platform__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-resources-reliable-platform__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-resources-reliable-platform__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-resources-reliable-platform__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 500px;
  padding: var(--header-offset, 120px) 0 60px; /* Apply header offset */
  overflow: hidden;
}

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

.page-resources-reliable-platform__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-reliable-platform__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-reliable-platform__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 50px;
  font-weight: bold;
  color: inherit; /* Inherit color from parent section */
}

.page-resources-reliable-platform__content-section,
.page-resources-reliable-platform__features-section,
.page-resources-reliable-platform__cta-section,
.page-resources-reliable-platform__tips-section,
.page-resources-reliable-platform__faq-section,
.page-resources-reliable-platform__conclusion-section {
  padding: 80px 0;
}

.page-resources-reliable-platform__text-block p {
  margin-bottom: 20px;
  font-size: 1.1em;
}

.page-resources-reliable-platform__subsection-title {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: bold;
  color: #26A9E0; /* Brand color for sub-titles */
}

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

.page-resources-reliable-platform__card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #333333;
}

.page-resources-reliable-platform__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-resources-reliable-platform__card-image {
  max-width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-resources-reliable-platform__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: bold;
  color: #26A9E0; /* Brand color for card titles */
}

.page-resources-reliable-platform__card-description {
  font-size: 1em;
  flex-grow: 1;
}

.page-resources-reliable-platform__cta-content {
  text-align: center;
}

.page-resources-reliable-platform__description {
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto 40px;
}

.page-resources-reliable-platform__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-resources-reliable-platform__btn-primary,
.page-resources-reliable-platform__btn-secondary {
  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, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-reliable-platform__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-resources-reliable-platform__btn-primary:hover {
  background-color: #1e87c2;
  border-color: #1e87c2;
}

.page-resources-reliable-platform__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-resources-reliable-platform__btn-secondary:hover {
  background-color: #f0f8ff;
  color: #1e87c2;
  border-color: #1e87c2;
}

.page-resources-reliable-platform__tip-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  color: #333333;
}

.page-resources-reliable-platform__tip-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-resources-reliable-platform__tip-description {
  font-size: 1em;
}

.page-resources-reliable-platform__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

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

.page-resources-reliable-platform__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #eaf7ff; /* Light blue background for question */
  color: #333333;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-resources-reliable-platform__faq-question:hover {
  background-color: #d0e9ff;
}

.page-resources-reliable-platform__faq-title {
  margin: 0;
  font-size: 1.2em;
  color: #26A9E0;
}

.page-resources-reliable-platform__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

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

.page-resources-reliable-platform__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #ffffff;
  color: #333333;
}

.page-resources-reliable-platform__faq-item.active .page-resources-reliable-platform__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to accommodate content */
  padding: 20px;
}

.page-resources-reliable-platform__faq-answer p {
  margin: 0;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-resources-reliable-platform__hero-title {
    font-size: 2.8em;
  }
  .page-resources-reliable-platform__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-resources-reliable-platform {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-resources-reliable-platform__hero-section {
    padding: var(--header-offset, 120px) 20px 40px; /* Adjust padding for mobile */
    text-align: left;
    align-items: flex-start;
  }
  .page-resources-reliable-platform__hero-title {
    font-size: 2.2em;
    text-align: center;
  }
  .page-resources-reliable-platform__hero-description {
    font-size: 1em;
    text-align: center;
  }
  .page-resources-reliable-platform__section-title {
    font-size: 1.8em;
  }
  .page-resources-reliable-platform__subsection-title {
    font-size: 1.5em;
  }
  .page-resources-reliable-platform__card {
    padding: 20px;
  }
  .page-resources-reliable-platform__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-reliable-platform__btn-primary,
  .page-resources-reliable-platform__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-resources-reliable-platform__card-image {
    height: 200px;
  }
  
  /* Mobile image responsiveness */
  .page-resources-reliable-platform img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-reliable-platform__section,
  .page-resources-reliable-platform__card,
  .page-resources-reliable-platform__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-resources-reliable-platform__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensures video section respects header on mobile */
  }

  /* Mobile video responsiveness */
  .page-resources-reliable-platform video,
  .page-resources-reliable-platform__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-reliable-platform__video-section,
  .page-resources-reliable-platform__video-container,
  .page-resources-reliable-platform__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-resources-reliable-platform__faq-answer {
    padding: 15px !important;
  }
}

@media (max-width: 480px) {
  .page-resources-reliable-platform__hero-title {
    font-size: 1.8em;
  }
  .page-resources-reliable-platform__section-title {
    font-size: 1.5em;
  }
  .page-resources-reliable-platform__cta-buttons {
    flex-direction: column;
  }
}