/**
FOOTER COMPONENT STYLING
**/

/* Footer Section */
.footer {
  background-color: var(--bright-blue);
  padding: 2rem 0 1rem;
  position: relative;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  margin-top: 1rem;
  margin-bottom: 1rem;
  gap: 2rem;
  align-items: start;
  justify-content: start;
  animation: fadeIn 1.8s ease-out;
}

.footer-col-left {
  gap: 0.5rem;
}

.footer-bottom p {
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  color: var(--text-color-light);
}

.footer-logo {
  width: fit-content;
  transition: all var(--transition-fast);
  padding: 0;
  margin: 0;
}

.footer-logo h2 {
  font-size: 2rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 1px;
  font-family: "Lexend Deca", sans-serif;
  color: var(--bright-green);
}

.footer-logo:hover {
  transform: scale(1.15);
}

.footer-col-middle, .footer-col-right {
  display: flex;
  flex-direction: column;
  font-family: 'BinomTrial-Bold', sans-serif;
  color: var(--text-color-light);
  gap: 0.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  color: var(--text-color-light);
}

.footer-nav-links {
    display: flex;
    flex-direction: column;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.4rem;
}

.footer-nav-links li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-nav-item {
    margin-left: var(--spacing-sm);
    position: relative;
}

.footer-link {
    font-weight: 500;
    font-family: "Inter", sans-serif;
    position: relative;
    text-decoration: none;
    color: var(--bg-color);
}

.footer-link:hover {
    color: var(--bright-green)
}

.footer-link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--bright-green);
    transition: width var(--transition-normal);
}

.social-links-footer {
  display: flex;
}

.social-links-footer i {
  color: var(--dark-green);
}

.social-links-footer a {
    background-color: var(--bright-green);
    border: none;
}

.social-links-footer {
    display: flex;
    gap: 1rem;
    padding: 0;
    margin: 0;
}

.social-link-footer {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.social-links-footer a:hover {
  background-color: var(--text-color-light);
}

.social-link-footer:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(31, 73, 81, 0.40);
}

/* Scroll to Top Button */
#scrollToTop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 45px;
  height: 45px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  border: none;
  box-shadow: 0 5px 15px var(--shadow-color);
  z-index: 999;
}

#scrollToTop.visible {
  opacity: 1;
  visibility: visible;
}

#scrollToTop:hover {
  background-color: var(--secondary-color);
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(var(--primary-color-rgb), 0.4);
}

.privacy-notice {
  margin-top: 1rem;
  text-align: center;
  color: var(--text-color);
  font-size: 0.85rem;
}
.privacy-notice a {
  color: var(--primary-color);
  text-decoration: underline;
  margin-left: 0.25em;
}

@media only screen and (max-width: 768px) {
    .footer-content {
      display: flex;
      flex-direction: column;
    }

    .footer-content h2 {
      font-size: 1.5rem;
    }

    .footer-logo h2 {
      font-size: 2rem !important;
    }

    .footer-bottom p {
      font-size: 0.7rem;
    }

    .footer-link {
      font-size: 0.9rem;
    }

}