.page-about {
    font-family: Arial, sans-serif;
    color: #333333; /* Default text color for light backgrounds */
}

.page-about__hero-section {
    position: relative;
    width: 100%;
    padding-top: 10px; /* Small top padding, assuming body has padding-top from shared.css */
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #FFFFFF;
}

.page-about__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Limit height for desktop hero image */
    overflow: hidden;
}

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

.page-about__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin-top: -100px; /* Pull content up over the image slightly for visual interest */
    background-color: rgba(255, 255, 255, 0.95); /* Semi-transparent white background for readability */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-about__main-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: #26A9E0;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
}

.page-about__hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #555555;
}

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

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

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

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

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

.page-about__btn-secondary:hover {
    background-color: #e0f2f7;
    color: #26A9E0;
}

.page-about__btn-primary--small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.page-about__section {
    padding: 60px 0;
    background-color: #FFFFFF;
}

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

.page-about__section-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    color: #26A9E0;
    text-align: center;
    margin-bottom: 50px;
    font-weight: bold;
}

.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__content-grid--reverse .page-about__image-block {
    order: 2;
}

.page-about__content-grid--reverse .page-about__text-block {
    order: 1;
}

.page-about__text-block p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #555555;
}

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

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

.page-about__image-block--center {
    grid-column: 1 / -1;
    margin-top: 40px;
}

.page-about__why-choose-us-section {
    background-color: #26A9E0;
    color: #FFFFFF;
}

.page-about__why-choose-us-section .page-about__section-title {
    color: #FFFFFF;
}

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

.page-about__feature-card {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.page-about__feature-card .page-about__feature-title {
    font-size: 1.5rem;
    color: #FFFFFF;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-about__feature-card p {
    color: #f0f0f0;
    line-height: 1.6;
}

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

.page-about__light-bg .page-about__section-title {
    color: #26A9E0;
}

.page-about__light-bg p {
    color: #555555;
}

.page-about__faq-section {
    padding-bottom: 80px;
}

.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: 20px 25px;
    font-size: 1.15rem;
    font-weight: bold;
    color: #333333;
    cursor: pointer;
    background-color: #fcfcfc;
    transition: background-color 0.3s ease;
    list-style: none;
}

.page-about__faq-item[open] > .page-about__faq-question {
    background-color: #e0f2f7;
    color: #26A9E0;
}

.page-about__faq-question::-webkit-details-marker {
    display: none;
}

.page-about__faq-toggle {
    font-size: 1.5rem;
    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: 1rem;
    line-height: 1.6;
    color: #555555;
}

.page-about__faq-answer p {
    margin-bottom: 10px;
}

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

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

.page-about__contact-cta-section {
    background-color: #26A9E0;
    color: #FFFFFF;
    padding: 80px 0;
    text-align: center;
}

.page-about__contact-cta-content {
    max-width: 800px;
}

.page-about__contact-cta-section .page-about__section-title {
    color: #FFFFFF;
    margin-bottom: 20px;
}

.page-about__contact-cta-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #f0f0f0;
}

/* General image responsive styles */
.page-about img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

    .page-about__hero-section {
        padding-top: 10px !important; /* Ensure small top padding */
        padding-bottom: 30px;
    }

    .page-about__hero-image-wrapper {
        max-height: 300px; /* Adjust hero image height for mobile */
    }

    .page-about__hero-content {
        margin-top: -50px; /* Adjust overlap for mobile */
        padding: 20px;
        width: 100%;
        box-sizing: border-box;
    }

    .page-about__main-title {
        font-size: 2rem !important;
        margin-bottom: 15px;
    }

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

    .page-about__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px;
        overflow: hidden;
    }

    .page-about__btn-primary,
    .page-about__btn-secondary {
        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__section {
        padding: 40px 0;
    }

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

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

    .page-about__content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .page-about__content-grid--reverse .page-about__text-block {
        order: 2;
    }

    .page-about__image-block--center {
        margin-top: 30px;
    }

    .page-about__image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    .page-about__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .page-about__feature-card .page-about__feature-title {
        font-size: 1.3rem;
    }

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

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

    .page-about__contact-cta-section {
        padding: 60px 0;
    }

    .page-about__contact-cta-description {
        font-size: 1rem;
    }
}

/* Ensure all images within .page-about adhere to min-size and responsive rules */
.page-about img {
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .page-about img {
        min-width: unset !important; /* Allow images to scale down on mobile */
        min-height: unset !important;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !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;
    }

    /* Specific override for feature cards to ensure they don't break layout */
    .page-about__feature-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}