* {
  margin: 0;
}
@font-face {
  font-family: Feather;
  src: url("./font/feather.ttf");
}
body {
  font-family: "Roboto", sans-serif;
}
main {
  width: 100%;
  padding: 0px 80px 0px 80px;
  box-sizing: border-box;
  margin-bottom: 130px;
}
header {
  margin-top: 35px;
}

h1,
h2,
h4 {
  color: red;
  font-family: "Feather";
  margin-bottom: 20px;
}
h1 {
  font-size: 32px;
  font-family: "Feather";
}
h2 {
  font-size: 26px;
}
.container {
  max-width: 1000px;
  margin: auto;
}
.detail {
  box-sizing: border-box;
  padding: 30px;
  margin-top: 80px;
}

section {
  display: flex;
  flex-direction: row;
  margin-top: 50px;
  justify-content: center;
  position: relative;
  gap: 40px;
}

section > div {
  /* flex: 50%; */
}

.hero {
  margin-top: 30px;
  padding-bottom: 80px;
  position: relative;
}
.divider {
  position: relative;
}
.divider::after {
  content: " ";
  position: absolute;
  bottom: 0px;
  left: 0px;
  right: 0px;
  height: 2px;
  background-color: #e8e4e4;
  margin: 0px -80px;
}
.hero .detail {
  margin-top: 0px;
  padding: 30px 0px;
}
.hero .img-holder {
  margin-top: 60px;
}
.input-form {
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 400px;
}
input,
textarea {
  border: 2px solid #e5e5e5;
  background-color: transparent;
  font-size: 18px;
  border-radius: 12px;
  padding: 12px;
  outline: none;
}
input::placeholder {
  color: #a7a5a5;
}
input:focus {
  outline: none;
  border-color: red;
}
button {
  padding: 12px;
  background-color: red;
  font-size: 20px;
  color: white;
  border: 0px;
  border-radius: 12px;
  box-shadow: 0px 4px 0px #cd0a0a;
}
button:active {
  background-color: #f50a0a;
}

footer {
  height: 400px;
  background-color: #ff8944;
  color: white;
  box-sizing: border-box;
  padding: 0px 80px;
  position: relative;
  padding-top: 35px;
}
footer .img-top {
  position: absolute;
  top: -130px;
  right: 190px;
}
.img-top img {
  width: 200px;
}
.footer-section {
  display: flex;
  flex-direction: row;
}
.footer-section > div {
  flex: 50%;
}
ul {
  list-style: none;
  margin: 0;
  padding: 5px;
}
ul li {
  margin-bottom: 15px;
}
.link-list h5 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
}

a {
  text-decoration: none;
  color: inherit;
}
a:hover {
  color: red;
}

@media (min-width: 768px) {
  section img {
    align-self: auto;
    max-width: none;
    width: 365px;
  }
}

@media (max-width: 400px) {
  section img {
    width: 250px;
  }
}
@media (min-width: 1080px) {
  section .detail {
    flex: initial;
    /* margin: 16px 0 0; */
    max-width: 480px;
  }
}

@media (max-width: 1080px) {
  section {
    flex-direction: column;
    gap: 0px;
    text-align: center;
  }
  section.hero {
    margin-top: 0px;
    flex-direction: column-reverse;
    justify-content: center;
    text-align: center;
  }
  .hero .detail {
    padding: 0px;
  }
  .detail {
    margin-top: 0px;
    padding: 0px 20px;
    max-width: 480px;
    margin: auto;
  }
  .odd {
    flex-direction: column-reverse;
  }
  .input-form {
    margin: auto;
  }
  .img-top {
    top: -90px !important;
    right: 100px !important;
  }
  .img-top img {
    width: 150px;
  }
  .section-1 img {
    width: 400px;
  }
  .section-2 .img-holder {
    margin-bottom: 30px;
  }
  .section-2 img {
    width: 400px;
  }
  .section-3 img {
    width: 250px;
  }
}
@media (max-width: 768px) {
  header .logo {
    width: 140px;
  }
  section img {
    align-self: auto;
    max-width: none;
    width: 320px;
  }

  .section-1 img,
  .section-2 img {
    width: 320px;
  }
  h1 {
    font-size: 28px;
    font-family: "Feather";
  }
  h2 {
    font-size: 22px;
  }
  .footer-section {
    padding-top: 70px;
    gap: 30px;
    display: flex;
    flex-direction: column;
    text-align: center;
    margin: auto;
  }
}

@media (max-width: 600px) {
  header .logo {
    width: 100px;
  }
  main {
    padding: 0px 20px 0px 20px;
  }
  .divider::after {
    margin: 0px -20px;
  }
  section img {
    align-self: auto;
    max-width: none;
    width: 350px;
  }
  h1 {
    font-size: 24px;
    font-family: "Feather";
  }
  h2 {
    font-size: 20px;
  }
}
@media (max-width: 375px) {
  section img {
    align-self: auto;
    max-width: none;
    width: 220px;
  }

  .section-1 img,
  .section-2 img {
    width: 220px;
  }
  .section-3 img {
    width: 150px;
  }
}

/* faqs */

.faq {
  margin-bottom: 200px;
}

.faq h2 {
  margin: 20px auto 80px;
  
  font-weight: 300;
  text-align: center;
 
}

.faq details {
  width: 75%;
  min-height: 5px;
  max-width: 700px;
  padding: 45px 70px 45px 45px;
  margin: 0 auto;
  position: relative;
  font-size: 22px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  box-sizing: border-box;
  transition: all 0.3s;
}

.faq details + details {
  margin-top: 20px;
}

.faq details[open] {
  min-height: 50px;
  background-color: #f6f7f8;
  box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.2);
}

.faq details p {
  color: #96999d;
  font-weight: 300;
}

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  cursor: pointer;
}

.faq summary:focus {
  outline: none;
}

.faq summary:focus::after {
  content: "";
  height: 100%;
  width: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  /* box-shadow: 0 0 0 5px rebeccapurple; */
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq .control-icon {
  /* fill: rebeccapurple; */
  transition: 0.3s ease;
  pointer-events: none;
}

.faq .control-icon-close {
  display: none;
}

.faq details[open] .control-icon-close {
  display: initial;
  transition: 0.3s ease;
}

.faq details[open] .control-icon-expand {
  display: none;
}

@media (max-width: 768px) {
  .faq h2 {
    font-size: 22px;
  }
  .faq details {
    font-size: 18px;
  }
}

@media (max-width: 600px) {
  .faq h2 {
    font-size: 20px;
  }
  .faq details {
    padding: 20px 30px 20px 20px;
  }
  

}