.page-about {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main, #1F2D3D);
    background-color: var(--background, #F4F7FB);
}

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

.page-about__section {
    padding: 60px 0;
    text-align: center;
}

.page-about__dark-section {
    background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%);
    color: #ffffff;
}

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

.page-about__light-bg {
    background-color: var(--background, #F4F7FB);
    color: var(--text-main, #1F2D3D);
}

.page-about__section-title {
    font-size: 3em;
    margin-bottom: 40px;
    font-weight: bold;
    color: var(--text-main, #1F2D3D);
}

.page-about__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding as per instruction */
    padding-bottom: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-about__hero-image-wrapper {
    width: 100%;
    max-height: 600px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}

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

.page-about__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.page-about__hero-title {
    font-size: clamp(2.5em, 5vw, 3.5em);
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
    max-width: 100%;
}

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

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

.page-about__btn-primary {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

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

.page-about__btn-secondary:hover {
    background: #e0e0e0;
    color: #2F6BFF;
    transform: translateY(-2px);
}

.page-about__content-grid {
    display: flex;
    gap: 40px;
    align-items: center;
    text-align: left;
    margin-top: 40px;
}

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

.page-about__text-block {
    flex: 1;
    padding-right: 20px;
}

.page-about__text-block p {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: inherit; /* Inherit color from parent section */
}

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

.page-about__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    min-height: 200px;
    display: block;
}

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

.page-about__feature-card {
    background-color: var(--card-b-g, #FFFFFF);
    border: 1px solid var(--border, #D6E2FF);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.page-about__feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce minimum size for images */
    min-height: 200px;
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-about__feature-title {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--text-main, #1F2D3D);
}

.page-about__feature-card p {
    font-size: 1em;
    color: var(--text-main, #1F2D3D);
}

.page-about__callout-text {
    font-size: 1.3em;
    margin-top: 50px;
    font-style: italic;
    color: var(--custom-color-1776249996415, #000000);
}

.page-about__cta-section {
    padding: 80px 0;
}

.page-about__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-about__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-about__faq-list {
    margin-top: 40px;
    text-align: left;
}

.page-about__faq-item {
    background-color: var(--card-b-g, #FFFFFF);
    border: 1px solid var(--border, #D6E2FF);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.page-about__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    list-style: none;
    color: var(--text-main, #1F2D3D);
    position: relative;
}

.page-about__faq-item summary::-webkit-details-marker,
.page-about__faq-item summary::marker {
    display: none;
}

.page-about__faq-qtext {
    flex-grow: 1;
    padding-right: 15px;
}

.page-about__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    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;
    font-size: 1.1em;
    color: var(--text-main, #1F2D3D);
    line-height: 1.7;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-about__section-title {
        font-size: 2.5em;
    }

    .page-about__hero-title {
        font-size: clamp(2em, 4.5vw, 3em);
    }

    .page-about__hero-description,
    .page-about__cta-description {
        font-size: 1.1em;
    }

    .page-about__content-grid {
        flex-direction: column;
    }

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

    .page-about__text-block {
        padding-right: 0;
    }

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

    .page-about__btn-secondary {
        margin-left: 0;
    }
}

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

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

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

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

    .page-about__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
    }

    .page-about__hero-image-wrapper {
        max-height: 300px;
        margin-bottom: 30px;
    }

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

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

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

    .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-direction: column !important;
        gap: 10px;
    }

    .page-about__content-grid {
        gap: 30px;
    }

    .page-about__text-block p {
        font-size: 1em;
    }

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

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

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

    .page-about__feature-icon {
        min-width: 200px !important;
        min-height: 200px !important;
        max-width: 100% !important;
        height: auto !important;
    }

    .page-about__callout-text {
        font-size: 1.1em;
        margin-top: 30px;
    }

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

    .page-about__faq-item summary {
        font-size: 1.1em;
        padding: 18px 20px;
    }

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

    .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;
    }
}