/* Process Page Specific Styles */

:root {
    --primary: #0088CC;
    --secondary: #06d6a0;
    --text-main: #1a1a1a;
    --bg-service-icon-box: #0088cc1a;
}

[data-theme="dark"] {
    --text-main: #ffffff;
    --bg-service-icon-box: #0088cc83;
}

body.process-page {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    transition: background-color 0.3s, color 0.3s;
}



/* Grid Background */
.grid-background {
    position: fixed;
    inset: 0;
    z-index: -20;
    pointer-events: none;
    background-image:
        linear-gradient(to right, rgba(128, 128, 128, 0.07) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(128, 128, 128, 0.07) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 70%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 70%, transparent 100%);
}

.noise-texture {
    position: fixed;
    inset: 0;
    opacity: 0.2;
    z-index: -19;
    background: url('https://grainy-gradients.vercel.app/noise.svg');
}

/* Typography & Utilities */
.text-transparent {
    color: transparent;
}

.bg-clip-text {
    -webkit-background-clip: text;
    background-clip: text;
}

.animate-gradient-x {
    background-size: 200% 200%;
    animation: gradient-x 15s ease infinite;
}

@keyframes gradient-x {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Components */
.perspective-card-container {
    perspective: 1000px;
    transform-style: preserve-3d;
}

.perspective-card {
    transition: transform 0.1s ease-out;
    /* Smooth follow */
    transform-style: preserve-3d;
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
}

[data-theme="light"] .glass-card {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .glass-card:hover {
    border-color: rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
}

/* Steps Styling */
.step-icon-wrapper {
    width: 5rem;
    height: 5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    font-size: 1.5rem;
    background: var(--bg-service-icon-box);
    border: 1px solid var(--primary);
    color: var(--primary);
}

/* Gradient Variants */
.background-procrss {
    background: linear-gradient(to bottom, #0088CC, #06d6a0);
}


.text-cyan {
    color: var(--primary);
}




/* Timeline Line */
.timeline-line-container {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(-50%);
    display: none;
}

[data-theme="light"] .timeline-line-container {
    background: rgba(0, 0, 0, 0.1);
}


@media (min-width: 992px) {
    .timeline-line-container {
        display: block;
    }
}

.timeline-progress {
    width: 100%;
    height: 100%;
    /* Will be controlled by GSAP scaleY */
    background: linear-gradient(to bottom, #0088CC,#046383, #06d6a0);
    transform-origin: top;
    transform: scaleY(0);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
}

/* Central Marker */
.central-marker {
    width: 4rem;
    /* 16 */
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background: var(--primary);
    border: 1px solid var(--primary);
    font-weight: 900;
    font-size: 1.25rem;
    position: relative;
    z-index: 20;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

/* Giant Number */
.giant-number {
    font-size: 15rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.05);
    color: transparent;
    opacity: 0.1;
    user-select: none;
    line-height: 1;
}

[data-theme="light"] .giant-number {
    -webkit-text-stroke: 2px rgba(0, 0, 0, 0.1);
}

/* CTA Card */
.cta-card-process {
    padding: 5rem;
    border-radius: 4rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(41, 39, 39, 0.1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.cta-card-process::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #0088cc33, #06d69e41);
    opacity: 0;
    transition: opacity 1s ease;
}

.cta-card-process:hover::before {
    opacity: 1;
}

/* Decorative Icons */
.decorative-icon {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    width: 12rem;
    height: 12rem;
    font-size: 10rem;
    opacity: 0.02;
    transform: rotate(-12deg);
    transition: all 1s ease;
    pointer-events: none;
    color: white;
}

.glass-card:hover .decorative-icon {
    transform: rotate(0deg) scale(1.1);
    opacity: 0.05;
}

.img-process img {
    width: 80%;
    border-radius: 30px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .giant-number {
        display: none;
    }

    .timeline-row {
        flex-direction: column !important;
        gap: 3rem;
    }

    .perspective-card-container {
        width: 100%;
    }

    .cta-card-process {
        padding: 2.5rem;
        border-radius: 2rem;
    }
}