@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600&display=swap');

body { padding-bottom: 80px !important; }

.tnd-sticky-footer {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 99999;
  background: #ffffff;
  border-top: 2.5px solid #FF6B00;
  box-shadow: 0 -6px 28px rgba(0,0,0,0.10);
  animation: tndSlideUp 0.6s cubic-bezier(0.34,1.56,0.64,1) forwards;
}

@keyframes tndSlideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.tnd-sticky-footer::before {
  content: '';
  position: absolute;
  top: -2px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #FF6B00, #FF9F45, #FF6B00, transparent);
  background-size: 200% 100%;
  animation: tndWave 2.5s linear infinite;
}

@keyframes tndWave {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.tnd-footer-nav {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 10px 8px 14px;
  max-width: 560px;
  margin: 0 auto;
}

.tnd-footer-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-decoration: none !important;
  cursor: pointer;
  position: relative;
  padding: 8px 14px;
  border-radius: 14px;
  transition: background 0.3s ease, transform 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.tnd-footer-btn:hover { background: rgba(255,107,0,0.07); transform: translateY(-2px); }
.tnd-footer-btn:active { transform: scale(0.95); }

.tnd-footer-ring {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.tnd-footer-ring::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255,107,0,0.45);
  animation: tndRing 2s ease-in-out infinite;
}
.tnd-footer-ring::after {
  content: '';
  position: absolute; inset: -7px;
  border-radius: 50%;
  border: 1px solid rgba(255,107,0,0.15);
  animation: tndRing 2s ease-in-out 0.6s infinite;
}
@keyframes tndRing {
  0%,100% { transform: scale(1);    opacity: 0.7; }
  50%      { transform: scale(1.18); opacity: 0.1; }
}

.tnd-footer-ring svg { width: 24px; height: 24px; display: block; }

.tnd-footer-label {
  font-family: 'Poppins', sans-serif;
  font-size: 9.5px; font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #8a9bb5;
  transition: color 0.3s;
  white-space: nowrap;
}
.tnd-footer-btn:hover .tnd-footer-label { color: #FF6B00; }

.tnd-footer-div {
  width: 1px; height: 38px;
  background: linear-gradient(to bottom, transparent, rgba(255,107,0,0.25), transparent);
  flex-shrink: 0;
}

.tnd-loc  .tnd-footer-ring { background: rgba(255,107,0,0.10); }
.tnd-port .tnd-footer-ring { background: rgba(26,42,74,0.08); }
.tnd-call .tnd-footer-ring { background: rgba(50,200,100,0.10); }
.tnd-wa   .tnd-footer-ring { background: rgba(37,211,102,0.10); }

/* Animations */
.tnd-loc-icon  { animation: tndLocBounce 2s ease-in-out infinite; }
@keyframes tndLocBounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-5px)} }

.tnd-port-icon { animation: tndPortFlip 3s ease-in-out infinite; }
@keyframes tndPortFlip {
  0%,100%{transform:scale(1) rotate(0deg)}
  30%{transform:scale(1.08) rotate(-4deg)}
  60%{transform:scale(1.05) rotate(3deg)}
}

.tnd-call-icon { animation: tndCallRing 1.8s ease-in-out infinite; }
@keyframes tndCallRing {
  0%,100%{transform:rotate(0)}
  10%{transform:rotate(18deg)} 20%{transform:rotate(-15deg)}
  30%{transform:rotate(12deg)} 40%{transform:rotate(-10deg)}
  50%{transform:rotate(0)}
}

.tnd-wa-icon   { animation: tndWaPop 2.2s ease-in-out infinite; }
@keyframes tndWaPop { 0%,100%{transform:scale(1)} 50%{transform:scale(1.14)} }

.tnd-call-badge {
  position: absolute;
  top: 1px; right: 9px;
  width: 9px; height: 9px;
  background: #FF6B00;
  border-radius: 50%;
  border: 1.5px solid #fff;
  animation: tndBlink 1.5s ease-in-out infinite;
}
@keyframes tndBlink {
  0%,100%{opacity:1;transform:scale(1)}
  50%{opacity:0.3;transform:scale(0.6)}
}

@media (max-width: 380px) {
  .tnd-footer-btn       { padding: 8px 10px; }
  .tnd-footer-ring      { width: 40px; height: 40px; }
  .tnd-footer-label     { font-size: 9px; }
}
