:root {
    --primary: #0f172a;    /* Deep Navy */
    --secondary: #00897b;  /* Logo Teal */
    --accent: #38bdf8;     /* Light Blue */
    --text-main: #1e293b;
    --text-light: #475569; /* Darkened for accessibility (was #64748b) */
    --bg-light: #ffffff;
    --bg-alt: #f8fafc;
    --border: #e2e8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: 'Lexend', sans-serif;
}

/* --- NAVIGATION --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem 5%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.logo-container img {
    height: 100px;
    width: auto;
    display: block;
    mix-blend-mode: multiply;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--secondary);
}

.mobile-cta {
    display: none;
}

.btn-contact {
    background: var(--primary);
    color: white !important;
    padding: 0.85rem 1.75rem;
    border-radius: 4px;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem !important;
}

.btn-contact-sm {
    background: var(--primary);
    color: white !important;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.75rem !important;
    text-decoration: none;
}

/* --- HERO --- */
.hero {
    padding: 10rem 5% 8rem;
    background: radial-gradient(circle at top right, #f1f5f9 0%, #ffffff 100%);
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.motto {
    font-family: 'Lexend', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
    color: var(--secondary);
    font-size: 1rem;
    margin-bottom: 1.25rem;
    display: block;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 750px;
    margin: 0 auto 2.5rem;
}

/* --- SECTIONS --- */
section {
    padding: 8rem 5%;
}

.section-title {
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary);
    position: relative;
    padding-bottom: 1rem;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--secondary);
}

/* --- GRID / CARDS --- */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    background: white;
    padding: 3rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
    border-color: var(--secondary);
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
    color: var(--primary);
    line-height: 1.3;
}

.card-accent {
    border-top: 6px solid var(--secondary);
}

.card p {
    color: var(--text-light);
    font-size: 1.05rem;
}

/* --- MISSION BANNER --- */
.mission-banner {
    background: var(--primary);
    color: white;
    padding: 8rem 5%;
    text-align: center;
}

.mission-banner h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.mission-banner p {
    max-width: 850px;
    margin: 0 auto;
    font-size: 1.25rem;
    opacity: 0.95;
    font-weight: 400;
}

/* --- FOOTER --- */
footer {
    padding: 5rem 5%;
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.veteran-badge {
    display: inline-block;
    border: 2px solid var(--primary);
    padding: 0.6rem 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.75rem;
    font-family: 'Lexend', sans-serif;
}

/* --- FRAMEWORKS --- */
#frameworks {
    padding: 4rem 5%;
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.frameworks-list {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    opacity: 0.7;
}

.frameworks-list span {
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
}

/* --- CREDENTIALS --- */
#credentials {
    text-align: center;
    background: white;
}

.credentials-title {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.credentials-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.credential-item {
    border: 3px solid var(--primary);
    padding: 1.25rem 2.5rem;
    font-weight: 800;
    font-size: 1.5rem;
}

/* --- CONTACT --- */
#contact {
    background: var(--bg-alt);
    padding: 10rem 5%;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    border: 1px solid var(--border);
    background: white;
    padding: 5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.contact-container h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-container p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.contact-container .btn-contact {
    padding: 1.5rem 3rem;
    font-size: 1.1rem;
    display: inline-block;
    text-decoration: none;
}

/* --- FOOTER --- */
.footer-logo {
    height: 50px;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.footer-motto {
    font-weight: 700;
    color: var(--secondary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.footer-name {
    font-weight: 600;
}

.footer-address {
    color: var(--text-light);
}

.footer-email-container {
    margin-top: 1rem;
}

.footer-email {
    color: var(--secondary);
    font-weight: 700;
    text-decoration: none;
    word-break: break-all;
}

.footer-badge-container {
    text-align: right;
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-light);
    font-size: 0.85rem;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 768px) {
    nav {
        padding: 1.25rem 5%;
    }

    .logo-container img {
        height: 60px;
    }

    .nav-links {
        display: none;
    }

    .mobile-cta {
        display: block;
    }

    .hero {
        padding: 6rem 5% 4rem;
    }

    .hero h1 {
        font-size: 2.25rem;
        word-wrap: break-word;
    }

    .hero p {
        font-size: 1.1rem;
    }

    section {
        padding: 5rem 5%;
    }

    .section-title {
        margin-bottom: 3rem;
    }

    .mission-banner {
        padding: 6rem 5%;
    }

    .mission-banner h2 {
        font-size: 1.8rem;
    }

    #contact {
        padding: 4rem 5%;
    }

    .contact-container {
        padding: 3rem 1.5rem;
    }

    .contact-container h2 {
        font-size: 1.75rem;
    }

    .contact-container p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .contact-container .btn-contact {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        text-align: center;
    }

    .frameworks-list {
        gap: 1.5rem;
    }

    .credential-item {
        padding: 1rem 2rem;
        font-size: 1.2rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-info {
        width: 100%;
    }

    .footer-badge-container {
        text-align: center;
        margin-top: 2rem;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .grid {
        grid-template-columns: 1fr;
    }
    
    .card {
        padding: 2rem;
    }

    .credential-item {
        width: 100%;
    }
}
