/* Services Page Styles */
.services-hero-section {
    text-align: center;
    padding: 80px 20px 60px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 0 0 30px 30px;
    margin-bottom: 40px;
}

.services-hero-section h1 {
    background: linear-gradient(135deg, #1e293b 0%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 30px;
}

.services-hero-section p {
    color: #64748b;
    max-width: 800px;
    margin: 0 auto;
}

/* Services Grid */
.services-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.service-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 40px 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #cbd5e1;
}

/* Service Icons */
.service-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon-wrapper {
    transform: scale(1.1);
}

/* Service Content */
.service-card h3 {
    color: #1e293b;
    margin-bottom: 20px;
    font-size: 24px;
}

.service-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Service Buttons */
.service-card .wp-block-button__link {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card .wp-block-button__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.service-card .wp-block-button__link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.service-card .wp-block-button__link:hover::before {
    left: 100%;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 80px 40px;
    text-align: center;
    margin-top: 60px;
}

.cta-section h2 {
    color: #1e293b;
    margin-bottom: 30px;
}

.cta-section p {
    color: #64748b;
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .wp-block-button__link {
    background: linear-gradient(135deg, #1e293b 0%, #475569 100%);
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-section .wp-block-button__link:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.cta-section .wp-block-button__link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-section .wp-block-button__link:hover::before {
    left: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .services-hero-section {
        padding: 60px 20px 40px;
    }
    
    .services-hero-section h1 {
        font-size: 36px;
    }
    
    .services-hero-section p {
        font-size: 18px;
    }
    
    .services-grid-container {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 40px 0;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .cta-section {
        padding: 60px 20px;
        margin-top: 40px;
    }
    
    .cta-section h2 {
        font-size: 28px;
    }
    
    .cta-section p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .services-hero-section h1 {
        font-size: 28px;
    }
    
    .services-hero-section p {
        font-size: 16px;
    }
    
    .service-card h3 {
        font-size: 20px;
    }
    
    .service-card p {
        font-size: 14px;
    }
    
    .cta-section h2 {
        font-size: 24px;
    }
}

/* Animation Classes */
.service-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover Effects */
.service-card:hover .service-icon-wrapper svg {
    animation: pulse 1s ease-in-out;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Loading States */
.service-card.loading {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
} 