.trust-section {
    text-align: center;
    padding: 4rem 1rem;
    background: #fafbfc;
    --trust-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.trust-container {
    max-width: 1200px;
    margin: 0 auto;
}

.trust-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.trust-section.trust-ready .trust-header > * {
    opacity: 0;
    transform: translateY(25px);
    filter: blur(6px);
}

.trust-section.trust-animate .trust-header > * {
    animation: trustHeaderReveal 0.8s var(--trust-ease) forwards;
}

.trust-section.trust-animate .trust-header > *:nth-child(2) { animation-delay: 0.1s; }
.trust-section.trust-animate .trust-header > *:nth-child(3) { animation-delay: 0.2s; }

@keyframes trustHeaderReveal {
    0% {
        opacity: 0;
        transform: translateY(25px);
        filter: blur(6px);
    }
    60% {
        transform: translateY(-5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.trust-header h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: #1a2340;
}

.trust-header p {
    font-size: 1.15rem;
    color: #555;
}

/* Stats Grid */
.trust-section .trust-stats,
.trust-stats {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 2.5rem;
    margin-bottom: 4rem;
    grid-auto-flow: row !important;
    /* Ensure grid layout is not overridden by Tailwind or other CSS */
    flex-direction: unset !important;
    flex-wrap: unset !important;
    flex: unset !important;
}

@media screen and (max-width: 768px) {
    .trust-section .trust-stats,
    .trust-stats {
        margin-bottom: 1.5rem !important;
    }
}

@media screen and (max-width: 480px) {
    .trust-section .trust-stats,
    .trust-stats {
        margin-bottom: 1rem !important;
    }
}

.trust-stat-item {
    background: #fff;
    border-radius: 1.25rem;
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.07);
    padding: 2.2rem 1.5rem 1.7rem 1.5rem;
    text-align: center;
    position: relative;
    transition: box-shadow 0.2s, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), background 0.4s;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
    overflow: hidden;
    min-width: 0;
    width: 100%;
}

.trust-section.trust-ready .trust-stat-item {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
}

.trust-section.trust-animate .trust-stat-item {
    animation: trustStatRise 0.85s var(--trust-ease) forwards;
    animation-delay: var(--trust-delay, 0ms);
}

@keyframes trustStatRise {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
        filter: blur(4px);
    }
    65% {
        transform: translateY(-6px) scale(1.03);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.trust-stat-item:hover {
    box-shadow: 0 12px 36px 0 rgba(0,0,0,0.18);
    transform: translateY(-8px) scale(1.025);
    background: linear-gradient(120deg, #fffbe6 60%, #ffe06633 100%);
}

.trust-stat-item::before {
    content: '';
    width: 2.5rem;
    height: 0.35rem;
    background: #ffe066;
    border-radius: 1rem;
    margin-bottom: 1.1rem;
    transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.35s;
    z-index: 1;
}

.trust-stat-item:hover::before {
    width: 4.5rem;
    background: #ffd700;
}

.stat-icon {
    font-size: 3rem;
    color: #81a4cd;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.trust-stat-item:hover .stat-icon {
    color: #ffe066;
    transform: scale(1.1) rotate(5deg);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a2340;
    font-family: "Krona One", sans-serif;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.05rem;
    color: #333;
    font-weight: 500;
    line-height: 1.4;
}

/* Testimonial */
.trust-testimonial {
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 1.25rem;
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.07);
    position: relative;
    text-align: left;
    transition: box-shadow 0.2s, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), background 0.4s;
}

.trust-section.trust-ready .testimonial-card {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(6px);
}

.trust-section.trust-animate .testimonial-card {
    animation: trustTestimonialLift 0.9s var(--trust-ease) 0.45s forwards;
}

@keyframes trustTestimonialLift {
    0% {
        opacity: 0;
        transform: translateY(40px);
        filter: blur(6px);
    }
    60% {
        transform: translateY(-8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}
.testimonial-card:hover {
.testimonial-quote {
    position: absolute;
    top: -20px;
    left: 40px;
    width: 60px;
    height: 60px;
    background: #ffe066;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 224, 102, 0.4);
    transition: background 0.3s;
}

.testimonial-card:hover .testimonial-quote {
    background: #ffd700;
}

.testimonial-quote i {
    font-size: 1.5rem;
    color: #1a2340;
}

@media (prefers-reduced-motion: reduce) {
    .trust-section.trust-ready .trust-header > *,
    .trust-section.trust-ready .trust-stat-item,
    .trust-section.trust-ready .testimonial-card,
    .trust-section.trust-animate .trust-header > *,
    .trust-section.trust-animate .trust-stat-item,
    .trust-section.trust-animate .testimonial-card {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }
}

.testimonial-text {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 20px;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a2340;
    margin-bottom: 5px;
}

.author-title {
    font-size: 0.95rem;
    color: #555;
}

/* Responsive */
@media screen and (max-width: 992px) {
    section.trust-section .trust-container .trust-stats,
    .trust-section .trust-stats,
    .trust-stats {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-rows: repeat(2, auto) !important;
        gap: 1.5rem !important;
        grid-auto-flow: row !important;
        flex-direction: unset !important;
        flex-wrap: unset !important;
        flex: unset !important;
    }
}

@media screen and (max-width: 768px) {
    .trust-section {
        padding: 2.5rem 0.5rem 1.5rem 0.5rem;
    }

    .trust-header h2 {
        font-size: 1.5rem;
    }

    .trust-header p {
        font-size: 1rem;
    }

    section.trust-section .trust-container .trust-stats,
    .trust-section .trust-stats,
    .trust-stats {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-rows: repeat(2, auto) !important;
        gap: 1rem !important;
        grid-auto-flow: row !important;
        flex-direction: unset !important;
        flex-wrap: unset !important;
        flex: unset !important;
        align-items: unset !important;
        justify-content: unset !important;
    }
    
    section.trust-section .trust-container .trust-stats .trust-stat-item,
    .trust-section .trust-stats .trust-stat-item,
    .trust-stats .trust-stat-item,
    .trust-stat-item {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 1.2rem 0.75rem;
        min-width: 0;
        grid-column: auto !important;
        grid-row: auto !important;
    }

    .trust-stat-item::before {
        width: 2rem;
        height: 0.28rem;
        margin-bottom: 0.7rem;
    }

    .stat-icon {
        font-size: 2.5rem;
        margin-bottom: 0.8rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.98rem;
    }

    .testimonial-card {
        padding: 2rem 1.2rem;
    }

    .testimonial-text {
        font-size: 1rem;
    }

    .testimonial-quote {
        width: 50px;
        height: 50px;
        left: 20px;
        top: -15px;
    }

    .testimonial-quote i {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 480px) {
    .trust-section {
        padding: 2.25rem 0.75rem 1.25rem 0.75rem;
    }

    .trust-header h2 {
        font-size: 1.35rem;
        line-height: 1.25;
    }

    .trust-header p {
        font-size: 0.95rem;
    }

    section.trust-section .trust-container .trust-stats,
    .trust-section .trust-stats,
    .trust-stats {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-rows: repeat(2, auto) !important;
        gap: 0.875rem !important;
        grid-auto-flow: row !important;
        flex-direction: unset !important;
        flex-wrap: unset !important;
        flex: unset !important;
        align-items: unset !important;
        justify-content: unset !important;
    }
    
    section.trust-section .trust-container .trust-stats .trust-stat-item,
    .trust-section .trust-stats .trust-stat-item,
    .trust-stats .trust-stat-item,
    .trust-stat-item {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 1rem 0.6rem;
        border-radius: 1rem;
        min-width: 0;
        grid-column: auto !important;
        grid-row: auto !important;
    }

    .stat-icon {
        font-size: 2.1rem;
        margin-bottom: 0.65rem;
    }

    .stat-number {
        font-size: 1.7rem;
        margin-bottom: 0.4rem;
    }

    .stat-label {
        font-size: 0.9rem;
        line-height: 1.35;
    }
}


