/* =====================================================
   SERVICES PAGE – ENTERPRISE INTERACTIVE
===================================================== */

.services-page {
    background: #ffffff;
}

/* ===============================
   TIMELINE WRAPPER
================================ */

.services-page .services-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    display: grid;
    gap: 48px;
}

/* Vertical connecting line */
.services-page .services-container::before {
    content: "";
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(
        to bottom,
        rgba(37,99,235,0.15),
        rgba(37,99,235,0.35),
        rgba(37,99,235,0.15)
    );
}

/* ===============================
   SERVICE CARD
================================ */

.services-page .service-block {
    position: relative;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 40px 36px 36px 84px;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.services-page .service-block:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 50px rgba(2,6,23,0.14);
    border-color: #2563eb;
}

/* ===============================
   NUMBER BADGE
================================ */

.services-page .service-badge {
    position: absolute;
    left: 12px;
    top: 36px;

    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: #2563eb;
    color: #ffffff;

    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===============================
   HEADING ROW
================================ */

.services-page .service-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
}

.services-page .service-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(37,99,235,0.08);

    display: flex;
    align-items: center;
    justify-content: center;
}

.services-page .service-icon svg {
    width: 22px;
    height: 22px;
    stroke: #2563eb;
    stroke-width: 1.8;
    fill: none;
}

.services-page .service-block h2 {
    font-size: 20px;
    font-weight: 600;
    color: #0f172a;
}

/* ===============================
   CONTEXT LINE
================================ */

.services-page .service-context {
    font-size: 14px;
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 8px;
}

/* ===============================
   BODY CONTENT
================================ */

.services-page .service-block p {
    font-size: 14.5px;
    line-height: 1.65;
    color: #475569;
}

.services-page .service-block ul {
    margin-top: 16px;
    padding-left: 18px;
}

.services-page .service-block ul li {
    font-size: 14.5px;
    color: #334155;
    margin-bottom: 8px;
}

/* ===============================
   HOVER REVEAL (CLIENTS / USE CASES)
================================ */

.services-page .service-hover {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed #e5e7eb;

    font-size: 13.5px;
    color: #475569;

    opacity: 0;
    max-height: 0;
    overflow: hidden;

    transition:
        opacity 0.3s ease,
        max-height 0.3s ease;
}

.services-page .service-block:hover .service-hover {
    opacity: 1;
    max-height: 120px;
}

/* ===============================
   CTA INSIDE CARD
================================ */

.services-page .service-cta-btn {
    display: inline-block;
    margin-top: 18px;

    font-size: 14px;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
}

.services-page .service-cta-btn:hover {
    text-decoration: underline;
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 768px) {

    .services-page .services-container::before {
        left: 18px;
    }

    .services-page .service-block {
        padding-left: 72px;
    }

    .services-page .service-badge {
        left: 6px;
    }
}
