.hospital-footer {
  background-color: #f8f9fa;
  color: #6c757d;
  border-top: 1px solid #e5e5e5;
  padding: 2rem 0;
  width: 100%;
  margin-top: auto;
}

[data-theme="dark"] .hospital-footer {
  background-color: var(--navbar-bg);
  color: var(--text-color);
  border-top: 1px solid var(--border-color);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 992px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.footer-column h3,
.footer-column h4 {
  margin-bottom: 0.75rem;
  color: #343a40;
}

[data-theme="dark"] .footer-column h3,
[data-theme="dark"] .footer-column h4 {
  color: var(--text-color);
}

.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #6c757d;
  text-decoration: none;
}

.footer-links a:hover {
  color: #343a40;
}

[data-theme="dark"] .footer-links a {
  color: #b0b0b0;
}

[data-theme="dark"] .footer-links a:hover {
  color: var(--text-color);
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #343a40;
  text-decoration: none;
}

.phone-link:hover {
  color: #0d6efd;
}

[data-theme="dark"] .hospital-footer .phone-link {
  color: #fff;
}

[data-theme="dark"] .hospital-footer .phone-link:hover {
  color: #fff;
}

[data-theme="dark"] .hospital-footer .phone-link i {
  color: #fff;
}

.social-media {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-media a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #e9ecef;
  color: #343a40;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.social-media a:hover {
  background-color: #0d6efd;
  color: #fff;
}

[data-theme="dark"] .social-media a {
  background-color: var(--light-color);
  color: var(--text-color);
}

.footer-bottom {
  border-top: 1px solid #e5e5e5;
  margin-top: 1.5rem;
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (max-width: 576px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}