/* =============================================
   Footer
============================================= */

.footer {
  color: #dbdddf;
  padding: 2rem 0 0;
  position: relative;
  overflow: hidden;
}

.footer-background-image {
  position: absolute;
  right: 0px;
  bottom: 80px;
  width: auto;
  height: 70%;
  z-index: 5;
  opacity: 0.9;
  pointer-events: none;
  mask-image: linear-gradient(to right, black 60%, transparent 100%);
}

.footer-background-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.1"%3E%3Ccircle cx="30" cy="30" r="2"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
}

.footer .container {
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  gap: 1rem;
  padding-bottom: 1rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1.2fr;
    gap: 4rem;
  }
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-map-container {
  border-radius: 0.75rem; /* 12px */
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.footer-map {
  border: 2px solid #36a0b8;
  border-radius: 8px;
  filter: grayscale(0.8) sepia(0.2) hue-rotate(180deg) saturate(1.2)
    contrast(1.1);
  transition: all 0.3s ease-in-out;
}

.footer-map:hover {
  filter: grayscale(0.6) sepia(0.4) hue-rotate(180deg) saturate(1.4)
    contrast(1.2);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.social-link {
  width: 2.25rem; /* 36px */
  height: 2.25rem; /* 36px */
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  transform: scale(1.1);
}

.social-link:hover.facebook {
  background-color: #36a0b8;
}
.social-link:hover.instagram {
  background-color: #c4283f;
}
.social-link:hover.linkedin {
  background-color: #2d5f7a;
}

.footer-heading {
  font-size: 1.25rem; /* 18px */
  font-weight: 700;
  color: #36a0b8;
  margin-bottom: 2rem;
}

.footer-links {
  list-style: none;
  padding-left: 1rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-links a {
  color: #dbdddf;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #36a0b8;
}

/* Contact Info Styles */
.footer-contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-icon-wrapper {
  width: 2.5rem; /* 40px */
  height: 2.5rem; /* 40px */
  border-radius: 0.5rem; /* 8px */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
}

.contact-icon-wrapper.phone {
  background-image: linear-gradient(to br, #36a0b8, #2d5f7a);
}
.contact-icon-wrapper.email {
  background-image: linear-gradient(to br, #c4283f, #9d2d43);
}
.contact-icon-wrapper.hours {
  background-image: linear-gradient(to br, #673c53, #84364c);
}

.contact-text .contact-value {
  font-weight: 600;
  color: #ffffff;
  font-size: 0.9rem;
  margin: 0 0 0.1rem 0;
  padding-bottom: 0.3rem;
}

.contact-text .contact-note {
  font-size: 0.75em; /* 12px */
  color: #c4283f;
  margin-top: -0.2rem;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1.5rem 0;
}

.footer-bottom-links {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-bottom-links {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-copyright {
  font-size: 0.8rem;
  color: #dbdddf;
  margin: 0;
}

.footer-bottom-links .bottom-link {
  color: #dbdddf;
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.2s ease;
  margin-left: 1rem;
}

.footer-bottom-links .bottom-link:hover {
  color: #36a0b8;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 3.5rem;
  right: 1.5rem;
  z-index: 50;
  width: 3rem; /* 48px */
  height: 3rem; /* 48px */
  background-color: #c4283f;
  color: white;
  border-radius: 9999px;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.back-to-top:hover {
  background-color: #36a0b8;
  transform: scale(1.1);
}

.back-to-top i {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.back-to-top:hover i {
  transform: translateY(-2px);
}
