/* SPK Infratech Services Section - Unique Styles */
:root {
    --spk-svc-primary: #71B100;
    --spk-svc-secondary: #0F2B46;
    --spk-svc-bg-light: #f4f7f6;
    --spk-svc-white: #ffffff;
    --spk-svc-text-dark: #0F2B46;
    --spk-svc-text-light: #555555;
}

.spk-svc-section {
    position: relative;
    padding: 100px 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f2f5 100%);
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
}

/* Background Decorative Shapes */
.spk-svc-shape {
    position: absolute;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.spk-svc-blob-1 {
    width: 600px;
    height: 600px;
    background: rgba(113, 177, 0, 0.05);
    top: -10%;
    left: -10%;
    filter: blur(80px);
}

.spk-svc-blob-2 {
    width: 500px;
    height: 500px;
    background: rgba(15, 43, 70, 0.04);
    bottom: -10%;
    right: -10%;
    filter: blur(60px);
}

.spk-svc-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Left Column */
.spk-svc-left {
    position: sticky;
    top: 100px;
}

.spk-svc-subtitle {
    display: inline-block;
    color: var(--spk-svc-primary);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.spk-svc-heading {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--spk-svc-secondary);
    line-height: 1.2;
    margin-bottom: 20px;
}

.spk-svc-heading span {
    color: var(--spk-svc-primary);
}

.spk-svc-desc {
    font-size: 1.1rem;
    color: var(--spk-svc-text-light);
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 450px;
}

.spk-svc-img-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.spk-svc-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

/* Floating Shapes */
.spk-svc-float-circle {
    position: absolute;
    width: 80px;
    height: 80px;
    border: 4px solid var(--spk-svc-primary);
    border-radius: 50%;
    top: -30px;
    right: -30px;
    opacity: 0.6;
    z-index: 3;
}

.spk-svc-float-dots {
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(var(--spk-svc-secondary) 2px, transparent 2px);
    background-size: 20px 20px;
    opacity: 0.2;
    z-index: -1;
}

/* Right Column - Timeline & Cards */
.spk-svc-right {
    position: relative;
    padding-left: 40px;
}

/* Timeline Line */
.spk-svc-timeline-line {
    position: absolute;
    left: 0;
    top: 40px;
    bottom: 40px;
    width: 4px;
    background: rgba(15, 43, 70, 0.1);
    border-radius: 2px;
}

.spk-svc-timeline-progress {
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 0%;
    background: var(--spk-svc-primary);
    border-radius: 2px;
    transition: height 0.1s linear;
}

/* Service Cards */
.spk-svc-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    border-left: 6px solid var(--spk-svc-primary);
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    gap: 20px;
    opacity: 0;
    /* Initial state for GSAP */
    transform: translateY(80px);
    /* Initial state for GSAP */
}

.spk-svc-card:hover {
    transform: translateX(15px) !important;
    /* Override GSAP inline transform on hover if conflicts, but GSAP usually handles this cleanly */
    box-shadow: 0 15px 40px rgba(113, 177, 0, 0.15);
    background: #ffffff;
}

/* Zig-zag alignment effect */
.spk-svc-card:nth-child(even) {
    margin-left: 30px;
}

.spk-svc-card-num {
    font-size: 3rem;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px var(--spk-svc-primary);
    opacity: 0.3;
    line-height: 1;
    min-width: 60px;
}

.spk-svc-card-icon {
    width: 60px;
    height: 60px;
    background: rgba(113, 177, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--spk-svc-primary);
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: background 0.3s ease;
}

.spk-svc-card:hover .spk-svc-card-icon {
    background: var(--spk-svc-primary);
    color: #ffffff;
}

.spk-svc-card-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--spk-svc-secondary);
    margin-bottom: 5px;
}

.spk-svc-card-content p {
    font-size: 0.95rem;
    color: var(--spk-svc-text-light);
    margin: 0;
}

/* Connector Dot */
.spk-svc-card::before {
    content: '';
    position: absolute;
    left: -46px;
    /* Align with timeline */
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: #fff;
    border: 3px solid var(--spk-svc-primary);
    border-radius: 50%;
    z-index: 5;
    transition: all 0.3s ease;
}

.spk-svc-card:nth-child(even)::before {
    left: -76px;
    /* Adjust for zig-zag margin */
}

.spk-svc-card:hover::before {
    background: var(--spk-svc-primary);
    box-shadow: 0 0 0 5px rgba(113, 177, 0, 0.2);
}

/* Responsive */
@media (max-width: 992px) {
    .spk-svc-container {
        grid-template-columns: 1fr;
    }

    .spk-svc-left {
        position: relative;
        top: 0;
        margin-bottom: 50px;
        text-align: center;
    }

    .spk-svc-desc {
        margin: 0 auto 40px;
    }

    .spk-svc-img-wrapper {
        max-width: 600px;
        margin: 0 auto;
    }

    .spk-svc-timeline-line {
        left: 20px;
    }

    .spk-svc-right {
        padding-left: 60px;
    }

    .spk-svc-card:nth-child(even) {
        margin-left: 0;
    }

    .spk-svc-card::before {
        left: -49px !important;
    }
}

@media (max-width: 576px) {
    .spk-svc-card {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding: 20px;
    }

    .spk-svc-card-num {
        position: absolute;
        top: 15px;
        right: 15px;
        font-size: 4rem;
        opacity: 0.1;
    }

    .spk-svc-card-icon {
        margin-bottom: 15px;
    }
}