/* style/index.css */

:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --text-on-dark-bg: #ffffff;
  --text-on-light-bg: #333333;
  --button-register-bg: #C30808;
  --button-register-text: #FFFF00;
}

.page-index {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-on-dark-bg); /* Default text color for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

.page-index h1, .page-index h2, .page-index h3, .page-index h4, .page-index h5, .page-index h6 {
  color: var(--text-on-dark-bg);
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-index a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index a:hover {
  color: #02a353; /* Slightly lighter green for hover */
}

.page-index__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-on-dark-bg);
}

.page-index__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 60px;
  color: #cccccc;
}

.page-index__cta-button {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
}

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

.page-index__cta-button--register:hover, .page-index__cta-button--download:hover {
  background: #a30606; /* Darker red */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-index__cta-button--secondary {
  background: var(--primary-color);
  color: var(--secondary-color);
}

.page-index__cta-button--secondary:hover {
  background: #02a353; /* Darker green */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-index__more-info-cta {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}