/* Importa un font pulito come Nunito da Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700;900&display=swap');

body {
    font-family: 'Nunito', sans-serif;
    background-color: #f8f9fa;
}

/* Header/Navbar */
.navbar-dark {
    background-color: #0d2c4a; /* Blu scuro */
    padding: 1rem 0;
}
.navbar-brand {
    font-weight: 700;
}
.nav-link {
    font-weight: 400;
}
.btn-primary {
    background-color: #1abc9c; /* Verde acqua */
    border-color: #1abc9c;
    border-radius: 20px;
    padding: 8px 20px;
}
.btn-primary:hover {
    background-color: #16a085;
    border-color: #16a085;
}

/* Sezione Hero (principale) */
.hero-section {
    padding: 100px 0;
    text-align: center;
}
.hero-section .icon {
    font-size: 3rem;
    color: #0d2c4a;
    margin-bottom: 20px;
}
.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 900;
    color: #0d2c4a;
}
.hero-section p {
    font-size: 1.2rem;
    color: #6c757d;
    max-width: 600px;
    margin: 20px auto;
}

/* Sezione Features */
.features-section {
    padding: 80px 0;
}
.feature-box {
    padding: 30px;
    text-align: center;
}
.feature-box h3 {
    color: #0d2c4a;
    font-weight: 700;
    margin-top: 15px;
}

/* Footer */
.footer {
    background-color: #e9ecef;
    padding: 40px 0;
    color: #343a40;
}
.footer h5 {
    font-weight: 700;
    text-transform: uppercase;
}
.footer a {
    color: #343a40;
    text-decoration: none;
}
.footer a:hover {
    text-decoration: underline;
}
.footer .social-icons a {
    font-size: 1.5rem;
    margin: 0 10px;
    color: #0d2c4a;
}
/* Stili per il Footer */
.site-footer {
    background-color: #f8f9fa; /* Un grigio molto chiaro */
    color: #6c757d; /* Grigio scuro per il testo */
    font-size: 0.9rem;
    border-top: 1px solid #dee2e6;
}

.site-footer h5 {
    color: #0d2c4a; /* Blu scuro per i titoli */
    font-size: 1rem;
    margin-bottom: 1rem;
}

.site-footer a {
    text-decoration: none;
    color: #6c757d;
}

.site-footer a:hover {
    color: #0d2c4a; /* Cambia colore al passaggio del mouse */
    text-decoration: underline;
}

.site-footer .list-unstyled li {
    margin-bottom: 0.5rem;
}

.site-footer .social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    margin-right: 10px;
    font-size: 1.2rem;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.site-footer .social-icon:hover {
    background-color: #0d2c4a;
    color: #fff;
    border-color: #0d2c4a;
    text-decoration: none;
}
/* 
 * Aggiungiamo anche uno stile per il banner di impersonificazione
 * per assicurarci che non interferisca.
*/
.impersonation-banner {
    z-index: 1050; /* Alto, ma meno del dropdown */
    position: relative; /* Necessario perché z-index funzioni */
}
.navbar .dropdown-menu {
    z-index: 1100 !important;
}
.spinner-border-sm {
    margin-right: 0.5rem;
}