/* ===============================
   INDUSTRIES CAROUSEL SECTION
=================================*/

@font-face {
    font-family: "Neue Machina";
    src: url("../../public/assets/fonts/neue-machina-free-for-personal-use/NeueMachina-Light.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Tiempos Headline";
    src: url("../../public/assets/fonts/Tiempos-Font/TiemposHeadline-Light.otf") format("opentype");
    font-style: normal;
}

@font-face {
    font-family: "Neue Haas Grotesk Text Pro";
    src: url("../../public/assets/fonts/Neue-Haas-Grotesk-Font/NHaasGroteskTXPro-55Rg.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

#industries-placeholder {
    position: relative;
    z-index: 5;
}

.industries-section {
    position: relative;
    min-height: 85vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f6ff;
    z-index: 5;
}

/* Background video */
.industries-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.industries-video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.75);
    z-index: 1;
    pointer-events: none;
}

/* Bottom-left corner accent image - stays behind title */
.industries-corner-accent {
    position: absolute;
    bottom: 0;
    left: -129px;
    max-width: 280px;
    max-height: 220px;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: left bottom;
    z-index: 2;
    pointer-events: none;
}

.industries-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    /* padding: 140px 60px 80px 60px; */
}

/* Fixed title - inside video area, horizontally centered */
.industries-title-fixed {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-family: Tiempos Headline;
    font-size: 42px;
    font-weight: 300;
    color: #363638;
    line-height: 1.2;
    text-align: center;
    width: 100%;
    z-index: 25;
    /* margin-top: 57px; */
    padding: 0 20px;
    font-family: Tiempos Headline;
        font-weight: 300;
        font-style: Light;
        font-size: 48px;
        line-height: 55px;
        letter-spacing: 0px;
    /* background: var(--Gradient-06, linear-gradient(0deg, #40C9FF, #3586f7)); */
}

/* Carousel - downside to upside scroll */
.industries-carousel-wrapper {
    overflow: hidden;
    height: 75vh;
    /* height: 80vh; */
    min-height: 500px;
}

.industries-track{
    display:flex;
    flex-direction:column;
    height:100%;
}

/* Each slide - must match wrapper height so only one slide is visible */
.industries-slide {
    min-height: 75vh;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 20px 0 20px 0;
}
.industries-track{
    will-change: transform;
}

.industries-content {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 120px;
    width: 100%;
    max-width: 1400px;
    min-height: 350px;
}

/* Image left, content right */
.industries-image-wrap {
    flex-shrink: 0;
    width: 45%;
    max-width: 480px;
    display: flex;
    align-items: center;
    justify-content: end;
}

.industries-text {
    flex: 1;
    max-width: 55%;
}
.industries-subtitle{
    display:flex;
    align-items:center;
    gap:10px;
    cursor:pointer;
    transition:all .3s ease;
}
.industries-subtitle:hover{
    transform:translateX(6px);
    color:#2f7de1;
}
.industries-arrow{
    width:0;
    height:28px;
    opacity:0;
    overflow:hidden;
    transform:translateX(-10px);
    transition:all .3s ease;
}
.industries-subtitle:hover .industries-arrow{
    width:43px;
    opacity:1;
    transform:translateX(0);
    background:url("../../public/assets/icons/sectors-section-arrow.png") no-repeat center;
    background-size:contain;
}
.industries-text img{
    position:absolute;
    width:100px;
    height:90px;
    margin-left:450px;
    margin-top:-140px;
    opacity:0;
    visibility:hidden;
    transition:0.3s ease;
}
.industries-subtitle:hover + img{
    opacity:1;
    visibility:visible;
}
.industries-list li{
    position: relative;
    padding-right: 30px;
    margin-bottom: 14px;
}
.industries-list li::after{
    content:"";
    position:absolute;
    right:-90px;
    top:50%;
    transform:translateY(-50%) rotate(0deg);
    width:18px;
    height:18px;
    background:url("../../public/assets/images/Arrow_indus.png") no-repeat center;
    background-size:contain;
    opacity:0;
}
.industries-list li:hover::after{
    width: 40px;
    height: 40px;
    opacity:1;
    filter: brightness(0) saturate(100%) invert(67%) sepia(48%) saturate(3179%) hue-rotate(211deg) brightness(101%) contrast(101%);
}
.industries-list li:hover{
    transform:translateX(6px);
}


.industries-highlight {
    display: inline-block;
    padding: 0 4px;
    color: #5a4d9e;
    background: linear-gradient(90deg, #2b7fd9, #5a4d9e 50%, #c41ad8);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: "Tiempos Headline", serif;
    font-style: italic;
    font-weight: 600;
}

.industries-subtitle {
    font-family: "Tiempos Headline", serif;
    font-size: 28px;
    font-style: italic;
    font-weight: 400;
    color: #363638;
    margin-bottom: 16px;
}

.industries-desc {
    font-family: "Neue Machina", sans-serif;
    font-size: 16px;
    color: #5a5a5a;
    line-height: 1.6;
    margin-bottom: 20px;
}

.industries-list-title {
    font-family: Tiempos Headline, sans-serif;
    font-size: 24px;
    font-style: italic;
    font-weight: 500;
    color: #3B3B3B;
    margin-bottom: 12px;
    font-weight: 500px;
}

.industries-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 18px;
}

.industries-list li {
    font-family: "Neue Machina", sans-serif;
    font-size: 16px;
    color: #000000;
    line-height: 1.8;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-family: Space Grotesk;
        font-weight: 400;
        font-style: Regular;
        font-size: 16px;
        leading-trim: NONE;
        line-height: 140%;
        letter-spacing: -0.5%;
        text-transform: capitalize;
}

.industries-list .list-num {
    color: #bd9cff;
    /* font-size: 14px;
    min-width: 28px; */
    flex-shrink: 0;
    font-family: DM Sans;
        font-weight: 300;
        font-style: Light;
        font-size: 15px;
        leading-trim: NONE;
        line-height: 140%;
        letter-spacing: -0.5%;
}

.industries-conclusion {
    font-family: "Neue Machina", sans-serif;
    font-size: 15px;
    color: #5a5a5a;
    line-height: 1.5;
}


.industries-image-wrap img {
    width: 100%;
    height: auto;
    height: 250px;
    width: 250px;
    object-fit: contain;
    animation: industriesImageFloat 2.5s ease-in-out infinite;
}

@keyframes industriesImageFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Slide number indicator - beside image on left */
.industries-slide-num {
    flex-shrink: 0;
    align-self: center;
    font-family: Helvetica Neue;
    font-size: 50px;
    font-weight: 300;
    color: rgba(74, 74, 74, 0.25);
    line-height: 1;
    margin-right: 24px;
}

.industries-slide {
    position: relative;
}

/* Responsive */
@media (max-width:1024px){

    .industries-container{
        padding:120px 40px 60px;
    }

    .industries-title-fixed{
        font-size:36px;
        line-height:42px;
        top:90px;
    }

    .industries-carousel-wrapper{
        height:85vh;
        min-height:85vh;
    }

    .industries-slide{
        height:85vh;
        padding:0 40px;
    }

    .industries-content{
        flex-direction:row;
        gap:40px;
    }

    .industries-image-wrap{
        width:45%;
        justify-content:center;
    }

    .industries-image-wrap img{
        width:260px;
        height:260px;
    }

    .industries-subtitle{
        font-size:24px;
    }

    .industries-desc{
        font-size:15px;
    }

    .industries-list li{
        font-size:15px;
    }

    .industries-conclusion{
        font-size:14px;
    }

    .industries-text img{
        width:100px;
        height:65px;
        margin-left:320px;
        margin-top:-70px;
    }

}

@media (max-width:768px){

    .industries-container{
        padding:118px 20px 40px;
    }

    .industries-title-fixed{
        font-size:30px;
        line-height:90px;
    }

    .industries-carousel-wrapper{
        height:100vh;
        min-height:100vh;
        overflow:hidden;
    }

    .industries-track{
        display:flex;
        flex-direction:column;
    }

    .industries-slide{
        height:100vh;
        min-height:100vh;
        display:flex;
        align-items:center;
        justify-content:center;
        padding:0 24px;
    }
    .industries-content{
        flex-direction:column;
        gap:0px;
        text-align:left;
        display: flex;
        margin-top: 53px;
    }
    .industries-subtitle{
        width: 340px;
        height:auto;
        margin-left:12px;
        transform:translateX(-10px);
        transition:all 0.3s ease;
        margin-bottom: 7px;
    }
    .industries-subtitle:focus + img{
        opacity:1;
        visibility:visible;
        transform:translateX(0);
    }
    .industries-subtitle{
        font-size:20px;
    }
    .industries-desc{
        font-size:14px;
    }
    .industries-list{
        gap: 2px;
    }
    .industries-list li{
        font-size:14px;
    }
    .industries-conclusion{
        font-size:13px;
    }
    .industries-image-wrap{
        order: 2;
        width:100%;
        justify-content:center;
    }
    .industries-image-wrap img{
        width:200px;
        height:128px;
        margin-top: 50px;
    }
    .industries-slide-num{
        display:none;
    }
    .industries-corner-accent{
        position:absolute;
        bottom:-20px;
        left:-90px;
        animation: accentFloatMobile 4s ease-in-out infinite;

    }
     .industries-text {
        max-width: 100%;
    }
    .industries-text img{
        width:70px;
        height:45px;
        margin-left:250px;
        margin-top:-55px;
    }
    .industries-list li::after{
        content:"";
        position:absolute;
        left:290px;
        top:50%;
        transform:translateY(-50%) rotate(0deg);
        width:18px;
        height:18px;
        background:url("../../public/assets/images/Arrow_indus.png") no-repeat center;
        background-size:contain;
        opacity:0;
    }
    .industries-list li:hover::after{
        width: 40px;
        height: 40px;
        opacity:1;
        filter: brightness(0) saturate(100%) invert(67%) sepia(48%) saturate(3179%) hue-rotate(211deg) brightness(101%) contrast(101%);
    }
    .industries-list li:hover{
        transform:translateX(3px);
    }
} 



@media (max-width:480px){

    .industries-container{
        padding:103px 16px 40px;
    }

    .industries-title-fixed{
        font-size:26px;
        line-height:93px;
    }

    .industries-carousel-wrapper{
        height:75vh;
    }

    .industries-slide{
        height:75vh;
        padding:0 16px;
    }

    .industries-content{
        flex-direction:column;
        gap:18px;
        margin-top: 53px;
    }

    .industries-subtitle{
        font-size:18px;
        width:100%;
        margin-left:0;
    }

    .industries-desc{
        font-size:13px;
    }

    .industries-list li{
        font-size:13px;
    }

    .industries-conclusion{
        font-size:12px;
    }

    .industries-image-wrap{
        order: 2;
        width:100%;
        justify-content:center;
    }

    .industries-image-wrap img{
        width:170px;
        height:117px;
        margin-top:40px;
    }

    .industries-hover-img{
        width:70px;
        height:45px;
        margin-left:250px;
        margin-top:-55px;
    }

    .industries-corner-accent{
        left:-70px;
        bottom:-15px;
    }

}
@keyframes accentFloatMobile{
    0%{
        transform:translateY(0);
    }
    50%{
        transform:translateY(-70px);
    }
    100%{
        transform:translateY(0);
    }
}

