﻿/* Reset e Font */

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}



nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.logo {
    height: 62px;
    width: 250px;
}

    .logo img {
        height: 100%;
        width: 100%;
        object-fit: contain;
    }

.cta-button {
    background: #00a19a;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}

    .cta-button:hover {
        background: #077568;
        transform: translateY(-2px);
    }

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    color: white;
    text-align: center;
    position: relative;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(images/sss.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center !important;
    background-attachment: fixed !important;
}

    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4);
        z-index: 0;
    }

.hero-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-text {
    flex: 1;
    min-width: 300px;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
    position: relative;
}

.desktop-screenshot {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.secondary-button {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    border: 2px solid white;
}

    .secondary-button:hover {
        background: rgba(255,255,255,0.3);
    }

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 25px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 40px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Workflow Section */
.workflow {
    padding: 80px 0;
    background: #f9f9f9;
}

    .workflow h2 {
        text-align: center;
        font-size: 2rem;
        margin-bottom: 50px;
        color: #077568;
    }

.workflow-steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.step-number {
    background: #077568;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    color: #077568;
    margin-bottom: 10px;
}

/* Features */
.features {
    padding: 80px 0;
    text-align: center;
}

    .features h2 {
        font-size: 2rem;
        margin-bottom: 50px;
        color: #077568;
    }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-item {
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    text-align: left;
}

    .feature-item:hover {
        transform: translateY(-10px);
    }

.feature-icon {
    font-size: 2.5rem;
    color: #077568;
    margin-bottom: 15px;
}

/* Mobile App Section */
.mobile-app {
    padding: 100px 0;
    color: white;
    position: relative;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(images/sss.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
}

    .mobile-app::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6);
        z-index: 0;
    }

    .mobile-app .container {
        position: relative;
        z-index: 1;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 50px;
    }

.mobile-app-content {
    flex: 1;
    min-width: 300px;
}

.mobile-app-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.mobile-app h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.mobile-app p {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.mobile-app ul {
    list-style-type: none;
    margin: 30px 0;
}

.mobile-app li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

    .mobile-app li:before {
        content: "\f00c";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        position: absolute;
        left: 0;
        color: #ff6600;
    }

/* Video Demo Section */
.video-demo {
    padding: 80px 0;
    background: #f9f9f9;
    text-align: center;
}

    .video-demo h2 {
        font-size: 2rem;
        margin-bottom: 30px;
        color: #077568;
    }

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
}

    .video-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: none;
    }

.video-cta {
    margin-top: 30px;
    font-weight: bold;
}

/* Testimonial */
.testimonial {
    padding: 80px 0;
    text-align: center;
}

    .testimonial h2 {
        font-size: 2rem;
        margin-bottom: 50px;
        color: #077568;
    }

.testimonial-card {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    position: relative;
}

    .testimonial-card:before {
        content: "";
        font-size: 80px;
        color: #055148;
        opacity: 0.2;
        position: absolute;
        top: 10px;
        left: 20px;
    }

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: bold;
    color: #055148;
}

/* Stile WhatsApp */
.whatsapp-bg {
    background: #25D366 !important;
}

.whatsapp-link {
    color: #25D366 !important;
    font-weight: bold;
}

    .whatsapp-link:hover {
        text-decoration: underline;
    }

/* Stile Phone */
.phone-link {
    color: #555 !important;
    font-weight: bold;
}

    .phone-link:hover {
        text-decoration: underline;
    }

/* Stile Email */
.email-link {
    color: #555 !important;
    font-weight: bold;
}

    .email-link:hover {
        text-decoration: underline;
    }

/* Pulsante WhatsApp fisso */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    z-index: 100;
    transition: all 0.3s;
}

    .whatsapp-float:hover {
        transform: scale(1.1);
    }

.contacts {
    padding: 80px 0;
    background: #fff;
}

    .contacts h2 {
        text-align: center;
        font-size: 2.2rem;
        color: #077568;
        margin-bottom: 15px;
    }

    .contacts a:hover {
        color:#eee;
    }

.subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto 50px;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-card {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: #055148;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item h3 {
    color: #055148;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-item p,
.contact-item a {
    color: #555;
    text-decoration: none;
    line-height: 1.5;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 36px;
    height: 36px;
    background: #0066cc;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

    .social-icon:hover {
        background: #ff6600;
        transform: translateY(-3px);
    }

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
    }

    .hero-text {
        order: 2;
        text-align: center;
    }

    .hero-image {
        order: 1;
        margin-bottom: 30px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-map {
        order: -1;
    }

    .hero, .mobile-app {
        padding: 150px 0 80px;
        background-attachment: scroll;
    }

        .hero h1, .mobile-app h2 {
            font-size: 2.2rem;
        }

        .hero p, .mobile-app li {
            font-size: 1.1rem;
        }

    .logo {
        width: 200px;
    }

    .mobile-app .container {
        flex-direction: column;
    }

    .download-cards {
        flex-direction: column;
        align-items: center;
    }

    .contact-cards {
        grid-template-columns: 1fr;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Form */
.contact {
    padding: 80px 0;
    background: #f9f9f9;
}

    .contact h2 {
        font-size: 2rem;
        margin-bottom: 30px;
        text-align: center;
        color: #077568;
    }

.contact-form {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        margin-bottom: 5px;
        color: #333;
        font-weight: bold;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        width: 100%;
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 5px;
    }

.submit-button {
    background: #00a19a;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    width: 100%;
    transition: background 0.3s;
}

    .submit-button:hover {
        background: #077568;
    }

/* Footer */


.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

    .footer-links a {
        color: white;
        text-decoration: none;
    }

        .footer-links a:hover {
            text-decoration: underline;
        }

.social-icons {
    margin-bottom: 20px;
}

    .social-icons a {
        color: white;
        margin: 0 10px;
        font-size: 1.5rem;
    }

/* Nuova Sezione Download */
.download {
    padding: 80px 0;
    background: #f9f9f9;
    text-align: center;
}

    .download h2 {
        font-size: 2.2rem;
        color: #077568;
        margin-bottom: 15px;
    }

    .download p.subtitle {
        font-size: 1.2rem;
        color: #555;
        max-width: 700px;
        margin: 0 auto 40px;
    }

.download-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.download-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 30px;
    width: 100%;
    max-width: 350px;
    transition: transform 0.3s;
}

    .download-card:hover {
        transform: translateY(-10px);
    }

.download-icon {
    font-size: 3rem;
    color: #077568;
    margin-bottom: 20px;
}

.download-card h3 {
    color: #055148;
    margin-bottom: 15px;
}

.download-card ul {
    list-style: none;
    text-align: left;
    margin: 20px 0;
    padding-left: 20px;
}

    .download-card ul li {
        margin-bottom: 10px;
        position: relative;
    }

        .download-card ul li:before {
            content: "•";
            color: #ff6600;
            font-weight: bold;
            position: absolute;
            left: -15px;
        }

.download-btn {
    display: inline-block;
    background: #00a19a;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    transition: all 0.3s;
}

    .download-btn:hover {
        background: #077568;
        box-shadow: 0 5px 15px rgba(255,102,0,0.3);
        cursor: pointer; /* Ensure cursor remains pointer on hover */
    }

.requirements {
    max-width: 800px;
    margin: 50px auto 0;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

    .requirements h3 {
        color: #077568;
        margin-bottom: 15px;
    }

/* Stili per la sezione Video Tutorial */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.video-card {
    background: white;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--elevation-shadow-card-rest);
    transition: transform 0.2s;
}

    .video-card:hover {
        transform: translateY(-5px);
    }

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

    .video-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: none;
    }

.video-card h3 {
    padding: 15px 20px 5px;
    color: var(--primary-color);
}

.video-card p {
    padding: 0 20px 20px;
    color: var(--text-color);
}

.subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-color);
    max-width: 700px;
    margin: 0 auto 20px;
}