/* ========================
   Services Page Styles
   ======================== */

/* Services Hero Section */
.services-hero {
    padding: calc(var(--header-height) + 4rem) 0 6rem;
    background: linear-gradient(135deg, var(--background-secondary) 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a"><stop offset="0" stop-color="%232563eb" stop-opacity="0.05"/><stop offset="1" stop-color="%232563eb" stop-opacity="0"/></radialGradient></defs><circle cx="500" cy="500" r="400" fill="url(%23a)"/></svg>');
    background-size: cover;
    background-position: center;
    opacity: 0.7;
    z-index: 1;
}

.services-hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 2rem;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: clamp(1.125rem, 2.5vw, 1.25rem);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-highlights {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(37, 99, 235, 0.1);
    backdrop-filter: blur(10px);
}

.highlight-item:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.15);
    border-color: var(--primary-color);
}

.highlight-item i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.highlight-item span {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

/* Core Services */
.core-services {
    padding: 6rem 0;
    background: var(--background-primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.service-card {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.15);
    border-color: var(--primary-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.service-card:hover .service-icon::before {
    opacity: 1;
}

.service-icon i {
    font-size: 2.5rem;
    color: white;
    z-index: 1;
    position: relative;
}

.service-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.service-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.service-features {
    margin-bottom: 2rem;
}

.service-features h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.service-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.service-features li:hover {
    color: var(--text-primary);
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.service-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tech-badge {
    background: linear-gradient(135deg, var(--background-secondary), #f1f5f9);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.tech-badge:hover {
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
    color: white;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

/* My Approach */
.my-approach {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--background-secondary) 0%, #f8fafc 100%);
}

.approach-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 4rem;
    align-items: start;
}

.approach-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.approach-principles {
    background: white;
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.approach-principles h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.principle-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.principle-item:hover {
    background: var(--background-secondary);
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.principle-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.principle-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.principle-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Development Process */
/* Z-index stacking order:
   - Timeline lines (::before, ::after): z-index: 0 (background)
   - Step content: z-index: 5 (middle)
   - Step numbers: z-index: 10 (foreground)
*/
.development-process {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--background-primary) 0%, #f8fafc 50%, var(--background-primary) 100%);
    position: relative;
    overflow: hidden;
    isolation: isolate; /* Create new stacking context */
}

.development-process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.development-process .process-timeline {
    position: relative;
    margin-top: 4rem;
    z-index: 1; /* Container for timeline elements */
}

.development-process .process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, 
        var(--primary-color) 0%, 
        #3b82f6 50%, 
        var(--primary-color) 100%);
    border-radius: 3px;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.3);
    animation: pulseTimeline 3s ease-in-out infinite;
    z-index: -1; /* Behind everything in this stacking context */
}

.development-process .process-timeline::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 0;
    background: linear-gradient(180deg, #60a5fa, #3b82f6);
    border-radius: 1px;
    animation: progressLine 6s ease-in-out infinite;
    z-index: -1; /* Behind everything in this stacking context */
}

@keyframes pulseTimeline {
    0%, 100% { box-shadow: 0 0 20px rgba(37, 99, 235, 0.3); }
    50% { box-shadow: 0 0 30px rgba(37, 99, 235, 0.5); }
}

@keyframes progressLine {
    0% { height: 0; }
    100% { height: 100%; }
}

.process-step {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 5rem;
    opacity: 0;
    animation: slideInStep 0.8s ease-out forwards;
}

.process-step:nth-child(1) { animation-delay: 0.2s; }
.process-step:nth-child(2) { animation-delay: 0.4s; }
.process-step:nth-child(3) { animation-delay: 0.6s; }
.process-step:nth-child(4) { animation-delay: 0.8s; }
.process-step:nth-child(5) { animation-delay: 1.0s; }
.process-step:nth-child(6) { animation-delay: 1.2s; }

@keyframes slideInStep {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.process-step:nth-child(odd) {
    flex-direction: row-reverse;
}

.process-step:nth-child(odd) .step-content {
    margin-right: 5rem;
    text-align: right;
}

.process-step:nth-child(even) .step-content {
    margin-left: 5rem;
    text-align: left;
}

.development-process .process-step .step-number {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
    z-index: 100; /* High value to ensure visibility */
    box-shadow: 
        0 8px 30px rgba(37, 99, 235, 0.4),
        0 0 0 8px rgba(255, 255, 255, 0.9),
        0 0 0 12px rgba(37, 99, 235, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.step-number::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    border-radius: 50%;
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.process-step:hover .step-number {
    transform: translateX(-50%) scale(1.15) rotate(5deg);
    box-shadow: 
        0 15px 40px rgba(37, 99, 235, 0.5),
        0 0 0 8px rgba(255, 255, 255, 0.9),
        0 0 0 16px rgba(37, 99, 235, 0.2);
}

.process-step:hover .step-number::before {
    transform: translateX(100%);
}

.development-process .process-step .step-content {
    flex: 1;
    max-width: 480px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 28px;
    box-shadow: 
        0 8px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(226, 232, 240, 0.6);
    position: relative;
    overflow: hidden;
    z-index: 50; /* Medium value, above timeline but below step numbers */
}

.step-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #3b82f6, #60a5fa);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-content:hover::before {
    transform: scaleX(1);
}

.step-content:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(37, 99, 235, 0.2),
        0 0 0 1px rgba(37, 99, 235, 0.1);
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.98);
}

.step-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.step-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step-content:hover .step-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.step-content:hover .step-icon::before {
    opacity: 1;
}

.step-icon i {
    font-size: 1.5rem;
    color: white;
    z-index: 1;
    position: relative;
}

.step-content h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    position: relative;
}

.step-content h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #3b82f6);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.step-content:hover h3::after {
    width: 80px;
}

.process-step:nth-child(odd) .step-content h3::after {
    left: auto;
    right: 0;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.step-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}

.step-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    border-radius: 8px;
    padding-left: 0.5rem;
}

.step-features li:hover {
    background: rgba(37, 99, 235, 0.05);
    transform: translateX(5px);
}

.process-step:nth-child(odd) .step-features li:hover {
    transform: translateX(-5px);
}

.step-features li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
    background: rgba(37, 99, 235, 0.1);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.step-features li:hover::before {
    background: var(--primary-color);
    color: white;
    transform: scale(1.2);
}

.step-features li span {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.step-features li:hover span {
    color: var(--text-primary);
}

.step-duration {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-duration:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.step-duration i {
    font-size: 1rem;
}

/* Skills & Technologies */
.skills-technologies {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--background-secondary) 0%, #f8fafc 100%);
}

.tech-sections {
    margin-top: 4rem;
}

.tech-section {
    margin-bottom: 4rem;
}

.tech-section:last-child {
    margin-bottom: 0;
}

.tech-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.tech-section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
    border-radius: 2px;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 2rem;
}

.tech-item {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.15);
    border-color: var(--primary-color);
}

.tech-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--background-secondary), #f1f5f9);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.tech-item:hover .tech-icon {
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.tech-icon i {
    font-size: 1.75rem;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.tech-item:hover .tech-icon i {
    color: white;
}

.tech-details h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.tech-details p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Value Proposition */
.value-proposition {
    padding: 6rem 0;
    background: var(--background-primary);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.value-item {
    text-align: center;
    padding: 2.5rem;
    background: white;
    border-radius: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.value-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.15);
    border-color: var(--primary-color);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.value-item:hover .value-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.value-icon i {
    font-size: 2rem;
    color: white;
}

.value-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.value-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1.05rem;
}

/* Learning & Growth */
.learning-growth {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--background-secondary) 0%, #f8fafc 100%);
}

.learning-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 4rem;
    align-items: start;
}

.learning-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.learning-goals {
    background: white;
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.learning-goals h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
}

.goals-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.goals-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.goals-list li:hover {
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
    color: white;
    transform: translateX(10px);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}

.goals-list li:last-child {
    margin-bottom: 0;
}

.goals-list i {
    font-size: 1.25rem;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.goals-list li:hover i {
    color: white;
}

.goals-list span {
    font-weight: 600;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.goals-list li:hover span {
    color: white;
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="b"><stop offset="0" stop-color="white" stop-opacity="0.1"/><stop offset="1" stop-color="white" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="300" fill="url(%23b)"/><circle cx="800" cy="800" r="200" fill="url(%23b)"/></svg>');
    background-size: cover;
    opacity: 0.3;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.cta-description {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta .btn-primary {
    background: white;
    color: var(--primary-color);
    border: 2px solid white;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta .btn-primary:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.cta .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.tech-item,
.value-item,
.principle-item,
.step-content {
    animation: fadeInUp 0.8s ease-out;
}

.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; }

/* Enhanced Responsive Design */
@media (max-width: 1200px) {
    .process-step:nth-child(odd) .step-content {
        margin-right: 4rem;
    }
    
    .process-step:nth-child(even) .step-content {
        margin-left: 4rem;
    }
    
    .step-content {
        max-width: 420px;
        padding: 2.5rem;
    }
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 2rem;
    }
    
    .approach-content,
    .learning-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .development-process .process-timeline::before {
        left: 40px;
        width: 4px;
        z-index: -1;
    }
    
    .development-process .process-timeline::after {
        left: 40px;
        width: 2px;
        z-index: -1;
    }
    
    .process-step {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 4rem;
    }
    
    .process-step:nth-child(odd) {
        flex-direction: column;
    }
    
    .process-step:nth-child(odd) .step-content,
    .process-step:nth-child(even) .step-content {
        margin-left: 100px;
        margin-right: 0;
        text-align: left;
        max-width: calc(100% - 100px);
    }
    
    .process-step:nth-child(odd) .step-content h3::after {
        left: 0;
        right: auto;
    }
    
    .development-process .process-step .step-number {
        left: 40px;
        transform: translateX(-50%);
        width: 70px;
        height: 70px;
        font-size: 1.5rem;
        z-index: 100;
    }
    
    .development-process .process-step .step-content {
        padding: 2.5rem;
        border-radius: 24px;
        z-index: 50;
    }
    
    .step-icon {
        width: 50px;
        height: 50px;
        border-radius: 14px;
    }
    
    .step-icon i {
        font-size: 1.25rem;
    }
    
    .step-features li:hover {
        transform: translateX(5px);
    }
    
    .process-step:nth-child(odd) .step-features li:hover {
        transform: translateX(5px);
    }
}

@media (max-width: 768px) {
    .services-hero {
        padding: calc(var(--header-height) + 2rem) 0 4rem;
    }
    
    .page-title {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-highlights {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .highlight-item {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .value-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .cta .btn-primary,
    .cta .btn-secondary {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 768px) {
    .services-hero {
        padding: calc(var(--header-height) + 2rem) 0 4rem;
    }
    
    .page-title {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-highlights {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .highlight-item {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .value-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .cta .btn-primary,
    .cta .btn-secondary {
        width: 100%;
        max-width: 280px;
    }
    
    .development-process {
        padding: 4rem 0;
    }
    
    .development-process .process-timeline::before {
        left: 30px;
        width: 3px;
        z-index: -1;
    }
    
    .development-process .process-timeline::after {
        left: 30px;
        width: 2px;
        z-index: -1;
    }
    
    .process-step {
        margin-bottom: 3rem;
    }
    
    .process-step:nth-child(odd) .step-content,
    .process-step:nth-child(even) .step-content {
        margin-left: 80px;
        max-width: calc(100% - 80px);
    }
    
    .development-process .process-step .step-number {
        left: 30px;
        width: 60px;
        height: 60px;
        font-size: 1.25rem;
        z-index: 100;
        box-shadow: 
            0 6px 20px rgba(37, 99, 235, 0.3),
            0 0 0 6px rgba(255, 255, 255, 0.9),
            0 0 0 8px rgba(37, 99, 235, 0.1);
    }
    
    .development-process .process-step .step-content {
        padding: 2rem;
        border-radius: 20px;
        z-index: 50;
    }
    
    .step-content h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .step-content p {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }
    
    .step-icon {
        width: 45px;
        height: 45px;
        border-radius: 12px;
        margin-bottom: 1rem;
    }
    
    .step-icon i {
        font-size: 1.125rem;
    }
    
    .step-features {
        margin-top: 1.25rem;
    }
    
    .step-features li {
        margin-bottom: 0.5rem;
        padding: 0.375rem 0;
        padding-left: 0.25rem;
    }
    
    .step-features li::before {
        width: 20px;
        height: 20px;
        font-size: 0.9rem;
    }
    
    .step-features li span {
        font-size: 0.9rem;
    }
    
    .step-duration {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        margin-top: 0.75rem;
    }
}

@media (max-width: 480px) {
    .services-hero {
        padding: calc(var(--header-height) + 1.5rem) 0 3rem;
    }
    
    .page-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
        margin-bottom: 2rem;
    }
    
    .highlight-item {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon i {
        font-size: 2rem;
    }
    
    .approach-principles,
    .learning-goals {
        padding: 1.5rem;
    }
    
    .development-process {
        padding: 3rem 0;
    }
    
    .development-process .process-timeline::before {
        left: 25px;
        width: 2px;
        z-index: -1;
    }
    
    .development-process .process-timeline::after {
        left: 25px;
        width: 1px;
        z-index: -1;
    }
    
    .process-step {
        margin-bottom: 2.5rem;
    }
    
    .process-step:nth-child(odd) .step-content,
    .process-step:nth-child(even) .step-content {
        margin-left: 65px;
        max-width: calc(100% - 65px);
        padding: 1.5rem;
    }
    
    .development-process .process-step .step-number {
        left: 25px;
        width: 50px;
        height: 50px;
        font-size: 1.125rem;
        z-index: 100;
        box-shadow: 
            0 4px 15px rgba(37, 99, 235, 0.3),
            0 0 0 4px rgba(255, 255, 255, 0.9),
            0 0 0 6px rgba(37, 99, 235, 0.1);
    }
    
    .development-process .process-step .step-content {
        border-radius: 18px;
        z-index: 50;
    }
    
    .step-content h3 {
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
    }
    
    .step-content h3::after {
        width: 30px;
        height: 2px;
    }
    
    .step-content:hover h3::after {
        width: 50px;
    }
    
    .step-content p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
        line-height: 1.6;
    }
    
    .step-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        margin-bottom: 0.75rem;
    }
    
    .step-icon i {
        font-size: 1rem;
    }
    
    .step-features {
        margin-top: 1rem;
    }
    
    .step-features li {
        margin-bottom: 0.4rem;
        padding: 0.25rem 0;
        padding-left: 0.125rem;
    }
    
    .step-features li::before {
        width: 18px;
        height: 18px;
        font-size: 0.8rem;
    }
    
    .step-features li span {
        font-size: 0.85rem;
    }
    
    .step-duration {
        font-size: 0.75rem;
        padding: 0.35rem 0.7rem;
        margin-top: 0.5rem;
    }
    
    .step-duration i {
        font-size: 0.85rem;
    }
    
    .tech-item {
        padding: 1.5rem;
    }
    
    .tech-icon {
        width: 50px;
        height: 50px;
    }
    
    .tech-icon i {
        font-size: 1.5rem;
    }
    
    .value-item {
        padding: 2rem;
    }
    
    .value-icon {
        width: 60px;
        height: 60px;
    }
    
    .value-icon i {
        font-size: 1.5rem;
    }
    
    .goals-list li {
        padding: 0.75rem;
    }
    
    .goals-list li:hover {
        transform: translateX(5px);
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
    
    .cta .btn-primary,
    .cta .btn-secondary {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* Ultra-wide screens */
@media (min-width: 1400px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .value-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 
 * Z-INDEX STACKING SOLUTION (Clean Approach)
 * 
 * This solution uses proper CSS specificity and stacking contexts instead of !important:
 * 
 * 1. Created new stacking context with `isolation: isolate` on .development-process
 * 2. Used higher specificity selectors (.development-process .process-step .step-number)
 * 3. Set timeline elements to z-index: -1 (behind everything in stacking context)
 * 4. Set step numbers to z-index: 100 (foreground)
 * 5. Set step content to z-index: 50 (middle layer)
 * 
 * This ensures timeline lines stay behind step numbers across all responsive breakpoints
 * without using !important declarations, following CSS best practices.
 */ 