/* ============================================================
   Cox Supply Chain Consulting LLC — Global Stylesheet
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
    color: #1a1a2e;
    background: #ffffff;
    line-height: 1.7;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

/* ---------- Color Variables ---------- */
:root {
    --navy:       #0b2545;
    --navy-light: #134074;
    --gold:       #c8962c;
    --gold-light: #e8b84b;
    --white:      #ffffff;
    --off-white:  #f4f6f9;
    --gray:       #6c757d;
    --gray-light: #dee2e6;
    --text:       #1a1a2e;
    --shadow:     0 4px 24px rgba(11,37,69,0.12);
    --radius:     6px;
    --max-width:  1200px;
    --transition: 0.25s ease;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
    font-weight: 700;
    line-height: 1.25;
    color: var(--navy);
}

h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p {
    color: #3a3a5c;
    margin-bottom: 1rem;
}

p:last-child { margin-bottom: 0; }

/* ---------- Layout Helpers ---------- */
.container {
    width: 90%;
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
}

.section {
    padding: 80px 0;
}

.section--gray {
    background: var(--off-white);
}

.section--navy {
    background: var(--navy);
    color: var(--white);
}

.section--navy h2,
.section--navy h3,
.section--navy h4,
.section--navy p {
    color: var(--white);
}

.section-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.6rem;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 60px;
}

.section-header p {
    font-size: 1.05rem;
    margin-top: 1rem;
}

.divider {
    width: 60px;
    height: 4px;
    background: var(--gold);
    margin: 16px auto 0;
    border-radius: 2px;
}

.divider--left {
    margin-left: 0;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background var(--transition), color var(--transition), transform var(--transition);
    white-space: nowrap;
}

.btn--primary {
    background: var(--gold);
    color: var(--navy);
}

.btn--primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn--outline:hover {
    background: var(--white);
    color: var(--navy);
    transform: translateY(-2px);
}

.btn--navy {
    background: var(--navy);
    color: var(--white);
}

.btn--navy:hover {
    background: var(--navy-light);
    transform: translateY(-2px);
}

/* ---------- Top Bar ---------- */
.topbar {
    background: var(--navy);
    color: rgba(255,255,255,0.75);
    font-size: 0.82rem;
    padding: 8px 0;
}

.topbar .container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: flex-end;
}

.topbar a {
    color: rgba(255,255,255,0.75);
    transition: color var(--transition);
}

.topbar a:hover { color: var(--gold-light); }

.topbar-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ---------- Header / Navigation ---------- */
.site-header {
    background: var(--white);
    box-shadow: 0 2px 12px rgba(11,37,69,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.nav-logo-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.01em;
}

.nav-logo-name span { color: var(--gold); }

.nav-logo-tag {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gray);
    font-weight: 500;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a {
    padding: 8px 14px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy);
    border-radius: var(--radius);
    transition: background var(--transition), color var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    background: var(--off-white);
    color: var(--gold);
}

.nav-cta {
    margin-left: 10px;
    padding: 9px 24px !important;
    background: var(--gold) !important;
    color: var(--navy) !important;
    border-radius: var(--radius) !important;
}

.nav-cta:hover {
    background: var(--gold-light) !important;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--navy);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('assets/bg_01.png');
    background-size: cover;
    background-position: center;
    opacity: 0.28;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    color: var(--white);
    padding: 80px 0;
}

.hero-content .section-label {
    color: var(--gold-light);
}

.hero-content h1 {
    color: var(--white);
    margin-bottom: 1.2rem;
}

.hero-content p {
    color: rgba(255,255,255,0.85);
    font-size: 1.15rem;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.hero-badge {
    margin-top: 60px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.hero-stat {}

.hero-stat .stat-num {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
}

.hero-stat .stat-label {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.7);
    margin-top: 4px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ---------- Feature Strip ---------- */
.feature-strip {
    background: var(--gold);
    padding: 22px 0;
}

.feature-strip .container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: space-between;
    align-items: center;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.feature-item .icon {
    font-size: 1.3rem;
}

/* ---------- Cards Grid ---------- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.card {
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(11,37,69,0.16);
}

.card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-body {
    padding: 28px;
}

.card-body h3 {
    margin-bottom: 10px;
}

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--off-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 18px;
}

/* ---------- Services List Cards ---------- */
.service-card {
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 36px 32px;
    border-left: 4px solid var(--gold);
    transition: transform var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
}

.service-card .icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.service-card h3 {
    margin-bottom: 10px;
}

.service-card ul {
    margin-top: 16px;
    list-style: none;
}

.service-card ul li {
    padding: 5px 0 5px 20px;
    position: relative;
    font-size: 0.92rem;
    color: var(--gray);
}

.service-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 700;
}

/* ---------- Two-Column Split ---------- */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }

.split-media {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.split-media img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.split-text .section-label { margin-bottom: 0.5rem; }
.split-text h2 { margin-bottom: 1rem; }

/* ---------- Why Choose Us ---------- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
}

.why-item {
    text-align: center;
    padding: 36px 24px;
}

.why-icon {
    font-size: 2.6rem;
    margin-bottom: 16px;
}

.why-item h4 {
    color: var(--navy);
    margin-bottom: 10px;
}

.why-item p {
    font-size: 0.92rem;
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.testimonial-card {
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 36px;
    border: 1px solid rgba(255,255,255,0.12);
}

.testimonial-stars {
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: 14px;
}

.testimonial-card p {
    color: rgba(255,255,255,0.88);
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    flex-shrink: 0;
}

.author-name {
    font-weight: 700;
    color: var(--white);
    font-size: 0.95rem;
}

.author-title {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
}

/* ---------- Fleet Table ---------- */
.fleet-table-wrap {
    overflow-x: auto;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.fleet-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
    background: var(--white);
}

.fleet-table thead {
    background: var(--navy);
    color: var(--white);
}

.fleet-table th {
    padding: 16px 20px;
    text-align: left;
    font-weight: 700;
    letter-spacing: 0.04em;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.fleet-table td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--gray-light);
    color: #3a3a5c;
    vertical-align: middle;
}

.fleet-table tbody tr:last-child td {
    border-bottom: none;
}

.fleet-table tbody tr:hover td {
    background: var(--off-white);
}

.badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.badge--green  { background: #d4f5e2; color: #1a7f4e; }
.badge--blue   { background: #d6eaff; color: #0b5199; }
.badge--gold   { background: #fef0cc; color: #8a620d; }

/* ---------- Fleet Highlights ---------- */
.fleet-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.highlight-card {
    text-align: center;
    background: var(--white);
    border-radius: 10px;
    padding: 32px 20px;
    box-shadow: var(--shadow);
}

.highlight-num {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
}

.highlight-label {
    font-size: 0.82rem;
    color: var(--gray);
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

/* ---------- Contact Info Grid ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
}

.contact-item {
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 36px 28px;
    text-align: center;
    transition: transform var(--transition);
}

.contact-item:hover {
    transform: translateY(-4px);
}

.contact-icon {
    font-size: 2.4rem;
    margin-bottom: 16px;
}

.contact-item h4 {
    margin-bottom: 8px;
    color: var(--navy);
}

.contact-item p, .contact-item a {
    font-size: 0.95rem;
    color: var(--gray);
}

.contact-item a:hover { color: var(--gold); }

/* ---------- About Timeline ---------- */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gold);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item:last-child { margin-bottom: 0; }

.timeline-dot {
    position: absolute;
    left: -36px;
    top: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--gold);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--gold);
}

.timeline-year {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.timeline-item h4 {
    margin-bottom: 6px;
}

.timeline-item p {
    font-size: 0.92rem;
}

/* ---------- Values Grid ---------- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.value-item {
    background: var(--off-white);
    border-radius: 10px;
    padding: 32px 24px;
    text-align: center;
    border-top: 4px solid var(--gold);
    transition: transform var(--transition);
}

.value-item:hover { transform: translateY(-4px); }

.value-icon {
    font-size: 2.2rem;
    margin-bottom: 14px;
}

.value-item h4 { margin-bottom: 8px; }

.value-item p {
    font-size: 0.88rem;
    color: var(--gray);
}

/* ---------- Team Grid ---------- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 28px;
}

.team-card {
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
    text-align: center;
    transition: transform var(--transition);
}

.team-card:hover { transform: translateY(-4px); }

.team-avatar {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: -0.02em;
}

.team-info {
    padding: 24px;
}

.team-info h4 { margin-bottom: 4px; }

.team-role {
    font-size: 0.82rem;
    color: var(--gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}

.team-info p { font-size: 0.88rem; }

/* ---------- CTA Banner ---------- */
.cta-banner {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('assets/bg_01.png');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}

.cta-banner .container {
    position: relative;
    z-index: 1;
}

.cta-banner h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-banner p {
    color: rgba(255,255,255,0.8);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

/* ---------- Footer ---------- */
.site-footer {
    background: #080f1f;
    color: rgba(255,255,255,0.7);
    padding-top: 64px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .nav-logo-name {
    color: var(--white);
    font-size: 1.3rem;
}

.footer-brand p {
    color: rgba(255,255,255,0.6);
    font-size: 0.88rem;
    margin-top: 14px;
    line-height: 1.7;
}

.footer-col h5 {
    color: var(--gold);
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    transition: color var(--transition);
}

.footer-col ul li a:hover { color: var(--gold-light); }

.footer-contact-item {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    align-items: flex-start;
}

.footer-contact-item a {
    color: rgba(255,255,255,0.6);
    transition: color var(--transition);
}

.footer-contact-item a:hover { color: var(--gold-light); }

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 20px 0;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
}

.footer-bottom a {
    color: rgba(255,255,255,0.4);
}

.footer-bottom a:hover { color: var(--gold); }

/* ---------- Page Hero (Inner Pages) ---------- */
.page-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    padding: 80px 0 70px;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('assets/bg_01.png');
    background-size: cover;
    background-position: center;
    opacity: 0.14;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero .breadcrumb {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.55);
    margin-bottom: 18px;
}

.page-hero .breadcrumb a {
    color: rgba(255,255,255,0.55);
    transition: color var(--transition);
}

.page-hero .breadcrumb a:hover { color: var(--gold-light); }

.page-hero .breadcrumb span { color: var(--gold); }

.page-hero h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

.page-hero p {
    color: rgba(255,255,255,0.8);
    font-size: 1.08rem;
    max-width: 640px;
}

/* ---------- Stats Row ---------- */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2px;
    background: var(--gray-light);
}

.stat-box {
    background: var(--white);
    text-align: center;
    padding: 40px 20px;
}

.stat-box .num {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
}

.stat-box .label {
    font-size: 0.82rem;
    color: var(--gray);
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

/* ---------- Info Block ---------- */
.info-list {
    margin-top: 20px;
}

.info-list li {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-light);
    font-size: 0.94rem;
    color: #3a3a5c;
}

.info-list li:last-child {
    border-bottom: none;
}

.info-list .label {
    font-weight: 700;
    color: var(--navy);
    min-width: 160px;
    flex-shrink: 0;
}

/* ---------- Process Steps ---------- */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
    counter-reset: steps;
}

.process-step {
    position: relative;
    padding: 36px 28px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    counter-increment: steps;
}

.process-step::before {
    content: counter(steps, decimal-leading-zero);
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--off-white);
    line-height: 1;
    letter-spacing: -0.02em;
}

.process-step .icon {
    font-size: 2rem;
    margin-bottom: 14px;
}

.process-step h4 { margin-bottom: 8px; }
.process-step p { font-size: 0.9rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .split--reverse { direction: ltr; }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section { padding: 60px 0; }

    .nav-links {
        display: none;
    }

    .hero { min-height: 70vh; }

    .hero-badge { gap: 24px; }

    .feature-strip .container {
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .topbar .container {
        justify-content: center;
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; align-items: flex-start; }
    .cta-actions { flex-direction: column; align-items: center; }
    .cards-grid { grid-template-columns: 1fr; }
    .stats-row { grid-template-columns: 1fr 1fr; }
}
