* {
    box-sizing: border-box;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
}
body {
    background-image: linear-gradient(to top right, transparent, #cbe9f6);
}
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: #0093d0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    overflow: hidden;
    padding: 0 20px;
}
.navbar-left .logo img {
    height: 110px;
    width: auto;
    margin: 0 20px;
}
.navbar-right {
    display: flex;
    gap: 10px;
}
.navbar-right a {
    color: #f2f2f2;
    text-align: center;
    padding: 1.25em;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
}
.navbar-right a:hover {
    background-color: #fcd34d;
    color: #45627e;
}
.header-section {
    position: relative;
    min-height: 350px;
    background: url("drayage_header.png") top left / cover no-repeat;
    display: flex;
    gap: 2rem;
    padding: 20px;
    box-sizing: border-box;
}
.header-quote {
    order: 2;
    text-align: right;
    color: white;
    font-size: 2rem;
    margin: 20px;
    padding: 10px;
    width: 35%;
    box-sizing: border-box;
    align-self: center;
    background-color: rgba(0, 0, 0, 0.4);
}
.header-text {
    order: 1;
    width: 60%;
    text-align: right;
    color: white;
    font-size: 1.25rem;
    font-weight: 500;
    margin: 20px;
    padding: 20px;
    box-sizing: border-box;
    align-self: center;
    background-color: rgba(0, 0, 0, 0.4);
}
.drayage_container {
    padding: 20px;
    max-width: 1500px;
    margin: auto;
    background: #fffefe;
}
.drayage_header {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: flex-start;
}
.drayage_text {
    max-width: 55%;
    flex: 1 1 55%;
    align-self: center;
}
.drayage_text h1 {
    color: #007ac3;
    margin-bottom: 10px;
}
.drayage_text ul {
    padding-left: 20px;
}
.drayage_text ul li {
    margin-bottom: 8px;
    font-size: 1.15rem;
}
.drayage_image {
    max-width: 40%;
    flex: 1 1 40%;
}
.drayage_image img {
    width: 100%;
    height: auto;
    display: block;
}
.drayage_blue {
    background-color: #007bb5;
    padding: 60px 30px;
    color: #ffffff;
}
.drayage_flex_container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
}
.drayage_blue h3 {
    text-transform: uppercase;
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 600;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    padding-bottom: 8px;
    letter-spacing: 1px;
}
.blue_services,
.blue_equipment {
    flex: 1 1 45%;
    border-radius: 10px;
    padding: 20px 25px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}
.blue_services ul,
.blue_equipment ul {
    list-style-position: inside;
    padding: 0;
    margin: 0;
}
.blue_services ul li,
.blue_equipment ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 1.05rem;
    line-height: 1.6;
}
.request-form {
    max-width: 900px;
    margin: 17px auto;
    padding: 30px;
    background: #ffffff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
.contact-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2f4b70;
    margin-bottom: 30px;
    position: relative;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 30px;
}
.form-group {
    display: flex;
    flex-direction: column;
}
.full-width {
    grid-column: span 2;
}
label {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 6px;
    color: #2a2a2a;
}
input,
textarea,
select {
    padding: 12px 14px;
    border: 1px solid #ccd5e0;
    border-radius: 8px;
    font-size: 1rem;
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}
input:focus,
textarea:focus,
select:focus {
    border-color: #2a72c7;
    outline: none;
    box-shadow: 0 0 0 3px rgba(42, 114, 199, 0.1);
}
textarea {
    resize: vertical;
}
.button-wrapper {
    text-align: center;
    margin-top: 30px;
}
button {
    background-color: #1b4676;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 14px 32px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #15395f;
}

footer {
    padding: 0;
    background-color: #0093d0;
    color: #ffffff;
}
footer .container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 2rem;
}
footer .container .split-1 {
    display: flex;
    flex-direction: column;
    padding: 10px 40px;
}
footer .container .split-1 a {
    padding-bottom: 5px;
}
footer .container .split-1 p {
    padding-bottom: 5px;
}
footer .split-1 img {
    max-width: 175px;
    height: auto;
}
footer .container .split-2 {
    display: flex;
    flex-direction: column;
    padding: 10px 40px;
    margin-top: 10px;
}
footer .container .split-2 h3 {
    padding-bottom: 5px;
}
footer a {
    color: #ffffff;
    text-decoration: none;
}
footer a:hover {
    color: #fcd34d;
}
footer > p {
    text-align: center;
    padding-top: 0.5rem;
    font-size: 0.9rem;
    background-color: #0093d0;
    margin: 0;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding-bottom: 0.5rem;
    padding-top: 0.5rem;
    background-color: #0093d0;
    font-size: 0.9rem;
    margin: 0;
}
.footer-links a {
    color: #ffffff;
    text-decoration: none;
}
.footer-links a:hover {
    color: #fcd34d;
}
.map-embed {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    display: block;
    max-width: 450px;
}

@media screen and (max-width: 1080px) {
    .navbar a {
        font-size: 115%;
    }
    .header-section {
        flex-direction: column;
        gap: 0;
    }
    .header-quote {
        order: 1;
        width: 55%;
        align-self: flex-end;
        text-align: right;
        font-size: 1.46rem;
        margin-right: 15px;
        padding-right: 15px;
    }
    .header-text {
        order: 2;
        font-size: 1.15rem;
        padding: 5px;
        margin: 10px;
        width: 70%;
        align-self: flex-end;
        text-align: right;
    }
    .drayage_header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .drayage_text {
        max-width: 80%;
        flex: 1 1 80%;
        padding: 10px 0;
        text-align: left; 
    }
    .drayage_image {
        max-width: 60%;
    }
    button {
        width: 50%;
    }
}
@media screen and (max-width: 750px) {
    .navbar {
        flex-direction: column;
        align-items: center;
    }
    .navbar-right {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .navbar-right a {
        width: 100%;
        text-align: center;
        padding: 0.5em 0;
        font-size: 100%;
    }
    .logo {
        display: none;
    }
    .drayage_flex_container {
        flex-direction: column;
        gap: 30px;
        padding: 0 10px;
        align-content: center;
    }
    .blue_services,
    .blue_equipment {
        flex: 1 1 75%;
        max-width: 75%;
        padding: 20px;
    }
    .drayage_blue h3 {
        font-size: 1.3rem;
    }
    .blue_services ul li,
    .blue_equipment ul li {
        font-size: 1rem;
        padding-left: 20px;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .full-width {
        grid-column: span 1;
    }
    button {
        width: 75%;
    }
}

@media screen and (max-width: 450px) {
    .navbar {
        flex-direction: column;
        align-items: center;
    }
    .navbar-right {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .navbar-right a {
        width: 100%;
        text-align: center;
        padding: 1em 0;
        font-size: 110%;
    }
    .header-quote {
        width: 80%;
        text-align: center;
        align-self: center;
        font-size: 1.5rem;
    }
    .header-text {
        width: 70%;
        align-self: center;
        text-align: center;
    }
    footer .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    footer .split-1,
    footer .split-2 {
        align-items: center;
    }
    footer .split-1,
    footer .split-2 h3 {
        margin-top: 0;
        margin-bottom: 0;
    }
    footer .split-1 p {
        margin-top: 0;
        margin-bottom: 0;
        padding-bottom: 0;
    }
    footer .split-1 img {
        max-width: 60vw;
    }
    .map-embed {
        aspect-ratio: auto;
        height: 250px;
    }
}
