/* ===== Services Section ===== */
.services-section {
    padding: 6rem 2rem;
    position: relative;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 50%, #f0f4ff 100%);
    overflow: hidden;
}

.services-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--primary);
    top: -150px;
    left: -150px;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--accent);
    bottom: -100px;
    right: 10%;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: var(--secondary);
    top: 20%;
    right: -75px;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.services-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.services-category {
    margin-bottom: 4rem;
}

.category-title {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 2rem;
    padding-left: 1rem;
    border-left: 4px solid var(--primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(108, 99, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(108, 99, 255, 0.15);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.service-card h4 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.service-features span {
    background: rgba(108, 99, 255, 0.1);
    color: var(--primary);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.services-cta {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.1) 0%, rgba(255, 100, 199, 0.1) 100%);
    border-radius: 20px;
    margin-top: 3rem;
}

.services-cta p {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(108, 99, 255, 0.3);
    color: white !important;
}

/* Responsive Design */
@media (max-width: 968px) {
    .section-title {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 4rem 1.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 2rem;
    }
    @media (max-width: 768px) {
    .project-features {
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    
    .project-features span {
        justify-content: center;
        text-align: center;
    }
     .service-features {
        justify-content: center;
        align-items: center;
    }
    
    .service-features span {
        text-align: center;
    }
}
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.9rem;
    }
    
    .category-title {
        font-size: 1.5rem;
    }
    
    .service-icon {
        font-size: 2.5rem;
    }
    
    .services-cta {
        padding: 2rem 1.5rem;
    }
    
    .services-cta p {
        font-size: 1.1rem;
    }
     .service-features {
        justify-content: center;
        align-items: center;
    }
    
    .service-features span {
        text-align: center;
    }
}