.page-about {
    color: #333333; /* Dark text for light body background */
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-about__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background-color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.page-about__hero-content {
    z-index: 1;
    max-width: 800px;
    margin-bottom: 40px;
}

.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.3em;
    color: #555555;
    margin-bottom: 30px;
}

.page-about__hero-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;
    margin: 0 10px;
    white-space: nowrap;
}

.page-about__hero-button--register {
    background-color: #000000;
    color: #FFFFFF;
    border: 2px solid #000000;
}

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

.page-about__hero-button--login {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-about__hero-button--login:hover {
    background-color: #E0A73A;
    color: #FFFFFF;
}

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

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

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

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

.page-about__history-section {
    background-color: #F5F5F5;
    padding: 80px 0;
}

.page-about__text-content {
    font-size: 1.1em;
    color: #444444;
    text-align: center;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__image-content {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

.page-about__mission-vision-section {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.page-about__container--grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

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

.page-about__card:hover {
    transform: translateY(-5px);
}

.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;
}

.page-about__values-section {
    background-color: #000000;
    padding: 80px 0;
    color: #FFFFFF;
}

.page-about__values-section .page-about__section-title {
    color: #FFFFFF;
}

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

.page-about__value-item {
    text-align: center;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.page-about__value-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.page-about__value-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
    width: auto; /* Allow auto scaling */
    height: auto; /* Allow auto scaling */
    max-width: 100px; /* Constrain display size */
    max-height: 100px; /* Constrain display size */
    border-radius: 50%; /* Example for circular icons */
    object-fit: contain; /* Ensure image fits */
    display: block;
    margin-left: auto;
    margin-right: auto;
}

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

.page-about__value-description {
    font-size: 0.95em;
    color: #E0E0E0;
}

.page-about__cta-section {
    background: linear-gradient(135deg, #000000, #333333);
    padding: 80px 20px;
    text-align: center;
    color: #FFFFFF;
}

.page-about__container--cta {
    max-width: 900px;
}

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

.page-about__cta-description {
    font-size: 1.2em;
    color: #E0E0E0;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__cta-button {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    margin: 0 15px;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-about__cta-button--register {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-about__cta-button--register:hover {
    background-color: #E0A73A;
    color: #FFFFFF;
    transform: translateY(-3px);
}

.page-about__cta-button--login {
    background-color: #000000;
    color: #FCBC45;
    border: 2px solid #FCBC45;
}

.page-about__cta-button--login:hover {
    background-color: #333333;
    color: #FFFFFF;
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-about__hero-title {
        font-size: 2.8em;
    }
    .page-about__hero-description {
        font-size: 1.1em;
    }
    .page-about__section-title {
        font-size: 2em;
    }
    .page-about__container--grid {
        grid-template-columns: 1fr;
    }
    .page-about__values-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    .page-about__cta-title {
        font-size: 2.2em;
    }
    .page-about__cta-description {
        font-size: 1.1em;
    }
    .page-about__cta-button {
        margin: 10px 0;
        display: block;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-about__hero-section {
        padding: 40px 15px;
    }
    .page-about__hero-title {
        font-size: 2.2em;
    }
    .page-about__hero-description {
        font-size: 1em;
    }
    .page-about__hero-button {
        padding: 12px 25px;
        font-size: 1em;
        margin: 5px;
    }
    .page-about__container {
        padding: 30px 15px;
    }
    .page-about__section-title {
        font-size: 1.8em;
    }
    .page-about__card-title {
        font-size: 1.5em;
    }
    .page-about__value-icon {
        max-width: 80px;
        max-height: 80px;
    }
    .page-about__value-title {
        font-size: 1.3em;
    }
    .page-about__cta-title {
        font-size: 1.8em;
    }
    .page-about__cta-button {
        font-size: 1em;
        padding: 12px 25px;
    }
    .page-about__hero-image,
    .page-about__image-content,
    .page-about__value-icon {
        max-width: 100%;
        height: auto;
    }
    /* Ensure content area does not cause horizontal scroll */
    .page-about {
        overflow-x: hidden;
    }
}

@media (max-width: 480px) {
    .page-about__hero-title {
        font-size: 1.8em;
    }
    .page-about__hero-description {
        font-size: 0.9em;
    }
    .page-about__hero-button {
        display: block;
        width: calc(100% - 20px);
        margin: 10px auto;
    }
    .page-about__section-title {
        font-size: 1.5em;
    }
    .page-about__cta-title {
        font-size: 1.6em;
    }
}