.footer-container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 2rem;
  padding: 3rem 2rem;
  width: 100%;
  background: linear-gradient(135deg, var(--bg-color) 0%, #1a1a1a 100%);
  color: var(--text-color);
  border-top: 2px solid var(--brand-500);
  box-shadow: 0 -5px 15px rgba(0,0,0,0.3);
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-info {
  width: 16rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.footer-title svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--white);
  padding: 0.5rem;
  background-color: var(--brand-500);
  border-radius: 50%;
}

.footer-title span {
  margin-left: 0.5rem;
}

.footer-tagline {
  color: var(--white);
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.footer-section-wrapper {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 2rem;
  text-align: left;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.footer-category {
  text-align: left;
  color: white;
  margin-bottom: 20px;
  font-size: 1rem;
}

  .footer-list {
    text-align: left;
  }

.footer-list.no-bullets li {
  list-style: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

.footer-link {
  color: var(--white);
  text-decoration: none;
  font-size: 0.75rem;
  margin-left: 0;
  text-align: left;
  padding-bottom: 10px;
}

.footer-link:hover {
  color: var(--brand-500);
}

.footer-bottom {
  background-color: var(--gray-100);
}

.footer-bottom-container {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  row-gap: 1rem;
  padding: 1.25rem 2rem;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
}

.footer-copyright {
  color: var(--gray-500);
  font-size: 0.875rem;
  line-height: 1.25rem;
  text-align: center;
}

.footer-social {
  display: flex;
  justify-content: center;
  column-gap: 1rem;
}

.footer-social-icon {
  color: var(--gray-500);
}

.footer-social-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Small breakpoint */
@media (min-width: 640px) {
  .footer-container {
    flex-direction: row;
  }

  .footer-info {
    margin-left: 0;
    margin-right: 0;
    text-align: left;
  }

  .footer-title {
    justify-content: flex-start;
  }

  .footer-section-wrapper {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .footer-bottom-container {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Mobile-first adjustments for very small screens */
@media (max-width: 639px) {
  .footer-container {
    padding: 1rem;
    gap: 1rem;
  }

  .footer-info {
    width: 100%;
    margin-bottom: 1rem;
    text-align: center;
  }

  .footer-section-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-section {
    text-align: center;
    padding: 0.5rem 0;
  }

  .footer-category {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    text-align: center;
  }

  .footer-link {
    font-size: 0.8rem;
    padding-bottom: 6px;
    text-align: center;
  }

  .footer-list {
    text-align: center;
  }

  .footer-bottom-container {
    flex-direction: column;
    row-gap: 0.5rem;
    padding: 1rem;
  }

  .footer-copyright {
    font-size: 0.8rem;
  }

  .footer-social {
    justify-content: center;
  }
}

/* Center the top info section on mobile */
@media (max-width: 1023px) {
  .footer-info {
    text-align: center;
  }

  .footer-info .logo {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-tagline {
    margin-left: auto;
    margin-right: auto;
  }
}

