/* Header Styles */
:root {
    --colore-primario: #0099FC;
    --colore-secondario: #1A3644;
    --colore-terziario: #EFF1F5;
    --font-1: 'Syne', sans-serif;
}

body {
    font-family: var(--font-1);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: var(--colore-terziario);
}

.btn {
    padding: 10px 45px !important;
}

.btn-light {
    background-color: #fff;
    border-color: #fff;
    color: var(--colore-primario);
}

.light-blue {
    color:#0080d6 !important
}

/* Header Trasparente */
.header-transparent {
    position: absolute;
    width: 100%;
    z-index: 1000;
}

/* Top Bar */
.top-bar {
    background-color: transparent;
    font-size: 14px;
    padding: 10px 0;
}

.top-bar a, .top-bar span {
    color: #fff;
    transition: color 0.3s ease;
}

.top-bar a:hover {
    color: var(--colore-primario);
}

.daikin-logo {
    height: 20px;
    width: auto;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3));
}

/* Main Navigation con bordi arrotondati */
.rounded-nav {
    background-color: var(--colore-secondario);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.main-logo {
    max-height: 50px;
    padding: 3px;
}

.main-menu .nav-link {
    color: #fff;
    font-weight: 500;
    padding: 0.5rem 1rem;
    font-size: 14px;
    transition: color 0.3s ease;
}

.main-menu .nav-link:hover {
    color: var(--colore-primario);
}

/* Hero Carousel */
.hero-carousel {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.hero-slide {
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
    z-index: 1;
}

.hero-content {
    position: relative;
    color: #fff;
    z-index: 2;
    padding-top: 100px;
}

.hero-subtitle {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-line {
    display: inline-block;
    width: 120px;
    height: 1px;
    background-color: #fff;
    margin: 0 10px;
    vertical-align: middle;
}

.hero-number {
    margin-left: 5px;
    position: relative;
}

.hero-title {
    font-size: 60px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 30px;
}

.hero-nav {
    position: absolute;
    bottom: 50px;
    right: 50px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-nav-prev, .hero-nav-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: transparent;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 32px;
    border: none;
}

.hero-nav-prev:hover, .hero-nav-next:hover {
    background-color: var(--colore-primario);
    border-color: var(--colore-primario);
}

/* Button Styles */
.btn-primary {
    background-color: var(--colore-primario);
    border-color: var(--colore-primario);
    border-radius: 5px;
    padding: 10px 25px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background-color: #0080d6;
    border-color: #0080d6;
}

/* Owl Carousel Animations */
.owl-carousel .animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.owl-carousel .owl-animated-in {
    z-index: 0;
}

.owl-carousel .owl-animated-out {
    z-index: 1;
}

.owl-carousel .fadeOut {
    animation-name: fadeOut;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Menu Mobile Styles */
.hamburger-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff1f; /* Colore secondario con opacità */
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2000;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
    transform: translateY(-10px);
}

.mobile-menu-overlay.active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-overlay.closing {
    opacity: 0;
    transform: translateY(-10px);
}

.mobile-menu-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.mobile-menu-header {
    display: flex;
    justify-content: flex-end;
    padding: 10px 0;
}

.mobile-menu-close {
    background: transparent;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.mobile-menu-close i {
    font-weight: 100;
    font-size: 28px;
    position: relative;
    display: inline-block;
    line-height: 1;
    stroke-width: 1px;
    transform: scale(1.2);
}

.mobile-menu-close:hover {
    transform: rotate(90deg);
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 20px 0;
}

.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-item {
    margin-bottom: 20px;
}

.mobile-menu-link {
    color: white;
    font-size: 18px;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.mobile-menu-link:hover {
    color: var(--colore-primario);
}

.mobile-menu-contacts {
    margin-top: auto;
    padding-top: 30px;
}

.mobile-contact-link {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    margin-bottom: 15px;
    font-size: 16px;
}

.mobile-contact-hours {
    display: flex;
    align-items: center;
    color: white;
    font-size: 16px;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .main-menu {
        flex-direction: column;
        align-items: center;
        margin-top: 1rem;
    }
    
    .main-menu .nav-item {
        width: 100%;
        text-align: center;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-content {
        padding-top: 150px;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-nav {
        bottom: 20px;
        right: 20px;
    }
    
    .top-contacts {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .top-contacts a, .top-contacts span {
        margin-bottom: 5px;
    }
    
    .top-bar {
        display: none;
    }
}

/* Footer Styles */
.footer {
    background-color: var(--colore-secondario);
    color: #fff;
}

.footer-logo img {
    max-height: 60px;
    width: auto;
}

.footer-address {
    font-size: 14px;
    line-height: 1.5;
}

.footer h5 {
    font-weight: 600;
    font-size: 18px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-link {
    color: #fff;
    font-size: 14px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.footer-link i {
    color: var(--colore-primario);
    font-size: 14px;
}

.footer-link:hover {
    color: var(--colore-primario);
}

.footer-contact-link {
    color: #fff;
    font-size: 14px;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.footer-contact-link:hover {
    opacity: 0.8;
    color: #fff;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: var(--colore-primario);
}

.footer-divider {border: 1.1px solid #fff;opacity: 1;}

.credits-link {
    color: #fff;
    font-size: 14px;
    transition: color 0.3s ease;
    text-decoration: none;
}

.credits-link:hover {
    color: var(--colore-primario);
}

/* Responsive Footer */
@media (max-width: 991.98px) {
    .footer-logo img {
        max-height: 50px;
    }
}

@media (max-width: 767.98px) {
    .footer h5 {
        margin-top: 20px;
    }
}

/* Sezione Intro */
.intro-section {
    position: relative;
}

.intro-subtitle {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.intro-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--colore-secondario);
}

.intro-text {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 30px;
}

.intro-image-wrapper {
    position: relative;
    margin-bottom: 30px;
}

.intro-image {
    border-radius: 28px;
    width: 100%;
    height: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.intro-box {
    position: absolute;
    bottom: -70px;
    left: 0;
    background-color: var(--colore-secondario);
    color: #fff;
    padding: 30px;
    border-radius: 20px;
    max-width: 300px;
    transform: translate(-10%, -10%);
    z-index: 2;
    text-align: center;
}

.intro-box-icon {
    font-size: 40px;
    color: var(--colore-primario);
    margin-bottom: 15px;
}

.intro-box-title {
    font-weight: 700;
    margin-bottom: 15px;
}

.intro-box-text {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Responsive per sezione intro */
@media (max-width: 991.98px) {
    .intro-title {
        font-size: 36px;
    }
    
    .intro-box {
        padding: 20px;
        max-width: 250px;
    }
    
    .intro-box-title {
        font-size: 30px;
    }
}

@media (max-width: 767.98px) {
    .intro-box {
        position: relative;
        transform: none;
        max-width: 100%;
        margin-top: -50px;
        margin-bottom: 30px;
    }
    
    .intro-title {
        font-size: 30px;
    }
}

/* Sezione Features */
.features-section {
    background-color: var(--colore-terziario);
}

.feature-box {
    background-color: #fff;
    border-radius: 15px;
    padding: 0px 0px 40px 0px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-box p {
    padding: 0 20px;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 24px;
    color: var(--colore-primario);
    margin-top: 20px;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--colore-secondario);
    margin-bottom: 15px;
    padding: 0 20px;
    line-height: 1.4;
    min-height: 50px;
}

.feature-box img {
    border-radius: 15px 15px 0px 0px !important;
}

.btn-outline-primary {
    color: var(--colore-primario);
    border-color: var(--colore-primario);
    border-radius: 5px;
    padding: 8px 20px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--colore-primario);
    color: #fff;
}

/* Responsive per sezione features */
@media (max-width: 991.98px) {
    .feature-box {
        margin-bottom: 20px;
    }
}

@media (max-width: 767.98px) {
    .feature-title {
        min-height: auto;
    }
}

/* Sezione Box Servizi */
.service-boxes-section {
    padding: 50px 0;
}

.service-box {
    position: relative;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-size: 24px;
}

.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-box-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.service-box-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
}

.service-box-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.service-box-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgb(255 255 255 / 25%);
    align-items: center;
    justify-content: center;
    margin-bottom: auto;
    align-self: flex-start;
    position: absolute;
    display: flex;
    margin: 20px;
    z-index: 1;
}

.service-box-icon i {
    font-size: 32px;
    color: #fff;
}

.service-box-text {
    margin-top: auto;
}

.service-box-subtitle {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
}

.service-box-title {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0;
    line-height: 1.2;
}

/* Responsive per sezione box servizi */
@media (max-width: 991.98px) {
    .service-box {
        height: 400px;
    }
    
    .service-box-title {
        font-size: 30px;
    }
}

@media (max-width: 767.98px) {
    .service-box {
        height: 350px;
    }
    
    .service-box-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-box-icon i {
        font-size: 24px;
    }
    
    .service-box-title {
        font-size: 26px;
    }
}

/* Sezione Numeri */
.numbers-section {
    padding: 50px 0;
}

.numbers-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--colore-secondario);
}

.number-box {
    position: relative;
    padding: 20px;
    margin-bottom: 20px;
}

.number-value {
    font-size: 64px;
    font-weight: 700;
    color: var(--colore-primario);
    margin-bottom: 10px;
    display: inline-block;
}

.number-unit {
    font-size: 24px;
    font-weight: 600;
    color: var(--colore-primario);
    line-height: 1;
    display: inline-block;
    position: relative;
    margin-left: 5px;
    margin-top: 10px;
}

.number-prefix, .number-suffix {
    font-size: 80px;
    font-weight: 700;
    color: var(--colore-primario);
    line-height: 1;
    display: inline-block;
    position: relative;
}

.number-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--colore-secondario);
    text-transform: uppercase;
}

/* Responsive per sezione numeri */
@media (max-width: 991.98px) {
    .number-value, .number-prefix, .number-suffix {
        font-size: 60px;
    }
    
    .number-unit {
        font-size: 28px;
        margin-top: 8px;
    }
    
    .number-label {
        font-size: 14px;
    }
}

@media (max-width: 767.98px) {
    .number-value, .number-prefix, .number-suffix {
        font-size: 50px;
    }
    
    .number-unit {
        font-size: 24px;
        margin-top: 6px;
    }
    
    .number-label {
        font-size: 12px;
    }
}

/* Sezione Stampa */
.press-section {
    background-color: var(--colore-terziario);
    padding: 50px 0;
}

.press-subtitle {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.press-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--colore-secondario);
}

.press-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.press-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.press-card-date {
    background-color: #B0BACC;
    color: #fff;
    padding: 25px 20px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
}

.press-card-content {
    background-color: #fff;
    padding: 20px;
    text-align: center;
}

.press-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--colore-secondario);
    margin-bottom: 20px;
    line-height: 1.4;
}

.press-card-link {
    color: var(--colore-primario);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.press-card-link .fa-arrow-right{
    margin-right: 10px;
}

.press-card-link i {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.press-card-link:hover {
    color: #0080d6;
}

.press-card-link:hover i {
    transform: translateX(-5px);
}

.press-nav {
    position: absolute;
    right: 15px;
    display: flex;
    gap: 10px;
    z-index: 10;
    margin-top: 20px;
}

.press-nav-prev, .press-nav-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: transparent;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 24px;
    border: none;
}

.press-nav-prev:hover, .press-nav-next:hover {
    color: var(--colore-primario);
}

.row-margin {
    margin-top: -200px; 
    position: relative; 
    z-index: 10;
}

@media (max-width: 991.98px) {
  .row-margin {
    margin-top: 0px; 
    position: relative; 
    z-index: 10;
}
}

.row-margin-extra {
    margin-top: -400px; 
    position: relative; 
    z-index: 10;
}

@media (max-width: 991.98px) {
  .row-margin-extra {
    margin-top: 0px; 
    position: relative; 
    z-index: 10;
}
}

/* Responsive per sezione stampa */
@media (max-width: 991.98px) {
    .press-title {
        font-size: 36px;
    }
    
    .press-card-title {
        font-size: 16px;
    }
}

@media (max-width: 767.98px) {
    .press-title {
        font-size: 30px;
    }
    
    .press-nav {
        bottom: -50px;
        right: 50%;
        transform: translateX(50%);
    }
}

/* Sezione News */
.news-section {
    padding: 50px 0;
}

.news-subtitle {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.news-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--colore-secondario);
}

.news-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.news-card-img-wrapper {
    position: relative;
    overflow: hidden;
}

.news-card-img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.news-card:hover .news-card-img {
    transform: scale(1.05);
}

.news-card-date {
    position: absolute;
    right: 15px;
    background-color: #fff;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    min-width: 60px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    margin-top: -55px;
}

.news-date-day {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    color: var(--colore-secondario);
}

.news-date-month {
    font-size: 14px;
    font-weight: 600;
    color: var(--colore-secondario);
    text-transform: uppercase;
}

.news-card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-card-category {
    font-size: 14px;
    font-weight: 600;
    color: var(--colore-primario);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.news-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--colore-secondario);
    margin-bottom: 15px;
    margin-top: 15px;
    line-height: 1.4;
    flex-grow: 1;
}

.news-card-link {
    color: var(--colore-primario);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
    margin-top: auto;
}

.news-card-link i {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.news-card-link:hover {
    color: #0080d6;
}

.news-card-link:hover i {
    transform: translateX(-5px);
}

/* Responsive per sezione news */
@media (max-width: 991.98px) {
    .news-title {
        font-size: 36px;
    }
    
    .news-card-title {
        font-size: 16px;
    }
}

@media (max-width: 767.98px) {
    .news-title {
        font-size: 30px;
    }
    
    .news-card-date {
        right: 10px;
        padding: 8px;
        min-width: 50px;
    }
    
    .news-date-day {
        font-size: 20px;
    }
    
    .news-date-month {
        font-size: 12px;
    }
}

/* Sezione Timeline con Tab */
.timeline-section {
    padding: 50px 0;
}

.timeline-subtitle {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.timeline-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--colore-secondario);
}

/* Stile per i tab */
.timeline-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: space-between;

}

.timeline-tabs .nav-link {
    background-color: #e9ecef;
    color: var(--colore-secondario);
    font-weight: 600;
    padding: 12px 50px;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: none;
    font-size: 16px;
}

.timeline-tabs .nav-link:hover {
    background-color: #d1d7dd;
}

.timeline-tabs .nav-link.active {
    background-color: #B0BACC;
    color: #fff;
}

/* Stile per il contenuto dei tab */
.timeline-image-wrapper {
    position: relative;
}

.timeline-image {
    border-radius: 25px;
    width: 100%;
    height: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.timeline-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 25px;
    padding: 50px;
    justify-content: flex-end;
}

.timeline-year {
    font-size: 50px;
    font-weight: 600;
    color: var(--colore-secondario);
    position: absolute;
    top: 50px;
    right: 50px;
    opacity: 0.8;
    line-height: 1;
    font-family: 'Inter', sans-serif;
}

.timeline-content-subtitle {
    font-size: 24px;
    font-weight: 600;
    color: var(--colore-primario);
}

.timeline-text {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

/* Responsive per sezione timeline */
@media (max-width: 991.98px) {
    .timeline-title {
        font-size: 36px;
    }
    
    .timeline-year {
        font-size: 50px;
        margin-bottom: 15px;
    }
    
    .timeline-content-subtitle {
        margin-top: 20px;
    }
}

/* Sezione Loghi */
.logo-partner {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.logo-partner:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.logo-hover {
    transition: transform 0.3s ease;
}

.logo-partner:hover .logo-hover {
    transform: scale(1.05);
}

@media (max-width: 767.98px) {
    .timeline-title {
        font-size: 30px;
    }
    
    .timeline-tabs .nav-link {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .timeline-year {
        font-size: 40px;
        position: static;
    }
    
    .timeline-content-subtitle {
        font-size: 20px;
    }
}

/* Sezione CTA FAQ */
.cta-faq {
    background-color: #B0BACC;
    padding: 60px 0;
}

.cta-faq h6 {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.cta-faq h2 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
}

@media (max-width: 991.98px) {
    .cta-faq h2 {
        font-size: 30px;
    }
}

/* Sezione CTA Download */
.cta-download {
    background-color: var(--colore-primario);
}

.cta-download h6 {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
}

.cta-download h2 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
}

.download-link {
    display: inline-block;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    padding: 15px 0;
    position: relative;
    transition: all 0.3s ease;
    width: 100%;
}

.download-link .fa-arrow-down {
    float: right;
    font-size: 24px;
}

.download-link:before, .download-link:after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.download-link:before {
    top: 0;
}

.download-link:after {
    bottom: 0;
}

.download-link:hover {
    color: #fff;
    transform: translateY(-2px);
}

.download-link:hover i {
    transform: translateY(3px);
}

.download-link i {
    transition: transform 0.3s ease;
}

@media (max-width: 991.98px) {
    .cta-download h2 {
        font-size: 30px;
    }
}

@media (max-width: 767.98px) {
    .cta-download {
        padding: 40px 0;
    }
    
    .cta-download h2 {
        font-size: 24px;
    }
}
@media (max-width: 767.98px) {
    .cta-faq {
        padding: 40px 0;
    }
    
    .cta-faq h2 {
        font-size: 24px;
    }
}

/* Prefooter */
.prefooter {
    margin-bottom: 3rem;
}

.prefooter-container {
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    position: relative;
    overflow: hidden;
    margin-right: 10%;
    min-height: 400px;
}

.prefooter-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.prefooter-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
    z-index: 1;
}

.prefooter h6 {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
}

.prefooter .display-4 {
    font-weight: 700;
    line-height: 1.2;
}

@media (max-width: 767.98px) {
    .prefooter-container {
        border-radius: 20px;
        margin: 0 15px;
    }
    
    .prefooter .display-4 {
        font-size: 28px;
    }
    
    .prefooter h6 {
        font-size: 14px;
    }
}

/* Sezione Come Lavoriamo - Processo di lavoro */
.work-process-img {
    height: 120px;
    width: 100%;
    object-fit: cover;
}

.work-process-number {
    font-size: 80px;
    font-weight: 100;
    color: #B0BACC;
    margin: 10px 0;
    line-height: 1;
    display: block;
    position: absolute;
    align-self: flex-start;
    margin-top: 70px;
    margin-left: 20px;
}

/* Sezione Contatti CTA */
.contatti-cta {
    margin-bottom: 0px !important;
}

.contatti-cta-container {
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    position: relative;
    overflow: hidden;
    margin-right: 10%;
    min-height: 300px;
}

.contatti-cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.contatti-cta-box {
    padding: 20px;
    transition: transform 0.3s ease;
}

.contatti-cta-box:hover {
    transform: translateY(-10px);
}

.contatti-icon {
    margin-bottom: 20px;
}

.contatti-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.contatti-text {
    font-size: 16px;
    margin-bottom: 20px;
    opacity: 0.9;
}

@media (max-width: 767.98px) {
    .contatti-cta-container {
        border-radius: 20px;
        margin: 0 15px;
    }
    
    .contatti-title {
        font-size: 20px;
    }
}

.cta-fullscreen {
   height: 600px;
   width: 100%;
   background-position: top;
   background-repeat: no-repeat;
   background-size: cover;
}

.accordion {
    background-color: #fff !important;
    padding: 20px;
    border-radius: 15px;
}

.accordion-item {
    border: none;
    padding: 10px;
    background: transparent !important;
    margin-bottom: 0px !important;
}

.accordion-button {
    padding: 20px !important;
}

.accordion-body {
    padding: 20px !important;
}

/* Stili personalizzati per l'accordion dei cataloghi */
#cataloghiAccordion {
    background-color: transparent !important;
    padding: 0;
}

#cataloghiAccordion .accordion-item {
    background-color: transparent !important;
    padding: 0;
}

#cataloghiAccordion .accordion-body {
    padding: 20px 0 0 0 !important;
}

/* Cambio icona quando l'accordion è aperto */
#cataloghiHeading .download-link[aria-expanded="true"] .fa-arrow-down {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

#cataloghiHeading .download-link[aria-expanded="false"] .fa-arrow-down {
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

/* Stili per i link dei cataloghi */
#cataloghiCollapse .text-white {
    font-size: 16px;
    font-weight: 500;
    transition: transform 0.3s ease;
    display: inline-block;
}

#cataloghiCollapse .text-white:hover {
    transform: translateX(5px);
}

#cataloghiCollapse .text-white i {
    transition: transform 0.3s ease;
}

#cataloghiCollapse .text-white:hover i {
    transform: translateX(3px);
}