﻿

.why-vti {
    position: relative;
    margin: 0 auto;
    width: 100%;
    background-color: #fff;
}
#projects .header-title {
    display: flex;
    /*margin-bottom: 105px;*/
    /*height: 8.2%;
    min-height: 118px;*/
    background: linear-gradient(to right, #2772fa, #020483);
}

    #projects .header-title img {
        margin-left: 20px;
        height: 100px;
        padding: 20px 10px;
    }

    #projects .header-title h1 {
        margin: auto 0;
        text-align: justify;
    }

.why-vti .header-title {
    display: flex;
    /*height: 8.2%;
    min-height: 118px;*/
    background: linear-gradient(to right, #2772fa, #020483);
}
    .why-vti .header-title h1 {
        margin: auto 0;
        text-align: justify;
        /*line-height: 78px;
        font-size: 56.3448px;*/
        font-weight: 700;
        color: #ffffff;
    }
    .why-vti .header-title img {
        /*padding: 10px;*/
    }
    .why-vti .sec-container .why-vti-row{
        margin-bottom: 40px;
    }
.project-container {
    padding-top: 80px;
    padding-bottom: 100px;
    display: flex;
    align-items: center;
    position: relative;
    /*background: linear-gradient(to right, #e6effe, #4ed3ff);*/
}

.project-slider-wrapper {
    overflow: hidden;
    width: 90%;
    margin: 0 auto;
}

.project-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.project-item {
    flex: 0 0 calc((100% - 60px)/ 3 );
    box-sizing: border-box;
    text-align: center;
    background: #ffffff;
    margin: 0 10px;
}
.project-item img{
    width: 100%
}
    .project-item h6 {
        text-align: justify;
        color: #272e4e;
        /*font-size: 20.0002px;
        line-height: 28px;*/
        font-weight: 700;
        padding: 10px 18px 0
    }

.arrow {
    width: 50px;
    height: 50px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
}
    .arrow .next-btn-unicode {
        display: flex;
        align-self: center;
        align-items: center;
        justify-content: center;
        width: 78px;
        height: 78px;
        border-radius: 50%;
        background-color: transparent;
        color: #272e4e;
        border: 3px solid #272e4e;
        text-decoration: none;
        transition: all 0.3s ease;
        box-sizing: border-box;
        cursor: pointer;
        font-size: 40px;
    }
        .arrow .next-btn-unicode:hover {
            background-color: #ffffff;
            color: #0056b3;
            border: 3px solid #0056b3;
            text-decoration: none;
        }
    .arrow.left {
        /*margin-left: 21px;*/
    }
    .arrow.right {
        /*margin-right: 21px;*/
    }


    /*.arrow:hover {
        background-color: #2550a8;
    }*/
.why-vti p{
    font-family: sf-display-light;
    padding: 0;
    margin: 0;
    text-align: justify;
}

@media (max-width: 767px) {
    .why-vti {
        padding: 0 !important;
    }
    .arrow.left {
        margin: 0 10px 0 0;
    }
    .arrow.right {
        margin: 0  0 0 10px;
    }
    .project-slider {
        display: flex;
        transition: transform 0.5s ease;
        width: 100%;
    }

    .project-item {
        flex: 0 0 100%;
        max-width: 100%;
        margin: 0;
    }


    .project-container {
        position: relative;
        overflow: hidden;
        padding-top: 40px;
        padding-bottom: 50px;
    }

    .project-slider-wrapper {
        overflow: hidden;
        width: 100%;
    }
    .arrow .next-btn-unicode1 {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    .header-title > img {
        max-height: 70px !important;
        margin: auto 0;
    }
}

.container-section {
display: grid;
width: 100%;
height: 100%;
grid-template-rows: 1fr 1fr;
}
.next-btn-unicode1 {
    display: flex;
    align-self: center;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: transparent;
    color: #272e4e;
    border: 2px solid #272e4e;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    cursor: pointer;
    font-size: 24px;
}

    .next-btn-unicode1:hover {
        background-color: #ffffff;
        color: #0056b3;
        text-decoration: none;
    }

.why-vti-row:first-child {
    justify-content: center;
}

.why-vti-row:last-child {
    margin: 0 -20px;
}

.item-why-vti img {
    z-index: 10;
    width: 100%;
    height: 99%;
    object-fit: cover;
    border-radius: 10px;
}
.item-why-vti a {
    text-decoration: none;
}

.item-des {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    width: 100%;
    color: #272E4E;
    font-family: sf-display-bold;
    font-size: 16px;
    text-overflow: ellipsis;
    overflow: hidden;
    z-index: 13;
    text-align:center;
    padding-top: 10px;
}

.why-vti-row:first-child .item-des {
    bottom: 31px;
}

.why-vti-row:last-child .item-des {
    bottom: 30px;
}

.item-line {
    width: 45px;
    height: 7px;
    position: absolute;
    background-color: #2a3d75;
    left: 25px;
}

.why-vti-row:first-child .item-line {
    bottom: 17px;
}

.why-vti-row:last-child .item-line {
    bottom: 17px;
}

.item-why-vti.col-sm-3 {
    min-height: 253px;
}

.item-why-vti.col-sm-3 {
    padding: 0;
}
.item-why-vti .item-des{
    font-size: 16px;
}

.item-whyvti-content {
    background: white;
    margin: 0 auto;
    padding: 10px;
    cursor: pointer;
    width: 87%;
    height: fit-content;
    border-radius: 16px;
    border: 1px solid #DAE2EE;
    box-shadow: 0px 10px 20px 0px rgba(30, 41, 92, 0.07);
}
    .item-whyvti-content.active {
        background: linear-gradient(90deg, #0873D6 0%, #0835D6 100%);
    }
    .item-whyvti-content.active span{
        color: #fff;
    }
    .item-whyvti-content:hover {
        background: linear-gradient(90deg, #0873D6 0%, #0835D6 100%);
    }
        .item-whyvti-content:hover span {
            color: #fff;
        }

    .why-vti-row .row {
        justify-content: center;
        margin-left: 0;
        margin-right: 0;
    }


.item-image-holder {
    cursor: pointer;
    position: relative;
    height: 69%;
    aspect-ratio: 16/9;
    border-radius: 10px;
}
.item-text-holder{
    min-height: 60px;
    display: flex;
    align-items: center;
}


@media (max-width: 1100px) {
    .why-vti-row:last-child {
        margin: 0;
        width: 100%;
    }

}

/* Icon Grow */
.hvr-icon-grow {
    /*display: inline-block;*/
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
}

    .hvr-icon-grow .hvr-icon {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-transition-duration: 0.3s;
        transition-duration: 0.3s;
        -webkit-transition-property: transform;
        transition-property: transform;
        -webkit-transition-timing-function: ease-out;
        transition-timing-function: ease-out;
    }
@media (max-width: 1450px) {
    .why-vti .sec-container .why-vti-row {
         margin-bottom: 0; 
    }
}

@media (max-width: 1024px) {
    .qa-mobile h2.qa-title {
        margin-top: 1.75rem;
    }
    .why-vti {
        position: relative;
        background-color: #fff;
    }

    .item-why-vti{
        padding-left: 0px;
        padding-right: 0px;
    }

    .container-section {
        display: grid;
        width: 100%;
        height: 100%;
        gap: 2%;
        grid-template-columns: 49% 49%;

    }

    .item-whyvti-content {
        margin: 0 auto;
        cursor: pointer;
        width: 100%;
        height: 100%;
        box-shadow: 17px 15px 37px -16px rgba(0,0,0,0.86);
    }
        .item-whyvti-content .item-image-holder {
            width: 100%;
            height: auto;
            padding: 5px;
        }
            .item-whyvti-content .item-image-holder img {
                border-radius: 8px;
            }
    .item-text-holder {
        min-height: unset;
    }
    .why-vti-row:first-child .item-des, .why-vti-row .item-des, .why-vti-row:last-child .item-des {
        bottom: 10%;
    }

    .why-vti-row:first-child .item-line, .why-vti-row .item-line, .why-vti-row:last-child .item-line {
        bottom: 5%;
    }
    .why-vti .sec-container .why-vti-row {
        margin-bottom: 40px;
    }
        .why-vti .sec-container .why-vti-row.last-child {
            grid-column: 1 / span 2;
            display: block;
            margin: 0 auto;
            width: 50%;
        }
}

@media (max-width: 1024px) and (min-width: 768px){
    .why-vti-row .item-des{
        font-size: 2.5vw;
    }
    .project-item {
        flex: 0 0 calc((100% - 40px) / 2);
        max-width: calc((100% - 40px) / 2);
        margin: 0 10px;
    }
}

@media (max-width: 767px) {
    .why-vti .header-title h1 {
        font-size: 26px;
    }

    .why-vti-row .item-des, .why-vti-row:first-child .item-des, .why-vti-row:last-child .item-des {
        font-size: 3vw;
        padding: 5px 10px;
    }
    .project-item h3 {
        font-size: 16px;
    }
    #projects .header-title img {
        margin-left: 0;
        padding: 10px 5px;
    }
}

@media (max-width: 550px){ 
    .why-vti-row .row {
        padding-bottom: 25px;
    }
    .why-vti .sec-container .why-vti-row {
        margin-bottom: 0;
        padding: 0;
    }
    
    .item-whyvti-content { 
        box-shadow: 10px 10px 20px -10px rgba(0,0,0,0.86);
        padding: 0;
        border-radius: 8px;
    }
}
@media (max-width: 375px) {
    .why-vti {
        position: relative;
        background-color: #fff;
    }
    .why-vti .header-title h1 {
        font-size: 24px;
    }
} 
