/* TeamLMI Footer Styles */
.footer {
  background-color: var(--footer-bg, #f8f9fa);
  border-top: var(--footer-border, 1px solid #dee2e6);
  padding: 3rem 0 1rem;
  margin-top: auto;
}

.footer__section {
  margin-bottom: 2rem;
}

.footer__title {
  color: var(--color-primary, #0066cc);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer__text {
  color: var(--footer-text, #666666);
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Footer Links */
.footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__links li {
  margin-bottom: 0.5rem;
}

.footer__link {
  color: var(--footer-text, #666666);
  display: block;
  padding: 0.25rem 0;
  transition: color 0.2s ease;
  font-size: 0.95rem;
}

.footer__link:hover {
  color: var(--color-primary, #0066cc);
  text-decoration: none;
}

/* Address */
.footer__address {
  color: var(--footer-text, #666666);
  font-style: normal;
  line-height: 1.8;
}

.footer__address strong {
  color: var(--color-text-primary, #333333);
}

/* Social Links */
.footer__social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--color-primary);
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.footer__social-link:hover {
  background-color: var(--color-primary-dark);
}

.footer__social-link img {
  filter: brightness(0) invert(1);
}

/* Certifications Section */
.footer__certifications {
  padding: 2rem 0;
  border-top: 1px solid #dee2e6;
  margin-top: 2rem;
  text-align: center;
}

.footer__certifications .footer__title {
  margin-bottom: 1.5rem;
}

.certifications {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.certifications__logo {
  height: 60px;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.2s ease;
  filter: grayscale(100%);
}

.certifications__logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* Bottom Bar */
.footer__bottom {
  background-color: rgba(0,0,0,0.02);
  border-top: 1px solid #dee2e6;
  margin-top: 2rem;
  padding: 1.5rem 0;
}

.footer__bottom-inner {
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__copyright {
  color: var(--footer-text, #666666);
  margin: 0;
  font-size: 0.9rem;
}

.footer__legal {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.footer__legal-link {
  color: var(--footer-text, #666666);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer__legal-link:hover {
  color: var(--color-primary, #0066cc);
  text-decoration: none;
}

.footer__separator {
  color: #ced4da;
  font-size: 0.8rem;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer {
    padding: 2rem 0 1rem;
  }

  .grid--4 {
    grid-template-columns: 1fr;
  }

  .footer__section {
    text-align: center;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
  }

  .footer__section:last-child {
    border-bottom: none;
  }

  .footer__links {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer__address {
    text-align: center;
  }

  .footer__social {
    justify-content: center;
  }

  .certifications {
    flex-direction: column;
    gap: 1rem;
  }

  .certifications__logo {
    height: 50px;
  }

  .footer__bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .footer__legal {
    justify-content: center;
  }

  /* Hide separators on mobile and stack links */
  .footer__separator {
    display: none;
  }

  .footer__legal-link {
    display: block;
    padding: 0.25rem 0;
  }

  .footer__map iframe {
    height: 120px;
  }
}

/* Small phones */
@media (max-width: 375px) {
  .footer {
    padding: 1.5rem 0 0.75rem;
  }

  .footer__title {
    font-size: 1rem;
  }

  .footer__text,
  .footer__link {
    font-size: 0.9rem;
  }

  .footer__copyright {
    font-size: 0.8rem;
  }

  .footer__legal-link {
    font-size: 0.8rem;
  }
}