/* ===================================================================
   DR. BHAGAT'S CLINIC — CLASSIC STEEL NAVY FOOTER
   Balanced Mid-Tone Theme: Anchored, Clean & Elegant
   =================================================================== */

.site-footer {
  background: linear-gradient(180deg, #1a385c 0%, #132a47 100%) !important;
  color: #e2e8f0 !important;
  border-top: 1px solid rgba(56, 189, 248, 0.2) !important;
  padding: 65px 0 24px 0 !important;
  position: relative;
}

/* ── 4-Column Footer Grid ── */
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 40px;
}

/* Brand Column */
.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.footer-brand-desc {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.88rem;
  line-height: 1.65;
  color: #cbd5e1;
  margin: 0;
  max-width: 320px;
}

.footer-name {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
  display: block;
}

.footer-sub {
  font-size: 0.76rem;
  color: #38bdf8;
  font-weight: 700;
  display: block;
}

.footer-call-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(56, 189, 248, 0.4);
  border-radius: var(--radius-full, 9999px);
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 0.88rem;
  font-weight: 700;
  width: fit-content;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin-top: 4px;
}

.footer-call-pill:hover {
  background: #0284c7;
  border-color: #38bdf8;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.35);
}

.footer-call-pill i {
  color: #34d399;
}

/* Links Columns */
.footer-links-col h4 {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 16px 0;
  position: relative;
  padding-bottom: 8px;
}

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

.footer-links-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-col ul li a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
}

.footer-links-col ul li a i {
  color: #38bdf8;
  font-size: 0.75rem;
  transition: transform 0.25s ease;
}

.footer-links-col ul li a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-links-col ul li a:hover i {
  color: #7dd3fc;
}

/* Contact Column */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact p {
  margin: 0;
  font-size: 0.88rem;
  color: #cbd5e1;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4;
}

.footer-contact p i {
  color: #38bdf8;
  font-size: 0.95rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-contact p a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
}

.footer-contact p a:hover {
  color: #7dd3fc;
}

/* Doctor Login Button below Timings in Contact Column */
.footer-doctor-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding: 7px 16px;
  background: rgba(56, 189, 248, 0.1);
  color: #38bdf8 !important;
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none !important;
  transition: all 0.25s ease;
  width: fit-content;
}

.footer-doctor-login-btn:hover {
  background: #0284c7 !important;
  color: #ffffff !important;
  border-color: #0284c7 !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
  transform: translateY(-2px);
}

.footer-doctor-login-btn i {
  font-size: 0.92rem;
  color: #38bdf8;
  transition: color 0.25s ease;
}

.footer-doctor-login-btn:hover i {
  color: #ffffff !important;
}

/* Bottom Copyright Bar */
.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(56, 189, 248, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.82rem;
  color: #94a3b8;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-bottom-links a {
  color: #94a3b8;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
  color: #ffffff;
}

/* Footer Login Button */
.footer-login-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: rgba(2, 132, 199, 0.15);
  color: #38bdf8 !important;
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.25s ease;
  line-height: 1.2;
}

.footer-login-btn:hover {
  background: #0284c7 !important;
  color: #ffffff !important;
  border-color: #0284c7 !important;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
  transform: translateY(-1px);
}

.footer-login-btn i {
  font-size: 0.9rem;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding: 28px 0 16px 0 !important;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px 12px !important;
    margin-bottom: 18px !important;
  }

  .footer-brand-col {
    grid-column: 1 / -1 !important;
    margin-bottom: 2px !important;
    gap: 10px !important;
  }

  .footer-brand {
    gap: 10px !important;
  }

  .footer-brand-desc {
    font-size: 0.82rem !important;
    line-height: 1.55 !important;
    max-width: 100% !important;
    color: #cbd5e1 !important;
  }

  .brand-icon svg {
    width: 32px !important;
    height: 32px !important;
  }

  .footer-name {
    font-size: 1.05rem !important;
  }

  .footer-sub {
    font-size: 0.7rem !important;
  }

  .footer-call-pill {
    padding: 6px 14px !important;
    font-size: 0.8rem !important;
    margin-top: 2px !important;
  }

  .footer-links-col h4 {
    font-size: 0.86rem !important;
    margin: 0 0 8px 0 !important;
    padding-bottom: 4px !important;
  }

  .footer-links-col ul {
    gap: 6px !important;
  }

  .footer-links-col ul li a {
    font-size: 0.78rem !important;
    gap: 4px !important;
  }

  .footer-contact {
    gap: 6px !important;
  }

  .footer-contact p {
    font-size: 0.76rem !important;
    gap: 6px !important;
  }

  .footer-bottom {
    padding-top: 12px !important;
    font-size: 0.72rem !important;
    flex-direction: column !important;
    text-align: center !important;
    gap: 8px !important;
  }

  .footer-bottom-links {
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
  }
}
