/* ============================================================
   FOOTER STYLES
   ============================================================ */

.footer {
  background: var(--bg-dark);
  color: white;
  /* color: rgba(255,255,255,0.75); */
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
}

/* ── Footer Top ── */
.footer-top {
  padding: 80px 0 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 60px;
}

/* ── Brand Column ── */
.footer-brand-logo {
  height: 52px;
  width: auto;
  margin-bottom: 20px;
  filter: brightness(1.2);
}

.footer-brand-desc {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 24px;
  color: white;
  /* color: rgba(255,255,255,0.6); */
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-social-link {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: white;
  /* color: rgba(255,255,255,0.6); */
  font-size: 0.85rem;
  transition: all var(--transition);
}
.footer-social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

/* ── Footer Heading ── */
.footer-heading {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 14px;
}
.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 32px; height: 2px;
  background: var(--accent);c
  border-radius: 1px;
}

/* ── Footer Links ── */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: white;
  /* color: rgba(255,255,255,0.6); */
  transition: all var(--transition);
}
.footer-link:hover {
  color: var(--accent);
  padding-left: 6px;
}
.footer-link i {
  font-size: 0.7rem;
  color: var(--accent);
  flex-shrink: 0;
}

/* ── Contact Info ── */
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.footer-contact-icon {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(26,111,181,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-text {
  font-size: 0.88rem;
  line-height: 1.6;
}
.footer-contact-text strong {
  display: block;
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.footer-contact-text a {
  color: white;
  /* color: rgba(255,255,255,0.6); */
  transition: color var(--transition);
}
.footer-contact-text a:hover { color: var(--accent); }

/* ── Footer Bottom ── */
.footer-bottom {
  border-top: 1px solid white;
  /* border-top: 1px solid rgba(255,255,255,0.08); */
  padding: 20px 0;
}

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

.footer-copy {
  font-size: 0.82rem;
  color: white;
  /* color: rgba(255,255,255,0.45); */
}
.footer-copy a {
  color: var(--accent);
  transition: color var(--transition);
}
.footer-copy a:hover { color: var(--white); }

.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a {
  font-size: 0.82rem;
  color: white;
  /* color: rgba(255,255,255,0.45); */
  transition: color var(--transition);
}
.footer-bottom-links a:hover { color: var(--accent); }

/* ── Back to Top ── */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 20px rgba(26,111,181,0.35);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 900;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

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

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-top { padding: 60px 0 40px; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  .back-to-top { bottom: 20px; right: 20px; }
}
