/* Footer */
footer {
  background-color: var(--primary);
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.footer-col {
  min-width: 0; /* Fixes overflow issues */
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent);
}

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

.footer-col ul li {
  margin-bottom: 12px;
  line-height: 1.5;
}

.footer-col ul li a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s;
  font-size: 0.9rem;
}

.footer-col ul li a:hover {
  color: var(--accent);
}

/* Footer Logo Styles */
.footer-col .logo {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

.footer-col .logo img {
  height: 60px; /* Reduced from 40px */
  width: auto;
  margin-bottom: 10px;
}

.footer-col .logo span {
  color: var(--white);
  font-weight: 600;
  font-size: 1.1rem;
}

.footer-col p {
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Contact Icons */
.footer-col ul li i {
  color: var(--accent);
  width: 20px;
  margin-right: 8px;
  text-align: center;
}

/* Footer Bottom */
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: var(--text-light);
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.legal-links {
  display: flex;
  gap: 15px;
}

.legal-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s;
}

.legal-links a:hover {
  color: var(--accent);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  footer {
    padding: 50px 0 25px;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 30px 20px;
  }

  .footer-col .logo img {
    height: 30px;
  }
}

@media (max-width: 480px) {
  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .legal-links {
    margin-top: 10px;
    justify-content: center;
  }
}
