.page-about {
    color: #333333; /* Dark text for default (white) body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    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__section--dark {
    background-color: #001f4d; /* Darker blue background for contrast sections */
    color: #ffffff;
}

.page-about__section-title {
    font-size: 2.5em;
    color: #007BFF;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-about__section-title--light {
    color: #FFC107; /* Light text for dark backgrounds */
}

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

.page-about__button--primary {
    background-color: #FFC107; /* Accent color for primary action */
    color: #001f4d; /* Dark text for light button */
    border: 2px solid #FFC107;
}

.page-about__button--primary:hover {
    background-color: #e0a800;
    transform: translateY(-2px);
}

.page-about__button--secondary {
    background-color: transparent;
    color: #007BFF; /* Primary color for secondary action text */
    border: 2px solid #007BFF;
    margin-left: 20px;
}

.page-about__button--secondary:hover {
    background-color: #007BFF;
    color: #ffffff;
    transform: translateY(-2px);
}

.page-about__button--light {
    background-color: #FFC107;
    color: #001f4d;
    border: 2px solid #FFC107;
}

.page-about__button--light:hover {
    background-color: #e0a800;
    transform: translateY(-2px);
}

.page-about__button--large {
    padding: 18px 40px;
    font-size: 1.2em;
}

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

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

.page-about__hero-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    padding: 60px 20px;
    box-sizing: border-box;
}

.page-about__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
    padding: 40px;
    border-radius: 12px;
}

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

.page-about__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

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

/* Story Section */
.page-about__story-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.page-about__story-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.page-about__story-text {
    flex: 1;
    font-size: 1.1em;
}

.page-about__story-text p {
    margin-bottom: 20px;
}

.page-about__story-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-about__story-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    min-height: 200px;
}

/* Values Section */
.page-about__values-section {
    padding: 80px 0;
    text-align: center;
}

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

.page-about__value-card {
    background-color: #002d66; /* Darker blue for cards on dark background */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-about__value-icon {
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

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

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

/* Why Choose Us Section */
.page-about__why-choose-us-section {
    padding: 80px 0;
    background-color: #ffffff;
}

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

.page-about__feature-card {
    background-color: #f0f8ff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-about__feature-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

.page-about__feature-title {
    font-size: 1.6em;
    color: #007BFF;
    margin-bottom: 10px;
}

.page-about__feature-description {
    font-size: 1em;
    color: #555555;
}

/* Licenses & Responsible Section */
.page-about__licenses-responsible-section {
    padding: 80px 0;
}

.page-about__licenses-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.page-about__licenses-image {
    flex: 1;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    min-height: 200px;
}

.page-about__licenses-text {
    flex: 1;
    font-size: 1.1em;
}

.page-about__licenses-text p {
    margin-bottom: 20px;
    color: #f0f0f0;
}

.page-about__text-link {
    color: #FFC107;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-about__text-link:hover {
    color: #e0a800;
}

/* CTA Section */
.page-about__cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: #f9f9f9;
}

.page-about__cta-container {
    max-width: 800px;
}

.page-about__cta-description {
    font-size: 1.2em;
    color: #555555;
    margin-bottom: 40px;
}

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

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

    .page-about__story-content,
    .page-about__licenses-content {
        flex-direction: column;
        text-align: center;
    }

    .page-about__story-image-wrapper,
    .page-about__licenses-image {
        order: -1; /* Image first on mobile */
        margin-bottom: 30px;
    }

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

    .page-about__button--secondary {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .page-about__hero-section {
        min-height: 500px;
    }

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

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

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

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

    .page-about__hero-image img,
    .page-about__story-image,
    .page-about__value-icon,
    .page-about__feature-image,
    .page-about__licenses-image {
        max-width: 100%;
        height: auto;
        min-width: 200px;
        min-height: 200px;
    }

    /* Ensure content area images are responsive and don't overflow */
    .page-about img {
        max-width: 100% !important;
        height: auto !important;
    }

    .page-about {
        overflow-x: hidden;
    }
}

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

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

    .page-about__button {
        padding: 12px 25px;
        font-size: 1em;
    }

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

    .page-about__hero-content {
        padding: 20px;
    }
}