.html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    /*  margin-bottom: 60px;*/
}

.main-header {
    background: #FFF;
    -webkit-box-shadow: 0 4px 10px -6px rgb(0 0 0 / 23%);
    -moz-box-shadow: 0 4px 10px -6px rgb(0 0 0 / 23%);
    box-shadow: 0 4px 10px -6px rgb(0 0 0 / 23%);
    height: 115px;
    display: flex;
    align-items: center;
}

    .main-header .logo {
        max-width: 240px;
    }

.h2-heading {
    color: #039;
    text-align: center;
    font-size: 48px;
    font-style: normal;
    font-weight: 500;
    line-height: 75px;
    font-family: "Manrope", sans-serif;
    margin: 40px 0;
}

.form-blue-bg {
    background-color: #f4f8ff;
    padding: 60px 120px;
    border-radius: 8px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0 1.5rem;
    font-family: "Manrope", sans-serif;
}

form .form-group {
    margin-bottom: 20px;
}

.form-control {
    box-sizing: border-box;
    border-radius: 7px;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    color: #777;
    border: 1px solid #CBC4BC;
    background: #FFF;
    padding: 13px 20px;
}

.form-select {
    box-sizing: border-box;
    border-radius: 7px;
    font-size: 16px;
    color: #777;
    border: 1px solid #CBC4BC;
    padding: 13px 20px;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #007bff;
    outline: none;
}

.text-danger {
    color: #d9534f;
    font-size: 13px;
    margin-top: 3px;
    display: block;
}

form h4 {
    width: 100%;
    color: #000;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    margin-bottom: 20px;
}

.form-group {
    flex: 1 1 calc(50% - 1.5rem);
    min-width: 280px;
}

.half-width {
    width: calc(50% - 13px);
    flex: 0 0 auto;
}

.flex-end {
    display: flex;
    align-items: flex-end;
    flex-direction: column
}

.submit-btn {
    font-size: 16px;
    background-color: #003087;
    border: none;
    border-radius: 6px;
    color: white;
    display: flex;
    padding: 10px 30px;
}

    .submit-btn:hover {
        background-color: #002466;
    }

.site-footer {
    background-color: #00143a;
    color: white;
    padding: 20px 0;
    font-family: sans-serif;
    font-size: 14px;
    height: 100px;
    display: flex;
    align-items: center;
    margin-top: 50px;
}

.footer-container {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-left p {
    margin: 0;
}

.footer-right a {
    color: #ffffff;
    text-decoration: none;
    margin-left: 30px;
    transition: color 0.3s ease;
}

    .footer-right a:hover {
        color: #cccccc;
    }

.form-group.full-width {
    flex: 0 0 100%;
}

.file-input {
    display: none;
}

.file-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 6px;
    overflow: hidden;
    background-color: #fff;
    cursor: pointer;
    margin-top: 6px;
}

.file-name {
    padding: 12px 16px;
    color: #666;
    flex-grow: 1;
    white-space: nowrap;
    max-width: 70%
}

.file-browse {
    padding: 12px 20px;
    background-color: #163a6d; /* Dark blue */
    color: #fff;
    font-weight: 500;
    border-left: 1px solid #ccc;
}

.form-label {
    font-size: 18px;
    color: #000;
    margin-bottom: 3px;
    font-weight: 500;
}

.custom-radio {
    position: relative;
    padding-left: 28px;
    margin-right: 20px;
    margin-top: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #444;
    user-select: none;
    font-family: sans-serif;
}

    .custom-radio input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
    }

.radio-mark {
    position: absolute;
    top: 0;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #fff;
    border: 2px solid #bcbec5;
    border-radius: 50%;
    transition: 0.2s;
}

.custom-radio input:checked ~ .radio-mark {
    border-color: #163a6d;
    background-color: #fff;
}

.radio-mark::after {
    content: "";
    position: absolute;
    display: none;
}

.custom-radio input:checked ~ .radio-mark::after {
    display: block;
}

.custom-radio .radio-mark::after {
    top: 2px;
    left: 2px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #163a6d;
}

.connect-profile-btn {
    border-radius: 6px;
    border: 1px solid #6A2E84;
    background: #FFF;
    color: #6A2E84;
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    line-height: 25px;
}

.thank-you {
    text-align: center;
    padding: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 680px;
    font-weight: 500;
    font-size: 20px;
}

    .thank-you p {
        width: 70%;
    }

    .thank-you img {
        width: 150px;
    }

.proceed-button-container {
    margin-top: 40px;
}

.proceed-btn {
    color: #039;
    font-size: 48px;
    font-style: normal;
    font-weight: 500;
    line-height: 75px;
    font-family: "Manrope", sans-serif;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

    .proceed-btn:hover {
        color: #002466;
        text-decoration: none !important;
    }

    .proceed-btn:visited {
        text-decoration: none !important;
    }

    .proceed-btn:active {
        text-decoration: none !important;
    }

.profile-details {
    gap: 0 1.5rem
}

.pagehight {
    min-height: 68vh;
}

@media (max-width: 991px) {
    .half-width {
        width: calc(100%)
    }
}

@media (max-width: 768px) {
    .form-group {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .d-flex.flex-wrap .form-group {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .half-width {
        flex: 0 0 100% !important;
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .footer-container {
        justify-content: center;
        gap: 10px;
    }

    .footer-right {
        display: flex;
        gap: 30px;
    }

        .footer-right a {
            margin: 0;
        }

    .h2-heading {
        font-size: 35px;
        line-height: 45px;
        margin: 20px 0;
    }

    form h4 {
        font-size: 20px;
    }

    .half-width {
        width: calc(100%)
    }

    .form-blue-bg {
        padding: 60px;
    }

    .thank-you {
        padding-left: 0;
        padding-right: 0;
        height: inherit;
    }

        .thank-you p {
            width: 100%;
        }

    .proceed-btn {
        font-size: 35px;
        line-height: 45px;
    }
}

@media (max-width: 480px) {
    .form-blue-bg {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .form-group {
        min-width: inherit;
    }
}
