/* ==========================================
   FOOTER STYLES (Dark Luxury Theme)
   ========================================== */
:root {
  --ft-bg: #111827;
  --ft-card-bg: #1f2937;
  --ft-text: #9ca3af;
  --ft-heading: #ffffff;
  --ft-accent: #10b981;
  --ft-border: #374151;
  --ft-hover: #34d399;
}

.site-footer {
  background-color: var(--ft-bg);
  color: var(--ft-text);
  font-family: 'Poppins', sans-serif;
  padding-top: 4rem;
  border-top: 1px solid var(--ft-border);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem 1.5rem;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
}

/* Brand Column */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 40px;
  width: auto;
}

.logo-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ft-heading);
}

.logo-text span {
  color: var(--ft-accent);
}

.brand-tagline {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: #d1d5db;
}

.footer-socials {
  display: flex;
  gap: 0.8rem;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ft-card-bg);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid var(--ft-border);
}

.footer-socials a:hover {
  background: var(--ft-accent);
  color: #ffffff;
  transform: translateY(-3px);
}

/* Footer Links & Headings */
.footer-heading {
  color: var(--ft-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 35px;
  height: 2px;
  background-color: var(--ft-accent);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--ft-text);
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.footer-links a i {
  font-size: 0.7rem;
  color: var(--ft-accent);
}

.footer-links a:hover {
  color: var(--ft-hover);
  transform: translateX(4px);
}

/* Contact Info Column */
.contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.9rem;
  margin-bottom: 0.9rem;
  color: #d1d5db;
}

.contact-info li i {
  color: var(--ft-accent);
  margin-top: 0.2rem;
}

.contact-info a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: var(--ft-hover);
}

/* Copyright Bottom Bar */
.footer-bottom {
  background-color: #0b0f19;
  border-top: 1px solid var(--ft-border);
  padding: 1.2rem 0;
}

.footer-bottom-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.88rem;
  color: var(--ft-text);
}

.developer-credit a {
  color: #60a5fa;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.developer-credit a:hover {
  color: #93c5fd;
  text-decoration: underline;
}

/* Responsive Grid */
@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
  .footer-bottom-container {
    flex-direction: column;
    text-align: center;
  }
  /* Extra bottom padding so the fixed floating contact widget never
     overlaps the copyright / credit text on small screens */
  .footer-bottom {
    padding-bottom: 5.5rem;
  }
}

/* ==========================================
   FLOATING QUICK CONTACT WIDGET (Blinking Message)
   ========================================== */
.floating-contact-widget {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

/* Pulsing Main Button */
.trigger-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.trigger-label {
  background: #ffffff;
  color: #1f2937;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.88rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  position: relative;
  transition: opacity 0.3s ease;
}

.trigger-label::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent transparent #ffffff;
}

.trigger-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #52c41a;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(82, 196, 26, 0.4);
  position: relative;
  transition: transform 0.3s ease, background-color 0.3s ease;
  animation: widgetPulse 2s infinite;
}

.trigger-btn .icon-close {
  display: none;
}

/* Hover/Active Pulse Animation */
@keyframes widgetPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(82, 196, 26, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(82, 196, 26, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(82, 196, 26, 0);
  }
}

/* Popover Stack Buttons */
.social-popover {
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.pop-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.3rem;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease;
}

.pop-btn:hover {
  transform: scale(1.12);
}

.call-btn { background-color: #00c853; }
.whatsapp-btn { background-color: #25d366; }
.mail-btn { background-color: #ea4335; }
.youtube-btn { background-color: #ff0000; }
.insta-btn { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }

/* Expanded State (On Hover or Click) */
.floating-contact-widget.active .social-popover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-contact-widget.active .trigger-btn {
  animation: none;
  background-color: #ef4444;
}

.floating-contact-widget.active .icon-msg {
  display: none;
}

.floating-contact-widget.active .icon-close {
  display: block;
}

.floating-contact-widget.active .trigger-label {
  opacity: 0;
}
/* Compact floating widget on small screens so it doesn't crowd content */
@media (max-width: 480px) {
  .floating-contact-widget {
    bottom: 16px;
    right: 16px;
    gap: 8px;
  }

  .trigger-btn {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }

  .pop-btn {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }

  .trigger-label {
    display: none;
  }
}
