/* ===== E-commerce Fulfilment Page ===== */

.ecom-section {
    font-family: "Red Hat Display", sans-serif;
    color: #353535;
}

.ecom-section .no-padding { padding: 0 !important; }

/* Hero / Slider */
.ecom-section .container.slider-section {
    background-color: #fff !important;
    max-width: 100% !important;
    padding: 50px 10% 0;
}

.ecom-section .sliders .slider-content {
    position: relative;
    padding-top: 70px;
}

.ecom-section .sliders .slider-content .slider-header {
    color: var(--ct-red);
    font-weight: 700;
    font-size: 71px;
    height: auto;
    line-height: 85px;
    margin-bottom: 22px;
}

.ecom-section .sliders .slider-content .slider-sub-header {
    font-size: 32px;
    color: #191919;
    letter-spacing: 0;
    line-height: 45px;
    max-width: 375px;
    max-height: 157px;
    overflow: hidden;
}

.ecom-section .sliders .slider-content .slider-sub-header h4 {
    font-size: inherit;
    line-height: inherit;
    margin: 0;
}

.ecom-section .slider-img-res {
    max-width: 100%;
    height: auto;
}

.ecom-section .slider-section .slider-section-row {
    min-height: 400px;
}

.ecom-section .btn-getintouch-slider {
    background-color: var(--ct-red);
    color: #FFFFFF;
    border-radius: 30px;
    text-decoration: none;
    padding: 9.5px 20px;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 0.3px;
    min-width: 179px;
    display: inline-block;
    text-align: center;
    border: none;
    cursor: pointer;
}

.ecom-section .btn-getintouch-slider:hover {
    background-color: #c6251b;
    color: #fff;
}

/* Application Section */
.ecom-section .application-section {
    margin-bottom: 50px;
    padding: 50px 120px;
    width: 100%;
}

/* Freight Solution Cards */
.ecom-section .freight-sol-heading {
    font-size: 32px;
    line-height: 43px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 25px;
    color: #353535;
}

.ecom-section .freight-sol-row {
    margin: 0 -30px;
}

.ecom-section .freight-sol-row > * {
    padding: 0 30px;
    margin-bottom: 30px;
}

.ecom-section .freight-sol-card {
    padding: 30px;
    background: #FFFFFF;
    box-shadow: 0px 6px 16px #E8E8E8B5;
    border-radius: 8px;
    height: 100%;
    display: flex;
    align-items: center;
}

.ecom-section .freight-sol-icon {
    height: 72px;
    width: 72px;
    margin-right: 16px;
    flex-shrink: 0;
}

.ecom-section .freight-sol-icon img {
    display: block;
    max-width: 100%;
    max-height: 100%;
}

.ecom-section .freight-sol-text {
    font-size: 16px;
    line-height: 24px;
    color: #7F7F7F;
    margin-top: 0;
    text-align: left;
}

.ecom-section .freight-sol-bold {
    font-weight: bold;
    color: black;
}

.ecom-section .platform-card {
    justify-content: center;
    text-align: center;
}

.ecom-section .platform-card .freight-sol-icon {
    margin-right: 0;
    margin-bottom: 10px;
    width: auto;
    height: 60px;
}

.ecom-section .integration-subtext {
    font-size: 18px;
    line-height: 28px;
    color: #7F7F7F;
    margin-bottom: 40px;
}

.ecom-section .integration-subtext a {
    color: var(--ct-red);
    text-decoration: none;
}

.ecom-section .integration-subtext a:hover {
    text-decoration: underline;
}

/* Accordion */
.ecom-section .application-accordion {
    margin-right: 100px;
}

.ecom-section .application-card {
    border-bottom: 1px solid #7F7F7F;
}

.ecom-section .application-card-header {
    padding: 20px 0;
}

.ecom-section .application-card-title {
    font-size: 18px;
    line-height: 22px;
    font-weight: bold;
    color: #353535;
}

.ecom-section .application-btn {
    padding: 0 !important;
    font-size: 18px !important;
    line-height: 22px !important;
    font-weight: bold !important;
    background: none;
    border: none;
    color: #353535;
    cursor: pointer;
}

.ecom-section .application-btn .icon {
    display: inline-block;
    min-width: 20px;
    text-align: center;
}

.ecom-section .application-card-body {
    padding: 0 0 20px 0;
    font-size: 16px;
    line-height: 24px;
    color: #7F7F7F;
}

.ecom-section .application-banner {
    width: 100%;
    margin-left: auto;
    max-width: 516px;
    max-height: 482px;
    border-radius: 16px;
}

.ecom-section .application-banner.for-mobile { display: none; }

/* Buttons */
.ecom-section .btn-getintouch,
.ecom-section .btn-getintouch.fs-16 {
    background-color: var(--ct-red);
    color: #FFFFFF;
    border-radius: 30px;
    text-decoration: none;
    padding: 9.5px 20px;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 0.3px;
    min-width: 179px;
    display: inline-block;
    text-align: center;
    border: none;
    cursor: pointer;
}

.ecom-section .btn-getintouch:hover,
.ecom-section .btn-getintouch:focus {
    background-color: #c6251b;
    color: #fff;
}

/* How It Works - Steps */
.ecom-section .step-heading {
    font-size: 32px;
    line-height: 43px;
    font-weight: bold;
    text-align: center;
    color: #353535;
    margin-bottom: 91px;
}

.ecom-section .step-row {
    margin: 0 -25px 50px;
}

.ecom-section .step-row > * {
    padding: 0 25px;
    margin-bottom: 68px;
}

.ecom-section .step-card {
    box-shadow: 0px 6px 16px #E8E8E8B5;
    border-radius: 8px;
    background-color: #FFFFFF;
    padding: 76px 30px 30px;
    position: relative;
    height: 100%;
    margin: auto;
    text-align: center;
}

.ecom-section .step-icon {
    height: 91px;
    width: 91px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: var(--ct-red);
    color: #FFFFFF;
    font-size: 36px;
    line-height: 48px;
    font-weight: bold;
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    top: -45px;
    border: 7px solid #F6F6F6;
}

.ecom-section .step-text {
    font-size: 18px;
    line-height: 25px;
    color: #7F7F7F;
    max-width: 239px;
    margin: 0 auto;
}

.ecom-section .step-text a {
    color: var(--ct-red);
    text-decoration: none;
}

.ecom-section .step-text a:hover { text-decoration: underline; }

/* Business Enquiry Form */
.ecom-section .business-enquiry-form { padding-bottom: 60px; }
.ecom-section .amx-business-enquiry { max-width: 1440px; margin: 0 auto; }
.ecom-section .pardot-form-section-title {
    font-size: 32px;
    font-weight: 700;
    color: #353535;
}

.ecom-section .amx-form-entry-container { margin-bottom: 15px; }
.ecom-section .amx-form-entry-container label {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
    color: #353535;
}

.ecom-section .amx-label-asterisk { color: var(--ct-red); }

.ecom-section .amx-form-entry-container .form-control {
    border: none;
    border-bottom: 1px solid #ccc;
    border-radius: 0;
    padding: 10px 0;
    font-size: 16px;
    box-shadow: none;
}

.ecom-section .amx-form-entry-container .form-control:focus {
    border-color: var(--ct-red);
    box-shadow: none;
}

.ecom-section .amx-cp-form-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DC291E' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0 center;
    background-size: 16px;
    padding-right: 24px;
}

.ecom-section .icon-middle-bottom img { width: 100%; max-width: 543px; height: auto; }
.ecom-section .terms { color: var(--ct-red); text-decoration: none; }
.ecom-section .terms:hover { text-decoration: underline; }

.ecom-section .sf-hidden { display: none !important; }

/* ===== Responsive ===== */

@media (max-width: 1366px) {
    .ecom-section .application-section { padding: 50px 60px; }
    .ecom-section .application-accordion { margin-right: 50px; }
}

@media (max-width: 1199px) {
    .ecom-section .application-section { padding: 40px 30px; }
    .ecom-section .application-accordion { margin-right: 30px; }
    .ecom-section .application-banner { max-width: 378px; }
}

@media (max-width: 1024px) {
    .ecom-section .sliders .slider-content { position: relative; top: 0; padding-top: 0; }
    .ecom-section .sliders .slider-content .slider-sub-header { font-size: 24px; line-height: 30px; max-width: 230px; }
    .ecom-section .sliders .slider-content .slider-header { font-size: 45px; height: auto; line-height: 65px; }
    .ecom-section .slider-section .slider-section-row { min-height: 300px; }
}

@media (max-width: 991px) {
    .ecom-section .application-section { padding: 30px 20px; }
    .ecom-section .application-accordion { margin-right: 0; margin-left: 0; max-width: none; }
    .ecom-section .application-banner.for-desktop { display: none; }
    .ecom-section .application-banner.for-mobile { display: block; }
    .ecom-section .freight-sol-heading { font-size: 25px; line-height: 30px; margin-bottom: 20px; }
    .ecom-section .step-heading { font-size: 25px; line-height: 30px; margin-bottom: 50px; }
    .ecom-section .step-row > * { margin-bottom: 50px; }
    .ecom-section .step-text { font-size: 16px; line-height: 22px; }
    .ecom-section .freight-sol-text { font-size: 16px; line-height: 22px; }
    .ecom-section .pardot-form-section-title { font-size: 25px; }
    .ecom-section .freight-sol-card { padding: 24px 20px; }
    .ecom-section .freight-sol-icon { width: 48px; height: 48px; margin-right: 16px; }
}

@media (max-width: 767px) {
    .ecom-section .slider-section { padding: 0.5rem 1rem; }
    .ecom-section .sliders .slider-content { text-align: center; margin-bottom: 30px !important; }
    .ecom-section .sliders .slider-content .slider-sub-header { margin: 0 auto; }
    .ecom-section .slider-section .slider-section-row { min-height: 0; }
    .ecom-section .application-section { padding: 30px 16px; }
    .ecom-section .freight-sol-card { flex-direction: column; text-align: center; padding: 20px 16px; }
    .ecom-section .freight-sol-icon { margin-right: 0; margin-bottom: 10px; }
    .ecom-section .freight-sol-text { text-align: center; }
    .ecom-section .platform-card .freight-sol-icon { margin-bottom: 10px; }
    .ecom-section .step-row { margin: 0 -15px 30px; }
    .ecom-section .step-row > * { padding: 0 15px; margin-bottom: 40px; }
    .ecom-section .step-card { padding: 60px 20px 20px; }
    .ecom-section .step-icon { height: 60px; width: 60px; font-size: 24px; line-height: 30px; top: -30px; border-width: 5px; }
    .ecom-section .pardot-form-section-title { font-size: 22px; text-align: center; }
    .ecom-section .icon-middle-bottom img { margin: 0 auto; }
    .ecom-section .integration-subtext { font-size: 16px; line-height: 24px; }
}

@media (max-width: 575px) {
    .ecom-section .sliders .slider-content .slider-header { font-size: 32px; line-height: 40px; }
    .ecom-section .sliders .slider-content .slider-sub-header { font-size: 18px; line-height: 24px; }
    .ecom-section .freight-sol-heading { font-size: 22px; }
    .ecom-section .step-heading { font-size: 22px; }
    .ecom-section .application-card-title { font-size: 16px; }
}
