:root {
    --primary-color: #017439; /* Green */
    --secondary-color: #FFFFFF; /* White */
    --accent-register-color: #C30808; /* Red for register/login */
    --accent-login-color: #C30808; /* Red for register/login */
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --link-color: #017439;
    --link-hover-color: #005a2e;
    /* --register-login-font-color: #FFFF00; /* Yellow for register/login font - REMOVED DUE TO CONTRAST */ */
    --border-color: #e0e0e0;
    --card-bg-color: #ffffff;
    --faq-bg-question: #fff;
    --faq-bg-answer: #f9f9f9;
}

/* Base styles for the page content */
.page-about {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color-dark); /* Default text color for light body background */
    background: var(--secondary-color); /* Matches body background from shared.css */
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-about__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.page-about__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-top: 60px;
    margin-bottom: 40px;
    line-height: 1.3;
    font-weight: bold;
}

.page-about__intro-text,
.page-about__description-text {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    border: none;
    box-sizing: border-box; /* Ensure padding doesn't increase total width */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-about__btn-register {
    background: var(--accent-register-color);
    color: var(--text-color-light); /* Changed to white for WCAG AA contrast */
    box-shadow: 0 4px 15px rgba(195, 8, 8, 0.3);
}

.page-about__btn-register:hover {
    background: #a30606; /* Slightly darker red */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(195, 8, 8, 0.4);
}

.page-about__btn-explore {
    background: var(--primary-color);
    color: var(--text-color-light);
    box-shadow: 0 4px 15px rgba(1, 116, 57, 0.3);
}

.page-about__btn-explore:hover {
    background: var(--link-hover-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(1, 116, 57, 0.4);
}

.page-about__btn-join {
    background: var(--primary-color);
    color: var(--text-color-light);
    box-shadow: 0 4px 15px rgba(1, 116, 57, 0.3);
}

.page-about__btn-join:hover {
    background: var(--link-hover-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(1, 116, 57, 0.4);
}

.page-about__btn-contact,
.page-about__btn-support {
    background: var(--primary-color);
    color: var(--text-color-light);
    box-shadow: 0 4px 15px rgba(1, 116, 57, 0.3);
}

.page-about__btn-contact:hover,
.page-about__btn-support:hover {
    background: var(--link-hover-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(1, 116, 57, 0.4);
}

.page-about__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%; /* Ensure container takes full width */
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Image styles */
.page-about img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.page-about__intro-section {
    padding: 60px 0;
    text-align: center;
    background: linear-gradient(135deg, #e6ffe6, var(--secondary-color)); /* Light gradient for intro */
}

.page-about__intro-image {
    margin: 40px auto;
    max-width: 1000px;
    height: 563px; /* Example height for 16:9 aspect ratio if width is 1000px */
    width: 100%; /* Ensure it's responsive */
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}