/* =========================
   Footer Styles
==========================*/

.site-footer {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #e2e8f0;
  margin-top: 80px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding: 60px 0 40px;
}

.footer-section h4.footer-heading {
  color: #f8fafc;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
}

.footer-heading::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border-radius: 1px;
}

/* Logo Section */
.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo-img {
  width: 40px;
  height: 40px;
  margin-right: 12px;
}

.footer-brand {
  color: #f8fafc;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
}

.footer-description {
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 25px;
  font-size: 0.95rem;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 8px;
  color: #3b82f6;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  background: #3b82f6;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

/* Footer Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  position: relative;
}

.footer-links a:hover {
  color: #3b82f6;
  padding-left: 8px;
}

.footer-links a::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 2px;
  background: #3b82f6;
  transition: width 0.3s ease;
}

.footer-links a:hover::before {
  width: 4px;
}

/* Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contact-icon {
  width: 20px;
  height: 20px;
  color: #3b82f6;
  margin-top: 2px;
  flex-shrink: 0;
}

.contact-item div p {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.9rem;
  line-height: 1.4;
}

.contact-item div p:first-child {
  color: #f8fafc;
  font-weight: 500;
}

/* Bottom Footer */
.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  padding: 25px 0;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom-left p {
  margin: 0;
  color: #94a3b8;
  font-size: 0.875rem;
}

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-bottom-right a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.footer-bottom-right a:hover {
  color: #3b82f6;
}

.separator {
  color: #64748b;
  font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 0 30px;
  }

  .footer-container {
    padding: 0 15px;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .footer-bottom-right {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .social-links {
    justify-content: center;
  }

  .footer-logo {
    justify-content: center;
    text-align: center;
  }

  .footer-description {
    text-align: center;
  }
}
