/* Reset e stili base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    padding-top: 80px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Link generali */
a {
    text-decoration: none;
    color: #0294c0;
    transition: color 0.3s ease;
}

a:hover {
    color: #01708f;
}

/* Titoli */
h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    color: #0294c0;
}

h3 {
    font-size: 1.5rem;
    color: #0294c0;
}

img {
    max-width: 100%;
    height: auto;
}

/* Tipografia */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

p {
    margin-bottom: 20px;
}

/* Header e Hero */
.hero {
    background: linear-gradient(rgb(34, 117, 142), rgba(0, 0, 0, 0.8)), url('hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero h2 {
    color: white;
    margin-top: 10px;
    font-size: 1.5rem;
    font-weight: 500;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo img {
    height: 60px;
}

.phone {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid white;
    border-radius: 30px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 0;
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

/* Pulsante CTA */
.cta-button {
    display: inline-block;
    background-color: #f7951d;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 15px 30px;
    border-radius: 50px;
    transition: background-color 0.3s ease;
}

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

/* Testo evidenziato */
.highlight {
    font-size: 1.2rem;
    font-weight: 600;
    color: #0294c0;
    border-left: 4px solid #0294c0;
    padding-left: 15px;
    margin: 30px 0;
}

/* Lista con segni di spunta */
.for-who-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #0294c0;
    font-weight: bold;
}

/* Box citazione */
.quote {
    background-color: #0294c0;
    color: white;
    padding: 30px;
    border-radius: 10px;
    font-size: 1.2rem;
    font-style: italic;
    position: relative;
}

.quote:before {
    content: '"';
    font-size: 5rem;
    position: absolute;
    top: -20px;
    left: 10px;
    opacity: 0.2;
}

/* Nome autore */
.author {
    font-weight: 600;
    color: #0294c0;
}

/* Pulsante submit */
.submit-button {
    background-color: #f7951d;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #d17505;
}

/* Sezione Benefici */
.benefits {
    padding: 80px 0;
    background-color: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-card {
    background-color: #f5f9ff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
}

.icon {
    margin-bottom: 20px;
}

.icon img {
    height: 60px;
}

/* Sezione About */
.about {
    padding: 80px 0;
    background-color: #f5f9ff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Sezione Trattamenti */
.treatments {
    padding: 80px 0;
    background-color: white;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.treatments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.treatment-item {
    background-color: #f5f9ff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.treatment-item:hover {
    transform: translateY(-5px);
}

/* Sezione A Chi è Rivolto */
.for-who {
    padding: 80px 0;
    background-color: #f5f9ff;
}

.for-who-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.for-who-list {
    list-style-type: none;
}

.for-who-list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

/* Sezione Come Funziona */
.how-it-works {
    padding: 80px 0;
    background-color: white;
}

.steps {
    max-width: 800px;
    margin: 0 auto;
}

.step {
    margin-bottom: 50px;
    position: relative;
    padding-left: 80px;
}

.step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    background-color: #ffbf00;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}

/* Layout a due colonne per Come Funziona */
.how-it-works-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 50px;
}

.how-it-works-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Sezione Testimonianze */
.testimonials {
    padding: 80px 0;
    background-color: #f5f9ff;
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial .quote {
    background-color: transparent;
    color: #333;
    padding: 0;
    font-size: 1rem;
    margin-bottom: 20px;
}

.testimonial .quote:before {
    content: none;
}

/* Sezione Contatti */
.contact {
    padding: 80px 0;
    background-color: white;
}

.contact-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.contact-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 50px;
}

.contact-form {
    background-color: #f5f9ff;
    padding: 30px;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

input, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
}

.checkbox {
    display: flex;
    align-items: center;
}

.checkbox input {
    width: auto;
    margin-right: 10px;
}

.checkbox label {
    margin-bottom: 0;
}

.info-item {
    margin-bottom: 30px;
}

/* Footer */
footer {
    background-color: #003366;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    margin-bottom: 40px;
}

.footer-logo p {
    margin-top: 20px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-links ul {
    list-style-type: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #f7951d;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.footer-bottom a {
    color: #f7951d;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

.review-link a {
    color: #f7951d;
}

.review-link a:hover {
    text-decoration: underline;
}

/* Icone social */
.social-icon {
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    border-radius: 50%;
    padding: 5px;
}

.social-icon:hover {
    border-color: #f7951d;
}

.social-icon img {
    height: 24px;
    filter: brightness(0) saturate(100%) invert(65%) sepia(54%) saturate(1552%) hue-rotate(346deg) brightness(101%) contrast(96%);
    transition: all 0.3s ease;
    opacity: 0.8;
}

.social-icon:hover img {
    filter: brightness(0) saturate(100%) invert(65%) sepia(54%) saturate(1552%) hue-rotate(346deg) brightness(101%) contrast(96%);
    transform: scale(1.1);
    opacity: 1;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

/* Top Navbar */
.top-navbar {
    background-color: #ffffff;
    width: 98%;
    margin: 0 auto;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
    z-index: 100;
}

.navbar-container {
    display: flex;
    justify-content: flex-end;
    padding: 10px 20px;
}

.navbar-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.navbar-links li {
    margin-left: 20px;
}

.navbar-links li:first-child {
    margin-left: 0;
}

.navbar-links a {
    color: #333;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 0;
    position: relative;
}

.navbar-links a:hover {
    color: #0294c0;
}

.navbar-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #0066cc;
    transition: width 0.3s ease;
}

.navbar-links a:hover:after {
    width: 100%;
}

/* Header principale */
.main-header {
    background-color: #22758e;
    color: white;
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
height: auto;
  display: block;
  width: 180px;
}
}

/* Menu responsivo */
.topnav {
    overflow: hidden;
    flex-grow: 1;
    margin: 0 30px;
}

.topnav a {
    float: left;
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.topnav a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.topnav a.active {
    background-color: #f7951d;
    color: white;
}

.topnav .icon {
    display: none;
}

.contact-info .phone {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-block;
    padding: 8px 15px;
    border: 2px solid white;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-info .phone:hover {
    background-color: white;
    color: #22758e;
}

/* Sezione Sedi */
.locations {
    padding: 80px 0;
    background-color: #f5f9ff;
}

.locations-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.location-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.location-card:hover {
    transform: translateY(-5px);
}

.location-card h3 {
    text-align: center;
    margin-bottom: 25px;
    color: #0294c0;
    font-size: 1.8rem;
}

.location-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.location-item {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.location-item:last-child {
    border-bottom: none;
}

.location-item h4 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.location-item p {
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.location-item em {
    color: #0294c0;
    font-style: italic;
    font-weight: 500;
}

.location-icon {
    color: #0294c0;
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Copyright Bar */
.copyright-bar {
    background-color: #000000;
    color: #ffffff;
    padding: 15px 0;
}

.copyright-bar a {
    color: #f7951d;
    transition: all 0.3s ease;
}

.copyright-bar a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Sezione Network dei siti web */
.network {
    padding: 80px 0;
    background-color: white;
}

.network-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.network-item {
    background-color: #f5f9ff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.network-item:hover {
    transform: translateY(-5px);
}

.network-item h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #0294c0;
}

.network-item h3 a {
    color: #0294c0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.network-item h3 a:hover {
    color: #f7951d;
}

.link-out-icon {
    color: #f7951d;
    margin-left: 5px;
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

.network-item h3 a:hover .link-out-icon {
    transform: translateX(2px);
}

.network-item p {
    margin-bottom: 0;
    color: #555;
    line-height: 1.6;
}

/* Sezione Team */
.team {
    padding: 80px 0;
    background-color: #f5f9ff;
}

.team-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px;
}

.team-grid {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-top: 50px;
}

.team-category {
    margin-bottom: 30px;
}

.team-category h3 {
    text-align: center;
    margin-bottom: 30px;
    color: #0294c0;
    padding-bottom: 10px;
    border-bottom: 2px solid #f7951d;
    display: inline-block;
}

.team-members {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.team-member {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-info {
    padding: 20px;
}

.member-info h4 {
    color: #0294c0;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.member-title {
    font-weight: 500;
    margin-bottom: 5px;
    color: #333;
}

.member-role {
    color: #f7951d;
    font-weight: 600;
    margin-bottom: 10px;
}

.member-bio {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: #666;
}

.cv-link {
    display: inline-block;
    color: #0294c0;
    font-weight: 500;
    margin-top: 10px;
    text-decoration: underline;
}

.cv-link:hover {
    color: #f7951d;
}

/* Icone decorative */
.section-icon {
    color: #f7951d;
    margin-right: 10px;
    font-size: 0.8em;
}

.treatment-icon {
    color: #f7951d;
    margin-right: 8px;
    font-size: 0.9em;
}

.contact-icon {
    color: #f7951d;
    margin-right: 5px;
}

.step-icon {
    color: #f7951d;
    margin-right: 8px;
}

.benefit-icon {
    color: #f7951d;
    margin-right: 8px;
    font-size: 0.9em;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .about-content,
    .for-who-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-content {
        padding: 40px 0;
    }
    
    .benefit-card,
    .treatment-item {
        padding: 20px;
    }
    
    .step {
        padding-left: 70px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .navbar-container {
        justify-content: center;
    }
    
    .navbar-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .navbar-links li {
        margin: 0 10px;
    }
    
    .locations-grid {
        grid-template-columns: 1fr;
    }
    
    .location-details {
        grid-template-columns: 1fr;
    }
    
    .network-grid {
        grid-template-columns: 1fr;
    }
    
    .team-members {
        grid-template-columns: 1fr;
    }
    
    .team-category h3 {
        display: block;
        text-align: center;
    }
    
    .how-it-works-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .how-it-works-image {
        order: -1; /* Mette l'immagine sopra su mobile */
    }
}

/* Responsive per dispositivi mobili */
@media screen and (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
        position: relative;
    }
    
    .logo {
        margin-bottom: 10px;
    }
    
    .topnav {
        margin: 0;
        width: 100%;
    }
    
    .topnav a:not(:first-child) {
        display: none;
    }
    
    .topnav a.icon {
        float: right;
        display: block;
        position: absolute;
        right: 0;
        top: 0;
        padding: 6px 6px;
        font-size: 18px;
    }
    
    .topnav.responsive {
        position: relative;
    }
    
    .topnav.responsive .icon {
        position: absolute;
        right: 0;
        top: 0;
    }
    
    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
        background-color: #22758e;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .contact-info {
        margin-top: 15px;
        width: 100%;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
  .logo img {
    height: auto;
    width: 70%;
  }
    
    .topnav a {
        padding: 12px 14px;
        font-size: 14px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero h2 {
        font-size: 1.2rem;
    }
    
    body {
        padding-top: 70px;
    }
    nav {display: block;padding: 0px}
}