/* ===== SERVICES PAGE SPECIFIC STYLES ===== */
.services-header {
    min-height: 60vh;
    display: flex;
    align-items: center;
    background: var(--gradient-primary);
    color: #fff;
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}
.services-header .floating-shape {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--blue);
    opacity: 0.15;
    filter: blur(80px);
    z-index: 1;
    animation: float 25s infinite alternate;
}
.services-header .shape1 { top: -150px; left: -150px; background: var(--primary); }
.services-header .shape2 { bottom: -150px; right: -150px; background: var(--teal); animation-duration: 30s; }
.services-header-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
}
.services-header h1 {
    color: #fff;
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    margin-bottom: 20px;
}
.services-header p {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    max-width: 600px;
}

/* Category filter */
.service-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 40px 0 20px;
    flex-wrap: wrap;
}
.filter-btn {
    background: transparent;
    border: 2px solid var(--blue);
    color: var(--text-primary);
    padding: 8px 25px;
    border-radius: var(--radius-full);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
}
.filter-btn:hover,
.filter-btn.active {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* Service Card with Slanted Design */
.service-page-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-light);
    position: relative;
    transform: translateY(0);
    display: flex;
    flex-direction: column;
}
.service-page-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--blue);
    border-color: var(--blue);
}
/* Slanted accent line */
.service-page-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary), var(--blue));
    transform: skewY(-1deg);
    transform-origin: left;
    opacity: 0;
    transition: opacity 0.3s;
}
.service-page-card:hover::after {
    opacity: 1;
}

.service-page-image {
    height: 220px;
    overflow: hidden;
}
.service-page-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.service-page-card:hover .service-page-image img {
    transform: scale(1.05);
}

.service-page-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.service-page-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}
.service-page-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
    flex: 1;
}
.service-page-content .btn {
    align-self: flex-start;
    padding: 10px 25px;
    font-size: 0.95rem;
    background: var(--gradient-accent);
    color: #2c353c;
    border: none;
}
.service-page-content .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--primary);
}

/* CTA Section adjustments */
.cta-section {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}
.cta-section .floating-shape {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--secondary);
    opacity: 0.1;
    filter: blur(60px);
    animation: float 20s infinite alternate;
}
.cta-section .shape3 { bottom: -50px; left: 10%; }

/* Dark mode compatibility */
[data-theme="dark"] .service-page-card {
    background: var(--bg-secondary);
    border-color: var(--border-light);
}
[data-theme="dark"] .filter-btn {
    color: var(--text-primary);
    border-color: var(--blue);
}
[data-theme="dark"] .filter-btn.active {
    background: var(--blue);
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .services-header {
        padding: 120px 0 60px;
        min-height: 40vh;
    }
    .services-header h1 {
        font-size: 2.5rem;
    }
    .services-grid {
        gap: 20px;
    }
    .service-filter {
        gap: 10px;
    }
    .filter-btn {
        padding: 6px 18px;
        font-size: 0.85rem;
    }
}
@media (max-width: 480px) {
    .services-header h1 {
        font-size: 2rem;
    }
    .services-header p {
        font-size: 1rem;
    }
    .service-page-content h3 {
        font-size: 1.3rem;
    }
}