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

.page-about__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #000000; /* Dark background for the hero section */
}

.page-about__hero-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-about__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    opacity: 0.7;
}

.page-about__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    color: #FFFFFF;
}

.page-about__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
}

.page-about__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 800px;
    color: #F0F0F0;
}

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

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

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

.page-about__button--register:hover {
    background-color: transparent;
    color: #FFFFFF;
}

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

.page-about__button--login:hover {
    background-color: transparent;
    color: #FCBC45;
}

.page-about__section-title {
    font-size: 2.5em;
    color: #000000;
    text-align: center;
    margin-bottom: 40px;
    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__content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

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

.page-about__story-section, .page-about__mission-vision-section, .page-about__values-section, .page-about__why-choose-section {
    padding: 60px 0;
    background-color: #FFFFFF;
}

.page-about__mission-vision-section {
    background-color: #F8F8F8;
}

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

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

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

.page-about__card-icon {
    width: 200px; /* Min size 200px */
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

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

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

.page-about__values-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.page-about__value-item {
    background-color: #F8F8F8;
    border-left: 5px solid #FCBC45;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-about__value-heading {
    font-size: 1.6em;
    color: #000000;
    margin-bottom: 10px;
}

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

.page-about__image-text-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.page-about__why-choose-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    display: block;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px;
}

.page-about__sub-title {
    font-size: 1.8em;
    color: #000000;
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 1px solid #FCBC45;
    padding-bottom: 5px;
}

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

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

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

.page-about__button--primary {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
    font-size: 1.2em;
    padding: 18px 35px;
}

.page-about__button--primary:hover {
    background-color: transparent;
    color: #FCBC45;
}

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

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

    .page-about__cards-grid {
        grid-template-columns: 1fr 1fr;
    }

    .page-about__values-list {
        grid-template-columns: 1fr 1fr;
    }

    .page-about__image-text-layout {
        grid-template-columns: 2fr 3fr; /* Image on left, text on right */
    }
    
    .page-about__why-choose-image {
        width: 100%;
        height: auto;
        max-width: 600px; /* Example max width */
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width: 1024px) {
    .page-about__hero-title {
        font-size: 5.5em;
    }

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

    .page-about__cards-grid {
        grid-template-columns: 1fr 1fr;
    }

    .page-about__values-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .page-about__why-choose-image {
        width: 100%;
        height: auto;
    }
}

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

    .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: 2em;
    }

    .page-about__card-title {
        font-size: 1.5em;
    }

    .page-about__value-heading {
        font-size: 1.4em;
    }

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

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

    .page-about__button--primary {
        font-size: 1.1em;
        padding: 15px 30px;
    }

    .page-about__image-text-layout {
        grid-template-columns: 1fr;
    }
    
    /* Mobile image constraint */
    .page-about img {
        max-width: 100%;
        height: auto;
    }
    .page-about__hero-image {
        max-width: 100%;
        height: auto;
    }
    .page-about__card-icon {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Still enforce minimum size */
        min-height: 150px;
    }
    .page-about__why-choose-image {
        max-width: 100%;
        height: auto;
        min-width: 200px;
        min-height: 200px;
    }
}

/* Ensure content area images are not styled smaller than 200px */
.page-about img:not(.page-about__hero-image) {
    min-width: 200px; 
    min-height: 200px; 
}