/* Base footer styles */
footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 50px 20px 20px 20px;
  font-family: "Poppins", sans-serif;
  transition: background 0.4s ease, color 0.4s ease;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
}

.footer-container h3, .footer-container h4 {
  color: var(--footer-heading);
  margin-bottom: 15px;
}

.footer-container p, .footer-container ul li, .footer-container a {
  color: var(--footer-text);
  text-decoration: none;
  font-size: 14px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a:hover {
  color: var(--nav-hover);
}

.footer-social .social-icons a {
  display: inline-block;
  margin-right: 10px;
  transition: transform 0.3s ease;
}

.footer-social .social-icons a img {
  width: 24px;
  height: 24px;
}

.footer-social .social-icons a:hover {
  transform: scale(1.2);
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid var(--footer-border);
  padding-top: 10px;
  font-size: 13px;
  color: var(--footer-text-light);
}

/* Responsive */
@media (max-width: 900px) {
  .footer-container {
    flex-direction: column;
    gap: 25px;
    text-align: center;
  }
}

/* ===============================
   Dark Mode Variables
=============================== */
:root {
  --footer-bg: #0d1b2a;
  --footer-text: #fff;
  --footer-heading: #ffd60a;
  --footer-border: #415a77;
  --footer-text-light: #ccc;
}

body.dark-mode {
  --footer-bg: #1b263b;
  --footer-text: #eee;
  --footer-heading: #00b4d8;
  --footer-border: #415a77;
  --footer-text-light: #bbb;
}
