/* Services Pages Modern Design */

/* Service Hero Modern */
.service-hero-modern {
    position: relative;
    padding: 120px 0 80px;
    background-color: var(--background);
    overflow: hidden;
    text-align: center;
    border-radius: 0 0 50px 50px;
    margin-bottom: 60px;
}

.service-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.service-hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
}

.service-hero-blob-1 {
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.4) 0%, rgba(123, 44, 191, 0.1) 70%);
    animation: float 10s ease-in-out infinite;
}

.service-hero-blob-2 {
    bottom: -50px;
    right: -100px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.4) 0%, rgba(94, 231, 255, 0.1) 70%);
    animation: float 12s ease-in-out infinite reverse;
}

.service-hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.service-hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 30px;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(5px);
}

.service-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #1e293b 0%, #4f46e5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-hero-description {
    font-size: 1.25rem;
    color: var(--text-light);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* Service Detail Layout */
.service-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 80px;
}

.service-detail-content {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.service-detail-content h2 {
    font-size: 2rem;
    margin-bottom: 24px;
    margin-top: 40px;
    color: var(--text);
}

.service-detail-content h2:first-child {
    margin-top: 0;
}

.service-detail-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.7;
}

.sidebar-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
    overflow: hidden;
}

.sidebar-card h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: var(--text);
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
}

/* Modern Lists */
.benefit-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefit-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    border-bottom: none;
    padding-bottom: 0;
}

.benefit-list li:before {
    content: "✓";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    border-radius: 50%;
    margin-right: 12px;
    font-size: 0.8rem;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 2px;
}

.process-list {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    margin-left: 15px;
}

.process-list:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 20px;
    left: 15px;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary) 0%, rgba(226, 232, 240, 0) 100%);
    z-index: 0;
}

.process-list li {
    position: relative;
    padding-left: 45px;
    margin-bottom: 25px;
    border-bottom: none;
    z-index: 1;
}

.process-step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
}

.process-list li strong {
    display: block;
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 4px;
}

.process-list li span {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .service-hero-title {
        font-size: 2.5rem;
    }

    .service-detail-grid {
        grid-template-columns: 1fr;
    }

    .service-detail-content {
        padding: 30px;
    }
}

.service-sidebar-wrapper {
    position: sticky;
    top: 100px;
    /* Adjust based on header height */
    height: fit-content;
}

@media (max-width: 768px) {
    .service-hero-title {
        font-size: 2rem;
    }

    .service-hero-modern {
        padding: 100px 0 60px;
        border-radius: 0 0 30px 30px;
    }
}

/* Services CTA Section */
.services-cta,
.cta-section {
    text-align: center;
    margin: 80px 0;
    padding: 60px;
    background: var(--card-bg);
    border-radius: 24px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
    overflow: hidden;
}

.services-cta h2,
.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text);
}

.services-cta p,
.cta-section p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
    line-height: 1.6;
}