/* =========================================================
   OUTCOMEGRID AFRIKA
   PROFESSIONAL TRAINING REGISTRATION PORTAL
========================================================= */


/* ---------- GLOBAL RESET ---------- */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f7fb;
    color: #2d3748;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
select,
textarea {
    font: inherit;
}


/* ---------- HERO SECTION ---------- */

.hero {
    position: relative;
    background:
        linear-gradient(
            135deg,
            rgba(8, 59, 130, 0.96),
            rgba(63, 163, 77, 0.92)
        );
    color: white;
    text-align: center;
    padding: 70px 20px;
}

.overlay {
    max-width: 900px;
    margin: 0 auto;
}

.logo {
    width: 220px;
    margin: 0 auto;
    background: white;
    padding: 14px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.hero h1 {
    margin: 28px 0 12px;
    font-size: 44px;
    line-height: 1.2;
}

.hero p {
    max-width: 760px;
    margin: 0 auto;
    font-size: 18px;
    opacity: 0.96;
}

.home-link {
    display: inline-block;
    margin-top: 24px;
    padding: 12px 22px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 6px;
    color: white;
    font-weight: 700;
    transition: 0.3s ease;
}

.home-link:hover {
    background: white;
    color: #083b82;
}


/* ---------- MAIN CONTAINER ---------- */

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 50px 20px 70px;
}


/* ---------- PREMIUM REGISTRATION WIZARD ---------- */

.wizard {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 55px;
    flex-wrap: nowrap;
}

.wizard-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 110px;
}

.wizard-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #d9d9d9;
    color: #5f6b7a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 27px;
    font-weight: 700;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.wizard-step.active .wizard-circle {
    background: linear-gradient(135deg, #083b82, #3fa34d);
    color: white;
    transform: scale(1.08);
}

.wizard-step h4 {
    margin: 15px 0 4px;
    color: #083b82;
    font-size: 18px;
}

.wizard-step small {
    color: #777;
    font-size: 13px;
}

.wizard-line {
    flex: 1;
    max-width: 120px;
    height: 4px;
    background: #d6d6d6;
    margin: 35px 18px 0;
    border-radius: 10px;
}


/* ---------- TWO-COLUMN LAYOUT ---------- */

.content {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
    gap: 35px;
    align-items: start;
}

.left {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(8, 59, 130, 0.08);
}

.right {
    display: flex;
    flex-direction: column;
    gap: 24px;
}


/* ---------- FORM INTRODUCTION ---------- */

.form-label,
.sidebar-label {
    display: inline-block;
    margin-bottom: 10px;
    color: #3fa34d;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.left > h2 {
    margin: 0;
    color: #083b82;
    font-size: 32px;
    line-height: 1.25;
}

.form-introduction {
    margin: 14px 0 34px;
    color: #64748b;
}


/* ---------- FORM SECTIONS ---------- */

.form-section {
    margin-bottom: 34px;
    padding-bottom: 32px;
    border-bottom: 1px solid #e5eaf0;
}

.form-section:last-of-type {
    margin-bottom: 24px;
}

.section-heading {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.section-number {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #083b82, #3fa34d);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.section-heading h3 {
    margin: 0 0 4px;
    color: #083b82;
    font-size: 22px;
}

.section-heading p {
    margin: 0;
    color: #718096;
    font-size: 14px;
}


/* ---------- FORM GRID ---------- */

.row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.field {
    min-width: 0;
}

.full-width {
    width: 100%;
    margin-bottom: 20px;
}

.field label {
    display: block;
    margin-bottom: 8px;
    color: #243b53;
    font-size: 14px;
    font-weight: 700;
}

.required {
    color: #c53030;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid #cfd8e3;
    border-radius: 7px;
    background: #ffffff;
    color: #2d3748;
    padding: 13px 14px;
    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.field textarea {
    resize: vertical;
    min-height: 145px;
}

.field input::placeholder,
.field textarea::placeholder {
    color: #9aa7b5;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: #083b82;
    box-shadow: 0 0 0 3px rgba(8, 59, 130, 0.12);
    background: #fbfdff;
}


/* ---------- CONSENT ---------- */

.consent-box {
    margin: 10px 0 18px;
    padding: 18px;
    background: #f7fafc;
    border: 1px solid #dbe4ec;
    border-radius: 8px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    color: #425466;
    font-size: 14px;
}

.checkbox-label input {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    accent-color: #083b82;
    flex: 0 0 auto;
}

.privacy-note {
    margin: 0 0 24px;
    color: #718096;
    font-size: 13px;
}


/* ---------- SUBMIT BUTTON ---------- */

.register-btn {
    width: 100%;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #083b82, #3fa34d);
    color: white;
    padding: 16px 24px;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(8, 59, 130, 0.18);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(8, 59, 130, 0.24);
}

.register-btn:active {
    transform: translateY(0);
}


/* ---------- SIDEBAR CARDS ---------- */

.sidebar-card {
    background: white;
    padding: 28px;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(8, 59, 130, 0.08);
    border-top: 4px solid #083b82;
}

.sidebar-card h3 {
    margin: 0 0 14px;
    color: #083b82;
    font-size: 22px;
    line-height: 1.3;
}

.sidebar-card p {
    margin: 0 0 18px;
    color: #64748b;
}

.benefit-list,
.popular-course-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.benefit-list li,
.popular-course-list li {
    position: relative;
    padding: 10px 0 10px 28px;
    border-bottom: 1px solid #edf1f5;
    color: #425466;
}

.benefit-list li:last-child,
.popular-course-list li:last-child {
    border-bottom: none;
}

.benefit-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 10px;
    color: #3fa34d;
    font-weight: 700;
}

.popular-course-list li::before {
    content: "•";
    position: absolute;
    left: 6px;
    top: 9px;
    color: #083b82;
    font-weight: 700;
}

.help-card {
    border-top-color: #3fa34d;
}

.contact-item {
    padding: 12px 0;
    border-bottom: 1px solid #edf1f5;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item strong {
    color: #243b53;
}

.contact-item a {
    color: #083b82;
    font-weight: 700;
}

.contact-item a:hover {
    color: #3fa34d;
}


/* ---------- SIDEBAR BUTTONS ---------- */

.sidebar-button {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding: 13px 16px;
    text-align: center;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 700;
    transition: 0.25s ease;
}

.sidebar-button.primary {
    background: #083b82;
    color: white;
}

.sidebar-button.primary:hover {
    background: #062f68;
}

.sidebar-button.secondary {
    background: #3fa34d;
    color: white;
}

.sidebar-button.secondary:hover {
    background: #338940;
}

.sidebar-button.outline {
    border: 1px solid #083b82;
    color: #083b82;
    background: transparent;
}

.sidebar-button.outline:hover {
    background: #083b82;
    color: white;
}


/* ---------- FOOTER ---------- */

.training-footer {
    background: #062f68;
    color: white;
}

.footer-content {
    max-width: 1240px;
    margin: 0 auto;
    padding: 38px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 18px;
}

.footer-brand img {
    width: 105px;
    background: white;
    padding: 8px;
    border-radius: 7px;
}

.footer-brand h3 {
    margin: 0 0 4px;
    font-size: 24px;
}

.footer-brand p,
.footer-contact p {
    margin: 4px 0;
    color: rgba(255, 255, 255, 0.86);
}

.footer-contact {
    text-align: right;
}

.footer-bottom {
    padding: 18px 20px;
    text-align: center;
    background: #052651;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
    margin: 4px 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
}


/* ---------- WHATSAPP BUTTON ---------- */

.whatsapp-button {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1000;
    background: #25d366;
    color: white;
    padding: 13px 19px;
    border-radius: 30px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.whatsapp-button:hover {
    background: #1fb959;
    transform: translateY(-2px);
}


/* ---------- RESPONSIVE: TABLETS ---------- */

@media (max-width: 980px) {

    .content {
        grid-template-columns: 1fr;
    }

    .right {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-contact {
        text-align: left;
    }
}


/* ---------- RESPONSIVE: SMALL TABLETS ---------- */

@media (max-width: 760px) {

    .hero {
        padding: 50px 18px;
    }

    .logo {
        width: 180px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero p {
        font-size: 16px;
    }

    .container {
        padding: 35px 16px 55px;
    }

    .wizard {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
    }

    .wizard-step {
        flex-direction: row;
        text-align: left;
        align-items: center;
        gap: 14px;
        min-width: 0;
    }

    .wizard-circle {
        width: 54px;
        height: 54px;
        font-size: 20px;
        flex: 0 0 auto;
    }

    .wizard-step h4 {
        margin: 0;
        font-size: 17px;
    }

    .wizard-step small {
        display: block;
        margin-top: 2px;
    }

    .wizard-line {
        width: 4px;
        height: 28px;
        margin: 0 0 0 25px;
        max-width: none;
        flex: none;
    }

    .left {
        padding: 28px 22px;
    }

    .row {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 0;
    }

    .field {
        margin-bottom: 18px;
    }

    .full-width {
        margin-bottom: 18px;
    }

    .right {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        align-items: flex-start;
    }
}


/* ---------- RESPONSIVE: MOBILE ---------- */

@media (max-width: 480px) {

    .hero h1 {
        font-size: 29px;
    }

    .left > h2 {
        font-size: 27px;
    }

    .section-heading {
        gap: 12px;
    }

    .section-number {
        width: 40px;
        height: 40px;
    }

    .section-heading h3 {
        font-size: 19px;
    }

    .sidebar-card {
        padding: 23px;
    }

    .footer-brand {
        flex-direction: column;
    }

    .whatsapp-button {
        right: 14px;
        bottom: 14px;
        padding: 11px 16px;
        font-size: 14px;
    }
}
/* =========================================================
   MULTI-STEP FORM CONTROLS
========================================================= */

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 28px;
}

.first-navigation {
    justify-content: flex-end;
}

.next-btn,
.back-btn {
    min-width: 170px;
    padding: 14px 22px;
    border-radius: 7px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.25s ease;
}

.next-btn {
    border: none;
    background: linear-gradient(135deg, #083b82, #3fa34d);
    color: white;
}

.next-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(8, 59, 130, 0.2);
}

.back-btn {
    border: 1px solid #083b82;
    background: white;
    color: #083b82;
}

.back-btn:hover {
    background: #083b82;
    color: white;
}

.wizard-step.completed .wizard-circle {
    background: #3fa34d;
    color: white;
}

.wizard-step.completed h4 {
    color: #3fa34d;
}

@media (max-width: 600px) {

    .form-navigation {
        flex-direction: column;
    }

    .next-btn,
    .back-btn,
    .register-btn {
        width: 100%;
    }

    .first-navigation {
        justify-content: stretch;
    }
}