/* ZigZag / Split Row Layout for Services */

.services-feature-grid {
    display: flex;
    flex-direction: column;
    gap: 0; /* Remove gap, we will use padding or specific spacing */
    max-width: 1100px;
    margin: 0 auto;
}

.service-feature-card {
    display: flex;
    align-items: center;
    background: transparent;
    border-radius: 0; 
    box-shadow: none;
    border: none;
    overflow: visible;
    padding: 60px 0;
    position: relative;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.service-feature-card:last-child {
    border-bottom: none;
}

/* Image Side */
.service-img-wrapper {
    flex: 1;
    height: 400px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    transform: perspective(1000px) rotateY(0deg);
    transition: transform 0.5s ease;
}

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

.service-feature-card:hover .service-img-wrapper img {
    transform: scale(1.05);
}

.img-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0,33,71,0.3));
    z-index: 1;
}

/* Content Side */
.service-feature-content {
    flex: 0.9;
    padding: 0 50px;
    position: relative;
    z-index: 2;
}

/* Alternating Layout */
.service-feature-card:nth-child(even) {
    flex-direction: row-reverse;
}

/* Typography & Elements */
.service-tags {
    color: var(--accent-orange);
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: inline-block;
    position: relative;
}

.service-tags::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background: var(--accent-orange);
    right: -40px;
    top: 50%;
}

.service-feature-card:nth-child(even) .service-tags::after {
    right: auto;
    left: -40px;
}

.service-feature-card h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--primary-blue);
    line-height: 1.2;
}

.service-feature-card p {
    font-size: 1.05rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.7;
    max-width: 450px;
}

/* Buttons */
.service-link-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 30px;
    background: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.service-link-btn:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

/* Floating Badges */
.floating-icon-badge {
    position: absolute;
    width: 70px;
    height: 70px;
    background: var(--accent-orange);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.8rem;
    bottom: 30px;
    right: 30px;
    z-index: 5;
    box-shadow: 0 10px 20px rgba(245, 128, 37, 0.4);
}

.service-feature-card:nth-child(even) .floating-icon-badge {
    right: auto;
    left: 30px;
}

/* Responsive */
@media (max-width: 900px) {
    .service-feature-card, 
    .service-feature-card:nth-child(even) {
        flex-direction: column;
        text-align: left;
        padding: 40px 0;
        gap: 30px;
    }

    .service-img-wrapper {
        width: 100%;
        height: 250px;
        flex: none;
    }

    .service-feature-content {
        padding: 0;
        flex: none;
        width: 100%;
    }
    
    .service-tags::after {
        display: none;
    }
}
