@import url("https://fonts.googleapis.com/css2?family=Cedarville+Cursive&family=Livvic:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,900&family=Mulish:ital,wght@0,200..1000;1,200..1000&display=swap");

.why-choose-us {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)),
    url("../images/why-us.jpg");

  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed; /* optional */
  padding: 70px 20px;
  font-family: "Mulish", sans-serif;
}

.content h1 {
  text-align: center;
  color: #8b5e3c;
  font-size: 42px;
  margin-bottom: 40px;
}

.content h1::after {
  content: "";
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, #c89b6d, #8b5e3c);
  display: block;
  margin: 10px auto 0;
  border-radius: 5px;
  position: relative;
  right: 110px;
}

.accordions {
  max-width: 800px;
  margin: auto;
}

.accordion {
  background: rgba(5, 12, 44, 0.523);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 15px;
  margin-bottom: 18px;
  overflow: hidden;
  transition: 0.35s;
  border: 3px inset #8b5e3c;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 25px;
  cursor: pointer;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
}

.icon {
  transition: transform 0.3s ease;
  font-size: 20px;
}

.accordion.active .icon {
  transform: rotate(180deg);
}

.accordion-content {
  height: 0;
  overflow: hidden;
  transition: height 0.35s ease;
  padding: 0 25px;
}

.accordion-content p {
  margin: 0;
  padding-bottom: 20px;
  color: #8b5e3c;
}

.accordion.active .icon {
  content: "−";
}

@media only screen and (max-width: 767px) {
  .content h1::after {
    right: 0;
  }
}

@media (max-width: 768px) {
  .accordion-header {
    font-size: 18px;
  }

  .content h1 {
    font-size: 30px;
  }
}
