/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11.5px 28px;
  font-size: 16px;
  line-height: 22px;
  font-weight: 400;
  font-family: var(--font_btn);
  gap: 10px;
  border-radius: var(--radius-md);
  border: 1px solid var(--accent_light_green);
  background-color: var(--accent_light_green);
  color: var(--white);
  cursor: pointer;
  transition: var(--transition);
}

.btn:hover {
  background-color: transparent;
  border-color: var(--white);
  color: var(--white);
}

/* outline Button */
.btn-outline {
  background-color: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background-color: transparent;
  border-color: var(--accent_light_green);
  color: var(--accent_light_green);
}


/*--- website header ---*/

header.header {
  background: var(--bg_header);
  padding: 12px 0;
  position: relative;
}

.header-logo {
  max-width: 269px;
}

.header-cta {
  margin-left: 80px;
}

.header-cta .btn {
  border-radius: 30px;
  min-width: 148px;
}

.header-cta .btn:hover {
  border-color: var(--accent_dark_green);
  color: var(--accent_dark_green);
}

.header-menu li a {
  font-weight: 600;
  padding: 5px 10px;
  position: relative;
}

.header-menu li a::before {
  content: '';
  display: block;
  position: absolute;
  width: calc(100% - 16px);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: transparent;
  height: 2px;
  transition: var(--transition);
}

.header-menu li a:hover::before,
.header-menu li a.active::before {
  background-color: var(--accent_light_green);
}

/*-- toggle --*/
.header-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 1001;
}

.header-toggle span {
  position: absolute;
  left: 50%;
  width: 24px;
  height: 2px;
  background: var(--accent_dark_green);
  border-radius: 50px;
  transition: var(--transition);
  transform: translateX(-50%);
}

.header-toggle span:nth-child(1) {
  top: 16px;
}

.header-toggle span:nth-child(2) {
  top: 23px;
}

.header-toggle span:nth-child(3) {
  top: 30px;
}

.header-toggle.active span:nth-child(1) {
  top: 23px;
  transform: translateX(-50%) rotate(45deg);
}

.header-toggle.active span:nth-child(2) {
  opacity: 0;
}

.header-toggle.active span:nth-child(3) {
  top: 23px;
  transform: translateX(-50%) rotate(-45deg);
}

/*---- website footer ---*/
footer.footer {
  background-color: var(--accent_dark_green);
  padding: 24px 0;
  color: var(--off_white);
}

.footer-info {
  max-width: 288px;
  flex: 0 0 100%;
  margin-right: 30px;
}

.footer-top>*:not(:nth-child(1)) {
  max-width: calc((100% - 288px) / 3 - 0px);
  flex: 0 0 100%;
}

.footer-info .footer-logo img {
  max-width: 203px;
  margin-bottom: 4px;
}

.footer-info p {
  font-size: 14px;
  line-height: 20px;
  opacity: 0.96;
}

ul.social-links li {
  line-height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-top {
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom {
  padding-top: 16px;
  font-size: 14px;
  line-height: 20px;
  opacity: 0.83;
}

.footer-bottom p {
  margin-bottom: 0;
}

.footer-links h3,
.footer-contact h3 {
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  color: var(--off_white);
  font-family: var(--font_primary);
  margin-bottom: 10px;
}

.footer-links,
.footer-contact {
  margin-top: 24px;
}

.footer-links {
  padding: 0 36px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-contact {
  padding-left: 50px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  margin-left: -50px;
}

.footer-contact li {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 10px;
}

.footer-contact li:last-child {
  margin-bottom: 0;
}

.footer-contact li img {
  max-width: 18px;
  flex: 0 0 100%;
  margin-top: 2px;
}

.footer-links li a {
  font-size: 14px;
  line-height: 24px;
}

.footer-links li a:hover {
  color: var(--accent_light_green);
}

.footer-links:nth-child(2) {
  padding-right: 0;
  max-width: 300px;
}

.footer-links:nth-child(3) {
  padding-left: 70px;
  margin-left: -70px;
}

ul.footer-policy li {
  position: relative;
}

ul.footer-policy li a:hover {
  color: var(--accent_light_green);
}

ul.footer-policy li:last-child::before {
  content: '';
  display: block;
  position: absolute;
  width: 1px;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.2);
  top: 0;
  left: -8px;
}


/*--- responsive ----*/

@media(max-width: 1360px) {

  /*--- footer ---*/
  .footer-links:nth-child(3) {
    margin-left: -120px;
    padding-left: 30px;
    padding-right: 0;
  }

  .footer-contact {
    margin-left: 0px;
    padding-left: 30px;
  }

  .footer-links:nth-child(2) {
    max-width: 260px;
    padding-left: 30px;
  }

  .footer-info {
    max-width: 260px;
    margin-right: 0;
  }

  .footer-top>*:not(:nth-child(1)) {
    max-width: calc((100% - 260px) / 3 - 0px);
  }
}

@media(max-width: 1199px) {
  .header-cta {
    margin-left: 40px;
  }

  /*--- footer ----*/
  .footer-top>*:not(:nth-child(1)) {
    max-width: calc(100% / 3 - 50px);
  }

  .footer-links:nth-child(3) {
    margin-left: 0;
  }

  .footer-info {
    max-width: 350px;
  }

  .footer-top {
    gap: 30px;
  }

  .footer-contact {
    max-width: 100%;
  }

}

@media(max-width: 991px) {
  .header-logo {
    max-width: 160px;
  }

  .header-menu li a {
    padding: 5px;
  }

  .header-cta {
    margin-left: 20px;
  }

  /*--- footer ---*/
  .footer-top>* {
    max-width: calc(100% / 2 - 20px);
  }

  .footer-top>*:not(:nth-child(1)) {
    max-width: calc(100% / 2 - 20px);
  }
}

@media(max-width: 767px) {

  /*--- header toggle --*/
  .header-toggle {
    display: block;
  }

  .header-nav {
    position: absolute;
    width: 100%;
    left: 0;
    top: 100%;
    background-color: var(--white);
    padding: 10px 20px 40px;
    background-color: var(--bg_header);
    z-index: 9;
  }

  .header-cta {
    margin-left: 0;
    margin-top: 20px;
  }

  .header-menu li a::before {
    display: none;
  }

  .header-menu li a {
    padding: 0;
  }

  .header-menu li a.active {
    color: var(--accent_light_green);
  }

  /*--- footer ---*/
  .footer-top>* {
    max-width: 100%;
  }

  .footer-top>*:not(:nth-child(1)) {
    max-width: 100%;
  }

  .footer-links,
  .footer-contact {
    margin-top: 0;
  }

  .footer-bottom {
    justify-content: center;
  }

  .footer-bottom p {
    text-align: center;
  }
}