.page-about {
    color: #333333; /* Dark text for light body background #f4f4f4 */
    line-height: 1.6;
    font-family: Arial, sans-serif;
    overflow-x: hidden; /* Prevent horizontal scroll on mobile */
}

.page-about__section--padded {
    padding: 60px 20px;
}

.page-about__section--dark-bg {
    background-color: #000080; /* Auxiliary dark blue */
    color: #f0f0f0; /* Light text for dark background */
}

.page-about__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* Inner padding for content */
}

.page-about__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensure hero is below fixed header */
    text-align: center;
    background-color: #f4f4f4; /* Match body background for seamless transition */
    position: relative;
    padding-bottom: 30px;
}

.page-about__hero-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-about__hero-title {
    font-size: 2.8em;
    color: #000080; /* Dark blue for strong contrast on light background */
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
}

.page-about__hero-description {
    font-size: 1.2em;
    color: #555555;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__hero-actions {
    margin-top: 30px;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-about__btn {
    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;
    min-width: 200px; /* Ensure buttons are not too small */
    text-align: center;
}

.page-about__btn--primary {
    background-color: #FFD700; /* Gold */
    color: #000080; /* Dark blue for contrast */
    border: 2px solid #FFD700;
}

.page-about__btn--primary:hover {
    background-color: #e6c200; /* Slightly darker gold */
    color: #000066;
}

.page-about__btn--secondary {
    background-color: transparent;
    color: #000080; /* Dark blue */
    border: 2px solid #000080;
}

.page-about__btn--secondary:hover {
    background-color: #000066; /* Slightly darker blue */
    color: #FFD700; /* Gold */
}

.page-about__hero-image {
    max-width: 100%; /* Ensure image is responsive */
    height: auto;
    display: block; /* Remove extra space below image */
    margin: 40px auto 0 auto; /* Center image */
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-about__section-title {
    font-size: 2.2em;
    color: #000080; /* Dark blue */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    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: #FFD700; /* Gold accent */
    border-radius: 2px;
}

.page-about__section-title--light {
    color: #FFD700; /* Gold text for dark background */
}

.page-about__section-title--light::after {
    background-color: #f0f0f0; /* Light accent for dark background */
}

.page-about__subsection-title {
    font-size: 1.8em;
    color: #000080; /* Dark blue */
    margin-top: 40px;
    margin-bottom: 25px;
    font-weight: bold;
}

.page-about__subsection-title--light {
    color: #f0f0f0; /* Light text for dark background */
}

.page-about__text-content {
    font-size: 1.1em;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__text-content--light {
    color: #e0e0e0; /* Slightly lighter text for dark background */
}

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

.page-about__image-centered {
    max-width: 800px; /* Specific width for this image */
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Values Grid */
.page-about__values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 60px;
}

.page-about__value-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark blue */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    color: #f0f0f0;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

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

.page-about__value-card-title {
    font-size: 1.5em;
    color: #FFD700; /* Gold title */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-about__value-card-description {
    font-size: 1em;
    color: #e0e0e0;
}

.page-about__cta-section {
    text-align: center;
    background-color: #f4f4f4;
}

.page-about__cta-actions {
    margin-top: 30px;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-about__hero-title {
        font-size: 2.4em;
    }

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

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

@media (max-width: 768px) {
    .page-about__hero-section {
        padding: 40px 15px;
    }

    .page-about__section--padded {
        padding: 40px 15px;
    }

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

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

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

    .page-about__btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .page-about__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-about__subsection-title {
        font-size: 1.4em;
        margin-top: 30px;
        margin-bottom: 20px;
    }

    .page-about__text-content {
        font-size: 1em;
    }

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

    /* Ensure all images are responsive and do not overflow */
    .page-about img {
        max-width: 100%;
        height: auto;
        display: block; /* Important for preventing overflow on mobile */
        margin-left: auto;
        margin-right: auto;
    }
}

/* Critical image size check for content area images */
/* This rule applies to any img within .page-about and ensures it's not smaller than 200px */
.page-about img:not(.shared-header__logo, .shared-footer__payment-icon, .shared-footer__social-icon) {
    min-width: 200px; /* Enforce minimum width for content images */
    min-height: 200px; /* Enforce minimum height for content images */
    width: auto; /* Allow auto width to maintain aspect ratio */
    height: auto; /* Allow auto height to maintain aspect ratio */
}

/* Override for specific image classes if they are meant to be larger */
.page-about__hero-image,
.page-about__image-full-width,
.page-about__image-centered {
    width: auto; /* Revert to auto width */
    height: auto; /* Revert to auto height */
    max-width: 100%; /* Ensure responsiveness */
    min-width: 200px; /* Still apply minimum size */
    min-height: 200px;
}