/* Web Development Section Styles */
.web-dev-section {
    background: #ffffff;
    position: relative;
    overflow: hidden;
    padding: 120px 0;
    border-bottom: 1px solid #f0f0f0;
}

.web-dev-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/services/web-dev-pattern.svg') no-repeat center/cover;
    opacity: 0.05;
    z-index: 0;
}

.web-dev-content {
    position: relative;
    z-index: 1;
}

.web-dev-content h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 25px;
    line-height: 1.2;
}

.web-dev-content p {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 40px;
    line-height: 1.8;
}

.features-list .single-feature {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
}

.features-list .single-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: #4f46e5;
}

.features-list .icon {
    width: 60px;
    height: 60px;
    background: #eef2ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    color: #4f46e5;
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.features-list .single-feature:hover .icon {
    background: #e35176;
    color: #fff;
}

.features-list .content h5 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
}

.features-list .content p {
    font-size: 0.95rem;
    color: #718096;
    margin-bottom: 0;
    line-height: 1.6;
}

/* Mobile App Development Section */
.mobile-app-section {
    position: relative;
    padding: 100px 0;
    background: #ffffff;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-app-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/services/mobile-pattern.svg') no-repeat center/cover;
    opacity: 0.03;
    z-index: 0;
}

.mobile-app-content {
    position: relative;
    z-index: 1;
}

.mobile-app-content h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 25px;
    line-height: 1.2;
}

.mobile-app-content p {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 40px;
    line-height: 1.8;
}

.features-grid .feature-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px 25px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    text-align: center;
    margin-bottom: 25px;
}

.features-grid .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: #4f46e5;
}

.features-grid .icon {
    width: 70px;
    height: 70px;
    background: #eef2ff;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #4f46e5;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.features-grid .feature-card:hover .icon {
    background: #e35176;
    color: #fff;
    transform: scale(1.1);
}

.features-grid .feature-card h5 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 10px;
}

.features-grid .feature-card p {
    font-size: 0.95rem;
    color: #718096;
    margin-bottom: 0;
    line-height: 1.6;
}

/* Buttons */
.button {
    display: inline-block;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 2px solid transparent;
    padding: 12px 30px;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    background: #e35176;
    color: #fff;
    text-decoration: none;
}

.button:hover {
    color: #fff;
    background: #d13d64;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(227, 81, 118, 0.3);
}

.button-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .web-dev-section,
    .mobile-app-section {
        padding: 100px 0;
    }
    
    .web-dev-image img,
    .mobile-app-image img {
        max-height: 400px;
    }
    
    .web-dev-content h2,
    .mobile-app-content h2 {
        font-size: 2.3rem;
    }
    
    .features-list .single-feature {
        padding: 20px;
    }
    
    .features-grid .feature-card {
        padding: 25px 15px;
    }
}

@media (max-width: 767px) {
    .web-dev-section,
    .mobile-app-section {
        padding: 80px 0;
        text-align: center;
    }
    
    .web-dev-image,
    .mobile-app-image {
        margin-top: 40px;
    }
    
    .web-dev-image img,
    .mobile-app-image img {
        max-height: 350px;
    }
    
    .web-dev-content h2,
    .mobile-app-content h2 {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .web-dev-content p,
    .mobile-app-content p {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .features-list .single-feature {
        flex-direction: column;
        text-align: center;
    }
    
    .features-list .icon {
        margin: 0 auto 15px;
    }
    
    .features-grid .feature-card {
        margin-bottom: 20px;
    }
}

/* Animation */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

.web-dev-image {
    position: relative;
    z-index: 1;
    padding: 20px;
    text-align: center;
}

.web-dev-image img {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    width: auto;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 20px 30px rgba(227, 81, 118, 0.2));
    transition: all 0.3s ease;
}

.mobile-app-image {
    position: relative;
    z-index: 1;
    padding: 20px;
    text-align: center;
}

.mobile-app-image img {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    width: auto;
    animation: float 6s ease-in-out infinite 1s;
    filter: drop-shadow(0 20px 30px rgba(227, 81, 118, 0.2));
    transition: all 0.3s ease;
}

/* Hover effects */
.web-dev-image img:hover,
.mobile-app-image img:hover {
    transform: translateY(-10px);
    filter: drop-shadow(0 25px 40px rgba(227, 81, 118, 0.3));
}

/* Decorative Elements */
.web-dev-section .shape-1 {
    position: absolute;
    top: 10%;
    right: 5%;
    width: 100px;
    height: 100px;
    background: rgba(227, 81, 118, 0.1);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 8s ease-in-out infinite;
}

.mobile-app-section .shape-2 {
    position: absolute;
    bottom: 10%;
    left: 5%;
    width: 120px;
    height: 120px;
    background: rgba(227, 81, 118, 0.1);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: morph 10s ease-in-out infinite;
}

@keyframes morph {
    0% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }
    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
}
