@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;700&display=swap');
@import url('//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css');

* {
    padding: 0;
    margin: 0;
    font-family: 'Cairo', sans-serif;
}

h2.title {
    font-weight: 700;
    font-size: 32px;
    line-height: 48px;
    text-align: center;
}

.container {
    box-sizing: border-box;
    margin: 0 auto;
    max-width: 1440px;
    padding: 0 32px;
}

.btn {
    text-decoration: none;
    background-color: #EE7B73;
    border-radius: 4px;
    color: white;
    font-weight: 700;
    text-align: center;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 20px;
}

.header {
    padding: 15px;
    display: flex;
    justify-content: space-between;
    width: 90%;
    margin: auto;
    align-items: center;
}

.header .logo {
    display: flex;
}


.top-section {
    background-image: url('/assets/images/top-section-bg.png');
    width: 100%;
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 184px 0;
    position: relative;
}

.top-section .container {
    margin-right: 50px;
}

.top-section h1 {
    font-size: 32px;
    font-weight: 700;
    color: #EE7B73;
    line-height: 45px;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.top-section ul {
    list-style-position: inside;
}

.top-section ul li {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    line-height: 45px;
}

.top-section .btn {
    margin-top: 32px;
}

.info-section {
    margin-top: 120px;
}

.info-section .container {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100%;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px;
}

.info-section .right {
    max-width: 600px;
    margin-left: 63px;
}

.info-section .right .title-1 {
    color: #EE7B73;
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
}

.info-section .right .title-2 {
    color: #4E7E76;
    font-weight: 700;
    font-size: 32px;
    line-height: 48px;
    margin-top: 20px;
}

.info-section .right .title-3 {
    color: #333;
    font-weight: 700;
    font-size: 20px;
    line-height: 40px;
    margin-top: 10px;
}

.info-section .left {}

.info-section .left ul {
    list-style: none;
}

.info-section .left ul li {
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    padding-bottom: 32px;
    display: flex;
    align-items: center;
}

.info-section .left ul li:last-child {
    padding-bottom: 0px;
}

.info-section .left ul li img {
    width: 24px;
    height: 24px;
    margin-left: 8px;
}

.info-section .left .btn {
    margin-top: 40px;
}

.team-section {
    margin-top: 96px;
    background-color: #4E7E76;
    color: #fff;
}

.team-section h2 {
    padding-top: 56px;
}

.team-section .doctors {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 100%;
    margin-top: 48px;
    padding-bottom: 56px;
}

.team-section .doctors .doctor {
    margin: 15px;
    max-width: 275px;
    text-align: center;
}

.team-section .doctors .doctor img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
}

.team-section .doctors .doctor h3 {
    margin-top: 24px;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
}

.team-section .doctors .doctor p {
    font-weight: 500;
    font-size: 14px;
    line-height: 24px;
    margin-top: 12px;
}

.reviews-section {
    margin-top: 96px;
}

.reviews-section h2 {
    color: #4E7E76;
}

.splide__slide {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.reviews-section .reviews {
    margin-top: 24px;
}

.reviews-section .reviews .review {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
    border-radius: 8px;
    background-image: url(/assets/images/qoute.svg);
    background-repeat: no-repeat;
    background-position: calc(100% - 10px) 12px;
    max-width: 471px;
    background-size: 33px 28px;
}

.reviews-section .reviews .review p {
    margin: 24px 70px 0 70px;
}

.reviews-section .reviews .review .user {
    display: flex;
    margin: 29px 77px 46px auto;
}

.reviews-section .reviews .review .user .info {
    margin-right: 15px;
}

.reviews-section .reviews .review .user img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.reviews-section .reviews .review .user .info h4 {
    font-size: 16px;
    color: #333333;
}

.reviews-section .reviews .review .user .info p {
    font-weight: 600;
    font-size: 14px;
    line-height: 24px;
    color: #4E7E76;
}

.partners-section {
    margin-top: 50px;
    background-color: #F7FFFF;
    padding: 40px 0;
}

.partners-section h2 {
    color: #4E7E76;
}

.partners-section .partners {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 32px;
}

.partners-section .img {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 178px;
    text-align: center;
}

.partners-section .img img {
    max-width: 100%;
    height: auto;
}

.palns-section {
    margin-top: 50px;
}

.palns-section h2 {
    color: #4E7E76;
}

.palns-section .plans {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 34px;
    margin-top: 50px;
}

.palns-section .plans .plan {
    background: #FFFFFF;
    box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    padding: 16px 24px;
    width: 295px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    position: relative;
    justify-content: space-around;
}

.palns-section .plans .plan .badge {
    background-color: #FEBC37;
    position: absolute;
    top: 0;
    right: 0;
    color: #ffffff;
    border-radius: 10px 0 0 10px;
    font-size: 12px;
    line-height: 24px;
    padding: 0 12px 0 20px;
}

.palns-section .plans .plan h3 {
    font-weight: bold;
    font-size: 18px;
    line-height: 27px;
    text-align: center;
    color: #333333;
}

.palns-section .plans .plan p.price {
    margin-top: 8px;
    font-weight: 700;
    font-size: 32px;
    line-height: 55px;
    text-align: center;
    color: #EE7B73;
    display: flex;
    margin: auto;
    position: relative;
    padding: 0 5px;
}

.palns-section .plans .plan p.price span {
    font-size: 24px;
    margin-right: 8px;
}

.palns-section .plans .plan p.price.old::before {
    display: block;
    content: '';
    width: 100%;
    height: 3px;
    background: #EE7B73;
    position: absolute;
    bottom: 47%;
    left: 0;
}

.palns-section .plans .plan p.price.new {
    margin-top: 8px;
    font-weight: 700;
    font-size: 40px;
    line-height: 64px;
    text-align: center;
    color: #EE7B73;
    display: flex;
    margin: auto;
}

.palns-section .plans .plan p.price-breakdown {
    font-weight: 600;
    font-size: 14px;
    line-height: 21px;
    text-align: center;
    color: #333333;
}

.palns-section .plans .plan ul {
    list-style: none;
    margin-top: 6px;
}

.palns-section .plans .plan ul li {
    position: relative;
    padding-right: 24px;
    font-size: 14px;
    line-height: 21px;
    color: #333333;
    margin-top: 16px;
}


.palns-section .plans .plan ul li::before {
    content: "";
    width: 16px;
    height: 16px;
    background-image: url(/assets/images/list-icon.svg);
    position: absolute;
    top: 2px;
    right: 0;
}

.palns-section .plans .plan .btn {
    margin: 22px auto;
    background-color: #4E7E76;
    display: block;
    text-align: center;
    color: white;
    text-decoration: none;
    font-weight: 700;
}


.join-section {
    width: 100%;
    background-image: url('/assets/images/join-bg.png');
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 184px 0;
    position: relative;
    margin-top: 50px;
}

.join-section .container {
    padding-left: 0;
}

.join-section .overflow {
    text-align: center;
    background-color: white;
    display: inline-flex;
    padding: 88px 45px;
    justify-content: end;
    margin: 0 auto 0 0;
    border-radius: 0 5px 5px 0;
}

.join-section .overflow h4 {
    color: #333;
    font-weight: 700;
    font-size: 24px;
    line-height: 40px;
    margin-bottom: 16px;
}

.join-section .overflow p {
    margin-bottom: 40px;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
}

.join-section .overflow .btn {
    margin: auto;
}


.support-section {
    padding: 40px 34px;
    background: #f4fcf7;
}

.support-section .container {
    text-align: center;
}

.support-section .container h2 {
    font-size: 20px;
    line-height: 32px;
    color: #4E7E76;
    margin-bottom: 8px;

}

.support-section .container p {
    margin-bottom: 24px;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #808080;
}

.support-section .container .btn {
    background-color: #4E7E76;
    margin: auto;
}

.footer {
    background: #F5F7F5;
    padding: 38px 0;
}

.footer .container {
    display: flex;
    justify-content: space-between;
}

.footer .container .social {
    display: flex;
}

.footer .container .social a {
    display: flex;
    margin: 0 8px;
}

.footer .container .links {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer .container .links a {
    display: block;
    font-size: 14px;
    line-height: 24px;
    color: #333;
    padding: 0 16px;
    text-decoration: none;
}

.footer .container .links a:hover {
    opacity: 0.8;
}


/* change splide pagination circle color */

.splide__pagination {
    bottom: -22px;
}

.splide__pagination__page {
    background: #D9D9D9;
}

.splide__pagination__page.is-active {
    background: #263B80;
}

.join-section .container {
    max-width: unset;
    display: flex;
    justify-content: flex-end;
}

.modal-form {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    box-sizing: border-box;
}

.modal-form .form-wrap {
    background-color: #fff;
    padding: 32px 32px;
    width: 766px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 6px;
    position: relative;
}

.modal-form .form-wrap .close {
    position: absolute;
    top: 6px;
    left: 6px;
    padding: 8px;
    cursor: pointer;
}

.d-none {
    display: none;
}

.success-msg {
    margin: 10px 0;
    padding: 10px;
    border-radius: 3px 3px 3px 3px;
}

.success-msg {
    color: #270;
    background-color: #DFF2BF;
}

.bold {
    font-weight: bold;
}

.modal-form,
.modal-form * {
    box-sizing: border-box;
}

.modal-form .form {
    font-size: 16px;
}

.modal-form .form .steps {
    display: flex;
    gap: 18px;
    margin-bottom: 32px;
    font-weight: bold;
}

.modal-form .form .step {
    flex: 1;
    display: flex;
    color: #DAE5F4;
    gap: 10px;
}

.modal-form .form .line {
    flex: 1;
    position: relative;
}

.modal-form .form .line::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    border-radius: 9999px;
    background-color: #DAE5F4;
    top: 50%;
    left: 0;
    transform: translateY(50%);
}

.modal-form .form .step .step-num {
    display: inline-block;
    text-align: center;
    margin-inline-end: .25rem;
    background-color: #DAE5F4;
    border-radius: 50%;
    color: #fff;
    width: 30px;
    height: 30px;
}

.modal-form .form .step-content h3 {
    color: #154F9C;
    font-size: 1.125em;
    font-weight: bold;
    margin-bottom: 24px;
}

.modal-form .form .step-content .questions {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 32px;
    color: #333;
}

.modal-form .form .step-content .question-head {
    font-weight: bold;
    margin-bottom: 24px;
}

.modal-form .form .step-content .required-sign {
    color: #EE7B73;
}

.modal-form .form .step-content .question-options {
    display: flex;
    gap: 16px;
    align-items: center;
}

.modal-form .form .step-content .question-options.question-options-column {
    flex-direction: column;
    align-items: start;
}

.modal-form .form .step-content .question-options label {
    display: flex;
    gap: 10px;
    align-items: center;
    cursor: pointer;
}

.modal-form .form .step-content .question-options input {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.modal-form .form .step.active .step-num,
.modal-form .form .step.active .line::after {
    background-color: #154F9C;
}

.modal-form .form .step.active {
    color: #154F9C;
}

.modal-form .form .step.done .step-num,
.modal-form .form .step.done .line::after {
    background-color: #4E7E76;
}

.modal-form .form .step.done {
    color: #4E7E76;
}

.modal-form .form .btn-container {
    text-align: end;
}

.modal-form .form .step-2 .btn-container {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.modal-form .form .btn-next ,
.modal-form .form .btn-back ,
.modal-form .form .btn-submit {
    height: 48px;
    width: 220px;
    max-width: calc(50% - 16px / 2);
    color: #fff;
    font-size: 1em;
    font-weight: bold;
    background-color: #154F9Cee;
    border-radius: 4px;
    border: none;
    cursor: pointer;
}

.modal-form .form .btn-next:hover ,
.modal-form .form .btn-back:hover ,
.modal-form .form .btn-submit:hover {
    background-color: #154F9C;
}

.modal-form .form .btn-next:disabled ,
.modal-form .form .btn-submit:disabled {
    background-color: #154F9C99;
    cursor: not-allowed;
}

.modal-form .form .inputs-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    color: #333;
}

.modal-form .form .input-group {
    flex: 1;
}

.modal-form .form .input-group label {
    font-size: .875em;
    font-weight: bold;
    margin-bottom: 8px;
}

.modal-form .form .input-group input {
    padding-inline: 12px;
    border: 1px solid #D6DFE9;
    border-radius: 4px;
    margin-bottom: 8px;
    outline: none;
}

.modal-form .form .input-group input[name=phone] {
    direction: ltr;
    text-align: right;
}

.modal-form .form .input-group input,
.modal-form .form .input-group .iti {
    font-size: .875em;
    width: 100%;
    height: 40px;
}

.modal-form .form .input-group input:hover,
.modal-form .form .input-group input:focus {
    border-color: #bbc;
}

.modal-form .form .input-group .err-msg {
    color: #EE7B73;
    font-size: .75em;
    line-height: .75em;
    padding-top: 8px;
    min-height: 12px;
    margin-bottom: 20px;
}

.success-msg img,
.fail-msg img {
    width: 64px;
    height: 64px;
    display: block;
    margin: 0 auto 24px;
}

.success-msg h3,
.fail-msg h3 {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    line-height: 40px;
    margin-bottom: 8px;
}

.success-msg p,
.fail-msg p {
    text-align: center;
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 32px;
}

.success-msg a,
.fail-msg a {
    font-weight: bold;
    background-color: #154F9Cee;
    color: #fff;
    padding: 12px;
    max-width: 300px;
    text-align: center;
    font-size: 16px;
    line-height: 24px;
    display: block;
    margin: auto;
    border-radius: 4px;
    text-decoration: none;
}

.success-msg a:hover,
.fail-msg a:hover {
    background-color: #154F9C;
}

.fail-msg h3 {
    color: #EE7B73;
}

@media only screen and (max-width: 718px) {
    h2.title {
        font-size: 20px;
    }

    .btn {
        font-size: 14px;
        padding: 4px 24px;
    }

    .container {
        padding: 0 16px;
    }

    .top-section {
        padding: 75px 0;
    }

    .top-section .container {
        margin-right: 0;
    }

    .top-section .container h1 {
        font-size: 24px;
        line-height: 40px;
        max-width: 250px;
    }

    .top-section ul {
        margin-top: 8px;
    }

    .top-section ul li {
        max-width: 250px;
        font-size: 12px;
        line-height: 30px;
    }

    .info-section .right {
        margin: 0;
    }

    .join-section .container {
        padding: 0;
    }

    .join-section .overflow {
        margin: auto;
        border-radius: 5px;
        margin: 0 16px;
    }

    .info-section,
    .reviews-section,
    .partners-section,
    .palns-section {
        margin-top: 40px;
    }

    .info-section .right .title-2 {
        font-size: 24px;
        line-height: 36px;
    }

    .info-section .right .title-3 {
        font-size: 18px;
        line-height: 30px;
    }

    .info-section .left ul li {
        font-size: 16px;
    }

    .team-section {
        margin-top: 60px;
    }

    .footer .container {
        flex-direction: column;
    }

    .footer .container .links {
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }

    .footer .container .links li a {
        padding: 2px 16px;
    }

    .footer .container .social {
        margin-top: 14px;
        justify-content: center;
    }

    .join-section {
        padding: 42px 0;
    }

    .palns-section .plans {
        margin-top: 22px;
    }

    .modal-form .form {
        font-size: 14px;
    }

    .modal-form .form .steps {
        flex-direction: column;
    }
    
    .modal-form .form .inputs-container {
        display: block;
    }

    .modal-form .form .inputs-container button {
        margin: 0;
    }
}