@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Michroma&display=swap');
:root {
    --rollo-color-light: #6592CD;
    --rollo-color: #3a70b5;
    --rollo-color-medium: #2d568a;
    --rollo-color-dark: #14263e;
}

.michroma {
    font-family: "Michroma", sans-serif;
    font-style: normal;
}

.inter {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.h1-style {font-size:70px; line-height: 70px;}
.h2-style {font-size:55px; line-height:60px}
.h3-style {font-size:48px; line-height:54px}
.h4-style {font-size:40px; line-height:46px}
.h5-style {font-size:32px; line-height:40px}
.h6-style {font-size:25px; line-height:30px}

@media (max-width: 991px) {
    .h1-style {font-size:57px; line-height:58px}
    .h2-style {font-size:43px; line-height:48px}
    .h3-style {font-size:36px; line-height:41px}
    .h4-style {font-size:30px; line-height:35px}
    .h5-style {font-size:24px; line-height:30px}
    .h6-style {font-size:22px; line-height:26px}
}

@media (max-width: 767px) {
    .h1-style {font-size:37px; line-height: 42px;}
    .h2-style {font-size:30px; line-height:36px}
    .h3-style {font-size:28px; line-height:34px}
    .h4-style {font-size:24px; line-height:30px}
    .h5-style {font-size:20px; line-height:28px}
    .h6-style {font-size:18px; line-height:23px}
}

a:hover,
a:active {
    color: var(--rollo-color);
}

.bg-rollo {
    background-color: var(--rollo-color);
}

.bg-rollo-dark {
    background-color: var(--rollo-color-dark);
}

.text-rollo-dark{
    color: var(--rollo-color-dark) !important;
}
.bg-rollo-medium {
    background-color: var(--rollo-color-medium);
}

.bg-rollo-light {
    background-color: var(--rollo-color-light);
}

.border-color-medium-dark-gray {
    border-color: var(--rollo-color) !important;
}

.text-rollo {
    color: var(--rollo-color) !important;
}

.footer-slogan{
    font-size: 1.8rem;
    line-height: 1.2;
}
.footer-social-icons{
    border-left: 1px solid rgba(255, 255, 255);
    font-size: 20px;
}
@media (max-width: 991px) {
    .footer-social-icons{
        border-left: none;
        font-size: 25px;
    }
    .footer-slogan{
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .footer-slogan{
        font-size: 1.2rem;
    }
}

.btn-rollo{
    background-color: var(--rollo-color);
    color: white;
    border-radius: 0;
    font-weight: 400;
    letter-spacing: 0.1em;
    font-size: 16px !important;
    text-transform: none !important;
    white-space: wrap !important;
    text-align: start ;
}

@media (max-width: 768px) {
    .btn-rollo{
        font-size: 14px !important;
    }
}

.btn-rollo:hover, .btn-rollo:focus{
    background-color: var(--rollo-color-medium);
    color: white;
}

/* Slider */

.sliderContainer {
    position: relative;
}

.slider {
    width: 100%;
    height:100svh;
}

.slider:not(.swiper-initialized) {
    visibility: hidden;
}

.slider-content{
    width: 60%;
    top: 30%;
    left: 50%;
    transform: translate(-50%,0);
    padding: 2rem;
    z-index: 200;
}

.slider-title{
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.2;
}

.slider-subtitle{
    font-size: 20px;
    font-weight: 400;
    line-height: 1.2;
}

.slider-subtitle-quality{
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
    /* text-transform: uppercase; */
    color:rgb(255, 255, 255);
    background-color: rgb(0, 0, 0, 0.7);
    display: inline-block;
}

.slider-text{
    font-size: 22px;
    line-height: 1.5;
    padding-left: 0.6rem;
    border-left: 3px solid var(--rollo-color-medium);

}

.slide-button{
    padding: 1rem 2rem;
}

.slick-slide {
    background: #3a8999;
    color: white;
    padding: 80px 0 120px;
    font-size: 30px;
    text-align: center;
}

.slick-prev:before,
.slick-next:before {
    color: black;
}

.item{
    background-color: rgba(20, 38, 62, 0.7);
    margin-bottom: 0;
    position: relative;
    width: 250px;
    height: 70px;
    transition: all 0.3s ease;
}

.progressBarContainer .item:hover {
    scale: 1.05;
}

.progress-bar-title {
    color: white;
    font-size: 1.5rem;
    line-height: 1;
    text-align: center;
    margin-bottom: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    display: inline-block;
    width: 100%;
    font-family: "Michroma", sans-serif;

}

.slick-dots {
    bottom: -30px;
}

.services-section{
    padding: 50px 0;
}


.progressBarContainer {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 0 2%;
    z-index: 100;
    justify-content: space-between;
}


.progressBarContainer div {
    display: block;
    cursor: pointer;
    margin-right: 1%;
    float: left;
    color: white;
}

.progressBarContainer div:last-child {
    margin-right: 0;
}

.progressBarContainer div span.progressBar {
    width: 100%;
    height: 100%;
    background-color: transparent;
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
}

.progressBarContainer div span.progressBar .inProgress {
    display: block;
    background-color: rgba(58, 112, 181, 0.5);
    width: 0%;
    height: 100%;
    transition: none;
}

.slick-track {
    display: flex;
}

.gradient-overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgb(45, 86, 138, 0.9), rgba(0, 0, 0, 0.2));
    z-index: 100;
}

.gradient-background{
    background: linear-gradient(to bottom,
    #6592CD,
    #3A70B5 25%,
    #2D568A 50%,
    #213E64 75%,
    #0A131F 100%);
}
.gradient-background.parallax {
    background: transparent !important;
    -webkit-clip-path: inset(0);
    clip-path: inset(0);
}
.gradient-background.parallax::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(to bottom,
    #6592CD,
    #3A70B5 25%,
    #2D568A 50%,
    #213E64 75%,
    #0A131F 100%);
}

.cool-shadow{
    box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
}

.bg-transparent-white-linear-90{
    background: linear-gradient(to right,
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.0));
}
.bg-transparent-white-linear-90-reverse{
    background: linear-gradient(to left,
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.0));
}

.rollo-list { list-style: none; margin: 10px 0 0 10px; padding: 0;}
.rollo-list li { border-left: 2px solid var(--rollo-color); padding-left: 5px; line-height: 1.2; margin-bottom: 15px;}

@media (max-width: 1400px) {
    .slider-content{
        width: 80%;
        top: 20%;
    }
    .slider-title {
        font-size: 3rem;
    }
    .slider-subtitle{
        font-size: 1.2rem;
    }
    .slider-text{
        font-size: 18px;
    }

    .item{
        width: 180px;
        height: 60px;
    }
    .progress-bar-title{
        font-size: 1rem;
        width: 100%;
    }
    .progressBarContainer {
        left: 0;
    }
}


@media (max-width: 991px) {
    .progressBarContainer {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 6px;
        bottom: 2%;
    }
    .progressBarContainer .item {
        flex-shrink: 0;
        float: none;
        margin-right: 0;
        margin-bottom: 5px;
    }
}
@media (max-width: 768px) {
    .item h2{
        font-size: 1rem;
        width: 120px;
    }

    .item{
        width: 160px;
        height: 60px;
    }
    #elettroerosione{
        width: 200px;
        height: 60px;
    }
    #elettroerosione h2{
        transform: translate(-60%, -50%);
    }

    .progressBarContainer div span.progressBar{
        height: 2px;
    }
    .slider-content{
        width: 100%;
        top: 80px;
        transform: translate(0, 0);
        padding: 2rem 1rem;
        left: 0;
    }
    .slider-title{
        font-size: 2rem;
    }
    .slider-text{
        font-size: 16px;
    }
    .slider-subtitle{
        font-size: 1rem;
    }
    .slide-button{
        padding: 0.5rem 1rem;
    }

    .bg-transparent-white-linear-90-reverse, .bg-transparent-white-linear-90{
        background: rgba(255, 255, 255, 0.2)
    }

    .services-section{
        padding-bottom: 0;
        padding-top: 0;
    }
}


.service-page-header{
    padding: 0;
    margin-top: 130px;
}

.service-page-header .row{
    min-height: 70vh;
}

.service-page-title{
    font-size: 35px;
    line-height: 1;
}


@media (max-width: 1400px) {
    .service-page-header{
        margin-top: 110px;
    }
}

@media (max-width: 768px) {
    .service-page-header{
        margin-top: 80px;
    }
}

/* servizi slider marquee */
#services-slider {
    overflow: hidden;
    position: relative;
}

#services-slider .services-slider-track {
    display: flex;
    width: max-content;
    animation: services-marquee 20s linear infinite;
}

#services-slider:hover .services-slider-track {
    animation-play-state: paused;
}

@keyframes services-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-20%); }
}

#services-slider .item-service {
    color: #fff;
    padding: 0 1.5rem;
    border-right: 1px solid rgba(255, 255, 255);
    font-family: "Michroma", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.2;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}

.news-link {
    overflow: hidden;
    display: block;
    height:100%;
    width: 100%;
}

.news-link div:hover {
    transform: scale(1.05);
}
