.page-about {
    font-family: 'Roboto', sans-serif; /* Example font, actual font might be in shared.css */
    color: #FFFFFF; /* Default text color on dark background */
    background-color: #100224; /* Dark background */
    line-height: 1.6;
    padding-top: 10px; /* Small top padding for main content as body padding is handled by shared */
}

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

.page-about__hero-section {
    display: flex;
    flex-direction: column; /* Ensure image is above text on mobile, and for desktop can be adjusted */
    align-items: center;
    text-align: center;
    padding: 40px 20px 60px;
    background: linear-gradient(135deg, #017439, #100224); /* Blend green and dark purple */
    position: relative;
    overflow: hidden; /* Ensure nothing overflows */
}

.page-about__hero-image-wrapper {
    width: 100%;
    max-width: 1200px; /* Constrain image width for desktop */
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
}

.page-about__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px;
}

.page-about__hero-content {
    z-index: 1;
    position: relative; /* Ensure content is above any potential background elements */
    max-width: 800px;
}

.page-about__main-title {
    color: #FFFFFF;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.page-about__hero-description {
    font-size: 1.15rem;
    margin-bottom: 30px;
    color: #E0E0E0;
}

.page-about__cta-button {
    display: inline-block;
    background-color: #C30808; /* Register/Login button color */
    color: #FFFF00; /* Register/Login font color */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
    min-width: 200px; /* Ensure button is not too small */
}

.page-about__cta-button:hover {
    background-color: #A00707;
    transform: translateY(-2px);
}

.page-about__section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: #FFFFFF;
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
}

.page-about__section-title--gradient {
    background: linear-gradient(to right, #ff9500, #ff5e3a); /* Orange-red gradient */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent; /* Fallback for browsers that don't support text-fill-color */
}

.page-about__mission-section,
.page-about__values-section,
.page-about__cta-section {
    padding: 60px 0;
    background-color: #1a0833; /* Slightly lighter dark background for sections */
    margin-bottom: 20px;
    border-radius: 10px;
}

.page-about__mission-section {
    background-color: #017439; /* Use primary green for a distinct section */
}

.page-about__mission-content {
    display: flex;
    flex-direction: column; /* Default to column for mobile */
    gap: 40px;
    align-items: center;
}

.page-about__text-block {
    flex: 1;
    max-width: 700px;
    text-align: left;
}

.page-about__paragraph {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #E0E0E0;
}

.page-about__image-block {
    flex: 1;
    min-width: 200px; /* Image minimum size */
}

.page-about__image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

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

.page-about__value-card {
    background-color: #2a1040; /* Card background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 250px; /* Ensure cards have some height */
}

.page-about__value-icon {
    width: 100%; /* Make icon take full width of its container */
    max-width: 250px; /* Limit icon size, but ensure it's at least 200px */
    height: auto;
    margin-bottom: 20px;
    border-radius: 5px; /* Slight roundness for consistency */
    object-fit: cover;
    min-width: 200px; /* Enforce minimum size for all images */
    min-height: 200px;
}

.page-about__value-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.page-about__value-description {
    font-size: 0.95rem;
    color: #CCCCCC;
}

.page-about__cta-content {
    text-align: center;
    padding: 60px 20px;
}

.page-about__cta-button--large {
    padding: 18px 40px;
    font-size: 1.2rem;
    background: linear-gradient(to right, #ff9500, #ff5e3a); /* Orange-red gradient for CTA */
    color: #FFFFFF;
    border: none;
    min-width: 250px;
}

.page-about__cta-button--large:hover {
    background: linear-gradient(to right, #ff5e3a, #ff9500);
    transform: translateY(-3px);
}

/* Responsive adjustments */
@media (min-width: 769px) {
    .page-about__mission-content {
        flex-direction: row; /* Side-by-side for desktop */
        text-align: left;
    }
    .page-about__image-block {
        order: 2; /* Image on right */
    }
    .page-about__text-block {
        order: 1; /* Text on left */
    }
    .page-about__mission-content:nth-child(even) .page-about__image-block {
        order: 1; /* Alternate image position */
    }
    .page-about__mission-content:nth-child(even) .page-about__text-block {
        order: 2;
    }
}

@media (max-width: 768px) {
    .page-about__hero-section {
        padding: 30px 15px 40px;
    }
    .page-about__main-title {
        font-size: clamp(2rem, 8vw, 2.5rem); /* Clamp for h1 on mobile */
    }
    .page-about__hero-description {
        font-size: 1rem;
    }
    .page-about__cta-button {
        width: 100%;
        max-width: 300px;
        font-size: 1rem;
        padding: 12px 20px;
    }
    .page-about__section-title {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
        margin-bottom: 30px;
    }
    .page-about__mission-content {
        flex-direction: column;
    }
    .page-about__image {
        max-width: 100%;
        height: auto;
    }
    .page-about__value-card {
        padding: 20px;
    }
    .page-about__value-icon {
        width: 100%;
        max-width: 200px; /* Ensure it respects min-width 200px */
        height: auto;
        min-width: 200px;
        min-height: 200px;
    }
    .page-about__cta-button--large {
        width: 100%;
        max-width: 300px;
        font-size: 1.1rem;
        padding: 15px 30px;
    }
    /* Ensure all images in content sections are responsive and not too small */
    .page-about img {
        max-width: 100%;
        height: auto;
        min-width: 200px;
        min-height: 200px;
    }
}

/* Ensure no CSS filters are used */
.page-about img {
    filter: none;
}