/* ============ Service Page ============ */
body {
    background: linear-gradient(180deg, #eef3fc 0%, #fafafa 100%);
}

/* ============ Main ============ */
.service-page {
    max-width: 1440px;
    margin: -100px auto 0;
    padding: 0 24px 100px;
    position: relative;
    z-index: 2;
}

.service-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.04);
    box-shadow: 0 16px 48px -16px rgba(15, 23, 42, 0.16), 0 2px 8px rgba(15, 23, 42, 0.05);
    padding: 50px 52px 54px;
}

/* ============ Intro Head ============ */
.service-intro-head {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eef1f6;
}

.service-intro-head .service-intro-deco {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 14px;
}

.service-intro-head .deco-line {
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(26, 86, 219, 0.55));
}

.service-intro-head .deco-line:last-child {
    background: linear-gradient(270deg, transparent, rgba(26, 86, 219, 0.55));
}

.service-intro-head .deco-diamond {
    width: 9px;
    height: 9px;
    transform: rotate(45deg);
    border: 2px solid var(--color1);
    border-radius: 2px;
}

.service-intro-head .service-intro-label {
    display: block;
    font-size: 12px;
    letter-spacing: 5px;
    color: var(--color1);
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.service-intro-head h2 {
    font-size: 30px;
    font-weight: 700;
    color: #17233e;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.service-intro-head p {
    font-size: 14px;
    color: #8a94a8;
    letter-spacing: 1px;
}

/* ============ Service Grid ============ */
.service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
}

.service-item {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.04);
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 8px 24px -14px rgba(15, 23, 42, 0.14);
    transition: all 0.35s;
    display: flex;
    align-items: center;
    gap: 26px;
}

.service-item .service-img {
    flex: 0 0 240px;
    height: 190px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 24px -14px rgba(26, 86, 219, 0.35);
}

.service-item .service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-item:hover .service-img img {
    transform: scale(1.08);
}

.service-item .service-body {
    flex: 1;
    min-width: 0;
}

.service-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -16px rgba(26, 86, 219, 0.28);
    border-color: rgba(26, 86, 219, 0.2);
}

.service-item .service-icon {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--color1), #3d7bfd);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    box-shadow: 0 8px 20px -8px rgba(26, 86, 219, 0.5);
}

.service-item .service-icon svg {
    width: 26px;
    height: 26px;
    fill: #fff;
}

.service-item h3 {
    font-size: 19px;
    font-weight: 700;
    color: #1f2937;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.service-item p {
    font-size: 14px;
    line-height: 1.9;
    color: #7a8699;
    text-align: justify;
}

.service-item .service-points {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.service-item .service-points span {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--color1);
    background: rgba(26, 86, 219, 0.08);
    padding: 5px 14px;
    border-radius: 999px;
}

/* ============ Showcase ============ */
.showcase-head {
    margin-top: 62px;
    margin-bottom: 34px;
    border-bottom: none;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: 300px 300px 500px;
    gap: 22px;
}

.showcase-item {
    position: relative;
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 14px 32px -18px rgba(15, 23, 42, 0.35);
    transition: box-shadow 0.4s, transform 0.4s;
}

.showcase-item:nth-child(1) {
    grid-column: span 7;
    grid-row: 1;
}

.showcase-item:nth-child(2) {
    grid-column: span 5;
    grid-row: 1;
}

.showcase-item:nth-child(3) {
    grid-column: span 5;
    grid-row: 2;
}

.showcase-item:nth-child(4) {
    grid-column: span 7;
    grid-row: 2;
}

.showcase-item:nth-child(5) {
    grid-column: span 6;
    grid-row: 3;
}

.showcase-item:nth-child(6) {
    grid-column: span 6;
    grid-row: 3;
}

.showcase-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.showcase-item:hover img {
    transform: scale(1.08);
}

.showcase-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 18, 40, 0) 42%, rgba(6, 18, 40, 0.62) 100%);
    pointer-events: none;
}

.showcase-item:hover {
    box-shadow: 0 24px 48px -20px rgba(26, 86, 219, 0.4);
    transform: translateY(-4px);
}

.showcase-item .showcase-num {
    position: absolute;
    right: 16px;
    top: 12px;
    z-index: 2;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 34px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 2px 14px rgba(6, 18, 40, 0.45);
    letter-spacing: 2px;
}

.showcase-item figcaption {
    position: absolute;
    left: 20px;
    bottom: 16px;
    z-index: 2;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 1px 8px rgba(6, 18, 40, 0.5);
}

.showcase-item figcaption::before {
    content: '';
    width: 22px;
    height: 2px;
    background: linear-gradient(90deg, #5b9cff, rgba(255, 255, 255, 0.9));
    border-radius: 1px;
}

/* ============ Service CTA ============ */
.service-cta {
    position: relative;
    margin-top: 54px;
    padding: 50px 56px;
    text-align: center;
    background: linear-gradient(135deg, #f0f6ff 0%, #e7eefd 100%);
    border: 1px solid rgba(26, 86, 219, 0.12);
    border-radius: 22px;
    overflow: hidden;
}

.service-cta::before,
.service-cta::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.service-cta::before {
    width: 360px;
    height: 360px;
    right: -130px;
    top: -160px;
    border: 2px solid rgba(26, 86, 219, 0.1);
}

.service-cta::after {
    width: 280px;
    height: 280px;
    left: -110px;
    bottom: -150px;
    border: 2px solid rgba(26, 86, 219, 0.08);
}

.service-cta-inner {
    position: relative;
    z-index: 1;
}

.service-cta-label {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 5px;
    color: var(--color1);
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.service-cta h3 {
    font-size: 28px;
    font-weight: 700;
    color: #17233e;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.service-cta p {
    font-size: 15px;
    line-height: 2;
    color: #5f6f8a;
    margin-bottom: 30px;
}

.service-cta .service-cta-btns {
    display: flex;
    justify-content: center;
    gap: 14px;
}

.service-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 28px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.service-cta .btn-primary {
    background: linear-gradient(135deg, var(--color1), #3d7bfd);
    color: #fff;
    box-shadow: 0 10px 24px -10px rgba(26, 86, 219, 0.55);
}

.service-cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px -12px rgba(26, 86, 219, 0.65);
}

.service-cta .btn-outline {
    border: 1px solid rgba(26, 86, 219, 0.3);
    color: var(--color1);
    background: #fff;
}

.service-cta .btn-outline:hover {
    background: var(--color1);
    color: #fff;
    transform: translateY(-2px);
}

/* ============ Responsive ============ */
@media (max-width: 900px) {
    .service-page {
        margin-top: -76px;
        padding: 0 16px 60px;
    }

    .service-card {
        padding: 30px 20px;
    }

    .service-intro-head {
        margin-bottom: 28px;
        padding-bottom: 24px;
    }

    .service-intro-head h2 {
        font-size: 24px;
    }

    .service-intro-head p {
        font-size: 13px;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-item {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        padding: 20px;
    }

    .service-item .service-img {
        flex: none;
        width: 100%;
        height: 210px;
    }

    .showcase-head {
        margin-top: 42px;
        margin-bottom: 26px;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        gap: 14px;
    }

    .showcase-item:nth-child(n) {
        grid-column: auto;
        grid-row: auto;
        height: 220px;
    }

    .showcase-item:nth-child(5),
    .showcase-item:nth-child(6) {
        height: 300px;
    }

    .showcase-item figcaption {
        font-size: 14px;
    }

    .service-cta {
        margin-top: 32px;
        padding: 34px 22px;
    }

    .service-cta h3 {
        font-size: 22px;
    }

    .service-cta p {
        font-size: 13px;
        margin-bottom: 22px;
    }

    .service-cta .service-cta-btns {
        flex-direction: column;
        align-items: center;
    }

    .service-cta .btn {
        width: 200px;
        justify-content: center;
    }
}
