@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');

:root {
  --primary-color: #386641;
  --secondary-color: #ffdb7e;
  --body-bg-color: #fafafa;
  --font-family: "Manrope", sans-serif;
}

a {
  text-decoration: underline;
}

body {
  font-family: "Manrope", sans-serif;
  background-color: var(--body-bg-color);
  overflow-x: hidden;
  line-height: 150%;
}

.raleway {
  font-family: var(--font-family);
}

.toggled {
  background-color: var(--body-bg-color) !important;
  display: none !important;
}

nav {
  background-color: var(--primary-color);
  height: 65px;
}

#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: 2px;
  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(-3px, -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;
}

.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(--secondary-color);
  border-radius: 2px;
  position: absolute;
  top: 3px;
  left: 3px;
}
.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: var(--secondary-color);
  color: #fff;
  font-weight: 600;
  font-size: 20px;
  border-radius: 999px;
  padding: 8px 16px;
  border: none;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: background 0.2s;
  position: relative;
}
.custom-submit-btn:hover {
  background: var(--primary-color);
}

.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 {
  color: var(--primary-color);
  line-height: 160%;
}

.modal-content h1 {
  font-size: 40px;
  font-weight: 600;
  color: var(--primary-color);
  margin-top: 32px;
  margin-bottom: 24px;
  line-height: 140%;
}

.modal-content h2 {
  font-size: 32px;
  font-weight: 600;
  color: var(--primary-color);
  margin-top: 28px;
  margin-bottom: 20px;
  line-height: 140%;
}

.modal-content h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--primary-color);
  margin-top: 24px;
  margin-bottom: 16px;
  line-height: 140%;
}

.modal-content h4 {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary-color);
  margin-top: 20px;
  margin-bottom: 12px;
  line-height: 140%;
}

.modal-content h5 {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-color);
  margin-top: 16px;
  margin-bottom: 12px;
}

.modal-content h6 {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-color);
  margin-top: 12px;
  margin-bottom: 8px;
}

.modal-content p {
  margin-bottom: 16px;
  font-size: 16px;
}

.modal-content ul,
.modal-content ol {
  margin-left: 24px;
  margin-bottom: 16px;
  font-size: 16px;
}

.modal-content li {
  margin-bottom: 8px;
  line-height: 160%;
}

.modal-content ul li {
  list-style-type: disc;
  list-style-position: outside;
}

.modal-content ol li {
  list-style-type: decimal;
  list-style-position: outside;
}

.modal-content a {
  color: var(--secondary-color);
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.2s ease;
}

.modal-content a:hover {
  color: var(--primary-color);
}

.modal-content strong,
.modal-content b {
  font-weight: 700;
  color: var(--primary-color);
}

.modal-content em,
.modal-content i {
  font-style: italic;
  color: var(--primary-color);
}

.modal-content blockquote {
  margin-left: 24px;
  margin-bottom: 16px;
  padding-left: 16px;
  border-left: 4px solid var(--secondary-color);
  font-style: italic;
  color: var(--primary-color);
  opacity: 0.8;
}

.modal-content code,
.modal-content pre {
  background-color: rgba(255, 219, 126, 0.15);
  padding: 4px 8px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  color: var(--primary-color);
}

.modal-content pre {
  padding: 16px;
  margin-bottom: 16px;
  overflow-x: auto;
}

.modal-content img {
  max-width: 100%;
  height: auto;
  margin: 16px 0;
  border-radius: 8px;
  display: block;
}

.modal-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
  font-size: 16px;
}

.modal-content table th,
.modal-content table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid rgba(56, 102, 65, 0.2);
}

.modal-content table th {
  background-color: rgba(255, 219, 126, 0.2);
  font-weight: 600;
  color: var(--primary-color);
}

.modal-content hr {
  margin: 24px 0;
  border: none;
  border-top: 2px solid var(--secondary-color);
}


.wpcf7-response-output {
  margin: 12 0px !important;
  border-radius: 99px !important;
  padding: 8px 24px !important;
}

@media (max-width: 1024px) {
  .custom-submit-btn {
    margin-top: 24px;
    width: 100%;
    justify-content: center;
  }
  
  .modal-content h1 {
    font-size: 28px;
    margin-top: 24px;
    margin-bottom: 16px;
  }
  
  .modal-content h2 {
    font-size: 24px;
    margin-top: 20px;
    margin-bottom: 12px;
  }
  
  .modal-content h3 {
    font-size: 20px;
    margin-top: 16px;
    margin-bottom: 12px;
  }
  
  .modal-content h4 {
    font-size: 18px;
    margin-top: 12px;
    margin-bottom: 8px;
  }

  .modal-content p {
    margin-bottom: 12px;
    font-size: 16px;
  }

  .modal-content ul,
  .modal-content ol {
    margin-left: 20px;
    margin-bottom: 12px;
    font-size: 16px;
  }

  .modal-content li {
    margin-bottom: 6px;
  }

  .modal-content blockquote {
    margin-left: 16px;
    padding-left: 12px;
  }

  .modal-content table {
    font-size: 14px;
  }

  .modal-content table th,
  .modal-content table td {
    padding: 8px;
  }
}
/* Numbers Carousel - Swiper */

.numbers-carousel {
  overflow: visible;
}

.numbers-carousel .swiper-slide {
  transition: all 0.3s ease;
}

.numbers-carousel .swiper-slide > div {
  border-radius: 1rem;
  overflow: hidden;
}

html {
  overflow-x: hidden;
}

/* Cities Carousel - Swiper */
.cities-carousel {
  overflow: visible;
}

.cities-carousel .swiper-slide {
  transition: all 0.3s ease;
}

.cities-carousel .swiper-slide > div {
  border-radius: 1rem;
  overflow: hidden;
}

/* Projects Carousel - Pagination */
.carousel .swiper-pagination {
  display: flex !important;
  justify-content: center;
  margin-top: 24px;
  gap: 12px;
  position: relative;
  bottom: auto;
}

.carousel .swiper-pagination-bullet {
  width: 24px;
  height: 24px;
  border: 3px solid var(--primary-color);
  border-radius: 50%;
  background: transparent;
  opacity: 1;
  transition: all 0.3s ease;
}

.carousel .swiper-pagination-bullet-active {
  border: 3px solid var(--primary-color);
  background: var(--primary-color);
}

/* Projects Carousel - Slides Height */
.carousel .swiper-slide {
  height: auto;
  min-height: 400px;
}

.swiper-button-next, .swiper-button-prev {
  color: white;
}