.page-about {
    color: #333333; /* Dark text for light body background */
}

.page-about__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensure content clears fixed header */
    background-color: #000000; /* Main brand color for hero background */
    color: #FFFFFF; /* White text for dark background */
    text-align: center;
    padding-bottom: 60px;
    position: relative;
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-about__hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 40px 20px;
}

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

.page-about__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle background effect */
}

.page-about__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FCBC45; /* Login color for emphasis */
}

.page-about__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    line-height: 1.6;
}

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

.page-about__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    font-size: 1.1em;
    min-width: 180px;
    text-align: center;
}

.page-about__button--register {
    background-color: #FCBC45; /* Login color */
    color: #000000; /* Dark text for contrast */
    border: 2px solid #FCBC45;
}

.page-about__button--register:hover {
    background-color: #FFD700; /* Brighter gold on hover */
    transform: translateY(-3px);
}

.page-about__button--login {
    background-color: transparent;
    color: #FFFFFF; /* White text */
    border: 2px solid #FFFFFF;
}

.page-about__button--login:hover {
    background-color: #FFFFFF;
    color: #000000;
    transform: translateY(-3px);
}

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

.page-about__section-title {
    font-size: 2.8em;
    color: #000000;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.page-about__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #FCBC45;
    margin: 15px auto 0;
}

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

.page-about__story-section {
    padding: 80px 0;
    background-color: #f8f8f8;
}

.page-about__story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.page-about__story-content {
    text-align: left;
}

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

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

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

.page-about__advantage-card {
    background-color: #000000;
    color: #FFFFFF;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.page-about__advantage-card:hover {
    transform: translateY(-10px);
}

.page-about__card-title {
    font-size: 1.6em;
    color: #FCBC45;
    margin-bottom: 15px;
}

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

.page-about__cta-section {
    padding: 80px 0;
    background-color: #000000;
    color: #FFFFFF;
    text-align: center;
}

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

.page-about__cta-section .page-about__section-title::after {
    background-color: #FCBC45;
}

.page-about__cta-section .page-about__text {
    max-width: 800px;
    margin: 0 auto 40px;
    color: #f0f0f0;
}

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

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

.page-about__button--explore:hover {
    background-color: #FFFFFF;
    color: #000000;
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-about__hero-title {
        font-size: 2.8em;
    }
    .page-about__section-title {
        font-size: 2.2em;
    }
    .page-about__story-grid {
        grid-template-columns: 1fr;
    }
    .page-about__story-image {
        order: -1; /* Image first on mobile */
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .page-about__hero-section {
        padding-top: var(--header-offset, 120px);
        padding-bottom: 40px;
    }
    .page-about__hero-title {
        font-size: 2.2em;
    }
    .page-about__hero-description {
        font-size: 1em;
    }
    .page-about__hero-buttons, .page-about__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-about__button {
        min-width: unset;
        width: 100%;
    }
    .page-about__container {
        padding: 30px 15px;
    }
    .page-about__section-title {
        font-size: 1.8em;
        margin-bottom: 40px;
    }
    .page-about__story-section, .page-about__advantages-section, .page-about__cta-section {
        padding: 50px 0;
    }
    /* Ensure content area images are responsive and don't overflow */
    .page-about img {
        max-width: 100%;
        height: auto;
    }
    .page-about__story-image img, .page-about__features-image img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Minimum width for content images */
        min-height: 200px;
    }
}

@media (max-width: 480px) {
    .page-about__hero-title {
        font-size: 1.8em;
    }
    .page-about__section-title {
        font-size: 1.5em;
    }
    .page-about__button {
        padding: 12px 20px;
        font-size: 1em;
    }
}