:root {
    --primary-color: #2F6BFF;
    --secondary-color: #6FA3FF;
    --button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    --card-bg: #FFFFFF;
    --page-bg-custom: #F4F7FB;
    --text-main: #1F2D3D;
    --text-dark: #000000; /* Custom Color_1776249996415 */
    --border-color: #D6E2FF;
    --glow-color: #A5C4FF;
    --header-offset: 122px; /* Default value, shared.css should define it */
}

/* Base styles for the page-about scope */
.page-about {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main); /* Assuming light body background */
    background-color: var(--page-bg-custom);
}

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

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

.page-about__section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.page-about__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.page-about__section-title--light {
    color: var(--card-bg); /* White text for dark sections */
}

/* Hero Section */
.page-about__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--primary-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.page-about__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height for hero image */
    overflow: hidden;
    position: relative;
    z-index: 1;
}

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

.page-about__hero-content {
    position: relative;
    z-index: 2;
    padding: 40px 20px;
    max-width: 900px;
    color: var(--card-bg);
    margin-top: -100px; /* Pull content slightly over image for visual flow, but not overlapping text on image */
    background: rgba(0, 0, 0, 0.3); /* Slight overlay for readability */
    border-radius: 10px;
}

.page-about__main-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--card-bg);
    max-width: 90%; /* For H1 title constraint */
    margin-left: auto;
    margin-right: auto;
}

.page-about__intro-text {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--card-bg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.page-about__btn-primary {
    display: inline-block;
    background: var(--button-gradient);
    color: var(--card-bg);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 100%; /* For button responsive */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-about__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Our Story Section */
.page-about__our-story-section {
    background-color: var(--page-bg-custom);
    color: var(--text-main);
}

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

.page-about__text-block p {
    margin-bottom: 15px;
    font-size: 16px;
    color: var(--text-main);
}

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

.page-about__image-responsive {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Minimum image size */
    min-height: 200px; /* Minimum image size */
}

.page-about__image-responsive--margin-top {
    margin-top: 40px;
}

/* Why Choose Us Section */
.page-about__why-choose-us-section {
    background: var(--primary-color);
    color: var(--card-bg);
}

.page-about__features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.page-about__feature-card {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-height: 200px; /* Ensure card content is not too small */
}

.page-about__feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.25);
}

.page-about__feature-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--card-bg);
}

.page-about__feature-description {
    font-size: 15px;
    color: var(--card-bg);
    opacity: 0.9;
}

/* Our Values Section */
.page-about__our-values-section {
    background-color: var(--card-bg);
    color: var(--text-main);
}

.page-about__values-list {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    margin-bottom: 50px;
}

.page-about__value-item {
    flex: 1;
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    background: var(--page-bg-custom);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.page-about__value-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.page-about__value-description {
    font-size: 16px;
    color: var(--text-main);
}

.page-about__cta-section {
    text-align: center;
    padding: 40px;
    background: var(--secondary-color);
    border-radius: 10px;
    color: var(--card-bg);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin-top: 50px;
}

.page-about__cta-text {
    font-size: 20px;
    margin-bottom: 25px;
    font-weight: 600;
    color: var(--card-bg);
}

/* FAQ Section */
.page-about__faq-section {
    background-color: var(--page-bg-custom);
    color: var(--text-main);
}

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

details.page-about__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: var(--card-bg);
}
details.page-about__faq-item summary.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
}
details.page-about__faq-item summary.page-about__faq-question::-webkit-details-marker {
    display: none;
}
details.page-about__faq-item summary.page-about__faq-question:hover {
    background: #f5f5f5;
}
.page-about__faq-qtext {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: var(--text-dark); /* Ensure high contrast */
}
.page-about__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color); /* Use brand color for toggle */
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
}
details.page-about__faq-item .page-about__faq-answer {
    padding: 0 20px 20px;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
    color: var(--text-main);
}
.page-about__faq-answer p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
}


/* --- Responsive Styles --- */
@media (max-width: 1024px) {
    .page-about__main-title {
        font-size: 42px;
    }
    .page-about__intro-text {
        font-size: 17px;
    }
    .page-about__section-title {
        font-size: 32px;
    }
    .page-about__features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .page-about__values-list {
        flex-direction: column;
        align-items: center;
    }
    .page-about__value-item {
        width: 80%;
    }
    .page-about__content-grid {
        grid-template-columns: 1fr;
    }
    .page-about__image-block {
        order: -1; /* Image first on smaller screens */
        margin-bottom: 30px;
    }
    .page-about__image-responsive--margin-top {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    /* Hero Section */
    .page-about__hero-section {
        padding-top: 10px !important; /* Small top padding for mobile */
    }
    .page-about__hero-content {
        padding: 30px 15px;
        margin-top: -80px;
    }
    .page-about__main-title {
        font-size: 32px;
        margin-bottom: 15px;
        max-width: 100% !important;
    }
    .page-about__intro-text {
        font-size: 16px;
        margin-bottom: 20px;
    }

    /* General Padding and Titles */
    .page-about__section-padding {
        padding: 40px 0;
    }
    .page-about__container {
        padding: 0 15px !important; /* Force padding for content containers */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-about__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .page-about__section-title::after {
        width: 60px;
    }

    /* Images */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-about__hero-image {
        max-height: 400px;
    }
    .page-about__image-responsive {
        min-width: unset;
        min-height: unset;
    }
    /* Ensure all image containers are responsive */
    .page-about__section, 
    .page-about__card, 
    .page-about__container, 
    .page-about__image-block, 
    .page-about__hero-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* Padding handled by .page-about__container for uniformity */
    }

    /* Buttons and Button Containers */
    .page-about__btn-primary {
        padding: 12px 20px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin: 0 auto; /* Center button if it's the only one */
        display: block !important; /* Ensure block display for full width */
    }
    .page-about__cta-section .page-about__btn-primary {
        margin-top: 20px;
    }
    /* Button container styles */
    .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;
        display: flex;
        flex-direction: column; /* Stack buttons vertically on mobile */
    }

    /* Our Story Section */
    .page-about__content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .page-about__image-block {
        order: -1; /* Image appears before text on mobile */
        margin-bottom: 20px;
    }

    /* Why Choose Us Section */
    .page-about__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-about__feature-card {
        padding: 25px;
    }
    .page-about__feature-title {
        font-size: 20px;
    }
    .page-about__image-responsive--margin-top {
        margin-top: 30px;
    }

    /* Our Values Section */
    .page-about__values-list {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 40px;
    }
    .page-about__value-item {
        width: 100%;
        padding: 15px;
    }
    .page-about__value-title {
        font-size: 22px;
    }
    .page-about__cta-section {
        padding: 30px 20px;
    }
    .page-about__cta-text {
        font-size: 18px;
        margin-bottom: 20px;
    }

    /* FAQ Section */
    details.page-about__faq-item summary.page-about__faq-question { padding: 15px; }
    .page-about__faq-qtext { font-size: 15px; }
    .page-about__faq-toggle {
        font-size: 20px;
        width: 24px;
        height: 24px;
    }
    details.page-about__faq-item .page-about__faq-answer {
        padding: 0 15px 15px;
    }
    .page-about__faq-answer p {
        font-size: 14px;
    }
}