
/* ==========================================
   SNP GROUP - OUR SERVICES
   Compact Cards | Navy & Blue Theme
========================================== */

.snp-services-section {
    width: 100%;
    padding: 90px 20px;
    background: #f6f8fc;
    color: #111c32;
    font-family: 'Manrope', sans-serif;
    overflow: hidden;
    box-sizing: border-box;
}

.snp-services-section *,
.snp-services-section *::before,
.snp-services-section *::after {
    box-sizing: border-box;
}

.snp-services-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
}

/* ==========================================
   SECTION HEADING
========================================== */

.snp-services-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    margin-bottom: 38px;
}

.snp-services-heading-left {
    flex: 1;
    min-width: 0;
}

.snp-services-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    color: #1457d9;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.snp-services-eyebrow span {
    display: inline-block;
    width: 38px;
    height: 3px;
    background: #1457d9;
    flex-shrink: 0;
}

.snp-services-heading h2 {
    margin: 0;
    color: #111c32;
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -2.5px;
}

.snp-services-heading h2 span {
    display: block;
    color: #1457d9;
}

.snp-services-heading-right {
    flex: 0 0 390px;
    max-width: 390px;
    padding-bottom: 5px;
}

.snp-services-heading-right p {
    margin: 0 0 20px;
    color: #667085;
    font-size: 14px;
    line-height: 1.8;
    font-weight: 400;
}

.snp-services-view-all {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 6px;
    color: #111c32;
    border-bottom: 1px solid #1457d9;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    transition: color .3s ease;
}

.snp-services-view-all span {
    color: #1457d9;
    font-size: 17px;
    transition: transform .3s ease;
}

.snp-services-view-all:hover {
    color: #1457d9;
}

.snp-services-view-all:hover span {
    transform: translate(3px, -3px);
}

/* ==========================================
   SERVICES GRID
========================================== */

.snp-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 20px;
    width: 100%;
}

/* ==========================================
   COMPACT SERVICE CARDS
========================================== */

.snp-services-section .snp-service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;

    width: 100%;
    height: 210px !important;
    min-height: 0 !important;
    max-height: none;

    padding: 18px 22px !important;
    margin: 0;

    overflow: hidden;
    background: #ffffff;
    border: 1px solid #dce5f2;
    border-radius: 11px;

    color: #111c32;
    text-decoration: none;

    box-shadow: 0 5px 20px rgba(17, 40, 80, .025);

    transition:
        transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;

    animation: snpServiceFade .6s ease both;
    animation-delay: calc(var(--service-index, 0) * 80ms);
}

.snp-service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: #1457d9;
    transition: width .35s ease;
}

.snp-service-card:hover {
    transform: translateY(-4px);
    border-color: #b6cbef;
    box-shadow: 0 12px 28px rgba(20, 87, 217, .08);
}

.snp-service-card:hover::before {
    width: 100%;
}

/* ==========================================
   CARD TOP
========================================== */

.snp-service-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    margin-bottom: 16px !important;
}

.snp-service-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;
    flex-shrink: 0;

    border-radius: 10px;
    background: #eef4ff;
    color: #1457d9;

    font-size: 23px;
    line-height: 1;

    transition:
        background .3s ease,
        color .3s ease,
        transform .3s ease;
}

.snp-service-card:hover .snp-service-icon {
    background: #1457d9;
    color: #ffffff;
    transform: translateY(-2px);
}

.snp-service-number {
    color: #8492a8;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

/* ==========================================
   CARD CONTENT
========================================== */

.snp-service-content {
    width: 100%;
    flex: 0 0 auto;
}

.snp-service-content h3 {
    margin: 0 0 7px !important;
    color: #111c32;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: -.35px;
    transition: color .3s ease;
}

.snp-service-card:hover .snp-service-content h3 {
    color: #1457d9;
}

.snp-service-content p {
    margin: 0 !important;
    color: #667085;
    font-size: 11.5px;
    font-weight: 400;
    line-height: 1.65;
}

/* ==========================================
   CARD BOTTOM
========================================== */

.snp-service-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    width: 100%;
    margin-top: auto !important;
    padding-top: 10px !important;
    flex-shrink: 0;

    color: #1457d9;
    font-size: 11px;
    font-weight: 800;
}

.snp-service-arrow {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 29px;
    height: 29px;
    flex-shrink: 0;

    border: 1px solid #dce5f2;
    border-radius: 50%;

    color: #1457d9;
    font-size: 15px;

    transition:
        color .3s ease,
        background .3s ease,
        border-color .3s ease,
        transform .3s ease;
}

.snp-service-card:hover .snp-service-arrow {
    color: #ffffff;
    background: #1457d9;
    border-color: #1457d9;
    transform: translate(2px, -2px);
}

/* ==========================================
   BOTTOM CTA
========================================== */

.snp-services-cta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;

    margin-top: 28px;
    padding: 30px 35px;

    overflow: hidden;
    background: #111c32;
    border: 1px solid #1e3151;
    border-radius: 11px;

    color: #ffffff;
}

.snp-services-cta::after {
    content: "";
    position: absolute;
    top: -100px;
    right: 15%;
    width: 240px;
    height: 240px;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 50%;
    pointer-events: none;
}

.snp-services-cta > div {
    position: relative;
    z-index: 1;
}

.snp-services-cta > div > span {
    display: inline-block;
    margin-bottom: 8px;
    color: #70a0ff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.snp-services-cta h3 {
    margin: 0 0 7px;
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.4;
}

.snp-services-cta p {
    margin: 0;
    color: #c3cde0;
    font-size: 12px;
    line-height: 1.7;
}

.snp-services-cta a {
    position: relative;
    z-index: 1;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    flex-shrink: 0;
    padding: 13px 20px;

    background: #1457d9;
    border: 1px solid #1457d9;
    border-radius: 5px;

    color: #ffffff;
    text-decoration: none;
    font-size: 11px;
    font-weight: 800;

    transition:
        background .3s ease,
        transform .3s ease;
}

.snp-services-cta a:hover {
    background: #0d46b5;
    transform: translateY(-2px);
}

.snp-services-cta a span {
    font-size: 16px;
}

/* ==========================================
   REVEAL ANIMATION
========================================== */

.snp-services-reveal {
    animation: snpServiceFade .6s ease both;
}

@keyframes snpServiceFade {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   LAPTOP / TABLET
========================================== */

@media (max-width: 1024px) {
    .snp-services-section {
        padding: 75px 24px;
    }

    .snp-services-heading {
        gap: 25px;
        margin-bottom: 32px;
    }

    .snp-services-heading h2 {
        font-size: 50px;
        letter-spacing: -2px;
    }

    .snp-services-heading-right {
        flex-basis: 330px;
        max-width: 330px;
    }

    .snp-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .snp-services-section .snp-service-card {
        height: 210px !important;
        padding: 17px 20px !important;
    }
}

/* ==========================================
   SMALL TABLET
========================================== */

@media (max-width: 768px) {
    .snp-services-section {
        padding: 65px 20px;
    }

    .snp-services-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 17px;
    }

    .snp-services-heading h2 {
        font-size: 43px;
        letter-spacing: -1.7px;
    }

    .snp-services-heading-right {
        flex: none;
        width: 100%;
        max-width: 500px;
    }

    .snp-services-heading-right p {
        font-size: 13px;
        margin-bottom: 15px;
    }

    .snp-services-section .snp-service-card {
        height: 215px !important;
        padding: 18px !important;
    }

    .snp-service-content h3 {
        font-size: 15px;
    }

    .snp-service-content p {
        font-size: 11px;
    }

    .snp-services-cta {
        padding: 27px;
    }
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 600px) {
    .snp-services-section {
        padding: 55px 16px;
    }

    .snp-services-heading {
        gap: 15px;
        margin-bottom: 26px;
    }

    .snp-services-eyebrow {
        gap: 9px;
        margin-bottom: 14px;
        font-size: 10px;
        letter-spacing: 2px;
    }

    .snp-services-eyebrow span {
        width: 28px;
        height: 2px;
    }

    .snp-services-heading h2 {
        font-size: 35px;
        line-height: 1.17;
        letter-spacing: -1.4px;
    }

    .snp-services-heading-right p {
        font-size: 12px;
        line-height: 1.8;
    }

    .snp-services-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .snp-services-section .snp-service-card {
        height: auto !important;
        min-height: 0 !important;
        padding: 18px 20px !important;
    }

    .snp-service-top {
        margin-bottom: 14px !important;
    }

    .snp-service-icon {
        width: 40px;
        height: 40px;
        font-size: 22px;
    }

    .snp-service-content h3 {
        font-size: 16px;
        margin-bottom: 6px !important;
    }

    .snp-service-content p {
        font-size: 12px;
        line-height: 1.7;
    }

    .snp-service-bottom {
        padding-top: 12px !important;
    }

    .snp-service-arrow {
        width: 27px;
        height: 27px;
        font-size: 14px;
    }

    .snp-services-cta {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        margin-top: 20px;
        padding: 23px 20px;
    }

    .snp-services-cta h3 {
        font-size: 19px;
    }

    .snp-services-cta p {
        font-size: 12px;
    }

    .snp-services-cta a {
        width: 100%;
        padding: 13px 18px;
    }
}

/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 380px) {
    .snp-services-section {
        padding: 45px 13px;
    }

    .snp-services-heading h2 {
        font-size: 31px;
        letter-spacing: -1.1px;
    }

    .snp-services-section .snp-service-card {
        padding: 16px !important;
    }

    .snp-service-content h3 {
        font-size: 15px;
    }

    .snp-service-content p {
        font-size: 11px;
    }

    .snp-services-cta {
        padding: 20px 17px;
    }
}

/* ==========================================
   REDUCED MOTION
========================================== */

@media (prefers-reduced-motion: reduce) {
    .snp-services-section *,
    .snp-services-section *::before,
    .snp-services-section *::after {
        animation: none !important;
        transition: none !important;
    }
}