/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0A2B5E;
    --secondary-color: #0E3B80;
    --accent-color: #0E3B80;
    --neutral-color: #B0B7BC;
    --bg-color: #FFFFFF;
    --text-color: #333333;
    --header-bg-color: #CC0000;
    --top-bar-bg-color: #0A2B5E;
    --form-bg-color: white;
    --form-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    --icon-color: #999999;
}
    body {
        font-family: "Montserrat", sans-serif;
        background-color: var(--bg-color);
        margin: 0;
        padding: 0;

    }

    a {
        color: var(--primary-color);
        text-decoration: none;
    }

    .header {
        background-color: var(--header-bg-color);

        color: white;
        padding: 0 0px 150px 0;
        /* Updated padding */
        text-align: center;
        margin-bottom: -140px;
        /* Updated margin */
        margin-left: 0;
        /* Updated margin */
        margin-right: 0;
        /* Updated margin */
    }

    .header a {
        text-decoration: none;
        color: var(--accent-color)
    }

    .top-bar {
        background-color: var(--top-bar-bg-color);
        width: 100%;
        padding: 30px 0;
    }

    .top-bar a {
        text-decoration: none;
        color: var(--bg-color);
        font-weight: 700;
    }

    .top-bar-content {
        max-width: 970px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 20px;
    }

    .phone {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .phone a {
        font-weight: 600;
        font-size: 1.2em;
    }

    .phone p {
        padding: 0;
        margin: 0;
    }

    .phone p span {
        font-weight: 700;
        padding: 0 10px;
    }

    .fa-phone-alt {
        margin-right: 10px;
    }

    .hero {
        padding: 20px;
        max-width: 970px;
        margin: 20px auto;
        margin-bottom: 0;
    }

    .logo {
        display: flex;
        align-items: center;
        font-size: 1.5rem;
        /* Increased size */
    }

    .logo img {
        width: 40px;
        height: auto;
        margin-right: 10px;
    }

    .logo .logo-text {
        font-size: 1.5rem;
        /* Increased size */
        font-family: 'Arial', sans-serif;
    }

    .hero h1 {
        margin: 0;
        font-size: 36px;
        padding-top: 0;
        /* No top padding */
        padding-bottom: 0;
        /* No bottom padding */
    }

    .hero p {
        margin: 5px 0 0;
        font-size: 24px;
    }

    .form-container {
        background-color: var(--form-bg-color);
        padding: 50px;
        border-radius: 10px;
        box-shadow: var(--form-shadow);
        max-width: 700px;
        min-height: 450px;
        margin: 20px auto;
        position: relative;
        overflow: hidden;
    }

    .progress-bar {
        position: relative;
        height: 3px;
        /* Default height */
        background-color: #e0e0e0;
        border-radius: 5px;
        margin-bottom: 20px;
        overflow: hidden;
    }


    .step-indicator {
        height: 100%;
        background-color: var(--accent-color);
        transition: width 0.3s;
    }

    .step-heading {
        font-size: 28px;
        text-align: center;
        margin: 30px auto;
    }



    .step {
        display: none;
        position: relative;
        width: 100%;
    }

    .step p {
        margin: 60px auto;
        margin-top: 20px;
    }

    .step p a {
        font-weight: 700;
    }

    .step p .fas {
        color: var(--primary-color)
    }

    .step.active {
        display: block;
    }

    .btn {
        display: block;
        width: 265px;
        margin: 10px auto;
        padding: 15px;
        background-color: var(--primary-color);
        color: white;
        text-align: center;
        text-decoration: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 16px;
    }

    .btn:hover {
        background-color: var(--accent-color);
    }

    button[type="submit"] {
        display: block;
        width: 265px;
        margin: 10px auto;
        padding: 15px;
        background-color: var(--accent-color);
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 16px;
    }

    button[type="submit"]:hover {
        background-color: var(--primary-color);
    }

    p {
        margin-top: 10px;
        text-align: center;
    }


    input[type="number"],
    input[type="text"],
    input[type="tel"],
    input[type="email"],
    .input-icon input {

        width: 100%;
        line-height: 40px;
        padding: 0 15px 2px;
        margin-bottom: 10px;

        font-size: 17px;
        color: #000;
        background: #fff;
        border-radius: 5px;
        border: 1px solid #d4d4d4;
        outline: none;
        font-weight: normal;
        -webkit-appearance: none;
        box-shadow: inset 0 0 9px rgba(0, 0, 0, 0.1);
        -webkit-box-shadow: inset 0 0 9px rgba(0, 0, 0, 0.1);
    }


    label.gender {

        display: block;
        width: 30%;
    }

    .prev {
        display: block;
        margin: 10px auto;
        text-align: center;
        color: var(--primary-color);
        cursor: pointer;
    }

    .prev:hover {
        color: var(--secondary-color);
    }

    .gender-options {
        display: flex;
        justify-content: flex-start;
        margin: 20px auto;
        margin-bottom: 40px;
        width: 70%;
        align-items: center;
        justify-content: flex-start;
    }

    .gender-options label {
        margin-top: 0;
        margin-right: 10px;
    }

    .gender-options input[type=radio] {
        margin-right: 10px;
    }

    .form-row {
        width: 70%;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
    }

    .form-group:first-of-type {
        margin-right: 5px;
    }

    .form-group {
        width: 48%;
    }

    .input-icon {
        position: relative;
        width: 70%;
        margin: 0 auto;
    }

    .step p.tos {
        text-align: left;
        font-size: 12px;
        color: #a0a0a0;
        line-height: 20px;
    }

    .input-icon input {}

    .input-icon .fas {
        position: absolute;
        left: 10px;
        top: calc(50% + 5px);
        transform: translateY(-50%);
        color: var(--icon-color);
    }

    .footer {

        color: var(--text-color);
        padding: 20px 0;
        text-align: center;
        margin-top: 20px;
    }

    .footer a {
        color: var(--text-color);
        padding: 10px;
        text-decoration: none;
    }

    .footer span {
        display: block;
        margin-top: 10px;
    }

    .footer a:hover {
        text-decoration: underline;
    }

    @media (max-width: 768px) {
        .form-container {
            width: 90%;
            min-height: unset;
            padding: 20px;
        }

        .step p {
            margin: 30px auto;
        }

        .input-icon,
        .form-row {
            width: 100%;
        }

        .input-icon input {
            width: 100%;
        }

        .hero h1 {
            font-size: 24px;
        }

        .footer a {
            padding: 5px;
            font-size: 14px;
        }

        .btn,
        button[type="submit"] {
            width: 100%;
        }

        .phone p {
            display: none;
        }


        .gender-options label {
            margin-top: 10px;

        }

        .form-row {
            flex-direction: column;
        }

        .form-group {
            width: 100%;
        }
    }