@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500&display=swap");

:root {
    --bg: #363fff;
    --bg2: #3138c6;
    --title: #293245;
    --secondary-light: rgb(34, 124, 112, 0.2);
    --secondary-light-2: rgb(127, 183, 126, 0.1);
    --white: #fff;
    --black: #393e46;
    --green: #00FF96;
    --blue: #00A2FF;

    --shadow: 0px 2px 8px 0px var(--secondary-light);
}

*{
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* FAQ Section */
/* search */
.search {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.search form{
    padding: 10px;
    border: 2px solid var(--blue);
    border-radius: 8px;
    font-size: 16px;
    background-color: var(--white);
    color: var(--black);
    box-shadow: var(--shadow);
    transition: 0.3s;
    width: 250px;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.search input{
    border: none;
}

.search button{
    border: none;
    background-color: var(--white);
    cursor: pointer;
}

.search button:hover{
    cursor: pointer;
}

/* question */


.faq-section {
    display: flex;
    padding: 300px 10% 50px 10%;
    background: linear-gradient(180deg, #124559, #16184f);
    color: var(--white);
    text-align: center;
    gap: 60px;
    flex-direction: column;
}

.faq-item {
    background-color: white;
    margin-bottom: 0 10% 10px 10%;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.faq-title {
    padding: 15px 20px;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    user-select: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    transition: background 0.3s;
    text-align: left;
}

.faq-title:hover {
    background-color: #0056b3;
}

.faq-content {
    padding: 15px 20px;
    display: none;
    background-color: #f1f1f1;
    border-top: 1px solid #ddd;
    color: black;
}

.faq-content p{
    font-size: 20px;
    text-align: left;
}

.faq-title::after {
    content: '▼';
    transition: transform 0.3s ease;
}

.faq-title.open::after {
    transform: rotate(180deg);
}

@media screen and (max-width: 850px) {
    .faq-title{
        font-size: 13px;
    }

    .faq-content p{
        font-size: 15px;
    }
}