@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;700;800&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.0/css/all.min.css');
body{
    /* max-width: 1080px; */
    margin: auto; 
}
.lang-ar{
    direction: rtl;
}
/* .home-page{
    position: relative;
    width: 100%;
    height: 100vh;
} */
.home-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background-image: url("../img/main_bg.svg");
    background-size: cover; /* لضبط الصورة حسب حجم الصفحة */
    background-position: center; /* لتوسيط الصورة */
    background-repeat: no-repeat; /* لمنع تكرار الصورة */
    position: relative;
}

.content-middle {
    text-align: center;
    margin: 20px 0;
    color:#fff;
    font-family: 'Tajawal';
    font-style: normal;
    font-weight: 700;
    line-height: 47px;
    text-align: center;
}

.text-content {
    font-size: 94px;
    font-weight: bold;
}

.content-image {
    max-width: 100%;
    height: auto;
    padding: 20px;
    margin-bottom: 60px;
}

.home-page .main-pic{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.home-page .btn-option{
    position: absolute;
    bottom: 5rem;
    /* left: 50%; */
    /* transform: translateX(-50%); */
    /* display: flex; */
    /* align-items: center; */
    justify-content: space-around;
    gap: 120px;
} 
.policy-card{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 1200px;
    max-height: 880px;
    width: 100%;
    height: 100%;
    background: #fff;
    backdrop-filter: blur(7px);
    box-shadow: 0px 4px 24px rgba(0, 0, 0, 0.25);
    border-radius: 14px;
    z-index: 1;
    padding: 80px;
}
.policy-card .head .title{
    font-family: 'Tajawal';
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 47px;
    text-align: center;
    color: #fff;
    margin-bottom: 60px;
}
.policy-card .policy-box{
    position: relative;
    cursor: pointer;
    background: #fff;
    margin: auto;
    background: #0094D3;
    color: #fff;
    margin-bottom: 30px;
    padding: 24px 45px;
    max-width: 500px;
    border-radius: 16px;
    transition: all .3s ease;
}
.policy-card .policy-box:hover,
.policy-card .policy-box:focus{
    background: #4B4F54;
}
.policy-card .policy-box .title ,
.policy-card .policy-box .title {
    color: #fff !important;
}
.policy-card .policy-box:hover .title ,
.policy-card .policy-box:focus .title {
    color: #fff !important; 
}
.policy-card .policy-box::before{
    position: absolute;
    content: "";
    width: 80px;
    height: 120px;
    top: 0;
    right: -30px;
    background-image: url(../img/border-right.svg);
    background-repeat: no-repeat;
    background-size: cover;
}
.policy-card .policy-box::after{
    position: absolute;
    content: "";
    width: 80px;
    height: 120px;
    top: 0;
    left: -30px;
    background-image: url(../img/border-left.svg);
    background-repeat: no-repeat;
    background-size: cover;
}
.policy-card .policy-box:last-child{
    margin-bottom: 0;
}
.policy-card .policy-box .title{
    font-family: 'Tajawal';
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 47px;
    text-align: center;
    color: #fff;
    margin-bottom: 0;
}
.btn-info-question{
    position: absolute;
    bottom: 3rem;
    right: 3rem;
    z-index: 2;
    cursor: pointer;
} 
#modal-info-question .modal-dialog{ 
    max-width: 1200px;
    width: 100%;
    max-height: 880px;
    width: 100%;
    height: 100%;
    /* background: rgb(41, 80, 77 ,.7); */
    backdrop-filter: blur(7px);
    box-shadow: 0px 4px 24px rgba(0, 0, 0, 0.25);
    border-radius: 14px;
    padding: 80px;
    top: 50%;
    transform: translateY(-50%);
    margin: auto;
}
#modal-info-question .modal-content {
    position: relative;
    background: transparent;
    backdrop-filter: none;
}
#modal-info-question .modal-content .btn-close-modal{
    position: absolute;
    top: -50px;
    left: -50px;
    cursor: pointer;
    z-index: 2;
} 
.modal .modal-content{
    /* background: rgb(41, 80, 77 ,.7); */
    backdrop-filter: blur(7px);
}
.btn-close-modal-content{
    padding: 1rem;
    height: 680px;
    overflow-y: scroll;
    scrollbar-color:  #29504D #0074AF;
    scrollbar-width: thin;
}
.btn-close-modal-content .title{
    font-family: 'Tajawal';
    font-style: normal;
    font-weight: 700;
    font-size: 20px; 
    color: #fff;
    margin-bottom: 24px;
}
.btn-close-modal-content .info{
    font-family: 'Tajawal';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 40px;
    color: #fff;
}

.btn-close-modal-content::-webkit-scrollbar {
    width: 5px;
    border-radius: 5px;
}
.btn-close-modal-content::-webkit-scrollbar-track {
    background: #0074AF20;
}
.btn-close-modal-content::-webkit-scrollbar-thumb {
    background: #0074AF;
}

.countdown{
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    padding: .5rem 2rem;
    padding-inline-start: 1rem;
    font-family: 'Tajawal';
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 27px; 
    color: #0074AF;
    background: #0074AF20;
    gap: 5px !important;  
    border-radius: 23px;
}
.countdown .icon svg{
    width: 30px;
    height: 30px;
    position: relative !important;
}
.countdown .icon svg [stroke]{
    stroke: #0074AF; 
}
.countdown.end{
    color: rgba(220, 53, 53, 1);
    background-color: rgba(220, 53, 53, 0.15); 
}
.countdown.end .icon svg [stroke]{
    stroke: rgba(220, 53, 53, 1); 
}

.question-card .head{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 60px;
}
.question-card .head .title{
    font-family: 'Tajawal';
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 27px;
    color: #000;
    margin-bottom: 0;
}
.question-card .body .question-box .title{
    font-family: 'Tajawal';
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    color: #000;
    margin-bottom: 30px;
    min-width: 100%;
}
.question-card .body .question-box .question-answer{
    position: relative;
    background: #F1F1F1;
    border: 1px solid #F1F1F1;
    border-radius: 10px;
    padding: 20px 40px;
    padding-inline-end: 60px;
    overflow: hidden;
    font-family: 'Tajawal';
    font-style: normal;
    font-weight: 400;
    font-size: 20px; 
    color: #000000;
    margin-bottom: 24px;
    cursor: pointer;
}
.question-card .body .question-box .question-answer.checked::after{
    position: absolute;
    content: "";
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    font-family: "Font Awesome 5 Free";
    font-weight: 800;
    font-size: 20px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    color: #fff;
    text-align: center;
}
[dir="rtl"] .question-card .body .question-box .question-answer.checked::after{
    right: auto;
    left: 1rem;
}
.question-card .body .question-box .question-answer.checked.true::after{ 
    content: "\f00c";
    background-color: #00973C;
}
.question-card .body .question-box .question-answer.checked.false::after{ 
    content: "\f00d";
    background-color: #FF0000;
}

.question-card .body .question-box .question-answer.checked.true{
    background-color: rgb(201, 253, 221);
    border-color: #00973C;
}
.question-card .body .question-box .question-answer.checked.false{
    background-color: rgb(249, 201, 201);
    border-color: rgb(255, 0, 0, 1);
}
.question-card .body .question-box.question-box-pic{
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.question-card .body .question-box.question-box-pic .question-answer{
    max-width: calc((100% / 3) - 1rem);
    width: 100%;
    padding: 0;
}
.question-card .body .question-box.question-box-pic .question-answer img{
    width: 100%;
    height: 100%;
    object-fit: cover;
} 
.question-card .body .question-box.question-box-pic .question-answer::after{
    top: 1rem;
    left: 1rem;
    transform: translate(0);
}
[dir="rtl"] .question-card .body .question-box.question-box-pic .question-answer::after{
    left: auto;
    right: 1rem;
}


@media (max-width: 1440px){
    #modal-info-question .modal-dialog,
    .policy-card { 
        max-width: 900px;
        height: auto;
        min-height: 500px;
        padding: 3rem 3rem 1.5rem;
    }
    .btn-close-modal-content {
        padding: 1rem;
        height: 480px;
    }    
    #modal-info-question .modal-content .btn-close-modal {
        top: -30px;
        left: -30px;
    }
    .policy-card .head .title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    .policy-card .policy-box{
        padding: 1rem;
        margin-bottom: 1rem;
    }
    .policy-card .policy-box .title{
        font-size: 20px; 
    }
    .policy-card .policy-box::before,
    .policy-card .policy-box::after{
        width: 60px;
        height: 80px;
    }
    .policy-card .policy-box::before{
        right: -20px;
    }
    .policy-card .policy-box::after{
        left: -20px;
    }
    .countdown { 
        border-radius: 50px;
        padding: 5px 20px; 
        font-size: 14px;
        line-height: 27px;
        gap: 10px;
    }
    .countdown .icon svg{ 
        width: 20px;
        height: 20px;
    }
    .question-card .head .title{
        margin-bottom: 0;
    }
    .question-card .body .question-box .title {
        font-size: 16px;
        margin-bottom: 20px;
    }
    .question-card .body .question-box .question-answer {
        padding: 14px 20px; 
        font-size: 16px;
        line-height: 27px; 
        margin-bottom: 16px;
    }
    .question-card .body .question-box .question-answer.checked::after {
        font-size: 14px;
        width: 24px;
        height: 24px;
        line-height: 24px;
    }
    .btn-option img{
        height: 100px;
        margin-left: 10px;
        margin-right: 10px; 
       
    }
    .lang-ar img,
    .lang-en img{
        height: 80px;
    }
    .question-card .head{
        margin-bottom: 20px;
    }
}
.card-satuts .option img,
.question-card .footer img{
    height: 60px;
}
 
.card-satuts{
    text-align: center;
    padding: 2rem 5rem;
}
.card-satuts .title{
    font-family: 'Tajawal';
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 27px; 
    text-align: center; 
    color: #000;
}
.card-satuts .img-icon{
    margin: 45px auto;
}
.card-satuts .title{
    font-family: 'Tajawal';
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 40px; 
    text-align: center; 
    color: #000;
}
.card-satuts .info{
    font-family: 'Tajawal';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 40px;
    text-align: center;
    color: #000;
    margin-bottom: 40px;
}
.card-satuts .option{
    display: flex;
    justify-content: space-between;
}
.modal.show .modal-dialog {
    transform: none;
    transform: translateY(-50%);
    top: 50%;
}

.btn-close-modal {
    color: #fff;
}


.info-box{
    position: absolute;
    top: 2rem;
    left: 2rem; 
    padding: 1rem;
    border-radius: 16px;
    z-index: 222;
    box-shadow: 0 3px 11px rgb(0, 0, 0, 0.1);
    max-width: 320px;
    width: 100%;
    background: #0074AF90;
    backdrop-filter: blur(7px);
    color: #fff;
}
.success-bg{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.click-elm{
    cursor: pointer;
} 