:root {
  --primary-color: #017439;
  --secondary-color: #004d29; /* Slightly darker green for hover/active states */
  --text-color-light: #ffffff;
  --text-color-dark: #333333;
  --bg-color-light: #ffffff;
  --bg-color-dark: #017439;
  --button-register-bg: #C30808;
  --button-login-bg: #C30808;
  --button-text-color: #FFFF00;
  --border-color: #e0e0e0;
}

/* Base styles for the page-index scope */
.page-index {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark); /* Default text color for light backgrounds */
  background-color: var(--bg-color-light); /* Assuming shared.css sets body background to light */
}

/* Ensure images are responsive and not too small */
.page-index img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px; /* Consistent styling */
  object-fit: cover;
  /* Ensure minimum size for content images */
  min-width: 200px;
  min-height: 200px;
}

/* No filter on images */
.page-index img {
  filter: none !important;
}

/* Container for consistent padding and max-width */
.page-index__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

/* Section titles */
.page-index__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-color);
}

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

.page-index__text-block {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  font-size: 18px;
  line-height: 1.8;
}

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

/* CTA Buttons - General Styling */
.page-index__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
}

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

.page-index__btn-register {
  background: var(--button-register-bg);
  color: var(--button-text-color);
}

.page-index__btn-register:hover {
  background: #a80707; /* Darker red */
}