.hero {
  background-image: url("../imgs/brd.jpg");

  height: 40vh;
  position: relative;
  margin-top: 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom;
  display: flex;
  align-items: end;
  justify-content: center;
}
.hero h1 {
  font-size: 2.7em;
  color: white;
  margin-bottom: 60px;
}
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.5em;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .hero {
    height: 50vh;
  }

  .hero h1 {
    font-size: 2em;
  }
}
/* ----------------------------- */
.first-view {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5%;
}
.faq-section {
  width: 45%;
  margin: 3%;
}
.contact-form {
  width: 30%;
}
h2 {
  display: flex;
  align-items: center;
  font-size: 24px;
  font-weight: bold;
}
.icon {
  background: var(--mainColor);
  /* border-radius: 50%; */
  padding: 2px 11px;
  padding-bottom: 0;
  margin: 10px;
  margin-left: 0;
}
.faq-container {
  padding: 30px 0;
}
.faq-item {
  background: #fff;
  border: 1px solid #ddd;
  cursor: pointer;
  margin-bottom: 5px;
  color: rgb(98, 91, 91);
}
.faq-title {
  /* background: var(--mainColor); */
  padding: 15px 10px;
  font-weight: bold;
  cursor: pointer;
  font-size: 20px;
}
.faq-content {
  display: none;
  padding: 15px;
  color: rgb(98, 91, 91);
}
.faq-item:hover .faq-content {
  display: block;
  background-color: white;
}
.faq-item:hover {
  color: black;
  background-color: var(--mainColor);
  border: 1px solid var(--mainColor);
}
.faq-item.active .faq-content {
  /* display: block; */
  color: rgb(98, 91, 91);
}
.contact-form form {
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
}
.contact-form input,
.contact-form select,
.contact-form textarea,
.contact-form button {
  margin-bottom: 10px;
  padding: 12px;
  border-radius: 5px;
  font-size: 16px;
  border: 1px solid var(--mainColor);
}
.contact-form button {
  background: black;
  color: white;
  cursor: pointer;
  font-weight: bold;
  width: fit-content;
}
.contact-form button:hover {
  background-color: var(--mainColor);
  color: black;
}
.second-view {
  margin-left: 160px;
}

@media (max-width: 768px) {
  .first-view{
    flex-direction: column;
    margin-bottom: 6%;
  }
  .second-view{
    margin: auto;
  }
  .contact-form {
    width:80%;
  }
  .faq-section{
    width: 80%;
  }
}
