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

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

.page-about__hero-section {
    display: flex;
    flex-direction: column; /* Image above text for all screens */
    align-items: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, body handles header-offset */
    padding-bottom: 40px;
    background-color: #f5f5f5; /* Light background for hero section */
}

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

.page-about__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Desktop: cover to fill space */
}

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

.page-about__main-title {
    font-size: 2.8em;
    font-weight: 700;
    line-height: 1.2;
    color: #017439;
    margin-bottom: 20px;
}

.page-about__description {
    font-size: 1.1em;
    margin-bottom: 30px;
}

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

.page-about__btn-primary,
.page-about__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    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;
    max-width: 100%;
}

.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: #017439;
    border-color: #017439;
}

.page-about__mission-vision-section,
.page-about__why-choose-us-section,
.page-about__faq-section {
    padding: 60px 0;
    background-color: #ffffff; /* Light background */
}

.page-about__values-section,
.page-about__responsibility-section,
.page-about__cta-bottom-section {
    padding: 60px 0;
    background-color: #017439; /* Dark background */
    color: #ffffff; /* White text for dark background */
}

.page-about__section-title {
    font-size: 2.2em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: inherit; /* Inherit color from parent section */
}

.page-about__mission-vision-section .page-about__container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.page-about__content-block {
    flex: 1;
}

.page-about__image-block {
    flex: 1;
    text-align: center;
}

.page-about__image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.page-about__values-grid,
.page-about__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-about__value-card,
.page-about__feature-card {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for dark bg */
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%; /* Ensure cards have equal height */
    box-sizing: border-box;
}

.page-about__why-choose-us-section .page-about__feature-card {
    background-color: #ffffff; /* White background for light section */
    color: #333333;
    border: 1px solid #e0e0e0;
}

.page-about__value-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Ensure icons are white on dark background */
}

.page-about__why-choose-us-section .page-about__feature-image {
    width: 100%;
    height: 200px; /* Fixed height for feature images */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-about__card-title {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 15px;
    color: inherit;
}

.page-about__text-block p {
    margin-bottom: 15px;
}

.page-about__responsibility-section .page-about__container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.page-about__responsibility-section .page-about__content-block--reversed {
    flex-direction: row-reverse; /* Text on right, image on left */
}

/* FAQ Section */
.page-about__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-about__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-sizing: border-box;
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.1em;
    font-weight: 600;
    color: #017439;
    cursor: pointer;
    background-color: #e6f7ed; /* Light green background for question */
    user-select: none;
    list-style: none; /* Hide default marker for details/summary */
}

.page-about__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for Webkit browsers */
}

.page-about__faq-qtext {
    flex: 1;
}

.page-about__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-about__faq-item[open] .page-about__faq-toggle {
    transform: rotate(45deg); /* Rotate '+' to 'x' or just rotate for '-' */
}

.page-about__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    color: #555555;
    background-color: #f9f9f9;
}

.page-about__faq-answer p {
    margin-top: 15px;
}

.page-about__faq-answer a {
    color: #017439;
    text-decoration: underline;
}

.page-about__cta-bottom-section .page-about__text-block {
    max-width: 800px;
    margin: 0 auto 30px;
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-about__main-title {
        font-size: 2.5em;
    }
    .page-about__section-title {
        font-size: 2em;
    }
    .page-about__mission-vision-section .page-about__container,
    .page-about__responsibility-section .page-about__container {
        flex-direction: column;
        text-align: center;
    }
    .page-about__responsibility-section .page-about__content-block--reversed {
        flex-direction: column; /* Revert for smaller screens */
    }
    .page-about__values-grid,
    .page-about__features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-about__container {
        padding: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

    .page-about__hero-image {
        object-fit: contain !important; /* Mobile: contain to prevent cropping */
        aspect-ratio: unset !important;
        max-height: none !important;
    }

    .page-about__main-title {
        font-size: 1.8em;
        margin-bottom: 15px;
    }

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

    .page-about__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-about__btn-primary,
    .page-about__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 15px;
        font-size: 1em;
    }

    .page-about__mission-vision-section,
    .page-about__values-section,
    .page-about__why-choose-us-section,
    .page-about__responsibility-section,
    .page-about__faq-section,
    .page-about__cta-bottom-section {
        padding: 40px 0;
    }

    .page-about__section-title {
        font-size: 1.6em;
        margin-bottom: 30px;
    }

    .page-about__mission-vision-section .page-about__container,
    .page-about__responsibility-section .page-about__container {
        gap: 30px;
    }

    .page-about__values-grid,
    .page-about__features-grid {
        grid-template-columns: 1fr; /* Single column for mobile */
        gap: 20px;
    }

    .page-about__value-card,
    .page-about__feature-card {
        padding: 25px;
    }

    .page-about__value-icon {
        width: 60px;
        height: 60px;
    }

    .page-about__why-choose-us-section .page-about__feature-image {
        height: 180px; /* Adjust height for mobile */
    }

    .page-about__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }

    .page-about__faq-answer {
        padding: 0 20px 15px;
        font-size: 0.95em;
    }

    /* General image and container rules for mobile */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-about__section,
    .page-about__card,
    .page-about__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}