/* Services Page Specific Styles */

:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --dark-bg: #ffffff;
    --light-bg: #f8fafc;
    --text-light: #1e293b;
    --text-gray: #64748b;
    --accent: #f59e0b;
}

/* Active Nav Link */
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    width: 100%;
}

/* Page Hero */
.page-hero {
    padding: 180px 0 80px;
    margin-top: 80px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(248, 250, 252, 0.92) 100%),
                url('https://images.unsplash.com/photo-1552664730-d307ca884978?w=1920&h=1080&fit=crop') center/cover;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-blend-mode: overlay;
}

.page-hero::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    top: -150px;
    right: -100px;
}

.page-hero-content {
    position: relative;
    z-index: 1;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.page-description {
    font-size: 1.3rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* Services Detail Section */
.services-detail-section {
    padding: 100px 0;
    background: var(--light-bg);
    position: relative;
}

.services-detail-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1552664730-d307ca884978?w=1920&h=1080&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.05;
    z-index: 0;
}

.services-detail-section .section-container {
    position: relative;
    z-index: 1;
}

.service-detail-card {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 3rem;
    align-items: center;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    border: 1px solid rgba(99, 102, 241, 0.1);
    transition: all 0.3s ease;
    scroll-margin-top: 100px;
}

.service-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.15);
}

.service-detail-card.reverse {
    grid-template-columns: 1fr 150px;
}

.service-detail-card.reverse .service-detail-icon {
    order: 2;
}

.service-detail-card.reverse .service-detail-content {
    order: 1;
}

.service-detail-icon {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.service-detail-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.service-intro {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--light-bg);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(99, 102, 241, 0.05);
    transform: translateX(5px);
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-item span {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Process Section */
.process-section {
    padding: 100px 0;
    background: white;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.process-step {
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    background: var(--light-bg);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.process-step:hover::before {
    transform: scaleX(1);
}

.process-step:hover {
    transform: translateY(-10px);
    background: white;
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.15);
}

.step-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    line-height: 1;
}

.process-step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-weight: 700;
}

.process-step p {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Responsive Design for Services Page */
@media (max-width: 1200px) {
    .service-detail-card {
        gap: 2.5rem;
    }
}

@media (max-width: 968px) {
    .page-title {
        font-size: 2.5rem;
    }

    .page-description {
        font-size: 1.1rem;
    }

    .service-detail-card {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
        text-align: center;
    }

    .service-detail-card.reverse {
        grid-template-columns: 1fr;
    }

    .service-detail-card.reverse .service-detail-icon,
    .service-detail-card.reverse .service-detail-content {
        order: unset;
    }

    .service-detail-icon {
        width: 120px;
        height: 120px;
        font-size: 3rem;
        margin: 0 auto;
    }

    .service-features {
        grid-template-columns: 1fr;
    }

    .feature-item {
        justify-content: center;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 130px 0 60px;
    }

    .services-detail-section {
        padding: 60px 0;
    }

    .process-section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 2rem;
    }

    .page-description {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .service-detail-card {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .service-detail-icon {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }

    .service-detail-content h2 {
        font-size: 1.5rem;
    }

    .service-intro {
        font-size: 1rem;
    }

    .feature-item {
        padding: 0.6rem;
    }

    .feature-item span {
        font-size: 0.9rem;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .process-step {
        padding: 2rem 1.5rem;
    }

    .step-number {
        font-size: 2.5rem;
    }

    .process-step h3 {
        font-size: 1.3rem;
    }

    .process-step p {
        font-size: 0.9rem;
    }
}