/* style/index.css */

/* Variables */
:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f8f8f8;
  --background-dark: #017439; /* Using primary color for dark background sections */
  --btn-register-bg: #C30808;
  --btn-register-text: #000000; /* Adjusted to #000000 for WCAG AA contrast on #C30808 (5.8:1) */
  --btn-login-bg: #C30808;
  --btn-login-text: #000000; /* Adjusted to #000000 for WCAG AA contrast on #C30808 (5.8:1) */
  --header-offset: 120px; /* Default value, will be overridden by shared.css if defined */
}

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

/* Base container styling */
.page-index__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

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

.page-index__text-block {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Light background sections */
.page-index__light-bg {
  background-color: var(--background-light);
  color: var(--text-dark);
}

/* Dark background sections */
.page-index__dark-bg {
  background-color: var(--background-dark);
  color: var(--text-light);
}