.sfds-section,
.sfds-section * { box-sizing: border-box; }

.sfds-section {
    position: relative;
    width: 100%;
    max-width: 100%;
    padding: 54px 20px 58px;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 50%, rgba(118,92,255,.10), transparent 26%),
        radial-gradient(circle at 88% 18%, rgba(83,111,255,.08), transparent 28%),
        linear-gradient(180deg, #fbfcff 0%, #f8f9ff 100%);
    font-family: Inter, Arial, sans-serif;
    color: #091747;
}

.sfds-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
}

.sfds-header {
    max-width: 800px;
    margin: 0 auto 26px;
    text-align: center;
}

.sfds-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 18px;
    padding: 10px 20px;
    border: 1px solid #e0e6ff;
    border-radius: 999px;
    background: rgba(255,255,255,.82);
    box-shadow: 0 8px 24px rgba(55,81,165,.08);
    color: #245cff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.sfds-badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 7px;
}
.sfds-badge-icon svg { width: 1em; height: 1em; fill: currentColor; }
.sfds-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.sfds-heading {
    margin: 0;
    color: #091747;
    font-family: Manrope, Inter, Arial, sans-serif;
    font-size: clamp(38px, 4vw, 62px);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -.035em;
}
.sfds-heading span { display: block; }

.sfds-title-accent {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 17px 0 14px;
}
.sfds-accent-line { width: 56px; height: 3px; border-radius: 10px; background: #245cff; }
.sfds-accent-dot { width: 6px; height: 6px; border-radius: 50%; background: #245cff; }

.sfds-description {
    max-width: 720px;
    margin: 0 auto;
    color: #536180;
    font-size: 16px;
    line-height: 1.55;
}

.sfds-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 24px;
    align-items: stretch;
}

.sfds-card {
    --sfds-card-offset-x: 0px;
    min-width: 0;
    min-height: 310px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    text-decoration: none;
    background: rgba(255,255,255,.94);
    border: 1px solid #dfe6fb;
    border-radius: 22px;
    box-shadow: 0 14px 38px rgba(42,72,148,.07);
    color: inherit;
    transform: translateX(var(--sfds-card-offset-x));
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.sfds-hover-lift-yes .sfds-card:hover {
    transform: translateX(var(--sfds-card-offset-x)) translateY(-5px);
    box-shadow: 0 20px 44px rgba(42,72,148,.11);
    border-color: #cad6ff;
}

/* With five cards on a three-column desktop grid, keep row two centered
   without reducing either card's width. */
.sfds-card:nth-child(4) {
    grid-column: 1 / 2;
    --sfds-card-offset-x: calc(50% + 12px);
}
.sfds-card:nth-child(5) {
    grid-column: 2 / 3;
    --sfds-card-offset-x: calc(50% + 12px);
}

.sfds-media {
    width: 132px;
    height: 132px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 50%;
    background: #f4f5ff;
}

.sfds-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.sfds-media--icon {
    color: var(--sfds-icon-color, #245cff);
    background: var(--sfds-icon-bg, #f3f5ff);
    font-size: 54px;
}
.sfds-media--icon i { color: inherit !important; font-size: 1em !important; }
.sfds-media--icon svg { width: 1em !important; height: 1em !important; fill: currentColor !important; color: inherit !important; }

.sfds-card-title {
    margin: 0 0 14px;
    color: #091747;
    font-family: Manrope, Inter, Arial, sans-serif;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.1;
}

.sfds-card-accent {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin: -2px 0 12px;
}
.sfds-card-line { width: 26px; height: 2px; border-radius: 10px; background: #245cff; }
.sfds-card-dot { width: 5px; height: 5px; border-radius: 50%; background: #245cff; }

.sfds-card-description {
    margin: 0;
    color: #56617d;
    font-size: 14px;
    line-height: 1.55;
}

.sfds-wave {
    position: absolute;
    z-index: 0;
    width: 620px;
    height: 220px;
    border: 1px solid #cbd3ff;
    border-radius: 50%;
    opacity: .35;
    pointer-events: none;
}
.sfds-wave--left { left: -220px; bottom: -115px; transform: rotate(10deg); box-shadow: 0 0 0 18px rgba(203,211,255,.12),0 0 0 36px rgba(203,211,255,.08),0 0 0 54px rgba(203,211,255,.05); }
.sfds-wave--right { right: -210px; top: -125px; transform: rotate(-10deg); box-shadow: 0 0 0 18px rgba(203,211,255,.10),0 0 0 36px rgba(203,211,255,.07); }
.sfds-show-waves- .sfds-wave { display: none; }

.sfds-dots {
    position: absolute;
    z-index: 1;
    width: 90px;
    height: 90px;
    opacity: .32;
    background-image: radial-gradient(circle, #7b8cff 2px, transparent 2.3px);
    background-size: 14px 14px;
    pointer-events: none;
}
.sfds-dots--top { left: 18px; top: 16px; }
.sfds-dots--bottom { right: 56px; bottom: 22px; }
.sfds-show-dots- .sfds-dots { display: none; }

@media (max-width: 1024px) {
    .sfds-section { padding: 42px 18px; }
    .sfds-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
    .sfds-card:nth-child(4), .sfds-card:nth-child(5) { grid-column: auto; --sfds-card-offset-x: 0px; }
    .sfds-card:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc(50% - 9px); justify-self: center; }
    .sfds-card { min-height: 0; }
}

@media (max-width: 767px) {
    .sfds-section { padding: 34px 14px 36px; }
    .sfds-header { margin-bottom: 20px; }
    .sfds-badge { padding: 8px 14px; margin-bottom: 14px; font-size: 11px; }
    .sfds-heading { font-size: clamp(31px, 9.5vw, 42px); line-height: 1.06; }
    .sfds-title-accent { margin: 13px 0 11px; }
    .sfds-description { font-size: 14px; line-height: 1.55; }
    .sfds-grid { grid-template-columns: 1fr !important; gap: 14px; }
    .sfds-card, .sfds-card:last-child:nth-child(odd) { grid-column: auto; width: 100%; --sfds-card-offset-x: 0px; min-height: 0; }
    .sfds-card { padding: 22px 18px; }
    .sfds-media { width: 112px; height: 112px; }
    .sfds-card-title { font-size: 20px; }
}


/* Equal-width card layout + responsive centering fix — 2026.29.48 */
@media (min-width: 1025px) {
    .sfds-grid {
        align-items: stretch;
    }
    .sfds-card {
        width: 100%;
        height: 100%;
        justify-self: stretch;
    }
    .sfds-card:nth-child(4),
    .sfds-card:nth-child(5) {
        width: 100%;
        margin: 0;
    }
}

@media (max-width: 1024px) {
    .sfds-card,
    .sfds-card:nth-child(4),
    .sfds-card:nth-child(5) {
        transform: none !important;
    }
    .sfds-hover-lift-yes .sfds-card:hover {
        transform: translateY(-4px) !important;
    }
}

@media (max-width: 767px) {
    .sfds-grid {
        width: 100%;
    }
    .sfds-card,
    .sfds-card:last-child:nth-child(odd) {
        max-width: none;
        justify-self: stretch;
    }
}
