:root {
    --primary: #374F62;       /* Official Style Guide Slate */
    --secondary: #9ACC59;     /* Official Style Guide Green */
    --secondary-dark: #5a8a5e;/* Mid-tone Slate-Green for links/accents */
    --accent-yellow: #FDBE40; /* Official Style Guide Yellow */
    --dark: #000000;          /* Official Style Guide Black */
    --text-body: #374F62;     /* Slate for readable body copy */
    --light: #f8fafc;         /* Clean Off-White Background */
    --border-gray: #e2e8f0; 
    --card-bg: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text-body);
    background-color: var(--light);
    line-height: 1.7;
}

/* Header & Navigation (1/4" Clear Space Rule Applied) */
header {
    background: #ffffff;
    border-bottom: 1px solid var(--border-gray);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(55, 79, 98, 0.06);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    padding: 0.25rem 0;
}

.logo-area img {
    height: 44px;
    width: auto;
    display: block;
}

.logo- fallback-text {
    font-weight: 800;
    font-size: 1rem;
    color: var(--dark);
    letter-spacing: 0.5px;
    line-height: 1.15;
}

.logo-fallback-text span {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--primary);
    display: block;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s;
    white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary-dark);
    border-bottom: 2px solid var(--secondary);
    padding-bottom: 2px;
}

.nav-links a.btn-nav {
    background: var(--primary);
    color: #ffffff;
    padding: 0.5rem 1.15rem;
    border-radius: 0.375rem;
    border-bottom: none;
    transition: background 0.2s;
}

.nav-links a.btn-nav:hover {
    background: var(--dark);
    color: #ffffff;
}

/* Mobile Hamburger Menu Button */
.menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border-gray);
    border-radius: 0.375rem;
    font-size: 1.5rem;
    color: var(--primary);
    padding: 0.25rem 0.65rem;
    cursor: pointer;
}

@media (max-width: 920px) {
    .nav-container {
        padding: 0.85rem 1.25rem;
    }
    .menu-toggle {
        display: block;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        border-bottom: 2px solid var(--primary);
        padding: 1.25rem;
        gap: 1rem;
        box-shadow: 0 8px 16px rgba(0,0,0,0.08);
        text-align: center;
    }
    .nav-links.open {
        display: flex;
    }
}

/* Buttons & CTAs (Style Guide Yellow Accent) */
.btn {
    display: inline-block;
    background: var(--accent-yellow);
    color: var(--dark);
    padding: 0.85rem 2rem;
    border-radius: 0.375rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 3px 6px rgba(0,0,0,0.12);
}

.btn:hover {
    background: #eab034;
    transform: translateY(-1px);
}

/* Hero Sections (Official Slate-to-Green Linear Gradient) */
.hero {
    background: linear-gradient(90deg, #374F62 0%, #4e7360 55%, #9ACC59 100%);
    color: #ffffff;
    padding: 9rem 2rem 5rem 2rem;
    text-align: center;
    position: relative;
}

.hero-mark {
    height: 48px;
    width: auto;
    margin-bottom: 1.25rem;
    opacity: 0.95;
}

.hero .eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-yellow);
    margin-bottom: 0.75rem;
}

.hero h1 {
    font-size: 2.5rem;
    max-width: 850px;
    margin: 0 auto 1.25rem auto;
    font-weight: 700;
    line-height: 1.2;
}

.hero p {
    font-size: 1.15rem;
    max-width: 720px;
    margin: 0 auto 2rem auto;
    color: #f1f5f9;
}

@media (max-width: 768px) {
    .hero {
        padding: 7.5rem 1.5rem 4rem 1.5rem;
    }
    .hero h1 {
        font-size: 1.95rem;
    }
}

/* Trust Bar */
.trust-bar {
    background: #ffffff;
    padding: 1.15rem 2rem;
    border-bottom: 1px solid var(--border-gray);
    text-align: center;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* Main Content Containers */
main {
    padding-top: 1rem;
}

section {
    max-width: 1120px;
    margin: 0 auto;
    padding: 4.5rem 2rem;
}

section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

section p.section-intro {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 3rem auto;
    color: var(--text-body);
    font-size: 1.05rem;
}

.section-mark {
    display: block;
    height: 36px;
    width: auto;
    margin: 0 auto 1rem auto;
}

/* Grids & Cards */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--card-bg);
    padding: 2.25rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border-gray);
    border-top: 4px solid var(--primary);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.03);
    transition: transform 0.2s, border-top-color 0.2s;
}

.card:hover {
    transform: translateY(-2px);
    border-top-color: var(--secondary);
}

.card h3 {
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

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

.card-link {
    display: inline-block;
    margin-top: 1.25rem;
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
}

.card-link:hover {
    color: var(--secondary-dark);
}

/* Content Blocks */
.content-block {
    background: #ffffff;
    padding: 3rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border-gray);
    margin-bottom: 2rem;
}

.content-block h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.content-block p {
    margin-bottom: 1rem;
    color: var(--text-body);
}

/* Aesthetically Pleasing Carrier Partner Grid (Grayscale to Color) */
.carrier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
    gap: 1.5rem;
    align-items: center;
    margin-top: 2rem;
}

.carrier-card {
    background: #ffffff;
    border: 1px solid var(--border-gray);
    border-radius: 0.5rem;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    text-align: center;
}

.carrier-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(55, 79, 98, 0.08);
    border-color: var(--secondary);
}

.carrier-card img {
    max-width: 135px;
    max-height: 55px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.65;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.carrier-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.carrier-fallback {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.95rem;
    opacity: 0.75;
    transition: opacity 0.3s, color 0.3s;
}

.carrier-card:hover .carrier-fallback {
    opacity: 1;
    color: var(--dark);
}

/* Executive Bio Layout (Greg Only) */
.bio-container {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-top: 1.5rem;
}

.bio-image img {
    width: 230px;
    height: auto;
    border-radius: 0.5rem;
    border: 4px solid var(--border-gray);
    box-shadow: 0 6px 12px rgba(0,0,0,0.08);
}

@media (max-width: 768px) {
    .bio-container {
        flex-direction: column;
        text-align: center;
    }
    .content-block {
        padding: 2rem 1.5rem;
    }
}

/* Contact Box */
.contact-box {
    background: #ffffff;
    border: 1px solid var(--border-gray);
    border-top: 5px solid var(--secondary);
    border-radius: 0.5rem;
    max-width: 720px;
    margin: 3rem auto 0 auto;
    padding: 3rem;
    box-shadow: 0 6px 12px rgba(0,0,0,0.04);
}

/* Global Footer (Solid Slate with Reversed White Logo) */
footer {
    background: var(--primary);
    color: #e2e8f0;
    text-align: center;
    padding: 3.5rem 2rem;
    font-size: 0.85rem;
}

.footer-logo {
    height: 42px;
    width: auto;
    margin-bottom: 1.25rem;
}

footer p {
    margin-bottom: 0.5rem;
}