/* About Page Styles */

/* CSS Variables for Background Images - Update these URLs for WordPress migration */
:root {
    --hero-bg-image: url("../../media/images/mro_CAD_overview.png");
    --mission-inform-bg-image: url("../../media/images/students\ aviation.jpg");
    --mission-connect-bg-image: url("../../media/images/Aircraft\ take\ off.jpg");
    --mission-elevate-bg-image: url("../../media/images/avionics\ at\ night.jpg");
    --values-bg-image: url("../../media/images/engineer-working-with-airplane.jpg");
}

/* About Page Specific Styles - Mobile First */
.about-page {
    background: #f5f5f5;
}


/* Hero Section */
.about-hero {
    position: relative;
    height: 500px;
    background-color: #003366;
    background-image: var(--hero-bg-image);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, #1b81e72c, #003366d2);
}




.about-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;

    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;


}

.about-hero h1 {
    font-size: 36px;
    margin-bottom: 15px;
    font-weight: 800;
    line-height: 1.2;
}

.about-hero p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}



/* NEW Mission Section */
.mission-section {
    background: white;
    padding: 60px 20px;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-section-title {
    font-size: 32px;
    color: #003366;
    margin-bottom: 20px;
    font-weight: 700;
    text-align: center;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 40px;
}

/* Mission Card */
.mission-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    min-height: 320px;
    display: flex;
    align-items: flex-end;
    transition: transform 0.3s ease, filter 0.3s ease;
    color: white;
}

.mission-card:hover {
    transform: translateY(-5px);
    filter: brightness(1.1);
}

/* Background images for each card */
.mission-card.inform {
    background-image: var(--mission-inform-bg-image);
    background-size: cover;
    background-position: center;
}

.mission-card.connect {
    background-image: var(--mission-connect-bg-image);
    background-size: cover;
    background-position: center;
}

.mission-card.elevate {
    background-image: var(--mission-elevate-bg-image);
    background-size: cover;
    background-position: center;
}

/* Full-card gradient overlay via pseudo-element */
.mission-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 30%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
}

/* Content wrapper — sits above the gradient */
.mission-overlay {
    position: relative;
    z-index: 2;
    padding: 30px 20px;
    width: 100%;
    text-align: center;
}

/* Circular icon background */
.mission-icon-circle {
    width: 56px;
    height: 56px;
    background: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: #fff;
}

.mission-card h3 {
    color: #ffffff;
    font-size: 22px;
    margin-bottom: 12px;
    font-weight: 700;
}

.mission-card p {
    color: #f0f0f0;
    line-height: 1.6;
    font-size: 15px;
}


/* Story Section */
.story-section {
    background: #f8f9fa;
    padding: 60px 20px;
}

.story-content {
    background: white;
    padding: 35px 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    max-width: 900px;
    margin: 0 auto;
}

.story-content h2 {
    color: #003366;
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 700;
}

.story-content p {
    color: #555;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 18px;
}

.story-highlight {
    background: #f8f9fa;
    border-left: 4px solid #FF8C00;
    padding: 20px;
    margin: 25px 0;
    font-size: 18px;
    color: #333;
    font-weight: 500;
    line-height: 1.6;
    font-style: italic;
}

/* Values Section */
.values-section {
    background-image: linear-gradient(rgba(0, 21, 51, 0.88), rgba(0, 33, 71, 0.93)), var(--values-bg-image);
    background-size: cover;
    background-position: center;
    padding: 70px 20px;
    padding-bottom: 90px;
}

.values-section .about-section-title {
    color: #ffffff;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 40px;
}

.value-item {
    display: flex;
    gap: 20px;
    padding: 25px 20px;
    background: #ffffff;
    border-radius: 12px;
    align-items: flex-start;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.value-icon {
    font-size: 28px;
    color: #FF8C00;
    min-width: 40px;
    text-align: center;
}

.value-content h3 {
    color: #003366;
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 700;
}

.value-content p {
    color: #555;
    line-height: 1.6;
    font-size: 15px;
}

/* Founder Section */
.founder-section {
    background: #f8f9fa;
    padding: 60px 20px;
}

.founder-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    background: white;
    border-radius: 12px;
    padding: 36px 28px;
    box-shadow: 0 2px 12px rgba(0, 51, 102, 0.08);
    max-width: 800px;
    margin: 40px auto 0;
}

.founder-photo-wrap {
    flex-shrink: 0;
}

.founder-photo {
    width: 140px;
    height: 200px;
    border-radius: 8px;
    object-fit: cover;
    object-position: center top;
    border: 4px solid #FF8C00;
    display: block;
}

.founder-body {
    text-align: center;
}

.founder-name {
    font-size: 22px;
    font-weight: 700;
    color: #003366;
    margin-bottom: 4px;
}

.founder-role {
    font-size: 13px;
    font-weight: 600;
    color: #FF8C00;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}

.founder-bio {
    font-size: 15px;
    color: #555;
    line-height: 1.75;
    margin-bottom: 20px;
}

.founder-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #0077B5;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 6px;
    transition: background 0.2s;
}

.founder-linkedin:hover {
    background: #005983;
    color: #fff;
}


/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #003366, #004B87);
    padding: 60px 20px;
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: 700;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.cta-btn-primary {
    display: inline-block;
    padding: 16px 40px;
    background-color: #FF8C00;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 300px;
}

.cta-btn-primary:hover {
    background-color: #e67e00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.3);
}

.cta-btn-secondary {
    display: inline-block;
    padding: 16px 40px;
    background-color: transparent;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    font-size: 16px;
    border: 2px solid white;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 300px;
}

.cta-btn-secondary:hover {
    background-color: white;
    color: #003366;
}

/* Tablet (641px and up) */
@media (min-width: 641px) {
    .about-hero {
        padding: 80px 20px;
    }

    .about-hero h1 {
        font-size: 42px;
        margin-bottom: 20px;
    }

    .about-hero p {
        font-size: 20px;
    }

    .mission-section,
    .story-section,
    .values-section,
    .team-section,
    .cta-section {
        padding: 80px 20px;
    }

    .about-section-title {
        font-size: 36px;
        margin-bottom: 25px;
    }

    .mission-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .mission-card h3 {
        font-size: 24px;
    }

    .mission-card p {
        font-size: 16px;
    }

    .story-content {
        padding: 45px 40px;
    }

    .story-content h2 {
        font-size: 32px;
        margin-bottom: 25px;
    }

    .story-content p {
        font-size: 17px;
        margin-bottom: 20px;
    }

    .story-highlight {
        font-size: 19px;
        padding: 25px;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .value-item {
        padding: 30px 25px;
    }

    .value-content h3 {
        font-size: 22px;
    }

    .value-content p {
        font-size: 16px;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }

    .member-avatar {
        width: 120px;
        height: 120px;
        font-size: 40px;
    }

    .member-name {
        font-size: 22px;
    }

    .member-role {
        font-size: 14px;
    }

    .member-bio {
        font-size: 15px;
    }

    .cta-section h2 {
        font-size: 38px;
        margin-bottom: 20px;
    }

    .cta-section p {
        font-size: 20px;
        margin-bottom: 35px;
    }

    .cta-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
    }

    .cta-btn-primary,
    .cta-btn-secondary {
        width: auto;
    }
}

/* Desktop (1025px and up) */
@media (min-width: 1025px) {
    .about-hero h1 {
        font-size: 52px;
    }

    .about-hero p {
        font-size: 22px;
    }

    .about-section-title {
        font-size: 38px;
        margin-bottom: 25px;
    }

    .mission-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }

    .founder-card {
        flex-direction: row;
        align-items: flex-start;
        padding: 48px 48px;
    }

    .founder-body {
        text-align: left;
    }

    .founder-photo {
        width: 160px;
        height: 230px;
        border-radius: 8px;
    }

    .cta-section h2 {
        font-size: 42px;
    }
}
