/* ========================================================================== */
/* Footer */
/* ========================================================================== */

.footer {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(37, 99, 235, 0.05) 100%);
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 1rem;
  position: relative;
  overflow: hidden;
}

.footer-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 25% 25%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(37, 99, 235, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.footer-about .footer-logo {
  margin-bottom: 1rem;
}

.footer-about .footer-logo h3 {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
}

.footer-tagline {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-stats {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.footer-section h4 {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-section h4 i {
  color: var(--primary-color);
  font-size: 1rem;
}

.footer-section p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 0.75rem;
}

.footer-links ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0;
}

.footer-links ul li a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

.footer-links ul li a i {
  font-size: 0.9rem;
  width: 16px;
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-item {
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary-color);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(37, 99, 235, 0.2);
  transition: var(--transition-fast);
}

.tech-item:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

/* footer contact */
.footer-contact-info-grid {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 1.2rem;
}

.footer-contact-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.footer-contact-icon-circle {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e3f2fd;
  color: #2196f3;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(33,150,243,0.07);
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}

.footer-contact-row:hover .footer-contact-icon-circle {
  background: #2196f3;
  color: #fff;
}

.footer-contact-details {
  display: flex;
  flex-direction: column;
}

.footer-contact-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.footer-contact-link {
  font-size: 1rem;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s;
  user-select: text;
}

.footer-contact-link:hover {
  color: #2196f3;
  text-decoration: underline;
}

.footer-social-links {
  display: flex;
  gap: 0.7rem;
  margin-top: 0.5rem;
}

.footer-social-circle {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e3f2fd;
  color: #2196f3;
  font-size: 1.1rem;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(33,150,243,0.07);
}

.footer-social-circle:hover {
  background: #2196f3;
  color: #fff;
  box-shadow: 0 4px 16px rgba(33,150,243,0.13);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  position: relative;
  z-index: 1;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright p {
  margin: 0;
  color: var(--text-muted);
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}

.built-with {
  color: var(--text-secondary);
}

.built-with i.text-red {
  color: #ef4444;
}

.version {
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary-color);
  padding: 0.25rem 0.6rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
}

@media (max-width: 600px) {
  .footer-contact-info-grid {
    gap: 0.7rem;
  }
  .footer-contact-row {
    gap: 0.5rem;
  }
  .footer-social-links {
    gap: 0.4rem;
  }
}