.page-about {
    font-family: Arial, sans-serif;
    color: #1F2D3D; /* Text Main */
    line-height: 1.6;
    background-color: var(--page-bg-color, #F4F7FB); /* Default to light background if var not set */
}

.page-about__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: #F4F7FB;
    overflow: hidden;
}

.page-about__hero-image-container {
    width: 100%;
    max-height: 675px;
    overflow: hidden;
}

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

.page-about__hero-content-area {
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
    z-index: 1; /* Ensure content is above any potential background elements */
}

.page-about__main-title {
    font-size: clamp(2em, 3.5vw, 3em);
    color: #1F2D3D; /* Text Main */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-about__intro-text {
    font-size: 1.1em;
    color: #1F2D3D; /* Text Main */
    margin-bottom: 30px;
}

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

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

.page-about__btn-primary {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #ffffff;
    border: 2px solid transparent;
}

.page-about__btn-primary:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
    box-shadow: 0 4px 15px rgba(47, 107, 255, 0.4);
}

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

.page-about__btn-secondary:hover {
    background: #F4F7FB; /* Lighter background on hover */
    color: #2F6BFF;
    border-color: #4A8BFF;
    box-shadow: 0 4px 15px rgba(47, 107, 255, 0.2);
}

.page-about__section-spacing {
    padding: 60px 20px;
}

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

.page-about__section-title {
    font-size: 2.2em;
    color: #1F2D3D; /* Text Main */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-about__light-bg {
    background-color: #F4F7FB;
    color: #1F2D3D;
}

.page-about__dark-section {
    background-color: #2F6BFF;
    color: #ffffff;
}

.page-about__dark-section .page-about__section-title,
.page-about__dark-section h3 {
    color: #ffffff;
}

.page-about__content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.page-about__content-wrapper--reverse {
    flex-direction: row-reverse;
}

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

.page-about__text-block p {
    margin-bottom: 15px;
    font-size: 1.05em;
    color: inherit;
}

.page-about__image-block {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 300px;
}

.page-about__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-about__image-center {
    margin: 40px auto 0 auto;
}

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

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

.page-about__value-card:hover {
    transform: translateY(-5px);
}

.page-about__value-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-about__value-description {
    font-size: 0.95em;
    opacity: 0.9;
}

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

.page-about__feature-item {
    background-color: #FFFFFF; /* Card BG */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #D6E2FF; /* Border */
    transition: transform 0.3s ease;
}

.page-about__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(47, 107, 255, 0.15);
}

.page-about__feature-title {
    font-size: 1.4em;
    color: #2F6BFF; /* Primary Color */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-about__feature-description {
    font-size: 1em;
    color: #1F2D3D; /* Text Main */
}

.page-about__cta-buttons--center {
    margin-top: 40px;
}

.page-about__faq-list {
    margin-top: 30px;
}

.page-about__faq-item {
    background-color: #FFFFFF;
    border: 1px solid #D6E2FF;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px 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: bold;
    color: #1F2D3D;
    cursor: pointer;
    background-color: #F4F7FB;
    border-bottom: 1px solid #D6E2FF;
    user-select: none;
    list-style: none;
}

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

.page-about__faq-qtext {
    flex-grow: 1;
    color: #1F2D3D;
}

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

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

.page-about__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: #1F2D3D;
    background-color: #FFFFFF;
    border-top: 1px solid #D6E2FF;
}

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

.page-about__cta-bottom-section {
    text-align: center;
    padding: 80px 20px;
    background-color: #2F6BFF;
    color: #ffffff;
}

.page-about__cta-bottom-title {
    font-size: clamp(1.8em, 3vw, 2.5em);
    color: #ffffff;
    margin-bottom: 25px;
    font-weight: bold;
    line-height: 1.3;
}

.page-about__cta-bottom-description {
    font-size: 1.1em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-about__container {
        padding: 0 15px;
    }

    .page-about__content-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .page-about__content-wrapper--reverse {
        flex-direction: column;
    }

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

    .page-about__values-grid,
    .page-about__feature-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

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

@media (max-width: 768px) {
    .page-about__hero-section {
        padding-top: 10px !important;
    }

    .page-about__hero-image {
        object-fit: contain !important; /* Ensure main image is fully visible */
        max-height: none !important;
        aspect-ratio: unset !important;
    }

    .page-about__main-title {
        font-size: clamp(1.8em, 8vw, 2.5em);
    }

    .page-about__intro-text {
        font-size: 1em;
    }

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

    .page-about__btn-primary,
    .page-about__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 15px 20px;
        font-size: 1.1em;
        margin: 0 auto;
    }

    .page-about__section-spacing {
        padding: 40px 15px;
    }

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

    .page-about__text-block p,
    .page-about__value-description,
    .page-about__feature-description,
    .page-about__faq-answer p {
        font-size: 0.95em;
    }

    .page-about__values-grid,
    .page-about__feature-grid {
        grid-template-columns: 1fr;
    }

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

    .page-about__value-title,
    .page-about__feature-title {
        font-size: 1.3em;
    }

    .page-about__content-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-about__content-wrapper,
    .page-about__team-section .page-about__content-wrapper {
        flex-direction: column !important;
    }

    .page-about__cta-bottom-title {
        font-size: clamp(1.5em, 7vw, 2em);
    }

    .page-about__cta-bottom-description {
        font-size: 1em;
    }

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

    .page-about__faq-answer {
        padding: 15px 20px;
    }

    /* 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,
    .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;
    }
    .page-about__cta-buttons {
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-about__cta-buttons.page-about__cta-buttons--center {
        flex-direction: column;
    }
}