.page-about {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
}

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

/* Hero Section */
.page-about__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    padding-top: var(--header-offset, 120px); /* Apply header offset */
    background-color: #017439; /* Brand color as background */
    color: #ffffff;
    overflow: hidden;
}

.page-about__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 20px;
}

.page-about__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFFF00; /* Register/Login font color for title */
}

.page-about__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #ffffff;
}

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

.page-about__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.page-about__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle background image */
}

/* General Section Styling */
.page-about__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    color: inherit; /* Inherit from parent for contrast */
}

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

/* Intro Section */
.page-about__intro-section {
    background-color: #ffffff;
    color: #333333; /* Dark text for light background */
    padding: 60px 0;
}

/* Mission & Vision Section */
.page-about__mission-vision-section {
    background-color: #017439;
    color: #ffffff;
    padding: 60px 0;
}

.page-about__grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: stretch;
}

.page-about__card {
    background: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.page-about__card-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    font-weight: bold;
    color: #FFFF00; /* Use specific yellow for titles on dark background */
}

.page-about__card-text {
    font-size: 1.1em;
    line-height: 1.7;
}

/* Values Section */
.page-about__values-section {
    background-color: #ffffff;
    color: #333333;
    padding: 60px 0;
}

.page-about__values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.page-about__value-item {
    padding: 20px;
    border-radius: 10px;
    background: #f9f9f9;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-about__value-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-about__value-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    font-weight: bold;
    color: #017439; /* Brand color for titles on light background */
}

.page-about__value-description {
    font-size: 1em;
    color: #555555;
}

/* Why Choose Us Section */
.page-about__why-choose-us-section {
    background-color: #017439;
    color: #ffffff;
    padding: 60px 0;
}

.page-about__grid-container--reversed {
    grid-template-columns: 1fr 1fr; /* Default for desktop */
}

.page-about__content-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-about__feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-about__feature-item {
    margin-bottom: 25px;
}

.page-about__feature-title {
    font-size: 1.6em;
    margin-bottom: 10px;
    color: #FFFF00; /* Use specific yellow for titles on dark background */
}

.page-about__feature-description {
    font-size: 1.1em;
    color: #f0f0f0;
}

.page-about__image-block {
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-about__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-about__faq-section {
    background-color: #ffffff;
    color: #333333;
    padding: 60px 0;
}

.page-about__faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.page-about__faq-item {
    background: #f9f9f9;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background: #eeeeee;
    color: #333333;
    transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
    background-color: #e0e0e0;
}

.page-about__faq-question h3 {
    margin: 0;
    color: #017439; /* Brand color for FAQ questions */
}

.page-about__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #017439;
}

.page-about__faq-item.active .page-about__faq-toggle {
    transform: rotate(45deg);
}

.page-about__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #555555;
    background: #f0f0f0;
}

.page-about__faq-item.active .page-about__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px;
}

.page-about__faq-answer p {
    margin: 0;
}

/* CTA Section */
.page-about__cta-section {
    background-color: #017439;
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.page-about__cta-content {
    max-width: 900px;
    margin: 0 auto;
}

.page-about__cta-title {
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFFF00; /* Use specific yellow for titles on dark background */
}

.page-about__cta-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

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

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

.page-about__btn-secondary:hover {
    background-color: #ffffff;
    color: #017439;
}

.page-about__btn-primary--large {
    padding: 18px 40px;
    font-size: 1.3em;
}

/* Dark and Light Background utility classes for sections */
.page-about__dark-bg {
    background-color: #017439; /* Main brand color */
    color: #ffffff;
}

.page-about__light-bg {
    background-color: #ffffff; /* Auxiliary color */
    color: #333333;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-about__hero-title {
        font-size: 3em;
    }
    .page-about__section-title {
        font-size: 2em;
    }
    .page-about__cta-title {
        font-size: 2.5em;
    }
    .page-about__grid-container {
        grid-template-columns: 1fr;
    }
    .page-about__grid-container--reversed {
        grid-template-columns: 1fr;
    }
    .page-about__content-block {
        order: 2;
    }
    .page-about__image-block {
        order: 1;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .page-about__hero-section {
        min-height: 450px;
    }
    .page-about__hero-title {
        font-size: 2.2em;
    }
    .page-about__hero-description {
        font-size: 1em;
    }
    .page-about__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-about__btn-primary,
    .page-about__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-about__btn-primary--large {
        padding: 15px 30px;
        font-size: 1.1em;
    }

    .page-about__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-about__card-title {
        font-size: 1.5em;
    }
    .page-about__value-title {
        font-size: 1.3em;
    }
    .page-about__feature-title {
        font-size: 1.4em;
    }
    .page-about__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-about__cta-title {
        font-size: 2em;
    }
    .page-about__cta-description {
        font-size: 1.1em;
    }

    /* Mobile image responsiveness */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Mobile video responsiveness (if any, though none currently in HTML) */
    .page-about video,
    .page-about__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Mobile container padding and overflow */
    .page-about__container,
    .page-about__hero-section,
    .page-about__intro-section,
    .page-about__mission-vision-section,
    .page-about__values-section,
    .page-about__why-choose-us-section,
    .page-about__faq-section,
    .page-about__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }

    /* Ensure specific sections maintain padding-top for header offset */
    .page-about__hero-section {
        padding-top: var(--header-offset, 120px) !important;
    }
}