/* ============================================================
   PREMIUM REDESIGNED FOOTER STYLES
   File: src/assets/css/footer.css
   ============================================================ */

.site-footer {
  background: radial-gradient(circle at 85% 15%, #0e293a 0%, #071520 65%, #040d14 100%);
  color: #9ab3c4;
  position: relative;
  overflow: hidden;
  font-family: var(--font-sans, "Inter", sans-serif);
}

/* Subtle background accent glow */
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  width: 500px;
  height: 250px;
  background: radial-gradient(circle, rgba(0, 130, 153, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Pre-Footer Action Banner ── */
.footer-prebanner {
  padding-top: 48px;
  padding-bottom: 12px;
  position: relative;
  z-index: 2;
}

.footer-prebanner-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 30px 36px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.prebanner-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #e5b376;
  background: rgba(196, 129, 63, 0.14);
  border: 1px solid rgba(196, 129, 63, 0.32);
  border-radius: 50px;
  font-size: 11px;
  padding: 4px 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.prebanner-title {
  font-family: var(--font-serif, "Poppins", sans-serif);
  font-size: 1.65rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}

.prebanner-desc {
  font-size: 0.92rem;
  color: #a4bccb;
  margin-bottom: 0;
  line-height: 1.55;
}

.prebanner-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

@media (min-width: 992px) {
  .prebanner-actions {
    justify-content: flex-end;
  }
}

.btn-footer-primary {
  background: linear-gradient(135deg, #008299 0%, #005d6e 100%);
  color: #ffffff !important;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 130, 153, 0.35);
  transition: all 0.25s ease;
}

.btn-footer-primary:hover {
  background: linear-gradient(135deg, #006b7d 0%, #004b58 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 130, 153, 0.45);
}

.btn-footer-call {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-footer-call:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.btn-footer-whatsapp {
  background: #25d366;
  color: #ffffff !important;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.btn-footer-whatsapp:hover {
  background: #1eb956;
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.5);
}

/* ── Main Footer Grid ── */
.footer-main-grid {
  padding: 45px 0 36px;
  position: relative;
  z-index: 2;
}

/* Brand Column */
.footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 16px;
}

.footer-logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #008299 0%, #005d6e 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 130, 153, 0.3);
  flex-shrink: 0;
}

.footer-brand-title-wrap {
  display: flex;
  flex-direction: column;
}

.footer-brand-name {
  font-family: var(--font-serif, "Poppins", sans-serif);
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
}

.footer-brand-sub {
  font-family: var(--font-sans);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 2.2px;
  color: #79bed1;
  text-transform: uppercase;
}

.footer-about-text {
  font-size: 13px;
  color: #8da4b5;
  line-height: 1.65;
  margin-bottom: 18px;
}

/* Working Hours Card */
.footer-hours-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}

.hours-icon {
  color: #008299;
  font-size: 16px;
  margin-top: 1px;
  flex-shrink: 0;
}

.hours-text {
  font-size: 12px;
  color: #b7cddb;
  line-height: 1.5;
}

.hours-text strong {
  color: #ffffff;
}

.hours-sub {
  display: block;
  font-size: 11px;
  color: #7a94a6;
  margin-top: 2px;
}

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

.social-label {
  font-size: 12px;
  font-weight: 700;
  color: #b4c9d6;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-social-icons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.social-icon-btn:hover {
  background-color: #008299;
  border-color: #008299;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 130, 153, 0.35);
}

/* Column Headings */
.footer-heading {
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: 0.3px;
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}

.footer-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: #008299;
  border-radius: 2px;
}

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

.footer-nav-link {
  color: #8da4b5;
  font-size: 13px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.22s ease;
}

.footer-nav-link i {
  font-size: 10px;
  color: #008299;
  transition: transform 0.22s ease;
}

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

.footer-nav-link:hover i {
  transform: translateX(2px);
}

/* Contact Hospital Cards */
.footer-contact-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 11px 13px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.footer-contact-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 130, 153, 0.4);
  transform: translateY(-2px);
}

.f-contact-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(0, 130, 153, 0.16);
  color: #008299;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}

.f-contact-lbl {
  display: block;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
  color: #7b94a5;
  margin-bottom: 2px;
}

.f-contact-val {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: #e1edf5;
}

.address-text {
  line-height: 1.45;
  font-size: 12px;
  color: #9cb1bf;
}

.f-map-link {
  color: #008299;
  font-size: 11.5px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.f-map-link:hover {
  color: #26c2dc;
  text-decoration: underline;
}

/* ── Bottom Bar ── */
.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0 28px;
  position: relative;
  z-index: 2;
}

.footer-copy-text {
  font-size: 12px;
  color: #728b9c;
}

.footer-legal-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.legal-nav-link {
  font-size: 12px;
  color: #728b9c;
  text-decoration: none;
  transition: color 0.2s ease;
}

.legal-nav-link:hover {
  color: #ffffff;
}

/* Mobile Responsiveness */
@media (max-width: 767px) {
  .footer-prebanner-card {
    padding: 22px 20px;
  }
  .prebanner-title {
    font-size: 1.35rem;
  }
  .prebanner-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-footer-primary,
  .btn-footer-call {
    width: 100%;
    justify-content: center;
  }
  .btn-footer-whatsapp {
    width: 100%;
    border-radius: 50px;
    height: 42px;
  }
  .footer-main-grid {
    padding: 35px 0 20px;
  }
}

/* ============================================================
   ULTRA-PREMIUM SCROLL BACK TO TOP BUTTON (WITH PROGRESS RING)
   ============================================================ */
.scroll-to-top-wrapper {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9990;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.scroll-to-top-wrapper.scroll-btn-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(28px) scale(0.65);
  pointer-events: none;
}

.scroll-to-top-wrapper.scroll-btn-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Button Container */
.scroll-to-top-btn {
  position: relative;
  width: 56px;
  height: 56px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  outline: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.scroll-to-top-btn:focus {
  outline: none;
}

/* Circular SVG Progress Ring */
.scroll-progress-ring {
  transform: rotate(-90deg);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  filter: drop-shadow(0 2px 8px rgba(0, 156, 183, 0.3));
}

.scroll-ring-bg {
  transition: stroke 0.3s ease;
}

.scroll-ring-stroke {
  transition: stroke-dashoffset 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Central Gradient Sphere Core */
.scroll-btn-core {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #009cb7 0%, #005d6e 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(0, 93, 110, 0.45), inset 0 1px 2px rgba(255, 255, 255, 0.45);
  position: relative;
  z-index: 2;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Upward Arrow Icon */
.scroll-arrow-icon {
  font-size: 19px;
  font-weight: 900;
  line-height: 1;
  transition: transform 0.25s ease;
}

/* Hover Effects */
.scroll-to-top-btn:hover .scroll-btn-core {
  background: linear-gradient(135deg, #00c0db 0%, #008299 100%);
  transform: scale(1.08);
  box-shadow: 0 12px 30px rgba(0, 192, 219, 0.55), inset 0 1px 3px rgba(255, 255, 255, 0.65);
}

.scroll-to-top-btn:hover .scroll-arrow-icon {
  animation: scrollArrowBounce 0.8s ease-in-out infinite;
}

.scroll-to-top-btn:active .scroll-btn-core {
  transform: scale(0.94);
  box-shadow: 0 4px 14px rgba(0, 93, 110, 0.5);
}

/* Subtle Glowing Wave Behind Button */
.scroll-pulse-wave {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 192, 219, 0.4) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.scroll-to-top-btn:hover .scroll-pulse-wave {
  opacity: 1;
  animation: scrollPulseWave 1.8s infinite;
}

/* Animations */
@keyframes scrollArrowBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes scrollPulseWave {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* Mobile Responsiveness */
@media (max-width: 576px) {
  .scroll-to-top-wrapper {
    bottom: 22px;
    right: 20px;
  }
  .scroll-to-top-btn {
    width: 48px;
    height: 48px;
  }
  .scroll-btn-core {
    width: 38px;
    height: 38px;
  }
  .scroll-arrow-icon {
    font-size: 16px;
  }
}


