/* ============================================
   RJ Coders — Footer (Q2B Style)
   Enhanced multi-column + WhatsApp badge
   ============================================ */

.footer {
  background: #0a0f1c;
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 2rem;
  font-family: 'Inter', sans-serif;
}

.footer a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: #2DD4BF;
}

.footer__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 3rem);
  position: relative;
}

/* ---- Grid ---- */
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

/* ---- Columns ---- */
.footer__logo {
  height: 36px;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.footer__tagline {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 1.25rem;
  max-width: 280px;
}

.footer__col-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: #FFFFFF;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__links li {
  font-size: 14px;
}

.footer__address {
  color: rgba(255, 255, 255, 0.45) !important;
  font-size: 13px;
  line-height: 1.6;
  cursor: default;
}

/* ---- Social ---- */
.footer__social {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.footer__social-link:hover {
  transform: translateY(-2px);
  background: rgba(45, 212, 191, 0.12);
  border-color: rgba(45, 212, 191, 0.3);
}

.footer__social-link img {
  filter: brightness(0) invert(1);
  opacity: 0.7;
}

.footer__social-link:hover img {
  opacity: 1;
}

/* ---- Bottom bar ---- */
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
}

.footer__bottom-left {
  color: rgba(255, 255, 255, 0.7);
}

.footer__bottom-right {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}

.footer__bottom-right a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.footer__bottom-right a:hover {
  color: #2DD4BF;
}

/* ---- WhatsApp floating badge ---- */
.footer__whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99990;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25D366;
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.footer__whatsapp:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer__bottom-right {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer__whatsapp {
    width: 46px;
    height: 46px;
    bottom: 16px;
    right: 16px;
  }
}
