/*
 * css/service-stepper.css - shared process-section styles (modern light design).
 *
 * Used by the three service pages:
 *   - services-it.php            (Our Process)
 *   - services-training.php      (Our Process)
 *   - services-consultancy.php   (Our Approach)
 *
 * Each page supplies its own step content in the .it-proc grid. Steps can set
 * a per-step accent via the --p-accent custom property.
 *
 * Depends on site-wide custom properties in css/kolo.css and the shared .sv-label.
 */

/* ---------- Process (modern light design) ---------- */
.it-proc-wrap {
    background: #fff;
    border: 1px solid var(--border, #E4E9F0);
    border-radius: var(--radius);
    padding: 46px 40px 42px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(10, 37, 64, .06);
}
.it-proc-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(560px 260px at 12% -30%, rgba(17, 157, 164, .06), transparent 60%),
        radial-gradient(480px 240px at 95% 115%, rgba(242, 169, 60, .05), transparent 60%);
    pointer-events: none;
}

.it-proc-head { text-align: center; max-width: 640px; margin: 0 auto 34px; position: relative; }
.it-proc-head .sv-label { color: var(--secondary, #119DA4); }
.it-proc-head .sv-label i { color: var(--accent, #F2A93C); }
.it-proc-head h2 { color: var(--primary, #0A2540); font-size: 1.7rem; margin-bottom: 8px; }
.it-proc-head h2 span { color: var(--secondary, #119DA4); }
.it-proc-head p { color: var(--text-secondary, #4A5A6E); font-size: .92rem; margin: 0; }

.it-proc {
    display: grid;
    /* Column count follows the page's actual step count (5 on IT/Consultancy,
       4 on Training) so the row always fills the container - no dead column. */
    grid-template-columns: repeat(var(--p-count, 5), minmax(0, 1fr));
    gap: 18px;
    position: relative;
}

.it-proc-step {
    background: var(--bg-light, #F7F9FC);
    border: 1px solid var(--border, #E4E9F0);
    border-radius: 16px;
    padding: 28px 16px 24px;
    text-align: center;
    position: relative;
    transition: all .28s ease;
    overflow: hidden;
}
.it-proc-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--p-accent, var(--secondary, #119DA4));
    opacity: 0;
    transition: opacity .25s;
}
.it-proc-step:hover {
    transform: translateY(-6px);
    background: #fff;
    border-color: transparent;
    box-shadow: 0 12px 32px rgba(10, 37, 64, .1);
}
.it-proc-step:hover::before { opacity: 1; }

.it-proc-step .pnum {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--p-accent, var(--secondary, #119DA4));
    color: #fff;
    font-weight: 800;
    font-size: .95rem;
    font-family: var(--font-heading);
    box-shadow: 0 4px 12px rgba(17, 157, 164, .25);
}

.it-proc-step::after {
    content: '';
    position: absolute;
    top: 20px;
    right: -18px;
    width: 18px;
    height: 2px;
    background: linear-gradient(90deg, var(--border, #E4E9F0), transparent);
}
.it-proc-step:last-child::after { display: none; }

.it-proc-step .pic {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
    background: var(--p-accent, var(--secondary, #119DA4));
    margin: 18px auto 14px;
    box-shadow: 0 4px 12px rgba(17, 157, 164, .2);
}

.it-proc-step h4 {
    color: var(--primary, #0A2540);
    font-size: .95rem;
    margin-bottom: 6px;
}
.it-proc-step p {
    font-size: .8rem;
    color: var(--text-secondary, #4A5A6E);
    margin: 0;
    line-height: 1.55;
}

@media (max-width: 1199px) {
    .it-proc { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .it-proc-step::after { display: none; }
}
@media (max-width: 767px) {
    .it-proc { grid-template-columns: 1fr 1fr; }
    .it-proc-wrap { padding: 34px 22px 30px; }
}
@media (max-width: 575px) { .it-proc { grid-template-columns: 1fr; } }
