
html, body {
    width: 100%;
}

/* ============================================================
   SERVICES PAGE CSS (PERFECT ORBIT & BENTO GRID)
   ============================================================ */

.pc-mb-4 { margin-bottom: 24px; }

/* ── ORBS (Now with richer colors) ── */
.pc-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: pc-orbPulse 8s ease-in-out infinite;
}
.pc-srv-orb-1 { width: 600px; height: 600px; background: radial-gradient(circle, rgba(99,102,241,0.2) 0%, transparent 70%); top: -10%; left: -10%; z-index: -1;}
.pc-srv-orb-2 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(236,72,153,0.15) 0%, transparent 70%); bottom: -10%; right: -5%; z-index: -1;}
.pc-srv-orb-3 { width: 800px; height: 800px; background: radial-gradient(circle, rgba(139,92,246,0.2) 0%, transparent 70%); top: 50%; left: -20%; z-index: -1;}
.pc-srv-orb-4 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(99,102,241,0.25) 0%, transparent 70%); top: 0%; left: 0%; z-index: -1;}

/* ==========================================
   1. HERO SECTION (ENHANCED & PERFECTLY ROUND)
========================================== */
.pc-srv-hero {
    position: relative;
    padding: calc(var(--section-px) * 4) 0 calc(var(--section-px) * 3) 0;
    overflow-x: clip;
    overflow-y: visible;
    background-color: #f0f4fd;
    background-image:
        radial-gradient(at 10% 40%,  rgba(200,240,255,0.7)  0px, transparent 50%),
        radial-gradient(at 80% 80%,  rgba(240,200,255,0.6)  0px, transparent 50%),
        radial-gradient(at 40% 70%,  rgba(210,190,255,0.5)  0px, transparent 50%),
        radial-gradient(at 90% 10%,  rgba(255,240,200,0.6)  0px, transparent 50%),
        radial-gradient(at 50% 30%,  rgba(255,210,230,0.5)  0px, transparent 50%);
}

.pc-srv-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.pc-srv-hero-content {
    position: relative;
    z-index: 2;
}

.pc-srv-hero-content .text-display { 
    margin-bottom: 20px;
}

/* Floating Badge */
.pc-abt-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 16px; border-radius: 50px;
    background: var(--color-indigo-50); color: var(--color-indigo-600);
    font-weight: 600; font-size: 0.9rem; margin-bottom: 24px;
    border: 1px solid var(--color-indigo-100);
}
.pc-abt-badge-dot {
    width: 8px; height: 8px; border-radius: 50%; background: var(--color-indigo-500);
    box-shadow: 0 0 10px var(--color-indigo-400);
}

/* ── Animated Floating Ring Visual ── */
.pc-srv-hero-visual {
    --ring-size: 450px; /* Dynamic CSS Variable for perfect responsive math */
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 550px;
    z-index: 2;
}

/* Deep Pulsating Gradient Behind the Ring */
.pc-srv-ring-glow {
    position: absolute;
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(99,102,241,0.5) 0%, rgba(236,72,153,0.3) 40%, transparent 70%);
    filter: blur(60px);
    opacity: 0.6;
    z-index: 1;
    animation: pc-pulse-glow 6s ease-in-out infinite;
}

@keyframes pc-pulse-glow {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

/* The Dashed Track */
.pc-srv-ring-container {
    position: relative;
    width: var(--ring-size); 
    height: var(--ring-size); 
    border-radius: 50%;
    border: 3px solid transparent;
    /* Beautiful 3-stop border gradient */
    background: linear-gradient(#fff, #fff) padding-box, 
                linear-gradient(135deg, var(--color-indigo-500), var(--color-purple-500), var(--color-pink-500)) border-box;
    box-shadow: 0 0 60px rgba(139, 92, 246, 0.15), inset 0 0 60px rgba(99, 102, 241, 0.15);
    display: flex; align-items: center; justify-content: center;
    animation: pc-spin-ring 40s linear infinite;
    z-index: 2;
}

/* The Glowing Center Sphere */
.pc-srv-center-logo {
    position: absolute;
    width: 140px; height: 140px;
    border-radius: 50%;
    background: var(--gradient-primary); 
    display: flex; align-items: center; justify-content: center;
    font-size: 3.5rem; color: #fff;
    box-shadow: 0 0 50px rgba(99, 102, 241, 0.6), inset 0 0 20px rgba(255,255,255,0.3);
    border: 6px solid rgba(255,255,255,0.9);
    animation: pc-spin-reverse 40s linear infinite; 
}

/* THE FIX: Orbits Base must be perfectly centered (top: 50%) */
.pc-srv-orbit { 
    position: absolute; 
    top: 50%; 
    left: 50%; 
    width: 0; 
    height: 0; 
}

/* Perfect Mathematical Angles for EXACTLY 6 Icons using var(--ring-size) */
.pc-orbit-1 { transform: rotate(0deg) translateY(calc(var(--ring-size) / -2)); }
.pc-orbit-2 { transform: rotate(60deg) translateY(calc(var(--ring-size) / -2)); }
.pc-orbit-3 { transform: rotate(120deg) translateY(calc(var(--ring-size) / -2)); }
.pc-orbit-4 { transform: rotate(180deg) translateY(calc(var(--ring-size) / -2)); }
.pc-orbit-5 { transform: rotate(240deg) translateY(calc(var(--ring-size) / -2)); }
.pc-orbit-6 { transform: rotate(300deg) translateY(calc(var(--ring-size) / -2)); }

/* The Glass Icons */
.pc-srv-icon {
    position: absolute;
    width: 64px; height: 64px;
    top: 50%; left: 50%;
    margin: -32px 0 0 -32px; /* Perfect centering */
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(255, 255, 255, 1);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; 
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.2);
    animation: pc-spin-reverse 40s linear infinite; 
}

/* Icon Gradients */
.pc-srv-icon i {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Alternate icon color pop */
.pc-srv-orbit:nth-child(even) .pc-srv-icon i {
    background: linear-gradient(135deg, var(--color-pink-500), var(--color-purple-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes pc-spin-ring { 100% { transform: rotate(360deg); } }
@keyframes pc-spin-reverse { 100% { transform: rotate(-360deg); } }

/* ==========================================
   OUR CAPABILITIES (CLEAR IMAGES + BOTTOM OVERLAY)
========================================== */
.pc-srv-list-section { position: relative; padding: calc(var(--section-px) * 2) 0 calc(var(--section-px) * 2) 0; }
.pc-srv-header { max-width: 700px; margin: 0 auto 60px auto; }
.text-center { text-align: center; }
.text-white { color: #ffffff !important; margin-bottom: 8px; }
.text-light { color: rgba(255, 255, 255, 0.8) !important; margin: 0; }

/* The Mosaic Grid Container */
.pc-mosaic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 260px; 
    gap: 24px;
    position: relative;
    z-index: 2;
}

/* ── Mosaic Span Utilities ── */
.mosaic-large { grid-column: span 2; grid-row: span 2; }
.mosaic-tall  { grid-column: span 1; grid-row: span 2; }
.mosaic-wide  { grid-column: span 2; grid-row: span 1; }
.mosaic-std   { grid-column: span 1; grid-row: span 1; }
.mosaic-full  { grid-column: span 3; grid-row: span 1; }

/* ── Card Base Styles ── */
.pc-srv-card {
    position: relative; 
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Forces content to the bottom natively */
    background: #000; /* Fallback */
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* ── The Clear Image Layer ── */
.pc-srv-image {
    position: absolute; 
    inset: 0;
    background-size: cover; 
    background-position: center;
    z-index: 0; 
    opacity: 1; /* Fully visible */
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── The Bottom Black Gradient Overlay ── */
.pc-srv-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 11, 26, 0.95) 0%, rgba(11, 11, 26, 0.6) 40%, transparent 100%);
    z-index: 1;
    pointer-events: none;
    transition: background 0.4s ease;
}

/* ── Inner Content (Bottom Aligned) ── */
.pc-srv-card-content {
    padding: 32px; 
    position: relative; 
    z-index: 2; /* Sits above the overlay */
    display: flex;
    flex-direction: column;
}

/* Faded Background Number */
.pc-srv-num {
    position: absolute; top: -10px; right: 10px;
    font-size: 8rem; font-weight: 800; line-height: 1;
    color: rgba(255, 255, 255, 0.08); /* Faint white */
    z-index: 2; pointer-events: none;
    transition: transform 0.5s ease, color 0.4s ease;
}

/* ── Glassmorphic Icon for dark overlay ── */
.pc-srv-card-icon.glass-icon {
    width: 56px; height: 56px; border-radius: 16px;
    background: rgba(255, 255, 255, 0.15); 
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
    margin-bottom: 16px;
    transition: var(--transition-smooth);
}

/* Layout modifiers for specific cards */
.pc-srv-flex-row { display: flex; align-items: center; gap: 20px; }
.pc-srv-flex-row .glass-icon { margin-bottom: 0; }
.pc-srv-flex-between { flex-direction: row; align-items: center; justify-content: space-between; }

/* ── Hover Dynamics ── */
.pc-srv-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(99, 102, 241, 0.25), inset 0 0 0 2px var(--color-indigo-500);
}
.pc-srv-card:hover .pc-srv-image {
    transform: scale(1.08); /* Smooth premium zoom on the image */
}
.pc-srv-card:hover .pc-srv-overlay {
    background: linear-gradient(to top, rgba(11, 11, 26, 0.98) 0%, rgba(11, 11, 26, 0.7) 50%, rgba(99, 102, 241, 0.2) 100%);
}
.pc-srv-card:hover .glass-icon {
    background: var(--gradient-primary);
    border-color: transparent;
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 15px 30px rgba(236, 72, 153, 0.4);
}
.pc-srv-card:hover .pc-srv-num {
    transform: scale(1.1) translate(-10px, 10px); 
    color: rgba(255, 255, 255, 0.15);
}

/* ── Responsive Automated Math ── */
@media (max-width: 1024px) {
    .pc-mosaic-grid { grid-auto-rows: 220px; }
    .pc-srv-card-content { padding: 24px; }
    .pc-srv-num { font-size: 6rem; top: 0; }
}

@media (max-width: 900px) {
    .pc-mosaic-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: minmax(200px, auto); }
    .mosaic-large { grid-column: span 2; grid-row: span 1; } 
    .mosaic-tall  { grid-column: span 1; grid-row: span 1; } 
    .mosaic-wide  { grid-column: span 2; grid-row: span 1; }
    .mosaic-std   { grid-column: span 1; grid-row: span 1; }
    .mosaic-full  { grid-column: span 2; grid-row: span 1; }
    .pc-srv-flex-between { flex-direction: column; align-items: flex-start; gap: 24px; }
}

@media (max-width: 600px) {
    .pc-mosaic-grid { grid-template-columns: 1fr; gap: 16px; }
    .mosaic-large, .mosaic-tall, .mosaic-wide, .mosaic-std, .mosaic-full { grid-column: span 1; grid-row: auto; min-height: 240px; }
    .pc-srv-flex-row { flex-direction: column; align-items: flex-start; gap: 12px;}
    .pc-srv-num { font-size: 5rem; }
}

/* ==========================================
   3. OUR PROCESS (STICKY SIDE-SCROLL DESIGN)
========================================== */
.pc-srv-process-v2 { 
    position: relative; 
    padding: calc(var(--section-px) * 2) 0; 
    background: var(--color-gray-50); 
    /* THE FIX: clip hides the horizontal orb bleed, while visible keeps sticky working vertically! */
    overflow-x: clip; 
    overflow-y: visible; 
}

/* Ambient Background Orbs */
.pc-orb-left { width: 500px; height: 500px; background: radial-gradient(circle, rgba(99,102,241,0.1) 0%, transparent 70%); top: 10%; left: -10%; }
.pc-orb-right { width: 600px; height: 600px; background: radial-gradient(circle, rgba(236,72,153,0.08) 0%, transparent 70%); bottom: 10%; right: -5%; }
.pc-mt-4 { margin-top: 32px; }

/* ── The Sticky Grid Layout ── */
.pc-sticky-grid {
    display: grid;
    grid-template-columns: 5fr 7fr; /* Left is slightly smaller than right */
    gap: 80px;
    align-items: start; /* CRITICAL for sticky to work */
    position: relative;
    z-index: 2;
}

/* ── Left Column (Sticky) ── */
.pc-sticky-col { position: relative; height: 100%; }
.pc-sticky-content {
    position: sticky;
    top: 140px; /* Distance from top of screen when pinned */
    padding-right: 20px;
}
.pc-sticky-content h2 { font-size: clamp(2.4rem, 4vw, 4rem); line-height: 1.1; margin-bottom: 24px; }
.pc-sticky-content p { color: var(--color-gray-600); }

/* Decorative Target/Rings in the sticky header */
.pc-sticky-visual {
    position: relative; width: 120px; height: 120px;
    display: flex; align-items: center; justify-content: center;
}
.pc-visual-ring {
    position: absolute; border-radius: 50%;
    border: 2px solid transparent; border-top-color: var(--color-indigo-400); border-bottom-color: var(--color-pink-400);
    animation: pc-spin-ring 10s linear infinite;
}
.pc-ring-1 { width: 100%; height: 100%; opacity: 0.2; }
.pc-ring-2 { width: 70%; height: 70%; animation-direction: reverse; animation-duration: 7s; opacity: 0.5; }
.pc-ring-3 { width: 40%; height: 40%; background: var(--gradient-primary); animation: none; border: none; box-shadow: 0 0 20px rgba(99, 102, 241, 0.4); }

/* ── Right Column (Scrolling Cards) ── */
.pc-scrolling-col {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 40px; /* Space between cards */
    padding-top: 20px;
}

/* Subtle connecting line behind cards */
.pc-process-line {
    position: absolute;
    left: 48px; /* Aligns with the icon center */
    top: 0; bottom: 0; width: 2px;
    background: linear-gradient(180deg, transparent, var(--color-indigo-200), transparent);
    z-index: 0;
}

/* ── Neon Edge Glass Cards ── */
.pc-step-card {
    position: relative;
    padding: 40px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.8);
    /* Thick left border acting as a neon edge */
    border-left: 6px solid var(--color-indigo-100);
    box-shadow: 0 15px 35px rgba(31, 38, 135, 0.05);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
    overflow: hidden;
}

/* Hollow Stroked Background Number */
.pc-step-stroke-num {
    position: absolute;
    top: -15px; right: 10px;
    font-size: 10rem;
    font-weight: 800;
    line-height: 1;
    /* This creates the hollow text effect */
    color: transparent;
    -webkit-text-stroke: 2px rgba(99, 102, 241, 0.15);
    z-index: 0;
    pointer-events: none;
    transition: all 0.5s ease;
}

/* Content Layout inside card */
.pc-step-content { position: relative; z-index: 2; }
.pc-step-icon {
    width: 64px; height: 64px; border-radius: 20px;
    background: #fff; color: var(--color-indigo-500);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.1);
    display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
    margin-bottom: 24px; transition: var(--transition-base);
}
.pc-step-card h3 { color: var(--color-gray-900); margin-bottom: 12px; font-size: 1.5rem; }
.pc-step-card p { color: var(--color-gray-600); margin: 0; font-size: 1.05rem; }

/* ── Hover Dynamics ── */
.pc-step-card:hover {
    transform: translateX(-10px); /* Card slides left slightly */
    background: #ffffff;
    border-color: #fff;
    border-left-color: var(--color-pink-500); /* Neon edge lights up */
    box-shadow: 20px 30px 60px rgba(99, 102, 241, 0.12);
}

.pc-step-card:hover .pc-step-icon {
    background: var(--gradient-primary); color: #fff;
    transform: scale(1.1) rotate(-5deg); box-shadow: 0 15px 30px rgba(139, 92, 246, 0.3);
}

/* Number fills with gradient on hover */
.pc-step-card:hover .pc-step-stroke-num {
    -webkit-text-stroke: 0px transparent;
    background: linear-gradient(135deg, var(--color-indigo-100), transparent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: scale(1.05) translate(-10px, 10px);
}

/* ── Responsive Mobile/Tablet Adjustments ── */
@media (max-width: 1024px) {
    .pc-sticky-grid { gap: 40px; }
    .pc-step-card { padding: 32px; }
    .pc-step-stroke-num { font-size: 8rem; }
}

@media (max-width: 900px) {
    /* Break the grid, disable sticky behavior */
    .pc-sticky-grid { grid-template-columns: 1fr; gap: 60px; }
    .pc-sticky-content { position: relative; top: 0; padding-right: 0; text-align: center; }
    
    /* Center the decorative visual */
    .pc-sticky-visual { margin: 32px auto 0 auto; }
    
    .pc-scrolling-col { padding-top: 0; }
    .pc-process-line { left: 40px; } /* Adjust line for new padding */
}

@media (max-width: 600px) {
    .pc-step-card { padding: 24px; border-left-width: 4px; }
    .pc-process-line { display: none; } /* Hide line on very small screens */
    .pc-step-stroke-num { font-size: 6rem; top: -5px; right: 5px; }
    .pc-step-icon { width: 56px; height: 56px; font-size: 1.4rem; }
}

/* ==========================================
   RESPONSIVE DESIGN (AUTOMATED MATH)
========================================== */
@media (max-width: 1024px) {
    .pc-srv-hero-grid, .pc-srv-res-grid { gap: 40px; }
    
    /* Just change the variable—the math handles the rest automatically! */
    .pc-srv-hero-visual { --ring-size: 350px; }
    
    .pc-srv-center-logo { width: 110px; height: 110px; font-size: 2.8rem; border-width: 4px; }
    .pc-srv-icon { width: 56px; height: 56px; margin: -28px 0 0 -28px; font-size: 1.4rem; }
}

@media (max-width: 900px) {
    .pc-srv-hero { padding-top: calc(var(--section-px) * 7); }
    .pc-srv-hero-grid, .pc-srv-res-grid { grid-template-columns: 1fr; text-align: center; gap: 60px; }
    .pc-srv-hero-content { display: flex; flex-direction: column; align-items: center; }
    .pc-srv-hero-visual { min-height: 400px; }
    
    .pc-srv-hero-visual { --ring-size: 300px; }
    
    .pc-srv-center-logo { width: 90px; height: 90px; font-size: 2.2rem; }
    .pc-srv-icon { width: 50px; height: 50px; margin: -25px 0 0 -25px; font-size: 1.2rem; border-radius: 14px;}

    .pc-srv-proc-item { flex-direction: column; gap: 10px; align-items: flex-start; text-align: left;}
    .pc-srv-proc-num { width: 100%; justify-content: flex-start; font-size: 2rem;}
    .pc-srv-proc-item:not(:last-child) .pc-srv-proc-num::after { display: none; } 
    .pc-srv-proc-item:hover .pc-srv-proc-content { transform: translateY(-5px); }
}

@media (max-width: 600px) {
    .pc-srv-hero-visual { --ring-size: 260px; }
    .pc-srv-ring-glow { width: 200px; height: 200px; }
    
    .pc-srv-center-logo { width: 80px; height: 80px; font-size: 1.8rem; border-width: 3px; }
    .pc-srv-icon { width: 44px; height: 44px; margin: -22px 0 0 -22px; font-size: 1rem; border-radius: 12px;}

    .pc-srv-res-points { grid-template-columns: 1fr; }
    .pc-srv-cta-actions { flex-direction: column; width: 100%; }
    .pc-srv-cta-actions .btn { width: 100%; }
}