/* Services Page Styles */
.services-page {
    padding: 6rem 0;
    background: linear-gradient(135deg, #fcfbf8 0%, #edf2f7 100%);
    position: relative;
    overflow: hidden;
}

.services-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
}

.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.service-detail:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-detail.reverse {
    direction: rtl;
}

.service-detail.reverse .service-detail-content {
    direction: ltr;
}

.service-detail-content {
    padding: 3rem;
    position: relative;
    z-index: 1;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 20px rgba(233, 189, 27, 0.2);
}

.service-icon i {
    font-size: 2.5rem;
    background: linear-gradient(135deg, white, #f0f0f0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.4s ease;
}

.service-detail:hover .service-icon {
    transform: rotate(5deg) scale(1.05);
}

.service-detail h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.service-detail h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-detail:hover h2::after {
    width: 120px;
}

.service-detail p {
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.service-features {
    margin: 2rem 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.75rem;
}

.service-features li {
    margin-bottom: 0.5rem;
    padding-left: 2.5rem;
    position: relative;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.service-features li:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.service-features li:hover::before {
    transform: scale(1.1) rotate(5deg);
}

.service-detail-image {
    position: relative;
    height: 100%;
    min-height: 400px;
    overflow: hidden;
}

.service-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-detail:hover .service-detail-image img {
    transform: scale(1.03);
}

/* Responsive Design */
@media (max-width: 992px) {
    .service-detail {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .service-detail.reverse {
        direction: ltr;
    }
    
    .service-detail.reverse .service-detail-content {
        order: 2;
    }
    
    .service-detail-image {
        order: 1;
        min-height: 300px;
    }
    
    .service-icon {
        margin-left: auto;
        margin-right: auto;
    }
    
    .service-detail h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .service-detail:hover h2::after {
        width: 80px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .service-features li {
        text-align: left;
    }
}

.service-features li:hover i {
    transform: scale(1.2);
}

.service-detail-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.service-detail-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-detail-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.service-detail-image:hover img {
    transform: scale(1.03);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .service-detail {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-detail.reverse {
        direction: ltr;
    }
    
    .service-detail-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .services-page {
        padding: 60px 0;
    }
    
    .service-detail {
        margin-bottom: 50px;
    }
    
    .service-detail h2 {
        font-size: 1.8rem;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
    }
    
    .service-icon i {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .service-detail h2 {
        font-size: 1.6rem;
    }
    
    .service-features li {
        font-size: 0.95rem;
    }
}
