footer {
  background-color: #222; /* same as header */
  color: white;
  padding: 40px 20px;
  text-align: center;
  font-family: Arial, sans-serif;
}

/* Footer nav items with green top line */
.footer-nav-item {
  border-top: 4px solid #28a745;
  padding: 15px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 250px;
}

.footer-nav-item h2 {
  font-size: 1.5rem;
  margin: 0;
  color: white;
}

.footer-nav-item p {
  font-size: 0.95rem;
  color: #ccc;
  margin: 0;
}

.footer-nav-item a {
  text-decoration: none;
  color: #28a745;
  font-weight: bold;
  font-size: 1rem;
  transition: color 0.3s;
}

.footer-nav-item a:hover {
  color: #1e7e34; /* darker green on hover */
}

/* Copyright */
footer p {
  font-size: 0.9rem;
  margin-top: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-nav ul {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
  .footer-nav-item {
    max-width: 100%;
    text-align: center;
  }
}

.footer-badges{
    margin-top: 10vh; 
    display: flex;
    justify-content: space-around;  
    align-items: center;           
    gap: 20px;                   
    flex-wrap: wrap;            
    margin-left: 6vh;
    
}

.footer-badges p{
    font-size: 1rem;
    font-weight: bold;
}

/* Logo */
.footer-logo {
  display: flex;
  justify-content: center;
  margin: 40px 0 20px 0; /* top 40px, bottom 20px */
}

.footer-logo a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
}
/* Navigation */

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: space-evenly; /* ✅ spread items evenly across the width */
  align-items: flex-start;
  flex-wrap: wrap; /* ✅ wrap neatly on small screens */
  width: 100%;
}

.footer-nav li {
  flex: 1; /* ✅ each list item gets equal space */
  max-width: 300px; /* ✅ prevents items from stretching too wide */
  display: flex;
  justify-content: center;
}

.footer-nav li a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  transition: color 0.3s;
}

.footer-nav li a:hover {
  color: #28a745; /* green accent on hover */
}

