/* style/about.css */

/* Base styles for the about page */
.page-about {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #f5f5f5; /* Light gray for general text on dark backgrounds */
    background-color: #0A2239; /* Main background color */
}

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

.page-about__section-title {
    font-size: 2.5em;
    color: #E0B300; /* Auxiliary color for titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    position: relative;
    padding-bottom: 10px;
}

.page-about__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #E0B300;
    border-radius: 2px;
}

.page-about__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: #e0e0e0;
}

.page-about__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    text-align: center;
    white-space: nowrap;
}

.page-about__btn--primary {
    background-color: #E0B300; /* Auxiliary color */
    color: #0A2239; /* Main color for text on auxiliary background */
    border: 2px solid #E0B300;
}

.page-about__btn--primary:hover {
    background-color: #f0c320;
    color: #000;
    transform: translateY(-2px);
}

.page-about__btn--secondary {
    background-color: transparent;
    color: #E0B300;
    border: 2px solid #E0B300;
}

.page-about__btn--secondary:hover {
    background-color: #E0B300;
    color: #0A2239;
    transform: translateY(-2px);
}

/* Hero Section */
.page-about__hero-section {
    position: relative;
    background: linear-gradient(135deg, #0A2239 0%, #2a4c6a 100%); /* Gradient with main color */
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

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

.page-about__hero-section .page-about__container {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.page-about__hero-title {
    font-size: 3.8em;
    color: #E0B300; /* Auxiliary color */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about__hero-subtitle {
    font-size: 1.4em;
    color: #e0e0e0;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

/* Mission & Vision Section */
.page-about__section--dark {
    background-color: #0A2239;
    padding: 80px 0;
}

.page-about__content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

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

.page-about__content-grid--reverse .page-about__text-content {
    order: 2;
}

.page-about__content-grid--reverse .page-about__image-left {
    order: 1;
}

.page-about__image-right,
.page-about__image-left {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-about__text-content h2 {
    text-align: left;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 2em;
    color: #E0B300;
}

.page-about__text-content h2::after {
    left: 0;
    transform: translateX(0%);
}

/* Values Section */
.page-about__values-section {
    background-color: #1a3a5a; /* Slightly lighter dark blue */
    padding: 80px 0;
    text-align: center;
}

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

.page-about__value-item {
    background-color: #0A2239;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-about__value-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px #E0B300);
}

.page-about__value-title {
    font-size: 1.5em;
    color: #E0B300;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-about__value-description {
    font-size: 1em;
    color: #c0c0c0;
    text-align: center;
}

/* Offerings Section */
.page-about__offerings-section {
    background-color: #0A2239;
    padding: 80px 0;
    text-align: center;
}

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

.page-about__offering-item {
    background-color: #1a3a5a;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-about__offering-title {
    font-size: 1.6em;
    color: #E0B300;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-about__offering-description {
    font-size: 1em;
    color: #c0c0c0;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-about__offering-item .page-about__btn {
    align-self: flex-start;
    margin-top: auto; /* Push button to the bottom */
}

.page-about__image-centered {
    width: 100%;
    max-width: 800px;
    margin: 40px auto 0 auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Security & Support Section */
.page-about__security-support-section {
    background-color: #1a3a5a; /* Slightly lighter dark blue */
    padding: 80px 0;
}

/* CTA Section */
.page-about__cta-section {
    position: relative;
    background: linear-gradient(135deg, #0A2239 0%, #2a4c6a 100%);
    padding: 80px 0;
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-about__section--dark-alt {
    background-color: #0A2239; /* Ensure good contrast */
}

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

.page-about__cta-content {
    position: relative;
    z-index: 1;
}

.page-about__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

/* Conclusion Section */
.page-about__conclusion-section {
    background-color: #0A2239;
    padding: 60px 0;
    text-align: center;
}

/* Fade-in animation for sections */
.page-about__fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.page-about__fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-about__content-grid {
        grid-template-columns: 1fr;
    }

    .page-about__content-grid--reverse .page-about__text-content,
    .page-about__content-grid--reverse .page-about__image-left {
        order: unset; /* Reset order for smaller screens */
    }

    .page-about__image-right,
    .page-about__image-left {
        margin-bottom: 40px;
    }

    .page-about__text-content h2 {
        text-align: center;
    }

    .page-about__text-content h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

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

    .page-about__hero-subtitle {
        font-size: 1.2em;
    }
}

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

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

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

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

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

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

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

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

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

    .page-about__btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}