/* style/about.css */

/* General page styling */
.page-about {
    font-family: Arial, sans-serif;
    color: #333333; /* Dark text for light body background */
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    overflow-x: hidden; /* Prevent horizontal scroll on main content */
}

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

.page-about__section-title {
    font-size: 2.5em;
    color: #007bff; /* Primary color for titles */
    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: #28a745; /* Secondary color for accent */
    border-radius: 2px;
}

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

.page-about__section-title--light::after {
    background-color: #ffffff;
}

.page-about__intro-text {
    text-align: center;
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 50px auto;
    line-height: 1.8;
}

.page-about__intro-text--light {
    color: #f0f0f0;
}

.page-about__section--dark-background {
    background-color: #007bff; /* Primary color as background */
    padding: 80px 0;
    color: #ffffff;
}

/* Hero Section */
.page-about__hero-section {
    background: linear-gradient(135deg, #007bff, #28a745); /* Gradient background */
    color: #ffffff;
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-about__hero-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-about__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
    color: #ffffff;
}

.page-about__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

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

.page-about__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    min-width: 180px;
    text-align: center;
}

.page-about__cta-button--primary {
    background-color: #28a745; /* Secondary color */
    color: #ffffff;
    border: 2px solid #28a745;
}

.page-about__cta-button--primary:hover {
    background-color: #218838;
    border-color: #218838;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.page-about__cta-button--secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.page-about__cta-button--secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

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

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

.page-about__story-image {
    flex: 1;
    max-width: 50%;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

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

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

/* Mission & Vision Section */
.page-about__mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-about__mission-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-about__mission-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
    object-fit: cover;
}

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

.page-about__card-title--light {
    color: #ffffff;
}

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

.page-about__card-text--light {
    color: #f0f0f0;
}

/* Core Values Section */
.page-about__values-section {
    padding: 80px 0;
    background-color: #f9f9f9; /* Light background for contrast */
}

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

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

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

/* Security Section */
.page-about__security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
    text-align: center;
}

.page-about__security-feature {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-about__feature-icon {
    width: 200px; /* Minimum 200px as per requirements */
    height: 200px; /* Minimum 200px as per requirements */
    margin-bottom: 20px;
    object-fit: contain;
    border-radius: 5px;
}

/* Technology Section */
.page-about__technology-section {
    padding: 80px 0;
}

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

.page-about__technology-image {
    flex: 1;
    max-width: 50%;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.page-about__technology-text {
    flex: 1;
    font-size: 1.05em;
}

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

/* Call to Action Section */
.page-about__cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: #007bff; /* Primary color as background */
    color: #ffffff;
}

.page-about__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 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__technology-content {
        flex-direction: column;
    }

    .page-about__story-image,
    .page-about__technology-image {
        max-width: 80%;
        margin-bottom: 30px;
    }

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

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

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

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

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

    .page-about__cta-button {
        width: 100%;
        max-width: 300px;
    }

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

    .page-about__intro-text {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

    .page-about__story-image,
    .page-about__technology-image {
        max-width: 100%;
        height: auto; /* Ensure images are responsive */
    }

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

    .page-about__feature-icon {
        width: 200px; /* Maintain minimum size */
        height: 200px; /* Maintain minimum size */
    }

    /* Mobile content image overflow prevention */
    .page-about img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-about__hero-section {
        padding: 60px 10px;
    }

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

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

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

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

    .page-about__cta-buttons {
        flex-direction: column;
    }
}

/* Ensure color contrast */
.page-about__hero-title,
.page-about__hero-description,
.page-about__cta-button--primary,
.page-about__cta-button--secondary,
.page-about__section-title--light,
.page-about__intro-text--light,
.page-about__card-title--light,
.page-about__card-text--light,
.page-about__security-feature h3,
.page-about__security-feature p {
    color: #ffffff; /* Explicitly set white text for dark backgrounds */
}

/* Ensure images do not use filters */
.page-about img {
    filter: none; /* Absolutely no CSS filters */
}