/* =======================================================
   SECTION 15 : TESTIMONIALS & ENGINEERING TRUST
======================================================= */
.trust-section {
    position: relative;
    padding: 110px 5.5%;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 16%, rgba(46, 196, 255, 0.08), transparent 27%),
        radial-gradient(circle at 88% 79%, rgba(46, 213, 115, 0.06), transparent 31%),
        linear-gradient(180deg, #091a2a 0%, #07111d 100%);
}
.trust-section::before {
    position: absolute;
    inset: 0;
    content: "";
    opacity: 0.2;
    background-image:
        linear-gradient(rgba(98, 204, 249, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(98, 204, 249, 0.04) 1px, transparent 1px);
    background-size: 58px 58px;
    pointer-events: none;
}
.trust-section .section-header,
.stats-grid,
.testimonial-grid,
.trust-panel,
.case-study-card,
.community-cta {
    position: relative;
    z-index: 1;
    width: min(1380px, 100%);
    margin-right: auto;
    margin-left: auto;
}
/* ---------- Statistics ---------- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}
.stat-card {
    position: relative;
    min-height: 138px;
    padding: 22px;
    overflow: hidden;
    border: 1px solid rgba(132, 211, 244, 0.16);
    border-radius: 14px;
    background:
        linear-gradient(145deg, rgba(18, 46, 67, 0.76), rgba(6, 23, 38, 0.84));
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
.stat-card::after {
    position: absolute;
    top: -52px;
    right: -38px;
    width: 115px;
    height: 115px;
    border: 1px solid rgba(46, 196, 255, 0.13);
    border-radius: 50%;
    content: "";
    box-shadow:
        0 0 0 20px rgba(46, 196, 255, 0.025),
        0 0 0 40px rgba(46, 196, 255, 0.015);
}
.stat-card strong,
.stat-card span {
    position: relative;
    z-index: 1;
}
.stat-card strong {
    display: block;
    color: #eafaff;
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.06em;
}
.stat-card span {
    display: block;
    margin-top: 12px;
    color: #96b5c3;
    font-size: 0.74rem;
    line-height: 1.45;
}
.stat-card:nth-child(2) strong {
    color: #a3efc0;
}
.stat-card:nth-child(3) strong {
    color: #ffd18a;
}
.stat-card:nth-child(4) strong {
    color: #bca3ff;
}
/* ---------- Testimonials ---------- */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.testimonial-card {
    display: flex;
    flex-direction: column;
    min-height: 276px;
    padding: 24px;
    border: 1px solid rgba(132, 211, 244, 0.17);
    border-radius: 15px;
    background:
        linear-gradient(145deg, rgba(18, 46, 68, 0.78), rgba(6, 23, 37, 0.86));
    box-shadow:
        0 17px 44px rgba(0, 0, 0, 0.17),
        inset 0 1px 0 rgba(255, 255, 255, 0.035);
    transition:
        transform 0.22s ease,
        border-color 0.22s ease;
}
.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(46, 196, 255, 0.38);
}
.quote-icon {
    color: var(--cyan);
    font-family: Georgia, serif;
    font-size: 3rem;
    line-height: 0.85;
    text-shadow: 0 0 16px rgba(46, 196, 255, 0.25);
}
.testimonial-card > p {
    margin: 17px 0 21px;
    color: #b4d0dc;
    font-size: 0.79rem;
    line-height: 1.75;
}
.testimonial-user {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(132, 211, 244, 0.1);
}
.testimonial-user .avatar {
    width: 37px;
    height: 37px;
    flex-basis: 37px;
    font-size: 0.65rem;
}
.testimonial-card:nth-child(2) .avatar {
    background: linear-gradient(135deg, #a5f4c6, #2ed573);
}
.testimonial-card:nth-child(3) .avatar {
    background: linear-gradient(135deg, #d0baff, #9570e9);
}
.testimonial-user strong {
    display: block;
    color: #e5f8ff;
    font-size: 0.75rem;
    font-weight: 600;
}
.testimonial-user span {
    display: block;
    margin-top: 3px;
    color: #84a5b5;
    font-size: 0.67rem;
}
/* ---------- Trust standards panel ---------- */
.trust-panel {
    padding: 0;
    margin-top: 24px;
    overflow: hidden;
}
.trust-panel::before {
    display: none;
}
.trust-panel .card-header {
    margin: 0;
    padding: 19px 22px;
    border-bottom: 1px solid rgba(132, 211, 244, 0.13);
    background: rgba(46, 196, 255, 0.035);
}
.trust-panel .card-header h3 {
    margin: 0;
    color: #e8f9ff;
    font-size: 0.94rem;
    font-weight: 600;
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.trust-item {
    min-height: 178px;
    padding: 22px;
    border-right: 1px solid rgba(132, 211, 244, 0.1);
    transition: background 0.2s ease;
}
.trust-item:last-child {
    border-right: 0;
}
.trust-item:hover {
    background: rgba(46, 196, 255, 0.045);
}
.trust-icon {
    display: grid;
    width: 31px;
    height: 31px;
    color: #06170d;
    border-radius: 50%;
    background: var(--green);
    font-size: 0.69rem;
    font-weight: 700;
    box-shadow: 0 0 14px rgba(46, 213, 115, 0.2);
    place-items: center;
}
.trust-item h4 {
    margin: 15px 0 0;
    color: #dff5fc;
    font-size: 0.8rem;
    font-weight: 600;
}
.trust-item p {
    margin: 9px 0 0;
    color: #91afbc;
    font-size: 0.71rem;
    line-height: 1.6;
}
/* ---------- Case study ---------- */
.case-study-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(310px, 0.4fr);
    margin-top: 24px;
    overflow: hidden;
    border: 1px solid rgba(46, 196, 255, 0.25);
    border-radius: 16px;
    background:
        linear-gradient(120deg, rgba(11, 49, 71, 0.93), rgba(8, 27, 43, 0.96));
    box-shadow:
        0 22px 56px rgba(0, 0, 0, 0.23),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.case-study-content {
    padding: 31px;
}
.case-study-content > span {
    display: inline-flex;
    padding: 6px 10px;
    color: #80e3ff;
    border: 1px solid rgba(46, 196, 255, 0.24);
    border-radius: 999px;
    background: rgba(46, 196, 255, 0.08);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}
.case-study-content h3 {
    margin: 14px 0 0;
    color: #ecfbff;
    font-size: clamp(1.2rem, 2.3vw, 1.7rem);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.035em;
}
.case-study-content p {
    margin: 12px 0;
    color: #a8c9d6;
    font-size: 0.78rem;
    line-height: 1.65;
}
.case-study-content ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px 20px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}
.case-study-content li {
    position: relative;
    padding-left: 17px;
    color: #cef0fa;
    font-size: 0.72rem;
}
.case-study-content li::before {
    position: absolute;
    top: 0.47em;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    content: "";
    background: var(--cyan);
    box-shadow: 0 0 10px rgba(46, 196, 255, 0.4);
}
.case-study-result {
    display: grid;
    align-content: center;
    gap: 18px;
    padding: 30px;
    border-left: 1px solid rgba(132, 211, 244, 0.13);
    background:
        radial-gradient(circle at center, rgba(46, 196, 255, 0.13), transparent 70%);
}
.case-study-result > div {
    padding: 16px;
    border: 1px solid rgba(46, 196, 255, 0.16);
    border-radius: 10px;
    background: rgba(3, 17, 29, 0.26);
    text-align: center;
}
.case-study-result strong {
    display: block;
    color: #7ce1ff;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.06em;
}
.case-study-result > div:nth-child(2) strong {
    color: #a4efc2;
}
.case-study-result span {
    display: block;
    margin-top: 8px;
    color: #9ebecb;
    font-size: 0.7rem;
    line-height: 1.45;
}
/* ---------- Community CTA ---------- */
.community-cta {
    margin-top: 25px;
    padding: 40px 25px;
    overflow: hidden;
    border: 1px solid rgba(46, 213, 115, 0.26);
    border-radius: 16px;
    background:
        radial-gradient(circle at 78% 46%, rgba(46, 213, 115, 0.17), transparent 30%),
        linear-gradient(120deg, rgba(10, 51, 58, 0.92), rgba(7, 29, 40, 0.95));
    text-align: center;
    box-shadow:
        0 22px 54px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.community-cta h3 {
    margin: 0;
    color: #edfffa;
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    font-weight: 600;
    letter-spacing: -0.04em;
}
.community-cta p {
    max-width: 620px;
    margin: 11px auto 22px;
    color: #a9cbd1;
    font-size: 0.8rem;
    line-height: 1.65;
}
.community-cta .primary-btn {
    background: linear-gradient(135deg, #91f0b8, #2ed573);
    box-shadow: 0 12px 28px rgba(46, 213, 115, 0.2);
}
.community-cta .primary-btn:hover {
    background: linear-gradient(135deg, #c0f8d4, #2ed573);
}
/* ---------- Responsive trust section ---------- */
@media (max-width: 1060px) {
    .trust-section {
        padding: 88px 4%;
    }
    .stats-grid,
    .testimonial-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .trust-item:nth-child(2) {
        border-right: 0;
    }
    .trust-item:nth-child(-n + 2) {
        border-bottom: 1px solid rgba(132, 211, 244, 0.1);
    }
    .case-study-card {
        grid-template-columns: 1fr;
    }
    .case-study-result {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        border-top: 1px solid rgba(132, 211, 244, 0.13);
        border-left: 0;
    }
}
@media (max-width: 680px) {
    .trust-section {
        padding: 72px 22px;
    }
    .stats-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .stat-card,
    .testimonial-card {
        min-height: auto;
    }
    .trust-grid {
        grid-template-columns: 1fr;
    }
    .trust-item,
    .trust-item:nth-child(2) {
        min-height: auto;
        padding: 18px;
        border-right: 0;
        border-bottom: 1px solid rgba(132, 211, 244, 0.1);
    }
    .trust-item:last-child {
        border-bottom: 0;
    }
    .case-study-content,
    .case-study-result {
        padding: 23px 19px;
    }
    .case-study-content ul,
    .case-study-result {
        grid-template-columns: 1fr;
    }
    .community-cta {
        padding: 31px 19px;
    }
    .community-cta .primary-btn {
        width: 100%;
    }
}
