/*
============================================================
4TFIED Technologies Website Framework
Copyright © 2026 Benjamin Pendleton / 4TFIED Technologies
All rights reserved.

This file is part of a proprietary website framework created
by 4TFIED Technologies.

Unauthorized copying, reuse, redistribution, resale, or use
on another website or project is prohibited without written
permission from 4TFIED Technologies.

Client receives permission to use this code only as part of
the approved website/project delivered by 4TFIED Technologies.

Author: Benjamin Pendleton
Website: https://4tfied.us
============================================================
*/

:root {
    --primary-blue: #0b5fa5;
    --dark-blue: #073f70;
    --light-blue: #e8f3fc;
    --accent-orange: #f28c28;
    --dark-text: #111111;
    --medium-text: #444444;
    --light-bg: #f5f7fa;
    --white: #ffffff;
    --border: #d9e1e8;
    --shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--light-bg);
    color: var(--dark-text);
    line-height: 1.6;
}

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

a {
    color: var(--primary-blue);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

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

.narrow {
    max-width: 850px;
}

/* ================= HEADER ================= */

.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 100px;
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--dark-text);
    font-weight: 800;
    font-size: 1.35rem;
    height: 100%;
}

.brand:hover {
    text-decoration: none;
}

.brand-logo {
    width: 185px;
    max-height: 100px;
    object-fit: contain;
}

.brand-text {
    letter-spacing: 0.4px;
}

.site-nav {
    display: flex;
}

.nav-links {
    display: flex;
    gap: 22px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links a {
    color: var(--dark-text);
    font-weight: 700;
    padding: 8px 0;
    border-bottom: 3px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-blue);
    border-bottom-color: var(--accent-orange);
    text-decoration: none;
}

.menu-toggle {
    display: none;
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 10px 14px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
}

/* ================= HERO ================= */

.hero {
    padding: 70px 0 50px;
    background: linear-gradient(to bottom, var(--white), #eef3f8);
}

.hero-inner {
    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: var(--shadow);
    background: var(--white);
}

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

.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;
}

/* ================= BUTTONS ================= */

.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,
.primary-btn {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover,
.primary-btn:hover {
    background: var(--dark-blue);
    color: var(--white);
}

.btn-secondary,
.secondary-btn {
    background: var(--white);
    color: var(--dark-text);
    border: 1px solid #cfd8e1;
}

/* ================= SECTIONS ================= */

.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: var(--dark-text);
}

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

.credibility-grid,
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

.credibility-card,
.service-card,
.contact-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
    box-shadow: var(--shadow);
}

.service-link {
    display: inline-block;
    margin-top: 18px;
    font-weight: 700;
    color: #0f4c81;
    text-decoration: none;
}

.service-link:hover {
    text-decoration: underline;
}

.credibility-card h3,
.service-card h3 {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 1.3rem;
    color: var(--primary-blue);
}

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

/* ================= WHY 4TFIED ================= */

.why-4tfied {
    background: var(--dark-blue);
    color: var(--white);
}

.why-4tfied h2 {
    color: var(--white);
}

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

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

/* ==========================================================
   ABOUT PAGE
========================================================== */

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

.about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
    gap: 40px;
    align-items: start;
}

.about-card {
    background: rgba(255, 255, 255, 0.94);
    color: #1f2933;
    padding: 36px;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.about-card h1 {
    margin-top: 0;
    margin-bottom: 22px;
    font-size: 2.3rem;
    color: #0f172a;
}

.about-card p {
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 18px;
}

.about-philosophy {
    margin: 34px 0;
    padding: 26px;
    border-left: 5px solid #0f4c81;
    background: rgba(15, 76, 129, 0.08);
    border-radius: 12px;
}

.about-philosophy h2 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.7rem;
    color: #0f172a;
}

.about-quote {
    font-size: 1.25rem;
    font-weight: 700;
    font-style: italic;
    color: #0f4c81;
    margin-bottom: 0;
}

.about-photo-wrap {
    background: rgba(255, 255, 255, 0.94);
    padding: 14px;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.about-photo-wrap img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
}

/* Mobile */
@media (max-width: 850px) {
    .about-page {
        padding: 45px 16px;
    }

    .about-layout {
        grid-template-columns: 1fr;
    }

    .about-card {
        padding: 26px;
    }

    .about-card h1 {
        font-size: 2rem;
    }

    .about-photo-wrap {
        max-width: 420px;
        margin: 0 auto;
    }
}

/* ================= CONTACT ================= */

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

.contact-form {
    margin-top: 24px;
}

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

.form-row label {
    display: block;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--dark-text);
}

.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: var(--white);
    color: var(--dark-text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-row input:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    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;
    top: auto;
    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;
}

/* ============ LinkedIn link =========== */
.about-linkedin {
    margin-top: 14px;
    text-align: center;
}

.about-linkedin a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: #0a66c2;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: background 0.2s ease;
}

.about-linkedin a:hover {
    background: #084c91;
}

.about-linkedin svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* ================= FOOTER ================= */

.site-footer {
    background: #101820;
    color: var(--white);
    padding: 32px 0;
    text-align: center;
}

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

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

.site-footer a:hover {
    background: var(--primary-blue);
    color: var(--white);
    text-decoration: none;
}

.footer-cred {
    margin-top: 14px;
    font-size: 0.9rem;
    color: #d8d8d8;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ribbon-icon {
    flex: 0 0 auto;
    width: 22px;
    height: 11px;
    background: linear-gradient(
        to right,
        #b22234 0%, #b22234 18%,
        #ffffff 18%, #ffffff 32%,
        #3c3b6e 32%, #3c3b6e 68%,
        #ffffff 68%, #ffffff 82%,
        #b22234 82%, #b22234 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 2px;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 850px) {
    .site-header {
        height: auto;
    }

    .header-inner {
        min-height: 86px;
        flex-wrap: wrap;
        padding: 8px 0;
    }

    .brand-logo {
        width: 165px;
        max-height: 68px;
    }

    .hero-inner,
    .credibility-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 40px;
    }

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

    .menu-toggle {
        display: block;
    }

    .site-nav {
        width: 100%;
        display: none;
    }

    .site-nav.open {
        display: block;
    }

    .nav-links {
        flex-direction: column;
        gap: 8px;
        padding: 12px 0;
    }
}

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

    .brand {
        gap: 10px;
    }

    .brand-text {
        font-size: 0.95rem;
    }
}