﻿/* --- TRUST GRID SECTION --- */

.trust-section-wrapper {
    padding: 30px 0;
    position: relative;
}

/* 1. Image Column */
.trust-image-wrapper {
    position: relative;
    padding-left: 20px; /* Chừa chỗ cho badge */
}

.trust-img {
    width: 100%;
    object-fit: cover;
    border-radius: 20px;
    /* Hiệu ứng viền bo nhẹ */
    border: 8px solid rgba(255,255,255,0.5);
}

/* Floating Badge (Huy hiệu nổi) */
.floating-badge {
    position: absolute;
    bottom: 30px;
    left: 0;
    background: linear-gradient(135deg, var(--primary-color, #0046ba) 0%, #0060ff 100%);
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 70, 186, 0.4);
    animation: float 3s ease-in-out infinite;
    z-index: 2;
    min-width: 120px;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* 2. Content Header */
.ls-2 {
    letter-spacing: 2px;
    font-size: 0.85rem;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 10px;
}

.title-line {
    width: 60px;
    height: 4px;
    background: var(--primary-color, #0046ba);
    border-radius: 2px;
}

/* 3. Trust Cards (Grid Item) */
.trust-card {
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    align-items: flex-start;
}

    /* Hiệu ứng Hover Card */
    .trust-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0, 70, 186, 0.1);
        border-color: rgba(0, 70, 186, 0.1);
    }

.icon-box {
    width: 40px;
    height: 40px;
    background: rgba(0, 70, 186, 0.1); /* Màu xanh nhạt */
    color: var(--primary-color, #0046ba);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-right: 15px;
    flex-shrink: 0;
    transition: all 0.3s;
}

.trust-card:hover .icon-box {
    background: var(--primary-color, #0046ba);
    color: #fff;
}

.card-text {
    flex-grow: 1;
}

.trust-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #333;
}

.trust-desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 0;
}

/* 4. CTA Button */
.btn-trust-cta {
    padding: 12px 30px;
    background: #0046ba;
    color: #fff;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

    .btn-trust-cta:hover {
        background: var(--primary-color, #0046ba);
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(0, 70, 186, 0.3);
    }

/* Responsive */
@media (max-width: 991px) {
    .trust-image-wrapper {
        padding-left: 0;
        margin-bottom: 40px;
        text-align: center;
    }

    .floating-badge {
        left: 50%;
        transform: translateX(-50%);
        bottom: -20px;
    }

    @keyframes float {
        0%, 100% {
            transform: translate(-50%, 0px);
        }

        50% {
            transform: translate(-50%, -10px);
        }
    }
}
