.page-about {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light body background */
    background-color: #FFFFFF; /* Explicitly state for consistency, though body handles it */
}

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

.page-about__section {
    padding: 60px 0;
    position: relative;
}

.page-about__dark-bg {
    background-color: #017439;
    color: #ffffff;
}

.page-about__heading {
    font-size: 2.5em;
    font-weight: bold;
    color: #017439;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.2;
}

.page-about__dark-bg .page-about__heading {
    color: #ffffff;
}

.page-about__sub-heading {
    font-size: 1.8em;
    font-weight: bold;
    color: #017439;
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-about__dark-bg .page-about__sub-heading {
    color: #ffffff;
}

.page-about__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-about__highlight {
    color: #C30808; /* Example highlight color, ensure contrast */
    font-weight: bold;
}

/* Hero Section */
.page-about__hero-section {
    position: relative;
    text-align: center;
    padding-top: 10px; /* Small top padding as shared.css handles body padding */
    padding-bottom: 60px;
    overflow: hidden;
}

.page-about__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    margin-bottom: 30px;
}

.page-about__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-about__main-title {
    font-size: clamp(2em, 4vw, 3em); /* Using clamp for H1 */
    font-weight: 900;
    color: #017439;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.page-about__hero-description {
    font-size: 1.2em;
    color: #555555;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.page-about__cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    margin-top: 30px;
}

.page-about__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Ensure text wraps within the button */
    text-align: center;
    max-width: 100%; /* Ensure button doesn't overflow container */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.page-about__btn-primary {
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}

.page-about__btn-primary:hover {
    background-color: #a00606;
    border-color: #a00606;
}

.page-about__btn-secondary {
    background-color: #FFFFFF;
    color: #017439;
    border: 2px solid #017439;
}

.page-about__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #005a2e;
    border-color: #005a2e;
}

.page-about__cta-buttons--bottom {
    margin-top: 50px;
}

.page-about__cta-buttons--final {
    margin-top: 60px;
    padding-bottom: 40px;
}

/* Image Figures */
.page-about__image-figure {
    margin: 40px auto;
    max-width: 680px; /* Max width for blog-type images */
    text-align: center;
    background-color: #f9f9f9;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-about__figure-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
    margin-bottom: 10px;
}

.page-about__figure-caption {
    font-size: 0.95em;
    color: #666666;
    padding: 5px 10px;
}

/* Value Cards Section */
.page-about__value-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-about__value-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
    color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-height: 250px; /* Ensure cards have a minimum height for consistency */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.page-about__value-card .page-about__card-title {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-about__value-card .page-about__card-text {
    font-size: 1em;
    line-height: 1.6;
}

/* Feature List Section */
.page-about__feature-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-about__list-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border-left: 5px solid #017439;
}

.page-about__list-title {
    font-size: 1.4em;
    font-weight: bold;
    color: #017439;
    margin-bottom: 10px;
}

.page-about__list-text {
    font-size: 1em;
    color: #555555;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-about__container {
        padding: 0 15px;
    }

    .page-about__heading {
        font-size: 2em;
    }

    .page-about__sub-heading {
        font-size: 1.6em;
    }

    .page-about__paragraph {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    /* 1. Top Section & CTA */
    .page-about__hero-section {
        padding-top: 10px !important; /* Fixed header spacing */
        padding-bottom: 40px;
    }

    .page-about__hero-content {
        padding: 0 15px;
    }

    .page-about__main-title {
        font-size: 2em; /* Smaller H1 for mobile */
        margin-bottom: 15px;
    }

    .page-about__hero-description {
        font-size: 1.1em;
        margin-bottom: 20px;
    }

    .page-about__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
        margin-top: 20px;
        padding: 0 15px; /* Add padding to button container */
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    /* 4. Buttons & Button Containers */
    .page-about__btn {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    /* 2. Single Column Long-form Content */
    .page-about__section {
        padding: 40px 0;
    }

    .page-about__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-about__heading {
        font-size: 1.8em;
        margin-bottom: 20px;
    }

    .page-about__sub-heading {
        font-size: 1.4em;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .page-about__paragraph {
        font-size: 0.95em;
    }

    /* 3. General Images & Figures */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }

    .page-about__image-figure {
        margin: 30px auto;
        padding: 5px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-about__figure-caption {
        font-size: 0.85em;
    }

    /* Value Cards */
    .page-about__value-cards {
        grid-template-columns: 1fr; /* Stack cards vertically */
        gap: 20px;
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .page-about__value-card {
        padding: 25px;
        min-height: unset; /* Remove fixed height for mobile */
    }

    .page-about__value-card .page-about__card-title {
        font-size: 1.3em;
    }

    /* Feature List */
    .page-about__feature-list {
        grid-template-columns: 1fr; /* Stack list items vertically */
        gap: 20px;
        margin-top: 30px;
    }

    .page-about__list-item {
        padding: 25px;
    }

    .page-about__list-title {
        font-size: 1.2em;
    }

    /* 5. Registration Tutorial & FAQ (Generic placeholder for checklist compliance) */
    /* For a generic h3 inside a section */
    .page-about__section h3 {
        font-size: 1.4em;
    }
    .page-about__section p {
        font-size: 0.95em;
    }
}