:root {
            --primary-dark: rgb(33, 64, 93);
            --primary-medium: rgb(133, 171, 206);
            --primary-light: rgb(255, 255, 255);
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            overflow-x: hidden;
        }
        
        /* Top Bar */
        .top-bar {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 100%);
    padding: 10px 0;
    color: var(--primary-light);
    font-size: 0.9rem;
    overflow-x: auto;
    overflow-y: hidden;
}

.top-bar .text-end {
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

.top-bar a {
    color: var(--primary-light);
    text-decoration: none;
    margin-left: 20px;
    transition: opacity 0.3s;
    display: inline-block;
}

.top-bar a:hover {
    opacity: 0.8;
}

.typing-slogan {
    font-weight: bold;
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    border-right: 0.15em solid #000;
    width: 0;
    animation: typing 3s steps(40, end) forwards, blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    50% { border-color: transparent; }
    100% { border-color: #000; }
}

/* Ottimizzazione per schermi piccoli */
@media (max-width: 768px) {
    .top-bar {
        font-size: 0.75rem;
        padding: 8px 0;
    }
    
    .top-bar a {
        margin-left: 15px;
    }
    
    .top-bar a:first-child {
        margin-left: 0;
    }
    
    /* Nascondi le icone su mobile per risparmiare spazio (opzionale) */
    .top-bar i {
        margin-right: 3px;
    }
}

@media (max-width: 576px) {
    .top-bar {
        font-size: 0.7rem;
    }
    
    .top-bar a {
        margin-left: 10px;
    }
}
        
        /* Navbar */
        .navbar {
            background: rgba(255,255,255,1);
            backdrop-filter: blur(10px);
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
            padding: 0;
        }
        
        .navbar-brand {
            font-size: 1.8rem;
            font-weight: bold;
            color: var(--primary-light) !important;
            text-transform: uppercase;
            letter-spacing: 2px;
        }
        
        .navbar-nav .nav-link {
            color: var(--primary-dark) !important;
            margin: 0 15px;
            font-weight: 500;
            position: relative;
            transition: all 0.3s;
        }
        
        .navbar-nav .nav-link::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--primary-medium);
            transition: width 0.3s;
        }
        
        .navbar-nav .nav-link:hover::after {
            width: 100%;
        }

        .navbar-nav .nav-link.active::after {
            width: 100%;
        }
        
        .dropdown-menu {
    background: white;          /* Sfondo bianco */
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    min-width: 200px;           /* Larghezza minima maggiore */
    padding: 10px 0;            /* Un po’ di spazio verticale */
    border-radius: 6px;         /* Angoli leggermente arrotondati per stile moderno */
}

.dropdown-item {
    color: var(--primary-light); /* Manteniamo il colore originale */
    padding: 10px 20px;          /* Più spazio orizzontale e verticale */
    transition: all 0.3s;
}

.dropdown-item:hover {
    background: var(--primary-medium);
    color: var(--primary-dark);
    transform: translateX(5px);
}
        
        /* Carousel */
        .carousel {
            position: relative;
            height: 600px;
            overflow: hidden;
        }
        
        .carousel-item {
            height: 600px;
            position: relative;
        }
        
        .carousel-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(33, 64, 93, 0.7) 0%, rgba(133, 171, 206, 0.5) 100%);
            z-index: 1;
        }
        
        .carousel-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .carousel-caption {
            z-index: 2;
            bottom: 50%;
            transform: translateY(50%);
        }
        
        .carousel-caption h2 {
            font-size: 3.5rem;
            font-weight: bold;
            text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
            animation: fadeInUp 1s;
        }
        
        .carousel-caption p {
            font-size: 1.3rem;
            animation: fadeInUp 1.2s;
        }
        
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
 /* ─── Page Header ─── */
        .page-header {
            background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 100%);
            color: var(--primary-light);
            padding: 70px 0 55px;
            position: relative;
            overflow: hidden;
        }
        .page-header::before {
            content: '';
            position: absolute;
            top: -60%;
            right: -15%;
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
            border-radius: 50%;
        }
        .page-header::after {
            content: '';
            position: absolute;
            bottom: -40%;
            left: -10%;
            width: 350px;
            height: 350px;
            background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
            border-radius: 50%;
        }
        .page-header .container {
            position: relative;
            z-index: 1;
        }
        .page-header h1 {
            font-size: 2.8rem;
            font-weight: 700;
            letter-spacing: 1px;
            margin-bottom: 8px;
        }
        .page-header p {
            font-size: 1.15rem;
            opacity: 0.88;
            max-width: 500px;
        }
        .header-icon {
            font-size: 3.2rem;
            opacity: 0.18;
            position: absolute;
            right: 12%;
            top: 50%;
            transform: translateY(-50%);
        }

        /* Chi Siamo */
        .chi-siamo {
            padding: 100px 0;
            background: linear-gradient(180deg, var(--primary-light) 0%, rgba(133, 171, 206, 0.1) 100%);
            position: relative;
            overflow: hidden;
        }
        
        .chi-siamo::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -10%;
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, rgba(133, 171, 206, 0.2) 0%, transparent 70%);
            border-radius: 50%;
        }
        
        .chi-siamo-img {
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 20px 60px rgba(33, 64, 93, 0.3);
            position: relative;
        }
        
        .chi-siamo-img::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(33, 64, 93, 0.3) 0%, transparent 100%);
        }
        
        .chi-siamo-img img {
            width: 100%;
            height: 400px;
            object-fit: cover;
            transition: transform 0.5s;
        }
        
        .chi-siamo-img:hover img {
            transform: scale(1.05);
        }
        
        .section-title {
            color: var(--primary-dark);
            font-size: 2.5rem;
            font-weight: bold;
            margin-bottom: 30px;
            position: relative;
            display: inline-block;
        }
        
        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 60px;
            height: 4px;
            background: var(--primary-medium);
        }
        
        /* Corsi */
        /* Courses Section */
.courses {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-medium) 0%, var(--primary-dark) 100%);
    color: var(--primary-light);
}

.courses .section-title {
    color: var(--primary-light);
    margin-bottom: 60px;
    font-size: 2.5rem;
    font-weight: bold;
    position: relative;
    display: inline-block;
}

.courses .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--primary-medium);
}

.courses .card {
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: var(--primary-light);
}

.courses .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3) !important;
}

.courses .course-image-link {
    display: block;
    position: relative;
    overflow: hidden;
}

.courses .course-image-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(33, 64, 93, 0.3) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.courses .course-image-link:hover::after {
    opacity: 1;
}

.courses .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.courses .card:hover .card-img-top {
    transform: scale(1.1);
}

.courses .card-body {
    background: rgba(255, 255, 255, 0.95);
    padding: 25px;
}

.courses .card-title {
    color: var(--primary-dark);
    font-weight: bold;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.courses .bi-unlock-fill {
    color: green;
}

.courses .card-title a {
    color: var(--primary-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.courses .card-title a:hover {
    color: var(--primary-medium);
}

.courses .card-title i {
    color: var(--primary-medium);
    font-size: 1.2rem;
}

.courses .card-text {
    color: #666;
    flex-grow: 1;
    line-height: 1.6;
}

.course-desc {
    height: 150px;
    overflow: scroll
}

.courses .course-type {
    color: var(--primary-dark);
    font-weight: 600;
}

.courses .course-access {
    color: #777;
    font-size: 0.95rem;
}

.courses .btn-details {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 100%);
    color: white;
    border-radius: 10px;
    font-weight: 500;
    padding: 12px 20px;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.courses .btn-details:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(33, 64, 93, 0.4);
    color: white;
}

/* Pagination */
.courses .pagination {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.courses .pagination ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 10px;
}

.courses .pagination li {
    display: inline-block;
}

.courses .pagination a,
.courses .pagination span {
    display: block;
    padding: 10px 18px;
    background: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.courses .pagination a:hover {
    background: var(--primary-medium);
    color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.courses .pagination .active a,
.courses .pagination .active span {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 100%);
    color: var(--primary-light);
    border-color: var(--primary-medium);
}

/* Responsive */
@media (max-width: 768px) {
    .courses {
        padding: 60px 0;
    }
    
    .courses .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .courses .card-body {
        padding: 20px;
    }
    
    .courses .card-title {
        font-size: 1.1rem;
    }
    
    .courses .pagination {
        margin-top: 30px;
    }
    
    .courses .pagination a,
    .courses .pagination span {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
}


        
        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(33, 64, 93, 0.2) !important;
        }
        
        /* Counter */
        .counter-section {
            padding: 80px 0;
            background: linear-gradient(135deg, var(--primary-medium) 0%, var(--primary-dark) 100%);
            color: var(--primary-light);
        }
        
        .counter-box {
            text-align: center;
            padding: 30px;
        }
        
        .counter-icon {
            font-size: 3.5rem;
            margin-bottom: 20px;
            opacity: 0.9;
        }
        
        .counter-number {
            font-size: 3.5rem;
            font-weight: bold;
            margin-bottom: 10px;
            display: block;
        }
        
        .counter-label {
            font-size: 1.1rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            opacity: 0.9;
        }
        
        /* Form Richiesta Info */
        .info-form {
            padding: 100px 0;
            background: linear-gradient(180deg, rgba(133, 171, 206, 0.1) 0%, var(--primary-light) 100%);
        }
        
        .form-container {
            background: var(--primary-light);
            padding: 50px;
            border-radius: 20px;
            box-shadow: 0 20px 60px rgba(33, 64, 93, 0.15);
        }
        
        .form-control {
            border: 2px solid rgba(133, 171, 206, 0.3);
            border-radius: 10px;
            padding: 12px 20px;
            transition: all 0.3s;
        }
        
        .form-control:focus {
            border-color: var(--primary-medium);
            box-shadow: 0 0 0 0.2rem rgba(133, 171, 206, 0.25);
        }
        
        .btn-submit {
            background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 100%);
            color: var(--primary-light);
            border: none;
            padding: 15px 50px;
            border-radius: 30px;
            font-weight: bold;
            font-size: 1.1rem;
            transition: all 0.3s;
        }
        
        .btn-submit:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(33, 64, 93, 0.3);
        }

/* Course Page Styles */
.course {
    padding: 0;
    background: linear-gradient(180deg, var(--primary-light) 0%, rgba(133, 171, 206, 0.1) 100%);
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

.course::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(133, 171, 206, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.course .container {
    position: relative;
    z-index: 1;
}

.course-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 100%);
    color: #fff;
    padding: 15px 0;
}

.course-header img {
    border-radius: 10px;
}


/* Nav Tabs */
/* Nav Tabs */
.nav-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    border-bottom: 2px solid var(--primary-medium);
}

.nav-tabs::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.nav-tabs .nav-item {
    flex: 0 0 auto;
}

.nav-tabs .nav-link {
    white-space: nowrap;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    border: none;
    border-bottom: 3px solid transparent;
    background: transparent;
    color: #6c757d;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link.active {
    color: var(--primary-dark);
    border-bottom-color: var(--primary-medium);
    background: transparent;
    font-weight: 600;
}

.nav-tabs .nav-link:hover {
    color: var(--primary-dark);
    border-bottom-color: rgba(133, 171, 206, 0.5);
}

/* Indicatore di scroll visivo */
.tab-container {
    position: relative;
}

.tab-container::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 40px;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.95), transparent);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 10;
}

.tab-container.has-scroll::after {
    opacity: 1;
}

/* Responsive - tablet e desktop */
@media (min-width: 768px) {
    .nav-tabs {
        flex-wrap: wrap;
        overflow-x: visible;
    }
    
    .nav-tabs .nav-link {
        font-size: 1rem;
        padding: 1rem 1.5rem;
    }
    
    .tab-container::after {
        display: none;
    }

}

/* List Group */
.list-group {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(33, 64, 93, 0.08);
}

.list-group-item {
    border: none;
    border-bottom: 1px solid rgba(133, 171, 206, 0.2);
    padding: 18px 25px;
    transition: all 0.3s ease;
    background: var(--primary-light);
}

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

.list-group-item:hover {
    background: rgba(133, 171, 206, 0.08);
    transform: translateX(5px);
    padding-left: 30px;
}

.list-group-item span {
    color: var(--primary-dark);
    font-weight: 500;
    font-size: 1.05rem;
}

/* Badge */
.badge {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 100%) !important;
    color: var(--primary-light)!important;
    padding: 8px 16px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 20px;
    box-shadow: 0 3px 10px rgba(33, 64, 93, 0.2);
}

/* Alerts */
.alert {
    border: none;
    border-radius: 15px;
    padding: 20px 25px;
    font-size: 1.05rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.alert-warning {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15) 0%, rgba(255, 193, 7, 0.05) 100%);
    color: #856404;
    border-left: 4px solid #ffc107;
}

.alert-info {
    background: linear-gradient(135deg, rgba(133, 171, 206, 0.2) 0%, rgba(133, 171, 206, 0.05) 100%);
    color: var(--primary-dark);
    border-left: 4px solid var(--primary-medium);
}

/* Year Sections */
.mb-4 {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .course {
        padding: 60px 0;
    }
    
    .tab-content {
        padding: 5px;
    }
    
    .nav-tabs .nav-link {
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    .tab-pane h4 {
        font-size: 1.5rem;
    }
    
    .list-group-item {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 10px;
    }
}

/* Stili aggiuntivi per migliorare il form */
.info-icon-box {
    padding: 20px;
    transition: transform 0.3s ease;
}

.info-icon-box:hover {
    transform: translateY(-5px);
}

.info-icon-box i {
    transition: transform 0.3s ease;
}

.info-icon-box:hover i {
    transform: scale(1.1);
}

.form-label {
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.form-control:focus {
    border-color: var(--primary-medium);
    box-shadow: 0 0 0 0.2rem rgba(133, 171, 206, 0.25);
}

.form-check-input:checked {
    background-color: var(--primary-medium);
    border-color: var(--primary-medium);
}

.form-check-input:focus {
    border-color: var(--primary-medium);
    box-shadow: 0 0 0 0.2rem rgba(133, 171, 206, 0.25);
}

.form-check-label {
    color: #495057;
    cursor: pointer;
}

.btn-submit {
    min-width: 250px;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(33, 64, 93, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 1rem !important;
    }
    
    .form-container {
        padding: 30px 20px;
    }
    
    .info-icon-box h5 {
        font-size: 1rem;
    }
    
    .info-icon-box p {
        font-size: 0.9rem;
    }
    
    .info-icon-box .btn-submit {
        min-width: 200px;
        font-size: 1rem;
        padding: 12px 40px;
    }
}

 /* ─── Section Title (shared) ─── */
        .section-title {
            color: var(--primary-dark);
            font-size: 2.5rem;
            font-weight: bold;
            margin-bottom: 30px;
            position: relative;
            display: inline-block;
        }
        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 60px;
            height: 4px;
            background: var(--primary-medium);
        }

        /* ─── Contact Section ─── */
        .contact-section {
            padding: 80px 0 40px;
        }

        /* ─── Info Card (logo · indirizzo · telefono · email) ─── */
        .info-card {
            background: var(--primary-light);
            border-radius: 20px;
            box-shadow: 0 15px 50px rgba(33, 64, 93, 0.12);
            overflow: hidden;
            transition: transform 0.35s ease, box-shadow 0.35s ease;
            height: 100%;
            display: flex;
            flex-direction: column;
        }
        .info-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 25px 60px rgba(33, 64, 93, 0.2);
        }

        .info-card-header {
            background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 100%);
            padding: 32px 28px 28px;
            text-align: center;
            position: relative;
        }
        .info-card-header::after {
            content: '';
            position: absolute;
            bottom: -1px;
            left: 0;
            right: 0;
            height: 28px;
            background: var(--primary-light);
            clip-path: ellipse(55% 100% at 50% 100%);
        }

        /* Logo placeholder */
        .logo-box {
            width: 100px;
            height: 100px;
            margin: 0 auto 14px;
            border-radius: 50%;
            background: rgba(255,255,255,0.15);
            border: 3px solid rgba(255,255,255,0.35);
            display: flex;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(4px);
        }
        .logo-box i {
            font-size: 2.6rem;
            color: var(--primary-light);
        }
        .info-card-header h5 {
            color: var(--primary-light);
            font-size: 1.35rem;
            font-weight: 700;
            letter-spacing: 1.5px;
          
            position: relative;
            z-index: 1;
        }

        .info-card-body {
            padding: 30px 28px 32px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            gap: 22px;
        }

        .info-row {
            display: flex;
            align-items: flex-start;
            gap: 18px;
            transition: transform 0.25s ease;
        }
        .info-row:hover {
            transform: translateX(4px);
        }

        .info-icon-wrap {
            min-width: 48px;
            height: 48px;
            border-radius: 14px;
            background: linear-gradient(135deg, rgba(133,171,206,0.15) 0%, rgba(33,64,93,0.07) 100%);
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .info-icon-wrap i {
            font-size: 1.4rem;
            color: var(--primary-dark);
        }

        .info-text-label {
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 1.2px;
            color: var(--primary-medium);
            font-weight: 600;
            margin-bottom: 2px;
        }
        .info-text-value {
            font-size: 1rem;
            color: var(--primary-dark);
            font-weight: 500;
            line-height: 1.45;
        }
        .info-text-value a {
            color: var(--primary-dark);
            text-decoration: none;
            border-bottom: 1.5px solid transparent;
            transition: border-color 0.25s;
        }
        .info-text-value a:hover {
            border-bottom-color: var(--primary-medium);
        }

        /* ─── Horario Card ─── */
        .hours-card {
            background: var(--primary-light);
            border-radius: 20px;
            box-shadow: 0 15px 50px rgba(33, 64, 93, 0.12);
            overflow: hidden;
            transition: transform 0.35s ease, box-shadow 0.35s ease;
            height: 100%;
            display: flex;
            flex-direction: column;
        }
        .hours-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 25px 60px rgba(33, 64, 93, 0.2);
        }

        .hours-card-header {
            background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 100%);
            padding: 28px 28px 24px;
            display: flex;
            align-items: center;
            gap: 16px;
            position: relative;
        }
        .hours-card-header::after {
            content: '';
            position: absolute;
            bottom: -1px;
            left: 0;
            right: 0;
            height: 24px;
            background: var(--primary-light);
            clip-path: ellipse(55% 100% at 50% 100%);
        }
        .hours-header-icon {
            width: 52px;
            height: 52px;
            border-radius: 16px;
            background: rgba(255,255,255,0.15);
            border: 2px solid rgba(255,255,255,0.3);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            z-index: 1;
        }
        .hours-header-icon i {
            font-size: 1.7rem;
            color: var(--primary-light);
        }
        .hours-card-header h5 {
            color: var(--primary-light);
            font-size: 1.3rem;
            font-weight: 700;
            letter-spacing: 1px;
            text-transform: uppercase;
            position: relative;
            z-index: 1;
        }

        .hours-card-body {
            padding: 26px 28px 30px;
            flex-grow: 1;
        }

        .hours-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 13px 0;
            border-bottom: 1px solid rgba(133,171,206,0.18);
            transition: background 0.2s ease;
        }
        .hours-row:last-child {
            border-bottom: none;
        }
        .hours-row:hover {
            background: rgba(133,171,206,0.06);
            margin: 0 -10px;
            padding-left: 10px;
            padding-right: 10px;
            border-radius: 8px;
        }

        .hours-day {
            font-weight: 600;
            color: var(--primary-dark);
            font-size: 0.97rem;
        }
        .hours-time {
            color: #5a7a9a;
            font-weight: 500;
            font-size: 0.97rem;
        }

        .hours-row.closed .hours-time {
            color: #c0392b;
            font-weight: 600;
        }
        .hours-row.closed .hours-day {
            color: #c0392b;
            opacity: 0.75;
        }

        /* Badge "Aperto ora" */
        .open-badge {
            display: inline-flex;
            align-items: center;
            gap: 7px;
            background: linear-gradient(135deg, rgba(39,174,96,0.12) 0%, rgba(39,174,96,0.06) 100%);
            border: 1px solid rgba(39,174,96,0.35);
            color: #1e8449;
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 0.82rem;
            font-weight: 600;
            margin-bottom: 18px;
            width: fit-content;
        }
        .open-badge .dot {
            width: 9px;
            height: 9px;
            border-radius: 50%;
            background: #27ae60;
            animation: pulse-dot 1.8s infinite;
        }
        @keyframes pulse-dot {
            0%, 100% { box-shadow: 0 0 0 0 rgba(39,174,96,0.5); }
            50% { box-shadow: 0 0 0 5px rgba(39,174,96,0); }
        }

        /* ─── Google Maps ─── */
        .map-section {
            padding: 0 0 80px;
        }
        .map-wrapper {
            border-radius: 24px;
            overflow: hidden;
            box-shadow: 0 18px 55px rgba(33, 64, 93, 0.18);
            border: 4px solid var(--primary-light);
            transition: box-shadow 0.35s ease;
        }
        .map-wrapper:hover {
            box-shadow: 0 24px 70px rgba(33, 64, 93, 0.26);
        }
        .map-wrapper iframe {
            width: 100%;
            height: 420px;
            border: 0;
            display: block;
        }

        .map-label {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 16px;
        }
        .map-label i {
            font-size: 1.3rem;
            color: var(--primary-medium);
        }
        .map-label span {
            font-size: 1rem;
            color: var(--primary-dark);
            font-weight: 600;
        }

        
        /* ─── Responsive ─── */
        @media (max-width: 768px) {
            .page-header { padding: 50px 0 42px; }
            .page-header h1 { font-size: 2rem; }
            .header-icon { display: none; }
            .contact-section { padding: 50px 0 28px; }
            .info-card-body, .hours-card-body { padding: 22px 20px 24px; }
            .map-wrapper iframe { height: 300px; }
            .info-card, .hours-card { margin-bottom: 24px; }
        }
        @media (max-width: 480px) {
            .page-header h1 { font-size: 1.7rem; }
            .info-card-header, .hours-card-header { padding: 22px 18px 20px; }
            .logo-box { width: 80px; height: 80px; }
            .logo-box i { font-size: 2rem; }
        }

        .courses-section {
            background: linear-gradient(135deg, rgba(33, 64, 93, 0.03) 0%, rgba(133, 171, 206, 0.05) 100%);
            padding: 50px 30px;
            border-radius: 20px;
            margin-top: 40px;
        }

        .course-card {
            background: white;
            padding: 30px 25px;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(33, 64, 93, 0.1);
            transition: all 0.3s;
            height: 100%;
            border: 2px solid transparent;
        }

        .course-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 50px rgba(33, 64, 93, 0.2);
            border-color: var(--primary-medium);
        }

        .course-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            font-size: 2.5rem;
            color: white;
        }

        .course-card h4 {
            color: var(--primary-dark);
            font-weight: bold;
            font-size: 1.4rem;
            margin-bottom: 15px;
            text-align: center;
        }

        .course-card h4 a {
            color: var(--primary-dark);
            text-decoration: none;
        }

        .course-card h4 a:hover {
            color: var(--primary-medium);
        }

        .course-card p {
            color: #666;
            text-align: center;
            margin-bottom: 20px;
            font-size: 0.95rem;
        }

        .course-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .course-list li {
            padding: 10px 0;
            color: #555;
            border-bottom: 1px solid rgba(133, 171, 206, 0.2);
            position: relative;
            padding-left: 25px;
        }

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

        .course-list li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: var(--primary-medium);
            font-weight: bold;
        }

        .course-list li a {
            color: var(--primary-dark);
            text-decoration: none;
        }

        .course-list li a:hover {
            color: var(--primary-medium);
           
        }

        .feature-box {
            background: linear-gradient(135deg, rgba(133, 171, 206, 0.1) 0%, rgba(33, 64, 93, 0.05) 100%);
            padding: 25px;
            border-radius: 15px;
            margin-bottom: 20px;
            border-left: 4px solid var(--primary-medium);
            transition: all 0.3s;
        }

        .feature-box:hover {
            transform: translateX(10px);
            box-shadow: 0 10px 30px rgba(133, 171, 206, 0.2);
        }

        .feature-icon {
            color: var(--primary-dark);
            font-size: 2rem;
            margin-right: 15px;
        }

        .feature-title {
            color: var(--primary-dark);
            font-weight: bold;
            font-size: 1.2rem;
            margin-bottom: 5px;
        }

        .feature-text {
            color: #666;
            margin: 0;
        }



        
       .site-footer {
            color: var(--white);
            padding: 60px 0 20px;
            position: relative;
            overflow: hidden;
            background: linear-gradient(135deg, var(--primary-medium) 0%, var(--primary-dark) 100%);
        
        }

        .site-footer .navbar-nav .nav-link {
            color: #fff!important;
        }
        
        
        .footer-content {
            position: relative;
            z-index: 2;
        }

          .footer-brand-container {
            display: flex;
            align-items: flex-end; /* Allinea gli elementi in basso */
            margin-bottom: 25px;
        }
        
        .footer-logo {
            max-height: 120px;
            margin-bottom: 20px;
        }
        
        .footer-title {
  
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 15px;
            color: #fff;
        }
        
        .footer-title span {
            color: var(--pink-light);
        }
        
        .footer-description {
            color: rgba(255,255,255,0.8);
            line-height: 1.6;
            margin-bottom: 25px;
        }
        
        .footer-section h5 {
            color: #fff;
            font-weight: 600;
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 10px;
        }
        
        .footer-section h5::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 2px;
            background: var(--primary-medium);
        }
        
        .footer-links {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .footer-links li {
            margin-bottom: 10px;
        }
        
        .footer-links a {
            color: rgba(255,255,255,0.8);
            text-decoration: none;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
        }
        
        .footer-links a:hover {
            color: var(--pink-light);
            transform: translateX(5px);
        }

        .footer-links a.active {
            color: var(--pink-light);
            transform: translateX(5px);
        }
        
        .footer-links a i {
            margin-right: 8px;
            font-size: 0.9rem;
            color: var(--pink-light);
        }
        
        .footer-contact-info {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .footer-contact-info li {
            margin-bottom: 15px;
            display: flex;
            align-items: flex-start;
        }
        
        .footer-contact-info i {
            color: var(--pink-light);
            margin-right: 10px;
            margin-top: 3px;
            font-size: 1.1rem;
        }
        
        .footer-contact-info span {
            color: rgba(255,255,255,0.8);
            line-height: 1.5;
        }
        
        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }
        
        .social-link {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background: rgba(255,255,255,0.1);
            color: var(--primary-dark);
            border-radius: 50%;
            font-size: 1.1rem;
            transition: all 0.3s ease;
            text-decoration: none;
        }
        
        .social-link:hover {
            background: var(--pink-light);
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(244, 146, 205, 0.4);
            color: #fff;
        }
        
        .footer-bottom {
            border-top: 1px solid var(--primary-medium);
            margin-top: 50px;
            padding-top: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .footer-bottom p {
            color: rgba(255,255,255,0.7);
            margin: 0;
            font-size: 0.9rem;
        }
        
        .footer-bottom-links {
            display: flex;
            gap: 20px;
        }
        
        .footer-bottom-links a {
            color: rgba(255,255,255,0.7);
            text-decoration: none;
            font-size: 0.9rem;
            transition: all 0.3s ease;
        }
        
        .footer-bottom-links a:hover {
            color: var(--pink-light);
        }