/* GLOBAL RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f7f9fb;
}

/* MAIN CONTAINER */
.container {
  display: flex;
  width: 80vw;
  max-width: 900px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* LEFT SIDE */
.first-div {
  width: 50%;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.faq-button {
  border: 1px solid #555;
  border-radius: 25px;
  padding: 5px 15px;
  font-weight: bold;
  width: fit-content;
}

.faq-heading {
  font-size: 1.8rem;
  margin-top: 1rem;
}

.faq-para {
  margin-top: 0.8rem;
  font-size: 1rem;
  color: #333;
}

.service-list {
  list-style: none;
  margin-top: 1rem;
}

.service-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.8rem;
}

.service-list li::before {
  content: "\2714";
  position: absolute;
  left: 7px;
  top: 0rem;
  background-color: #4caf50;
  color: #fff;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  text-align: center;
  line-height: 1.2rem;
  font-size: 0.8rem;
}

.get-div {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: black;
  border-radius: 0.6rem;
  padding: 0.6rem 1rem;
  cursor: pointer;
  width: fit-content;
}

.get-div button {
  background: none;
  border: none;
  color: #fff;
  /* font-weight: bold; */
  cursor: pointer;
}

.get-div i {
  color: #fff;
  margin-left: 0.4rem;
}

/* RIGHT SIDE */
.sec-div {
  width: 50%;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.items {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  
}

.qn {
  padding: 15px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
}

.answer {
  display: none;
  padding: 15px;
  /* background: #f9f9f9; */
  color: #333;
}

.items.active .answer {
  display: block;
}
.items.active{
   box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* RESPONSIVE DESIGN */
@media (max-width: 800px) {
  body {
    height: auto;
    padding: 20px 0;
  }

  .container {
    flex-direction: column;
    width: 95%;
    max-width: 500px;
  }

  .first-div,
  .sec-div {
    width: 100%;
    border: none;
    padding: 1.5rem;
  }

  .get-div {
    width: 100%;
    justify-content: center;
    gap: 10px;
  }
}
