body {
    margin: 0;
    padding: 0;
    font-family: Roboto, Arial, sans-serif;
}

.header {
    width: 100%;
    clear: both;
    background-color: white;
    padding: 30px 40px 20px 40px;
    box-sizing: border-box;
}

.header-top {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px 60px;
    margin-bottom: 20px;
}

.header-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.header-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.header-bottom img {
    height: 50px;
    width: auto;
}

.mainslide {
    width: 100%;
    clear: both;
    text-align: center;
    font-family: Roboto, Arial, sans-serif;
    color: white;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: normal;
    line-height: 1.7;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 60px;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mainslide h1 {
    font-size: 44px;
    margin-bottom: 50px;
    font-weight: 700;
    line-height: 1.3;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    max-width: 1100px;
}

.mainslide p {
    font-size: 22px;
    line-height: 1.8;
    max-width: 1100px;
    margin: 20px auto;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

.mainslide strong {
    font-weight: 700;
}

.servizi {
    clear: both;
    text-align: center;
    width: 100%;
    padding: 50px 20px;
    background-color: white;
}

.servizi h2 {
    margin: 0;
}

.servizi a {
    box-sizing: border-box;
    border: 0px solid rgb(226, 232, 240);
    background-color: transparent;
    color: #E8641C;
    text-decoration: none;
    transition: all 200ms ease 0s;
    font-family: Roboto, Arial, sans-serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
}

.servizi a:hover {
    color: #c05015;
    text-decoration: underline;
}

.cosa-troverete {
    clear: both;
    width: 100%;
    padding: 60px 20px;
    background-color: #f8f9fa;
}

.cosa-troverete h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    color: #333;
}

.cosa-troverete h2::before {
    content: "📚 ";
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto 40px auto;
}

.feature-card {
    background: white;
    border-radius: 12px;
    padding: 30px 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    line-height: 1.5;
}

.welcome-message {
    text-align: center;
    max-width: 800px;
    margin: 40px auto 30px auto;
    padding: 0 20px;
}

.welcome-message p {
    font-size: 18px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
}

.welcome-message .highlight {
    color: #E8641C;
    font-weight: 600;
    font-size: 20px;
}

.cta-button {
    display: inline-block;
    background-color: #E8641C;
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    margin: 20px 0;
}

.cta-button:hover {
    background-color: #c05015;
}

.cta-button::after {
    content: " →";
}

.fnc-info-box {
    background: white;
    border-radius: 12px;
    padding: 40px;
    max-width: 900px;
    margin: 60px auto 0 auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.fnc-info-box .fnc-logo {
    text-align: center;
    font-size: 64px;
    margin-bottom: 20px;
}

.fnc-info-box h3 {
    background-color: #4a6fa5;
    color: white;
    padding: 20px;
    margin: 0 -40px 30px -40px;
    font-size: 18px;
    line-height: 1.6;
    text-align: center;
}

.fnc-info-box p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
    text-align: left;
}

.fnc-info-box strong {
    color: #E8641C;
}

.footer {
    width: 100%;
    clear: both;
    text-align: center;
    background-color: #2a2a2a;
    color: white;
    padding: 40px 20px;
}

.footer-content {
    font-size: 15px;
    line-height: 1.6;
    max-width: 1100px;
    margin: 0 auto 30px auto;
}

.footer-logos {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logos img {
    max-height: 70px;
    height: auto;
}

.links {
    box-sizing: border-box;
    border: 0px solid rgb(226, 232, 240);
    background-color: transparent;
    color: white;
    text-decoration: none;
    transition: all 200ms ease 0s;
    font-family: Roboto, Arial, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    padding: 5px;
}

.links:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 968px) {
    .header {
        padding: 20px;
    }
    
    .header-top {
        gap: 30px 40px;
    }
    
    .header-logo {
        height: 50px;
    }
    
    .header-bottom img {
        height: 40px;
    }
}

@media (max-width: 768px) {
    .header-top {
        gap: 20px 30px;
    }
    
    .header-logo {
        height: 45px;
    }
    
    .mainslide {
        padding: 50px 20px;
    }
    
    .mainslide h1 {
        font-size: 32px;
    }
    
    .mainslide p {
        font-size: 18px;
    }
    
    .servizi a {
        font-size: 26px;
    }
    
    .cosa-troverete h2 {
        font-size: 26px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .fnc-info-box {
        padding: 30px 20px;
    }
    
    .fnc-info-box h3 {
        margin: 0 -20px 20px -20px;
        font-size: 16px;
        padding: 15px;
    }
    
    .fnc-info-box p {
        font-size: 15px;
    }
}
