:root { --primary-color: #28a745; --secondary-color: #f8f9fa; --accent-color: #ffc107; } body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background-color: #f5f7fa; color: #333; line-height: 1.6; position: relative; } .hero { color: white; padding: 100px 0; margin-bottom: 40px; position: relative; } .section-title { position: relative; margin-bottom: 30px; padding-bottom: 15px; } .section-title:after { content: ''; position: absolute; bottom: 0; left: 0; width: 70px; height: 4px; background: var(--primary-color); } .card { border: none; border-radius: 10px; overflow: hidden; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08); transition: transform 0.3s; } .card:hover { transform: translateY(-10px); } .card-img-top { height: 240px; object-fit: cover; } .card-title { color: var(--primary-color); font-weight: 700; } .form-container { background: white; border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); padding: 30px; margin-bottom: 40px; } .form-label { font-weight: 600; color: #555; } .form-control, .form-select { border: 2px solid #e1e5eb; border-radius: 8px; padding: 12px 15px; transition: all 0.3s; } .form-control:focus, .form-select:focus { border-color: var(--primary-color); box-shadow: 0 0 0 0.25rem rgba(40, 167, 69, 0.25); } .btn-primary { background-color: var(--primary-color); border: none; padding: 12px 30px; font-weight: 600; border-radius: 8px; transition: all 0.3s; } .btn-primary:hover { background-color: #218838; transform: translateY(-2px); } .benefit-item { display: flex; align-items: center; margin-bottom: 20px; } .benefit-icon { background-color: rgba(40, 167, 69, 0.1); color: var(--primary-color); width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-right: 15px; font-size: 20px; } .testimonial-card { background: white; border-radius: 10px; padding: 25px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); margin-bottom: 20px; position: relative; } .testimonial-card:before { content: '"'; position: absolute; top: 10px; left: 15px; font-size: 60px; color: rgba(40, 167, 69, 0.1); font-family: Georgia, serif; } .testimonial-author { display: flex; align-items: center; margin-top: 20px; } .testimonial-author img { width: 50px; height: 50px; border-radius: 50%; margin-right: 15px; object-fit: cover; } .footer { background: #2c3e50; color: white; padding: 50px 0 20px; } .footer a { color: #ddd; text-decoration: none; transition: color 0.3s; } .footer a:hover { color: white; } .social-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: rgba(255, 255, 255, 0.1); border-radius: 50%; margin-right: 10px; transition: all 0.3s; } .social-icon:hover { background: var(--primary-color); transform: translateY(-3px); } /* Bottone torna su */ .back-to-top { position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; background-color: var(--primary-color); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); transition: all 0.3s; opacity: 0; visibility: hidden; z-index: 999; } .back-to-top.active { opacity: 1; visibility: visible; } .back-to-top:hover { background-color: #218838; transform: translateY(-3px); } @media (max-width: 768px) { .hero { padding: 60px 0; } .benefit-item { margin-bottom: 25px; } .back-to-top { width: 40px; height: 40px; font-size: 16px; bottom: 20px; right: 20px; } }