/* =========================================
   TWL Trucking - HERO BANNER
========================================= */

#banner {
    background:
        linear-gradient(
            rgba(0,0,0,0.60),
            rgba(0,0,0,0.60)
        ),
        url("../../images/Trucking-img3.JPG");

    background-size: cover;
    background-position: center;

    padding: 10em 2em 8em;

    text-align: center;

    color: #fff;
}

#banner h2 {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 0.5em;
}

#banner p {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.3rem;
    line-height: 1.8;
}
/* =========================================
   DIVISION HEADER
========================================= */

.division-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;

    flex-wrap: wrap;

    margin-bottom: 2em;
}

.division-heading img {
    height: 90px;
    width: auto;
}

.division-heading span {
    font-size: 3rem;
    font-weight: 700;
    color: white;
}

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

    .transport-section,
    .history-section,
    .fleet-section,
    .safety-banner {
        margin-bottom: 5em;
    }

    .transport-section h2,
    .history-section h2,
    .fleet-section h2,
    .safety-banner h2 {
        color: #003087;
        margin-bottom: 1em;
        font-size: 2.5rem;
    }

    .transport-section p,
    .history-section p,
    .fleet-section p,
    .safety-banner p {
        line-height: 1.9;
        font-size: 1.1rem;
    }

    /* =========================================
       STATS
    ========================================= */

    .stats-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);

        gap: 25px;

        margin: 5em 0;
    }

    .stat-card {
        position: relative;

        min-height: 320px;

        border-radius: 12px;

        overflow: hidden;

        display: flex;
        align-items: center;
        justify-content: center;

        background-size: cover;
        background-position: center;

        box-shadow: 0 15px 30px rgba(0,0,0,0.2);

        transition: transform 0.4s ease;
    }

    .stat-card:hover {
        transform: translateY(-8px);
    }

    .stat-overlay {
        position: absolute;
        inset: 0;

        background: rgba(0,0,0,0.55);
    }

    .stat-content {
        position: relative;
        z-index: 2;

        text-align: center;

        color: white;

        padding: 20px;
    }

    .stat-content h3 {
        font-size: 4rem;
        color: #ffb81c;

        margin-bottom: 15px;
    }

    .stat-content p {
        font-size: 1.1rem;
        font-weight: 600;
    }

    /* BACKGROUND IMAGES */

    .stat-convoy {
        background-image: url("../../images/Trucking-img3.JPG");
    }

    .stat-loads {
        background-image: url("../../images/Trucking-img2.jpg");
    }

    .stat-fleet {
        background-image: url("../../images/Trucking-img1.png");
    }

    .stat-provinces {
        background-image: url("../../images/banner2.jpg");
    }

    /* =========================================
       CAPABILITIES
    ========================================= */

    .capabilities-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);

        gap: 25px;

        margin-top: 3em;
        margin-bottom: 3em;
    }

    .capability-card {
        background: white;

        padding: 2.5em;

        border-radius: 12px;

        box-shadow: 0 10px 25px rgba(0,0,0,0.08);

        text-align: center;

        transition: 0.3s ease;
    }

    .capability-card:hover {
        transform: translateY(-5px);
    }

    .capability-card h3 {
        color: #003087;
        margin-bottom: 0.8em;
    }

    /* =========================================
       HISTORY
    ========================================= */

    .history-section {
        background: #0b1f3a;
        color: white;

        padding: 4em;
        margin-bottom: 3em;

        border-radius: 12px;
    }

    .history-section h2 {
        color: white;
    }


/* =========================================
   FLEET SECTION
========================================= */

.fleet-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 25px;

    margin-top: 3em;
}

.fleet-card {
    background: #f5f7fa;

    padding: 2.5em;

    border-radius: 12px;

    text-align: center;

    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.fleet-card h3 {
    color: #e4002b;

    font-size: 2.5rem;

    margin-bottom: 0.5em;
}

    /* =========================================
   SERVICES GRID
========================================= */

.services-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;

    margin-top: 3em;
    margin-bottom: 3em;
}

.service-card {
    background: white;

    padding: 2.5em;

    border-radius: 12px;

    text-align: center;

    box-shadow: 0 10px 25px rgba(0,0,0,0.08);

    transition: 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);

    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.service-card h3 {
    color: #003087;

    margin-bottom: 1em;
}

.service-card p {
    line-height: 1.8;
}

/* =========================================
   ADVANTAGE SECTION
========================================= */

.advantage-banner {
    background:
        linear-gradient(
            rgba(0,0,0,0.65),
            rgba(0,0,0,0.65)
        ),
        url("../../images/gis-analysis.png");

    background-size: cover;
    background-position: center;

    color: white;

    padding: 6em 3em;

    border-radius: 12px;

    margin-bottom: 5em;
}

.advantage-banner h2 {
    color: white;

    text-align: center;

    margin-bottom: 1.5em;
}

.advantage-banner ul {
    max-width: 900px;

    margin: auto;
}

.advantage-banner li {
    margin-bottom: 1em;

    font-size: 1.2rem;

    line-height: 1.8;
}

/* =========================================
   INDUSTRIES GRID
========================================= */

.industries-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;

    margin-top: 3em;
    margin-bottom: 3em;
}

.industry-card {
    background: #003087;

    color: white;

    padding: 2em;

    text-align: center;

    border-radius: 12px;

    font-weight: 600;

    transition: 0.3s ease;
}

.industry-card:hover {
    background: #e4002b;

    transform: translateY(-5px);
}

    /* =========================================
       SAFETY
    ========================================= */

    .safety-banner {
        background:
            linear-gradient(
                rgba(0,0,0,0.6),
                rgba(0,0,0,0.6)
            ),
            url("../../images/Trucking-Safety.png");

        background-size: cover;
        background-position: center;

        color: white;

        padding: 6em 3em;

        border-radius: 12px;

        text-align: center;
    }

    .safety-banner h2 {
        color: white;
    }

    /* =========================================
       MOBILE
    ========================================= */

    @media screen and (max-width: 980px) {

        .stats-grid,
        .capabilities-grid,
        .fleet-grid {
            grid-template-columns: 1fr;
        }

        #banner h2 {
            font-size: 2.5rem;
        }

        .division-heading {
            flex-direction: column;
        }

        .division-heading img {
            height: 60px;
        }

        .division-heading span {
            font-size: 2rem;
        }

    }
