.page-about {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: #FFFFFF; /* Default body background */
}

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

.page-about__hero-section {
    padding-top: 10px; /* Small top padding, shared.css handles body padding-top */
    padding-bottom: 40px;
    background-color: #f5f5f5;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-about__hero-content {
    max-width: 900px;
    margin-bottom: 30px;
}

.page-about__main-title {
    font-size: clamp(2.2em, 4vw, 3.2em); /* Responsive font size */
    font-weight: 700;
    color: #017439;
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-about__description {
    font-size: 1.1em;
    color: #555555;
    margin-bottom: 25px;
}

.page-about__cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 400px; /* Constrain button group width */
    margin: 0 auto;
}

.page-about__btn-primary,
.page-about__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    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-color: #C30808;
    color: #FFFF00;
    border: 2px solid #C30808;
}

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

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

.page-about__btn-secondary:hover {
    background-color: #005c2d;
    border-color: #005c2d;
}

.page-about__hero-image-wrap {
    width: 100%;
    max-width: 1200px;
    overflow: hidden;
    margin-top: 20px;
}

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

.page-about__section {
    padding: 60px 0;
    background-color: #FFFFFF;
}

.page-about__section:nth-of-type(even) {
    background-color: #f9f9f9;
}

.page-about__section-title {
    font-size: 2.2em;
    color: #017439;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.page-about__sub-title {
    font-size: 1.6em;
    color: #017439;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-about__text-block {
    font-size: 1em;
    color: #333333;
    margin-bottom: 20px;
    line-height: 1.7;
}

.page-about__list {
    list-style-type: disc;
    padding-left: 25px;
    margin-bottom: 20px;
}

.page-about__list-item {
    font-size: 1em;
    color: #333333;
    margin-bottom: 10px;
    line-height: 1.6;
}

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

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

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

.page-about__feature-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-about__feature-title {
    font-size: 1.3em;
    color: #017439;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-about__feature-text {
    font-size: 0.95em;
    color: #555555;
    line-height: 1.6;
}

.page-about__team-image,
.page-about__commitment-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    object-fit: cover;
}

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

.page-about__contact-card {
    background-color: #f0f0f0;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-about__contact-title {
    font-size: 1.5em;
    color: #017439;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-about__contact-text {
    font-size: 1em;
    color: #555555;
    margin-bottom: 25px;
    line-height: 1.6;
}

.page-about__note {
    text-align: center;
    margin-top: 50px;
    font-style: italic;
    color: #777777;
}

/* General image responsive styles */
.page-about img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

    .page-about__container {
        padding: 0 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 1. Top section title + dual CTA */
    .page-about__hero-section {
        padding-top: 10px !important; /* Ensure small top padding */
        padding-bottom: 30px;
    }

    .page-about__main-title {
        font-size: 2em; /* Adjust for mobile readability */
        margin-bottom: 10px;
    }

    .page-about__description {
        font-size: 0.95em;
        margin-bottom: 20px;
        padding: 0 10px;
    }

    .page-about__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .page-about__btn-primary,
    .page-about__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 15px !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    /* 2. Single-column long text container */
    .page-about__section {
        padding: 40px 0;
    }

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

    .page-about__sub-title {
        font-size: 1.4em;
        margin-top: 25px;
        margin-bottom: 10px;
    }

    .page-about__text-block,
    .page-about__list-item,
    .page-about__feature-text,
    .page-about__contact-text {
        font-size: 0.95em;
        line-height: 1.6;
    }

    .page-about__feature-grid,
    .page-about__contact-methods {
        grid-template-columns: 1fr; /* Single column layout */
        gap: 20px;
    }

    .page-about__feature-card,
    .page-about__contact-card {
        padding: 20px;
    }

    .page-about__feature-image {
        height: 180px; /* Adjust feature image height for mobile */
    }

    /* 3. Universal images and figure (all img within page-about) */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    /* Ensure containers for images/content don't overflow */
    .page-about__hero-image-wrap,
    .page-about__feature-card,
    .page-about__team-image,
    .page-about__commitment-image,
    .page-about__contact-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

    /* 4. Buttons and button containers (already covered by CTA buttons and general btn styles above) */
    /* No specific tutorial/FAQ blocks in this content, but general text blocks are covered */

    .page-about__list {
        padding-left: 20px;
    }

    .page-about__team-image,
    .page-about__commitment-image {
        margin: 20px auto;
    }

    .page-about__note {
        margin-top: 30px;
    }
}

/* Media query for tablets, if specific adjustments needed */
@media (max-width: 1024px) and (min-width: 769px) {
    .page-about__container {
        padding: 0 30px;
    }

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

    .page-about__feature-grid,
    .page-about__contact-methods {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .page-about__feature-image {
        height: 220px;
    }
}