/* style/index.css */
:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --button-register: #C30808;
  --button-login: #C30808;
  --font-register-login: #FFFF00;
}

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

.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;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 30px;
}

.page-index__text-block {
  font-size: 18px;
  text-align: center;
  margin-bottom: 25px;
  color: var(--text-color-dark);
}

.page-index__text-block--small {
  font-size: 16px;
  color: #666;
}

.page-index__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-index__button-group--center {
  justify-content: center;
}

.page-index__btn-primary,
.page-index__btn-secondary,
.page-index__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-index__cta-button {
  background: var(--button-register);
  color: var(--font-register-login);
  border: 2px solid var(--button-register);
  font-size: 20px;
  padding: 18px 45px;
}

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

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

.page-index__btn-primary:hover {
  background: #005a2e;
  border-color: #005a2e;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.page-index__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--text-color-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-index__btn-primary--small,
.page-index__btn-secondary--small {
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 5px;
}

/* 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;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background-color: var(--primary-color);
  overflow: hidden;
}