/*
Theme Name: TechConnect
Text Domain: TechConnect
Version: 1.0
Description: Homepage Styles
Author: KB
*/

.banner-container {
    position: absolute;
    top: 240px;
    left: 80px;
    width: calc(100vw/2);
    color: white;
    max-height: 100vh;
}

.banner-element .banner-element-media-section {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 68.61%; /* (988 / 1440) * 100% */
    max-height: 100vh;
}

.banner-element.height-values {
    height: 100%;
    max-height: 100vh;
}

.banner-element .banner-element-media-section img,
.banner-element .banner-element-media-section video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.banner-title {
    font-size: 6.875rem;
    line-height: 104px;
    font-weight: 700;
    margin-bottom: 24px;
}

.card-frame-top-gradient-spacer {
    width: 100%;
    height: 80px;
}

.card-frame-logo-slider-container {
    overflow: hidden!important;
}

.card-frame-logo-slider-container .mySwiper {
    width: calc(100vw - 64px);
}

.card-frame-logo-slider-container {
    display: flex;
    align-items: center;
    justify-items: center;
    flex-direction: column;
    gap: 60px;
    min-height: 394px;
    padding: 60px;
    border-radius: 32px;
    background-color: white;
}


.card-frame-logo-slider-container > .title {
    font-size: 3rem;
    line-height: 56px;
    font-weight: 600;
}

.redirection-container {
    color: #F08C21;
    cursor: pointer;
}

.redirection-container p {
    font-weight: 700;
}

.redirection-container .img-container {
    width: 100px;
}

.redirection-container img {
    transition-duration: 150ms;
    transition-timing-function: linear;
    transform: translateX(-50%);
    opacity: 0.50;
}

.redirection-container:hover img {
    transform: translateX(0);
    opacity: 100;
}

.industry-card {
    position: relative;
    width: 330px!important;
    height: 451px!important;
    border-radius: 16px;
    cursor: pointer;
    transition: all 300ms linear;
    overflow: hidden;
}

.industry-card .industry-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 451px;
    width: 100%;
    z-index: -1;
    background-image: linear-gradient(to top, black 0%, transparent 100%);
    border-radius: 16px;
}

.sliding-text-container {
    position: absolute;
    top: calc(100% - 56px);
    height: 173px;
    padding: 0px 32px;
    overflow: hidden;
    transition: all 300ms linear;
}

.industry-card .sliding-text-container .title {
    color: white;
    margin-bottom: 16px;
    transition: all 300ms linear;
}

.industry-card .sliding-text-container .teaser {
    color: white;
}

.industry-card .sliding-text-container .teaser {
    text-overflow: ellipsis;
}

.industry-card > .industry-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -3;
}

.card-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-image: linear-gradient(to top, black 0%, transparent 100%);
    border-radius: 16px;
    z-index: -2;
    transition: all 300ms linear;
}

.industry-card > .card-overlay {
    z-index: -2;
}

.industry-card .industry-card-cover {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 100%;
    opacity: 0;
    background-color: #0E417A;
    border-radius: 16px;
    transition: all 300ms linear;
    z-index: -1;
}

.industry-card .industry-redirection-arrow {
    position: absolute;
    right: 24px;
    top: 24px;
    width: 40px;
    height: 40px;
    opacity: 1;
    transition: all 300ms linear;
}
.industry-card .industry-redirection-arrow-active {
    position: absolute;
    right: 24px;
    top: 24px;
    width: 40px;
    height: 40px;
    opacity: 0;
    transition: all 300ms linear;
}

.industry-card:hover .industry-redirection-arrow {
    opacity: 0;
}

.industry-card:hover .industry-redirection-arrow-active {
    opacity: 1;
}

.industry-card:hover .sliding-text-container {
    top: calc(100% - (176px + 32px));
}

.industry-card:hover .sliding-text-container .title {
    color: #F08C21;
}

.industry-card:hover .industry-card-cover {
    top: 0;
    opacity: 0.95;
}

.custom-swiper-nav-btns-container .nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 9999px;
    border: 2px solid #F08C21;
    transition: all 300ms linear;
}

.custom-swiper-nav-btns-container .nav-btn.prev {
    rotate: 180deg;
}

.custom-swiper-nav-btns-container .nav-btn.prev.swiper-button-disabled {
    opacity: 0.5;
}
.custom-swiper-nav-btns-container .nav-btn.next.swiper-button-disabled {
    opacity: 0.5;
}

@media screen and (max-width: 1023px) {
    .banner-element .banner-element-media-section {
        position: relative;
        width: 100%;
        min-height: 50dvh;
    }

    .banner-element.height-values {
        height: fit-content;
        min-height: 50dvh;
    }

    .banner-container {
        top: 120px;
        left: 16px;
        width: calc(100% - 32px);
    }

    .banner-title {
        font-size: 2.625rem;
        line-height: 50px;
    }

    .banner-title {
        margin-bottom: 0px;
    }

    .card-frame-logo-slider-container {
        gap: 46px;
        padding: 45px;
    }

    .card-frame-logo-slider-container > .title {
        font-size: 2rem;
    }
}

@media screen and (max-width: 424px) {
    .industry-card {
        position: relative;
        width: 85%!important;
        height: 451px!important;
    }
}
