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

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

.page-about__hero-section {
    position: relative;
    overflow: hidden;
    text-align: center;
    color: #ffffff;
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px; /* Minimum height for hero section */
}

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

.page-about__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
}

.page-about__hero-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #FFD700; /* Auxiliary color for emphasis */
}

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

.page-about__hero-button,
.page-about__cta-button {
    display: inline-block;
    background-color: #FFD700; /* Auxiliary color for buttons */
    color: #1A202C; /* Main color for button text */
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    min-width: 200px; /* Ensure button is not too small */
    text-align: center;
}

.page-about__hero-button:hover,
.page-about__cta-button:hover {
    background-color: #e5c100;
}

.page-about__section-title {
    font-size: 2.5em;
    color: #1A202C; /* Main color for section titles */
    text-align: center;
    margin-bottom: 50px;
    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;
    border-radius: 2px;
}

.page-about__mission-vision,
.page-about__history,
.page-about__values,
.page-about__cta {
    padding: 60px 0;
}

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

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

.page-about__grid--three-cols {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

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

.page-about__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-about__card-icon {
    width: 200px; /* Minimum size for content images */
    height: 200px; /* Minimum size for content images */
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px; /* Slightly rounded corners for icons */
}

.page-about__card-title,
.page-about__value-title {
    font-size: 1.8em;
    color: #1A202C;
    margin-bottom: 15px;
}

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

.page-about__history .page-about__content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.page-about__text {
    font-size: 1.1em;
    color: #444444;
    text-align: justify;
    max-width: 800px;
}

.page-about__image-inline {
    width: 800px; /* Specific width for this image */
    height: 600px; /* Specific height for this image */
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    object-fit: cover; /* Ensure image covers the area */
}

.page-about__values {
    background-color: #f0f0f0;
}

.page-about__value-item {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 25px;
    text-align: center;
}

.page-about__value-icon {
    width: 200px; /* Minimum size for content images */
    height: 200px; /* Minimum size for content images */
    object-fit: contain;
    margin-bottom: 15px;
    border-radius: 8px; /* Consistent rounding */
}

.page-about__value-description {
    font-size: 0.95em;
    color: #666666;
}

.page-about__cta {
    background-color: #1A202C; /* Main color for CTA background */
    color: #ffffff;
    text-align: center;
    padding: 80px 20px;
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-about__hero-title {
        font-size: 2.5em;
    }
    .page-about__section-title {
        font-size: 2em;
    }
    .page-about__cta-title {
        font-size: 2.2em;
    }
    .page-about__image-inline {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 768px) {
    .page-about__hero-title {
        font-size: 2em;
    }
    .page-about__hero-description {
        font-size: 1em;
    }
    .page-about__section-title {
        font-size: 1.8em;
    }
    .page-about__card,
    .page-about__value-item {
        padding: 20px;
    }
    .page-about__card-title,
    .page-about__value-title {
        font-size: 1.5em;
    }
    .page-about__text {
        font-size: 1em;
    }
    .page-about__cta-title {
        font-size: 1.8em;
    }
    .page-about__cta-description {
        font-size: 1.1em;
    }
    .page-about__hero-button,
    .page-about__cta-button {
        padding: 12px 25px;
        font-size: 0.9em;
    }
    /* Mobile overflow prevention for all images within .page-about */
    .page-about img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-about__hero-section {
        padding: 60px 0;
        min-height: 400px;
    }
    .page-about__hero-title {
        font-size: 1.5em;
    }
    .page-about__hero-description {
        font-size: 0.9em;
    }
    .page-about__section-title {
        font-size: 1.5em;
    }
    .page-about__grid {
        grid-template-columns: 1fr;
    }
    .page-about__cta-title {
        font-size: 1.5em;
    }
    .page-about__cta-description {
        font-size: 1em;
    }
    .page-about__card-icon,
    .page-about__value-icon {
        width: 200px; /* Maintain minimum size */
        height: 200px; /* Maintain minimum size */
    }
}