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

#banner {
    padding: 6rem 2rem;
    text-align: center;
    color: #ffffff;

    background:
        linear-gradient(
            rgba(0,0,0,.65),
            rgba(0,0,0,.65)
        ),
        url("../../images/Trucking-Success.jpg");

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

#banner h2,
#banner p {
    color: #ffffff;
}

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

    margin-bottom: 1.5rem;
}

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

.division-heading span {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
}


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

.contact-layout {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 40px;

    margin-top: 3em;
}

/* LEFT SIDE */

.contact-divisions {

    display: grid;

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

    gap: 20px;
}

.division-logo-container {

    height: 80px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 15px;
}

.division-card-logo {

    max-height: 60px;

    max-width: 160px;

    width: auto;

    height: auto;
}

/* SAME STYLE AS SERVICES GRID */

.contact-divisions .service-card {

    background: #ffffff;

    padding: 2em;

    border-radius: 12px;

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

    border-top: 4px solid #003087;

    transition: .3s ease;
}

.contact-divisions .service-card:hover {

    transform: translateY(-5px);

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

.contact-divisions h3 {

    color: #003087;

    margin-bottom: 0.75em;
}

.contact-divisions p {

    margin-bottom: 1.5em;

    min-height: 70px;
}

/* RIGHT SIDE */

.contact-form-box {

    background: #ffffff;

    padding: 2.5em;

    border-radius: 12px;

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

    border-top: 4px solid #e4002b;
}

.contact-form-box input,
.contact-form-box textarea {

    border-radius: 8px;
}

.contact-form-box input[type="submit"] {

    background: #003087;

    color: #fff;

    border: none;
}

.contact-form-box input[type="submit"]:hover {

    background: #e4002b;
}

/* =========================================
   GROUP CONTACT BANNER
========================================= */

.contact-group-banner {

    margin-top: 5em;

    padding: 4em;

    border-radius: 12px;

    text-align: center;

    color: white;

    background:
        linear-gradient(
            rgba(0,0,0,.65),
            rgba(0,0,0,.65)
        ),
        url("../../images/Trucking-Success.jpg");

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

.contact-group-banner h2 {

    color: white;
}

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

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

    .contact-layout {

        grid-template-columns: 1fr;
    }

    .contact-divisions {

        grid-template-columns: 1fr;
    }
}

.contact-item {

    background: #f7f9fc;

    padding: 10px 15px;

    border-radius: 8px;

    border-left: 3px solid #e4002b;

    display: flex;

    align-items: center;

    gap: 12px;

    margin-top: 10px;
}

.contact-icon {

    color: #003087;

    font-size: 1.1rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 3rem;
}

.contact-form-panel,
.office-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
}

.contact-form-panel input,
.contact-form-panel textarea {
    width: 100%;
    margin-bottom: 1rem;
}

.division-card-logo {
    max-height: 60px;
    max-width: 180px;
    width: auto;
    margin-bottom: 20px;
}

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

    .contact-grid {
        grid-template-columns: 1fr;
    }

}