/* style/resources-how-to-choose-best-platform.css */
:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --link-color: #017439;
  --register-button-bg: #C30808;
  --login-button-bg: #C30808;
  --register-login-text: #FFFF00;
}

.page-resources-how-to-choose-best-platform {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark);
  background-color: var(--secondary-color); /* Default white background from body */
}

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

.page-resources-how-to-choose-best-platform__section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  padding-top: 20px;
}

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

.page-resources-how-to-choose-best-platform__highlight {
  color: var(--primary-color);
  font-weight: 700;
}

.page-resources-how-to-choose-best-platform__inline-link {
  color: var(--link-color);
  text-decoration: underline;
}

/* Hero Section */
.page-resources-how-to-choose-best-platform__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px);
  background-color: #f0f0f0; /* Light background for contrast */
  overflow: hidden;
}

.page-resources-how-to-choose-best-platform__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.page-resources-how-to-choose-best-platform__hero-image-wrapper {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-resources-how-to-choose-best-platform__hero-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
  filter: none; /* Ensure no filter changes image color */
}

.page-resources-how-to-choose-best-platform__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-how-to-choose-best-platform__hero-title {
  font-size: 48px;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-resources-how-to-choose-best-platform__hero-description {
  font-size: 20px;
  color: var(--text-color-dark);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-how-to-choose-best-platform__cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: var(--register-button-bg);
  color: var(--register-login-text);
  text-decoration: none;
  border-radius: 8px;
  font-size: 22px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(195, 8, 8, 0.4);
  border: none;
}

.page-resources-how-to-choose-best-platform__cta-button:hover {
  background: #e00e0e;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(195, 8, 8, 0.6);
}

.page-resources-how-to-choose-best-platform__cta-button--large {
  padding: 20px 60px;
  font-size: 24px;
}

.page-resources-how-to-choose-best-platform__cta-wrapper {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 30px;
}

/* Introduction Section */
.page-resources-how-to-choose-best-platform__introduction-section {
  padding: 80px 0;
  background-color: var(--secondary-color);
}

/* Criteria Section */
.page-resources-how-to-choose-best-platform__criteria-section {
  padding: 80px 0;
  background-color: var(--primary-color); /* Dark background for this section */
  color: var(--text-color-light);
}

.page-resources-how-to-choose-best-platform__criteria-section .page-resources-how-to-choose-best-platform__section-title,
.page-resources-how-to-choose-best-platform__criteria-section .page-resources-how-to-choose-best-platform__highlight {
  color: var(--secondary-color); /* White text for titles and highlights on dark background */
}

.page-resources-how-to-choose-best-platform__criteria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 50px;
}