/* Footer Styling */
footer {
    background-color: #1100aa;
    color: #fff;
    padding: 40px 20px 20px;
    font-size: 14px;
    margin-top: 40px;
  }
  
  .footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 20px;
  }
  
  .footer-section {
    flex: 1;
    min-width: 250px;
    margin: 10px;
  }
  
  .footer-section h3 {
    font-size: 18px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  .footer-section p {
    line-height: 1.6;
  }
  
  .footer-section ul {
    list-style: none;
    padding: 0;
  }
  
  .footer-section ul li {
    margin-bottom: 5px;
  }
  
  .footer-section ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .footer-section ul li a:hover {
    color: #f0a500;
  }
  
  /* Social Icons */
  .footer-section.social ul {
    display: flex;
    gap: 10px;
  }
  
  .footer-section.social ul li {
    margin: 0;
  }
  
  .footer-section.social ul li a {
    display: block;
    width: 45px;
    height: 45px;
    background-color: #444;
    border-radius: 50%;
    line-height: 35px;
    text-align: center;
    padding-top: 10px;
    color: #ffffff;
    transition: background-color 0.3s ease;
  }
  
  .footer-section.social ul li a:hover {
    background-color: #f0a500;
  }
  
/* Footer layout + link styles */
.footer-bottom {
  display: flex;
  justify-content: center;  /* Centers copyright */
  align-items: center;
  padding: 14px 20px;
  box-sizing: border-box;
  width: 100%;
  background: transparent;
  position: relative;       /* Needed for absolute positioning of right link */
}

.footer-bottom .copyright {
  margin: 0;
  font-size: 0.95rem;
  color: #a5a5a5;
  line-height: 1.3;
  text-align: center;
}

.footer-legal {
  position: absolute;       /* Keeps link at right end */
  right: 20px;
  text-decoration: none;
  color: #d0d0d0 !important;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(3,102,214,0.08);
  transition: background-color .18s ease, color .18s ease, transform .08s ease;
  background: transparent;
}

/* hover / focus */
.footer-legal:hover,
.footer-legal:focus {
  background: var(--accent, #0366d6);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  outline: none;
  box-shadow: 0 6px 18px rgba(3,102,214,0.14);
}

/* Responsive: stack on small screens */
@media (max-width: 599px) {
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12px;
    gap: 8px;
  }

  .footer-legal {
    position: static;  /* Remove absolute for stacked layout */
    width: 100%;
    max-width: 360px;
    box-sizing: border-box;
  }
}


  