* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f7fa;
    color: #111111;
    line-height: 1.6;
    position: relative;
    padding-top: 76px;
}

body::before {
    content: "";
    position: fixed;
    top: 120px;
    left: 40px;
    width: 800px;
    height: 800px;
    background-image: url('/assets/michigan-bg.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: top left;
    opacity: 0.15;
    filter: grayscale(100%) brightness(0.7);
    pointer-events: none;
    z-index: 0;
} 

/* Testing code */

img {
    max-width: 100%;
    display: block;
}

a {
    color: #0b5fa5;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    width: min(1100px, 92%);
    margin: 0 auto;
}

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #d9e1e8;
    position: fixed;
    top: 0;
    right: 0;
    left:0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 76px;
}

.brand-name {
    font-size: 1.3rem;
    font-weight: 700;
    /* color: #111111; */
    color: #0b5fa5;
    letter-spacing: 0.4px;
}

.site-nav ul {
    list-style: none;
    display: flex;
    gap: 24px;
    margin: 0;
    padding: 0;
}

.site-nav a {
    color: #111111;
    font-weight: 600;
}

.site-nav a.active {
    color: #0b5fa5;
}

.menu-toggle {
    display: none;
    background: #0b5fa5;
    color: #ffffff;
    border: none;
    padding: 10px 14px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 6px;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 70px 0 50px;
    background: linear-gradient(to bottom, #ffffff, #eef3f8);
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: min(1100px, 92%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 50px;
    align-items: center;
}

.hero-logo img {
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    background: #ffffff;
}

.hero-text h1 {
    margin: 0 0 18px;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.15;
    color: #111111;
}

.hero-text p {
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 0 24px;
    color: #2a2f34;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 13px 20px;
    border-radius: 8px;
    font-weight: 700;
    transition: 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.btn-primary {
    background: #0b5fa5;
    color: #ffffff;
}

.btn-primary:hover {
    background: #084d86;
}

.btn-secondary {
    background: #ffffff;
    color: #111111;
    border: 1px solid #cfd8e1;
}

.credibility,
.services,
.why-4tfied,
.contact {
    padding: 70px 0;
}

.credibility h2,
.services h2,
/* .why-4tfied h2, */
.contact h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin: 0 0 16px;
    color: #000000;
}

.section-intro {
    max-width: 760px;
    margin-bottom: 28px;
    color: #2a2f34;
}

.credibility-grid,
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 28px;
}

.credibility-card,
.service-card,
.contact-box {
    background: #ffffff;
    border: 1px solid #d9e1e8;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}


.credibility-card h3,
.service-card h3 {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 1.3rem;
    color: #0b5fa5;
}

.credibility-card ul,
.service-card ul {
    margin: 0;
    padding-left: 20px;
}

.why-4tfied {
    background: #0f1720;
    color: #ffffff;
}

.why-4tfied h2 {
    color: #ffffff;
}

.why-4tfied p {
    max-width: 850px;
    font-size: 1.08rem;
}

.tagline {
    margin-top: 20px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #0b5fa5;
}

/*

.tagline {
    color: #0b5fa5;
    font-weight: 500;
}
*/

.contact-box p {
    margin: 10px 0;
    font-size: 1.05rem;
}

/* Contact Form */
.contact-form {
    margin-top: 24px;
}

.form-row {
    margin-bottom: 18px;
}

.form-row label {
    display: block;
    font-weight: 700;
    margin-bottom: 6px;
    color: #111111;
}

.form-row input,
.form-row textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cfd8e1;
    border-radius: 8px;
    font-size: 1rem;
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: #111111;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-row input:focus,
.form-row textarea:focus {
    outline: none;
    border-color: #0b5fa5;
    box-shadow: 0 0 0 3px rgba(11, 95, 165, 0.12);
}

.form-row textarea {
    resize: vertical;
    min-height: 140px;
}

.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-status {
    margin: 0 0 20px;
    padding: 16px 18px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
}

.form-status.success {
    background: #e6f9e6;
    border-left: 6px solid #28a745;
    border-top: 1px solid #b7e4b7;
    border-right: 1px solid #b7e4b7;
    border-bottom: 1px solid #b7e4b7;
    color: #155724;
    box-shadow: 0 8px 20px rgba(40, 167, 69, 0.12);
}

.form-status.error {
    background: #fdeaea;
    border: 1px solid #e0a4a4;
    color: #8a1f1f;
}

.site-footer {
    background: #111111;
    color: #ffffff;
    padding: 22px 0;
    text-align: center;
}

.site-footer p {
    margin: 6px 0;
}

.site-footer a {
    display: inline-block;
    color: #ffffff;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
}

.site-footer a:hover {
    background: #0b5fa5;
    color: #ffffff;
}


/* .site-header, */
main,
.site-footer {
    position: relative;
    z-index: 1;
}

/* Responsive */

@media (max-width: 850px) {
    .hero-inner,
    .credibility-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 40px;
    }

    .hero-logo img {
        max-width: 280px;
    }
}

.about-page {
    padding: 70px 0;
}

.about-card {
    background: #ffffff;
    border: 1px solid #d9e1e8;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    max-width: 900px;
}

.about-card h1 {
    margin-top: 0;
    margin-bottom: 24px;
    font-size: clamp(2rem, 4vw, 3rem);
    color: #111111;
}

.about-card h2 {
    margin-top: 0;
    margin-bottom: 14px;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #0b5fa5;
}

.about-card p {
    margin: 0 0 22px;
    font-size: 1.08rem;
    color: #2a2f34;
}

.about-philosophy {
    margin: 36px 0 30px;
    padding: 28px;
    background: #f5f8fc;
    border-left: 6px solid #0b5fa5;
    border-radius: 10px;
}

.about-quote {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: #111111;
    line-height: 1.6;
}

.about-logo {
    text-align: center;
    margin-bottom: 30px;
}

.about-logo img {
    max-width: 180px;
    opacity: 0.95;
}

@media (max-width: 700px) {
    .about-card {
        padding: 26px 20px;
    }

    .about-card p {
        font-size: 1rem;
    }

    .about-quote {
        font-size: 1.08rem;
    }
}

/* MOBILE NAV REMOVED */

@media (max-width: 700px) {
    .menu-toggle,
    .site-nav {
        display: none;
    }

}