/* ===============================
   Section Heading (h2)
================================ */

h2 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #020617;
    margin-bottom: 1.2rem;

    opacity: 0;
    transform: translateY(12px);
    animation: headingFadeUp 0.6s ease-out forwards;
}

/* ===============================
   Paragraph Text (p)
================================ */

p {
    font-size: 0.95rem;
    line-height: 1.75;
    color: #475569;
    margin-bottom: 1rem;
    max-width: 620px;

    opacity: 0;
    transform: translateY(10px);
    animation: paragraphFadeUp 0.6s ease-out forwards;
}

/* stagger paragraphs */
p:nth-of-type(1) {
    animation-delay: 0.15s;
}

p:nth-of-type(2) {
    animation-delay: 0.3s;
}

/* ===============================
   Animations
================================ */

@keyframes headingFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes paragraphFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===============================
   Responsive Refinement
================================ */

@media (max-width: 768px) {
    h2 {
        font-size: 1.7rem;
    }

    p {
        font-size: 0.9rem;
    }
}
/* Step Card */
.step {
    position: relative;
    padding: 40px 30px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(59, 130, 246, 0.15);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.05),
        inset 0 0 0 1px rgba(255, 255, 255, 0.4);
    transition: all 0.4s ease;
    overflow: hidden;
}

/* Gradient glow on hover */
.step::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at top,
        rgba(59, 130, 246, 0.15),
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Hover effects */
.step:hover {
    transform: translateY(-12px);
    box-shadow:
        0 30px 60px rgba(59, 130, 246, 0.18),
        inset 0 0 0 1px rgba(59, 130, 246, 0.3);
}

.step:hover::before {
    opacity: 1;
}

/* Step Number */
.step-number {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    box-shadow:
        0 10px 20px rgba(59, 130, 246, 0.35);
    margin-bottom: 20px;
    position: relative;
    animation: pulse 2.5s infinite;
}

/* Number pulse animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
    }
    70% {
        box-shadow: 0 0 0 14px rgba(59, 130, 246, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

/* Titles */
.step h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #0f172a;
}

/* Description */
.step p {
    font-size: 15px;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 14px;
}

/* Small text */
.step small {
    font-size: 13px;
    color: #64748b;
}

.step small strong {
    color: #1e40af;
    font-weight: 600;
}

/* Sequential animation */
.step {
    animation: fadeUp 0.8s ease forwards;
    opacity: 0;
}

.step:nth-child(1) { animation-delay: 0.1s; }
.step:nth-child(2) { animation-delay: 0.25s; }
.step:nth-child(3) { animation-delay: 0.4s; }
.step:nth-child(4) { animation-delay: 0.55s; }

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 1024px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps::before {
        display: none;
    }
}

@media (max-width: 600px) {
    .process-steps {
        grid-template-columns: 1fr;
    }

    .step {
        padding: 32px 24px;
    }
}