/* style/about.css */

.page-about {
    /* Fixed header spacing - applied to the main content area */
    padding-top: var(--header-offset, 120px);
    color: #333333; /* Dark text for light body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

/* Hero Section */
.page-about__hero-section {
    background-color: #0A2342; /* Dark blue background for hero */
    color: #ffffff; /* Light text for dark background */
    padding: 80px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden; /* Ensure image doesn't overflow */
    min-height: 500px; /* Ensure hero section has a minimum height */
}

.page-about__hero-content-wrapper {
    max-width: 800px;
    z-index: 1;
    position: relative;
}

.page-about__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold for main title */
    font-weight: bold;
    line-height: 1.2;
}

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

.page-about__hero-cta-button {
    display: inline-block;
    background-color: #FFD700; /* Gold button */
    color: #0A2342; /* Dark blue text on gold */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-about__hero-cta-button:hover {
    background-color: #e6c200; /* Darker gold on hover */
    transform: translateY(-2px);
}

.page-about__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0.2; /* Subtle background image */
    z-index: 0;
}

.page-about__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the entire area */
    display: block;
}

/* Section Titles */
.page-about__section-title {
    font-size: 2.5em;
    color: #0A2342; /* Dark blue for section titles */
    text-align: center;
    margin-bottom: 60px;
    padding-top: 40px;
    font-weight: bold;
}

/* Mission Section */
.page-about__mission-section {
    padding: 80px 0;
    background-color: #f8f8f8; /* Light background */
}

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

.page-about__mission-text {
    flex: 1;
}

.page-about__mission-text p {
    margin-bottom: 20px;
    font-size: 1.1em;
}

.page-about__mission-cta-button {
    display: inline-block;
    background-color: #0A2342; /* Dark blue button */
    color: #ffffff; /* Light text */
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-about__mission-cta-button:hover {
    background-color: #1e3a63; /* Slightly lighter dark blue */
}

.page-about__mission-image-wrapper {
    flex: 1;
    text-align: center;
}

.page-about__mission-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    display: block; /* Ensure it behaves as a block element for max-width */
}

/* Values Section */
.page-about__values-section {
    padding: 80px 0;
    background-color: #ffffff; /* White background */
}

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

.page-about__value-card {
    background-color: #f0f5fa; /* Light blue-grey background for cards */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.page-about__value-card-title {
    font-size: 1.5em;
    color: #0A2342; /* Dark blue title */
    margin-bottom: 15px;
}

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

/* Security Section */
.page-about__security-section {
    padding: 80px 0;
    background-color: #f8f8f8;
}

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

.page-about__security-image-wrapper {
    flex: 1;
    text-align: center;
}

.page-about__security-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    display: block;
}

.page-about__security-text {
    flex: 1;
}

.page-about__security-text p {
    margin-bottom: 20px;
    font-size: 1.1em;
}

.page-about__security-link {
    display: block;
    color: #0A2342;
    text-decoration: none;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-about__security-link:hover {
    text-decoration: underline;
    color: #FFD700;
}

/* Call to Action Section */
.page-about__cta-section {
    background-color: #0A2342; /* Dark blue background */
    color: #ffffff; /* Light text */
    padding: 80px 20px;
    text-align: center;
}

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

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

.page-about__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-about__cta-button {
    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, transform 0.3s ease;
    min-width: 150px; /* Ensure buttons have minimum width */
}

.page-about__cta-button--primary {
    background-color: #FFD700; /* Gold button */
    color: #0A2342; /* Dark blue text */
}

.page-about__cta-button--primary:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

.page-about__cta-button--secondary {
    background-color: transparent;
    color: #FFD700; /* Gold text */
    border: 2px solid #FFD700; /* Gold border */
}

.page-about__cta-button--secondary:hover {
    background-color: #FFD700; /* Gold background on hover */
    color: #0A2342; /* Dark blue text on hover */
    transform: translateY(-2px);
}

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

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

/* Responsive Design */
@media (max-width: 992px) {
    .page-about__hero-title {
        font-size: 2.5em;
    }
    .page-about__section-title {
        font-size: 2em;
    }
    .page-about__mission-content,
    .page-about__security-content {
        flex-direction: column;
        text-align: center;
    }
    .page-about__mission-image-wrapper,
    .page-about__security-image-wrapper {
        order: -1; /* Image above text on smaller screens */
        margin-bottom: 30px;
    }
    .page-about__mission-text,
    .page-about__security-text {
        text-align: center;
    }
    .page-about__mission-cta-button {
        margin-top: 20px;
    }
    .page-about__security-link {
        display: inline-block;
        margin: 5px 10px;
    }
    .page-about__cta-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    /* Mobile content area image constraint */
    .page-about img {
        max-width: 100%;
        height: auto;
    }
    .page-about__hero-section {
        padding: 60px 15px;
    }
    .page-about__hero-title {
        font-size: 2em;
    }
    .page-about__hero-description {
        font-size: 1em;
    }
    .page-about__section-title {
        font-size: 1.8em;
        margin-bottom: 40px;
    }
    .page-about__values-grid {
        grid-template-columns: 1fr;
    }
    .page-about__values-section,
    .page-about__mission-section,
    .page-about__security-section,
    .page-about__cta-section {
        padding: 60px 0;
    }
    .page-about__cta-title {
        font-size: 1.8em;
    }
    .page-about__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-about__cta-button {
        width: 100%;
        max-width: 280px; /* Constrain button width on small screens */
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .page-about__hero-title {
        font-size: 1.8em;
    }
    .page-about__hero-cta-button {
        font-size: 1em;
        padding: 12px 25px;
    }
    .page-about__section-title {
        font-size: 1.5em;
    }
    .page-about__cta-title {
        font-size: 1.6em;
    }
}