.footer {
  padding: 1.5rem 1rem;
  font-size: 1rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  justify-content: center;
  color: inherit;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.footer-logo img {
  max-height: 70px;
  object-fit: contain;
}

.footer-contact-social {
  flex-grow: 1;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: nowrap; /* <-- prevent wrapping */
  flex-shrink: 1;
}

.footer-phone {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  gap: 0.5rem;
  font-weight: 400;
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
  margin-bottom: 0;
  outline: none;
}

.footer-phone:hover,
.footer-phone:focus,
.footer-phone:active {
  color: #0d6efd; /* Optional: keep highlight color */
  text-decoration: none; /* 👈 remove underline */
  outline: none;
  box-shadow: none;
}


.social-icons {
  display: flex;
  gap: 1.5rem;
}

.social-icons a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.2); /* dark black with 60% opacity */
  color: white; /* white icon color */
  text-decoration: none;
  font-size: 1.5rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-icons a i {
  color: white; /* force icons to be white */
}

.social-icons a:hover,
.social-icons a:focus {
  background-color: rgba(255, 255, 255, 0.2); /* lighter semi-transparent white on hover */
  transform: scale(1.1);
  outline: none;
}

.social-icons a:focus-visible {
  outline: 2px solid #6b7280;
  outline-offset: 3px;
}


.footer-copyright {
  margin-left: auto;
  white-space: nowrap;
  font-size: 0.85rem;
  font-weight: 400;
  color: inherit;
}

@media (max-width: 768px) {
  .footer {
    padding: 1rem; /* tighter on mobile */
  }
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .footer-contact-social {
    flex-grow: 0;
    width: 100%;
    justify-content: flex-start;
    gap: 0.8rem;
  }

  .footer-logo {
    margin-bottom: 1rem;
  }

  .footer-phone {
    font-size: 1.1rem;
  }

  .social-icons {
      gap: 0.2rem;
    }

    .social-icons a {
      width: 34px;
      height: 34px;
      font-size: 1.3rem;
    }
    .footer-copyright {
      margin-left: 0;
      margin-top: 0.5rem;
      font-size: 0.75rem;
      text-align: center;      /* 👈 center the text */
      width: 100%;             /* 👈 make it span full width */
    }
}
