/**
 * @file
 * The footer components.
 *
 * It includes styles for the footer itself and its
 * components.
 */

/**
 * Global footer rules
 */

.main__footer {
  margin-top: auto;

}


/**
 * Main Footer
 */


.footer {
  background-color: var(--color-primary--1);
  color: white;
  padding: 4rem 0rem 2rem 0rem;
  border-top-right-radius: 100px;
  font-family: sans-serif;
}

.footer__top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.footer__logo img {
  max-width: 200px;
  height: auto;
}

.footer__cta {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer__cta p {
  font-size: 1.875rem;
  font-weight: 700;
  margin: 0;
  line-height: 130%;
  font-family: var(--font-europa);
}

.footer__btn a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background: white;
  color: var(--color-primary--1);
  padding: 1.2rem 5rem 1.2rem 2rem;
  border-radius: 0 100px 0 0;
  text-decoration: none;
  font-family: var(--font-inter);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 1.125rem;
  margin-top: 1rem;
  transition: background 0.3s, color 0.3s;
  position: relative;
}

.footer__btn a::after {
  content: "";
  display: block;
  position: absolute;
  top: 54%;
  right: 2.4rem;
  transform: translateY(-50%);
  width: 27px;
  height: 27px;
  background-image: url(../../images/footer/arrow-red.svg);
  background-size: contain;
  background-repeat: no-repeat;
}

.footer__btn a:hover {
  background: #f2f2f2;
}



.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.footer__col h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__col ul li {
  margin-bottom: 0.3rem;
}

.footer__col ul li a {
  color: white;
  text-decoration: none;
  font-size: 0.95rem;
}

.footer__col ul li a:hover {
  text-decoration: underline;
}

.footer__col--3 p {
  font-size: 0.95rem;
  margin: 0.3rem 0;
}

.footer__nav,
.footer__contact-details {
  font-family: var(--font-inter);
}


.footer__nav p:first-child,
.footer__contact-details p:first-child {
  font-weight: 700;
  font-family: var(--font-europa);
}


@media (min-width: 1000px) {

.footer {
  border-top-right-radius: 800px;
}
}


@media (min-width: 768px) {
  .footer {
    padding: 3rem 4rem;
  }

  .footer__logo img {
    max-width: 300px;
  }

  .footer__top {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    gap: 2rem;
  }

  .footer__col {
    flex: 1;
  }

  .footer__col--1 {
    order: 1;
  }

  .footer__col--2 {
    order: 2;
  }

  .footer__col--3 {
    order: 3;
  }
}

@media (min-width: 1000px) {
  .footer__logo img {
    max-width: 500px;
  }
}


/**
 * Menu Footer
 */

 .menu--footer .menu--level-0 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  background-color: var(--color-primary--3);
  margin: 0;
  padding: 1rem 0;
 }

 .menu--footer .menu--level-0 a {
  color: var(--color-neutral--4);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.menu--footer .menu--level-0 a.is-active {
  color: var(--color-white);
}


