/* style/index.css */

/* Custom CSS Variables */
:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --register-login-button-color: #C30808;
    --register-login-font-color: #FFFF00;
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-light: #f9f9f9;
    --border-color: #e0e0e0;
}

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

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

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

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

.page-index__section-description {
    font-size: 18px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    color: var(--text-dark);
}

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

/* General Buttons */
.page-index__btn-primary,
.page-index__btn-secondary,
.page-index__btn-text,
.page-index__cta-button {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

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

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

.page-index__btn-secondary:hover {
    background: #e0f2e8; /* Lighter green */
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-index__btn-text {
    background: transparent;
    color: var(--primary-color);
    border: none;
    padding: 8px 0;
    font-weight: normal;
    font-size: 15px;
    text-decoration: underline;
}

.page-index__btn-text:hover {
    color: #005c2e; /* Darker green */
}

/* All images responsive */
.page-index img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* HERO Section */
.page-index__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color) 50%, #017439cc); /* Use brand color */
    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%;
}