/* =========================================
   GLOBAL BASE STYLES
========================================= */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  scroll-behavior: smooth;
  background: #fff;
  color: #1f2937;
  margin:0;
  padding:0;
}

.hero {
  min-height: 90vh;
  background: linear-gradient(115deg, rgba(183, 208, 245, 0.9), rgba(187, 166, 166, 0.9)),
              url('assets/.jpeg') center/cover no-repeat;
  color: #0b1220;
  display: flex;
  align-items: center;
}

.hero h1 { font-size:2.4rem; font-weight:700; }

.badge { color: #0c0202; }

.card-hover { transition: all .2s ease; }
.card-hover:hover {
  transform: translateY(-6px);
  box-shadow:0 18px 30px rgba(15,23,42,0.08);
}

form input, form textarea, form select { border-radius: 8px; }

footer { background: #fff; }

.navbar-dark.bg-primary { background: #0d4abf !important; }

/* =========================================
   TOPBAR PREMIUM (Sticky)
========================================= */
.topbar-premium {
  background: linear-gradient(90deg, rgba(227,242,253,0.85), rgba(255,255,255,0.75));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding: 8px 0;
  position: sticky;
  top: 0;
  z-index: 1060;
  color: #0b1220;
}

.topbar-premium .container {
  display:flex; align-items:center; justify-content:space-between; gap:12px;
}

.topbar-premium .topbar-item {
  color: #ff6600;
  font-weight: 600;
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:14px;
  position:relative;
}

.topbar-premium .topbar-item.muted { color:#6b7280; font-weight:500; }

.topbar-premium .topbar-item i {
  color:#007bff; 
  font-size:16px;
}

.topbar-premium .topbar-item::after {
  content:"";
  position:absolute;
  bottom:-4px;
  left:0;
  width:0;
  height:2px;
  background:#ff6600;
  transition: width .25s ease;
}
.topbar-premium .topbar-item:hover::after { width:100%; }

.topbar-premium .topbar-link {
  color: #25d366;
  font-weight:700;
}
.topbar-premium .topbar-link i { color:#25d366; }

/* When hidden */
.topbar-premium.hide {
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

/* push navbar down under topbar */
nav.navbar.sticky-top { top: 30px !important; }

/* =========================================
   NAVBAR + LOGO
========================================= */

.navbar {
  background-color: transparent !important; /* transparent background */
  box-shadow: none !important;              /* remove shadow */
  backdrop-filter: blur(12px);              /* optional: slight glass effect */
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.9) !important; /* optional: solid on scroll */
  box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
}

.navbar-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Navbar logo */
.hospital-logo {
  height: 90px;          /* Increased size */
  width: auto;
  object-fit: contain;
}

/* Tablet */
@media (max-width: 991px) {
  .hospital-logo {
    height: 80px;
  }
}

/* Mobile */
@media (max-width: 750px) {
  .hospital-logo {
    height: 80px;
  }
}

.location {
  font-size: 10px;
  font-weight: 600;
  color: #020202;
  display: block;
  margin-top: 4px;
}

.navbar-nav .nav-link {
  font-weight: 600;
  color: #0b1220;
  transition: color 0.2s ease;
}

.navbar-nav .nav-link:hover { color: #ff6600; }

.navbar .btn-danger {
  padding: 8px 20px;
  font-weight: 700;
  border-radius: 8px;
}

/* =========================================
   MOBILE RESPONSIVE
========================================= */
@media (max-width: 992px) {
  .hospital-logo { height: 60px; }
  .location { font-size: 12px; }
  .navbar .btn-danger { padding: 7px 16px; font-size: 14px; }
}

@media (max-width: 576px) {
  .hospital-logo { height: 50px; }
  .location { font-size: 11px; }
  .navbar .btn-danger { padding: 6px 12px; font-size: 13px; }
}

/* =========================================
   HERO SLIDER
========================================= */
.slider-hero {
  position: relative;
  width: 100%;
  height: 85vh;
  min-height: 520px;
  overflow: hidden;
  background: #000;
}

.slider-hero .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity .6s ease;
  display: flex;
  align-items: center;
  z-index: 0;
}

.slider-hero .slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.slider-hero .slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.98) contrast(1) brightness(.85);
}

.slider-hero .slide::before {
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(7,20,40,0.15), rgba(7,20,40,0.45));
  z-index:1;
}

.slider-hero .slide-content {
  position: absolute;
  left: 40px;
  bottom: 50px;
  z-index: 5;
  color: #fff;
  max-width: 300px;
  text-shadow: 0 8px 28px rgba(3, 10, 24, 0.6);
}

.slider-hero .glass {
  padding: 18px 22px;
  border-radius: 14px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(14px);
}

.slide-title {
  font-size: clamp(20px, 4.0vw, 40px);
  font-weight: 100;
  margin-bottom:10px;
}

.slide-sub {
  font-size: clamp(14px, 1.6vw, 18px);
  margin-bottom:18px;
  color: rgba(255,255,255,0.92);
}

.slide-btn {
  display: inline-flex;
  gap:10px;
  padding:12px 20px;
  border-radius:8px;
  background: linear-gradient(90deg,#25D366,#1FA94B);
  color:#fff;
  font-weight:700;
  text-decoration:none;
  box-shadow:0 10px 30px rgba(37,211,102,0.14);
  position:relative;
  overflow:hidden;
}

.slide-btn::after {
  content:"";
  position:absolute;
  left:50%; top:50%;
  width:0; height:0;
  background: rgba(255,255,255,0.12);
  border-radius:50%;
  transform:translate(-50%,-50%);
  opacity:0;
  transition:.45s ease;
}

.slide-btn:active::after {
  width:220px; height:220px;
  opacity:1; transition:0s;
}

/* FOOTER */
.footer-section { background: #0a1a2a; }

.footer-link {
  color: #cfd6df;
  text-decoration: none;
  display: block;
  margin-bottom: 6px;
  transition: color .2s ease;
}

.footer-link:hover { color: #0d99ff; }

.footer-social {
  color: #cfd6df;
  transition: color .2s ease, transform .2s ease;
}

.footer-social:hover {
  color: #0d99ff;
  transform: translateY(-3px);
}


/* =========================================
   UNIVERSAL FLOATING WHATSAPP BUTTON
   (Mobile + Desktop)
========================================= */

/* Floating WhatsApp with text */
.floating-wa-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: #25D366;
  color: #fff !important;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 12px 25px rgba(0,0,0,0.25);
  z-index: 999999;
  text-decoration: none;
  transition: all 0.25s ease;
}

.floating-wa-btn i {
  font-size: 22px;
}

/* Hover effect */
.floating-wa-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(0,0,0,0.3);
}

/* Mobile: icon only (optional but recommended) */
@media (max-width: 576px) {
  .floating-wa-btn {
    padding: 14px;
    border-radius: 50%;
  }

  .floating-wa-btn .wa-text {
    display: none;
  }
}

/* Footer logo alignment */
.footer-brand {
  display: flex;
  justify-content: flex-start; /* force LEFT */
  align-items: center;
  text-align: left;
}

.footer-brand img {
  display: block;
  margin-left: 0;
}

