<!DOCTYPE html>
<html lang="it-IT">
<head>
    <meta charset="UTF-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="author" content="GMDSS Italia">
    <link rel="shortcut icon" href="/assets/img/favicon.png" type="image/png">
<link rel="apple-touch-icon" href="/assets/img/favicon.png">
    
    <!-- SEO Ottimizzato -->
    <meta name="description" content="Contatta Universo GMDSS Italia per informazioni su corsi certificazioni marittime GOC, ROC, LRC, SRC. Ministero Imprese e Made in Italy. Bologna, Italia.">
    <meta name="keywords" content="contatti GMDSS Italia, informazioni corsi GMDSS, certificazioni marittime Bologna, GOC ROC LRC SRC contatti">
    <meta name="robots" content="index, follow">
   <link rel="canonical" href="https://www.gmdssitalia.it/contattaci.php">
    
    <!-- Open Graph -->
    <meta property="og:title" content="Contatta GMDSS Italia | Informazioni Corsi Certificazioni Marittime">
    <meta property="og:description" content="Contatta Universo GMDSS Italia per informazioni sui corsi di certificazione GMDSS. Sede a Bologna, certificazioni ministeriali italiane riconosciute globalmente.">
    <meta property="og:url" content="https://www.gmdssitalia.it/contattaci.php">
    <meta property="og:type" content="website">
    <meta property="og:image" content="https://gmdssitalia.it/assets/img/logo.png">
    
    <!-- Structured Data -->
    <script type="application/ld+json">
    {
        "@context": "https://schema.org",
        "@type": "Organization",
        "name": "Universo GMDSS Italia",
        "description": "Centro di formazione specializzato in corsi GMDSS per certificazioni marittime",
        "url": "https://gmdssitalia.it",
        "logo": "https://gmdssitalia.it/assets/img/logo.png",
        "contactPoint": {
            "@type": "ContactPoint",
            "telephone": "+39-331-2798375",
            "contactType": "customer service",
            "email": "info@gmdssitalia.it",
            "availableLanguage": "Italian"
        },
        "openingHours": "Mo-Sa 11:00-19:30",
        "address": {
            "@type": "PostalAddress",
            "streetAddress": "Via Indipendenza",
            "addressLocality": "Bologna",
            "addressCountry": "IT"
        },
        "sameAs": [
            "https://facebook.com/gmdssitalia",
            "https://twitter.com/gmdssitalia"
        ]
    }
    </script>

    <link href='http://fonts.googleapis.com/css?family=Montserrat:400,700' rel='stylesheet' type='text/css'>
    <link href="assets/css/font-awesome.css" rel="stylesheet" type="text/css">
    <link rel="stylesheet" href="assets/bootstrap/css/bootstrap.css" type="text/css">
    <link rel="stylesheet" href="assets/css/selectize.css" type="text/css">
    <link rel="stylesheet" href="assets/css/owl.carousel.css" type="text/css">
    <link rel="stylesheet" href="assets/css/vanillabox/vanillabox.css" type="text/css">
    <link rel="stylesheet" href="assets/css/style.css" type="text/css">

    <!-- Stili Dinamici -->
    <style>
        .fade-in {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s ease;
        }
        
        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }
        
        .contact-hero {
            background: linear-gradient(135deg, #0066cc, #004499);
            color: white;
            padding: 60px 0;
            margin-bottom: 40px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        
        .contact-hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="white" opacity="0.1"><path d="M0 20L50 25L100 20L150 25L200 20L250 25L300 20L350 25L400 20L450 25L500 20L550 25L600 20L650 25L700 20L750 25L800 20L850 25L900 20L950 25L1000 20V100H0Z"/></svg>') repeat-x;
            animation: wave 10s linear infinite;
        }
        
        @keyframes wave {
            0% { transform: translateX(0); }
            100% { transform: translateX(-100px); }
        }
        
        .contact-hero h1 {
            font-size: 2.5em;
            margin-bottom: 20px;
            text-shadow: 0 2px 4px rgba(0,0,0,0.3);
        }
        
        .contact-hero p {
            font-size: 1.3em;
            opacity: 0.9;
            max-width: 600px;
            margin: 0 auto;
        }
        
        .contact-card {
            background: white;
            border-radius: 15px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            margin-bottom: 30px;
            border: 2px solid transparent;
        }
        
        .contact-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(0,102,204,0.15);
            border-color: #0066cc;
        }
        
        .contact-info {
            margin-bottom: 40px;
        }
        
        .contact-item {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
            padding: 15px;
            background: linear-gradient(135deg, #f8f9fa, #e9ecef);
            border-radius: 10px;
            transition: all 0.3s ease;
        }
        
        .contact-item:hover {
            background: linear-gradient(135deg, #e3f2fd, #bbdefb);
            transform: translateX(5px);
        }
        
        .contact-icon {
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, #0066cc, #004499);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 20px;
            color: white;
            font-size: 1.3em;
            box-shadow: 0 4px 15px rgba(0,102,204,0.3);
        }
        
        .contact-details h4 {
            color: #0066cc;
            margin-bottom: 5px;
            font-weight: bold;
        }
        
        .contact-details p {
            margin: 0;
            color: #666;
        }
        
        .contact-details a {
            color: #0066cc;
            text-decoration: none;
            font-weight: bold;
            transition: color 0.3s ease;
        }
        
        .contact-details a:hover {
            color: #ffd700;
        }
        
        .social-icons {
            display: flex;
            gap: 15px;
            justify-content: center;
            margin-top: 30px;
        }
        
        .social-icon {
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, #0066cc, #004499);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            text-decoration: none;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0,102,204,0.3);
        }
        
        .social-icon:hover {
            background: linear-gradient(135deg, #ffd700, #ffed4e);
            color: #0066cc;
            transform: translateY(-3px) scale(1.1);
            box-shadow: 0 8px 25px rgba(255,215,0,0.4);
        }
        
        .map-container {
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
        }
        
        .map-container:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(0,102,204,0.15);
        }
        
        .contact-form {
            background: white;
            border-radius: 15px;
            padding: 40px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
        }
        
        .contact-form:hover {
            box-shadow: 0 20px 40px rgba(0,102,204,0.15);
        }
        
        .form-group {
            margin-bottom: 25px;
        }
        
        .form-group label {
            font-weight: bold;
            color: #0066cc;
            margin-bottom: 8px;
            display: block;
        }
        
        .form-control {
            border: 2px solid #e9ecef;
            border-radius: 10px;
            padding: 12px 15px;
            font-size: 16px;
            transition: all 0.3s ease;
            background: #fafafa;
        }
        
        .form-control:focus {
            border-color: #0066cc;
            box-shadow: 0 0 20px rgba(0,102,204,0.1);
            background: white;
            outline: none;
        }
        
        .form-control:hover {
            border-color: #0066cc;
            background: white;
        }
        
        textarea.form-control {
            min-height: 120px;
            resize: vertical;
        }
        
        .btn-submit {
            background: linear-gradient(135deg, #0066cc, #004499);
            color: white;
            border: none;
            padding: 15px 40px;
            border-radius: 25px;
            font-weight: bold;
            font-size: 16px;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        
        .btn-submit:before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
            transition: left 0.6s ease;
        }
        
        .btn-submit:hover:before {
            left: 100%;
        }
        
        .btn-submit:hover {
            background: linear-gradient(135deg, #ffd700, #ffed4e);
            color: #0066cc;
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0,102,204,0.3);
        }
        
        .section-header {
            position: relative;
            margin-bottom: 30px;
            text-align: center;
        }
        
        .section-header h2 {
            color: #0066cc;
            font-size: 2.2em;
            margin-bottom: 15px;
        }
        
        .section-header::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 3px;
            background: linear-gradient(90deg, #0066cc, #ffd700);
            border-radius: 2px;
        }
        
        .ministry-badge {
            background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(0, 102, 204, 0.1));
            border: 2px solid rgba(255, 215, 0, 0.3);
            border-radius: 15px;
            padding: 20px;
            margin: 30px 0;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        
        .ministry-badge::before {
            content: '🇮🇹';
            position: absolute;
            top: 10px;
            right: 15px;
            font-size: 2em;
            opacity: 0.3;
        }
        
        .ministry-text {
            color: #0066cc;
            font-weight: bold;
            font-size: 1.1em;
        }
        
        .ministry-subtext {
            color: #ffd700;
            font-size: 0.9em;
            margin-top: 5px;
            text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
        }
        
        .quick-contact {
            background: linear-gradient(135deg, #28a745, #20c997);
            color: white;
            padding: 20px;
            border-radius: 15px;
            margin: 30px 0;
            text-align: center;
        }
        
        .quick-contact h3 {
            margin-bottom: 15px;
        }
        
        .quick-contact-btn {
            background: white;
            color: #28a745;
            padding: 10px 25px;
            border-radius: 20px;
            text-decoration: none;
            font-weight: bold;
            display: inline-block;
            transition: all 0.3s ease;
        }
        
        .quick-contact-btn:hover {
            background: #ffd700;
            color: #28a745;
            transform: scale(1.05);
            text-decoration: none;
        }
        
        @media (max-width: 768px) {
            .contact-hero h1 {
                font-size: 2em;
            }
            
            .contact-hero p {
                font-size: 1.1em;
            }
            
            .contact-card {
                padding: 20px;
            }
            
            .contact-form {
                padding: 25px;
            }
        }
    </style>

    <title>Contatta GMDSS Italia | Informazioni Corsi Certificazioni Marittime GOC ROC LRC SRC</title>
</head>

<body class="page-sub-page page-contact">
<!-- Wrapper -->
<div class="wrapper">
<!-- Header -->
<div class="navigation-wrapper">
    <div class="secondary-navigation-wrapper">
        <div class="container">
            <div class="navigation-contact pull-left">Inviaci subito una email per richiedere le informazioni <a href="mailto:info@gmdssitalia.it">info@gmdssitalia.it</a></div>
            <ul class="secondary-navigation list-unstyled"></ul>
        </div>
    </div>
    <div class="primary-navigation-wrapper">
        <header class="navbar" id="top" role="banner">
            <div class="container">
                <div class="navbar-header">
                    <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bs-navbar-collapse">
                        <span class="sr-only">Toggle navigation</span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </button>
                    <div class="navbar-brand nav" id="brand">
                        <a href="index.php"><img src="assets/img/logo.png" alt="Universo GMDSS Italia - Logo ufficiale centro formazione marittima"></a>
                    </div>
                </div>
                <nav class="collapse navbar-collapse bs-navbar-collapse navbar-right" role="navigation">
                    <ul class="nav navbar-nav">
                        <li><a href="index.php">Home</a></li>
                        <li><a href="corso-goc.php">Corso GOC</a></li>
                        <li><a href="corso-roc.php">Corso ROC</a></li>
                        <li><a href="corso-lrc.php">Corso LRC</a></li>
                        <li><a href="corso-src.php">Corso SRC</a></li>
                        <li><a href="blog.php">Blog</a></li>
                        <li><a href="chi-siamo.php">About Us</a></li>
                        <li class="active"><a href="contattaci.php">Contattaci</a></li>
                    </ul>
                </nav>
            </div>
        </header>
    </div>
    <div class="background">
        <img src="assets/img/background-city.png" alt="Sfondo panorama marittimo">
    </div>
</div>

<!-- Breadcrumb -->
<div class="container">
    <ol class="breadcrumb">
        <li><a href="index.php">Home</a></li>
        <li class="active">Contattaci</li>
    </ol>
</div>

<!-- Hero Section -->
<div class="contact-hero fade-in">
    <div class="container">
        <h1>Contatta Universo GMDSS Italia</h1>
        <p style="color: white; font-weight: 500;">Siamo qui per rispondere alle tue domande sui corsi di certificazione GMDSS e per aiutarti a scegliere il percorso formativo più adatto alle tue esigenze.</p>
    </div>
</div>

<!-- Page Content -->
<div id="page-content">
    <div class="container">
        <div class="row">
            <!-- Informazioni di Contatto -->
            <div class="col-md-6 fade-in">
                <div class="contact-card">
                    <div class="section-header">
                        <h2>Informazioni di Contatto</h2>
                    </div>
                    
                    <div class="contact-info">
                        <div class="contact-item">
                            <div class="contact-icon">
                                <i class="fa fa-map-marker"></i>
                            </div>
                            <div class="contact-details">
                                <h4>Sede Principale</h4>
                                <p>Via Indipendenza<br>Bologna, Italia</p>
                            </div>
                        </div>
                        
                        <div class="contact-item">
                            <div class="contact-icon">
                                <i class="fa fa-phone"></i>
                            </div>
                            <div class="contact-details">
                                <h4>Telefono</h4>
                                <p><a href="tel:+393312798375">+39 331 2798375</a></p>
                            </div>
                        </div>
                        
                        <div class="contact-item">
                            <div class="contact-icon">
                                <i class="fa fa-envelope"></i>
                            </div>
                            <div class="contact-details">
                                <h4>Email</h4>
                                <p><a href="mailto:info@gmdssitalia.it">info@gmdssitalia.it</a></p>
                            </div>
                        </div>
                        
                        <div class="contact-item">
                            <div class="contact-icon">
                                <i class="fa fa-clock-o"></i>
                            </div>
                            <div class="contact-details">
                                <h4>Orari di Apertura</h4>
                                <p>Lun - Sab: 11:00 - 19:30<br>Dom: Chiuso</p>
                            </div>
                        </div>
                    </div>
                    
                    <div class="ministry-badge">
                        <div class="ministry-text">Certificazioni Ministeriali Italiane</div>
                        <div class="ministry-subtext">Ministero delle Imprese e del Made in Italy</div>
                    </div>
                    
                    <div class="quick-contact">
                        <h3>Contatto Rapido</h3>
                        <p>Per informazioni immediate sui corsi</p>
                        <a href="tel:+393312798375" class="quick-contact-btn">
                            <i class="fa fa-phone"></i> Chiama Ora
                        </a>
                    </div>
                </div>
            </div>
            
            <!-- Mappa -->
            <div class="col-md-6 fade-in">
                <div class="contact-card">
                    <div class="section-header">
                        <h2>Dove Siamo</h2>
                    </div>
                    
                    <div class="map-container">
                        <iframe 
                            src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d2876.9406820876516!2d11.339866116005155!3d44.49542197910271!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x477fd495c0d8fdff%3A0x9e1f82ff1a3b0ec9!2sVia%20dell&#39;Indipendenza%2C%20Bologna%20BO%2C%20Italy!5e0!3m2!1sen!2s!4v1596790134281!5m2!1sen!2s" 
                            width="100%" 
                            height="400" 
                            frameborder="0" 
                            style="border:0; border-radius: 15px;" 
                            allowfullscreen
                            title="Mappa sede Universo GMDSS Italia Bologna">
                        </iframe>
                    </div>
                    
                    <div style="margin-top: 20px; padding: 15px; background: #f8f9fa; border-radius: 10px;">
                        <p><strong>Come Raggiungerci:</strong></p>
                        <ul style="margin: 10px 0; padding-left: 20px; color: #666;">
                            <li>In auto: Facilmente accessibile dal centro di Bologna</li>
                            <li>Mezzi pubblici: Autobus linee urbane</li>
                            <li>Treno: Stazione Bologna Centrale (15 min a piedi)</li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- Form di Contatto -->
        <div class="row" style="margin-top: 40px;">
            <div class="col-md-12 fade-in">
                <div class="contact-form">
                    <div class="section-header">
                        <h2>Invia un Messaggio</h2>
                        <p style="color: #666; margin-top: 15px;">Compila il form qui sotto e ti risponderemo nel più breve tempo possibile con tutte le informazioni sui nostri corsi GMDSS.</p>
                    </div>
                    
                    <form class="contact-form" id="contactform" method="post" action="contact_handler.php">
                        <div class="row">
                            <div class="col-md-6">
                                <div class="input-group">
                                    <div class="controls">
                                        <label for="name">Il tuo Nome</label>
                                        <input type="text" name="name" id="name" required>
                                    </div>
                                </div>
                            </div>
                            <div class="col-md-6">
                                <div class="input-group">
                                    <div class="controls">
                                        <label for="email">La tua Email</label>
                                        <input type="email" name="email" id="email" required>
                                    </div>
                                </div>
                            </div>
                        </div>
                        
                        <div class="row">
                            <div class="col-md-12">
                                <div class="input-group">
                                    <div class="controls">
                                        <label for="message">Il tuo Messaggio</label>
                                        <textarea name="message" id="message" required></textarea>
                                    </div>
                                </div>
                            </div>
                        </div>
                        
                        <div class="pull-right">
                            <input type="submit" class="btn btn-color-primary" id="submit" value="Invia il Messaggio">
                        </div>
                        <div id="form-status"></div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>

<!-- Footer -->
<?php include 'footer.php'; ?>

</div>
<!-- end Wrapper -->

<script type="text/javascript" src="assets/js/jquery-2.1.0.min.js"></script>
<script type="text/javascript" src="assets/js/jquery-migrate-1.2.1.min.js"></script>
<script type="text/javascript" src="assets/bootstrap/js/bootstrap.min.js"></script>
<script type="text/javascript" src="assets/js/selectize.min.js"></script>
<script type="text/javascript" src="assets/js/owl.carousel.min.js"></script>
<script type="text/javascript" src="assets/js/jquery.validate.min.js"></script>
<script type="text/javascript" src="assets/js/jquery.placeholder.js"></script>
<script type="text/javascript" src="assets/js/jQuery.equalHeights.js"></script>
<script type="text/javascript" src="assets/js/icheck.min.js"></script>
<script type="text/javascript" src="assets/js/jquery.vanillabox-0.1.5.min.js"></script>
<script type="text/javascript" src="assets/js/retina-1.1.0.min.js"></script>
<script type="text/javascript" src="assets/js/custom.js"></script>

<!-- Script Animazioni -->
<script>
$(document).ready(function() {
    // Controlla i parametri URL per mostrare messaggi di successo/errore
    function checkUrlParams() {
        const urlParams = new URLSearchParams(window.location.search);
        const success = urlParams.get('success');
        const error = urlParams.get('error');
        
        if (success === 'messaggio_inviato') {
            $('#form-status').html('<div style="color: #28a745; padding: 15px; background: #d4edda; border-radius: 10px; margin-top: 20px;"><i class="fa fa-check-circle"></i> <strong>Email inviata con successo!</strong> Ti risponderemo al più presto.</div>');
            // Scroll al messaggio
            $('html, body').animate({
                scrollTop: $('#form-status').offset().top - 100
            }, 500);
            // Rimuovi i parametri dall'URL senza ricaricare la pagina
            window.history.replaceState({}, document.title, window.location.pathname);
        }
        
        if (error) {
            let errorMessage = '';
            switch(error) {
                case 'campi_mancanti':
                    errorMessage = 'Per favore compila tutti i campi obbligatori.';
                    break;
                case 'email_non_valida':
                    errorMessage = 'L\'indirizzo email inserito non è valido.';
                    break;
                case 'spam_rilevato':
                    errorMessage = 'Messaggio rifiutato per motivi di sicurezza.';
                    break;
                case 'invio_fallito':
                    errorMessage = 'Si è verificato un errore nell\'invio. Riprova più tardi o contattaci direttamente.';
                    break;
                default:
                    errorMessage = 'Si è verificato un errore. Riprova più tardi.';
            }
            $('#form-status').html('<div style="color: #dc3545; padding: 15px; background: #f8d7da; border-radius: 10px; margin-top: 20px;"><i class="fa fa-exclamation-triangle"></i> ' + errorMessage + '</div>');
            // Scroll al messaggio
            $('html, body').animate({
                scrollTop: $('#form-status').offset().top - 100
            }, 500);
            // Rimuovi i parametri dall'URL senza ricaricare la pagina
            window.history.replaceState({}, document.title, window.location.pathname);
        }
    }
    
    // Esegui il controllo dei parametri
    checkUrlParams();
    
    // Animazione Fade In al scroll
    function checkFadeIn() {
        $('.fade-in').each(function() {
            var elementTop = $(this).offset().top;
            var elementBottom = elementTop + $(this).outerHeight();
            var viewportTop = $(window).scrollTop();
            var viewportBottom = viewportTop + $(window).height();
            
            if (elementBottom > viewportTop && elementTop < viewportBottom) {
                $(this).addClass('visible');
            }
        });
    }
    
    // Form validation e invio - ora gestito dal PHP
    $('#contactform').on('submit', function(e) {
        // La form viene inviata normalmente al PHP, rimuovo la preventDefault
        var name = $('#name').val();
        var email = $('#email').val();
        var message = $('#message').val();
        
        if (!name || !email || !message) {
            e.preventDefault();
            $('#form-status').html('<div style="color: #dc3545; padding: 15px; background: #f8d7da; border-radius: 10px;"><i class="fa fa-exclamation-triangle"></i> Per favore compila tutti i campi obbligatori.</div>');
            return false;
        }
        
        // Mostra messaggio di caricamento
        $('#form-status').html('<div style="color: #0066cc; padding: 15px; background: #e3f2fd; border-radius: 10px;"><i class="fa fa-spinner fa-spin"></i> Invio in corso...</div>');
    });
    
    // Focus effects per i form
    $('.form-control').on('focus', function() {
        $(this).parent().addClass('focused');
    }).on('blur', function() {
        $(this).parent().removeClass('focused');
    });
    
    // Hover effects per le social icons
    $('.social-icon').hover(
        function() {
            $(this).css('transform', 'translateY(-3px) scale(1.1)');
        },
        function() {
            $(this).css('transform', 'translateY(0) scale(1)');
        }
    );
    
    // Smooth scrolling per i link interni
    $('a[href^="#"]').on('click', function(event) {
        var target = $(this.getAttribute('href'));
        if (target.length) {
            event.preventDefault();
            $('html, body').stop().animate({
                scrollTop: target.offset().top - 100
            }, 1000);
        }
    });
    
    // Esegui controlli al caricamento e scroll
    checkFadeIn();
    
    $(window).on('scroll', function() {
        checkFadeIn();
    });
    
    // Animazione del pulsante submit
    $('.btn-submit').on('mouseenter', function() {
        $(this).find('i').addClass('fa-spin');
    }).on('mouseleave', function() {
        $(this).find('i').removeClass('fa-spin');
    });
});
</script>

</body>
</html>