/* Services Page Specific Styles */

/* Hero Section Animation */
.services-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(40, 167, 69, 0.1) 0%, rgba(0, 123, 255, 0.1) 100%);
    z-index: 0;
}

.services-hero .container {
    position: relative;
    z-index: 1;
}

/* Service Detail Sections */
.service-detail {
    padding: 80px 0;
    overflow: hidden;
}

.service-image {
    height: 400px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-image:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.service-image:hover::after {
    opacity: 1;
}

/* Service Images */
.mvp-image {
    background-image: url('../assets/images/mvp-development.jpg');
    animation: fadeInRight 1s ease-out;
}

.desktop-image {
    background-image: url('../assets/images/desktop-software.jpg');
    animation: fadeInLeft 1s ease-out;
}

.mobile-image {
    background-image: url('../assets/images/mobile-app.jpg');
    animation: fadeInRight 1s ease-out;
}

.consultancy-image {
    background-image: url('../assets/images/consultancy.jpg');
    animation: fadeInLeft 1s ease-out;
}

/* Service Benefits List */
.service-benefits {
    list-style: none;
    padding: 0;
}

.service-benefits li {
    padding: 10px 0;
    position: relative;
    padding-left: 30px;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideIn 0.5s ease forwards;
}

.service-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Animations */
@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.service-benefits li:nth-child(1) { animation-delay: 0.1s; }
.service-benefits li:nth-child(2) { animation-delay: 0.2s; }
.service-benefits li:nth-child(3) { animation-delay: 0.3s; }
.service-benefits li:nth-child(4) { animation-delay: 0.4s; }
.service-benefits li:nth-child(5) { animation-delay: 0.5s; }

/* Service Icons */
.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    animation: bounceIn 1s ease-out;
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
    70% {
        transform: scale(0.9);
        opacity: 0.9;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}