@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,200;1,300;1,400;1,600;1,700;1,800;1,900&display=swap');

/* variables and defaul css */
:root {
    --primary: #0C4E4C;
    --hover: #073332;
    --yellow: #FAD106;
    --yellowHover: #caa900;
    --white: #fff;
    --transition: .3s ease-in-out;
    --padding: 100px 0;
}


/* English */
.direction-ltr {
    direction: ltr;
    text-align: left;
}

.direction-rtl {
    direction: rtl;
    text-align: right;
}

/* Arabic */
.direction-ltr.text-lefted {
    text-align: left;
}

.direction-rtl.text-lefted {
    text-align: right;
}



/* wizard */
.exam {
    position: relative;
    width: 100%;
    height: auto;
    padding: var(--padding);
}

.exam h2 {
    margin-bottom: 40px;
}

.form-step-container {
    position: relative;
}

.wizard .nav-tabs {
    position: relative;
    margin-bottom: 0;
    width: 70vh;
    border-bottom-color: transparent;
}

.wizard>div.wizard-inner {
    position: relative;
    margin-bottom: 50px;
    text-align: center;
}

.connecting-line {
    height: 2px;
    background: #e0e0e0;
    position: absolute;
    width: 100%;
    margin: 0 auto;
    left: 0;
    right: 0;
    top: 15px;
    z-index: 1;
}

form {
    margin-top: 24px;
}

.wizard .nav-tabs>li.active>a,
.wizard .nav-tabs>li.active>a:hover,
.wizard .nav-tabs>li.active>a:focus {
    color: #555555;
    cursor: default;
    border: 0;
    border-bottom-color: transparent;
}

span.round-tab {
    width: 30px;
    height: 30px;
    line-height: 30px;
    display: inline-block;
    border-radius: 50%;
    background: #fff;
    z-index: 2;
    position: absolute;
    left: -15px;
    text-align: center;
    font-size: 16px;
    color: #0e214b;
    font-weight: 500;
    border: 1px solid #ddd;
}

span.round-tab i {
    color: #555555;
}

.wizard li.active span.round-tab {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.wizard li.active span.round-tab i {
    color: #5bc0de;
}

.wizard .nav-tabs>li.active>a i {
    color: #0db02b;
}

.wizard .nav-tabs>li {
    width: 25%;
}

.wizard li:after {
    content: " ";
    position: absolute;
    left: 46%;
    opacity: 0;
    margin: 0 auto;
    bottom: 0px;
    border: 5px solid transparent;
    border-bottom-color: red;
    transition: 0.1s ease-in-out;
}

.wizard .nav-tabs>li a {
    width: 30px;
    height: 30px;
    margin: 20px auto;
    border-radius: 100%;
    padding: 0;
    background-color: transparent;
    position: relative;
    top: 0;
}

.wizard .nav-tabs>li a i {
    position: absolute;
    top: -15px;
    font-style: normal;
    font-weight: 400;
    white-space: nowrap;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    font-weight: 700;
    color: #000;
}

.wizard .nav-tabs>li a:hover {
    background: transparent;
}

.wizard .tab-pane {
    position: relative;
    padding-top: 20px;
}

.next-step {
    background-color: var(--primary);
    margin-top: 0;
    display: flex;
    border: none;
    justify-content: center;
    align-items: center;
    color: #fff;
    padding: 10px 14px;
    border-radius: 5px;
    font-size: 0.80rem;
    transition: var(--transition);
    margin-left: auto;
}

.next-step:hover {
    background-color: var(--hover);
}

.exam .quesion-item {
    width: 100%;
    margin-bottom: 32px;
    border-bottom: 1px solid whitesmoke;
}

.exam .question {
    width: 60vh;
    margin-bottom: 24px;
}

.exam .answer {
    width: 60vh;
}

.exam .question h4 {
    font-size: 1.2em;
}

.wizard .tab-pane [type="radio"]:checked,
.wizard .tab-pane [type="radio"]:not(:checked) {
    position: absolute;
    left: -9999px;
}

.wizard .tab-pane [type="radio"]:checked+label,
.wizard .tab-pane [type="radio"]:not(:checked)+label {
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    line-height: 20px;
    font-size: 0.90rem;
    font-weight: 500;
    display: inline-block;
    color: rgb(44, 44, 44);
}

.wizard .tab-pane [type="radio"]:checked+label:before,
.wizard .tab-pane [type="radio"]:not(:checked)+label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 100%;
    background: #fff;
}

.wizard .tab-pane [type="radio"]:checked+label:after,
.wizard .tab-pane [type="radio"]:not(:checked)+label:after {
    content: '';
    width: 12px;
    height: 12px;
    background: var(--yellow);
    position: absolute;
    top: 3px;
    left: 3px;
    border-radius: 100%;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.wizard .tab-pane [type="radio"]:not(:checked)+label:after {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
}

.wizard .tab-pane [type="radio"]:checked+label:after {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}



/* booking page */
.book-form {
    position: relative;
    height: auto;
    padding: var(--padding);
    width: 100%;
}

.book-form.no-padding {
    padding: 0;
}

.book-form .custom-container {
    width: 70%;
}

.book-form .text-center {
    margin-bottom: 56px;
}

.book-form .input {
    margin-bottom: 24px;
}

.book-form .input.has-margin {
    margin-bottom: 40px;
}

.book-form .input label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
}

.book-form .input input,
.book-form .input select,
.book-form .input textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid rgb(238, 238, 238);
    transition: var(--transition);
    border-radius: 4px;
    padding-left: 20px;
}

.book-form .input textarea {
    height: 160px;
    resize: none;
}

.book-form .input input:hover,
.book-form .input input:focus {
    border-color: #55a09d !important;
}

.book-form .input select {
    -webkit-appearance: none;
    -moz-appearance: none;
    -o-appearance: none;
    -ms-appearance: none;
    appearance: none;
    width: 100%;
    background: url(../img/icons/arrow-angle-pointing-down.svg) no-repeat;
    background-position: 97%;
    background-size: 10px;
    background-color: white;
    cursor: pointer;
    padding: 14px 12px;
    color: grey;
    outline: none;
    font-size: 12px;
}

.book-form .form-check-label {
    font-size: 0.88rem;
    font-weight: 500;
    margin: 0 0px;
}

.book-form a {
    font-weight: 500;
}


.book-form button {
    margin-left: auto;
    display: block;
    margin-top: 24px;
    border: none;
    background-color: var(--primary);
    color: #fff;
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.88rem;
    padding: 12px 24px;
    border-radius: 5px;
}

.book-form button:hover {
    background-color: var(--hover);
}

/* result */
.result {
    padding: var(--padding);
    padding-bottom: 0;
    width: 100%;
    position: relative;
}

.result h4 {
    text-transform: capitalize;
    font-size: 1.4em;
}

.result h2 {
    margin: 20px 0;
    font-weight: bold;
    font-size: 2.5em;
}

.result a {
    font-weight: 500;
}

/* media query */
@media(max-width : 900px) {
    .custom-container {
        position: relative;
        padding: 0 10px;
    }

    .wizard .nav-tabs {
        width: 100%;
    }

    .exam .question {
        width: 95%;
        margin-left: auto;
        margin-right: auto;
    }

    .exam .answer {
        width: 95%;
        margin-left: auto;
        margin-right: auto;
    }

    .exam .question h4 {
        font-size: 1rem;
        font-weight: 500;
    }

    .book-form .custom-container {
        width: 90%;
    }

    .result h4 {
        font-size: 1.2em;
    }

    .result h2 {
        font-size: 2em;
    }
}