/* Reset and base styles */

.trust-section {
    background: white;
    border-radius: 16px;
    padding: 60px 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
}

/* Header styling */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #1a202c;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.medal-emoji {
    font-size: 2.5rem;
}

.trust-text {
    color: #3b82f6;
}

/* Description styling */
.description {
    max-width: 800px;
    margin: 0 auto 50px auto;
    color: #4a5568;
}

.main-description {
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.sub-description {
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

.trust-message {
    font-size: 1rem;
    color: #2d3748;
}

.trust-message strong {
    font-weight: 600;
}

.trust-emoji {
    font-size: 1.1rem;
    margin-left: 4px;
}

/* Brand logos grid */
.brands-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.brand-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.brand-logo {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    height: 80px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    animation: fadeInUp 0.6s ease forwards;
}

.brand-logo:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-color: #cbd5e0;
}

.brand-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

/* Top accent line */
.trust-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #06b6d4);
    border-radius: 2px;
    margin-top: -2px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Staggered animation delays */
.brand-row:first-child .brand-logo:nth-child(1) { animation-delay: 0.1s; }
.brand-row:first-child .brand-logo:nth-child(2) { animation-delay: 0.2s; }
.brand-row:first-child .brand-logo:nth-child(3) { animation-delay: 0.3s; }
.brand-row:first-child .brand-logo:nth-child(4) { animation-delay: 0.4s; }
.brand-row:first-child .brand-logo:nth-child(5) { animation-delay: 0.5s; }

.brand-row:last-child .brand-logo:nth-child(1) { animation-delay: 0.6s; }
.brand-row:last-child .brand-logo:nth-child(2) { animation-delay: 0.7s; }
.brand-row:last-child .brand-logo:nth-child(3) { animation-delay: 0.8s; }
.brand-row:last-child .brand-logo:nth-child(4) { animation-delay: 0.9s; }
.brand-row:last-child .brand-logo:nth-child(5) { animation-delay: 1.0s; }

/* Responsive design */
@media (max-width: 768px) {
    .trust-section {
        padding: 40px 20px;
    }
    
    .section-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 8px;
    }
    
    .medal-emoji {
        font-size: 2rem;
    }
    
    .main-description,
    .sub-description {
        font-size: 1rem;
    }
    
    .brand-row {
        gap: 15px;
    }
    
    .brand-logo {
        min-width: 120px;
        height: 70px;
        padding: 12px 16px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.75rem;
    }
    
    .brand-row {
        flex-direction: column;
        gap: 12px;
    }
    
    .brand-logo {
        width: 200px;
        min-width: unset;
    }
}