/* style/about.css */

.page-about__hero-section {
    position: relative;
    padding-bottom: 20px; /* Small padding below hero image/content */
    background-color: var(--background); /* Using a custom background color */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-about__hero-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    margin-bottom: 20px; /* Space between image and text content */
}

.page-about__hero-content {
    max-width: 1200px; /* Constrain content width */
    padding: 0 20px;
    box-sizing: border-box;
}

.page-about__main-title {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main); /* Using custom text color */
    margin-bottom: 15px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    /* No fixed font-size, relying on default and responsive scaling */
}

.page-about__description {
    font-size: 1.1em;
    color: var(--text-main); /* Using custom text color */
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__cta-button {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Custom button gradient */
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    min-width: 200px; /* Ensure button is not too small */
    text-align: center;
}

.page-about__cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-about__cta-button--secondary {
    background: var(--card-b-g); /* Use card background for secondary */
    color: var(--text-main); /* Use main text color */
    border: 1px solid var(--border); /* Use border color */
}

.page-about__cta-button--secondary:hover {
    background-color: #E0E0E0; /* Lighter hover for secondary */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

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

.page-about__section-title {
    font-weight: 700;
    color: var(--text-main); /* Using custom text color */
    text-align: center;
    margin-bottom: 30px;
    padding-top: 20px;
}

.page-about__text-block {
    font-size: 1.05em;
    line-height: 1.6;
    color: var(--text-main); /* Using custom text color */
    margin-bottom: 25px;
    text-align: justify;
}

.page-about__image-content {
    width: 100%;
    height: auto;
    max-width: 800px; /* Example max-width for content images */
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    /* No filter property */
}

/* Values Grid */
.page-about__values-section {
    background-color: var(--background); /* Using custom background color */
}

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

.page-about__value-card {
    background-color: var(--card-b-g); /* Using custom card background color */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-about__value-title {
    font-size: 1.3em;
    font-weight: 600;
    color: var(--text-main); /* Using custom text color */
    margin-bottom: 15px;
}

.page-about__value-description {
    font-size: 1em;
    color: var(--text-main); /* Using custom text color */
    line-height: 1.6;
}

/* Commitment List */
.page-about__commitment-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.page-about__commitment-item {
    background-color: var(--card-b-g); /* Using custom card background color */
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--primary-color); /* Use primary color for accent */
}

.page-about__commitment-heading {
    font-size: 1.2em;
    font-weight: 600;
    color: var(--text-main); /* Using custom text color */
    margin-bottom: 10px;
}

.page-about__commitment-text {
    font-size: 0.95em;
    color: var(--text-main); /* Using custom text color */
    line-height: 1.5;
}

.page-about__contact-cta-section {
    background-color: var(--primary-color); /* Using primary color */
    color: #FFFFFF;
    text-align: center;
    padding: 60px 20px;
    margin-top: 40px;
}

.page-about__contact-cta-section .page-about__section-title,
.page-about__contact-cta-section .page-about__text-block {
    color: #FFFFFF; /* Ensure text is white on primary background */
}

.page-about__contact-cta-section .page-about__cta-button {
    background: var(--card-b-g); /* White button on blue background */
    color: var(--primary-color); /* Primary text on white button */
}

.page-about__contact-cta-section .page-about__cta-button:hover {
    background-color: #F0F0F0;
    color: var(--primary-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-about__hero-image {
        margin-bottom: 15px;
    }

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

    .page-about__main-title {
        font-size: clamp(1.8em, 5vw, 2.5em); /* Using clamp for H1 */
        margin-bottom: 10px;
    }

    .page-about__description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-about__cta-button {
        padding: 10px 20px;
        font-size: 0.9em;
        min-width: unset;
        width: auto;
    }

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

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

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

    .page-about__image-content {
        margin: 20px auto;
    }

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

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

    /* Ensure content images do not overflow on mobile */
    .page-about__hero-section img,
    .page-about__mission-section img,
    .page-about__commitment-section img {
        max-width: 100%;
        height: auto;
    }

    /* Content area images CSS dimensions lower bound */
    .page-about__mission-section .page-about__image-content,
    .page-about__commitment-section .page-about__image-content {
        min-width: 200px; /* Enforce minimum width */
        min-height: 200px; /* Enforce minimum height */
        max-width: 100%;
        height: auto;
    }
}

/* Custom colors from prompt */
:root {
    --primary-color: #2F6BFF;
    --secondary-color: #6FA3FF;
    --button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    --card-b-g: #FFFFFF;
    --background: #F4F7FB;
    --text-main: #1F2D3D;
    --custom-color-1776249996415: #000000; /* This is black, so use --text-main for general text */
    --border: #D6E2FF;
    --glow: #A5C4FF;
}

/* Global body padding from shared.css, so no padding-top here */
/* .page-about {
    padding-top: var(--header-offset, 122px);
} */