/* ============================================ */
/* Smooth & Elegant Footer Design - Blue Theme */
/* ============================================ */

.footer {
  background: linear-gradient(180deg, #0f172a 0%, #0f1729 100%);
  border-top: 1px solid rgba(59, 130, 246, 0.1);
  padding: 80px 0 0;
  margin-top: 100px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.4), transparent);
}

.footer-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
}

/* ============================================ */
/* Footer Grid - Balanced Layout */
/* ============================================ */

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 80px;
  padding-bottom: 60px;
}

/* ============================================ */
/* Brand Column */
/* ============================================ */

.footer-col-brand {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-logo {
  width: 54px;
  height: 54px;
  background: transparent;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer-logo:hover {
  transform: scale(1.08) rotate(2deg);
}

.footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.15));
}

.footer-brand-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-brand-name {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 0.8;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #ffffff 0%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: left;
}

.footer-brand-subtitle {
  font-size: 10px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0;
  line-height: 0.9;
}

.footer-description {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  color: #94a3b8;
  margin: 0;
  max-width: 420px;
  opacity: 0.9;
}

/* ============================================ */
/* Social Links - Modern Style */
/* ============================================ */

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social-link {
  width: 42px;
  height: 42px;
  background: rgba(59, 130, 246, 0.05);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 17px;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.footer-social-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(96, 165, 250, 0.2));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.footer-social-link:hover {
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.4);
  color: #60a5fa;
  transform: translateY(-1px) scale(1.05);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
}

.footer-social-link:hover::before {
  opacity: 1;
}

/* ============================================ */
/* Links Columns - Clean & Modern */
/* ============================================ */

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.footer-col-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 6px 0;
  padding-bottom: 0;
  border-bottom: none;
  letter-spacing: 0.3px;
  position: relative;
  padding-left: 12px;
}

.footer-col-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 18px;
  background: linear-gradient(180deg, #3b82f6, #60a5fa);
  border-radius: 2px;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links-list li {
  margin: 0;
  padding: 0;
}

.footer-links-list li a {
  font-size: 14px;
  font-weight: 400;
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  padding-left: 0;
}

.footer-links-list li a::before {
  content: '→';
  font-size: 12px;
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: #3b82f6;
}

.footer-links-list li a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
  transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-radius: 2px;
}

.footer-links-list li a:hover {
  color: #60a5fa;
  padding-left: 20px;
}

.footer-links-list li a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-links-list li a:hover::after {
  width: calc(100% - 20px);
}

/* ============================================ */
/* Footer Bottom - Elegant */
/* ============================================ */

.footer-bottom {
  padding: 28px 0;
  border-top: 1px solid rgba(59, 130, 246, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.company-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.company-info div {
  font-size: 13px;
  font-weight: 400;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.copyright {
  font-size: 13px;
  font-weight: 400;
  color: #94a3b8 !important;
}

.footer-link {
  font-size: 13px;
  font-weight: 400;
  color: #94a3b8 !important;
  text-decoration: none !important;
  transition: all 0.3s ease;
  position: relative;
}

.footer-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #3b82f6;
  transition: width 0.3s ease;
}

.footer-link:hover {
  color: #60a5fa !important;
}

.footer-link:hover::after {
  width: 100%;
}

/* ============================================ */
/* Responsive Design */
/* ============================================ */

@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 60px;
  }
}

@media (max-width: 992px) {
  .footer {
    padding: 70px 0 0;
    margin-top: 80px;
  }

  .footer-wrapper {
    padding: 0 30px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding-bottom: 50px;
  }

  .footer-col-brand {
    grid-column: 1 / -1;
  }

  .footer-description {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 60px 0 0;
    margin-top: 60px;
  }

  .footer-wrapper {
    padding: 0 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 40px;
  }

  .footer-col-brand {
    gap: 24px;
  }

  .footer-brand-row {
    gap: 14px;
  }

  .footer-logo {
    width: 50px;
    height: 50px;
  }

  .footer-brand-name {
    font-size: 20px;
  }

  .footer-brand-subtitle {
    font-size: 9px;
  }

  .footer-description {
    font-size: 13px;
    line-height: 1.75;
  }

  .footer-social {
    gap: 10px;
  }

  .footer-social-link {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .footer-col {
    gap: 20px;
  }

  .footer-col-title {
    font-size: 14px;
  }

  .footer-links-list {
    gap: 12px;
  }

  .footer-links-list li a {
    font-size: 13px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 24px 0;
  }

  .footer-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 50px 0 0;
  }

  .footer-grid {
    gap: 35px;
  }

  .footer-brand-row {
    gap: 12px;
  }

  .footer-logo {
    width: 46px;
    height: 46px;
  }

  .footer-brand-name {
    font-size: 18px;
  }

  .footer-brand-subtitle {
    font-size: 8.5px;
  }

  .footer-col-title {
    font-size: 13px;
  }

  .footer-links-list li a {
    font-size: 13px;
  }

  .company-info div,
  .copyright,
  .footer-link {
    font-size: 12px !important;
  }
}