/* Brand Color Variables - Sampled directly from your logo */
:root {
    --e3-navy: #1a1761;     /* The main dark blue from your logo */
    --e3-slate: #7b7b7b;    /* The gray from the '3' in your logo */
    --bg-light: #f4f7f9;    /* Very clean, subtle cool-gray background */
    --text-main: #333333;
    --white: #ffffff;
}

* { box-sizing: border-box; }

body { 
    font-family: 'Montserrat', sans-serif; 
    line-height: 1.6; 
    color: var(--text-main); 
    margin: 0; 
    background-color: var(--white);
}

/* Navigation */
nav { 
    background: var(--white); 
    padding: 1rem 5%; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 4px solid var(--e3-navy);
}

.logo-container img { height: 60px; width: auto; }

.nav-links a { 
    margin-left: 25px; 
    text-decoration: none; 
    color: var(--e3-navy); 
    font-weight: 700; 
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}



/* Hero Section - Solid Navy branding */
.hero { 
    background-color: var(--e3-navy); /* Solid logo navy */
    min-height: 60vh; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    text-align: center; 
    color: var(--white); 
    padding: 0 5%; 
}

.hero h1 { 
    font-size: 4.5rem; 
    margin-bottom: 0.5rem; 
    font-weight: 700; 
    text-transform: uppercase;
    letter-spacing: -2px;
}

.hero p { 
    font-size: 1.4rem; 
    max-width: 800px; 
    margin: 0 auto 2.5rem auto; 
    font-weight: 400; 
}

.btn-main { 
    background: var(--white); 
    color: var(--e3-navy); 
    padding: 18px 45px; 
    text-decoration: none; 
    font-weight: 700; 
    border-radius: 2px; 
    text-transform: uppercase;
}

/* Tagline Bar - Clean Slate Gray */
.tagline-bar { 
    padding: 5rem 10%; 
    text-align: center; 
    background-color: var(--bg-light); 
    color: var(--e3-navy);
    border-bottom: 1px solid #ddd;
}

.tagline-bar h2 { 
    font-weight: 600; 
    font-size: 2.2rem; 
    line-height: 1.3; 
    max-width: 900px; 
    margin: 0 auto;
}

/* Pillars Section */
/* Update this section in your style.css */

.pillars { 
    padding: 5rem 5%; 
    background: var(--white); 
    text-align: center; 
}

.grid { 
    display: grid; 
    /* This creates the 2x2 layout on desktop (min 900px) */
    grid-template-columns: repeat(2, 1fr); 
    gap: 2.5rem; 
    max-width: 900px; /* Constrains the width so they stay as a 2x2 pair */
    margin: 4rem auto 0 auto;
    justify-content: center;
}

.card { 
    background: var(--white); 
    padding: 3rem 2rem; 
    border: 1px solid #eee;
    border-top: 8px solid var(--e3-slate); 
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 250px; /* Ensures all cards are uniform height */
}

/* Responsive adjustment for tablets/phones */
@media (max-width: 800px) {
    .grid {
        grid-template-columns: 1fr; /* Drops to 1 column on smaller screens */
        max-width: 450px; /* Keeps the single column centered and tidy */
    }
}

.card:hover { 
    border-top-color: var(--e3-navy); 
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.card h3 { 
    color: var(--e3-navy); 
    font-weight: 700; 
    text-transform: uppercase; 
    font-size: 1.2rem; 
    margin-bottom: 15px;
}

/* Footer */
footer { 
    background: #222; 
    color: #eee; 
    padding: 4rem 5%; 
    text-align: center; 
}

.footer-logo { 
    height: 50px; 
    filter: brightness(0) invert(1); /* Makes the logo pure white in footer */
    margin-bottom: 1.5rem; 
    opacity: 0.8; 
}
/* Sub-Page Hero */
.hero-sub {
    background-color: var(--e3-navy);
    padding: 6rem 5%;
    text-align: center;
    color: var(--white);
}

.hero-sub h1 {
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

/* Content Layouts */
.content-section {
    padding: 5rem 5%;
    background: var(--white);
}

.container-small {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.container-small h2 {
    color: var(--e3-navy);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.feature-list {
    margin-top: 4rem;
    text-align: left;
}

.feature-item {
    margin-bottom: 3rem;
    border-left: 4px solid var(--e3-slate);
    padding-left: 2rem;
}

.feature-item h3 {
    color: var(--e3-navy);
    text-transform: uppercase;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: #555;
    font-size: 1rem;
}

/* Responsive Footer Tweak */
footer p {
    margin: 5px 0;
}

/* Ensure the clickable cards look like the original design */
.card-link {
    text-decoration: none;
    color: inherit; /* Keeps the text dark instead of turning link-blue */
    display: block;
}

.card-link:hover {
    text-decoration: none;
}

.btn-outline {
    display: inline-block;
    padding: 15px 35px;
    border: 2px solid var(--e3-navy);
    color: var(--e3-navy);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--e3-navy);
    color: var(--white);
}

/* Contact Form Styles */
.contact-form {
    text-align: left;
    margin-top: 3rem;
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 4px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 700;
    color: var(--e3-navy);
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 2px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
}

.support-redirect {
    margin-top: 3rem;
    padding: 2rem;
    border: 1px dashed var(--e3-slate);
    background: #fff;
}

.support-redirect a {
    color: var(--e3-navy);
    font-weight: 700;
}