/* Sfondo e stile generale */
body {
    background-color: #ffffff;
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden;
}

/* Palloni animati */
.bouncing-ball {
    position: absolute;
    width: 50px;
    height: 50px;
    background: url('../img/ball.png') no-repeat center;
    background-size: contain;
    animation: bounce 6s infinite ease-in-out;
    opacity: 0.2;
    z-index: 1;
}
.ball1 { top: 10%; left: 15%; animation-delay: 0s; }
.ball2 { top: 30%; left: 70%; animation-delay: 1.5s; }
.ball3 { top: 60%; left: 40%; animation-delay: 3s; }

@keyframes bounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-50px) rotate(360deg); }
}

/* Team Section */
.team-section {
    padding: 50px 20px;
    position: relative;
    z-index: 2;
}

.team-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: #0d2b63;
}

/* Card futuristiche */
.card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    overflow: hidden;
    position: relative;
}

.card img {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    height: 300px;
    object-fit: cover;
}

.card-body {
    padding: 20px;
    text-align: center;
}

.card-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: #0d2b63;
}

.card-text {
    color: #555;
}

/* Effetto neon hover */
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(13,43,99,0.4);
}

.card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #0d2b63, #d32f2f, #0d2b63);
    z-index: -1;
    filter: blur(15px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover::before {
    opacity: 1;
}

/* Titoli e testo */
.page-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-top: 100px;
    color: #0d2b63;
    z-index: 2;
    position: relative;
}

.intro-text {
    max-width: 900px;
    margin: 30px auto;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.8rem;
    color: #333;
}

/* Vantaggi */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: #0d2b63;
}

.benefit-card img {
    height: 200px;
    object-fit: cover;
}

/* Step */
.steps-section {
    background-color: #f8f9fa;
    padding: 50px 20px;
}

.step-box {
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    margin: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.step-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: #0d2b63;
}

/* Pulsante Neon */
.neon-btn {
    background-color: #0d2b63;
    color: #fff;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    box-shadow: 0 0 15px #0d2b63;
    transition: all 0.3s ease;
}

.neon-btn:hover {
    box-shadow: 0 0 30px #0d2b63, 0 0 60px #d32f2f;
    transform: scale(1.05);
}

/* Animazione Fade-in */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Calendario */
.calendar-section {
    padding: 40px 20px;
    background-color: #f8f9fa;
    border-radius: 15px;
}

.calendar-card {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    margin: 10px;
    text-align: center;
    width: 200px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.calendar-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(13, 43, 99, 0.4);
}

.calendar-card h5 {
    font-size: 1.3rem;
    color: #0d2b63;
    margin-bottom: 10px;
}

.calendar-card p {
    color: #333;
    font-size: 1rem;
}

.calendar-card .btn {
    margin-top: 15px;
    background-color: #0d2b63;
    color: #fff;
    border-radius: 50px;
    padding: 8px 20px;
    box-shadow: 0 0 15px #0d2b63;
    transition: all 0.3s ease;
}

.calendar-card .btn:hover {
    box-shadow: 0 0 30px #0d2b63, 0 0 50px #d32f2f;
    transform: scale(1.05);
}