@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --primary-color: #344E41;
  --secondary-color: #A3B18A;
  --body-bg-color: var(--color-bgbody);
  --font-family: "Montserrat", sans-serif;
}

nav a {
  text-decoration: none !important;
}

body {
  font-family: "Montserrat", sans-serif;
  background-color: var(--color-bgbody);
  overflow-x: hidden;
  line-height: 150%;
}

.toggled {
  background-color: var(--body-bg-color) !important;
  display: none !important;
}

nav .menu-item {
  transition: all ease-in-out 300ms; 
}

nav .menu-item:hover {
  color: var(--color-secondary);
}

nav {
  background-color: #FFF;
  height: 48px;
  width: auto;
}

#menuToggle {
  display: flex;
  flex-direction: column;
  position: relative;
  top: 25px;
  left: 25px;
  z-index: 1;
  -webkit-user-select: none;
  user-select: none;
}

#menuToggle input
{
  display: flex;
  width: 40px;
  height: 32px;
  position: absolute;
  cursor: pointer;
  opacity: 0;
  z-index: 2;
}

#menuToggle span
{
  display: flex;
  width: 29px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  background: #ffffff;
  border-radius: 3px;
  z-index: 1;
  transform-origin: 5px 0px;
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

#menuToggle span:first-child
{
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2)
{
  transform-origin: 0% 100%;
}

#menuToggle input:checked ~ span
{
  opacity: 1;
  transform: rotate(45deg) translate(0px, 1px);
  background: #36383F;
}
#menuToggle input:checked ~ span:nth-last-child(3)
{
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

#menuToggle input:checked ~ span:nth-last-child(2)
{
  transform: rotate(-45deg) translate(0, -1px);
}

#menu
{
  position: absolute;
  width: 100%;
  height: 100vh;
  box-shadow: 0 0 10px #85888C;
  margin: -50px 0 0 -50px;
  padding: 50px;
  padding-top: 125px;
  background-color: #F5F6FA;
  -webkit-font-smoothing: antialiased;
  transform-origin: 0% 0%;
  transform: translate(-100%, 0);
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

#menu li
{
  padding: 10px 0;
  transition-delay: 2s;
}

#menuToggle input:checked ~ ul
{
  transform: none;
}

.hero {
  max-height: 94vh;
  height: 100vh; 
}

strong {
  font-weight: 600;
}

.slick-dots {
  display: flex !important;
  justify-content: center;
  margin-top: 32px;
  gap: 12px;
}
.slick-dots li {
  width: 18px;
  height: 18px;
}
.slick-dots li button {
  width: 18px;
  height: 18px;
  border: 2px solid #52B788;
  border-radius: 50%;
  background: transparent;
  padding: 0;
  transition: border-color 0.2s;
  position: relative;
  font-size: 0 !important;
  color: transparent !important;
}
.slick-dots li.slick-active button::after {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  background: #52B788;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.slick-dots li button::after {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  background: transparent;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.slick-slide {
  margin: 0 16px;
}
.slick-list {
  margin: 0 -16px;
}

.faq-answer {
  transition: all 0.3s;
}
.faq-question {
  cursor: pointer;
}

.input_label,
.input_label span {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
}

.input_label br {
  display: none;
}

.input_label input,
.input_label textarea {
  width: 100%;
  display: block;
  background: transparent;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--primary-color);
  transition: all ease-in-out 300ms;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
}

.input_label input:focus,
.input_label textarea:focus,
.input_label input:hover,
.input_label textarea:hover,
.input_label input:focus-within,
.input_label textarea:focus-within {
  outline: none;
  border-bottom: 1px solid var(--secondary-color);
}

.input_label_acceptance input[type="checkbox"] {
  appearance: none;
  width: 22px;
  height: 22px;
  border: 2px solid var(--secondary-color);
  border-radius: 4px;
  background: #fff;
  position: relative;
  vertical-align: middle;
  margin-right: 8px;
  cursor: pointer;
  transition: border-color 0.2s;
}

.input_label_acceptance input[type="checkbox"]:checked {
  border-color: var(--secondary-color);
}

.input_label_acceptance input[type="checkbox"]:checked::after {
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  background: var(--color-primary);
  border-radius: 2px;
  position: absolute;
  top: 4px;
  left: 4px;
}
.input_label_acceptance .wpcf7-list-item-label {
  font-size: 1rem;
  color: var(--primary-color);
}

.wpcf7-list-item {
  margin-left: 0 !important;
}

.custom-submit-btn {
  background: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  font-weight: 400;
  font-size: 20px;
  border-radius: 8px;
  padding: 4;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: background 0.2s;
  position: relative;
}

.custom-submit-btn:hover {
  background: var(--secondary-color);
}

.custom-submit-btn img {
  width: auto;
  height: 20px;
  object-fit: contain;
}

.contact-redirect a {
  text-decoration: underline;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 360ms cubic-bezier(0.4, 0, 0.2, 1),
    opacity 240ms ease;
  will-change: max-height, opacity;
  padding-top: 0;
}
.faq-answer.open {
  opacity: 1;
  /* padding can be handled by inner element or kept constant */
}

/* optional small spacing inside answer so collapsing looks nicer */
.faq-answer > * {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.modal-content h2 {
  font-size: 32px;
  opacity: 0.7;
  color: var(--primary-color);
  margin-bottom: 24px;
  line-height: 150%;
  font-weight: 500;
}

.modal-content p {
  margin-bottom: 16px;
}

.wpcf7-response-output {
  margin: 12 0px !important;
  border-radius: 99px !important;
  padding: 8px 24px !important;
}

nav.mobile {
  background-color: var(--color-primary);
  height: 64px;
}

.menu-item {
  font-size: 20px;
}

@media (max-width: 1024px) {
  .custom-submit-btn {
    margin-top: 24px;
    width: 100%;
    justify-content: center;
  }
  .modal-content h2 {
    font-size: 24px;
    opacity: 0.7;
    color: var(--primary-color);
    margin-bottom: 16px;
  }
  
  .modal-content p {
    margin-bottom: 16px;
    font-size: 16px;
  }

  .hero {
    height: 50vh;
    max-height: 50vh;
  }
}