/* ============================================
   PROCESS SECTION COMPONENT
   ============================================

   Process step cards and navigation dots
   Used across: home page
   ============================================ */

.process-section {
    margin-top: -50px;
    padding-block: 3rem 3.5rem;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #ffffff;
}

.process-section .section-header h2 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #111827; /* black-ish */
}

.process-section .section-header p {
    margin: 0;
    color: #6b7280; /* muted grey */
}

.process-wrapper {
    margin-top: 2rem;
}

/* desktop: viewport just behaves like a normal container */
.process-viewport {
    overflow: visible;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
    transition: transform 0.35s ease-out;
    transform: translateX(0);
}

.process-step {
    border-radius: 18px;
    background: #1a43bf;
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.35rem 1.25rem 1.3rem;
    color: #ffffff;
    box-shadow: 0 22px 40px rgba(0, 0, 0, 0.25);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #00072c;
    color: #f6c453;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 0.7rem;
}

.process-step h3 {
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.process-step p {
    margin: 0;
    color: #ffffff;
}

/* Process Meta (Progress + Dots) - Mobile only */
.process-meta {
    display: none; /* Hidden on desktop, shown on mobile via responsive CSS */
}

.process-progress {
    width: 100%;
    height: 4px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.process-progress-fill {
    --process-progress: 0%;
    width: var(--process-progress);
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #f6c453, #f0a91c);
    transition: width 0.25s ease-out;
}

.process-meta-bottom {
    margin-top: 0.55rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

.process-counter {
    font-size: 0.85rem;
    font-weight: 500;
    color: #6b7280;
}

.process-counter .divider {
    opacity: 0.6;
    margin: 0 2px;
}

.process-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
}

.process-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: none;
    padding: 0;
    background: rgba(148, 163, 184, 0.55);
    cursor: pointer;
    transition:
        background 0.22s ease-out,
        transform 0.22s ease-out,
        width 0.22s ease-out;
}

.process-dot.is-active {
    width: 22px;
    background: #f6c453;
    transform: translateY(-1px);
}

.process-dot:hover {
    background: rgba(246, 196, 83, 0.7);
}

.process-dot:focus {
    outline: 2px solid rgba(246, 196, 83, 0.5);
    outline-offset: 2px;
}
