:root {
  --primary-color: #017439;
  --secondary-color: #C30808; /* For register/login buttons as per custom color */
  --text-color-light: #ffffff;
  --text-color-dark: #333333;
  --bg-color-light: #ffffff;
  --bg-color-dark: #017439; /* Using primary color for dark background sections */
  --register-login-font-color: #FFFF00;
}

.page-index {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark); /* Default text color for light background */
  background-color: var(--bg-color-light); /* Default body background is white */
}

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

.page-index__section-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  margin-top: 60px;
}

.page-index__section-title--light {
  color: var(--text-color-light);
}

.page-index__text-block {
  font-size: 16px;
  line-height: 1.7;
  text-align: center;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__text-block--light {
  color: var(--text-color-light);
}

/* CTA Button Styles */
.page-index__cta-button,
.page-index__btn-primary,
.page-index__btn-secondary {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
}

.page-index__cta-button--register,
.page-index__cta-button--download {
  background: var(--secondary-color); /* #C30808 */
  color: var(--register-login-font-color); /* #FFFF00 */
  margin: 0 10px;
}

.page-index__cta-button--contact,
.page-index__cta-button--support {
  background: var(--primary-color);
  color: var(--text-color-light);
  margin: 0 10px;
}

.page-index__cta-button:hover,
.page-index__btn-primary:hover,
.page-index__btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-index__cta-button--register:hover,
.page-index__cta-button--download:hover {
  background: #E03030; /* Slightly lighter red for hover */
}

.page-index__btn-primary {
  background: var(--primary-color);
  color: var(--text-color-light);
}

.page-index__btn-primary:hover {
  background: #005f2e; /* Darker primary for hover */
}

.page-index__btn-secondary {
  background: var(--bg-color-light);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-index__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--text-color-light);
}


/* HERO Section */
.page-index__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 60px; /* Adjust as needed */
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
  background: linear-gradient(135deg, var(--primary-color), var(--bg-color-light));
  overflow: hidden; /* Ensure content doesn't overflow */
}

.page-index__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-index__hero-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 30px;
}

.page-index__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 20px;
}

.page-index__hero-title {
  font-size: 48px;
  color: var(--text-color-light);
  margin-bottom: 20px;
  line-height: 1.2;
}