/* Professional Trust Badges Styling */
.trust-badges-section {
    padding: 20px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.trust-badges-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(0, 123, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.trust-badges-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 10px 25px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.trust-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.6s ease;
}

.trust-badge:hover::before {
    left: 100%;
}

.trust-badge:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.3);
}

.trust-badge-icon {
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

/* Individual colorful icon styles */
.trust-badge:nth-child(1) .trust-badge-icon {
    color: #00d4ff;
    background: transparent;
}

.trust-badge:nth-child(1):hover .trust-badge-icon {
    color: #00e5ff;
    background: transparent;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

.trust-badge:nth-child(2) .trust-badge-icon {
    color: #00ff88;
    background: transparent;
}

.trust-badge:nth-child(2):hover .trust-badge-icon {
    color: #00ffaa;
    background: transparent;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
}

.trust-badge:nth-child(3) .trust-badge-icon {
    color: #ffeb3b;
    background: transparent;
}

.trust-badge:nth-child(3):hover .trust-badge-icon {
    color: #fff176;
    background: transparent;
    box-shadow: 0 0 20px rgba(255, 235, 59, 0.4);
}

.trust-badge:nth-child(4) .trust-badge-icon {
    color: #e040fb;
    background: transparent;
}

.trust-badge:nth-child(4):hover .trust-badge-icon {
    color: #ea80fc;
    background: transparent;
    box-shadow: 0 0 20px rgba(224, 64, 251, 0.4);
}

.trust-badge:nth-child(5) .trust-badge-icon {
    color: #ff1744;
    background: transparent;
}

.trust-badge:nth-child(5):hover .trust-badge-icon {
    color: #ff5252;
    background: transparent;
    box-shadow: 0 0 20px rgba(255, 23, 68, 0.4);
}

.trust-badge:hover .trust-badge-icon {
    transform: rotate(360deg) scale(1.1);
}

.trust-badge-text {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

/* Animation for badges on load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.trust-badge {
    animation: fadeInUp 0.6s ease forwards;
}

.trust-badge:nth-child(1) { animation-delay: 0.1s; }
.trust-badge:nth-child(2) { animation-delay: 0.2s; }
.trust-badge:nth-child(3) { animation-delay: 0.3s; }
.trust-badge:nth-child(4) { animation-delay: 0.4s; }
.trust-badge:nth-child(5) { animation-delay: 0.5s; }

/* Pulse animation for icons */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.trust-badge:hover .trust-badge-icon {
    animation: pulse 1s infinite;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .trust-badges-section {
        padding: 30px 0;
    }
    
    .trust-badges-container {
        gap: 1rem;
    }
    
    .trust-badge {
        padding: 0.7rem 1.4rem;
    }
    
    .trust-badge-icon {
        font-size: 1.2rem;
        width: 28px;
        height: 28px;
    }
    
    .trust-badge-text {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .trust-badges-container {
        gap: 0.8rem;
    }
    
    .trust-badge {
        padding: 0.6rem 1.2rem;
    }
    
    .trust-badge-icon {
        font-size: 1.1rem;
        width: 26px;
        height: 26px;
    }
    
    .trust-badge-text {
        font-size: 0.8rem;
    }
}
