/* Footer */
:root {
  --color-primary: #2563eb;
  --color-primary-light: #3b82f6;
  --color-primary-dark: #1d4ed8;
  --color-text: #4b5563;
  --color-heading: #1f2937;
  --color-light: #f3f4f6;
  --color-white: #ffffff;
  --color-dark: #0f172a;
  --color-gray-100: #f8fafc;
  --color-gray-200: #e2e8f0;
  --color-gray-300: #cbd5e1;
  --color-gray-400: #94a3b8;
  --color-gray-500: #64748b;
  --color-gray-600: #475569;
  --color-gray-700: #334155;
  --color-gray-800: #1e293b;
  --color-gray-900: #0f172a;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --rounded-sm: 0.125rem;
  --rounded: 0.25rem;
  --rounded-md: 0.375rem;
  --rounded-lg: 0.5rem;
  --rounded-xl: 0.75rem;
  --rounded-2xl: 1rem;
  --rounded-3xl: 1.5rem;
  --rounded-full: 9999px;
}

/* Footer */
.footer {
  background-color: var(--color-gray-900);
  color: var(--color-gray-300);
  padding: 5rem 0 0;
  position: relative;
  font-size: 0.9375rem;
  line-height: 1.7;
}

.footer .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}

/* Footer About */
.footer-about {
  padding-right: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 700;
  transition: opacity 0.2s ease;
}

.footer-logo:hover {
  opacity: 0.9;
}

.footer-logo img {
  margin-right: 0.75rem;
  height: 40px;
  width: auto;
  border-radius: 8px;
}

.footer-about p {
  margin-bottom: 1.75rem;
  opacity: 0.8;
  line-height: 1.7;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: white;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

/* Footer Links */
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.footer-links-group h4 {
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-links-group h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
}

.footer-links-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-group li {
  margin-bottom: 0.75rem;
}

.footer-links-group a {
  color: var(--color-gray-400);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  position: relative;
  padding: 0.25rem 0;
}

.footer-links-group a::before {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: var(--color-primary);
  transition: width 0.3s ease;
}

.footer-links-group a:hover {
  color: white;
  transform: translateX(4px);
}

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

/* Contact Info */
.contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  line-height: 1.6;
  flex-wrap: nowrap;
}

.contact-info i {
  margin-right: 1rem;
  color: var(--color-primary);
  margin-top: 0.25rem;
  min-width: 20px;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-info a {
  color: var(--color-gray-400);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: white;
  text-decoration: underline;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.5rem 0;
  font-size: 0.875rem;
  color: var(--color-gray-500);
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-legal a {
  color: var(--color-gray-400);
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}

.footer-legal a:hover {
  color: white;
}

.footer-legal a:not(:last-child)::after {
  content: '|';
  position: absolute;
  right: -0.75rem;
  color: var(--color-gray-600);
  pointer-events: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 3rem 2rem;
  }
  
  .footer-about {
    grid-column: 1 / -1;
    max-width: 600px;
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 4rem 0 0;
  }
  
  .footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  
  .footer-content {
    gap: 2.5rem 1.5rem;
  }
  
  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
  
  .footer-legal {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 3rem 0 0;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-links-group {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .footer-links-group:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  
  .footer-legal {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .footer-legal a:not(:last-child)::after {
    display: none;
  }
}
