/* style/about.css */
.page-about {
    color: #333333; /* Dark text for default light body background */
    line-height: 1.6;
}

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

.page-about__hero-section {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(139, 0, 0, 0.1));
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 60px;
}

.page-about__hero-content {
    max-width: 900px;
    margin-bottom: 40px;
    padding: 20px;
}

.page-about__hero-title {
    font-size: 3.2em;
    color: #8B0000; /* Deep red for titles */
    margin-bottom: 20px;
    font-weight: 700;
}

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

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

.page-about__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
}

.page-about__button--primary {
    background-color: #FFD700; /* Gold primary button */
    color: #8B0000;
    border: 2px solid #FFD700;
}

.page-about__button--primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

.page-about__button--secondary {
    background-color: transparent;
    color: #8B0000; /* Deep red text for secondary */
    border: 2px solid #8B0000;
}

.page-about__button--secondary:hover {
    background-color: #8B0000;
    color: #FFD700;
    transform: translateY(-3px);
}

.page-about__hero-image-wrapper {
    width: 100%;
    max-width: 1200px;
}

.page-about__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-about__section-title {
    font-size: 2.5em;
    color: #8B0000;
    text-align: center;
    margin-bottom: 50px;
    padding-top: 60px;
    font-weight: 700;
}

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

.page-about__story-section,
.page-about__commitment-section,
.page-about__advantage-section,
.page-about__community-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.page-about__story-section {
    background-color: #ffffff;
}

.page-about__story-grid {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page-about__story-text p {
    margin-bottom: 15px;
    color: #333333;
}

.page-about__story-image-wrapper {
    flex: 1;
    min-width: 400px; /* Ensure image doesn't get too small on larger screens */
}

.page-about__story-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px;
}

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

.page-about__commitment-item,
.page-about__advantage-item {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.page-about__commitment-item:hover,
.page-about__advantage-item:hover {
    transform: translateY(-5px);
}

.page-about__commitment-icon {
    width: 100%; /* Ensure image fills card width */
    max-width: 400px; /* Limit max width of icon */
    height: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px;
}

.page-about__commitment-item p,
.page-about__advantage-item p {
    color: #555555;
    font-size: 1.05em;
}

.page-about__link {
    color: #8B0000;
    text-decoration: none;
    font-weight: 600;
}

.page-about__link:hover {
    text-decoration: underline;
    color: #FFD700;
}

.page-about__advantage-image-wrapper {
    margin-top: 50px;
    text-align: center;
}

.page-about__advantage-image {
    width: 100%;
    max-width: 1000px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px;
}

.page-about__community-content {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-direction: row-reverse; /* Image on left, text on right for this section */
}

.page-about__community-text {
    flex: 1;
}

.page-about__community-text p {
    margin-bottom: 15px;
    color: #333333;
}

.page-about__community-image-wrapper {
    flex: 1;
    min-width: 400px; /* Ensure image doesn't get too small on larger screens */
}

.page-about__community-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px;
}

.page-about__cta-section {
    background-color: #8B0000; /* Deep red background for CTA */
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
}

.page-about__cta-section .page-about__section-title {
    color: #FFD700;
    margin-bottom: 20px;
    padding-top: 0;
}

.page-about__cta-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-about__cta-buttons .page-about__button--primary {
    background-color: #FFD700;
    color: #8B0000;
    border-color: #FFD700;
}

.page-about__cta-buttons .page-about__button--primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
}

.page-about__cta-buttons .page-about__button--secondary {
    background-color: transparent;
    color: #FFD700;
    border-color: #FFD700;
}

.page-about__cta-buttons .page-about__button--secondary:hover {
    background-color: #FFD700;
    color: #8B0000;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-about__hero-title {
        font-size: 2.8em;
    }
    .page-about__section-title {
        font-size: 2em;
    }
    .page-about__sub-title {
        font-size: 1.6em;
    }
    .page-about__story-grid,
    .page-about__community-content {
        flex-direction: column;
        gap: 30px;
    }
    .page-about__story-image-wrapper,
    .page-about__community-image-wrapper {
        min-width: unset;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-about {
        padding-top: var(--header-offset, 120px); /* Ensure space for fixed header on mobile */
    }
    .page-about__hero-title {
        font-size: 2.2em;
    }
    .page-about__hero-description {
        font-size: 1em;
    }
    .page-about__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-about__sub-title {
        font-size: 1.4em;
    }
    .page-about__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-about__button {
        padding: 12px 25px;
        font-size: 1em;
        width: 100%;
    }
    .page-about__commitment-grid,
    .page-about__advantage-grid {
        grid-template-columns: 1fr;
    }
    .page-about__hero-image,
    .page-about__story-image,
    .page-about__commitment-icon,
    .page-about__advantage-image,
    .page-about__community-image {
        max-width: 100%;
        height: auto;
    }
    /* Ensure content images are not shrunk below 200px, but also responsive */
    .page-about img {
        min-width: 200px; /* Minimum size for content images */
        min-height: 200px;
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-about__hero-title {
        font-size: 1.8em;
    }
    .page-about__section-title {
        font-size: 1.5em;
    }
    .page-about__sub-title {
        font-size: 1.2em;
    }
    .page-about__cta-description {
        font-size: 1.1em;
    }
}