/* FOOTER */
.footer {
  background: #fff8dc; /* light cream */
  padding: 40px 20px 20px;
  color: #2d2d2d;
  transition: background 0.4s, color 0.4s;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.footer-col h4 {
  color: #fc8019;
  margin-bottom: 15px;
  font-weight: bold;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color: #fc8019;
}

.footer-logo {
  max-width: 140px;
  margin-bottom: 10px;
}

.footer p {
  margin: 8px 0;
}

.social-icons a {
  font-size: 1.2rem;
  margin-right: 12px;
  color: #2d2d2d;
  transition: 0.3s;
}

.social-icons a:hover {
  color: #fc8019;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #ddd;
  font-size: 0.9rem;
}

/* Dark Theme Footer */
body.dark .footer {
  background: #1e1e1e;
  color: #fff8dc;
}

body.dark .footer-col h4 {
  color: #fc8019;
}

body.dark .social-icons a {
  color: #fff8dc;
}

body.dark .social-icons a:hover {
  color: #fc8019;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .social-icons {
    justify-content: center;
  }
}
.nav-links li {
  position: relative;
}

.nav-links li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff8dc;
  padding: 10px 0;
  list-style: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  min-width: 180px;
  z-index: 100;
}

.nav-links li.open ul {
  display: block;
}

.nav-links li ul li {
  padding: 10px 15px;
}

.nav-links li ul li a {
  color: #2d2d2d;
  text-decoration: none;
}

.nav-links li ul li a:hover {
  color: #fc8019;
}

/* Dark theme dropdown */
body.dark .nav-links li ul {
  background: #2d2d2d;
}

body.dark .nav-links li ul li a {
  color: #fff8dc;
}
