.hero_fjd-section {
    background-color: #1a1a1a;
    color: #fff;
    font-family: Figtree, sans-serif;
    margin: 0;
    padding: 50px 50px 0px 50px;
}



.hero_fjd-wrapper {
    display: flex;
    flex-wrap: wrap;
    max-width: 1500px;
    padding: 0px 0px;
    margin: 0 auto;
}

.hero_fjd-col-left {
    width: 40%;
    padding-right: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 50px;
}

.hero_fjd-col-right {
    width: 60%;
    padding-left: 40px;
    display: flex;
    justify-content: center;
    align-items: end;
}

.hero_fjd-content {
    width: 100%;
}

.hero_fjd-title {
    font-size: 45px;
    line-height: 50px;
    font-weight: 600;
    margin-bottom: 30px;
}

.hero_fjd-description {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 30px;
}

.bottoni_contenitore {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
}


.bottoni_contenitore button {
    cursor: pointer;
}

.hero_preventivo {
    font-size: 20px;
    font-family: Figtree, 'sans-serif';
    font-weight: 700;
    line-height: 26px;
    color: #FFDD23;
    background-color: transparent;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    text-decoration: underline;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    padding: 0px;
    margin: 0px 10px 0px 0px;
}

.hero_preventivo:hover {
    color: #D1B61F !important;
    background-color: transparent !important;
}

.hero_demo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-family: Figtree, 'sans-serif';
    font-weight: 700;
    line-height: 26px;
    color: #A3D3E9;
    background-color: transparent;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    text-decoration: underline;
    gap: 8px;
    width: auto;
    padding: 0px;
}

.hero_demo:hover {
    color: #65A9C9 !important;
    background-color: transparent !important;
}

/* SLIDER */
.hero_slider {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero_fjd-image {
    width: 170px;
    height: auto;
    object-fit: contain;
}
.hero_fjd-image_ultimo {
    width: 190px;
    height: auto;
    object-fit: contain;
}



.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide img.hero_fjd-image {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}
.slide img.hero_fjd-image_ultimo {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}


.slide img {
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

.slide.active img {
    opacity: 1;
    transition: opacity 0.8s ease-out;
}



.slide-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    font-size: clamp(5rem, 26vw, 25.875rem);
    font-weight: 700;
    color: #ffffff75;
    text-align: center;
    white-space: nowrap;
    opacity: 0;
    transition-delay: 0.15s;
}

.slide-text_ultimo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    font-size: clamp(5rem, 26vw, 25.875rem);
    font-weight: 700;
    color: #ffffff75;
    text-align: center;
    white-space: nowrap;
    opacity: 0;
    letter-spacing: -30px;
        transition-delay: 0.15s;
}

/* ATTIVA LO SLIDE */
.slide.active .slide-text,
.slide.active .slide-text_ultimo {
    opacity: 1;
}

/* FRECCETTE NAVIGAZIONE */
.slider-nav {
    position: absolute;
    bottom: 25px;
    right: 0;
    display: flex;
    gap: 10px;
}

.slider-nav button {
    background-color: rgba(217, 217, 217, 0.2);
    border: none;
    color: #B0B0B0;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
}

.slider-nav button:hover {
    background: rgba(110, 110, 110, 0.8);
}

.divider_line {
    border-right: #fff 2px solid;
    height: 25px;
    opacity: 1;
}


/* RESPONSIVE */
@media (max-width: 699px) {

    .hero_fjd-col-left,
    .hero_fjd-col-right {
        width: 100%;
    }

    .hero_fjd-col-left {
        padding-right: 0;
    }

    .hero_fjd-col-right {
        padding-left: 0;
    }

    .hero_fjd-title {
        font-size: 36px;
        line-height: 42px;
    }

    .slide-text,
    .slide-text_ultimo {
        font-size: clamp(5rem, 47vw, 25rem);
    }

    .slide-text_ultimo {
        letter-spacing: -30px;
    }

}


/* PADDING CONTAINER */
@media (max-width: 409px) {
    .hero_fjd-section {
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media (min-width: 410px) and (max-width: 699px) {
    .hero_fjd-section {
        padding-left: 50px;
        padding-right: 50px;
    }
}

@media (min-width: 700px) and (max-width: 870px) {
    .hero_fjd-section {
        padding-left: 30px;
        padding-right: 30px;
    }
}

/* TITOLO */

/* < 369PX */
@media (max-width: 368px) {
    .hero_fjd-title {
        font-size: 31px;
        line-height: 40px;
    }
}

/*  Da 369px a 374px */
@media (min-width: 369px) and (max-width: 374px) {
    .hero_fjd-title {
        font-size: 31px;
        line-height: 40px;
    }
}

/*  Da 375px a 408px */
@media (min-width: 375px) and (max-width: 408px) {
    .hero_fjd-title {
        font-size: 32px;
        line-height: 41px;
    }
}

/*  Da 409px a 413px */
@media (min-width: 409px) and (max-width: 413px) {
    .hero_fjd-title {
        font-size: 33px;
        line-height: 40px;
    }
}

/*  Da 414px a 429px */
@media (min-width: 414px) and (max-width: 429px) {
    .hero_fjd-title {
        font-size: 32.5px;
        line-height: 40px;
    }
}

/*  Da 430px a 790px */
@media (min-width: 430px) and (max-width: 790px) {
    .hero_fjd-title {
        font-size: 34px;
        line-height: 41px;
    }
}

/* Da 791px a 809px */
@media (min-width: 791px) and (max-width: 809px) {
    .hero_fjd-title {
        font-size: 35px;
        line-height: 42px;
    }
}

/* Da 810px a 829px */
@media (min-width: 810px) and (max-width: 829px) {
    .hero_fjd-title {
        font-size: 36px;
        line-height: 43px;
    }
}

/* Da 830px a 848px */
@media (min-width: 830px) and (max-width: 848px) {
    .hero_fjd-title {
        font-size: 37px;
        line-height: 44px;
    }
}

/* Da 849px a 886px */
@media (min-width: 849px) and (max-width: 886px) {
    .hero_fjd-title {
        font-size: 38px;
        line-height: 45px;
    }
}

/* Da 887px a 963px */
@media (min-width: 887px) and (max-width: 963px) {
    .hero_fjd-title {
        font-size: 39px;
        line-height: 46px;
    }
}

/* Da 964px a 1066px */
@media (min-width: 964px) and (max-width: 1066px) {
    .hero_fjd-title {
        font-size: 41px;
        line-height: 48px;
    }
}

/* Da 1067px a 1231px */
@media (min-width: 1067px) and (max-width: 1231px) {
    .hero_fjd-title {
        font-size: 43px;
        line-height: 51px;
    }
}

/* DESCRIZIONE */
@media (max-width: 1128px) {
    .hero_fjd-description {
        font-size: 16px;
        line-height: 22px;
    }

    .hero_fjd-description {
        margin-block-start: 0px !important;
        margin-block-end: 0px !important;
    }
}

@media (max-width: 369px) {
    .hero_fjd-description {
        line-height: 20px;
        font-size: 14px;
    }
}

/* BOTTONI */
@media (max-width: 369px) {

    .hero_preventivo,
    .hero_demo {
        font-size: 14px;
        line-height: 20px;
    }
}

@media (min-width: 370px) and (max-width: 1200px) {

    .hero_preventivo,
    .hero_demo {
        font-size: 18px;
        line-height: 24px;
    }
}

@media (min-width: 1199px) and (max-width: 1128px) {

    .hero_preventivo,
    .hero_demo {
        font-size: 16px;
        line-height: 22px;
    }
}

/* LINEA DIVISORIA */
@media (min-width: 700px) and (max-width: 1100px) {
    .divider_line {
        display: none;
    }
}

@media (max-width: 550px) {
    .divider_line {
        display: none;
    }
}


