/* --- Trust Bar Section (Clean & Open) --- */
.trust-bar-section {
    padding: 5rem 1.5rem;
    background: transparent; /* Elements now float on the site background */
}

.trust-container {
    max-width: 80rem;
    margin: 0 auto;
}

.trust-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem; /* Increased gap for a more premium, open feel */
}

@media (min-width: 768px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .trust-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2.5rem;
    }
    /* Variable card count modifiers — when admin hides cards.
     * Generated by the template based on visible-cards count. */
    .trust-grid--1cols { grid-template-columns: minmax(0, 480px); justify-content: center; }
    .trust-grid--2cols { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 720px; margin-left: auto; margin-right: auto; }
    .trust-grid--3cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .trust-grid--4cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* --- Individual Trust Item --- */
.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
}

/* Subtle lift on the whole group instead of a box */
.trust-item:hover {
    transform: translateY(-5px);
}

/* --- Icon Wrapper (Fixes the Overflow) --- */
.trust-icon-wrapper {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #0d9488; /* Brand Teal */
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Modern Hover Effect: A soft glow appears behind the icon */
.trust-icon-wrapper::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(13, 148, 136, 0.1);
    border-radius: 50%; /* Circle looks more modern in "free" layouts */
    transform: scale(0);
    transition: transform 0.4s ease;
    z-index: -1;
}

.trust-item:hover .trust-icon-wrapper::after {
    transform: scale(1.2);
}

.trust-item:hover .trust-icon-wrapper {
    color: #0d9488;
    transform: scale(1.1);
}

.trust-icon-wrapper svg {
    width: 32px;
    height: 32px;
}

/* --- Typography --- */
.trust-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.trust-desc {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    max-width: 250px; /* Keeps text legible and balanced */
    margin: 0 auto;
}

/* --- SEO & Performance --- */
/* Inline SVGs are used for zero-latency loading */
/* Proper H3 tags maintain heading hierarchy for search engines */