/* All styles are local to the full-time driver template. The original form handles submission. */
.ftd-page {
    --ftd-ink: #142b35;
    --ftd-green: #16834a;
    --ftd-orange: #ffb04a;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: #fff;
    background: radial-gradient(ellipse at 0% 45%, #1e5242, transparent 63%), #112633;
    font-family: 'Poppins', sans-serif;
    line-height: 1.75;
}
.ftd-page *, .ftd-page *::before, .ftd-page *::after { box-sizing: border-box; }
.ftd-page::before, .ftd-page::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: 80px;
    left: -390px;
    width: 900px;
    height: 900px;
    border: 1px solid rgb(255 255 255 / 8%);
    border-radius: 50%;
    pointer-events: none;
}
.ftd-page::after { top: 20px; left: -450px; width: 1020px; height: 1020px; }
.ftd-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    column-gap: clamp(40px, 6vw, 85px);
    width: min(1270px, calc(100% - 64px));
    margin: 0 auto;
    padding-top: 164px;
}
.ftd-intro { grid-column: 1; grid-row: 1; min-width: 0; padding-top: 12px; }
.ftd-accent { display: block; width: 66px; height: 5px; margin-bottom: 26px; overflow: hidden; border-radius: 9px; background: rgb(255 176 74 / 25%); }
.ftd-accent::after { content: ""; display: block; width: 100%; height: 100%; background: var(--ftd-orange); transform-origin: left; animation: ftd-line 1s ease-out both; }
.ftd-page h1 { max-width: 550px; margin: 0 0 30px; color: #fff; font-size: clamp(40px, 4.1vw, 58px); font-weight: 600; letter-spacing: -.045em; line-height: 1.12; animation: ftd-enter .7s ease-out both; }
.ftd-visual { position: relative; padding: 9px; overflow: hidden; border: 1px solid rgb(255 255 255 / 25%); border-radius: 22px 22px 65px 22px; background: rgb(255 255 255 / 4%); box-shadow: 0 24px 50px rgb(0 0 0 / 14%); animation: ftd-enter .8s .12s ease-out both; }
.ftd-visual img { display: block; width: 100%; height: 410px; object-fit: cover; object-position: center 48%; border-radius: 14px 14px 55px 14px; transition: transform .7s ease; }
.ftd-visual:hover img { transform: scale(1.025); }
.ftd-visual__outline { position: absolute; right: 28px; bottom: 28px; width: 43px; height: 43px; border-right: 2px solid var(--ftd-orange); border-bottom: 2px solid var(--ftd-orange); border-radius: 0 0 9px 0; pointer-events: none; }
/* Preserve the complete WPBakery content tree and place its two rows in the layout. */
.ftd-content, .ftd-content > .wpb-content-wrapper { display: contents; }
.ftd-content > .wpb-content-wrapper > .vc_row:first-child { grid-column: 2; grid-row: 1; width: 100%; min-width: 0; margin: 0; animation: ftd-enter .8s .2s ease-out both; }
.ftd-content .mid-form-block { float: none; width: 100%; margin: 0; padding: 0; }
.ftd-content .mid-form-block > .vc_column-inner { padding: 0; }
/* This empty wrapper follows the legacy shortcode, which outputs its form directly. */
.ftd-content .mid-form-block > .vc_column-inner > .wpb_wrapper > .wpb_text_column:last-child { margin: 0; }
.ftd-page .mid-form-block .cust-form {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 35px;
    border: 1px solid #e2e9e3;
    border-top: 4px solid var(--ftd-orange);
    border-radius: 20px;
    color: var(--ftd-ink);
    background: #fff;
    box-shadow: 0 24px 65px rgb(0 0 0 / 16%);
}
.ftd-page .cust-form input, .ftd-page .cust-form select, .ftd-page .cust-form textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 54px;
    margin: 0 0 16px;
    padding: 14px 16px;
    border: 1px solid #dce5df;
    border-radius: 9px;
    box-shadow: none;
    color: #203a2c;
    background-color: #f8faf8;
    font: 400 14px/1.6 'Poppins', sans-serif;
    transition: border-color .2s, background-color .2s;
}
.ftd-page .cust-form select { padding-right: 42px; }
.ftd-page .cust-form textarea { min-height: 112px; resize: vertical; }
.ftd-page .cust-form input::placeholder, .ftd-page .cust-form textarea::placeholder { color: #64726b; opacity: 1; }
.ftd-page .cust-form input:focus, .ftd-page .cust-form select:focus, .ftd-page .cust-form textarea:focus { outline: 2px solid var(--ftd-green); outline-offset: 2px; border-color: var(--ftd-green); background-color: #fff; }
.ftd-page .cust-form .captcha-box { min-height: 78px; margin: 5px 0 20px; }
.ftd-page .cust-form #hire_driver_captcha_error { font-size: 13px; line-height: 1.6; }
.ftd-page .cust-form button[type="submit"] { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 54px; padding: 13px 20px; border: 0; border-radius: 9px; background: var(--ftd-green); color: #fff; font-size: 14px; font-weight: 600; transition: background .2s, transform .2s; }
.ftd-page .cust-form button[type="submit"]:hover { background: #106b3c; transform: translateY(-2px); }
.ftd-page .cust-form button:focus-visible, .ftd-page .orange-button a:focus-visible { outline: 3px solid var(--ftd-orange); outline-offset: 4px; }
.ftd-content .overlay-background {
    grid-column: 1 / -1;
    grid-row: 2;
    position: relative;
    left: 0 !important;
    width: 100% !important;
    margin: 85px 0 0 !important;
    padding: 68px 0 !important;
    color: var(--ftd-ink);
    background: #faf8f2 !important;
    box-shadow: 0 0 0 100vmax #faf8f2;
    clip-path: inset(0 -100vmax);
}
.ftd-content .overlay-background::before, .ftd-content .overlay-background::after { content: none; }
.ftd-content .overlay-background > .vc_column_container { float: none; width: 100%; max-width: 1000px; margin: 0 auto; }
.ftd-content .overlay-background .vc_column-inner { padding: 0; }
.ftd-content .overlay-background h2 { margin: 0 0 27px; padding: 0; color: var(--ftd-ink) !important; font-size: clamp(27px, 3.2vw, 42px) !important; font-weight: 600; line-height: 1.4; letter-spacing: -.035em; }
.ftd-content .overlay-background .wpb_content_element { margin: 0; }
.ftd-content .orange-button a { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 13px 28px; border: 0; border-radius: 9px; color: #142b35; background: var(--ftd-orange); font-size: 14px; font-weight: 600; text-decoration: none; transition: transform .2s, background .2s; }
.ftd-content .orange-button a:hover { transform: translateY(-2px); background: #ffc777; }
.ftd-content > .wpb-content-wrapper > .vc_row-full-width { display: none; }
@keyframes ftd-enter { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ftd-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 1050px) {
    .ftd-layout { column-gap: 32px; }
    .ftd-page .mid-form-block .cust-form { padding: 25px; }
    .ftd-visual img { height: 380px; }
}
@media (min-width: 768px) and (max-width: 850px) {
    .ftd-layout { width: calc(100% - 40px); gap: 24px; }
    .ftd-page .mid-form-block .cust-form { padding: 23px 12px; }
}
@media (max-width: 767px) {
    .ftd-layout { width: min(560px, calc(100% - 40px)); padding-top: 45px; grid-template-columns: minmax(0, 1fr); gap: 0; }
    .ftd-intro { padding-top: 0; }
    .ftd-page h1 { max-width: 430px; font-size: clamp(36px, 9vw, 48px); margin-bottom: 27px; }
    .ftd-accent { margin-bottom: 21px; }
    .ftd-visual img { height: 310px; object-position: center 48%; }
    .ftd-content > .wpb-content-wrapper > .vc_row:first-child { grid-column: 1; grid-row: 2; margin-top: 32px; }
    .ftd-page .mid-form-block .cust-form { padding: 23px 21px; border-radius: 16px; }
    .ftd-content .overlay-background { grid-row: 3; margin-top: 48px !important; padding: 47px 0 !important; }
    .ftd-content .overlay-background h2 { font-size: clamp(26px, 6.7vw, 34px) !important; }
}
@media (max-width: 380px) {
    .ftd-layout { width: calc(100% - 24px); }
    .ftd-page .mid-form-block .cust-form { padding: 20px 8px; }
    .ftd-visual img { height: 250px; }
}
@media (prefers-reduced-motion: reduce) {
    .ftd-page *, .ftd-page *::before, .ftd-page *::after { animation: none !important; transition: none !important; }
}
@media (max-width: 350px) {
    .ftd-page .cust-form .captcha-box { transform: scale(.9); transform-origin: left top; margin-bottom: 12px; }
    .ftd-page .cust-form input, .ftd-page .cust-form select { font-size: 13px; padding-left: 12px; }
}