* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    width: 100vw;
    height: 100vh;

}

header {
    height: 10vh;
    width: 100%;
    background: linear-gradient(to right, #0088FF, #D766DD);
    padding: 4px;
}

header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    padding: 10px;
    margin-left: 20px;
}

section {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.section_top {
    width: 60vw;
    margin: auto;
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;


}

.section_top h1 {
    margin: auto;
    font-weight: 800;
    font-size: 60px;
    text-align: center;
    width: 34vw;
    background: linear-gradient(to left, #5C17FC, #D766DD);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section_middle {
    display: flex;
    width: 100%;
    justify-content: space-around;
}

.section_left {
    /* background-color: yellow; */
    width: 40%;
    margin-top: 20px;
}

.section_left h2 {
    font-size: 40px;
    font-weight: 800;
    color: #5C17FC;
}

.section_left p {
    width: 100%;
    font-size: 28px;
    color: #868693;
    margin-top: 20px;
}




.section_right {
    width: 40%;
    background: red;
}

.section_bottom {
    display: flex;
    flex-direction: column;
    margin: auto;
    margin-top: 20%;
}

.search-box {
    position: relative;
    width: 80vw;
    border: 1px solid #868693;
    border-radius: 60px;
}

.search-box input {
    border: none;
    outline: none;
    font-size: 28px;
    padding: 30px;
}

.fa-magnifying-glass {
    position: absolute;
    color: #868693;
    top: 40%;
    right: 5%;
}

.questions {
    display: flex;
    flex-direction: column;
    width: 80%;
    margin-top: 20px;
}

.faq-question {
    display: flex;
    width: 100%;
    margin-top: 20px;
    position: relative;
    /* background: red; */
    border: 1px solid #868693;
    border-radius: 20px;
    margin-bottom: 10px;
}

.faq-question img {
    position: absolute;
    right: 3%;
    top: 36%;

}

.faq-question h3 {
    padding: 10px;
    font-size: 28px;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    background-color: transparent;
    border-radius: 0 0 20px 20px;
    transition: all 0.4s ease;
}

/* Aktiv olarkən */
.faq-item.active .faq-answer {
    max-height: 120px;
    /* boş sahə kimi görünmək üçün */
    opacity: 1;
    background-color: #fff;
    /* ağ fonda görünsün */
    border: 1px solid #868693;
    border-top: none;
    /* sual ilə birləşsin */
}

/* Ox fırlanır */
.faq-item.active .toggle-arrow {
    transform: rotate(180deg);
}

footer {
    display: flex;
    background-color: #73AFF3;
    width: 100%;
    height: 45%;
    margin-top: 10%;
}

.footer_left {
    width: 50%;
}

.footer_left h3,
.footer_left p {
    margin-left: 30px;
    margin-top: 40px;
    width: 70%;
    color: #fff;
    font-size: 28px;
}


.footer_right {
    width: 50%;
}

.footer_right_inside {
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    margin-top: 10%;
    width: 90%;
    height: 60%;
    background-color: #fff;
    border-radius: 10px;
}

.footer_right_inside .input1 {
    margin: 10px;
    width: 30%;
    border: none;
    outline: none;
    border-radius: 10px;
    padding: 5px;
    background-color: #F5F5F5;
}

.footer_right_inside .input2 {
    width: 60%;
    height: 50%;
    margin-left: 10px;
    background-color: #F5F5F5;
    border: none;
    outline: none;
    border-radius: 10px;

}

.footer_right_inside .input2 input {
    border: none;
    outline: none;
    background-color: #F5F5F5;
    margin-left: 10px;
    margin-top: 10px;
}
.footer_right_inside button{
    width:10%;
    margin-left: 75%;
    background-color: #5C17FC;
    border-radius: 10px;
    font-size: 16px;
    border: none;
    outline: none;
    padding: 9px;
    color: #fff;
}
/* 📱 Mobil cihazlar (max 600px) üçün */
@media (max-width: 600px) {
  header {
    height: auto;
    padding: 10px;
  }

  header h2 {
    font-size: 22px;
    text-align: center;
    margin: 0;
  }

  .section_top {
    width: 90vw;
    flex-direction: column;
    align-items: center;
  }

  .section_top h1 {
    font-size: 34px;
    width: 100%;
  }

  .section_middle {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .section_left,
  .section_right {
    width: 90%;
    margin-top: 20px;
  }

  .section_left h2 {
    font-size: 28px;
  }

  .section_left p {
    font-size: 18px;
  }

  .search-box {
    width: 90%;
    border-radius: 40px;
  }

  .search-box input {
    font-size: 18px;
    padding: 20px;
  }

  .fa-magnifying-glass {
    top: 35%;
    right: 6%;
  }

  .faq-question h3 {
    font-size: 20px;
    width: 550px;
  }

  .faq-question img {
    width: 10px;
    top: 35%;
    right: 5px;
  }

  .faq-answer {
    font-size: 16px;
  }

  footer {
    flex-direction: column;
    align-items: center;
    height: auto;
    padding-bottom: 20px;
  }

  .footer_left,
  .footer_right {
    width: 90%;
  }

  .footer_left h3,
  .footer_left p {
    font-size: 18px;
    width: 100%;
    margin-left: 0;
    text-align: center;
  }

  .footer_right_inside {
    width: 100%;
    height: auto;
    padding: 15px;
    align-items: center;
  }

  .footer_right_inside .input1,
  .footer_right_inside .input2 {
    width: 100%;
    margin: 10px 0;
  }

  .footer_right_inside button {
    width: 50%;
    margin: 10px auto 0;
  }
}

/* 💻 Plansetlər (601px - 1024px) üçün */
@media (max-width: 1024px) and (min-width: 601px) {
  header h2 {
    font-size: 26px;
  }

  .section_top h1 {
    font-size: 44px;
    width: 80%;
  }

  .section_middle {
    flex-direction: column;
    align-items: center;
  }

  .section_left,
  .section_right {
    width: 80%;
  }

  .section_left h2 {
    font-size: 34px;
  }

  .section_left p {
    font-size: 22px;
  }

  .search-box {
    width: 85%;
  }

  .faq-question h3 {
    font-size: 24px;
  }

  .faq-answer {
    font-size: 18px;
  }

  footer {
    flex-direction: column;
    align-items: center;
    height: auto;
  }

  .footer_left,
  .footer_right {
    width: 90%;
  }

  .footer_right_inside {
    width: 90%;
    height: auto;
    padding: 20px;
  }

  .footer_right_inside .input1,
  .footer_right_inside .input2 {
    width: 90%;
    margin: 10px 0;
  }

  .footer_right_inside button {
    width: 40%;
    margin: 10px auto 0;
  }
}
