/* -------------FAQ hero-----------------------*/
.faq-hero {
    text-align: center;
    background-image: url('./assets/Background.png');
    background-position: center center;
    background-size: cover;
    padding-left: 10%;
    padding-right: 10%;
    padding-top: 120px;
    padding-bottom: 150px;
    color: #FFFFFF;
}


/* -------------END-----------------------*/


/* -------------Questions section-----------------------*/
.questions {
    text-align: center;
    padding-left: 10%;
    padding-right: 10%;
    padding-top: 60px;
    padding-bottom: 50px;
    background: linear-gradient(100.44deg, #FFFFFF 0%, rgba(133, 208, 217, 0.36) 100%);
}

.top3-questions {
    display: flex;
    justify-content: space-between;
    text-align: left;
}

.question-box {
    background: #1F6D91;
    color: #FFFFFF;
    margin: 20px;
    padding: 20px;
    border-radius: 3px;
    width: 310px;
    height: 350px;
}

.top3-questions> :nth-child(2) {
    background: #18AEBF;
}

.question-box strong {

    font-size: 20px;
}

.other-questions {
    padding-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.drop-question {
    border: 2px solid rgb(219, 214, 214);
    padding: 10px;
    cursor: pointer;
    width: 490px;
    height: 50px;
    background: #FFFFFF;
    border-radius: 4px;
}

.drop-question-open {
    border: 2px solid rgb(219, 214, 214);
    padding: 10px;
    cursor: pointer;
    width: 490px;
    height: 150px;
    background: #FFFFFF;
    border-radius: 4px;
    z-index: 10;
}

.answer {
    display: none;
}

.show-answer {
    display: block;

}

.question-title {
   display: flex;
   justify-content: space-between;
   padding-left: 3%;
   padding-right: 3%;
}

.question-title img {
    width: 20px;
    height: 20px;
    align-self: center;
}

/* -------------END-----------------------*/




/* -------------Question form-----------------------*/
.ask-form {
    display: flex;
    justify-content: space-between;
    padding-left: 8%;
    padding-right: 8%;
    padding-top: 50px;
    padding-bottom: 50px;
}

.left-form {
   width: 45%;
   display: flex;
   flex-direction: column;
}

.name-email {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding-bottom: 20px;
}

.name-email #name {
    width: 45%;
    height: 50px;
    border: 2px solid rgb(184, 184, 184);
    border-radius: 6px;
    padding-left: 10px;
    box-sizing: border-box;
}

.name-email #email {
    width: 45%;
    height: 50px;
    border: 2px solid rgb(184, 184, 184);
    border-radius: 6px;
    padding-left: 10px;
    box-sizing: border-box;
}

#message {
    width: 100%;
    height: 180px;
    border: 2px solid rgb(184, 184, 184);
    border-radius: 6px;
    padding-left: 10px;
    padding-top: 10px;
    box-sizing: border-box;

}

#submit-but {
    width: 100%;
    height: 60px;
    background: #1F6D91;
    color: #fff;
    font-weight: bold;
    font-size: 20px;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.25);
    margin-top: 20px;
    box-sizing: border-box;
}
#submit-but:hover {
    background: #18AEBF;
}

.right-form-img {
   
    width: 50%;
    min-height: 300px;
    margin-top: 20px;
    max-height: 500px;
    background-image: url('./assets/13561931_5274708.jpg');
    background-position: center center;
    background-size: cover;
   
}

/* -------------END-----------------------*/




/*---------------------- MEDIA QUERIES -----------------------*/
@media screen and (max-width: 1100px) {
    .questions {
        padding-left: 6%;
            padding-right: 6%;
    }
}
@media screen and (max-width: 995px) {
    .questions {
        padding-left: 3%;
        padding-right: 3%;
    }
}
@media screen and (max-width: 929px) {

    .top3-questions, .ask-form, .name-email {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .question-box {
        height: 100%;
    }
    .left-form, .right-form-img {
        width: 70%;
        padding: 10px;
    }
   
    .name-email #name, .name-email #email {
        margin-top: 15px;
        width: 100%;
    }
    #message {
        width: 100%;
    }
    .ask-form {
        flex-direction: column;
    }
    
}
@media screen and (max-width: 600px) {
    .question-box {
           width: 90%;
        }
.drop-question {
        padding: 10px;
        width: 90%;
        height: auto;
    }

    .drop-question-open {
        padding: 10px;
        width: 90%;
        height: 130px;
    }
    .question-title {
        padding: 5px;
    }
    
            .faq-hero h1 {
                font-size: 42px;
            }
    
            .faq-hero p {
                font-size: 16px;
            }
    
            .secondary {
                width: 200px;
                height: 50px;
                font-size: 18px;
                border-radius: 4px;
                margin-top: 15px;
            }
    
            .questions h2,
            .ask-form h2 {
                font-size: 34px;
            }

}
@media screen and (max-width: 500px) {
    .left-form,
        .right-form-img {
            width: 90%;
            padding: 10px;
        }
}
@media screen and (max-width: 294px) {
   .question-title{
    justify-content: space-evenly;
   }
   .drop-question-open {
       height: 160px;
   }
   .left-form,
   .right-form-img {
       width: 100%;
       padding: 10px;
   }
}
@media screen and (max-width: 245px) {

.faq-hero h1 {
        font-size: 36px;
    }

    .faq-hero p {
        font-size: 16px;
    }

    .secondary {
        width: 160px;
        height: 45px;
        font-size: 1px;
        border-radius: 4px;
        margin-top: 15px;
    }
}