/* Services Page Specific Styles */

.services-hero {
    position: relative;
    padding: 5rem 0 3rem;
    overflow: hidden;
}

.services-hero .hero-content {
    text-align: center;
}

.services-hero .hero-content h1 {
    margin-bottom: 1rem;
}

.services-hero .hero-subtitle {
    margin-top: 1.25rem;
    margin-bottom: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-hero .hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.08) 0%, rgba(124, 58, 237, 0.08) 100%);
}

.services-hero .hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 25%;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.15) 0%, transparent 70%);
}

.services-hero .hero-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 25%;
    width: 40%;
    height: 80%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
}

/* Category Section */
.category-section {
    padding: 5rem 0;
}

.category-section.alt-bg {
    background: linear-gradient(180deg, var(--muted-bg) 0%, #F1F5F9 100%);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.category-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 1rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.category-icon.blue { background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%); }
.category-icon.pink { background: linear-gradient(135deg, #EC4899 0%, #DB2777 100%); }
.category-icon.green { background: linear-gradient(135deg, #10B981 0%, #059669 100%); }
.category-icon.purple { background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%); }
.category-icon.orange { background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%); }
.category-icon.red { background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%); }
.category-icon.cyan { background: linear-gradient(135deg, #06B6D4 0%, #0891B2 100%); }

.category-header h2 {
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.category-header p {
    color: var(--muted);
    font-size: 1.1rem;
}

/* Service Items Grid */
.service-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.25rem;
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: white;
    border-radius: 1rem;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    border-color: rgba(52, 211, 153, 0.3);
}

.service-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    border-radius: 0.75rem;
    color: var(--primary);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.service-item:hover .service-item-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.service-item h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.service-item p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: white;
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.btn-secondary {
    background: white;
    color: var(--primary);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .category-header {
        flex-direction: column;
        text-align: center;
    }
    
    .service-items-grid {
        grid-template-columns: 1fr;
    }
}
