.page-about {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Default text color for light background */
    line-height: 1.6;
}

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

.page-about__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 40px;
    color: #ffffff;
    background: #017439; /* Brand primary color for hero background */
}

.page-about__hero-image-wrap {
    width: 100%;
    max-width: 1200px;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 8px;
}

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

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

.page-about__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #FFFF00; /* Custom color for H1 */
}

.page-about__description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #ffffff;
}

.page-about__cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-about__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

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

.page-about__btn-secondary {
    background: transparent;
    color: #FFFF00; /* Custom font color for Register/Login */
    border: 2px solid #FFFF00;
}

.page-about__btn-secondary:hover {
    background: #FFFF00;
    color: #C30808;
}

.page-about__section {
    padding: 60px 0;
    background: #ffffff; /* Default light background */
}

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

.page-about__dark-bg .page-about__section-title,
.page-about__dark-bg .page-about__sub-title {
    color: #FFFF00;
}

.page-about__light-bg {
    background: #f8f8f8;
    color: #333333;
}

.page-about__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #017439; /* Primary brand color for section titles */
}

.page-about__sub-title {
    font-size: clamp(1.4rem, 2.8vw, 2rem);
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #017439; /* Primary brand color for sub titles */
}

.page-about p {
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.page-about strong {
    color: #017439;
}

.page-about__dark-bg strong {
    color: #FFFF00;
}

.page-about__values-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-about__values-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.page-about__values-item::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: #017439;
}

.page-about__dark-bg .page-about__values-item::before {
    color: #FFFF00;
}

.page-about__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Mobile responsiveness */
@media (max-width: 1024px) {
    .page-about__main-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }

    .page-about__section-title {
        font-size: clamp(1.6rem, 4vw, 2.5rem);
    }

    .page-about__sub-title {
        font-size: clamp(1.2rem, 3.5vw, 1.8rem);
    }
}

@media (max-width: 768px) {
    .page-about {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-about__hero-section {
        padding-top: 10px !important; /* Small top padding for mobile */
        padding-bottom: 30px;
    }

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

    .page-about__main-title {
        font-size: 2.2rem !important; /* Specific size for mobile H1 */
        line-height: 1.2;
    }

    .page-about__description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .page-about__cta-buttons {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
    }

    .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 15px !important; /* Adjust padding for smaller screens */
    }

    .page-about__section {
        padding: 40px 0;
    }

    .page-about__article-wrap {
        padding: 0 15px;
    }

    .page-about__section-title {
        font-size: 1.8rem !important;
        margin-bottom: 30px;
    }

    .page-about__sub-title {
        font-size: 1.3rem !important;
        margin-top: 25px;
        margin-bottom: 10px;
    }

    .page-about p,
    .page-about__values-item {
        font-size: 0.95rem;
    }

    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        margin: 20px auto !important;
    }

    /* Ensure all image-containing containers are responsive */
    .page-about__hero-image-wrap,
    .page-about__section,
    .page-about__article-wrap,
    .page-about__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}