/* Services Vertical Carousel Styles */

.services-scroll-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
}

.services-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}

.service-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 3rem;
    height: 90vh;
    min-height: 90vh;
    display: flex;
    align-items: center;
    will-change: transform, opacity;
    pointer-events: auto;
    box-sizing: border-box;
}

/* Indices 0, 2, 4... - left aligned */
.service-card.align-left,
.service-card:nth-child(odd) {
    justify-content: flex-start !important;
}

/* Indices 1, 3, 5... - right aligned */
.service-card.align-right,
.service-card:nth-child(even) {
    justify-content: flex-end !important;
}

.service-card > .mb-4 {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.service-card .flex-1 {
    width: 100%;
    max-width: 1000px;
}

/* Left aligned services - content starts from left */
.service-card.align-left .flex-1,
.service-card:nth-child(odd) .flex-1 {
    margin-left: 0;
    margin-right: auto;
}

/* Right aligned services - content ends at right */
.service-card.align-right .flex-1,
.service-card:nth-child(even) .flex-1 {
    margin-left: auto;
    margin-right: 0;
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card p {
    margin-bottom: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .service-card {
        padding: 1.5rem 2rem;
    }
    
    .service-card h3 {
        font-size: 1.5rem;
    }
}

/* Smooth transitions - let GSAP handle animations */
.service-card * {
    transition: none;
}

/* Zigzag Line Animation - Vertical, positioned dynamically */
.zigzag-line {
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 100%;
    pointer-events: none;
    z-index: 10;
    overflow: visible;
    will-change: transform;
}

.zigzag-line path {
    filter: drop-shadow(0 0 4px rgba(255, 140, 0, 0.5));
}
