/* ============================================================
   SkyGroupGh — Footer enhancements
   ============================================================ */

.footer-modern {
  background: linear-gradient(180deg, #0a1e3f 0%, #061429 100%);
  color: #a0a9b8;
  position: relative;
  overflow: hidden;
}

/* Animated gradient top border */
.footer-modern::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #0d6efd, #5b8def, #0d6efd, transparent);
  background-size: 200% 100%;
  animation: footer-accent 6s linear infinite;
}
@keyframes footer-accent {
  from { background-position: -100% 50%; }
  to   { background-position: 200% 50%; }
}

.footer-modern .footer-main { padding: 4rem 0 3rem; }

.footer-modern h4,
.footer-modern h5 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: .75rem;
  font-size: 1.05rem;
}
.footer-modern h4::after,
.footer-modern h5::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 40px; height: 2px;
  background: #0d6efd;
  border-radius: 2px;
}

/* Logo */
.footer-modern .footer-logo {
  color: #fff;
  font-weight: 800;
  font-size: 1.65rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1rem;
  letter-spacing: -.5px;
}
.footer-modern .footer-logo i {
  color: #0d6efd;
  font-size: 1.35rem;
}
.footer-modern .footer-logo .accent { color: #0d6efd; }

.footer-modern p {
  color: #a0a9b8;
  line-height: 1.7;
  font-size: .93rem;
  margin-bottom: 0;
}

/* Trust badges */
.footer-modern .trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.15rem;
}
.footer-modern .trust-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .7rem;
  background: rgba(13,110,253,.1);
  border: 1px solid rgba(13,110,253,.2);
  border-radius: 20px;
  font-size: .75rem;
  color: #5b8def;
  font-weight: 500;
}
.footer-modern .trust-badge i { font-size: .85rem; }

/* Social buttons */
.footer-modern .social-row {
  display: flex;
  gap: .6rem;
  margin-top: 1.5rem;
}
.footer-modern .social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.05);
  color: #a0a9b8;
  border: 1px solid rgba(255,255,255,.08);
  transition: all .3s ease;
  font-size: .9rem;
  text-decoration: none;
}
.footer-modern .social-btn:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,.3);
}
.footer-modern .social-btn.tw:hover { background: #000;    border-color: #000;    }
.footer-modern .social-btn.fb:hover { background: #1877f2; border-color: #1877f2; }
.footer-modern .social-btn.ig:hover { background: #e1306c; border-color: #e1306c; }
.footer-modern .social-btn.li:hover { background: #0a66c2; border-color: #0a66c2; }

/* Link rows */
.footer-modern .link-row {
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.footer-modern .link-row a {
  color: #a0a9b8;
  text-decoration: none;
  font-size: .93rem;
  padding: .3rem 0 .3rem 1.1rem;
  position: relative;
  transition: color .25s ease, padding-left .25s ease;
}
.footer-modern .link-row a::before {
  content: "\F285";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #0d6efd;
  font-size: .7rem;
  opacity: .7;
  transition: transform .25s ease, opacity .25s ease;
}
.footer-modern .link-row a:hover {
  color: #fff;
  padding-left: 1.35rem;
}
.footer-modern .link-row a:hover::before {
  transform: translateY(-50%) translateX(3px);
  opacity: 1;
}

/* Contact items */
.footer-modern .contact-item {
  display: flex;
  gap: .85rem;
  margin-bottom: .9rem;
  align-items: flex-start;
}
.footer-modern .contact-item .ic {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(13,110,253,.12);
  color: #5b8def;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: .9rem;
  transition: background .3s ease, color .3s ease;
}
.footer-modern .contact-item:hover .ic {
  background: #0d6efd;
  color: #fff;
}
.footer-modern .contact-item .txt {
  color: #a0a9b8;
  font-size: .93rem;
  line-height: 1.4;
  padding-top: .35rem;
}
.footer-modern .contact-item .txt strong {
  color: #fff;
  display: block;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .15rem;
  font-weight: 600;
}

/* Newsletter */
.footer-modern .newsletter {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-modern .newsletter h6 {
  font-size: .95rem;
  font-weight: 600;
  margin-bottom: .25rem;
}
.footer-modern .newsletter p {
  font-size: .82rem;
  color: #6b7280;
}
.footer-modern .newsletter-form {
  display: flex;
  gap: .5rem;
  margin-top: .85rem;
}
.footer-modern .newsletter-form input {
  flex: 1;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  color: #fff;
  padding: .7rem 1rem;
  border-radius: 8px;
  font-size: .88rem;
  min-width: 0;
  transition: border-color .3s ease, background .3s ease;
}
.footer-modern .newsletter-form input:focus {
  outline: none;
  border-color: #0d6efd;
  background: rgba(13,110,253,.08);
}
.footer-modern .newsletter-form input::placeholder {
  color: #6b7280;
}
.footer-modern .newsletter-form button {
  background: #0d6efd;
  border: none;
  color: #fff;
  padding: 0 1.1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: .85rem;
  cursor: pointer;
  transition: background .25s ease, transform .25s ease;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  white-space: nowrap;
}
.footer-modern .newsletter-form button:hover {
  background: #0b5ed7;
  transform: translateY(-1px);
}

/* Bottom bar */
.footer-modern .footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 1.4rem 0;
  font-size: .85rem;
  color: #6b7280;
}
.footer-modern .footer-bottom a {
  color: #a0a9b8;
  text-decoration: none;
  transition: color .25s ease;
}
.footer-modern .footer-bottom a:hover {
  color: #fff;
}
.footer-modern .footer-bottom .legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
}
@media (min-width: 768px) {
  .footer-modern .footer-bottom .legal-links { justify-content: flex-end; }
}

/* Responsive */
@media (max-width: 767.98px) {
  .footer-modern .footer-main { padding: 3rem 0 2rem; }
  .footer-modern .footer-bottom .legal-links { margin-top: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .footer-modern::before { animation: none; }
  .footer-modern .social-btn,
  .footer-modern .link-row a,
  .footer-modern .link-row a::before,
  .footer-modern .contact-item .ic,
  .footer-modern .newsletter-form button { transition: none; }
}

/* ============================================================
   WhatsApp Floating Button
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  background-color: #25d366;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  background-color: #128c7e;
  color: #fff;
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
}

/* Pulsing ring animation to draw attention */
.whatsapp-float::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #25d366;
  border-radius: 50%;
  z-index: -1;
  animation: whatsapp-pulse 2s infinite;
}

@keyframes whatsapp-pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* On mobile, move it up slightly so it doesn't block screen edges */
@media (max-width: 575.98px) {
  .whatsapp-float {
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    font-size: 26px;
  }
}