/* ==========================================================================
   SITE FOOTER SECTION (assets/css/footer.css)
   Deep Blue Footer with Negative Logo, Menu Navigation & Social Links
   ========================================================================== */

.site-footer {
  position: relative;
  width: 100%;
  background: linear-gradient(180deg, #0a2342 0%, #06172d 100%);
  color: #ffffff;
  padding: 80px 0 30px 0;
  overflow: hidden;
  z-index: 10;
}

/* Top Accent Line */
.footer-top-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #38bdf8 30%, #2563eb 70%, transparent 100%);
}

/* 4-Column Main Grid */
.footer-main-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1.1fr 1.2fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Column 1: Brand & Negative Logo */
.footer-col-brand {
  display: flex;
  flex-direction: column;
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 20px;
}

.footer-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer-logo-img:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

.footer-brand-desc {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.92rem;
  font-weight: 400;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0 0 24px 0;
  max-width: 320px;
}

/* Social Media Buttons */
.footer-social-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e2e8f0;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.social-icon-btn:hover {
  background: #2563eb;
  border-color: #38bdf8;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px -4px rgba(37, 99, 235, 0.5);
}

/* Column Titles */
.footer-col-title {
  font-family: 'Anek Devanagari', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 22px 0;
  letter-spacing: 0.02em;
  position: relative;
  display: inline-block;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 28px;
  height: 2px;
  background: #38bdf8;
  border-radius: 2px;
}

/* Navigation Lists */
.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-link {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.92rem;
  font-weight: 400;
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.footer-nav-link:hover {
  color: #38bdf8;
  transform: translateX(4px);
}

/* Contact List */
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: #94a3b8;
  line-height: 1.5;
}

.contact-icon {
  font-size: 0.95rem;
  color: #38bdf8;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact-link {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact-link:hover {
  color: #ffffff;
}

/* Footer Bottom Bar */
.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  flex-wrap: wrap;
  gap: 20px;
}

.copyright-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  color: #64748b;
  margin: 0;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.legal-link {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.82rem;
  color: #64748b;
  text-decoration: none;
  transition: color 0.3s ease;
}

.legal-link:hover {
  color: #38bdf8;
}

.legal-separator {
  color: #475569;
  font-size: 0.75rem;
}

/* Back to Top Button */
.back-to-top-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 0.9rem;
}

.back-to-top-btn:hover {
  background: #2563eb;
  border-color: #38bdf8;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px -2px rgba(37, 99, 235, 0.5);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

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

@media (max-width: 640px) {
  .site-footer {
    padding: 60px 0 25px 0;
  }

  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 40px;
  }

  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer-legal-links {
    flex-wrap: wrap;
    gap: 8px;
  }
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON (CURVED SQUARE GREEN ICON)
   ========================================================================== */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background-color: #25D366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  text-decoration: none;
  z-index: 9999;
  box-shadow: 0 8px 24px -2px rgba(37, 211, 102, 0.45), 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.25s ease;
  animation: whatsappPulse 3s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

.floating-whatsapp-btn:hover {
  background-color: #20ba5a;
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6), 0 6px 14px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.floating-whatsapp-btn:active {
  transform: translateY(-1px) scale(0.98);
}

/* Tooltip badge on hover */
.floating-whatsapp-btn .whatsapp-tooltip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: #0f172a;
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 8px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-whatsapp-btn .whatsapp-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -5px;
  transform: translateY(-50%);
  border-width: 5px 0 5px 6px;
  border-style: solid;
  border-color: transparent transparent transparent #0f172a;
}

.floating-whatsapp-btn:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

/* Subtle attention-grabbing pulse ring */
@keyframes whatsappPulse {
  0%, 100% {
    box-shadow: 0 8px 24px -2px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  50% {
    box-shadow: 0 8px 24px -2px rgba(37, 211, 102, 0.45), 0 0 0 12px rgba(37, 211, 102, 0);
  }
}

/* Responsive adjustment for smaller mobile screens */
@media (max-width: 640px) {
  .floating-whatsapp-btn {
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    font-size: 26px;
  }
  
  .floating-whatsapp-btn .whatsapp-tooltip {
    display: none;
  }
}

