body {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.small-muted {
    color: #667085;
    font-size: 0.9rem;
}

.form-required::after {
    content: " *";
    color: #b42318;
}
/* =====================================================
   BUSINESS APPLICATION SECTION
   Primary colour: #061f42
===================================================== */

#research-question {
    --rq-ink: #061f42;
    --rq-text: #53647a;
    --rq-primary: #061f42;
    --rq-primary-dark: #03152f;
    --rq-primary-light: #164677;
    --rq-accent: #d8a93a;
    --rq-soft: #eef3f9;
    --rq-line: #d6e0ec;
    --rq-white: #ffffff;
    --rq-shadow: 0 22px 60px rgba(6, 31, 66, 0.13);

    position: relative;
    padding: 90px 0;
    background:
        radial-gradient(
            circle at 4% 8%,
            rgba(6, 31, 66, 0.10),
            transparent 27%
        ),
        linear-gradient(135deg, #eef3f9 0%, #ffffff 100%);
    overflow: hidden;
}

#research-question::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -90px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(6, 31, 66, 0.055);
    pointer-events: none;
}

#research-question::after {
    content: "";
    position: absolute;
    right: 8%;
    bottom: -150px;
    width: 280px;
    height: 280px;
    border: 55px solid rgba(6, 31, 66, 0.035);
    border-radius: 50%;
    pointer-events: none;
}

#research-question .container {
    position: relative;
    z-index: 2;
}

/* =====================================================
   LEFT-SIDE PROCESS
===================================================== */

.process-content {
    position: sticky;
    top: 30px;
}

.process-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    padding: 9px 14px;
    border: 1px solid rgba(6, 31, 66, 0.15);
    border-radius: 50px;
    color: var(--rq-primary);
    background: var(--rq-soft);
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.process-eyebrow i {
    font-size: 15px;
}

.process-title {
    max-width: 520px;
    margin: 0 0 16px;
    color: var(--rq-ink);
    font-size: clamp(30px, 3.5vw, 46px);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -1px;
}

.process-description {
    max-width: 550px;
    margin: 0 0 30px;
    color: var(--rq-text);
    font-size: 16px;
    line-height: 1.75;
}

/* =====================================================
   PROCESS STEPS
===================================================== */

.steps {
    position: relative;
    display: grid;
    gap: 15px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.steps::before {
    content: "";
    position: absolute;
    top: 39px;
    bottom: 39px;
    left: 36px;
    width: 2px;
    background: linear-gradient(
        to bottom,
        var(--rq-primary),
        rgba(6, 31, 66, 0.12)
    );
    z-index: 0;
}

.steps li {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    column-gap: 15px;
    align-items: start;
    padding: 18px;
    border: 1px solid var(--rq-line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 7px 22px rgba(6, 31, 66, 0.055);
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.steps li:hover {
    transform: translateY(-3px);
    border-color: rgba(6, 31, 66, 0.35);
    box-shadow: 0 14px 32px rgba(6, 31, 66, 0.11);
}

.step-number {
    grid-row: 1 / span 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 4px solid #ffffff;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(
        135deg,
        var(--rq-primary-light),
        var(--rq-primary)
    );
    box-shadow: 0 6px 15px rgba(6, 31, 66, 0.25);
    font-size: 14px;
    line-height: 1;
    font-weight: 900;
}

.steps strong {
    display: block;
    margin: 2px 0 5px;
    color: var(--rq-ink);
    font-size: 17px;
    line-height: 1.35;
    font-weight: 800;
}

.steps p {
    margin: 0;
    color: var(--rq-text);
    font-size: 14px;
    line-height: 1.65;
}

/* =====================================================
   SECURITY NOTE
===================================================== */

.process-help {
    display: flex;
    gap: 13px;
    align-items: flex-start;
    margin-top: 22px;
    padding: 16px 18px;
    border: 1px solid rgba(6, 31, 66, 0.15);
    border-radius: 14px;
    background: var(--rq-soft);
}

.process-help i {
    flex: 0 0 auto;
    margin-top: 2px;
    color: var(--rq-primary);
    font-size: 22px;
    line-height: 1;
}

.process-help p {
    margin: 0;
    color: #425671;
    font-size: 13px;
    line-height: 1.65;
}

.process-help strong {
    color: var(--rq-ink);
}

/* =====================================================
   FORM CARD
===================================================== */

.apply-card {
    position: relative;
    padding: 34px;
    border: 1px solid rgba(6, 31, 66, 0.14);
    border-radius: 24px;
    background: var(--rq-white);
    box-shadow: var(--rq-shadow);
    overflow: hidden;
}

.apply-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 6px;
    background: linear-gradient(
        90deg,
        var(--rq-primary-dark),
        var(--rq-primary-light),
        var(--rq-primary)
    );
}

/* =====================================================
   FORM HEADER
===================================================== */

.form-card-head {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 28px;
    padding-bottom: 23px;
    border-bottom: 1px solid var(--rq-line);
}

.form-card-icon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 15px;
    color: #ffffff;
    background: linear-gradient(
        135deg,
        var(--rq-primary-light),
        var(--rq-primary-dark)
    );
    box-shadow: 0 9px 21px rgba(6, 31, 66, 0.26);
}

.form-card-icon i {
    font-size: 24px;
    line-height: 1;
}

.form-card-head > div:last-child {
    min-width: 0;
    flex: 1;
}

.form-card-head h1,
.form-card-head h2,
.form-card-head h3,
.form-card-head h4 {
    margin: 0 0 7px;
    color: var(--rq-ink);
    font-size: clamp(22px, 3vw, 28px);
    line-height: 1.25;
    font-weight: 800;
}

.form-card-head p {
    margin: 0;
    color: var(--rq-text);
    font-size: 14px;
    line-height: 1.65;
}

/* =====================================================
   FORM FIELDS
===================================================== */

#ContactForm .form-label {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--rq-ink);
    font-size: 14px;
    line-height: 1.4;
    font-weight: 700;
}

#ContactForm .form-required::after {
    content: " *";
    color: #c62828;
}

#ContactForm .form-control,
#ContactForm .form-select {
    display: block;
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid #cbd7e4;
    border-radius: 11px;
    color: var(--rq-ink);
    background-color: #fafcff;
    background-clip: padding-box;
    font-size: 15px;
    line-height: 1.5;
    box-shadow: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

#ContactForm textarea.form-control {
    min-height: 125px;
    resize: vertical;
}

#ContactForm .form-control::placeholder {
    color: #8997a8;
    opacity: 1;
}

#ContactForm .form-control:hover,
#ContactForm .form-select:hover {
    border-color: #9cafc3;
    background-color: #ffffff;
}

#ContactForm .form-control:focus,
#ContactForm .form-select:focus {
    border-color: var(--rq-primary-light);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(6, 31, 66, 0.11);
    outline: none;
}

/* =====================================================
   PRIVACY CONSENT
===================================================== */

#ContactForm .form-check {
    position: relative;
    display: block;
    min-height: 20px;
    margin: 0;
    padding: 15px 16px 15px 43px;
    border: 1px solid var(--rq-line);
    border-radius: 11px;
    background: #f7f9fc;
}

#ContactForm .form-check-input {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 18px;
    height: 18px;
    margin: 0;
    border: 1px solid #91a3b6;
    cursor: pointer;
}

#ContactForm .form-check-input:checked {
    border-color: var(--rq-primary);
    background-color: var(--rq-primary);
}

#ContactForm .form-check-input:focus {
    border-color: var(--rq-primary-light);
    box-shadow: 0 0 0 4px rgba(6, 31, 66, 0.11);
}

#ContactForm .form-check-label {
    display: block;
    margin: 0;
    color: var(--rq-text);
    font-size: 13px;
    line-height: 1.65;
    cursor: pointer;
}

#ContactForm .form-check-label a {
    color: var(--rq-primary);
    font-weight: 700;
    text-decoration: none;
}

#ContactForm .form-check-label a:hover {
    text-decoration: underline;
}

/* =====================================================
   SUBMIT BUTTON
   Also supports CTA generated through PHP
===================================================== */

#ContactForm button[type="submit"],
#ContactForm input[type="submit"],
#ContactForm .btn-primary,
#ContactForm .application-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 55px;
    padding: 13px 22px;
    border: 1px solid var(--rq-primary);
    border-radius: 12px;
    color: #ffffff;
    background: linear-gradient(
        135deg,
        var(--rq-primary-light),
        var(--rq-primary-dark)
    );
    box-shadow: 0 11px 25px rgba(6, 31, 66, 0.24);
    font-size: 15px;
    line-height: 1.4;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}

#ContactForm button[type="submit"]:hover,
#ContactForm input[type="submit"]:hover,
#ContactForm .btn-primary:hover,
#ContactForm .application-submit:hover {
    transform: translateY(-2px);
    color: #ffffff;
    filter: brightness(1.08);
    box-shadow: 0 15px 30px rgba(6, 31, 66, 0.31);
}

#ContactForm button[type="submit"]:focus,
#ContactForm input[type="submit"]:focus,
#ContactForm .btn-primary:focus,
#ContactForm .application-submit:focus {
    outline: none;
    box-shadow:
        0 0 0 4px rgba(6, 31, 66, 0.14),
        0 15px 30px rgba(6, 31, 66, 0.25);
}

/* =====================================================
   TABLET
===================================================== */

@media (max-width: 991.98px) {
    #research-question {
        padding: 70px 0;
    }

    .process-content {
        position: static;
    }

    .process-description {
        max-width: 720px;
    }

    .steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .steps::before {
        display: none;
    }

    .steps li {
        height: 100%;
    }

    .apply-card {
        margin-top: 5px;
    }
}

/* =====================================================
   MOBILE PHONE
===================================================== */

@media (max-width: 767.98px) {
    #research-question {
        padding: 52px 0;
    }

    #research-question .container {
        padding-right: 17px;
        padding-left: 17px;
    }

    #research-question .row.g-5 {
        --bs-gutter-y: 32px;
    }

    .process-eyebrow {
        margin-bottom: 12px;
        padding: 8px 12px;
        font-size: 11px;
    }

    .process-title {
        margin-bottom: 13px;
        font-size: 30px;
        letter-spacing: -0.5px;
    }

    .process-description {
        margin-bottom: 24px;
        font-size: 15px;
        line-height: 1.7;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .steps li {
        grid-template-columns: 43px minmax(0, 1fr);
        column-gap: 13px;
        padding: 15px;
        border-radius: 14px;
    }

    .step-number {
        width: 43px;
        height: 43px;
        border-width: 3px;
        font-size: 13px;
    }

    .steps strong {
        margin-top: 1px;
        font-size: 16px;
    }

    .steps p {
        font-size: 13px;
        line-height: 1.6;
    }

    .process-help {
        margin-top: 17px;
        padding: 14px;
    }

    .apply-card {
        padding: 25px 18px;
        border-radius: 18px;
    }

    .form-card-head {
        gap: 13px;
        margin-bottom: 23px;
        padding-bottom: 19px;
    }

    .form-card-icon {
        width: 47px;
        height: 47px;
        border-radius: 13px;
    }

    .form-card-icon i {
        font-size: 21px;
    }

    .form-card-head h1,
    .form-card-head h2,
    .form-card-head h3,
    .form-card-head h4 {
        font-size: 21px;
    }

    #ContactForm .row.g-3 {
        --bs-gutter-y: 17px;
    }

    #ContactForm .form-control,
    #ContactForm .form-select {
        min-height: 50px;
        font-size: 16px;
    }

    #ContactForm textarea.form-control {
        min-height: 115px;
    }
}

/* =====================================================
   SMALL MOBILE PHONE
===================================================== */

@media (max-width: 420px) {
    .form-card-head {
        display: block;
    }

    .form-card-icon {
        margin-bottom: 13px;
    }

    .process-title {
        font-size: 27px;
    }

    .apply-card {
        padding-right: 15px;
        padding-left: 15px;
    }
}