/* --------------------------------------
=========================================
Trans Aero - Responsive Logistic Html Template
Version: 1.0 (Initial Release)
Designed By: Vadzim Liashkevich
=========================================

 
 /*-- IMPORT GOOGLE WEB FONTS --*/


 /*-- COLOR SCHEMES --*/
/*@import url('red.css');*/
/*@import url('green.css');*/
/*@import url('blue.css');*/

.org-chart-section {
    background-color: hsl(50.7, 88.5%, 95.4%);
}

@media screen and (min-width: 576px) {
    .container > .section-row {
        margin-inline: -15px;
    }    
}

.section-row {
    display: grid;
    align-items: center;
    
    &.txt-img {
        grid-template-columns: 0.8fr 1fr;
        column-gap: 1.5rem;

        @media screen and (max-width: 992px) {
            grid-template-columns: 1fr;
            row-gap: 1rem;
        }
    }

    &.img-txt {
        grid-template-columns: 1fr 0.8fr;
        column-gap: 28px;

        @media screen and (max-width: 992px) {
            grid-template-columns: 1fr;
            row-gap: 1rem;

            .section-row-img {
                order: 1;
            }
        }
    }

    .section-row-para {
        @media screen and (min-width: 1200px) {
            font-size: 1.125rem;
        }
    }
}

.ltl-section {
    margin-inline: 7.75rem;
    border-radius: 1rem;

    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
        width: 100%;
        height: clamp(90%, calc(100% - 5.5vw), 98%);
        background-color: #f1f5f9;
        border-radius: 1rem;
    }

    .ltl-row {
        display: grid;
        grid-template-columns:1fr 1fr;
        column-gap: 1rem;
        row-gap: 2rem;
        align-items: center;
    }

    ul.ltl-benefits {
        font-size: 1.125rem;
        display: flex;
        flex-direction: column;
        gap: 1.25rem;

        li {
            display: inline-flex;
            align-items: center;
            gap: 1rem;
            
            & > img {
                aspect-ratio: 1/1;
            }
        }
    }

    .ltl-animation-div {
        justify-self: end;
    }

    .ltl-logos {
        gap: 1.25rem;

        & img {
            height: clamp(2rem, calc(1rem + 1.75vw), 3rem);
            filter: grayscale(100%);

        }
    }

    label {
        margin-bottom: 0;
    }

    .form-group {
        margin-bottom: 0;
    }

    .form-control:focus {
        box-shadow: none;
    }

    .ltl-form-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr) 0.7fr auto;
        column-gap: 1rem;
        row-gap: 1rem;
        align-items: center;

        label.custom-field.one {
            display: block !important;
        }
    }
}

@media screen and (max-width: 1024px) {
    .ltl-section {
        margin-inline: 1rem;
    }
}

@media screen and (max-width: 992px) {
    .ltl-section {
        .ltl-row {
            grid-template-columns:1fr;
        }

        .ltl-animation-div {
            justify-self: unset;
        }

        .ltl-form-row {
            grid-template-columns: repeat(2, 1fr) 0.8fr;
            grid-template-rows: repeat(2, auto);

            button.btn {
                grid-column: 2/3;
            }
        }
    }
}

@media screen and (max-width:768px) {
    .ltl-section {
        .ltl-form-row {
            grid-template-columns: repeat(2, 1fr);
            grid-template-rows: repeat(2, auto);

            button.btn {
                grid-column: 2/3;
            }
        }
    }
}
@media screen and (max-width:576px) {
    .ltl-section {
        .ltl-form-row {
            grid-template-columns: 1fr;
            grid-template-rows: repeat(4, auto);

            button.btn {
                grid-column: 1;
            }
        }
    }
}

.email-parser-section {
    position: relative;
    margin-inline: 2rem;
    border-radius: 2rem;
    padding-block: 3.5rem;
    padding-inline: 48px;
    background-color: rgb(47, 55, 73);
    background-image: url(../thumbnails/ai-bg-image.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top left;
    overflow: hidden;

    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: hsl(220, 42.9%, 16%);
        opacity: .8;
        z-index: 1;
    }

    .email-parser-row {
        display: grid;
        grid-template-columns: 1fr 0.8fr;
        column-gap: 28px;

        & * {
            z-index: 3;
        }

        @media screen and (max-width: 992px) {
            grid-template-columns: 1fr;
            row-gap: 1rem;
        }
    }
    .email-parser-vid {
        height: auto;
        /* width: 50dvw !important; */
        /* min-width: 368px; */
        border-radius: 12px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        background: #0F2027;  /* fallback for old browsers */
        background: -webkit-linear-gradient(to right, #2C5364, #203A43, #0F2027);  /* Chrome 10-25, Safari 5.1-6 */
        background: linear-gradient(to right, #2C5364, #203A43, #0F2027); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
        background-image: url(../thumbnails/email-parser_5.gif);
        background-size: cover;
        background-repeat: no-repeat;

    }

    .email-parser-text {
        font-size: 1.125rem;
    }
}

.email-parser-section::before {
    pointer-events: none;
}

.email-parser-section .email-parser-row,
.email-parser-section .email-parser-vid,
.email-parser-section .email-paarser-text {
    position: relative;
    z-index: 2;
}

@media screen and (max-width: 576px) {
    .email-parser-section {
        padding-inline: 1rem;
        margin-inline: 0.5rem;
        padding-block: 2.5rem;
        background-position: center;
    }
}

.mobile-app-vid {
    border-radius: 1rem;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0.1);
    background-image: url(../../assets/thumbnails/ShipmentX-mobile-app.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.2s ease-in-out;

    &.vid-fluid-y {
        max-width: 100%;
        height: auto;
        max-height: 32rem;
    }
}
@media screen and (max-width: 1024px) {
    .mobile-app-vid {
        &.vid-fluid-y {
            max-height: 30rem;
        }
    }
}


.loadboard-section {
    position: relative;
    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
        background-color: hsl(180, 31.3%, 93.7%);
        height: 100%;
        width: clamp(50%, calc(50% + 3.5vw), 57%);

        @media screen and (max-width: 768px) {
            width: 100%;
        }
    }
    & .loadboard-row {
        display: grid;
        grid-template-columns: 1fr 0.8fr;
        column-gap: 2rem;
        align-items: center;

        @media screen and (max-width: 772px) {
            grid-template-columns: 1fr;
            row-gap: 1rem;
        }

        .para-title {
            font-weight: 400;
        }
    }

    .loadboard-img {
        /* width: 100%; */
           width: 75%;
        height: auto;
    }

    .loadboard-form {
        label {
            margin-bottom: 0;
        }
    
        .form-group {
            margin-bottom: 0;
        }
    
        .form-control:focus {
            box-shadow: none;
        }

        label.custom-field.one {
            display: block !important;
        }

        .loadboard-form-row {
            display: grid;
            grid-template-columns: repeat(2, 1fr) 0.7fr auto;
            column-gap: 1rem;
            row-gap: 1rem;
            align-items: start;

            button.btn {
                width: 100%;
            }
        }
    }
    .loadboard-title{
        font-size: 2.5rem;
    }
}

@media screen and (max-width: 765px){
    .loadboard-section .loadboard-row .loadboard-img-wrapper .loadboard-img{

        /* width: 100%; */
        margin-left: 4rem;
    }
  
}
    
.form-btn{
  margin-bottom: 24px;
}

@media screen and (min-width:1200px) {
    .loadboard-para {
        font-size: 1.125rem;
    }
}

@media screen and (max-width: 992px) {
    .loadboard-section .loadboard-form .loadboard-form-row {
        grid-template-columns: repeat(2, 1fr) 0.8fr;
        grid-template-rows: repeat(2, auto);

        & > .form-group {
            grid-column: 2/3;
        }
    }
}

@media screen and (max-width: 772px) {
    .loadboard-section .loadboard-form .loadboard-form-row {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, auto);

        & > .form-group {
            grid-column: 2/3;
        }
    }
}

@media screen and (max-width:576px) {
    .loadboard-section .loadboard-form .loadboard-form-row {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, auto);

        & > .form-group {
            grid-column: 1;
        }
    }
}

.contact-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2rem;

    @media screen and (max-width: 992px) {
        grid-template-columns: 1fr;
        row-gap: 1.25rem;

        .contact-us-form {
            order: -1;
        }
    }

    .why-us {
        position: relative;
        display: flex;
        flex-direction: column;
        background-color: hsl(202, 80.5%, 34.1%);
        background-image: url(../images/why-us-bg.jpg);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: left;
        overflow: hidden;
        color: #fff;

        &::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            height: 100%;
            width: 100%;
            background-color: hsl(202, 80.5%, 34.1%);
            opacity: .9;
            z-index: 1;
        }

        & > header,
        & > article,
        & > div  {
            z-index: 3;
        }
    }

    .advantage {
        display: flex;
        column-gap: 1.5rem;
        align-items: center;

        @media screen and (max-width: 480px) {
            flex-direction: column;
            align-items: start;
            row-gap: 1rem;
        }
    }

    .advntg-img-wrapper {
        flex-grow: 0;
        aspect-ratio: 1/1;
        width: auto;
        height: 100%;
        max-height: 5rem;
        display: flex;
        align-content: center;
        justify-content: center;
        align-items: center;
        position: relative;
        overflow: clip;
        border-radius: 50%;
        background-color: #fff;
        color: #006397;

        &::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            height: 100%;
            width: 100%;
            background-color: hsl(0, 0%, 100%);
            opacity: .95;
            z-index: 1;
        }

        i {
            z-index: 3;
            font-size: clamp(1.5rem, 1rem + 1.3vw, 2.5rem);
        }

        @media screen and (max-width: 480px) {
            height:3.5rem;
        }
    }

    .advntg-para {
        margin: 0;
    }
}