/* --- Service Page Specific Styles --- */
:root {
    --primary: #3b3687;
    --accent: #0076a8;
    --text-main: #0f172a;
    --text-muted: #334155;
    --bg-light: #ffffff;
    --bg-surface: #f8fafc;
    --glass: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(15, 23, 42, 0.08);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    background-color: var(--bg-surface);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    font-weight: 700;
}

p {
    color: var(--text-muted);
    font-weight: 450;
}

.service-hero {
    height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
}

/* Light overlay with better transparency */
.service-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.6));
    z-index: 1;
}

.service-hero .container {
    position: relative;
    z-index: 2;
}

.service-hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--primary);
}

.service-details {
    padding: 8rem 0;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 5rem;
    align-items: flex-start;
}

.features-list {
    list-style: none;
    margin-top: 2rem;
}

.features-list li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1rem;
    border-radius: 1rem;
    transition: background 0.3s ease, transform 0.3s ease;
}

.features-list li:hover {
    border-color: var(--accent);
    transform: translateX(10px) translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    background: white;
}

.features-list i {
    color: var(--accent);
    font-size: 1.5rem;
    margin-top: 3px;
    background: rgba(0, 118, 168, 0.1);
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    flex-shrink: 0;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease, color 0.3s ease;
}

.features-list li:hover i {
    background: var(--accent);
    color: white;
    transform: rotateY(360deg);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.back-link:hover {
    transform: translateX(-5px);
}

/* --- New Content Sections --- */
.process-section {
    padding: 6rem 0;
    background: var(--bg-light);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 1.5rem;
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    position: relative;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.5s ease, background 0.5s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.process-card:hover {
    transform: perspective(1000px) rotateX(3deg) rotateY(-3deg) translateY(-12px) scale(1.02);
    box-shadow: -15px 25px 50px -15px rgba(59, 54, 135, 0.2);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(240, 244, 248, 1) 100%);
}

.process-card::before,
.process-card::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border: 0 solid transparent;
    border-radius: 1.5rem;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    pointer-events: none;
}

.process-card::before {
    top: -1px;
    left: -1px;
    border-top: 3px solid var(--accent);
    border-left: 3px solid var(--accent);
}

.process-card::after {
    bottom: -1px;
    right: -1px;
    border-bottom: 3px solid var(--secondary);
    border-right: 3px solid var(--secondary);
}

.process-card:hover::before,
.process-card:hover::after {
    width: calc(100% + 2px);
    height: calc(100% + 2px);
}



.process-num {
    font-size: 4rem;
    font-weight: 800;
    color: rgba(59, 54, 135, 0.05);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    line-height: 1;
    transition: color 0.3s ease;
}

.process-card:hover .process-num {
    color: rgba(0, 118, 168, 0.1);
}

.process-card h4 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.process-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.tech-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-top: 2rem;
}

.tech-tag {
    background: white;
    color: var(--primary);
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.tech-tag i {
    font-size: 1.1rem;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.tech-tag:hover {
    transform: translateY(-5px);
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(59, 54, 135, 0.15);
}

.tech-tag:hover i {
    color: white;
    transform: rotate(360deg);
}

.cta-box {
    background: linear-gradient(135deg, var(--bg-surface), #f1f5f9);
    padding: 3rem;
    border-radius: 2rem;
    text-align: center;
    margin-top: 3rem;
    border: 1px solid var(--glass-border);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

footer {
    background: white;
    color: var(--text-main);
    padding: 3rem 0;
    margin-top: 0;
    border-top: 1px solid var(--glass-border);
}

.text-center { text-align: center; }

@media (max-width: 1024px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 992px) {
    .detail-grid { 
        grid-template-columns: 1fr !important; 
        gap: 3rem; 
    }
    .service-hero h1 { 
        font-size: 2.75rem; 
    }
}

@media (max-width: 768px) {
    .service-hero h1 {
        font-size: 2.5rem;
    }
    
    .process-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
    
    .tech-grid {
        justify-content: center;
    }
    
    .cta-box {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .service-hero h1 {
        font-size: 2rem;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}
