/* style.css */
*{
  box-sizing: border-box;
  list-style: none;
}

ul{
  padding: 0;
}


body {
  margin: 0;
  font-family: 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  color: #333;
}

header {
  text-align: center;
  background-color: #fff;
}

h2{
  font-size: 50px;
  font-family: "Shippori Mincho", serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 500;
}

h3,h4{
  font-size: 30px;
  font-family: "Shippori Mincho", serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 500;
}

.header-buttons {
  display: flex;
  justify-content: space-between;
}

.btn {
  border: none;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  font-size: 14px;
  width: 100%;
}

.btn a{
  color: #fff;
  text-decoration: none;
  display: block;
  width: 100%;
  padding: 10px 20px;
}

.btn-orange {
  background-color: #f7941d;
}

.btn-green {
  background-color: #39b54a;
}

.logo {
  position: absolute;
  right: 20%;
  top: 110px;
  font-family: serif;
  font-weight: bold;
}

.logo img{
  width: 70%;
}

.hero {
    background-image: url(./img/hero.webp);
    height: 100vh;
    background-position: top right;
    background-size: cover;
    position: relative;
}

section {
  padding: 40px 20px;
}

.intro {
  background-image: url(./img/intro.jpg);
  text-align: center;
  text-shadow: 0px 0px 10px rgba(0, 0, 0, 1);
  height: 80vh;
  background-position: top center;
  background-size: cover;
  color: #fff;
}



.section-dark {
  background-image: url(./img/section-dark.jpg);
  color: white;
  text-align: center;
  text-shadow: 0px 0px 10px rgba(0, 0, 0, 1);
  height: 80vh;
  background-position: top center;
  background-size: cover;
}

.section-feature {
  background-image: url(./img/section-feature.jpg);
  color: #000;
  text-align: center;
  text-shadow: 0px 0px 10px rgb(255, 255, 255);
  height: 80vh;
  background-position: top center;
  background-size: cover;
}

.section-feature img {
  max-width: 200px;
  margin-top: 20px;
}

.voices {
  background-color: #ffefe5;
  text-align: center;
}

.cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.card,
.step {
  width: 15%;
  max-width: 300px;
  text-align: center;
  position: relative;
}

.card img {
  width: 100%;
  border-radius: 10px;
}

.card div{
  width: 90%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 3px solid #f7941d;
  background-color: #fff;
  padding: 10px;
  position: absolute;
  right: 0;
  left: 0px;
  bottom: 0px;
  margin: 0 auto;
  box-sizing: border-box;
}

.card div p.cast_name{
  font-size: 22px;
  font-weight: bold;
}

.card div p.cast_text{}

.steps {
  background-color: #fff;
  text-align: center;
}

.step-box {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.step img {
  width: 100%;
}

.triangle{
  background: #ff8800;
  height: calc(50px / 2 * tan(60deg));
  width: 50px;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  margin: 0px 20px 0px 0px;
  rotate: -30deg;
}

.qa-7 {
  margin-bottom: 10px;
  border: none;
  border-radius: 5px;
  box-shadow: 0 4px 4px rgb(0 0 0 / 2%), 0 2px 3px -2px rgba(0 0 0 / 5%);
  background-color: #fff;
}

.qa-7 summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 1em 2em 1em 3em;
  color: #333333;
  font-weight: 600;
  cursor: pointer;
}

.qa-7 summary::before,
.qa-7 p::before {
  position: absolute;
  left: 1em;
  font-weight: 600;
  font-size: 1.3em;
}

.qa-7 summary::before {
  color: #75bbff;
  content: "Q";
}

.qa-7 summary::after {
  transform: translateY(-25%) rotate(45deg);
  width: 7px;
  height: 7px;
  margin-left: 10px;
  border-bottom: 3px solid #333333b3;
  border-right: 3px solid #333333b3;
  content: '';
  transition: transform .5s;
}

.qa-7[open] summary::after {
  transform: rotate(225deg);
}

.qa-7 p {
  position: relative;
  transform: translateY(-10px);
  opacity: 0;
  margin: 0;
  padding: .3em 3em 1.5em;
  color: #333;
  transition: transform .5s, opacity .5s;
}

.qa-7[open] p {
  transform: none;
  opacity: 1;
}

.qa-7 p::before {
  color: #ff8d8d;
  line-height: 1.2;
  content: "A";
}

.faq {
  background-color: #f6f6f6;
  padding: 20px;
}

.contact {
  background-color: #f7941d;
  color: white;
  text-align: center;
  padding: 30px 20px;
}

.contact form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  text-align: left;
}

.contact input,
.contact textarea,
.contact select {
  padding: 10px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
}

.contact p span{
  display: inline-block;
}

.contact .form-group{
  display: flex;
  flex-direction: column;
}

.contact #name,
.contact #tel,
.contact #mail{
  width: 100%;
}

.contact textarea{
  min-height: 150px;
}

input[type="button"] {
  background-color: #003366;
  color: white;
  padding: 10px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.contact button {
  background-color: #003366;
  color: white;
  padding: 10px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.footer {
  background-color: #003366;
  color: white;
  text-align: center;
  padding: 50px 0;
  font-size: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer div:nth-of-type(1){
  width: 100%;
  max-width: 300px;
  margin-right: 80px;
}

.footer div:nth-of-type(1) img{
  width: 100%;
}

.footer div:nth-of-type(2){
  text-align: left;
  font-size: 15px;
}

#floatingButton {
  width: 100%;
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  font-size: 16px;
  color: white;
  border: none;
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, bottom 0.3s, top 0.3s;
}

#floatingButton.visible {
  opacity: 1;
  pointer-events: auto;
}

/* Responsive */
@media (max-width: 768px) {
  h2{
    font-size: 35px;
  }

  h3,h4{
    font-size: 23px;
  }
  
  .hero{
    background-position: top center;
  }

  .logo {
    right: 20px;
    top: 90px;
    text-align: right;
  }

  .logo img{
    width: 50%;
  }

  .section-feature {
    background-color: rgba(255, 255, 255, 0.3);
    background-blend-mode: lighten;
  }

  .cards{
    align-items: center;    
  }
  .step-box {
    flex-direction: column;
    align-items: center;
  }

  .triangle{
    margin: 0px 0px 20px;
    rotate: 60deg;
  }

  .btn {
    width: 100%;
  }

  .card{
    width: 29%;
  }
  .step {
    width: 80%;
  }

  .contact form {
    width: 100%;
  }

  .footer{
    flex-direction: column;
  }
  
  .footer div:nth-of-type(1){
    margin-right: 0px;
  }
}
