/* footer.css */
footer {
  background-color: #1a1a1a !important; /* Enforce footer background */
  color: #f8f9fa !important; /* Ensure footer text color */
  padding: 2rem;
  text-align: center;
  clear: both; /* Ensure the footer appears below any floated content */
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 equal columns */
  gap: 20px; /* Gap between elements */
}

.footer-section {
  margin: 0;
  flex: 1;
  min-width: 200px;
}

.footer-section h4 {
  margin-bottom: 0.5rem;
  color: #00d1b2;
}

.footer-section ul {
  list-style-type: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #f8f9fa;
  text-decoration: none;
}

.footer-section ul li a:hover {
  text-decoration: underline;
}

/* Contact section in the footer */
footer h4 {
  color: #00d1b2;
  margin-top: 2rem;
}

footer h5 {
  margin-top: 0.5rem;
  color: #f8f9fa;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.social-link {
  background-color: #00d1b2;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  text-decoration: none;
}

.social-link:hover {
  background-color: #00a89b;
}

/* Footer Bottom */
.footer-bottom {
  margin-top: 2rem;
  font-size: 0.875rem;
  text-align: center;
}

.footer-bottom p {
  margin: 0.5rem 0;
  text-align: center;
  max-width: none; /* Remove width limit for footer paragraphs */
  text-align: center; /* Keep the text centered */
}

.footer-bottom a {
  color: #00d1b2;
  text-decoration: none;
  text-align: center;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* Responsive Design for Small Screens */
@media (max-width: 768px) {
  .footer-container {
    display: flex;
    flex-direction: column; /* Stack sections vertically */
    gap: 20px; /* Maintain gap between sections */
    text-align: center; /* Center-align text */
  }

  .footer-section {
    margin-bottom: 20px; /* Add spacing between sections */
  }

  .footer-section ul {
    padding: 0;
  }
}
