/* Footer Web 3.0 */
.footer-web3 {
    background: none;
    position: relative;
    overflow: hidden;
}
.footer-bg-gradient {
    background: linear-gradient(120deg,#43e97b 0%,#198754 100%);
    opacity: 0.95;
        z-index: 0;
}
.footer-card {
    backdrop-filter: blur(16px) saturate(1.2);
    background: rgba(255,255,255,0.13);
    border-radius: 32px;
    box-shadow: 0 16px 64px rgba(67,233,123,0.22), 0 2px 12px rgba(67,233,123,0.09);
    border: 1.5px solid rgba(67,233,123,0.13);
}
.badge-web3 {
    display: inline-block;
    background: linear-gradient(90deg,#43e97b 0%,#198754 100%);
    color: #fff;
    font-weight: 700;
    font-size: 17px;
    padding: 8px 21px;
    border-radius: 32px;
    box-shadow: 0 2px 12px rgba(67,233,123,0.10);
    letter-spacing: 1px;
    margin-bottom: 10px;
    animation: badgePulse 2.5s infinite, fadeInBadge 1.1s cubic-bezier(.4,0,.2,1) forwards;
    opacity: 1;
}
@keyframes badgePulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(67,233,123,0.18); }
    50% { box-shadow: 0 0 16px 8px rgba(67,233,123,0.18); }
}
@keyframes fadeInBadge {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}
.particles-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 1;
}
.particle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(120deg, #43e97b 0%, #eafff2 100%);
    opacity: 0.18;
    animation: floatParticle 8s infinite ease-in-out;
}
@keyframes floatParticle {
    0% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-40px) scale(1.2); }
    100% { transform: translateY(0) scale(1); }
}

/* Particelle footer specifiche */
.particle-f1 {
    width: 32px; height: 32px; top: 10%; left: 8%; animation-delay: 0s;
}
.particle-f2 {
    width: 24px; height: 24px; top: 80%; left: 80%; animation-delay: 2s;
}
.particle-f3 {
    width: 20px; height: 20px; top: 50%; left: 60%; animation-delay: 1s;
}
.particle-f4 {
    width: 36px; height: 36px; top: 70%; left: 20%; animation-delay: 3s;
}
.particle-f5 {
    width: 18px; height: 18px; top: 25%; left: 90%; animation-delay: 1.5s;
}
.bi-facebook:hover {
  color: #4267B2;
  transform: scale(1.2) rotate(5deg);
}

.bi-instagram:hover {
  color: #E1306C;
  transform: scale(1.2) rotate(-5deg);
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .footer-web3 .row {
        flex-direction: column;
        gap: 40px;
    }
    .footer-card {
        padding: 40px 20px !important;
        border-radius: 20px;
        box-shadow: 0 8px 25px rgba(67,233,123,0.15);
    }
    .footer-card h5 {
        font-size: 28px;
        margin-bottom: 30px;
        font-weight: 700;
    }
    .footer-card p {
        font-size: 18px;
        margin-bottom: 12px;
        line-height: 1.6;
    }
    .footer-card .bi {
        font-size: 22px;
    }
    .footer-card .fs-4 {
        font-size: 28px !important;
    }
    .footer-card input, .footer-card textarea {
        font-size: 16px;
        padding: 12px 16px;
        border-radius: 12px;
    }
    .footer-card button {
        font-size: 16px;
        padding: 12px 24px;
        border-radius: 15px;
        font-weight: 700;
    }
}

/* Privacy checkbox styles inside footer cards */
.footer-card .form-check {
    display: flex;
    align-items: center;
    gap: 12px;
}
.footer-card .form-check-input {
    width: 18px;
    height: 18px;
    margin-top: 0;
    -webkit-appearance: checkbox;
    appearance: checkbox;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.6);
    background: transparent;
    /* modern way to color the native checkbox tick */
    accent-color: #ffffff;
    cursor: pointer;
}
.footer-card .form-check-input:focus {
    box-shadow: 0 0 0 6px rgba(67,233,123,0.12);
    outline: none;
}
.footer-card .form-check-label {
    color: #ffffff;
    font-size: 0.95rem;
    cursor: pointer;
}
.footer-card .form-check-label {
    color: #ffffff;
    font-size: 0.95rem;
}
.footer-card .form-check-label a {
    color: #ffffff;
    text-decoration: underline;
}
.footer-card .form-check-label a:hover {
    opacity: 0.9;
}


