body,
html {
    height: 100%;
}

.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    background-image: url('path-to-your-image.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #85d2d0;
    text-align: center;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    font-family: "Lora", serif;
}

.navbar {
    z-index: 10;
    /* Ensure navbar stays above other content */
    background-color: #85d2d0;
}

.bg-light {
    --bs-bg-opacity: 1;
    background-color: #85d2d0 !important;
    font-family: "Lora", serif;
    font-size: large;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);
    clear: both;
    font-weight: 400;
    color: var(--bs-dropdown-link-color);
    text-align: inherit;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    border-radius: var(--bs-dropdown-item-border-radius, 0);
    font-family: 'Varela Round';
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: var(--bs-navbar-nav-link-padding-x);
        padding-left: var(--bs-navbar-nav-link-padding-x);
        color: #887bb0;
        font-family: 'Varela Round';
    }
}

h2 {
    font-size: 36px;
    color: #85d2d0;
    margin-bottom: 30px;
    font-family: 'Varela Round';
}

a {
    color: #85d2d0;
    text-decoration: none;
}
/* INIZIO BANNER */
.banner-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #887bb0;
}

.image-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
    filter: brightness(0.7);
    transition: filter 0.5s ease-in-out;
}

.banner-section:hover .image-layer {
    filter: brightness(0.5);
}

.auto-container {
    max-width: 1200px;
    padding: 0 15px;
    width: 100%;
    text-align: center;
}

.content-box {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    animation: fadeIn 1.5s ease-in-out;
}

.content .inner {
    max-width: 800px;
}

.services-title {
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
    animation: slideInLeft 1s ease;
}

h1 {
    font-size: 48px;
    margin: 0;
    line-height: 1.2;
    animation: slideInRight 1s ease;
    font-family: "Lora", serif;
    color: #85d2d0;
    text-align: center;
}

.scroll-down {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
}

.scroll-down .scroll-to-target {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    animation: bounce 2s infinite;
}

.scroll-down .icon {
    font-size: 16px;
    color: #887bb0;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    h1 {
        font-size: 32px;
    }

    .services-title {
        font-size: 14px;
    }

    .scroll-down .scroll-to-target {
        width: 30px;
        height: 30px;
    }
}

/* Case Studies Section */
.case-studies {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding: 50px 20px;
    justify-content: center;
}

.case-study {
    background: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    max-width: 300px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.case-study img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.case-study h3 {
    font-size: 1.2rem;
    margin: 10px 0;
}

.case-study p {
    font-size: 1rem;
    padding: 0 10px;
    color: #666;
}

.case-study a {
    display: inline-block;
    margin: 10px 0;
    color: #887bb0;
    text-decoration: none;
}

.case-study:hover {
    transform: translateY(-10px);
}

/* Call-to-Action Section */
.cta {
    text-align: center;
    background: #85d2d0;
    color: white;
    padding: 50px 20px;
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.cta .btn {
    display: inline-block;
    background: white;
    color: #007BFF;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2rem;
    transition: background 0.3s ease;
}

.cta .btn:hover {
    background: #0056b3;
    color: white;
}

/* FINE BANNNER */
/* INIZIO CTA  */
/* Base Styles */
/* .call-to-section {
    position: relative;
    padding: 100px 0;
    background-color: #f9f9f9;
    overflow: hidden;
    text-align: center;
    background-image: url('assets/img/home/CTA_IMAGE.png');
} */

.call-to-action-section {
    position: relative;
    padding: 50px 20px;
    /* Aggiungi spazio interno */
    background-image: url('assets/img/home/CTA_IMAGE.png');
    text-align: center;
}

.bubble-dotted {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.bubble-dotted .dotted {
    position: absolute;
    background-color: #887bb0;
    border-radius: 50%;
}

.dotted-1 {
    top: 10%;
    left: 10%;
    width: 20px;
    height: 20px;
}

.dotted-2 {
    top: 20%;
    left: 30%;
    width: 15px;
    height: 15px;
}

.dotted-3 {
    top: 40%;
    left: 60%;
    width: 25px;
    height: 25px;
}

.dotted-4 {
    top: 60%;
    left: 80%;
    width: 18px;
    height: 18px;
}

.dotted-5 {
    top: 80%;
    left: 50%;
    width: 22px;
    height: 22px;
}

.dotted-6 {
    top: 10%;
    left: 80%;
    width: 15px;
    height: 15px;
}

.dotted-7 {
    top: 30%;
    left: 20%;
    width: 20px;
    height: 20px;
}

.dotted-8 {
    top: 50%;
    left: 40%;
    width: 17px;
    height: 17px;
}

.dotted-9 {
    top: 70%;
    left: 70%;
    width: 30px;
    height: 30px;
}

.dotted-10 {
    top: 90%;
    left: 90%;
    width: 25px;
    height: 25px;
}

.auto-container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}

.content {
    max-width: 700px;
    margin: 0 auto;
}

.sub-title {
    font-size: 18px;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: bold;
    font-family: 'Lora';
}

h2 {
    font-size: 36px;
    color: black;
    margin-bottom: 30px;
    font-family: 'Varela Round ';
}

.link-box {
    display: flex;
    justify-content: center;
}

.theme-btn {
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 15px 30px;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.btn-style-one {
    color: #fff;
    background-color: #887bb0;
    border: none;
}

.btn-style-two {
    color: #000;
    background-color: transparent;
    border: 2px solid #000;
}

.theme-btn:hover {
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 767px) {
    .content {
        padding: 0 15px;
        /* Aggiunge spazio ai lati del contenuto */
    }
}

/* FINE CTA */
/* INIZIO INTRO  */
/* General styling for the intro section */
.intro-section {
    height: 100vh;
    /* La sezione Intro occupa l'intera altezza della finestra */
    position: relative;
    /* Crea un contesto di posizionamento */
    overflow: hidden;
    /* Evita che il contenuto fuoriesca */
    top: 5%;
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    /* Video dietro al contenuto */
}

.content-wrapper {
    position: relative;
    z-index: 1;
    /* Contenuto sopra il video */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    /* Centra il contenuto verticalmente */
    text-align: center;
}

/* Styling for each intro item */
.intro-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-in-out;
}

.intro-item[data-animation="fadeIn"].visible {
    opacity: 1;
    transform: translateY(0);
}

/* Specific text styles */
.intro-heading h2 {
    font-size: 60px;
    font-weight: bold;
    color: #887bb0;
}

.intro-subheading h3 {
    font-size: 30px;
    font-weight: 600;
    color: #887bb0;
}

/* FINE INTRO */
/* INIZIO CASO STUDIO  */
/* Contenitore della sezione */
/* Contenitore principale */
.scroll-section {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap; /* Consente il wrapping dei contenuti su dispositivi stretti */
    padding: 20px;
    background-color: #fff;
}

/* Contenitore interno */
.scroll-container {
    display: flex;
    flex-wrap: wrap; /* Rende il layout adattabile */
    gap: 20px;
    width: 100%;
    max-width: 1200px;
}

/* Colonne del layout */
.scroll-column {
    flex: 1 1 45%; /* Adatta larghezza al 45% con possibilità di wrapping */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center; /* Centra i contenuti su schermi stretti */
}

/* Video responsivi */
.media-column .media-video {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
}

/* Titoli e testo */
.text-column h2 {
    font-size: 2rem;
    color: #887bb0;
    margin-bottom: 15px;
}

.text-column p, .text-column ul {
    font-size: 1rem;
    line-height: 1.5;
    color: #000;
}

/* Bottoni */
.link-box a {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    font-size: 1rem;
    color: #fff;
    background-color: #887bb0;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.link-box a:hover {
    background-color: #705ea7;
}

/* Titolo principale */
.centered-title {
    font-size: 2rem;
    margin: 20px 0;
    text-align: center;
    color: #887bb0;
}

/* Responsive: Tablet */
@media (max-width: 1024px) {
    .scroll-container {
        gap: 15px;
    }

    .scroll-column {
        flex: 1 1 100%; /* Ogni colonna occupa tutta la larghezza */
    }

    .text-column h2 {
        font-size: 1.8rem;
    }

    .text-column p, .text-column ul {
        font-size: 0.9rem;
    }
}

/* Responsive: Smartphone */
@media (max-width: 768px) {
    .scroll-container {
        flex-direction: column;
        gap: 10px;
    }

    .media-column .media-video {
        max-width: 100%;
    }

    .text-column h2 {
        font-size: 1.5rem;
    }

    .text-column p, .text-column ul {
        font-size: 0.85rem;
    }

    .link-box a {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

.centered-title {
    text-align: center;
    font-size: 2.5rem;
    font-family: "Varela Round", sans-serif;
    font-weight: bold;
    color: #887bb0;
    margin: 20px 0;
    opacity: 0;
    /* Inizia nascosto */
    transform: translateX(-50px);
    /* Inizia spostato a sinistra */
    transition: all 1s ease-in-out;
    /* Transizione fluida */
}

.centered-title.visible {
    opacity: 1;
    /* Diventa visibile */
    transform: translateX(0);
    /* Torna alla posizione originale */
}

.scroll-section {
    display: flex;
    align-items: center;
    justify-content: center;
    /* height: 100vh; */
    overflow: hidden;
    position: relative;
    background-color: #fff;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
}

.scroll-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-container {
    display: flex;
    width: 90%;
    max-width: 1200px;
    gap: 30px;

}

.scroll-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

.text-column h2 {
    color: #887bb0;
    margin-bottom: 20px;
    font-size: 36px;
    font-family: "Varela Round", sans-serif;
    font-weight: 200;
    font-style: normal;
}

.text-column p {
    font-size: 18px;
    color: #000;
    line-height: 1.6;
    font-family: "Varela Round", sans-serif;
}

.text-column ul {
    font-size: 20px;
    color: #000;
    line-height: 1;
    font-family: "Varela Round", sans-serif;
}

.media-column .media-video {
    width: 55%;
    height: auto;
    border-radius: 10px;
    background-color: #fff;
}

/* FINE CASO STUDIO */

/* SECTION LOGHI  */
/* Sezione loghi slider */
.logos-slider {
    background-color: #fff;
    /* Colore di sfondo della sezione */
    padding: 20px 0;
    overflow: hidden;
    /* Nasconde i loghi fuori dalla vista */
}

.logos-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.logos-track {
    display: flex;
    gap: 20px;
    /* Spaziatura tra i loghi */
    animation: scroll-logos 20s linear infinite;
    /* Animazione continua */
}

.logos-track img {
    height: 100px;
    /* Altezza dei loghi */
    object-fit: contain;
    /* Adatta i loghi alla dimensione */
    transition: transform 0.3s ease;
    /* Effetto hover */
}

.logos-track img:hover {
    transform: scale(1.1);
    /* Ingrandisce il logo al passaggio del mouse */
}

/* Animazione dello scorrimento */
@keyframes scroll-logos {
    from {
        transform: translateX(0);
        /* Inizia dalla posizione originale */
    }

    to {
        transform: translateX(-50%);
        /* Sposta i loghi verso sinistra */
    }
}

/* FINE SECTION LOGHI */

/* INIZIO FOOTER */
/* Base Styles */
.main-footer {
    background-color: #333;
    color: #fff;
    padding: 50px 0;
}

.auto-container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}

.widgets-section {
    margin-bottom: 30px;
}

.column {
    margin-bottom: 30px;
}

.footer-widget h3 {
    font-size: 22px;
    color: #887bb0;
    margin-bottom: 20px;
}

.footer-widget .widget-content {
    color: #ccc;
}

.footer-widget ul {
    padding: 0;
    list-style: none;
}

.footer-widget ul li {
    margin-bottom: 10px;
}

.footer-widget ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-widget ul li a:hover {
    color: #887bb0;
}

.news-widget .news-post {
    margin-bottom: 20px;
}

.news-widget .news-post h5 {
    font-size: 16px;
    margin-bottom: 5px;
}

.news-widget .news-post .date {
    color: #999;
}

.news-widget .news-post .date .icon {
    margin-right: 5px;
}

.footer-bottom {
    background-color: #222;
    padding: 20px 0;
}

.outer-table {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.info-block {
    flex: 1 1 calc(25% - 30px);
    margin: 15px;
    text-align: center;
    vertical-align: middle;
}

.info-block .inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.info-block .inner .icon {
    font-size: 24px;
    margin-bottom: 10px;
}

.info-block .inner .info-title {
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.info-block .inner .phone,
.info-block .inner .email,
.info-block .inner .address,
.info-block .inner .social-links {
    font-size: 14px;
    margin-bottom: 5px;
}

.info-block .inner .social-links a {
    color: #ccc;
    margin: 0 5px;
}

.info-block .inner .social-links a:hover {
    color: #887bb0;
}

/* Responsive */
@media (max-width: 991px) {
    .column {
        margin-bottom: 50px;
    }

    .footer-widget ul li {
        margin-bottom: 15px;
    }

    .info-block {
        flex: 1 1 50%;
    }
}

@media (max-width: 767px) {
    .info-block {
        flex: 1 1 100%;
    }
}

img,
svg {
    vertical-align: middle;
    width: 100%;
}

.text {
    font-size: 18px;
    color: #85d2d0;
}

.news-widget .news-post h5 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #887bb0;
}

.news-widget .news-post .date {
    color: #85d2d0;
}

/* FINE FOOTER */