.page-about {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: var(--header-bg-dark-1); /* Inherit from shared if body is dark */
}

/* Hero Section */
.page-about__hero-section {
    position: relative;
    padding: 100px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 600px;
    background-color: #26A9E0; /* Use main brand color for hero background */
    color: #FFFFFF;
    padding-top: var(--header-offset, 120px); /* Ensure spacing from fixed header */
    box-sizing: border-box;
}

.page-about__hero-content {
    max-width: 900px;
    z-index: 2;
}

.page-about__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFFFFF;
}

.page-about__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    line-height: 1.8;
}

.page-about__hero-cta-button {
    display: inline-block;
    background-color: #EA7C07; /* Login color for primary CTA */
    color: #FFFFFF;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: 2px solid #EA7C07;
    box-sizing: border-box;
}

.page-about__hero-cta-button:hover {
    background-color: #d16b06;
    border-color: #d16b06;
}

.page-about__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.page-about__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Make it a background overlay */
}

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

.page-about__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 60px;
    font-weight: bold;
}

/* Light Background Section */
.page-about__light-bg {
    background-color: #FFFFFF;
    color: #333333; /* Dark text for light background */
    padding: 80px 0;
}

.page-about__light-bg .page-about__section-title,
.page-about__light-bg .page-about__sub-title {
    color: #26A9E0; /* Brand color for titles on light background */
}

/* Dark Background Section */
.page-about__dark-bg {
    background-color: #26A9E0; /* Main brand color */
    color: #FFFFFF; /* White text for dark background */
    padding: 80px 0;
}

.page-about__dark-bg .page-about__section-title,
.page-about__dark-bg .page-about__sub-title {
    color: #FFFFFF;
}

/* Content Grid */
.page-about__content-grid {
    display: flex;
    gap: 40px;
    align-items: center;
}

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

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

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

.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: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-about__sub-title {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
    color: #26A9E0; /* Brand color for subtitles on light background */
}

.page-about__value-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-about__value-item {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.page-about__value-item::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: #26A9E0;
    font-size: 1.2em;
}

/* CTA Buttons (General) */
.page-about__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    box-sizing: border-box;
}

.page-about__btn-primary {
    background-color: #EA7C07; /* Login color */
    color: #FFFFFF;
    border: 2px solid #EA7C07;
}

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

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

.page-about__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #1e87b7;
    border-color: #1e87b7;
}

/* CTA Section at the bottom */
.page-about__cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: #26A9E0;
    color: #FFFFFF;
}

.page-about__cta-content {
    max-width: 900px;
}

.page-about__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFFFFF;
}

.page-about__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    line-height: 1.7;
}

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

/* FAQ Section */
.page-about__faq-section {
    padding: 80px 0;
    background-color: #F8F8F8; /* Light gray background for FAQ */
    color: #333333;
}

.page-about__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: #F0F0F0; /* Slightly darker background for question */
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s ease;
}

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

.page-about__faq-title {
    font-size: 1.2em;
    margin: 0;
    color: #333333;
    font-weight: bold;
}

.page-about__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #26A9E0;
    transition: transform 0.3s ease;
}

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

.page-about__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #555555;
}

.page-about__faq-item.active .page-about__faq-answer {
    max-height: 1000px !important;
    padding: 20px;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-about__hero-title {
        font-size: 2.8em;
    }
    .page-about__hero-description {
        font-size: 1.1em;
    }
    .page-about__section-title {
        font-size: 2em;
    }
    .page-about__sub-title {
        font-size: 1.5em;
    }
    .page-about__content-grid {
        flex-direction: column;
    }
    .page-about__content-grid--reverse {
        flex-direction: column; /* Stacks normally on smaller screens */
    }
    .page-about__cta-title {
        font-size: 2.2em;
    }
    .page-about__cta-description {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .page-about__hero-section {
        padding: 80px 15px;
        min-height: 450px;
    }
    .page-about__hero-title {
        font-size: 2em;
    }
    .page-about__hero-description {
        font-size: 1em;
    }
    .page-about__hero-cta-button {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        display: block;
    }

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

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

    .page-about__light-bg,
    .page-about__dark-bg,
    .page-about__faq-section,
    .page-about__cta-section {
        padding: 60px 0;
    }

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

    /* Images 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-block,
    .page-about__video-section,
    .page-about__video-container,
    .page-about__video-wrapper,
    .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;
        overflow: hidden !important;
    }
    
    /* Buttons responsiveness */
    .page-about__cta-button,
    .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__cta-title {
        font-size: 1.8em;
    }
    .page-about__cta-description {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-about__hero-title {
        font-size: 1.8em;
    }
    .page-about__hero-description {
        font-size: 0.9em;
    }
    .page-about__section-title {
        font-size: 1.5em;
    }
    .page-about__sub-title {
        font-size: 1.2em;
    }
    .page-about__hero-section {
        padding: 60px 10px;
        min-height: 400px;
    }
}