/* Base styles */

.logo {
    display: flex; /* Permette l'uso di flexbox */
    justify-content: center; /* Centra orizzontalmente */
    align-items: center; /* Centra verticalmente */
    height: 100%; /* Assicurati che la navbar abbia un'altezza adeguata */
}

.logo img {
    display: center;
    max-width: 220px; /* Regola la dimensione del logo */
    height: auto; /* Mantiene le proporzioni */
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
}

header {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1rem 2rem;
}

.hero {
    text-align: center;
    padding: 4rem 1rem;
    background: #F9FAFB;
}

.hero h1 {
    font-size: 4rem;
    color: #2D3748;
}

.hero h1 span {
    color: #2563EB;
}

.hero p {
    margin-top: 1rem;
    font-size: 1.1rem;
    color: #6B7280;
}

.hero-buttons {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.primary-button, .secondary-button {
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
}

.primary-button {
    background-color: #2563EB;
    color: #fff;
}

.primary-button a {
    display: block;
    text-decoration: none;
    font-weight: bold;
}

.secondary-button {
    background-color: #E2E8F0;
    color: #2563EB;
}

.primary-button:hover {
    background-color: #1E40AF;
}

.secondary-button:hover {
    background-color: #CBD5E0;
}

.features {
    display: flex;
    justify-content: space-around;
    padding: 2rem 1rem;
    background: #fff;
    gap: 1rem;
}

.feature-card {
    background: #F9FAFB;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: flex-start;
    position: relative;
    flex-direction: column;
}

.icon-box {
    position: absolute;
    top: -15px;
    left: 3rem;
    background: transparent; /* Cambiato da #2563EB a transparent */
    padding: 0.75rem;
    border-radius: 5px;
    color: #2563EB; /* Cambiato colore del testo per rendere visibili le icone */
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}


.feature-text {
    margin-left: 1.5rem; /* Ora il testo è allineato all'icona */
    text-align: left;
    margin-top: 1.5rem; /* Aggiunto margine per separare l'icona dal testo */
}

.feature-text h3 {
    font-size: 1.25rem;
    color: #2D3748;
    margin-bottom: 0.5rem;
}

.feature-text p {
    color: #6B7280;
}


footer {
    text-align: center;
    padding: 1rem 0;
    background: #F1F5F9;
    color: #6B7280;
}

/* Sezione Servizi */
.services {
    text-align: center;
    padding: 4rem 1rem;
    background: #F9FAFB;
}

.services-header {
    margin-bottom: 2rem;
}

.services-header h2 {
    font-size: 2.5rem;
    color: #1E293B;
    margin-bottom: 1rem;
}

.services-header p {
    font-size: 1.25rem;
    color: #475569;
    line-height: 1.5;
}

.services-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Due colonne */
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: #fff;
    border-radius: 10px;
    padding: 2rem 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.service-card h3 {
    font-size: 1.5rem;
    color: #1E293B;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-card h3 i {
    color: #2563EB;
    font-size: 1.5rem;
}

.service-card p {
    color: #475569;
    margin-bottom: 1rem;
}

.examples {
    margin-top: 1rem;
}

.examples strong {
    font-weight: 600;
    color: #1E293B;
    margin-bottom: 0.5rem;
}

.examples ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.examples ul li {
    position: relative;
    padding-left: 1.5rem;
    color: #475569;
}

.examples ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #2563EB;
    font-size: 1.25rem;
}

/* Sezione Audio Demo */
.audio-demos {
    text-align: center;
    background: #F9FAFB;
    padding: 4rem 1rem;
}

.audio-demos h2 {
    font-size: 2rem;
    color: #1E293B;
    margin-bottom: 0.5rem;
}

.audio-demos p {
    font-size: 1.1rem;
    color: #475569;
    margin-bottom: 2rem;
}

.audio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Adatta a schermi più piccoli */
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.audio-card {
    background: #fff;
    border-radius: 10px;
    padding: 2rem 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.audio-card h3 {
    font-size: 1.25rem;
    color: #1E293B;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.audio-card p {
    color: #475569;
    margin-bottom: 1rem;
}

.audio-card audio {
    width: 100%;
    margin-top: 1rem;
}
.audio-card h3 {
    font-size: 1.25rem;
    color: #1E293B;
    display: flex;
    align-items: center;
    gap: 0.5rem; /* Spazio tra l'icona e il titolo */
    margin-bottom: 1rem;
}

.audio-card h3 i {
    color: #2563EB; /* Colore blu per le icone */
    font-size: 1.5rem;
}

/* Sezione Prezzi */
.pricing {
    text-align: center;
    background: #F9FAFB;
    padding: 4rem 1rem;
}

.pricing h2 {
    font-size: 2rem;
    color: #1E293B;
    margin-bottom: 0.5rem;
}

.pricing p {
    font-size: 1.1rem;
    color: #475569;
    margin-bottom: 2rem;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: #fff;
    border-radius: 10px;
    padding: 2rem 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: left;
    position: relative;

    /* Nuove regole */
    display: flex;
    flex-direction: column; /* Disposizione verticale */
    justify-content: space-between; /* Distribuzione uniforme tra testo e bottoni */
    height: 100%; /* Forza la stessa altezza per tutte le card */
}

.pricing-card h3 {
    font-size: 1.25rem;
    color: #1E293B;
    margin-bottom: 0.5rem;
}

.pricing-card h4 {
    font-size: 2rem;
    color: #2563EB;
    margin-bottom: 1rem;
}

/* Imposta un'altezza minima per la lista */
.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-bottom: 0.5rem; /* Aumenta lo spazio tra la lista e i bottoni */
    min-height: 140px; /* Imposta un'altezza minima per uniformare le card */
}


.pricing-card ul li {
    color: #475569;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.pricing-card ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #2563EB;
}

.payment-buttons {
    margin-top: auto; /* Spinge i pulsanti in basso */
    display: flex;
    flex-direction: column;
    gap: 0.5rem; /* Distanza tra i bottoni */
}

.payment-buttons button {
    border: none;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
}

.paypal-btn {
    background: #FFC439;
    color: #000;
}

.mybank-btn {
    background: #0077B5;
    color: #fff;
}

.credit-btn {
    background: #333;
    color: #fff;
}

.featured {
    border: 2px solid #2563EB;
}

.featured .badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #2563EB;
    color: #fff;
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    font-weight: bold;
    border-radius: 5px;
}

/* Sezione "Chi siamo" */
.about-us {
    text-align: center;
    background: #F9FAFB;
    padding: 4rem 1rem;
}

.about-us h2 {
    font-size: 2rem;
    color: #1E293B;
    margin-bottom: 0.5rem;
}

.about-us p {
    font-size: 1.1rem;
    color: #475569;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto 2rem auto;
}

.feature-card {
    background: #fff;
    border-radius: 10px;
    padding: 2rem 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.feature-card i {
    font-size: 2.5rem;
    color: #2563EB;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    color: #1E293B;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: #475569;
    font-size: 1rem;
}

.our-story {
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: left;
    max-width: 1000px;
    margin: 0 auto;
}

.our-story h3 {
    font-size: 1.5rem;
    color: #1E293B;
    margin-bottom: 1rem;
}

.our-story p {
    font-size: 1rem;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 1rem;
}
/* Sezione Contatti */
.contact {
    text-align: center;
    background: #F9FAFB;
    padding: 4rem 1rem;
}

.contact h2 {
    font-size: 2rem;
    color: #1E293B;
    margin-bottom: 0.5rem;
}

.contact p {
    font-size: 1.1rem;
    color: #475569;
    margin-bottom: 2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto 2rem auto;
}

.contact-card {
    background: #fff;
    border-radius: 10px;
    padding: 2rem 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.contact-card i {
    font-size: 2.5rem;
    color: #2563EB;
    margin-bottom: 1rem;
}

.contact-card h3 {
    font-size: 1.25rem;
    color: #1E293B;
    margin-bottom: 0.5rem;
}

.contact-card p a {
    color: #2563EB;
    text-decoration: none;
}

.contact-card p a:hover {
    text-decoration: underline;
}

form#contact-form {
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #1E293B;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #E2E8F0;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

button[type="submit"] {
    background: #2563EB;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
    width: 100%;
}

button[type="submit"]:hover {
    background: #1E40AF;
}

@media (max-width: 768px) {
    /* Riduci padding delle sezioni */
    section {
        padding: 2rem 1rem;
    }

    /* Titolo e sottotitolo centrati con margini ridotti */
    .services-header h2 {
        font-size: 1.8rem;
    }

    .services-header p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    /* Griglia delle card in singola colonna */
    .services-cards {
        grid-template-columns: 1fr; /* Una colonna */
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-card h3 {
        font-size: 1.2rem;
    }

    .service-card p {
        font-size: 0.95rem;
    }

    .examples ul li {
        font-size: 0.95rem;
    }

    .examples ul li::before {
        font-size: 1rem; /* Rimpicciolisci il punto */
    }

    /* Bottoni e altri elementi */
    .hero-buttons button {
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
    }
}

@media (max-width: 480px) {
    /* Titolo più piccolo */
    .services-header h2 {
        font-size: 1.5rem;
    }

    .services-header p {
        font-size: 0.9rem;
    }

    /* Riduci padding della card */
    .service-card {
        padding: 1rem;
    }

    /* Icone più piccole */
    .service-card h3 i {
        font-size: 1.2rem;
    }

    /* Esempi con meno margine */
    .examples ul li {
        font-size: 0.9rem;
        padding-left: 1.2rem;
    }

    .examples ul li::before {
        font-size: 0.8rem;
    }
}

/* Prima sezione: cartelle */
@media (max-width: 768px) {
    .features {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem; /* Spazio tra le cartelle */
    }

    .feature-card {
        width: 100%; /* Adatta ogni cartella alla larghezza dello schermo */
        max-width: 300px; /* Limita la dimensione massima */
    }
}



.secondary-button a {
    display: block;
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.paypal-btn {
    display: inline-block;
    background-color: #ffc439;
    color: #000;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
}

.paypal-btn:hover {
    background-color: #e0a800;
}
