/* ================================================================
   FOOTER.CSS — 4-column site footer
   ================================================================ */

/* ── FOOTER WRAPPER ─────────────────────────────────────────── */
#footer {
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

/* Decorative top gradient line */
#footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), #5BA4FF, var(--accent));
}

/* ── MAIN FOOTER BODY ───────────────────────────────────────── */
.footer__body {
  padding: 5rem 0 3rem;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 3rem;
}

/* ── COLUMN 1: BRAND INFO ───────────────────────────────────── */
.footer__brand .nav__logo {
  margin-bottom: 1.25rem;
}

.footer__brand-desc {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 1.75rem;
  max-width: 300px;
}

.footer__social {
  display: flex;
  gap: 10px;
}

.footer__social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.70);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.10);
}

.footer__social a:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* ── COLUMN HEADING ─────────────────────────────────────────── */
.footer__col-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.90);
  margin-bottom: 1.4rem;
  position: relative;
}

.footer__col-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

/* ── COLUMN LINKS ───────────────────────────────────────────── */
.footer__links { list-style: none; }

.footer__links li { margin-bottom: 0.6rem; }

.footer__links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: var(--transition);
}

.footer__links a i {
  font-size: 0.7rem;
  color: var(--primary);
  transition: transform 0.25s ease;
}

.footer__links a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer__links a:hover i {
  transform: translateX(3px);
}

/* ── COLUMN 4: CONTACT INFO ─────────────────────────────────── */
.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 1.1rem;
}

.footer__contact-item .icon {
  width: 34px;
  height: 34px;
  background: rgba(26,115,232,0.20);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer__contact-item .info a,
.footer__contact-item .info span {
  display: block;
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
  text-decoration: none;
  line-height: 1.6;
  transition: var(--transition);
}

.footer__contact-item .info a:hover { color: #fff; }

/* ── FOOTER BOTTOM BAR ──────────────────────────────────────── */
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__copyright {
  color: rgba(255,255,255,0.40);
  font-size: 0.85rem;
}

.footer__copyright a {
  color: rgba(255,255,255,0.60);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.footer__copyright a:hover { color: var(--primary); }

.footer__bottom-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer__bottom-links a {
  color: rgba(255,255,255,0.40);
  font-size: 0.8rem;
  text-decoration: none;
  transition: var(--transition);
}

.footer__bottom-links a:hover { color: rgba(255,255,255,0.80); }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer__body { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .footer__body { grid-template-columns: 1fr; gap: 2.5rem; padding: 3.5rem 0 2rem; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .footer__bottom-links { justify-content: center; }
}
