.page-about {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: var(--background-color, #FFFFFF); /* Inherit from shared or default white */
}

.page-about__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    box-sizing: border-box;
}

.page-about__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

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

.page-about__hero-content {
    width: 100%;
    max-width: 1200px;
    padding: 30px 20px;
    text-align: center;
    box-sizing: border-box;
    background-color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-top: -50px;
    position: relative;
    z-index: 1;
    border-radius: 8px;
}

.page-about__main-title {
    font-size: clamp(2em, 4vw, 3.2em);
    font-weight: 700;
    color: #26A9E0;
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-about__description {
    font-size: 1.1em;
    margin-bottom: 25px;
    color: #555555;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__btn-primary,
.page-about__btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

.page-about__btn-primary {
    background-color: #26A9E0;
    color: #FFFFFF;
    border: 2px solid #26A9E0;
}

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

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

.page-about__btn-secondary:hover {
    background-color: #f0f8ff;
    color: #1a7bb7;
}

.page-about__btn-small {
    padding: 8px 20px;
    font-size: 0.9em;
}

.page-about__section {
    padding: 60px 0;
    box-sizing: border-box;
}

.page-about__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.8em);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #26A9E0;
}

.page-about__section-title--light {
    color: #FFFFFF;
}

.page-about__dark-section {
    background-color: #26A9E0;
    color: #FFFFFF;
}

.page-about__dark-section .page-about__description {
    color: #f0f0f0;
}

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

.page-about__content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.page-about__content-grid--reverse {
    grid-template-columns: 1fr 1fr;
}

.page-about__text-block {
    font-size: 1.05em;
    color: #333333;
}

.page-about__text-block--light {
    color: #FFFFFF;
}

.page-about__sub-title {
    font-size: clamp(1.4em, 2.5vw, 2em);
    font-weight: 600;
    margin-bottom: 20px;
    color: #26A9E0;
}

.page-about__sub-title--light {
    color: #FFFFFF;
}

.page-about__image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

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

.page-about__list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #333333;
}

.page-about__list--light {
    color: #FFFFFF;
}

.page-about__list li {
    margin-bottom: 10px;
}

.page-about__content-row {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.page-about__card {
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    flex: 1;
    min-width: 280px;
    max-width: 380px;
    text-align: center;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #333333;
}

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

.page-about__card p {
    margin-bottom: 20px;
    font-size: 1em;
    color: #555555;
}

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

.page-about__faq-item {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    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.15em;
    font-weight: 600;
    color: #333333;
    cursor: pointer;
    background-color: #f9f9f9;
    transition: background-color 0.3s ease;
}

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

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

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

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

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

.page-about__faq-item details > summary {
    list-style: none;
}
.page-about__faq-item details > summary::-webkit-details-marker {
    display: none;
}


/* Responsive Styles */
@media (max-width: 1024px) {
    .page-about__content-grid {
        grid-template-columns: 1fr;
    }

    .page-about__content-grid--reverse .page-about__image-wrapper {
        order: -1;
    }

    .page-about__content-row {
        flex-direction: column;
        align-items: center;
    }

    .page-about__card {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .page-about__hero-content {
        margin-top: -30px;
        padding: 20px 15px;
    }

    .page-about__main-title {
        font-size: 2.2em;
    }

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

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

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

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

    .page-about__container {
        padding: 0 15px;
    }

    /* Mobile image responsiveness */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-about__hero-image-wrapper,
    .page-about__image-wrapper,
    .page-about__container,
    .page-about__section,
    .page-about__card,
    .page-about__content-grid,
    .page-about__content-row,
    .page-about__faq-list,
    .page-about__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-about__hero-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .page-about__hero-content {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .page-about__section.page-about__hero-section {
        padding-top: 10px !important;
    }

    /* Mobile button responsiveness */
    .page-about__btn-primary,
    .page-about__btn-secondary,
    .page-about a[class*="button"],
    .page-about a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-about__cta-buttons,
    .page-about__button-group,
    .page-about__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    /* Adjust padding for elements inside containers if needed */
    .page-about__text-block,
    .page-about__list,
    .page-about__faq-question,
    .page-about__faq-answer {
        padding-left: 0;
        padding-right: 0;
    }
    .page-about__faq-question {
        padding: 15px 15px;
    }
    .page-about__faq-answer {
        padding: 0 15px 15px 15px;
    }
}