/* Services Page Styles */

/* Page Hero */
.page-hero {
    background-color: var(--bg);
    padding: 8rem 0 4rem;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
}

.page-hero h1 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
}

/* Service Detail Cards */
.services-detail {
    padding: 4rem 0;
}

.service-detail-card {
    background: #fff;
    border-radius: 12px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-light);
}

.service-detail-card h2 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--surface-alt);
    padding-bottom: 1rem;
}

.service-intro {
    font-size: 1.125rem;
    color: var(--text);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

/* Service Features Grid */
.service-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .service-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature-group h3 {
    color: var(--primary-dark);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.feature-group ul {
    list-style: none;
    padding: 0;
}

.feature-group li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.feature-group li::before {
    content: "•";
    color: var(--accent);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.feature-group li strong {
    color: var(--text);
    font-weight: 600;
}

/* Service Approach Section */
.service-approach {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 8px;
}

.service-approach h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary);
}

.approach-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .approach-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.approach-item {
    background: #fff;
    padding: 1.5rem;
    border-radius: 6px;
    border: 1px solid var(--border-light);
}

.approach-item h4 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.approach-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
}

/* Process Section (New Design) */
.process-section {
    margin-top: 4rem;
    padding: 4rem 0;
    text-align: center;
}

.process-section h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 4rem;
}

.process-container {
    position: relative;
    padding: 2rem 0;
}

.process-arc-bg {
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    height: 300px;
    z-index: 0;
    display: none;
    /* Hidden on mobile */
    pointer-events: none;
}

.process-arc-bg svg {
    width: 100%;
    height: 100%;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.process-step {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 1.5rem;
    max-width: 100%;
}

.step-icon {
    position: relative;
    flex-shrink: 0;
}

.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #fff;
    border: 2px solid currentColor;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 2;
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.step-content h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    color: var(--primary);
}

.step-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* Step Colors */
/* Step 1: Dark Blue */
.step-1 .icon-circle {
    background-color: #1e3a8a;
}

.step-1 .step-number {
    color: #1e3a8a;
    border-color: #1e3a8a;
}

.step-1 .step-content h3 {
    color: #1e3a8a;
}

/* Step 2: Light Blue */
.step-2 .icon-circle {
    background-color: #3b82f6;
}

.step-2 .step-number {
    color: #3b82f6;
    border-color: #3b82f6;
}

.step-2 .step-content h3 {
    color: #3b82f6;
}

/* Step 3: Orange */
.step-3 .icon-circle {
    background-color: #f97316;
}

.step-3 .step-number {
    color: #f97316;
    border-color: #f97316;
}

.step-3 .step-content h3 {
    color: #f97316;
}

/* Step 4: Light Green */
.step-4 .icon-circle {
    background-color: #84cc16;
}

.step-4 .step-number {
    color: #84cc16;
    border-color: #84cc16;
}

.step-4 .step-content h3 {
    color: #84cc16;
}

/* Step 5: Dark Green */
.step-5 .icon-circle {
    background-color: #15803d;
}

.step-5 .step-number {
    color: #15803d;
    border-color: #15803d;
}

.step-5 .step-content h3 {
    color: #15803d;
}

/* Desktop View: Arc Layout */
@media (min-width: 992px) {
    .process-arc-bg {
        display: block;
    }

    .process-steps {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        height: 400px;
        /* Space for the arc offsets */
        padding-top: 20px;
    }

    .process-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 18%;
        position: relative;
    }

    .step-number {
        top: -5px;
        right: -5px;
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }

    .icon-circle {
        width: 80px;
        height: 80px;
        margin-bottom: 1rem;
    }

    .icon-circle svg {
        width: 32px;
        height: 32px;
    }

    /* Arc Offsets */
    /* Lower Steps (1 & 5) */
    .step-1,
    .step-5 {
        margin-top: 180px;
    }

    /* Middle Steps (2 & 4) */
    .step-2,
    .step-4 {
        margin-top: 60px;
    }

    /* Top Step (3) */
    .step-3 {
        margin-top: 0px;
    }
}

/* CTA Section */
.cta-section {
    text-align: center;
    background: #f8fafc;
    padding: 4rem 2rem;
    border-radius: 12px;
    margin-top: 4rem;
}

.cta-section h2 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}