/* Reset e stili di base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

/* Header principale */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    flex: 1;
}

.main-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    font-style: italic;
}

.admin-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-btn, .logout-btn {
    background-color: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    padding: 8px 16px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.admin-btn:hover, .logout-btn:hover {
    background-color: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    background-color: #2c3e50;
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #3498db;
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 3rem 2rem;
    margin: 2rem 0;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.95;
}

/* Sezioni */
.eventi-section, .info-section {
    margin: 3rem 0;
}

.section-title {
    color: #2c3e50;
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 10px auto;
    border-radius: 2px;
}

/* Eventi Grid */
.eventi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.evento-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.evento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.evento-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.evento-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.evento-card:hover .evento-image img {
    transform: scale(1.05);
}

.evento-content {
    padding: 1.5rem;
}

.evento-content h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.evento-data {
    color: #667eea;
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.evento-descrizione {
    color: #666;
    line-height: 1.6;
}

/* No eventi message */
.no-eventi {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.no-eventi p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 4rem 2rem;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* Content Section */
.content-section {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.content-section h1 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.lead {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

/* Features Grid */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.feature-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Corsi Grid */
.corsi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.corso-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.corso-card:hover {
    transform: translateY(-5px);
}

.corso-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.corso-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.prezzo {
    font-size: 1.3rem;
    font-weight: bold;
    color: #e74c3c;
    margin-bottom: 1.5rem;
}

.btn-iscrizione {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.btn-iscrizione:hover {
    background-color: #2980b9;
}

/* LOGIN STYLES */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.login-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 400px;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header h1 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.login-header h2 {
    color: #666;
    font-size: 1.2rem;
    font-weight: 400;
}

.login-form {
    margin: 2rem 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.login-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.error-message {
    background-color: #fee;
    color: #c33;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid #c33;
}

.login-footer {
    text-align: center;
    margin-top: 2rem;
}

.back-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #764ba2;
}

/* ADMIN PANEL STYLES */
.admin-content {
    background: transparent;
}

.admin-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-primary, .btn-secondary, .btn-edit, .btn-delete, .btn-toggle, .btn-save, .btn-cancel {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    margin: 0 4px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-secondary {
    background-color: #f8f9fa;
    color: #495057;
    border: 2px solid #6c757d;
    font-weight: 600;
}

.btn-save {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 10px 20px;
    font-size: 1rem;
}

.btn-save:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.btn-cancel {
    background-color: #dc3545;
    color: white;
    padding: 10px 20px;
    font-size: 1rem;
}

.btn-cancel:hover {
    background-color: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.form-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.btn-edit {
    background-color: #28a745;
    color: white;
}

.btn-delete {
    background-color: #dc3545;
    color: white;
}

.btn-toggle {
    background-color: #ffc107;
    color: #333;
}

.btn-primary:hover, .btn-edit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.event-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
}

.admin-eventi-grid {
    display: grid;
    gap: 1.5rem;
}

.admin-evento-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.admin-evento-card.inactive {
    opacity: 0.6;
    background-color: #f8f9fa;
}

.evento-info h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.evento-immagine {
    width: 180px;
    height: 120px;
    margin: 1rem 0;
    overflow: hidden;
    border-radius: 8px;
    border: 2px solid #e1e8ed;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: relative;
}

.evento-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.evento-immagine:hover .evento-thumbnail {
    transform: scale(1.05);
}

.evento-actions {
    display: flex;
    gap: 0.5rem;
}

.active-status {
    color: #28a745;
    font-weight: bold;
}

.inactive-status {
    color: #dc3545;
    font-weight: bold;
}

/* IMAGE UPLOAD STYLES */
.image-upload-section {
    border: 2px dashed #e1e8ed;
    border-radius: 12px;
    padding: 1.5rem;
    background-color: #f8f9fa;
    margin-top: 0.5rem;
}

.upload-option {
    text-align: center;
    margin-bottom: 1rem;
}

.upload-btn {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.upload-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}


.upload-status {
    margin-top: 1rem;
    text-align: center;
}

.upload-status .success {
    color: #28a745;
    font-weight: 500;
}

.upload-status .error {
    color: #dc3545;
    font-weight: 500;
}

.upload-status .warning {
    color: #ffc107;
    font-weight: 500;
}

.upload-status .uploading {
    color: #667eea;
    font-weight: 500;
}

.image-preview {
    margin-top: 1rem;
    text-align: center;
}

.preview-img {
    max-width: 300px;
    max-height: 200px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    object-fit: cover;
}

.preview-text {
    margin-top: 0.5rem;
    color: #28a745;
    font-weight: 500;
    font-size: 0.9rem;
}

/* CONTATTI STYLES */
.contatti-section {
    margin: 2rem 0;
}

.contatti-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contatti-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.contatti-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.contatti-card.main-info {
    grid-column: span 1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contatti-card h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.contatti-card.main-info h3 {
    color: white;
}

.info-details p {
    margin: 0.5rem 0;
    line-height: 1.6;
}

.phone-number a,
.email-address a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.phone-number a:hover,
.email-address a:hover {
    color: #764ba2;
}

.contatti-card.main-info .phone-number a,
.contatti-card.main-info .email-address a {
    color: white;
}

.whatsapp-link a {
    background-color: #25D366;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-block;
    margin-top: 0.5rem;
    transition: background-color 0.3s ease;
}

.whatsapp-link a:hover {
    background-color: #20b956;
}

.note {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    margin-top: 0.5rem;
}

.contatti-card.main-info .note {
    color: rgba(255,255,255,0.8);
}

/* Extra Info Section */
.extra-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.orari-info,
.come-raggiungerci {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.orari-info h3,
.come-raggiungerci h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.orari-grid {
    display: grid;
    gap: 1rem;
}

.orario-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.giorno {
    font-weight: 600;
    color: #2c3e50;
}

.ora {
    color: #667eea;
    font-weight: 500;
}

.come-raggiungerci p {
    margin-bottom: 1rem;
    color: #666;
    line-height: 1.6;
}

.come-raggiungerci ul {
    list-style: none;
    padding: 0;
}

.come-raggiungerci li {
    margin: 0.8rem 0;
    padding: 0.8rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.come-raggiungerci strong {
    color: #2c3e50;
}

/* INSEGNANTI STYLES */
.insegnanti-section {
    margin: 2rem 0;
}

.section-description {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.insegnanti-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.insegnante-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.insegnante-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.insegnante-photo {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.insegnante-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.insegnante-card:hover .insegnante-photo img {
    transform: scale(1.05);
}

.insegnante-info {
    padding: 1.5rem;
}

.insegnante-info h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.specializzazione {
    color: #667eea;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.strumenti {
    margin-bottom: 1rem;
    color: #666;
}

.strumenti strong {
    color: #2c3e50;
}

.esperienza {
    margin-bottom: 1rem;
}

.anni-exp {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.corsi {
    margin-bottom: 1.2rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid #eee;
}

.corsi strong {
    color: #2c3e50;
    font-weight: 600;
}

.curriculum-preview {
    color: #666;
    line-height: 1.6;
    margin-top: 1.2rem;
    margin-bottom: 1.5rem;
    padding-top: 0.5rem;
}

.insegnante-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn-dettaglio {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-dettaglio:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-contatta {
    background-color: #28a745;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn-contatta:hover {
    background-color: #20a039;
}

.no-insegnanti {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Teaching Approach Section */
.teaching-approach {
    margin-top: 3rem;
}

.teaching-approach h2 {
    text-align: center;
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.approach-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.approach-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.approach-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.approach-card h3 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.approach-card p {
    color: #666;
    line-height: 1.6;
}

/* INSEGNANTE DETAIL STYLES */
.insegnante-detail {
    margin: 2rem 0;
}

.insegnante-header {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.insegnante-photo-large {
    position: relative;
}

.insegnante-photo-large img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.insegnante-header-info h1 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.specializzazione-large {
    color: #667eea;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.contact-info p {
    margin: 0.5rem 0;
    font-size: 1rem;
}

.contact-info a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.contact-info a:hover {
    color: #764ba2;
}

.insegnante-content {
    display: grid;
    gap: 2rem;
}

.curriculum-section,
.competenze-section,
.contatta-section {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.curriculum-section h3,
.competenze-section h3,
.contatta-section h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.curriculum-text {
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
}

.competenze-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.competenze-card {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

.competenze-card h4 {
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.strumenti-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.strumento-tag {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.esperienza-detail {
    text-align: center;
}

.anni-numero {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.anni-testo {
    color: #666;
    font-size: 0.9rem;
}

.specializzazione-detail {
    color: #666;
    font-style: italic;
}

.contatta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.btn-contatta-large,
.btn-segreteria {
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-contatta-large {
    background-color: #28a745;
    color: white;
}

.btn-contatta-large:hover {
    background-color: #20a039;
    transform: translateY(-2px);
}

.btn-segreteria {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-segreteria:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* ADMIN TEACHERS STYLES */
.teacher-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group.half {
    margin-bottom: 1rem;
}

.strumenti-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.checkbox-label:hover {
    background-color: #f8f9fa;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 0.5rem;
}

.checkmark {
    font-size: 0.9rem;
}

/* Corsi selection grid - enhanced style */
.corsi-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.corso-checkbox-card {
    position: relative;
    cursor: pointer;
    display: block;
}

.corso-checkbox-card input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.corso-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 1rem;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    transition: all 0.3s ease;
    min-height: 100px;
    position: relative;
}

.corso-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease;
}

.corso-name {
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    color: #333;
    line-height: 1.3;
}

.check-indicator {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: #4CAF50;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

/* Hover effect */
.corso-checkbox-card:hover .corso-card-content {
    border-color: #4CAF50;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.15);
    transform: translateY(-2px);
}

.corso-checkbox-card:hover .corso-icon {
    transform: scale(1.1);
}

/* Checked state */
.corso-checkbox-card input[type="checkbox"]:checked + .corso-card-content {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    border-color: #4CAF50;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.corso-checkbox-card input[type="checkbox"]:checked + .corso-card-content .corso-name {
    color: white;
    font-weight: 600;
}

.corso-checkbox-card input[type="checkbox"]:checked + .corso-card-content .corso-icon {
    transform: scale(1.15);
}

.corso-checkbox-card input[type="checkbox"]:checked + .corso-card-content .check-indicator {
    opacity: 1;
    transform: scale(1);
}

/* Focus state for accessibility */
.corso-checkbox-card input[type="checkbox"]:focus + .corso-card-content {
    outline: 2px solid #4CAF50;
    outline-offset: 2px;
}

.admin-insegnanti-grid {
    display: grid;
    gap: 1.5rem;
}

.admin-insegnante-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 1rem;
    align-items: center;
    transition: all 0.3s ease;
}

.admin-insegnante-card.inactive {
    opacity: 0.6;
    background-color: #f8f9fa;
}

.teacher-photo-small {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
}

.teacher-photo-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.insegnante-info h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.specializzazione-small,
.strumenti-small,
.esperienza-small,
.email-small {
    font-size: 0.9rem;
    margin: 0.2rem 0;
}

.specializzazione-small {
    color: #667eea;
    font-weight: 500;
}

.strumenti-small,
.esperienza-small,
.email-small {
    color: #666;
}

.status-small {
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.current-image {
    margin-bottom: 1rem;
}

.current-image p {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #666;
}

.current-photo {
    max-width: 150px;
    max-height: 150px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    object-fit: cover;
}

/* CORSI OVERVIEW STYLES */
.corsi-overview {
    margin: 2rem 0;
}

.corsi-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 3rem;
    margin: 3rem 0;
}

.category-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.category-card.individual-courses {
    border-color: #667eea;
}

.category-card.group-courses {
    border-color: #28a745;
}

.category-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.category-card h2 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.category-description {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.category-highlights ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.category-highlights li {
    padding: 0.5rem 0;
    color: #333;
    font-weight: 500;
}

.category-highlights li::before {
    content: "✓ ";
    color: #28a745;
    font-weight: bold;
    margin-right: 0.5rem;
}

.category-preview {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.preview-item, .preview-more {
    background-color: #f8f9fa;
    color: #333;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.preview-more {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-category {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-category:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* FAQ STYLES */
.faq-search {
    margin: 2rem 0;
    text-align: center;
}

.search-container {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.search-container input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 2px solid #e1e8ed;
    border-radius: 25px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-container input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.search-clear {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #666;
    cursor: pointer;
    display: none;
    padding: 5px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.search-clear:hover {
    background-color: #f8f9fa;
}

.faq-navigation {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    text-align: center;
}

.faq-navigation h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.nav-quick-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-quick-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.faq-container {
    margin: 2rem 0;
}

.faq-category {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    overflow: hidden;
}

.category-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.category-header:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

.category-header h2 {
    margin: 0;
    font-size: 1.4rem;
    flex: 1;
    margin-left: 1rem;
}

.category-icon {
    font-size: 1.5rem;
}

.toggle-icon {
    font-size: 1.5rem;
    font-weight: bold;
    min-width: 20px;
    text-align: center;
}

.category-content {
    display: none;
    padding: 0 0 1rem 0;
}

.faq-item {
    border-bottom: 1px solid #f1f3f4;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-question span:first-child {
    flex: 1;
    font-weight: 600;
    color: #2c3e50;
    font-size: 1rem;
}

.faq-toggle {
    font-size: 1.2rem;
    font-weight: bold;
    color: #667eea;
    margin-left: 1rem;
    min-width: 20px;
    text-align: center;
}

.faq-answer {
    display: none;
    padding: 1.5rem 2rem 2rem 2rem;
    background-color: #f8f9fa;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.faq-cta {
    margin-top: 1rem;
}

.faq-contact {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    margin-top: 3rem;
}

.faq-contact h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.faq-contact p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Responsive FAQ Styles */
@media (max-width: 768px) {
    .category-header {
        padding: 1rem 1.5rem;
    }

    .category-header h2 {
        font-size: 1.2rem;
    }

    .faq-question {
        padding: 1rem 1.5rem;
    }

    .faq-answer {
        padding: 1rem 1.5rem 1.5rem 1.5rem;
    }

    .nav-links {
        gap: 0.5rem;
    }

    .nav-quick-link {
        padding: 8px 15px;
        font-size: 0.8rem;
    }

    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* SMART CONTACT FORM STYLES */
.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border: 3px solid transparent;
    text-align: center;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: #667eea;
}

.contact-card .card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.contact-card h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.contact-card .card-arrow {
    position: absolute;
    bottom: 1.5rem;
    right: 2rem;
    font-size: 1.5rem;
    color: #667eea;
    font-weight: bold;
}

.contact-info-section {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    margin-top: 3rem;
}

.contact-info-section h2 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
}

.info-icon {
    font-size: 2rem;
    margin-top: 0.5rem;
}

.info-content h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.info-content p {
    color: #666;
    margin: 0.2rem 0;
}

.info-content a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.info-content a:hover {
    color: #764ba2;
}

/* FORM OVERLAY AND MODAL */
.form-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.form-container {
    background: white;
    border-radius: 20px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.form-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
}

.form-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.form-close {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.form-close:hover {
    background-color: rgba(255,255,255,0.2);
}

.form-content {
    padding: 2rem;
}

/* SMART FORM STYLES */
.smart-form {
    max-width: none;
}

.form-progress {
    background-color: #f8f9fa;
    height: 8px;
    border-radius: 4px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 4px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group label.checkbox-label {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
}

.form-group label.checkbox-label input[type="checkbox"] {
    width: auto;
    padding: 0;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group input.valid {
    border-color: #28a745;
    background-color: #f8fff9;
}

.form-group input.invalid {
    border-color: #dc3545;
    background-color: #fff8f8;
}

.field-feedback {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    min-height: 1.2rem;
}

.field-feedback.error {
    color: #dc3545;
}

.minor-notice {
    background-color: #fff3cd;
    color: #856404;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    border-left: 4px solid #ffc107;
}

.form-sections h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin: 2rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f1f3f4;
}

.consent-section {
    margin-top: 1.5rem;
}

.checkbox-group {
    margin-bottom: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.checkbox-label:hover {
    background-color: #f8f9fa;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.2rem;
}

.service-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.teacher-info {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 0.5rem;
}

.teacher-preview {
    color: #666;
    font-size: 0.9rem;
}

.file-info {
    margin-top: 0.5rem;
}

.file-info small {
    color: #666;
    font-size: 0.85rem;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #f1f3f4;
}

.form-actions button {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.form-actions .btn-secondary {
    background-color: #f8f9fa;
    color: #495057;
    border: 2px solid #6c757d;
    font-weight: 600;
}

.form-actions .btn-secondary:hover {
    background-color: #6c757d;
    color: white;
    border-color: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

.form-actions .cta-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.form-actions .cta-button:disabled {
    background: #cccccc;
    cursor: not-allowed;
    opacity: 0.6;
}

.form-actions .cta-button.ready {
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transform: translateY(-2px);
}

.form-actions .cta-button:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* SUCCESS MESSAGE */
.success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.success-message {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.success-message h2 {
    color: #28a745;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.success-message p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* RESPONSIVE STYLES */
@media (max-width: 768px) {
    .contact-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-card {
        padding: 1.5rem;
    }

    .form-overlay {
        padding: 1rem;
    }

    .form-container {
        max-height: 95vh;
    }

    .form-header {
        padding: 1.5rem;
    }

    .form-content {
        padding: 1.5rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .info-item {
        text-align: center;
        flex-direction: column;
        align-items: center;
    }

    .form-actions {
        flex-direction: column-reverse;
        gap: 0.5rem;
    }

    .form-actions button {
        width: 100%;
    }
}

/* TRIAL LESSON BOOKING STYLES */
.trial-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 2rem;
    margin: 2rem 0;
    border-radius: 20px;
    text-align: center;
}

.trial-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.highlight {
    background: linear-gradient(45deg, #ffd700, #ff8c00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.trial-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.benefit-card p {
    opacity: 0.9;
    font-size: 0.9rem;
}

.cta-hero-button {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 20px 40px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.cta-hero-button:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* BOOKING STEPS */
.booking-step {
    margin: 2rem 0;
}

.step-header {
    text-align: center;
    margin-bottom: 3rem;
}

.step-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    gap: 0.5rem;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e1e8ed;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: all 0.3s ease;
}

.step-number.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.step-number.completed {
    background: #28a745;
    color: white;
}

.step-line {
    width: 60px;
    height: 3px;
    background: #e1e8ed;
    transition: all 0.3s ease;
}

.step-line.completed {
    background: #28a745;
}

.step-header h2 {
    color: #2c3e50;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.step-header p {
    color: #666;
    font-size: 1.1rem;
}

/* FORM STYLING */
.trial-form {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.form-section {
    margin-bottom: 3rem;
}

.form-section h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f1f3f4;
}

.phone-input {
    display: flex;
    align-items: center;
}

.phone-prefix {
    background: #f8f9fa;
    padding: 12px 16px;
    border: 2px solid #e1e8ed;
    border-right: none;
    border-radius: 8px 0 0 8px;
    color: #666;
    font-weight: 500;
}

.phone-input input {
    border-radius: 0 8px 8px 0 !important;
    flex: 1;
}

.minor-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #856404;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    border-left: 4px solid #ffc107;
}

/* INSTRUMENTS SELECTION */
.instruments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.instrument-option {
    border: 3px solid #e1e8ed;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.instrument-option:hover {
    border-color: #667eea;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.instrument-option.selected {
    border-color: #667eea;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.instrument-option input[type="radio"] {
    display: none;
}

.instrument-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.instrument-option label {
    cursor: pointer;
    font-weight: 600;
}

.instrument-option.special {
    border-style: dashed;
    background: #f8f9fa;
}

/* EXPERIENCE SELECTION */
.experience-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.experience-option {
    border: 2px solid #e1e8ed;
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.experience-option:hover {
    border-color: #667eea;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.1);
}

.experience-option.selected {
    border-color: #667eea;
    background: #f8f9ff;
}

.experience-option input[type="radio"] {
    display: none;
}

.experience-content h4 {
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.experience-content p {
    color: #666;
    font-size: 0.9rem;
}

.experience-details {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.experience-details label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    display: block;
}

.experience-details select {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
}

.optional {
    color: #666;
    font-weight: 400;
    font-size: 0.9rem;
}

.note-examples {
    margin-top: 0.5rem;
}

.note-examples small {
    color: #666;
    font-style: italic;
}

/* TEACHER SELECTION */
.teacher-selection {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.selection-mode {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.mode-option {
    padding: 2rem;
    border: 3px solid #e1e8ed;
    border-radius: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mode-option:hover {
    border-color: #667eea;
    transform: translateY(-2px);
}

.mode-option.active {
    border-color: #667eea;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8ecff 100%);
}

.mode-option h3 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.mode-option h3 i {
    margin-right: 0.5rem;
    color: #667eea;
}

.mode-option p {
    color: #666;
    font-size: 0.9rem;
}

.teachers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.teacher-card {
    border: 3px solid #e1e8ed;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.teacher-card:hover {
    border-color: #667eea;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.teacher-card.selected {
    border-color: #667eea;
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.2);
}

.teacher-photo {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.teacher-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.teacher-rating {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

.teacher-info {
    padding: 1.5rem;
}

.teacher-info h4 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.teacher-title {
    color: #667eea;
    font-weight: 600;
    margin-bottom: 1rem;
}

.teacher-specializations {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-bottom: 1rem;
}

.spec-tag {
    background: #f8f9fa;
    color: #666;
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 500;
}

.teacher-experience {
    color: #28a745;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.teacher-bio {
    color: #666;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.btn-teacher-calendar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    width: 100%;
}

.btn-teacher-calendar:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* AUTO ASSIGN */
.auto-assign-explanation {
    text-align: center;
}

.auto-assign-card {
    background: #f8f9fa;
    border: 2px dashed #667eea;
    border-radius: 20px;
    padding: 3rem 2rem;
}

.auto-assign-icon {
    font-size: 4rem;
    color: #667eea;
    margin-bottom: 1.5rem;
}

.auto-assign-content h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.auto-assign-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.auto-assign-content ul {
    text-align: left;
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.auto-assign-content li {
    padding: 0.5rem 0;
    color: #666;
}

.auto-assign-content li i {
    color: #28a745;
    margin-right: 0.5rem;
}

.available-slots-preview h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.slots-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.slot-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* CALENDAR STYLES */
.calendar-section {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.calendar-nav {
    background: #f8f9fa;
    border: 2px solid #e1e8ed;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar-nav:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.calendar-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.calendar-legend {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
}

.legend-color.available {
    background: #28a745;
}

.legend-color.limited {
    background: #ffc107;
}

.legend-color.occupied {
    background: #dc3545;
}

.legend-color.unavailable {
    background: #6c757d;
}

.calendar-notes {
    text-align: right;
}

.calendar-notes p {
    margin: 0.2rem 0;
    color: #666;
    font-size: 0.9rem;
}

.calendar-notes i {
    margin-right: 0.3rem;
    color: #667eea;
}

.calendar-grid {
    border: 1px solid #e1e8ed;
    border-radius: 10px;
    overflow: hidden;
}

.calendar-header-row {
    display: grid;
    grid-template-columns: 80px repeat(7, 1fr);
    background: #f8f9fa;
    border-bottom: 1px solid #e1e8ed;
}

.time-column {
    padding: 1rem 0.5rem;
    text-align: center;
    font-weight: 600;
    color: #2c3e50;
}

.day-column {
    padding: 1rem 0.5rem;
    text-align: center;
    font-weight: 600;
    color: #2c3e50;
    border-left: 1px solid #e1e8ed;
}

.calendar-row {
    display: grid;
    grid-template-columns: 80px repeat(7, 1fr);
    border-bottom: 1px solid #e1e8ed;
}

.time-slot {
    padding: 1rem 0.5rem;
    text-align: center;
    background: #f8f9fa;
    color: #666;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.appointment-slot {
    padding: 1rem 0.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 1px solid #e1e8ed;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.appointment-slot.available {
    background: #9be3ac;
    color: #155724;
}

.appointment-slot.available:hover {
    background: #c3e6cb;
    transform: scale(1.05);
}

.appointment-slot.limited {
    background: #fff3cd;
    color: #856404;
}

.appointment-slot.limited:hover {
    background: #ffeaa7;
    transform: scale(1.05);
}

.appointment-slot.occupied {
    background: #f8d7da;
    color: #721c24;
    cursor: not-allowed;
}

.appointment-slot.unavailable {
    background: #e2e3e5;
    color: #6c757d;
    cursor: not-allowed;
}

.appointment-slot.selected {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.3);
}

/* STEP ACTIONS */
.step-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    gap: 1rem;
}

.step-actions button {
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary {
    background-color: #f8f9fa;
    color: #495057;
    border: 2px solid #6c757d;
    font-weight: 600;
}

.btn-secondary:hover {
    background-color: #6c757d;
    color: white;
    border-color: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-primary:disabled {
    background: #cccccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
}

.btn-success:disabled {
    background: #cccccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* CONFIRMATION SECTION */
.confirmation-section {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.booking-summary {
    display: grid;
    gap: 2rem;
}

.summary-card,
.checklist-card,
.expectations-card {
    padding: 2rem;
    border: 2px solid #f1f3f4;
    border-radius: 15px;
    background: #fafafa;
}

.summary-card h3,
.checklist-card h3,
.expectations-card h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.summary-card h3 i {
    color: #667eea;
}

.summary-details {
    display: grid;
    gap: 1rem;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.summary-item i {
    color: #667eea;
    font-size: 1.2rem;
    width: 20px;
}

.checklist {
    display: grid;
    gap: 1rem;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    cursor: pointer;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.checklist-item:hover {
    background: #f8f9ff;
}

.checklist-item input[type="checkbox"] {
    margin-top: 0.2rem;
}

.checklist-item a {
    color: #667eea;
    text-decoration: none;
}

.checklist-item a:hover {
    text-decoration: underline;
}

.expectations-list {
    display: grid;
    gap: 1rem;
}

.expectation-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
}

.expectation-item i {
    color: #28a745;
    font-size: 1.2rem;
    width: 20px;
}

/* SUCCESS PAGE */
.success-section {
    text-align: center;
    padding: 4rem 2rem;
}

.success-icon {
    font-size: 6rem;
    color: #28a745;
    margin-bottom: 2rem;
}

.success-section h1 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.success-subtitle {
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.success-summary {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
}

.success-booking-card {
    display: grid;
    gap: 1.5rem;
}

.booking-detail {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 15px;
    border-left: 4px solid #28a745;
    text-align: left;
}

.booking-detail i {
    color: #28a745;
    font-size: 1.5rem;
    width: 25px;
}

.booking-detail strong {
    color: #2c3e50;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.2rem;
}

.booking-detail p {
    color: #666;
    margin: 0;
}

.success-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.success-actions button,
.success-actions a {
    padding: 15px 25px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-calendar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-share {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.btn-home {
    background: #6c757d;
    color: white;
}

.success-actions button:hover,
.success-actions a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.success-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: left;
}

.info-card h3 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-card h3 i {
    color: #667eea;
}

.info-card p {
    color: #666;
    line-height: 1.6;
}

/* RESPONSIVE STYLES */
@media (max-width: 768px) {
    .trial-title {
        font-size: 2.2rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .selection-mode {
        grid-template-columns: 1fr;
    }

    .teachers-grid {
        grid-template-columns: 1fr;
    }

    .calendar-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .calendar-info {
        flex-direction: column;
        gap: 1rem;
    }

    .calendar-legend {
        justify-content: center;
    }

    .calendar-notes {
        text-align: center;
    }

    .calendar-grid {
        font-size: 0.8rem;
    }

    .calendar-header-row,
    .calendar-row {
        grid-template-columns: 60px repeat(6, 1fr);
    }

    .step-actions {
        flex-direction: column-reverse;
    }

    .step-actions button {
        width: 100%;
        justify-content: center;
    }

    .success-actions {
        flex-direction: column;
        align-items: center;
    }

    .success-actions button,
    .success-actions a {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .success-info {
        grid-template-columns: 1fr;
    }
}

/* CORSI DETAIL STYLES */
.breadcrumb {
    padding: 1rem 0;
    background-color: #f8f9fa;
}

.breadcrumb p {
    color: #666;
    margin: 0;
}

.breadcrumb a {
    color: #667eea;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.corso-card.individual,
.corso-card.collective {
    position: relative;
    overflow: hidden;
}

.corso-card.individual::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.corso-card.collective::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.corso-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.corso-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.corso-details {
    margin-bottom: 1.5rem;
}

.corso-features {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-top: 1rem;
}

.feature {
    color: #666;
    font-size: 0.9rem;
}

/* BENEFITS SECTION */
.course-benefits {
    margin: 4rem 0;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.course-benefits h2 {
    color: #2c3e50;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card {
    text-align: center;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    background-color: #e9ecef;
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
}

/* AGE GROUPS */
.age-groups {
    margin: 4rem 0;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.age-groups h2 {
    color: #2c3e50;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.age-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.age-card {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

.age-card h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.age-card ul {
    list-style: none;
    padding: 0;
}

.age-card li {
    color: #666;
    padding: 0.3rem 0;
    font-weight: 500;
}

.age-card li::before {
    content: "• ";
    color: #667eea;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* CTA SECTION */
.cta-section {
    text-align: center;
    margin: 4rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem;
    border-radius: 20px;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-section .btn-secondary {
    background-color: rgba(255,255,255,0.2);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.3);
}

.cta-section .btn-secondary:hover {
    background-color: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 3rem;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        justify-content: center;
    }

    .nav-item {
        margin: 0 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .content-section h1 {
        font-size: 2rem;
    }
}

/* ============================================= */
/* STILI PERSONALIZZATI PER LA TEXTAREA          */
/* ============================================= */

/* Stile di base della textarea */
.trial-form textarea#note {
    width: 100%;                          /* Occupa tutta la larghezza del contenitore */
    box-sizing: border-box;               /* Impedisce che padding e bordi alterino la larghezza totale */
    padding: 15px;                        /* Aumenta lo spazio interno per un look più "arioso" */
    border: 1px solid #ccc;               /* Bordo grigio chiaro, più delicato */
    border-radius: 8px;                   /* Angoli arrotondati, in linea con un design moderno */
    font-family: inherit;                 /* Usa lo stesso font del resto della pagina */
    font-size: 1rem;                      /* Dimensione del font standard (es. 16px) */
    background-color: #f9f9f9;            /* Sfondo leggermente grigio per distinguerla */
    resize: vertical;                     /* Permette solo il ridimensionamento verticale, non orizzontale */
    min-height: 120px;                    /* Imposta un'altezza minima */
    transition: border-color 0.3s ease, box-shadow 0.3s ease; /* Transizione fluida per gli effetti */
}

/* Stile quando l'utente clicca sulla textarea (focus) */
.trial-form textarea#note:focus {
    outline: none;                        /* Rimuove il brutto contorno blu di default del browser */
    border-color: #007bff;                /* Colore del bordo più acceso (esempio blu, da adattare al tuo colore primario) */
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.25); /* Ombra esterna per un effetto "glow" */
    background-color: #fff;               /* Sfondo bianco quando attiva */
}

/* Stile del testo segnaposto (placeholder) */
.trial-form textarea#note::placeholder {
    color: #999;                          /* Colore più chiaro per il testo segnaposto */
    font-style: italic;                   /* Stile corsivo per distinguerlo */
}

/* ============================================= */
/* STILI PER MODULO ISCRIZIONE MULTI-STEP       */
/* ============================================= */

/* Grid per le card di scelta enrollment */
.enrollment-choice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
    padding: 0 1rem;
}

/* Card di scelta enrollment */
.enrollment-choice-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.enrollment-choice-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.enrollment-choice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.2);
    border-color: #667eea;
}

.enrollment-choice-card:hover::before {
    transform: scaleX(1);
}

.enrollment-choice-card .choice-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.enrollment-choice-card:hover .choice-icon {
    transform: scale(1.1);
}

.enrollment-choice-card h4 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.enrollment-choice-card p {
    color: #666;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.enrollment-choice-card .card-arrow {
    font-size: 2rem;
    color: #667eea;
    margin-top: 1rem;
    transition: transform 0.3s ease;
}

.enrollment-choice-card:hover .card-arrow {
    transform: translateX(10px);
}

/* Pulsante back */
.back-btn {
    background-color: #f0f0f0;
    color: #2c3e50;
    border: 2px solid #e0e0e0;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.back-btn:hover {
    background-color: #e0e0e0;
    border-color: #d0d0d0;
    transform: translateX(-3px);
}

/* Nota sconto */
.discount-notice {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-top: 1.5rem;
    font-size: 1.05rem;
    font-weight: 500;
    text-align: center;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    animation: slideInUp 0.5s ease;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Prezzo del corso nelle card */
.corso-price {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.3rem;
    font-weight: 600;
}

.corso-checkbox-card input[type="checkbox"]:checked + .corso-card-content .corso-price {
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive per enrollment choice grid */
@media (max-width: 768px) {
    .enrollment-choice-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .enrollment-choice-card {
        padding: 2rem 1.5rem;
    }
}

/* ============================================= */
/* STILI PER ISCRIZIONE FIGLI                    */
/* ============================================= */

/* Select grande per numero figli */
.large-select {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background-color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.large-select:hover {
    border-color: #667eea;
}

.large-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Sezioni del riepilogo */
.summary-box {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.summary-section {
    padding: 1.5rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.summary-section:last-of-type {
    border-bottom: none;
}

.summary-section h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.summary-section p {
    margin: 0.5rem 0;
    color: #555;
    line-height: 1.6;
}

.summary-section ul {
    margin: 0.5rem 0 0.5rem 1.5rem;
    color: #555;
}

.summary-section li {
    margin: 0.3rem 0;
}

/* Totale finale nel riepilogo */
.summary-total {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    margin-top: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.summary-total h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.8rem;
}

.summary-total p {
    margin: 0;
    opacity: 0.9;
}

/* Sub-steps dei figli */
.children-substep {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}