body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #F8FAFC;
    color: #1E1E1E;
    overflow-x: hidden;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #2F415D 0%, #364c6a 100%);
    padding: 200px 0 80px;
    text-align: center;
    position: relative;
    margin-bottom: 70px;
    margin-right: -15px;
    overflow: hidden;
    margin-top: -9px;
    
}

.hero-section::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 4px;
    background: linear-gradient(90deg, rgba(141, 226, 211, 0), rgba(141, 226, 211, 0.8), rgba(141, 226, 211, 0));
    border-radius: 2px;
    text-align: center;
}

.hero-section h1 {
    font-size: 3.6rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    
}

.hero-section .subtitle {
    font-size: 1.4rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
    text-align: center;
}

.highlight {
    font-weight: 600;
    color: #8de2d3;
    display: inline;
}

/* Main Content */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-content {
    padding-bottom: 100px;
    position: relative;
}

/* Pannelli dei servizi */
.services-accordion {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 40px 0;
    width: 100%;
}

.service-panel {
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(47, 65, 93, 0.05);
    border: 1px solid #E5E9F0;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.service-panel:hover {
    box-shadow: 0 5px 15px rgba(47, 65, 93, 0.08);
    transform: translateY(-2px);
}

.service-panel.expanded {
    box-shadow: 0 10px 25px rgba(47, 65, 93, 0.1);
    border-color: #D0DAE6;
    border-left: 5px solid #2F415D;
}

.service-panel.expanded::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, rgba(141, 226, 211, 0.7), rgba(141, 226, 211, 0.3), transparent);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    background: #FFFFFF;
    position: relative;
    transition: background 0.2s ease;
}

.service-header:hover {
    background: #F8FAFC;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 22px;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: #FFFFFF;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(47, 65, 93, 0.07);
    border: 1px solid #EDF2F7;
    transition: all 0.2s ease;
}

.service-panel.expanded .service-icon {
    box-shadow: 0 6px 15px rgba(47, 65, 93, 0.1);
    border-color: #D0DAE6;
    background: #f9fafc;
}

.service-icon img {
    width: 28px;
    height: 28px;
    filter: invert(25%) sepia(20%) saturate(1042%) hue-rotate(182deg) brightness(92%) contrast(87%);
    transition: transform 0.2s ease;
}

.service-panel.expanded .service-icon img {
    transform: scale(1.1);
}

.service-header h2 {
    font-size: 1.6rem;
    color: #2F415D;
    margin: 0;
    font-weight: 600;
}

.toggle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(47, 65, 93, 0.05);
    color: #2F415D;
    transition: all 0.2s ease;
}

.service-header:hover .toggle-icon {
    background: rgba(47, 65, 93, 0.08);
}

.toggle-icon i {
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.service-panel.expanded .toggle-icon i {
    transform: rotate(-180deg);
}

/* Contenuto dei servizi */
.service-content {
    height: 0;
    overflow: hidden;
    transition: height 0s;
}

.service-panel.expanded .service-content {
    height: auto;
}

.content-wrapper {
    padding: 5px 30px 30px;
}

.service-intro {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 25px;
    text-align: left;
    border-left: 3px solid rgba(141, 226, 211, 0.5);
    padding-left: 15px;
}

.service-content h3 {
    font-size: 1.5rem;
    color: #2F415D;
    margin: 25px 0 20px;
    text-align: left;
    font-weight: 600;
}

/* Lista delle features */
.features-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
}

.features-list li {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    text-align: left;
    padding: 20px;
    border-radius: 10px;
    background: #F8FAFC;
    border: 1px solid #EDF2F7;
    transition: all 0.2s ease;
}

.features-list li:hover {
    box-shadow: 0 5px 15px rgba(47, 65, 93, 0.07);
    transform: translateY(-3px);
}

.feature-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 10px;
    background: #2F415D;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 8px rgba(47, 65, 93, 0.1);
}

.feature-text {
    flex-grow: 1;
}

.feature-text strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #2F415D;
    font-weight: 600;
}

.feature-text p {
    margin: 0;
    color: #555;
    line-height: 1.5;
    font-size: 0.95rem;
}

.service-conclusion {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #2F415D;
    margin-top: 30px;
    padding: 20px;
    background: #F8FAFC;
    border-radius: 10px;
    border-left: 4px solid #2F415D;
    text-align: left;
}

/* Contact Card */
.contact-card {
    margin-top: 70px;
    position: relative;
}

.contact-card::before {
    content: "";
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, rgba(141, 226, 211, 0), rgba(141, 226, 211, 0.6), rgba(141, 226, 211, 0));
    border-radius: 1px;
}

.contact-content {
    background: #FFFFFF;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(47, 65, 93, 0.08);
    border: 1px solid #EDF2F7;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 0;
    position: relative;
}

.contact-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: #2F415D;
}

.contact-text {
    padding: 35px 40px;
    text-align: left;
    flex: 1;
}

.contact-text h3 {
    font-size: 1.6rem;
    color: #2F415D;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 600;
}

.contact-text p {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 20px;
    line-height: 1.5;
}

.contact-benefits {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.contact-benefits li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: #333;
}

.contact-benefits li i {
    color: #2F415D;
    margin-right: 10px;
    font-size: 0.9rem;
}

.contact-action {
    padding: 30px 40px;
    display: flex;
    align-items: center;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    background-color: #2F415D;
    color: white;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    box-shadow: 0 5px 15px rgba(47, 65, 93, 0.15);
}

.cta-button:hover {
    background-color: #243349;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(47, 65, 93, 0.2);
    color: white;
}

.cta-button .button-text {
    margin-right: 12px;
}

.cta-button .button-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive styles */
@media (max-width: 991px) {
    .hero-section {
        padding: 120px 0 60px;
    }
    
    .hero-section h1 {
        font-size: 2.8rem;
    }
    
    .features-list {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .contact-content::before {
        width: 100%;
        height: 5px;
    }
    
    .contact-text, .contact-action {
        width: 100%;
        padding: 30px;
        text-align: center;
    }
    
    .contact-benefits {
        display: inline-block;
        text-align: left;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0 50px;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .subtitle {
        font-size: 1.1rem;
    }
    
    .service-header {
        padding: 20px;
    }
    
    .header-content {
        gap: 15px;
    }
    
    .service-icon {
        width: 48px;
        height: 48px;
    }
    
    .service-icon img {
        width: 24px;
        height: 24px;
    }
    
    .service-header h2 {
        font-size: 1.4rem;
    }
    
    .content-wrapper {
        padding: 5px 20px 25px;
    }
    
    .features-list li {
        padding: 18px;
    }
    
    .feature-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 90px 0 40px;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .hero-section .subtitle {
        font-size: 1rem;
    }
    
    .service-icon {
        width: 42px;
        height: 42px;
    }
    
    .service-icon img {
        width: 20px;
        height: 20px;
    }
    
    .service-header h2 {
        font-size: 1.3rem;
    }
    
    .service-intro {
        font-size: 1rem;
        padding-left: 12px;
    }
    
    .service-content h3 {
        font-size: 1.3rem;
    }
    
    .service-conclusion {
        font-size: 1rem;
        padding: 18px;
    }
    
    .cta-button {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .contact-text h3 {
        font-size: 1.4rem;
    }
    
    .contact-text p {
        font-size: 1rem;
    }
}