.page-about {
    color: #333333; /* Dark text for light body background */
    line-height: 1.6;
    font-family: Arial, sans-serif;
    padding-top: var(--header-offset, 120px); /* Apply to main page content container to ensure space below fixed header */
}

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

/* Hero Section */
.page-about__hero-section {
    background-color: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 60px;
}

.page-about__hero-content {
    padding: 40px 20px;
    max-width: 800px;
}

.page-about__hero-title {
    font-size: 3.2em;
    color: #000000;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

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

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

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

.page-about__button--register {
    background-color: #000000;
    color: #FFFFFF; /* Custom color for Register */
    border: 2px solid #000000;
}

.page-about__button--register:hover {
    background-color: #333333;
    color: #FCBC45;
}

.page-about__button--login {
    background-color: #FCBC45; /* Custom color for Login */
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-about__button--login:hover {
    background-color: #e0a83a;
    color: #FFFFFF;
}

.page-about__hero-image-wrapper {
    width: 100%;
    max-width: 1200px; /* Limit image width */
    margin-top: 40px;
}

.page-about__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

/* Story Section */
.page-about__story-section {
    background-color: #F8F8F8;
    padding: 80px 0;
    text-align: center;
}

.page-about__section-title {
    font-size: 2.5em;
    color: #000000;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-about__text-content {
    font-size: 1.1em;
    color: #555555;
    max-width: 900px;
    margin: 0 auto 40px auto;
    line-height: 1.8;
}

.page-about__image-content {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-about__image-content--center {
    margin-top: 50px;
}

/* Mission Vision Section */
.page-about__mission-vision-section {
    background-color: #FFFFFF;
    padding: 80px 0;
}

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

.page-about__card {
    background-color: #F8F8F8;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.page-about__card-title {
    font-size: 1.8em;
    color: #000000;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-about__card-text {
    font-size: 1em;
    color: #555555;
    line-height: 1.7;
}

/* Values Section */
.page-about__values-section {
    background-color: #F0F0F0;
    padding: 80px 0;
    text-align: center;
}

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

.page-about__value-item {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: left;
}

.page-about__value-title {
    font-size: 1.5em;
    color: #000000;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-about__value-description {
    font-size: 0.95em;
    color: #666666;
    line-height: 1.7;
}

/* Why Choose Us Section */
.page-about__why-choose-us-section {
    background-color: #FFFFFF;
    padding: 80px 0;
}

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

.page-about__feature-item {
    background-color: #F8F8F8;
    border-left: 5px solid #FCBC45;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.page-about__feature-title {
    font-size: 1.6em;
    color: #000000;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-about__feature-description {
    font-size: 1em;
    color: #555555;
    line-height: 1.7;
}

/* CTA Section */
.page-about__cta-section {
    background-color: #000000; /* Dark background for CTA */
    padding: 80px 0;
    text-align: center;
    color: #FFFFFF;
}

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

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

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

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

.page-about__button--primary {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-about__button--primary:hover {
    background-color: #e0a83a;
    color: #FFFFFF;
}

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

.page-about__button--secondary:hover {
    background-color: #FFFFFF;
    color: #000000;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-about__hero-title {
        font-size: 2.8em;
    }
    .page-about__section-title {
        font-size: 2em;
    }
    .page-about__cta-title {
        font-size: 2.4em;
    }
}

@media (max-width: 768px) {
    .page-about {
        padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
    }
    .page-about__hero-title {
        font-size: 2.2em;
    }
    .page-about__hero-description {
        font-size: 1em;
    }
    .page-about__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-about__button {
        width: 80%;
        max-width: 300px;
    }
    .page-about__section-title {
        font-size: 1.8em;
    }
    .page-about__text-content {
        font-size: 0.95em;
    }
    .page-about__card-title {
        font-size: 1.5em;
    }
    .page-about__value-title {
        font-size: 1.3em;
    }
    .page-about__feature-title {
        font-size: 1.4em;
    }
    .page-about__cta-title {
        font-size: 2em;
    }
    .page-about__cta-description {
        font-size: 1em;
    }
    .page-about__mission-vision-grid {
        grid-template-columns: 1fr;
    }
    .page-about__values-grid {
        grid-template-columns: 1fr;
    }
    .page-about__feature-list {
        grid-template-columns: 1fr;
    }
    /* Mobile content image overflow prevention */
    .page-about img {
        max-width: 100%;
        height: auto;
    }
    /* Ensure all images within .page-about are not smaller than 200px on mobile */
    .page-about__hero-image,
    .page-about__image-content {
        min-width: 200px;
        min-height: 200px;
    }
}

@media (max-width: 480px) {
    .page-about__hero-title {
        font-size: 1.8em;
    }
    .page-about__section-title {
        font-size: 1.6em;
    }
    .page-about__cta-title {
        font-size: 1.8em;
    }
    .page-about__button {
        width: 90%;
    }
}