/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1973b7;
    --secondary-color: #0A3161;
    --accent-color: #0A3161;
    --neutral-color: #8b8c89;
    --bg-color: #ffffff;
    --text-color: #333;
    /* --header-bg-color: #0A3161; */
    --header-bg-color: #ebebeb;
    --top-bar-bg-color: #e0e0e0;
    --form-bg-color: white;
    --form-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    --icon-color: #b0b0b0;

}

body {
    font-family: "Nunito", 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 {
    color: var(--text-color);
    background-color: var(--top-bar-bg-color);
    width: 100%;
    padding: 30px 0;
}

.top-bar a {
    text-decoration: none;
    color: var(--text-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 {
    color: var(--text-color);
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    gap: 10px;
    /* Increased size */
}

.logo .logo-text {
    font-size: 1.5rem;
    /* Increased size */
    font-family: 'Arial', sans-serif;
}

.hero h1 {
    color: var(--primary-color);
    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;
    color: var(--text-color);
}

.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 .tos a {
    font-weight: normal;
}
.step .tos a:hover{
text-decoration: underline;
}



.step p .fas {
    color: var(--primary-color)
}

.step.active {
    display: block;
}
.customBtn{
    display: block;
    width: 265px;
    margin: 10px auto;
    padding: 15px;
    background-color: #fff;
    border: 2px solid var(--primary-color);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    color: var(--primary-color);
}
.customBtn:hover{
    background-color: var(--primary-color);
    color: #fff;
}
.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) {
    .top-bar-content {
      flex-direction: column;
    gap: 20px;
}
    .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%;
    }
}