* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --black: #000;
    --white: #ffffff;
    --blue: #0E253A;
    --grey-2: #BEC8CD;
    --light-blue: #00466D;
    --primary-blue: #0d5a8f;
    --dark-blue: #003459;
    --light-gray: #e8ecef;
    --active-green: #D4EDDA;
    --red-button: #e85d4e;
    --primary-dark: #00263A;
}

.ml-auto,
.mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}

body {
    font-family: 'Poppins', sans-serif;
}

::selection {
    color: #fff;
    background-color: #0E253A;
}

/* 
.start-header {
    opacity: 1;
    transform: translateY(0);
    padding: 7px 0;
    box-shadow: 0 2px 16px hsl(0deg 0% 1.73% / 15%);
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.start-header.scroll-on {
    box-shadow: 0 2px 16px hsl(0deg 0% 1.73% / 15%);
    padding: 10px 0;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.start-header.scroll-on .navbar-brand img {
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.navigation-wrap {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background: #fff;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.navbar {
    padding: 0;
}

.navbar-brand img {
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    width: 138px;
}

.navbar-toggler {
    float: right;
    border: none;
    padding-right: 0;
}

.navbar-toggler:active,
.navbar-toggler:focus {
    outline: none;
}

.navbar-light .navbar-toggler-icon {
    width: 24px;
    height: 17px;
    background-image: none;
    position: relative;
    border-bottom: 1px solid var(--blue);
    transition: all 300ms linear;
}

.nav-item.active a {
    color: var(--blue) !important;
}

.nav-item.active:after {
    bottom: 0;
    opacity: 1;
}

.navbar-light .navbar-toggler-icon:after,
.navbar-light .navbar-toggler-icon:before {
    width: 24px;
    position: absolute;
    height: 1px;
    background-color: var(--blue);
    top: 0;
    left: 0;
    content: '';
    z-index: 2;
    transition: all 300ms linear;
}

.navbar-light .navbar-toggler-icon:after {
    top: 8px;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
    transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
    transform: translateY(8px) rotate(-45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    border-color: transparent;
}

.nav-link {
    color: var(--blue);
    font-weight: 500;
    transition: all 200ms linear;
}

.nav-item:hover .nav-link {
    color: var(--blue);
    ;
}

.nav-item.active .nav-link {
    color: var(--blue) !important;
}

.nav-link {
    position: relative;
    padding: 5px 0 !important;
    display: inline-block;
}

.nav-item:after {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    content: '';
    background-color: #0e253a;
    opacity: 0;
    transition: all 200ms linear;
}

.nav-item:hover:after {
    bottom: 0;
    opacity: 1;
}

.nav-item.active:hover:after {
    opacity: 0;
}

.nav-item {
    position: relative;
    transition: all 200ms linear;
    margin: 0 35px;
    font-family: Roboto;
}

a.nav-link {
    font-size: 19px !important;
    font-weight: 500;
    color: #1d1d1d !important;
}

a.nav-link:hover {
    color: var(--blue) !important;
}

.btn-div-alls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

a:hover {
    text-decoration: none;
}

a.login-btn {
    width: auto;
    padding: 3px 4px;
    border: 3px solid var(--blue);
    border-radius: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
} */

.div-btn2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-image: linear-gradient(to right, #0E253A, #0C3A63);
    padding: 7px 25px;
    border-radius: 28px;
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    font-family: 'Roboto';
    letter-spacing: 0;
}

a.register-btn {
    width: auto;
    padding: 4px 4px;
    border: 3px solid var(--grey-2);
    border-radius: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
}

.btn-div-3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background-color: var(--grey-2);
    padding: 6px 24px;
    border-radius: 28px;
    font-size: 19px;
    font-weight: 600;
    color: var(--blue);
    font-family: 'Roboto';
    letter-spacing: 0;
    text-transform: capitalize;
}

@media (max-width: 991px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: white;
        flex-direction: column;
        padding: 30px;
        transition: left 0.3s;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
        padding: 15px 0;
    }

    .header-buttons {
        flex-direction: column;
        width: 100%;
        margin-top: 20px;
    }

    .btn-header {
        width: 100%;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

.banner-2 img {
    width: 100%;
    margin: 2rem 0;
}

footer {
    background: #0E253A;
    padding: 15px;
    text-align: center;
}

footer p {
    color: #fff;
    font-size: 24px;
    text-align: center;
    margin-bottom: 0;
    font-weight: 500;
    font-family: "roboto";
    letter-spacing: 0.4px;
}

.card-container {
    display: flex;
    gap: 70px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 auto;
    height: 93vh;
    align-items: center;
    overflow: hidden;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border: 0 !important;
    outline: none;
}

.select2-container--default .select2-search--inline .select2-search__field {
    margin: 0 !important;
}

.select2-container--default .select2-selection--multiple {
    border: 0px solid #aaa !important;
}

.otp-success {
    background: #ecfff4;
    color: #00850b !important;
    font-weight: 500 !important;
    font-size: 15px;
    border-radius: 4px;
    border: 1px solid #00850b;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

form#loginForm {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
}


.invalid-phone-msg {
    background: #ffe7e7;
    color: #e72329 !important;
    font-weight: 500 !important;
    font-size: 15px;
    border-radius: 4px;
    border: 1px solid #e72329;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.green-phone-msg {
    background: #ecfff4;
    color: #00850b !important;
    font-weight: 500 !important;
    font-size: 15px;
    border-radius: 4px;
    border-left: 5px solid #00850b;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.div-inner-registrations p.have-an-button {
    text-align: center;
    margin: 0;
    font-size: 18px;
    font-weight: 500;
    margin-right: auto;
    text-align: left;
    margin-bottom: 47px;
    color: #0e253a;
    width: 65%;
}

.div-inner-registrations p.have-an-button a {
    text-decoration: underline;
    padding-bottom: 4px;
    color: #0e253a;
    font-weight: 600;
    font-size: 22px;
}

.role-card {
    background: white;
    border-radius: 20px;
    padding: 34px 26px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border: 3px solid #b8d4e8;
    flex: 1;
    min-width: 320px;
    max-width: 450px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.role-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.card-header-btn {
    width: 100%;
    padding: 9px;
    border-radius: 10px;
    border: none;
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 65px;
    cursor: default !important;
    letter-spacing: .5px;
    font-family: 'Roboto';
}

.com-heighs {
    min-height: 254px;
    display: flex;
    align-items: center;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.employer-header {
    background-color: #00466D;
    color: white;
}

.supervisor-header {
    background-color: #BEC8CD;
    color: #0E253A;
}

.card-title {
    font-size: 22px;
    font-weight: 600;
    color: #00263A;
    margin-bottom: 10px;
    text-align: center;
}

.card-description {
    color: #0C3A63;
    font-size: 15px;
    line-height: 1.7;
    text-align: center;
    font-weight: 500;
    margin-bottom: 60px;
}

.register-btn2 {
    width: 100%;
    padding: 13px;
    border-radius: 15px;
    border: none;
    font-size: 17px;
    font-weight: 500;
    background: linear-gradient(90deg, #00466D, #0E253A);
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.register-2 {
    background: #00466D;
}

.register-btn2:hover {
    background-color: #003a54;
    transform: scale(1.02);
}

.register-btn2:active {
    transform: scale(0.98);
}

@media (max-width: 768px) {
    .card-container {
        gap: 20px;
    }

    .role-card {
        min-width: 280px;
        padding: 30px 20px;
    }

    .card-title {
        font-size: 22px;
    }

    .card-description {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .role-card {
        min-width: 100%;
    }

    .card-header-btn {
        font-size: 18px;
        padding: 12px;
    }

    .card-title {
        font-size: 20px;
    }

    .register-btn2 {
        font-size: 16px;
    }
}


/*new-gegistration-page*/
.section-registers {
    background-color: #fff;
    position: relative;
    background-image: url(../images/Ellipse3.png);
    background-repeat: no-repeat;
    background-position: left;
    /* height: 100vh; */
    background-size: 45% 103%;
    padding: 84px 0;
}

img.img-4 {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 283px;
}

img.img-3 {
    position: absolute;
    right: 0;
    bottom: -215px;
}

.div-inner-registrations {
    width: 71%;
    margin-left: auto;
    margin-right: auto;
    height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.div-inner-registrations h1 {
    font-size: 37px;
    font-weight: 800;
    color: #0e253a;
    letter-spacing: 0;
}

.div-inner-registrations img {
    width: 345px;
}

.div-inner-registrations p {
    color: #0e253a;
    font-size: 16px;
    width: 76%;
    letter-spacing: 0;
    line-height: 27px;
    margin: 3px 0 35px;
    font-weight: 500;
}

.right-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    height: 100%;
}

.right-section .form-container {
    background-color: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 690px;
    position: relative;
    z-index: 9;
}

.right-section .form-container h2 {
    color: var(--primary-dark);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 1.4rem;
    text-align: center;
    background: #BEC8CD;
    padding: 11px;
    border-radius: 12px;
}

.right-section .form-label {
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    position: relative;
    display: inline-block;
    background-color: white;
    padding: 0 8px;
    margin-left: 12px;
    z-index: 1;
}

.right-section .form-group {
    position: relative;
    margin-bottom: 15px;
}

.right-section .form-group legend {
    color: var(--primary-dark);
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    display: inline-block;
    background-color: white;
    padding: 1px 8px;
    margin-left: 11px;
    margin-bottom: 0;
    z-index: 1;
    width: auto;
}

.right-section .input-wrapper {
    position: relative;
    margin-top: -10px;
}

.right-section .form-control,
.right-section .form-select {
    border: 1px solid #407491;
    border-radius: 11px;
    padding: 0.7rem 1rem;
    font-size: 15px;
    background-color: white;
    width: 100%;
    min-height: 52px;
    height: auto;
}

.right-section .form-control:focus,
.right-section .form-select:focus {
    box-shadow: 0 0 0 0.2rem rgba(74, 157, 156, 0.15);
    outline: none;
}

.right-section .form-control::placeholder {
    color: #999;
    font-size: 0.9rem;
}

.right-section .btn.focus,
.right-section .btn:focus {
    box-shadow: none;
}


.right-section .mobile-group .btn-otp span {
    background: #0d3253;
    padding: 6px 11px;
    border-radius: 8px;
    color: #fff;
    font-weight: 500;
    font-size: 14px;
}

/* 
.btn-otp {
    background-color: #fff;
    color: var(--primary-dark);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
} */

.mobile-group {
    position: relative;
    display: flex;
    gap: 0;
}

.mobile-group .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
    flex: 1;
}

.mobile-group .btn-otp {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border: 1px solid #407491;
    border-left: none;
    white-space: nowrap;
}

.file-note {
    font-size: 0.85rem;
    color: #00466D;
    margin-top: 0.5rem;
    font-weight: 500;
}

.location-hint {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 0.3rem;
}

.radio-group {
    display: flex;
    gap: 3rem;
    margin-top: 0.5rem;
}

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

.input-wrapper small {
    color: #ff750ff5 !important;
}

.btn-register {
    background-color: #00466D;
    color: white;
    border: none;
    padding: 14px 14px;
    border-radius: 16px;
    font-weight: 500;
    font-size: 18px;
    width: 100%;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
    letter-spacing: .3px;
}

.btn-register:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    color: #ffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

input::placeholder,
textarea::placeholder {
    color: #00263A;
    opacity: 1;
}


.custom-radio {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
    color: #222;
}

.custom-radio input {
    display: none;
}

.radio-mark {
    width: 18px;
    height: 18px;
    border: 2px solid #00263A;
    border-radius: 50%;
    position: relative;
    transition: 0.3s ease;
}

.div-custom-fls {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 76px;
}

.custom-radio input:checked+.radio-mark::after {
    content: "";
    width: 10px;
    height: 10px;
    background: #00263A;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    transition: 0.3s ease;
}

.right-section .form-group.label-ches legend {
    margin-left: 0;
    padding: 6px 0;
    font-size: 16px;
}

input::placeholder,
textarea::placeholder {
    color: #8aa5b3 !important;
    opacity: 1;
}


select:invalid {
    color: #8aa5b3 !important;
}

select option[disabled] {
    color: #8aa5b3 !important;
}

/* To ensure selected item shows normal color */
select option {
    color: #0b3c4a;
    /* your form text color */
}

img.img-4 {
    display: none;
}

.section-registers {
    padding: 62px 0;
    margin-top: 120px;
    border-top: 1px solid #ddd;
}

footer {
    border-top: 2px solid #bec8cd;
}


@media (max-width:1660px) {
    .section-registers {
        padding: 74px 0;
    }

    .div-inner-registrations {
        width: 81%;
    }

    .div-inner-registrations img {
        width: 268px;
    }
}

@media (max-width:1290px) {
    .section-registers {
        background-size: 49% 105%;
    }

    .div-inner-registrations {
        width: 100%;
        padding-left: 51px;
    }

    .right-section .form-container h2 {
        font-size: 21px;
    }
}

@media (max-width:1029px) {
    .section-registers {
        background-size: 52% 100%;
    }

    .div-inner-registrations h1 {
        font-size: 29px;
        font-weight: 600;
    }

    .div-inner-registrations p {
        font-size: 14px;
        width: 100%;
        letter-spacing: 0.5px;
        line-height: 27px;
        margin: 3px 0 21px;
    }

    .div-inner-registrations p.have-an-button {
        font-size: 16px;
        width: 90%;
    }

    .div-inner-registrations p.have-an-button a {
        font-size: 18px;
    }

    .div-inner-registrations img {
        width: 224px;
    }

    .right-section .form-container {
        padding: 19px;
    }

    .right-section .mobile-group .btn-otp span {
        font-size: 12px;
    }

    .invalid-phone-msg {
        font-size: 13px;
    }

    .btn-register {
        padding: 11px 14px;
        font-size: 17px;
    }
}

@media(max-width:768px) {
    .section-registers {
        background-size: 98% 100%;
    }

    .div-inner-registrations {
        width: 100%;
        padding-left: 37px;
    }

    .section-registers {
        padding: 18px 0;
    }

    .div-inner-registrations p {
        width: 75%;
    }

    .div-inner-registrations p.have-an-button {
        font-size: 17px;
        width: 90%;
        margin-bottom: 30px;
    }

    .right-section {
        padding-bottom: 51px;
    }

    img.img-3 {
        display: none;
    }

    .btn-div-alls {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 12px;
        flex-direction: column;
    }

    li.nav-item {
        margin: 0px 6px;
        padding: 7px 4px !important;
        border-bottom: 1px solid #ddd;
    }

    .btn-div-3 {
        gap: 5px;
        padding: 6px 16px;
        font-size: 16px;
    }

    .btn-div-3 i {
        font-size: 15px;
    }

    .div-btn2 {
        gap: 8px;
        padding: 5px 15px;
        font-size: 16px;
    }

    .div-btn2 i {
        font-size: 13px;
    }

    a.nav-link {
        font-size: 18px !important;
    }

    .btn-div-alls {
        margin-bottom: 21px;
    }

    ul.navbar-nav {
        border-top: 1px solid #000;
        margin-top: 25px;
        padding-top: 5px !important;
    }

    .section-registers {
        margin-top: 84px !important;
    }

    .mobile-group .btn-otp {
        width: auto;
    }
}


@media (max-width:480px) {
    .section-registers {
        background-size: 100% 100%;
    }

    .div-inner-registrations {
        height: 58vh;
    }

    .div-inner-registrations {
        width: 100%;
        padding-left: 15px;
    }

    .div-inner-registrations h1 {
        font-size: 25px;
    }

    .div-inner-registrations p {
        width: 100%;
    }

    .div-inner-registrations p.have-an-button {
        font-size: 16px;
        width: 96%;
        margin-bottom: 27px;
    }

    .div-inner-registrations img {
        width: 245px;
    }

    .right-section .form-container {
        padding: 15px 14px 29px;
    }

    .right-section .form-container h2 {
        font-size: 19px;
    }

    .section-registers {
        background-color: #d6dcdf;
        background-image: none;
    }

    .section-registers .bg-bluses {
        background-color: #d6dcdf;
        margin-bottom: 40px;
    }

    .invalid-phone-msg {
        font-size: 13px;
        padding: 5px 11px;
    }
}