/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    color: #1a1a1a;
}

h3 {
    font-size: 2rem;
    color: #2d2d2d;
}

h4 {
    font-size: 1.5rem;
    color: #404040;
}

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.highlight {
    color: #26A3DB;
    font-weight: 700;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.95) 100%);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.5rem 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo-img {
    height: 80px;
    width: auto;
    transition: transform 0.3s ease;
    display: block;
    max-width: 300px;
    object-fit: contain;
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    white-space: nowrap;
}

.nav-link:hover {
    color: #FF7100;
    background: rgba(255, 113, 0, 0.15);
    border-color: rgba(255, 113, 0, 0.3);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(135deg, #FF7100, #26A3DB);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-description {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #e74c3c;
    border-left: 4px solid #26A3DB;
}

.hero-image {
    animation: fadeInRight 0.8s ease-out;
}

.hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.cta-button.primary {
    background: linear-gradient(135deg, #FF7100, #e55a00);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 113, 0, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 113, 0, 0.4);
}

.cta-button.secondary {
    background: transparent;
    color: #FF7100;
    border: 2px solid #FF7100;
}

.cta-button.secondary:hover {
    background: #FF7100;
    color: white;
    transform: translateY(-2px);
}

.cta-button.large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

.cta-center {
    text-align: center;
    margin-top: 3rem;
}

.cta-center .cta-button {
    margin: 0 1rem;
}

/* Target Sections */
.target-sections {
    padding: 80px 0;
    background: white;
}

.target-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
    padding: 3rem;
    background: #f8f9fa;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.target-card.reverse {
    grid-template-columns: 1fr auto;
}

.target-card.reverse .target-content {
    order: -1;
}

.target-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #FF7100, #e55a00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    box-shadow: 0 10px 30px rgba(255, 113, 0, 0.3);
}

.target-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.target-content p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.7;
    font-weight: 500;
}

/* Why Choose Us */
.why-choose-us {
    padding: 80px 0;
    background: linear-gradient(135deg, #252362 0%, #1a1a4a 100%);
    color: white;
}

.why-choose-us h2 {
    color: white;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 3rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.value-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

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

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #26A3DB, #1e8bb8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
}

.value-icon svg {
    width: 40px;
    height: 40px;
}

.value-card h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.value-card p {
    color: #ccc;
    line-height: 1.6;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* Chi Siamo */
.chi-siamo {
    padding: 80px 0;
    background: white;
}

.story-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 4rem;
}

.story-text h3 {
    color: #FF7100;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.strengths ul {
    list-style: none;
    padding: 0;
}

.strengths li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.strengths li:last-child {
    border-bottom: none;
}

.story-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.strengths-grid {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.strength-item {
    flex: 1;
    min-width: 280px;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #FF7100;
}

.strength-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FF7100, #e55a00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.strength-content h4 {
    margin-bottom: 0.5rem;
    color: #1a1a1a;
    font-size: 1.1rem;
}

.strength-content p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
}

.social-commitment {
    background: #f8f9fa;
    padding: 3rem;
    border-radius: 16px;
    margin-bottom: 3rem;
}

.commitment-grid {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.commitment-card {
    flex: 1;
    min-width: 280px;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.commitment-card h4 {
    color: #FF7100;
    margin-bottom: 1rem;
}

/* Servizi Aziende */
.servizi-aziende {
    padding: 80px 0;
    background: white !important;
}

.servizi-aziende .section-header {
    margin-bottom: 1rem;
}

.servizi-aziende .section-header p {
    margin-bottom: 1rem;
}

.challenges-solutions {
    margin-bottom: 4rem;
    background: white !important;
    padding: 3rem;
    border-radius: 16px;
}

.challenges-solutions h3,
.services-types h3,
.process h3 {
    color: #1a1a1a !important;
    margin-bottom: 0.75rem;
}

.challenge-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 1rem;
}

.challenge-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.challenge-problem {
    background: #FF7100;
    color: white;
    padding: 2rem;
}

.challenge-problem h4 {
    color: white;
    margin-bottom: 1rem;
}

.challenge-problem p {
    color: rgba(255, 255, 255, 0.9);
}

.challenge-solution {
    padding: 2rem;
    background: #f8f9fa;
}

.challenge-solution h5 {
    color: #FF7100;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.services-types {
    margin-bottom: 4rem;
    background: white !important;
    padding: 3rem;
    border-radius: 16px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.service-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

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

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #26A3DB, #1e8bb8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 1rem;
    margin-left: auto;
    margin-right: auto;
}

.service-icon svg {
    fill: white;
    stroke: white;
    width: 30px;
    height: 30px;
}

/* Valutazione Voce Section - Azzurro Background */
.valutazione-voce {
    padding: 80px 0;
    background: linear-gradient(135deg, #26A3DB 0%, #1e8bb8 100%) !important;
    color: white;
}

.valutazione-voce .section-header h2 {
    color: white !important;
}

.valutazione-voce .section-header h3 {
    color: rgba(255, 255, 255, 0.9) !important;
}

.valutazione-voce .section-header p {
    color: rgba(255, 255, 255, 0.9) !important;
}

.valutazione-benefit {
    background: rgba(255, 255, 255, 0.95);
}

/* Process */
.process {
    margin-bottom: 4rem;
    background: white !important;
    padding: 3rem;
    border-radius: 16px;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 180px;
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FF7100, #e55a00);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step h4 {
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.step p {
    color: #666 !important;
    line-height: 1.6;
}

/* Coaching */
.coaching {
    padding: 80px 0;
    background: white;
}

.coaching-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    font-size: 1.1rem;
    color: #666;
}

.coaching-challenges {
    margin-bottom: 4rem;
}

.coaching-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.coaching-card {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

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

.coaching-problem {
    background: linear-gradient(135deg, #252362, #1a1a4a);
    color: white;
    padding: 2rem;
}

.coaching-problem h4 {
    color: white;
    margin-bottom: 1rem;
}

.coaching-problem p {
    color: #ffffff !important;
    font-weight: 500;
}

.coaching-solution {
    padding: 2rem;
    background: white;
}

.coaching-solution h5 {
    color: #FF7100;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.coaching-benefits {
    margin-bottom: 4rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #26A3DB, #1e8bb8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 1rem;
    margin-left: auto;
    margin-right: auto;
}

.benefit-icon svg {
    width: 30px;
    height: 30px;
}

.benefit-item h4 {
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.methodology {
    background: #f8f9fa;
    padding: 3rem;
    border-radius: 16px;
    margin-bottom: 3rem;
}

.methodology h3 {
    color: #FF7100;
    margin-bottom: 1.5rem;
}

/* Videocorso Section - New Layout */
.videocorso-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #26A3DB 0%, #1e8bb8 100%);
    color: white;
}

.videocorso-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.videocorso-section h2 {
    color: white;
    margin-bottom: 0.5rem;
}

.videocorso-section h3 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0;
}

.videocorso-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.videocorso-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
}

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

.videocorso-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #26A3DB, #1e8bb8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
}

.videocorso-card h4 {
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.videocorso-card p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.videocorso-cta {
    text-align: center;
}

.videocorso-cta .cta-button.primary {
    background: white;
    color: #26A3DB;
    border: 2px solid white;
}

.videocorso-cta .cta-button.primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

/* Portfolio - Fixed Grid Layout */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Blog - Fixed Grid Layout */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    .testimonials-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Valutazione Voce Section */
.valutazione-voce {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.valutazione-content {
    max-width: 1000px;
    margin: 0 auto;
}

.valutazione-benefits {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.valutazione-benefit {
    flex: 1;
    min-width: 280px;
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.valutazione-benefit:hover {
    transform: translateY(-5px);
}

.valutazione-benefit .benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #26A3DB, #1e8bb8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
}

.valutazione-benefit .benefit-icon svg {
    width: 40px;
    height: 40px;
}

.valutazione-benefit h4 {
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.valutazione-benefit p {
    color: #666;
    line-height: 1.6;
}

.valutazione-cta {
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .audiotipi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .videocorso-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .audiotipi-grid {
        grid-template-columns: 1fr !important;
    }
    
    .valutazione-benefits {
        flex-direction: column;
        align-items: center;
    }
    
    .valutazione-benefit {
        justify-content: center;
    }
    
    .analisi-content {
        flex-direction: column;
        text-align: center;
    }
    
    .videocorso-grid,
    .portfolio-grid,
    .blog-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .final-cta .cta-content h2 {
        font-size: 2rem;
    }
    
    .final-cta .cta-content p {
        font-size: 1.1rem;
    }
    
    /* Assicura che il portfolio sia sempre a singola colonna su mobile */
    .portfolio-grid {
        grid-template-columns: 1fr !important;
    }
  
    /* Assicura che il blog sia sempre a singola colonna su mobile */
  .blog-grid {
        grid-template-columns: 1fr !important; /* Aggiungi !important */
    }

      /* Assicura che le recensioni sia sempre a singola colonna su mobile */
  .testimonials-grid {
        grid-template-columns: 1fr !important; /* Aggiungi !important */
    }
    
    .partners-logos {
        justify-content: flex-start;
        gap: 1.5rem;
    }
    .partners-logos img {
        width: 80px; /* Aumentata la larghezza per tablet */
        height: 40px; /* Aumentata l'altezza per tablet */
    }
}

/* Portfolio */
.portfolio {
    padding: 80px 0;
    background: #f8f9fa;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid #FF7100;
    color: #FF7100;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: linear-gradient(135deg, #FF7100, #e55a00);
    color: white;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.portfolio-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.portfolio-image {
    height: 200px;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-content {
    padding: 2rem;
}

.portfolio-content h4 {
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.portfolio-tags {
    margin-top: 1rem;
}

.tag {
    display: inline-block;
    background: #FF7100;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Audiotipi Section */
.audiotipi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.audiotipo-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
    padding: 1.5rem;
}

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

.audiotipo-image {
    height: 180px;
    overflow: hidden;
    margin-bottom: 1rem;
    border-radius: 8px;
}

.audiotipo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.audiotipo-card:hover .audiotipo-image img {
    transform: scale(1.05);
}

.audiotipo-card h4 {
    margin-bottom: 0.5rem;
    color: #1a1a1a;
    font-size: 1.2rem;
}

.audiotipo-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

/* Audio Player Styling */
.audio-player {
    margin: 1rem 0;
    width: 100%;
}

.audio-player audio {
    width: 100%;
    height: 40px;
    border-radius: 8px;
    outline: none;
}

.audio-player audio::-webkit-media-controls-panel {
    background-color: #f8f9fa;
    border-radius: 8px;
}

.audio-player audio::-webkit-media-controls-play-button,
.audio-player audio::-webkit-media-controls-pause-button {
    background-color: #FF7100;
    border-radius: 50%;
}

.audio-player audio::-webkit-media-controls-volume-slider,
.audio-player audio::-webkit-media-controls-timeline {
    background-color: #26A3DB;
    border-radius: 4px;
}

/* Blog */
.blog {
    padding: 80px 0;
    background: white;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 2rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.blog-date {
    color: #FF7100;
}

.blog-category {
    background: #f8f9fa;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
}

.blog-content h3 {
    margin-bottom: 1rem;
    color: #1a1a1a;
    font-size: 1.3rem;
}

.read-more {
    color: #FF7100;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #e55a00;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.testimonials-grid {
    display: grid !important; /* Aggiungi !important */
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem !important; /* Aggiungi !important */
}

.testimonial-card {
    background: white;
    padding: 2.5rem; /* Padding originale */
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    /* Aggiungi le seguenti transizioni per una rivelazione fluida */
    transition: opacity 0.5s ease, visibility 0.5s ease, max-height 0.5s ease, padding 0.5s ease, margin 0.5s ease, transform 0.3s ease;
    max-height: 1000px; /* Un valore sufficientemente grande per contenere il contenuto */
    /* Assicurati che ogni card mantenga sempre la stessa struttura */
    width: 100%;
    box-sizing: border-box;
}

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

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: #26A3DB;
    font-family: serif;
}

.testimonial-content {
    margin-bottom: 2rem;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-info h4 {
    margin: 0;
    color: #1a1a1a;
    font-size: 1.1rem;
}

.author-info span {
    color: #666;
    font-size: 0.9rem;
}

/* Testimonial visibility control */
.testimonial-hidden {
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: 0;
    overflow: hidden; /* Cruciale per nascondere il contenuto quando max-height è 0 */
}

.testimonials .cta-center {
    margin-top: 3rem;
}

/* Final CTA */
.final-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #FF7100, #e55a00);
    color: white;
    text-align: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.final-cta .cta-button.primary {
    background: white;
    color: #FF7100;
}

.final-cta .cta-button.primary:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
}

/* Contact */
.contatti {
    padding: 80px 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3 {
    color: #FF7100;
    margin-bottom: 1.5rem;
}

.contact-methods {
    margin-top: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF7100;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-method h4 {
    margin: 0 0 0.5rem 0;
    color: #1a1a1a;
}

.contact-method p {
    margin: 0;
    color: #666;
}

.contact-form {
    background: #f8f9fa;
    padding: 3rem;
    border-radius: 16px;
}

.contact-form h3 {
    color: #FF7100;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FF7100;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-section h3 {
    color: #FF7100;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #FF7100;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #333;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background: #FF7100;
}

.social-links svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    text-align: center;
    color: #ccc;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-image {
        order: 2;
    }

    .hero-content {
        order: 1;
    }

    .hero-image img {
        width: 100%;
        height: 300px;
        object-fit: cover;
        border-radius: 12px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .target-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .target-card.reverse {
        grid-template-columns: 1fr;
    }

    .target-card.reverse .target-content {
        order: 0;
    }

    .story-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .strengths-grid {
        flex-direction: column;
    }

    .videocorso-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .valutazione-benefits {
        flex-direction: column;
        align-items: center;
    }
    
    .valutazione-benefit {
        max-width: 100%;
    }

    .values-grid {
        grid-template-columns: 1fr !important;
    }
    
    .challenge-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .coaching-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-center .cta-button {
        display: block;
        margin: 1rem auto;
        max-width: 300px;
    }
}

@media (max-width: 1024px) {
    .strengths-grid {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .challenge-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .coaching-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        flex-direction: column;
    }

    .portfolio-filters {
        justify-content: center;
    }

    .filter-btn {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }

    .commitment-grid {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .target-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    .value-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Forza singola colonna per schermi molto piccoli */
    .portfolio-grid {
        grid-template-columns: 1fr !important;
    }
  .blog-grid {
        grid-template-columns: 1fr !important;
    }
  .testimonials-grid {
        grid-template-columns: 1fr !important;
    }
    
    .partners-section {
        padding: 60px 0;
    }
    
    .partners-logos {
        gap: 1rem;
        padding: 1.5rem 0;
    }
    
    .partners-logos img {
        width: 60px; /* Aumentata la larghezza per mobile */
        height: 30px; /* Aumentata l'altezza per mobile */
        padding: 0.5rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.cta-button:focus,
.nav-link:focus,
.filter-btn:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #FF7100;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .navbar,
    .footer {
        display: none;
    }
    
    .hero {
        padding: 20px 0;
    }
    
    * {
        background: white !important;
        color: black !important;
    }
}

.challenge-solution p,
.service-item p,
.step p {
    color: #333 !important;
}

.challenge-problem p {
    color: #ffffff !important;
}

/* Valutazione Voce Section - Better Layout */
.valutazione-voce {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.valutazione-voce .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.valutazione-voce h2 {
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.valutazione-voce h3 {
    color: #666;
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 0;
}

.valutazione-content {
    max-width: 1000px;
    margin: 0 auto;
}

.valutazione-benefits {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.valutazione-benefit {
    flex: 1;
    min-width: 280px;
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.valutazione-benefit:hover {
    transform: translateY(-5px);
}

.valutazione-benefit .benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #26A3DB, #1e8bb8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
}

.valutazione-benefit .benefit-icon svg {
    width: 40px;
    height: 40px;
}

.valutazione-benefit h4 {
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.valutazione-benefit p {
    color: #666;
    line-height: 1.6;
}

.valutazione-cta {
    text-align: center;
}

/* Responsive adjustments for valutazione */
@media (max-width: 768px) {
    .valutazione-benefits {
        flex-direction: column;
        align-items: center;
    }
    
    .valutazione-benefit {
        max-width: 100%;
    }
}

.partners-logos img {
    flex-shrink: 0;
    width: 100px; /* Aumentata la larghezza per desktop */
    height: 50px; /* Aumentata l'altezza per desktop */
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
    scroll-snap-align: start;
}