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

.page-about__hero-section {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5)); /* Dark overlay for text readability */
}

.page-about__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.page-about__hero-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    color: #FFFFFF;
}

.page-about__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FCBC45; /* Login button color for emphasis */
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

.page-about__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.page-about__button--register {
    background-color: #FFFFFF;
    color: #000000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__button--register:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-about__button--login {
    background-color: #FCBC45;
    color: #000000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__button--login:hover {
    background-color: #e0a53b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-about__content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-about__section-title {
    font-size: 2.5em;
    color: #000000;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.page-about__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FCBC45;
    border-radius: 2px;
}

.page-about__subsection-title {
    font-size: 2em;
    color: #000000;
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: center;
}

.page-about__section-text {
    font-size: 1.1em;
    color: #333333;
    margin-bottom: 20px;
    text-align: justify;
}

.page-about__image {
    width: 100%;
    height: auto;
    max-width: 800px;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    object-fit: cover;
}

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

.page-about__value-card,
.page-about__offering-card {
    background-color: #FFFFFF;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-about__value-title,
.page-about__offering-title {
    font-size: 1.5em;
    color: #000000;
    margin-bottom: 15px;
}

.page-about__value-description,
.page-about__offering-description {
    font-size: 1em;
    color: #555555;
}

.page-about__button--small {
    padding: 10px 20px;
    font-size: 0.9em;
    margin-top: 20px;
    background-color: #FCBC45;
    color: #000000;
    border-radius: 25px;
}

.page-about__button--small:hover {
    background-color: #e0a53b;
}

.page-about__responsible-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    text-align: left;
}

.page-about__responsible-list-item {
    background-color: #f9f9f9;
    border-left: 5px solid #FCBC45;
    padding: 15px 20px;
    margin-bottom: 15px;
    font-size: 1.05em;
    color: #333333;
    border-radius: 5px;
}

.page-about__link {
    color: #FCBC45;
    text-decoration: none;
    font-weight: bold;
}

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

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

.page-about__content-wrapper--cta {
    max-width: 800px;
}

.page-about__section-title--cta {
    color: #FCBC45;
    font-size: 2.8em;
}

.page-about__section-title--cta::after {
    background-color: #FFFFFF;
}

.page-about__section-text--cta {
    color: #f0f0f0;
    font-size: 1.2em;
    margin-bottom: 40px;
}

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

.page-about__button--large {
    padding: 18px 35px;
    font-size: 1.2em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-about__hero-title {
        font-size: 2.5em;
    }

    .page-about__hero-description {
        font-size: 1.1em;
    }

    .page-about__section-title {
        font-size: 2em;
    }

    .page-about__subsection-title {
        font-size: 1.6em;
    }

    .page-about__section-text {
        font-size: 1em;
    }

    .page-about__hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-about__button {
        width: 100%;
        max-width: 300px;
    }
    
    .page-about__image {
        max-width: 100%;
        width: auto; /* Ensure image doesn't overflow */
        height: auto; /* Maintain aspect ratio */
    }
    
    .page-about__values-grid, .page-about__offerings-grid {
        grid-template-columns: 1fr;
    }

    .page-about__content-wrapper {
        padding: 20px 15px;
    }

    .page-about__section-title--cta {
        font-size: 2.2em;
    }

    .page-about__section-text--cta {
        font-size: 1.1em;
    }

    .page-about__button--large {
        width: 100%;
        max-width: 300px;
    }

    .page-about img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-about__hero-title {
        font-size: 2em;
    }

    .page-about__hero-description {
        font-size: 1em;
    }

    .page-about__button--large {
        font-size: 1em;
        padding: 15px 25px;
    }
}