/* Garuda Newsletter & 5-Column Desktop Footer Styles */

/* Newsletter Strip */
.garuda-newsletter-section {
  background-color: #c0392b;
  color: #ffffff;
  padding: 32px 0;
  margin-top: 48px;
}

.garuda-newsletter-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.2px;
}

.garuda-newsletter-desc {
  font-size: 13.5px;
  color: #fde8e8;
}

.garuda-newsletter-form {
  gap: 10px;
  min-width: 380px;
}

.garuda-newsletter-input-wrap {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 8px 14px;
  border: 1px solid transparent;
}

.garuda-newsletter-input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 13.5px;
  color: #1e293b;
  width: 100%;
}

.garuda-newsletter-btn {
  background-color: #a93226;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.garuda-newsletter-btn:hover {
  background-color: #8c261c;
}

/* Main Footer */
.garuda-main-footer {
  background-color: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding: 48px 0 24px 0;
  color: #475569;
}

.garuda-footer-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: contain;
}

.garuda-footer-brand-name {
  font-size: 18px;
  font-weight: 800;
  color: #c0392b;
  line-height: 1.1;
}

.garuda-footer-tagline {
  font-size: 11px;
  color: #64748b;
  font-weight: 500;
}

.garuda-footer-about {
  font-size: 13px;
  line-height: 1.6;
  color: #64748b;
  max-width: 320px;
}

.garuda-social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.garuda-social-link:hover {
  background-color: #fee2e2;
  color: #c0392b;
  border-color: #fecaca;
  transform: translateY(-2px);
}

.garuda-footer-heading {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.garuda-footer-nav li {
  margin-bottom: 10px;
}

.garuda-footer-nav a {
  font-size: 13px;
  color: #64748b;
  text-decoration: none;
  transition: color 0.15s ease;
}

.garuda-footer-nav a:hover {
  color: #c0392b;
  text-decoration: underline;
}

.garuda-bottom-bar {
  border-top: 1px solid #f1f5f9;
}

@media (max-width: 768px) {
  .garuda-newsletter-form {
    min-width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .garuda-main-footer {
    padding: 32px 0 24px 0;
  }
}

@media (max-width: 576px) {
  .garuda-bottom-bar {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }
  .garuda-newsletter-title {
    font-size: 18px;
  }
}

/* =========================================================
   Mobile Footer Bar & Responsive Display Controls
   ========================================================= */

/* Hide mobile bottom footer on Desktop / Tablet screens */
@media (min-width: 992px) {
  footer.mobile-footer,
  .mobile-footer,
  .garud-menu-wrapper {
    display: none !important;
  }
}

/* Mobile Screen Styles (< 992px) */
@media (max-width: 991px) {
  footer.mobile-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 -2px 14px rgba(0, 0, 0, 0.08);
    border-top: 1px solid #e2e8f0;
    z-index: 1050;
    display: flex;
    justify-content: center;
    padding: 6px 0;
    height: 56px;
  }

  .mobile-footer .footer-nav {
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
    height: 100%;
  }

  .mobile-footer .footer-menu {
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style: none !important;
    padding: 0 4px !important;
    margin: 0 !important;
    width: 100%;
    height: 100%;
  }

  .mobile-footer .footer-item:not(.center-fab-item) {
    list-style: none !important;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: static !important;
    transform: none !important;
    top: auto !important;
  }

  .mobile-footer .footer-item:not(.center-fab-item) a {
    text-decoration: none;
    color: #64748b;
    font-size: 11px;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    transition: color 0.15s ease, font-weight 0.15s ease;
    position: static !important;
    transform: none !important;
    top: auto !important;
  }

  /* Big Red Add Product FAB Center Item */
  .mobile-footer .footer-item.center-fab-item {
    position: relative !important;
    overflow: visible !important;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .mobile-footer .center-fab-link {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-decoration: none !important;
    position: relative !important;
  }

  .mobile-footer .center-fab-btn {
    width: 52px !important;
    height: 52px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #d94b2b 0%, #b8381d 100%) !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-top: -22px !important;
    border: 3px solid #ffffff !important;
    box-shadow: 0 6px 18px rgba(217, 75, 43, 0.45), 0 2px 6px rgba(0, 0, 0, 0.12) !important;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  }

  .mobile-footer .center-fab-btn:hover {
    transform: scale(1.06) !important;
  }

  .mobile-footer .center-fab-btn i {
    font-size: 26px !important;
    color: #ffffff !important;
    line-height: 1 !important;
  }

  .mobile-footer .text-fab {
    color: #d94b2b !important;
    font-weight: 700 !important;
    font-size: 11px !important;
    margin-top: 2px !important;
  }

  /* Highlight current active tab (No uplift, clean highlight) */
  .mobile-footer .footer-item.active a {
    color: #c0392b !important;
    font-weight: 700 !important;
    transform: none !important;
    top: auto !important;
  }

  .mobile-footer .footer-item.active .icon img {
    filter: invert(27%) sepia(85%) saturate(2245%) hue-rotate(345deg) brightness(83%) contrast(92%) !important;
  }

  .mobile-footer .footer-item.active .profile-pic {
    border-color: #c0392b !important;
    box-shadow: 0 0 0 2px rgba(192, 57, 43, 0.25) !important;
  }

  .mobile-footer .footer-item .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 24px;
    width: 24px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    transform: none !important;
    top: auto !important;
  }

  .mobile-footer .footer-item img,
  .mobile-footer .footer-item .icon img {
    width: 22px !important;
    height: 22px !important;
    max-width: 22px !important;
    max-height: 22px !important;
    object-fit: contain;
  }

  .mobile-footer .footer-item .profile-pic {
    width: 24px !important;
    height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 1.5px solid #cbd5e1;
    transition: all 0.15s ease;
  }
}

