/* ===== Floating Trust Bar ===== */

/* Floating position */
.trust-wrapper{
    position: relative;
    padding-top: 0;          /* override the default 88px section padding, */
                              /* which was cancelling out the overlap below */
    margin-top: -50px;       /* overlap only the empty lower photo area */
    z-index: 20;
}

/* Card — top blends the blurred hero photo through frosted glass,
   then settles into solid white for the icons/text area */
.trust-bar{
    position: relative;
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,.30) 0%,
        rgba(255,255,255,.80) 45%,
        #FFFFFF 72%
    );
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border-radius: 32px;
    border: 1px solid rgba(255,255,255,.5);
    box-shadow: 0 18px 40px rgba(15,23,42,.12);

    display: grid;
    grid-template-columns: repeat(5,1fr);
    padding: 34px 18px 30px;
    overflow: hidden;
}

.trust-item{
    text-align: center;
    padding: 0 18px;
    position: relative;
}

.trust-item:not(:last-child)::after{
    content:"";
    position:absolute;
    top:20px;
    right:0;
    width:1px;
    height:135px;
    background:#E8ECF2;
}

.trust-icon{
    width:58px;
    height:58px;
    margin:0 auto 18px;
    border-radius:50%;
    background:#1998BA;
    display:flex;
    align-items:center;
    justify-content:center;
}

.trust-icon img{
    width:24px;
    height:24px;
    object-fit:contain;
}

.trust-item h4{
    font-family:var(--font-heading);
    font-size:18px;
    font-weight:700;
    color:#111318;
    line-height:28px;
    margin-bottom:8px;
}

.trust-item p{
    font-family:var(--font-body);
    font-size:15px;
    line-height:24px;
    color:#626975;
}

/* =========================================================
   RESPONSIVE — TABLET & MOBILE
========================================================= */

@media (max-width:992px){

    .trust-bar{
        grid-template-columns:repeat(3,1fr);
        row-gap:30px;
        padding:30px 16px 26px;
    }

    .trust-item:nth-child(3)::after{
        display:none;
    }

    .trust-item:not(:last-child)::after{
        height:110px;
    }
}

@media (max-width:700px){

    .trust-wrapper{
        margin-top:-30px;
    }

    .trust-bar{
        grid-template-columns:repeat(2,1fr);
        row-gap:26px;
        padding:26px 14px 22px;
        border-radius:24px;
    }

    .trust-item:not(:last-child)::after{
        display:none;
    }

    .trust-icon{
        width:50px;
        height:50px;
        margin-bottom:14px;
    }

    .trust-item h4{
        font-size:16px;
        line-height:24px;
    }

    .trust-item p{
        font-size:14px;
        line-height:22px;
    }
}

@media (max-width:420px){

    .trust-bar{
        grid-template-columns:1fr;
    }
}