/* ─────────────────────────────────────────
   BASE & RESET
   ───────────────────────────────────────── */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Helvetica, Arial, sans-serif;
    color: #fff;
    -webkit-font-smoothing: antialiased;
    overflow: hidden; /* Prevent any accidental scrolling */
}

#page-bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.app-container {
    display: flex;
    flex-direction: column;
    height: 100%; /* Fill the viewport exactly */
    width: 100%;
    padding: 34px 40px;
    box-sizing: border-box;
}

/* ─────────────────────────────────────────
   HEADER
   ───────────────────────────────────────── */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0; /* Don't squash the header */
}

.logo-cell {
    height: 30px;
}

.logo-img {
    height: 100%;
    width: auto;
    display: block;
}

.header-nav {
    display: flex;
    align-items: center;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.05em;
}

.nav-link:hover {
    /* Opacity fade removed */
}

/* ─────────────────────────────────────────
   MISSION STATEMENT
   ───────────────────────────────────────── */
.mission-container {
    flex-grow: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 36vh;
}

.mission-text {
    font-size: 40px; /* Updated as requested */
    font-weight: bold;
    max-width: 1000px; /* Widened box as requested */
    line-height: 1.2;
    margin: 0;
    text-align: left; /* Left-aligned paragraph */
}

.nav-icon {
    width: 25px;
    height: 25px;
    display: block;
    filter: brightness(0) invert(1);
}

/* ─────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────── */
.footer {
    margin-top: auto; /* Push to bottom */
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-shrink: 0; /* Don't squash the footer */
}

.social-links {
    display: flex;
    gap: 0;
    align-items: center;
}

.social-link {
    display: block;
    line-height: 0;
}

.social-link img {
    width: 48px;
    height: 48px;
    display: block;
}

.social-link:hover {
    /* Opacity fade removed */
}

.footer-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
    text-align: right;
    line-height: 1.2;
}

.contact-link {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    display: block;
}

.contact-link:hover {
    text-decoration: none; /* Underline removed */
}

.copyright {
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    display: block;
}

/* ─────────────────────────────────────────
   MOBILE RESPONSIVENESS
   ───────────────────────────────────────── */
@media (max-width: 767px) {
    .app-container {
        /* Adjusted for the small iPhone SE / standard iPhone viewport */
        padding: 27px 14px 20px 14px; 
        height: 100svh; /* Dynamic viewport height to account for mobile bars */
    }

    .header {
        flex-direction: row; 
        width: 100%;
    }

    .mission-text {
        font-size: 32px; /* Increased mobile font size as requested */
    }
    
    .logo-cell {
        height: 30px; /* Kept at full desktop height as requested */
    }

    .footer {
        flex-direction: column;
        align-items: center;
        gap: 20px; /* Reduced gap to fit all content on small screens */
    }

    .footer-info {
        align-items: center;
        text-align: center;
        order: 2;
    }
    
    .social-wrapper {
        order: 1;
        width: 100%;
        overflow-x: auto;
        display: flex;
        justify-content: center;
    }

    .social-links {
        justify-content: center;
        flex-wrap: nowrap;
    }

    .social-link img {
        width: 48px;
        height: 48px;
    }
}
