/* ===================================================
   DEOKI HOSPITAL - Premium Healthcare Website
   Color Palette: White + Sky Blue + Soft Green
   =================================================== */

/* ============== VARIABLES ============== */
:root {
  /* Brand Colors */
  --blue-50:  #F0F9FF;
  --blue-100: #E0F2FE;
  --blue-200: #BAE6FD;
  --blue-300: #7DD3FC;
  --blue-400: #38BDF8;
  --blue-500: #0EA5E9;
  --blue-600: #0284C7;
  --blue-700: #0369A1;

  --green-50:  #ECFDF5;
  --green-100: #D1FAE5;
  --green-200: #A7F3D0;
  --green-300: #6EE7B7;
  --green-400: #34D399;
  --green-500: #10B981;
  --green-600: #059669;

  --yellow-400: #FBBF24;
  --yellow-500: #F59E0B;
  --red-400:    #FB7185;
  --red-500:    #EF4444;
  --red-600:    #DC2626;
  --purple-400: #A78BFA;
  --teal-400:   #2DD4BF;

  /* Neutrals */
  --white:   #FFFFFF;
  --soft-bg: #F8FBFF;
  --slate-50:  #F8FAFC;
  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-300: #CBD5E1;
  --slate-400: #94A3B8;
  --slate-500: #64748B;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1E293B;
  --slate-900: #0F172A;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #38BDF8 0%, #0EA5E9 100%);
  --grad-soft:    linear-gradient(135deg, #E0F2FE 0%, #ECFDF5 100%);
  --grad-hero:    linear-gradient(135deg, #F0F9FF 0%, #ECFDF5 50%, #FEF3C7 100%);
  --grad-blue-green: linear-gradient(135deg, #0EA5E9 0%, #10B981 100%);
  --grad-glow:    radial-gradient(circle at 50% 50%, rgba(56,189,248,0.25), transparent 60%);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(2, 132, 199, 0.06);
  --shadow-md: 0 8px 24px rgba(2, 132, 199, 0.08);
  --shadow-lg: 0 16px 48px rgba(2, 132, 199, 0.12);
  --shadow-xl: 0 24px 64px rgba(2, 132, 199, 0.18);
  --shadow-glow: 0 0 40px rgba(56, 189, 248, 0.3);

  /* Typography */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Radius */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-full: 999px;
}

/* ============== RESET & BASE ============== */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font-body);
  color: var(--slate-700);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--slate-900);
  font-weight: 700;
  letter-spacing: -0.01em;
}

a { color: var(--blue-600); text-decoration: none; transition: all .25s ease; }
a:hover { color: var(--blue-700); }

img { max-width: 100%; height: auto; display: block; }

::selection { background: var(--blue-200); color: var(--blue-700); }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--slate-50); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--blue-400), var(--blue-600)); border-radius: 10px; }

/* ============== PAGE LOADER ============== */
.page-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .5s ease, visibility .5s ease;
}
.page-loader.hidden { opacity: 0; visibility: hidden; }
.loader-content { text-align: center; }
.loader-pulse {
  width: 90px; height: 90px; margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 2.2rem;
  animation: pulseGlow 1.4s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(14,165,233,.5);
}
.loader-text {
  font-family: var(--font-heading); font-weight: 700;
  color: var(--blue-700); letter-spacing: .03em; font-size: 1.15rem;
  margin: 0;
}
@keyframes pulseGlow {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(14,165,233,.5); }
  50%      { transform: scale(1.08); box-shadow: 0 0 0 20px rgba(14,165,233,0); }
}

/* ============== TOP BAR ============== */
.top-bar {
  background: linear-gradient(90deg, var(--blue-700) 0%, var(--blue-600) 50%, var(--green-600) 100%);
  color: var(--white);
  font-size: .85rem; padding: .55rem 0;
}
.top-bar a { color: var(--white); }
.top-bar a:hover { color: var(--blue-100); }
.top-social { display: inline-flex; gap: .4rem; margin-left: 1rem; }
.top-social a {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,.15); display: inline-flex; align-items: center; justify-content: center;
  font-size: .75rem;
}
.top-social a:hover { background: var(--white); color: var(--blue-700); transform: translateY(-2px); }

/* ============== NAVBAR ============== */
.main-navbar {
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding: .85rem 0;
  border-bottom: 1px solid rgba(186, 230, 253, .4);
  position: sticky; top: 0; z-index: 1030;
  transition: all .3s ease;
}
.main-navbar.scrolled {
  box-shadow: var(--shadow-md);
  padding: .65rem 0;
  background: rgba(255,255,255,.95);
}
.brand-wrap { display: flex; align-items: center; gap: .75rem; }
.brand-icon {
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--grad-primary);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1.3rem;
  box-shadow: 0 8px 20px rgba(14,165,233,.35);
  position: relative;
}
.brand-icon::after {
  content: ''; position: absolute; inset: 0; border-radius: 14px;
  background: var(--grad-primary); opacity: .35; filter: blur(10px); z-index: -1;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem;
  color: var(--slate-900); letter-spacing: -.01em;
}
.brand-tag {
  font-size: .72rem; color: var(--slate-500); font-weight: 500;
  letter-spacing: .04em; text-transform: uppercase;
}

.navbar-nav .nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--slate-700);
  padding: .5rem 1rem !important;
  margin: 0 .15rem;
  position: relative;
  font-size: .95rem;
  border-radius: var(--r-full);
  transition: all .25s ease;
}
.navbar-nav .nav-link::after {
  content: ''; position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%);
  width: 0; height: 3px; background: var(--grad-primary); border-radius: 2px;
  transition: width .25s ease;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--blue-600);
}
.navbar-nav .nav-link.active::after,
.navbar-nav .nav-link:hover::after { width: 18px; }

.nav-highlight {
  color: var(--green-600) !important;
}
.nav-highlight::before {
  content: '★'; font-size: .65rem; vertical-align: super;
  color: var(--yellow-500); margin-right: 3px;
}

.navbar-toggler { border: none; padding: .35rem; outline: none; box-shadow: none !important; }
.navbar-toggler:focus { box-shadow: none; }
.toggler-icon {
  display: block; width: 24px; height: 2px; background: var(--blue-600);
  margin: 5px 0; border-radius: 2px; transition: all .3s ease;
}
.navbar-toggler[aria-expanded="true"] .toggler-icon:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.navbar-toggler[aria-expanded="true"] .toggler-icon:nth-child(2) { opacity: 0; }
.navbar-toggler[aria-expanded="true"] .toggler-icon:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

/* Emergency button in navbar */
.btn-emergency {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  color: var(--white) !important;
  padding: .65rem 1.25rem;
  border-radius: var(--r-full);
  font-weight: 600; font-size: .9rem;
  display: inline-flex; align-items: center; gap: .55rem;
  position: relative; border: none;
  box-shadow: 0 8px 20px rgba(239,68,68,.35);
  transition: all .3s ease;
}
.btn-emergency:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(239,68,68,.45);
  color: var(--white);
}
.emergency-pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--white);
  position: relative;
}
.emergency-pulse::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--white);
  animation: ringPulse 1.6s ease-out infinite;
}
@keyframes ringPulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(3.5); opacity: 0; }
}

/* ============== BUTTONS ============== */
.btn {
  font-family: var(--font-heading); font-weight: 600;
  padding: .85rem 1.6rem; border-radius: var(--r-full);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  border: none; transition: all .3s ease; font-size: .95rem;
  position: relative; overflow: hidden;
}
.btn-primary-soft {
  background: var(--grad-primary);
  color: var(--white);
  box-shadow: 0 10px 26px rgba(14,165,233,.32);
}
.btn-primary-soft:hover {
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(14,165,233,.42);
}
.btn-primary-soft::before {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.35), transparent);
  transition: left .6s ease;
}
.btn-primary-soft:hover::before { left: 100%; }

.btn-ghost {
  background: rgba(255,255,255,.7);
  color: var(--blue-700);
  border: 1.5px solid var(--blue-200);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: var(--white);
  color: var(--blue-700);
  border-color: var(--blue-400);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #1DA851 100%);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(37, 211, 102, .35);
}
.btn-whatsapp:hover {
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(37, 211, 102, .45);
}

/* ============== SECTION HELPERS ============== */
.section { padding: 7rem 0; position: relative; }
@media (max-width: 768px) { .section { padding: 4.5rem 0; } }

.section-label {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-heading); font-weight: 600;
  color: var(--blue-600); font-size: .85rem;
  text-transform: uppercase; letter-spacing: .15em;
  margin-bottom: 1rem;
}
.section-label span {
  display: inline-block; width: 26px; height: 3px;
  background: var(--grad-primary); border-radius: 3px;
}
.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--slate-900);
}
.section-lead {
  font-size: 1.05rem;
  color: var(--slate-500);
  line-height: 1.75;
}
.section-head { margin-bottom: 3rem; }
.text-blue { color: var(--blue-500); }
.text-green { color: var(--green-500); }
.text-yellow { color: var(--yellow-400); }
.gradient-text {
  background: var(--grad-blue-green);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ============== HERO SECTION ============== */
.hero-section {
  position: relative;
  background: var(--grad-hero);
  padding: 6rem 0 5rem;
  overflow: hidden;
  min-height: 90vh;
  display: flex; align-items: center;
}
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.shape {
  position: absolute; border-radius: 50%;
  filter: blur(60px); opacity: .5;
}
.shape-1 {
  width: 380px; height: 380px;
  background: var(--blue-300);
  top: -100px; left: -100px;
  animation: floatShape 14s ease-in-out infinite;
}
.shape-2 {
  width: 460px; height: 460px;
  background: var(--green-300);
  bottom: -150px; right: -120px;
  animation: floatShape 18s ease-in-out infinite reverse;
}
.shape-3 {
  width: 280px; height: 280px;
  background: var(--yellow-400);
  top: 40%; right: 30%;
  opacity: .25;
  animation: floatShape 22s ease-in-out infinite;
}
.shape-dot {
  width: 14px; height: 14px;
  filter: none; opacity: 1;
  background: var(--blue-400);
  box-shadow: 0 0 0 6px rgba(56,189,248,.15);
}
.dot-1 { top: 18%; left: 8%; animation: floatDot 6s ease-in-out infinite; }
.dot-2 { top: 70%; left: 20%; background: var(--green-400); box-shadow: 0 0 0 6px rgba(52,211,153,.18); animation: floatDot 8s ease-in-out infinite; }
.dot-3 { top: 25%; right: 5%; background: var(--yellow-400); box-shadow: 0 0 0 6px rgba(251,191,36,.2); animation: floatDot 7s ease-in-out infinite; }
@keyframes floatShape {
  0%, 100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(40px, -40px) scale(1.1); }
}
@keyframes floatDot {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-20px); }
}

.hero-badge {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .5rem 1rem; border-radius: var(--r-full);
  background: rgba(255,255,255,.7); backdrop-filter: blur(10px);
  border: 1px solid rgba(186, 230, 253, .8);
  font-size: .8rem; font-weight: 600;
  color: var(--blue-700); margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 0 4px rgba(16,185,129,.2);
  animation: pulseDot 1.5s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(16,185,129,.2); }
  50%      { box-shadow: 0 0 0 8px rgba(16,185,129,.1); }
}

.hero-title {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.02em;
  margin-bottom: 1.25rem;
  color: var(--slate-900);
}
.hero-subtitle {
  font-size: 1.1rem;
  color: var(--slate-500);
  max-width: 540px;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2.5rem; }

.hero-mini-stats {
  display: flex; gap: 2rem; flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(186,230,253,.6);
}
.mini-stat-num {
  font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--blue-600);
  line-height: 1;
}
.mini-stat-label {
  font-size: .82rem; color: var(--slate-500);
  margin-top: .25rem; font-weight: 500;
}

/* Hero visual */
.hero-visual { position: relative; padding: 1rem; }
.hero-image-wrap {
  position: relative;
  border-radius: 50% 30% 50% 40% / 40% 50% 30% 50%;
  overflow: hidden;
  aspect-ratio: 1/1;
  max-width: 480px;
  margin: 0 auto;
  box-shadow: 0 30px 70px rgba(14,165,233,.25);
  background: var(--grad-primary);
  animation: morphShape 12s ease-in-out infinite;
}
@keyframes morphShape {
  0%, 100% { border-radius: 50% 30% 50% 40% / 40% 50% 30% 50%; }
  50%      { border-radius: 40% 50% 30% 50% / 50% 30% 50% 40%; }
}
.hero-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero-blob {
  position: absolute; inset: -10%;
  background: var(--grad-glow);
  z-index: -1;
}

.float-card {
  position: absolute;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.6);
  padding: .8rem 1.1rem;
  border-radius: var(--r-md);
  display: flex; align-items: center; gap: .8rem;
  box-shadow: var(--shadow-lg);
  animation: floatY 4s ease-in-out infinite;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
.fc-icon {
  width: 44px; height: 44px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--white);
  background: var(--grad-primary);
  flex-shrink: 0;
}
.emergency-icon { background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%); }
.nicu-icon { background: linear-gradient(135deg, #34D399 0%, #10B981 100%); }
.fc-title { font-family: var(--font-heading); font-weight: 600; font-size: .9rem; color: var(--slate-900); line-height: 1.2; }
.fc-sub { font-size: .72rem; color: var(--slate-500); }

.card-emergency { top: 5%; left: -5%; animation-delay: 0s; }
.card-nicu { top: 40%; right: -10%; animation-delay: .8s; }
.card-rating {
  bottom: 5%; left: 5%; animation-delay: 1.4s;
  flex-direction: column; align-items: flex-start; gap: .25rem;
}
.fc-rating { color: var(--yellow-400); font-size: .85rem; display: flex; gap: 2px; }
.fc-rating-text { font-size: .72rem; color: var(--slate-600); font-weight: 500; }

@media (max-width: 991px) {
  .hero-section { padding: 4rem 0 3rem; min-height: auto; }
  .float-card { padding: .6rem .8rem; }
  .card-emergency { left: 0; }
  .card-nicu { right: 0; }
  .card-rating { left: 5%; }
}

/* ============== QUICK STRIP ============== */
.quick-strip {
  background: var(--white);
  padding: 0;
  position: relative;
  z-index: 5;
  margin-top: -3rem;
}
.quick-wrap {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  border: 1px solid var(--slate-100);
}
.quick-item {
  display: flex; align-items: center; gap: .9rem;
  padding: .75rem 1rem;
  border-radius: var(--r-md);
  color: var(--slate-700);
  transition: all .3s ease;
  position: relative;
}
.quick-item:not(:last-child)::after {
  content: ''; position: absolute; right: -.5rem; top: 20%; height: 60%;
  width: 1px; background: var(--slate-200);
}
.quick-item:hover {
  background: var(--blue-50);
  transform: translateY(-3px);
  color: var(--slate-900);
}
.qi-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-100), var(--blue-50));
  color: var(--blue-600);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; flex-shrink: 0;
}
.qi-red { background: linear-gradient(135deg, #FECACA, #FEE2E2); color: var(--red-500); }
.qi-green { background: linear-gradient(135deg, var(--green-100), var(--green-50)); color: var(--green-600); }
.qi-yellow { background: linear-gradient(135deg, #FEF3C7, #FEFCE8); color: var(--yellow-500); }
.qi-title { font-family: var(--font-heading); font-weight: 600; font-size: .95rem; color: var(--slate-900); }
.qi-sub { font-size: .78rem; color: var(--slate-500); }

@media (max-width: 991px) {
  .quick-wrap { grid-template-columns: repeat(2, 1fr); }
  .quick-item:nth-child(2)::after,
  .quick-item:nth-child(4)::after { display: none; }
}
@media (max-width: 575px) {
  .quick-wrap { grid-template-columns: 1fr; padding: 1rem; }
  .quick-item::after { display: none !important; }
}

/* ============== ABOUT ============== */
.about-section { background: var(--white); padding-top: 8rem; }
.about-visual { position: relative; }
.about-img-main {
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-xl);
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-img-sec {
  position: absolute; bottom: -2rem; right: -2rem;
  width: 55%; aspect-ratio: 1/1;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 6px solid var(--white);
  box-shadow: var(--shadow-lg);
}
.about-img-sec img { width: 100%; height: 100%; object-fit: cover; }
.about-experience-badge {
  position: absolute; top: -1.5rem; left: -1.5rem;
  background: var(--grad-primary);
  color: var(--white);
  border-radius: var(--r-lg);
  padding: 1.2rem 1.4rem;
  box-shadow: 0 16px 36px rgba(14,165,233,.4);
  display: flex; align-items: center; gap: .75rem;
}
.aeb-num {
  font-family: var(--font-heading); font-weight: 800;
  font-size: 2.5rem; line-height: 1;
}
.aeb-num span { font-size: 1.4rem; vertical-align: super; }
.aeb-text { font-size: .85rem; line-height: 1.3; font-weight: 500; }

.about-points { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.25rem; }
.ap-item {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--soft-bg);
  padding: 1.1rem 1.2rem;
  border-radius: var(--r-md);
  border-left: 4px solid var(--blue-400);
  transition: all .3s ease;
}
.ap-item:hover { transform: translateX(5px); box-shadow: var(--shadow-md); }
.ap-icon {
  width: 50px; height: 50px; border-radius: 14px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue-100), var(--blue-50));
  color: var(--blue-600);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.ap-green { background: linear-gradient(135deg, var(--green-100), var(--green-50)); color: var(--green-600); }
.ap-item h5 { font-size: 1.1rem; margin-bottom: .25rem; }
.ap-item p { margin-bottom: 0; color: var(--slate-500); font-size: .92rem; }

@media (max-width: 991px) {
  .about-section { padding-top: 5rem; }
  .about-img-sec { bottom: -1rem; right: -1rem; width: 50%; }
  .about-experience-badge { top: -1rem; left: -1rem; padding: .9rem 1rem; }
  .aeb-num { font-size: 1.8rem; }
}

/* ============== WHY CHOOSE US ============== */
.why-section {
  background: linear-gradient(180deg, var(--white) 0%, var(--soft-bg) 100%);
  position: relative;
}
.why-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 2rem 1.75rem;
  text-align: left;
  height: 100%;
  border: 1px solid var(--slate-100);
  transition: all .4s ease;
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--grad-primary);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s ease;
}
.why-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.why-card:hover::before { transform: scaleX(1); }
.why-icon {
  width: 64px; height: 64px; border-radius: 18px;
  background: linear-gradient(135deg, var(--blue-100), var(--blue-50));
  color: var(--blue-600);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 1.25rem;
  transition: all .3s ease;
}
.why-card:hover .why-icon {
  background: var(--grad-primary); color: var(--white);
  transform: rotate(-6deg) scale(1.05);
}
.why-icon-green { background: linear-gradient(135deg, var(--green-100), var(--green-50)); color: var(--green-600); }
.why-icon-yellow { background: linear-gradient(135deg, #FEF3C7, #FEFCE8); color: var(--yellow-500); }
.why-icon-red { background: linear-gradient(135deg, #FECACA, #FEE2E2); color: var(--red-500); }
.why-icon-purple { background: linear-gradient(135deg, #DDD6FE, #EDE9FE); color: var(--purple-400); }
.why-icon-teal { background: linear-gradient(135deg, #99F6E4, #CCFBF1); color: var(--teal-400); }
.why-card h5 { font-size: 1.2rem; margin-bottom: .5rem; }
.why-card p { color: var(--slate-500); font-size: .92rem; margin-bottom: 0; }

/* ============== DEPARTMENTS ============== */
.departments-section { background: var(--white); }
.dept-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 1.75rem 1.4rem;
  height: 100%;
  border: 1px solid var(--slate-100);
  transition: all .4s ease;
  position: relative; overflow: hidden;
  cursor: pointer;
}
.dept-card::after {
  content: ''; position: absolute; bottom: -50%; right: -50%;
  width: 150px; height: 150px; border-radius: 50%;
  background: var(--grad-soft);
  opacity: 0; transition: all .5s ease; z-index: 0;
}
.dept-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-200);
}
.dept-card:hover::after { opacity: 1; bottom: -30%; right: -30%; }
.dept-card > * { position: relative; z-index: 1; }

.dept-icon {
  width: 60px; height: 60px; border-radius: 16px;
  background: linear-gradient(135deg, var(--blue-100), var(--green-100));
  color: var(--blue-600);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1.1rem;
  transition: all .35s ease;
}
.dept-card:hover .dept-icon {
  background: var(--grad-primary);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(14,165,233,.35);
}
.dept-card h5 { font-size: 1.1rem; margin-bottom: .4rem; }
.dept-card p { font-size: .88rem; color: var(--slate-500); margin-bottom: 1rem; }
.dept-arrow {
  display: inline-flex; align-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--blue-50);
  color: var(--blue-600);
  justify-content: center;
  font-size: .85rem;
  transition: all .3s ease;
}
.dept-card:hover .dept-arrow {
  background: var(--blue-600); color: var(--white);
  transform: translateX(4px);
}

.dept-card-highlight {
  background: linear-gradient(135deg, var(--blue-500) 0%, var(--green-500) 100%);
  border: none;
  color: var(--white);
}
.dept-card-highlight h5 { color: var(--white); }
.dept-card-highlight p { color: rgba(255,255,255,.9); }
.dept-card-highlight .dept-icon {
  background: rgba(255,255,255,.2); color: var(--white);
  backdrop-filter: blur(10px);
}
.dept-card-highlight .dept-arrow {
  background: rgba(255,255,255,.2); color: var(--white);
}
.dept-card-highlight::after { display: none; }
.dept-card-highlight:hover .dept-icon { background: rgba(255,255,255,.3); }
.dept-card-highlight:hover .dept-arrow { background: var(--white); color: var(--blue-600); }

/* ============== NICU SECTION ============== */
.nicu-section {
  background: linear-gradient(135deg, #EBF8FF 0%, #ECFDF5 100%);
  position: relative; overflow: hidden;
}
.nicu-bg-blob {
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(56,189,248,.25), transparent 65%);
  top: -150px; left: -150px;
  filter: blur(40px);
  pointer-events: none;
}
.nicu-bg-blob-2 {
  background: radial-gradient(circle, rgba(52,211,153,.25), transparent 65%);
  top: auto; left: auto; bottom: -150px; right: -150px;
}

.nicu-image-stack { position: relative; }
.nicu-img-main {
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-xl);
  position: relative;
}
.nicu-img-main img { width: 100%; height: 100%; object-fit: cover; }
.nicu-img-glow {
  position: absolute; inset: -20px;
  background: radial-gradient(circle, rgba(56,189,248,.4), transparent 70%);
  z-index: -1;
  animation: glowPulse 4s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: .5; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.05); }
}
.nicu-img-sec {
  position: absolute; bottom: -1.5rem; right: -1.5rem;
  width: 50%; aspect-ratio: 1/1;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 6px solid var(--white);
  box-shadow: var(--shadow-lg);
}
.nicu-img-sec img { width: 100%; height: 100%; object-fit: cover; }
.nicu-badge-float {
  position: absolute; top: 1.5rem; left: -2rem;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-radius: var(--r-md);
  padding: .9rem 1.2rem;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: .8rem;
}
.nicu-badge-float i {
  width: 44px; height: 44px; border-radius: 14px;
  background: linear-gradient(135deg, #34D399, #10B981);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.nbf-title { font-family: var(--font-heading); font-weight: 600; font-size: .95rem; color: var(--slate-900); line-height: 1.2; }
.nbf-sub { font-size: .75rem; color: var(--slate-500); }

.nicu-label { color: var(--green-600); }
.nicu-label span { background: linear-gradient(90deg, var(--green-400), var(--blue-400)); }

.nicu-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .6rem 1.25rem;
  margin: 1.5rem 0;
}
.nf-item {
  display: flex; align-items: center; gap: .55rem;
  font-size: .92rem; color: var(--slate-700); font-weight: 500;
}
.nf-item i { color: var(--green-500); font-size: 1rem; }

.nicu-stats { margin-top: 4rem; }
.nicu-stat-card {
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all .4s ease;
  position: relative; overflow: hidden;
}
.nicu-stat-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--grad-glow);
  opacity: 0; transition: opacity .4s ease;
}
.nicu-stat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.nicu-stat-card:hover::before { opacity: 1; }
.nicu-stat-card > * { position: relative; z-index: 1; }

.ns-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: linear-gradient(135deg, var(--blue-100), var(--blue-50));
  color: var(--blue-600);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin: 0 auto 1rem;
}
.ns-icon-green { background: linear-gradient(135deg, var(--green-100), var(--green-50)); color: var(--green-600); }
.ns-icon-yellow { background: linear-gradient(135deg, #FEF3C7, #FEFCE8); color: var(--yellow-500); }
.ns-icon-red { background: linear-gradient(135deg, #FECACA, #FEE2E2); color: var(--red-500); }
.ns-num {
  font-family: var(--font-heading); font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--slate-900); line-height: 1;
}
.ns-label { font-size: .85rem; color: var(--slate-500); margin-top: .35rem; font-weight: 500; }

@media (max-width: 991px) {
  .nicu-badge-float { left: -1rem; top: 1rem; padding: .7rem .9rem; }
  .nicu-features { grid-template-columns: 1fr; }
}

/* ============== DOCTORS ============== */
.doctors-section { background: var(--white); }
.doctor-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--slate-100);
  transition: all .4s ease;
}
.doctor-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-xl); border-color: transparent; }

.dc-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-50), var(--green-50));
}
.dc-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.doctor-card:hover .dc-img-wrap img { transform: scale(1.06); }

.dc-social {
  position: absolute; bottom: 1rem; left: 50%;
  transform: translate(-50%, 20px);
  display: flex; gap: .4rem;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px);
  padding: .5rem .65rem; border-radius: var(--r-full);
  opacity: 0;
  transition: all .4s ease;
}
.doctor-card:hover .dc-social { opacity: 1; transform: translate(-50%, 0); }
.dc-social a {
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue-50); color: var(--blue-600);
  font-size: .8rem;
  transition: all .25s ease;
}
.dc-social a:hover { background: var(--grad-primary); color: var(--white); transform: translateY(-2px); }

.dc-info { padding: 1.25rem 1.4rem 1.5rem; text-align: center; }
.dc-info h5 { font-size: 1.15rem; margin-bottom: .2rem; }
.dc-dept {
  display: inline-block;
  font-size: .82rem; font-weight: 500;
  color: var(--blue-600);
  background: var(--blue-50);
  padding: .25rem .7rem;
  border-radius: var(--r-full);
  margin-bottom: .8rem;
}
.dc-meta {
  display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap;
  font-size: .78rem; color: var(--slate-500);
}
.dc-meta i { color: var(--blue-500); margin-right: .25rem; }

/* ============== FACILITIES / GALLERY ============== */
.facilities-section { background: var(--soft-bg); }
.gallery-grid .gallery-item {
  display: block;
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.g-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(2,132,199,.85) 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0; transition: opacity .4s ease;
  color: var(--white);
}
.gallery-item:hover .g-overlay { opacity: 1; }
.g-overlay i {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.2); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  border: 1.5px solid rgba(255,255,255,.4);
  margin-bottom: 1rem;
}
.g-overlay span {
  font-family: var(--font-heading); font-weight: 600;
  font-size: 1rem;
}

/* ============== APPOINTMENT ============== */
.appointment-section {
  background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-700) 40%, var(--green-600) 100%);
  position: relative; overflow: hidden;
}
.appointment-section::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.15), transparent 65%);
}
.appointment-section::after {
  content: ''; position: absolute; bottom: -150px; left: -150px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(251,191,36,.15), transparent 65%);
}
.appointment-info { color: var(--white); position: relative; }
.appointment-label { color: rgba(255,255,255,.8); }
.appointment-label span { background: rgba(255,255,255,.5); }

.appointment-section .section-title { color: var(--white); }
.appointment-lead { color: rgba(255,255,255,.85); font-size: 1rem; line-height: 1.7; margin-bottom: 1.5rem; }
.appointment-list { list-style: none; padding: 0; margin: 0 0 2rem; }
.appointment-list li {
  display: flex; align-items: center; gap: .55rem;
  padding: .35rem 0; color: rgba(255,255,255,.92); font-weight: 500;
}
.appointment-list i { color: var(--yellow-400); }
.appointment-contact {
  display: flex; align-items: center; gap: 1rem;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
  padding: 1rem 1.25rem;
  border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,.2);
  max-width: 360px;
}
.ac-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(255,255,255,.15);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.ac-label { font-size: .8rem; color: rgba(255,255,255,.75); }
.ac-num { font-family: var(--font-heading); font-weight: 700; color: var(--white); font-size: 1.1rem; }
.ac-num:hover { color: var(--yellow-400); }

.appointment-form-wrap {
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(20px);
  border-radius: var(--r-xl);
  padding: 2rem;
  box-shadow: var(--shadow-xl);
  position: relative;
}
.aform-title {
  font-family: var(--font-heading); font-weight: 700;
  font-size: 1.4rem; margin-bottom: 1.5rem; color: var(--slate-900);
}
.appointment-form-wrap .form-label {
  font-size: .85rem; font-weight: 600;
  color: var(--slate-700); margin-bottom: .3rem;
}
.input-wrap { position: relative; }
.input-wrap i {
  position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
  color: var(--blue-500); font-size: .95rem; z-index: 2;
}
.input-wrap.textarea-wrap i { top: 1rem; transform: none; }
.input-wrap .form-control,
.input-wrap .form-select {
  padding-left: 2.6rem;
  border-radius: var(--r-md);
  border: 1.5px solid var(--slate-200);
  padding-top: .75rem; padding-bottom: .75rem;
  font-size: .92rem;
  transition: all .25s ease;
  background: var(--soft-bg);
}
.input-wrap .form-control:focus,
.input-wrap .form-select:focus {
  border-color: var(--blue-400);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(56,189,248,.15);
}

/* ============== TESTIMONIALS ============== */
.testimonials-section { background: var(--white); }
.testimonials-swiper { padding: 1rem .5rem 4rem; }
.t-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  border: 1px solid var(--slate-100);
  height: 100%;
  transition: all .35s ease;
  box-shadow: var(--shadow-sm);
}
.swiper-slide-active .t-card,
.t-card:hover { box-shadow: var(--shadow-lg); border-color: var(--blue-200); transform: translateY(-4px); }
.t-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1rem;
}
.t-rating { color: var(--yellow-400); display: flex; gap: 2px; font-size: .9rem; }
.t-quote { color: var(--blue-200); font-size: 2rem; }
.t-text {
  color: var(--slate-600);
  font-size: .95rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: italic;
}
.t-author { display: flex; align-items: center; gap: .75rem; padding-top: 1rem; border-top: 1px dashed var(--slate-200); }
.t-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--grad-primary);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700;
  font-size: 1rem;
}
.t-avatar-green { background: linear-gradient(135deg, #34D399, #10B981); }
.t-avatar-yellow { background: linear-gradient(135deg, #FBBF24, #F59E0B); }
.t-avatar-red { background: linear-gradient(135deg, #FB7185, #EF4444); }
.t-avatar-purple { background: linear-gradient(135deg, #A78BFA, #8B5CF6); }
.t-name { font-family: var(--font-heading); font-weight: 600; color: var(--slate-900); font-size: .95rem; }
.t-role { font-size: .78rem; color: var(--slate-500); }

.t-pagination { bottom: 0 !important; }
.t-pagination .swiper-pagination-bullet {
  width: 10px; height: 10px;
  background: var(--slate-300); opacity: 1;
  transition: all .3s ease;
}
.t-pagination .swiper-pagination-bullet-active {
  width: 32px; border-radius: 5px;
  background: var(--grad-primary);
}

/* ============== EMERGENCY SECTION ============== */
.emergency-section { padding: 5rem 0; background: var(--white); }
.emergency-wrap {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  border-radius: var(--r-xl);
  padding: 3rem;
  color: var(--white);
  position: relative; overflow: hidden;
  box-shadow: 0 30px 60px rgba(239,68,68,.3);
}
.emergency-decor {
  position: absolute; top: -50%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,.15), transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}
.emergency-badge {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .45rem 1rem; border-radius: var(--r-full);
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
  font-size: .82rem; font-weight: 600;
  margin-bottom: 1rem;
  border: 1px solid rgba(255,255,255,.25);
}
.emergency-pulse-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--white);
  box-shadow: 0 0 0 3px rgba(255,255,255,.4);
  animation: pulseDot 1.5s ease-in-out infinite;
}
.emergency-content h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--white); margin-bottom: .75rem;
  line-height: 1.2;
}
.emergency-content h2 span { color: var(--yellow-400); }
.emergency-content p { color: rgba(255,255,255,.9); margin-bottom: 0; font-size: 1rem; }
.emergency-cta { display: flex; flex-direction: column; gap: .75rem; }
.emergency-call-card {
  display: flex; align-items: center; gap: 1rem;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(12px);
  padding: 1.1rem 1.4rem;
  border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,.25);
  color: var(--white);
  transition: all .3s ease;
}
.emergency-call-card:hover {
  background: rgba(255,255,255,.25);
  color: var(--white);
  transform: translateX(5px);
}
.ecc-icon {
  width: 50px; height: 50px; border-radius: 14px;
  background: var(--white); color: var(--red-500);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; flex-shrink: 0;
}
.ecc-label { font-size: .8rem; color: rgba(255,255,255,.85); }
.ecc-num { font-family: var(--font-heading); font-weight: 700; font-size: 1.25rem; color: var(--white); }

@media (max-width: 768px) {
  .emergency-wrap { padding: 2rem 1.5rem; }
}

/* ============== CONTACT ============== */
.contact-section { background: var(--soft-bg); }
.contact-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 1.75rem 1.5rem;
  text-align: center;
  border: 1px solid var(--slate-100);
  transition: all .35s ease;
  height: 100%;
}
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cc-icon {
  width: 60px; height: 60px; border-radius: 16px;
  background: linear-gradient(135deg, var(--blue-100), var(--blue-50));
  color: var(--blue-600);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin: 0 auto 1rem;
}
.cc-icon-green { background: linear-gradient(135deg, var(--green-100), var(--green-50)); color: var(--green-600); }
.cc-icon-yellow { background: linear-gradient(135deg, #FEF3C7, #FEFCE8); color: var(--yellow-500); }
.cc-icon-red { background: linear-gradient(135deg, #FECACA, #FEE2E2); color: var(--red-500); }
.contact-card h5 { font-size: 1.05rem; margin-bottom: .5rem; }
.contact-card p { color: var(--slate-500); font-size: .9rem; margin-bottom: 0; line-height: 1.6; }
.contact-card p a { color: var(--slate-600); }
.contact-card p a:hover { color: var(--blue-600); }

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  height: 100%;
}
.cf-title { font-size: 1.4rem; margin-bottom: .25rem; }
.cf-sub { color: var(--slate-500); font-size: .9rem; margin-bottom: 1.5rem; }
.contact-form-wrap .form-control,
.contact-form-wrap .form-select {
  border-radius: var(--r-md);
  border: 1.5px solid var(--slate-200);
  padding: .85rem 1rem;
  font-size: .92rem;
  background: var(--soft-bg);
  transition: all .25s ease;
}
.contact-form-wrap .form-control:focus,
.contact-form-wrap .form-select:focus {
  border-color: var(--blue-400);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(56,189,248,.15);
}

.map-wrap {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  height: 100%; min-height: 400px;
  box-shadow: var(--shadow-md);
}
.map-wrap iframe { width: 100%; height: 100%; min-height: 400px; }
.map-direction-btn {
  position: absolute; bottom: 1.25rem; left: 50%; transform: translateX(-50%);
  background: var(--white);
  color: var(--blue-700);
  padding: .65rem 1.2rem;
  border-radius: var(--r-full);
  font-family: var(--font-heading); font-weight: 600; font-size: .9rem;
  display: inline-flex; align-items: center; gap: .5rem;
  box-shadow: var(--shadow-lg);
  transition: all .3s ease;
}
.map-direction-btn:hover {
  background: var(--blue-600); color: var(--white);
  transform: translateX(-50%) translateY(-3px);
}

/* ============== FOOTER ============== */
.footer-section {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: rgba(255,255,255,.7);
  padding: 5rem 0 1.5rem;
  position: relative; overflow: hidden;
}
.footer-shape-bg {
  position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(14,165,233,.15), transparent 60%);
  pointer-events: none;
}
.footer-main { margin-bottom: 2rem; }
.footer-brand {
  display: flex; align-items: center; gap: .75rem;
  margin-bottom: 1.25rem;
}
.footer-brand .brand-name { color: var(--white); font-size: 1.2rem; }
.footer-brand .brand-tag { color: rgba(255,255,255,.55); }
.footer-about {
  color: rgba(255,255,255,.65);
  font-size: .92rem; line-height: 1.7; margin-bottom: 1.25rem;
}
.footer-social { display: flex; gap: .5rem; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.8);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
  transition: all .3s ease;
  border: 1px solid rgba(255,255,255,.1);
}
.footer-social a:hover {
  background: var(--grad-primary); color: var(--white);
  border-color: transparent;
  transform: translateY(-3px);
}

.footer-title {
  font-family: var(--font-heading); font-weight: 600;
  color: var(--white); font-size: 1rem;
  margin-bottom: 1.25rem;
  position: relative; padding-bottom: .75rem;
}
.footer-title::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 32px; height: 3px; border-radius: 3px;
  background: var(--grad-primary);
}
.footer-list, .footer-contact-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: .5rem; }
.footer-list a {
  color: rgba(255,255,255,.65);
  font-size: .9rem;
  transition: all .25s ease;
  display: inline-flex; align-items: center; gap: .4rem;
}
.footer-list a::before {
  content: '›'; color: var(--blue-400); transition: transform .25s ease;
}
.footer-list a:hover { color: var(--white); padding-left: 4px; }

.footer-contact-list li {
  display: flex; gap: .65rem; margin-bottom: .85rem;
  color: rgba(255,255,255,.7); font-size: .9rem;
  line-height: 1.55;
}
.footer-contact-list i {
  color: var(--blue-400); margin-top: 4px; flex-shrink: 0;
}
.footer-contact-list a { color: rgba(255,255,255,.7); }
.footer-contact-list a:hover { color: var(--white); }

.footer-divider { border-color: rgba(255,255,255,.08); margin: 1rem 0 1.25rem; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: .5rem;
  font-size: .85rem; color: rgba(255,255,255,.55);
}
.footer-bottom p { margin: 0; }
.footer-bottom i { color: var(--red-400); margin: 0 .15rem; }

/* ============== FLOATING ELEMENTS ============== */
.float-whatsapp {
  position: fixed; bottom: 25px; right: 25px;
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #1DA851 100%);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 12px 30px rgba(37,211,102,.45);
  z-index: 999;
  transition: all .3s ease;
}
.float-whatsapp::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: rgba(37,211,102,.4);
  animation: ringPulse 2s ease-out infinite;
  z-index: -1;
}
.float-whatsapp:hover {
  color: var(--white); transform: scale(1.1);
  box-shadow: 0 16px 40px rgba(37,211,102,.55);
}
.float-tooltip {
  position: absolute; right: 75px; top: 50%; transform: translateY(-50%);
  background: var(--slate-900); color: var(--white);
  padding: .35rem .75rem; border-radius: var(--r-sm);
  font-size: .8rem; white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: all .3s ease;
}
.float-tooltip::after {
  content: ''; position: absolute; right: -5px; top: 50%; transform: translateY(-50%);
  width: 0; height: 0;
  border-style: solid; border-width: 5px 0 5px 5px;
  border-color: transparent transparent transparent var(--slate-900);
}
.float-whatsapp:hover .float-tooltip { opacity: 1; right: 80px; }

.scroll-top {
  position: fixed; bottom: 95px; right: 25px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad-primary);
  color: var(--white);
  border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  box-shadow: 0 8px 20px rgba(14,165,233,.4);
  opacity: 0; visibility: hidden; transform: translateY(20px);
  transition: all .3s ease;
  z-index: 998;
}
.scroll-top.active { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(14,165,233,.55); }

.mobile-sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--grad-primary);
  color: var(--white);
  text-align: center;
  padding: .95rem 1rem;
  font-family: var(--font-heading); font-weight: 600;
  font-size: 1rem;
  z-index: 997;
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  box-shadow: 0 -8px 24px rgba(14,165,233,.35);
  text-decoration: none;
}
.mobile-sticky-cta:hover { color: var(--white); }

@media (max-width: 991px) {
  body { padding-bottom: 60px; }
  .float-whatsapp { bottom: 75px; }
  .scroll-top { bottom: 140px; }
}

/* ============== FORM VALIDATION ============== */
.form-control.is-invalid,
.form-select.is-invalid {
  border-color: var(--red-500);
  background-image: none;
}
.form-control.is-valid,
.form-select.is-valid {
  border-color: var(--green-500);
  background-image: none;
}

/* Success toast */
.success-toast {
  position: fixed; top: 100px; right: 25px;
  background: var(--white);
  border-left: 4px solid var(--green-500);
  padding: 1rem 1.5rem;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-xl);
  display: flex; align-items: center; gap: .75rem;
  transform: translateX(120%);
  transition: transform .4s cubic-bezier(.34, 1.56, .64, 1);
  z-index: 9999;
  max-width: 340px;
}
.success-toast.show { transform: translateX(0); }
.success-toast i {
  color: var(--green-500); font-size: 1.5rem;
}
.success-toast div h6 { font-size: .95rem; margin-bottom: .15rem; }
.success-toast div p { font-size: .82rem; color: var(--slate-500); margin: 0; }

/* ============== RESPONSIVE FIXES ============== */
@media (max-width: 768px) {
  html { scroll-padding-top: 80px; }
  .navbar-collapse {
    background: var(--white);
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--r-md);
    box-shadow: var(--shadow-md);
  }
  .navbar-nav { gap: .25rem; }
  .navbar-nav .nav-link { padding: .65rem 1rem !important; }
  .hero-mini-stats { gap: 1.25rem; }
  .float-card { font-size: .85rem; padding: .5rem .75rem; }
  .fc-icon { width: 36px; height: 36px; font-size: .9rem; border-radius: 10px; }
  .fc-title { font-size: .82rem; }
  .fc-sub { font-size: .68rem; }
}
@media (max-width: 575px) {
  .card-emergency { top: 2%; left: 0; }
  .card-nicu { top: 35%; right: 0; }
  .card-rating { bottom: 0; left: 0; }
  .about-img-sec { display: none; }
  .nicu-img-sec { display: none; }
  .about-experience-badge { padding: .7rem .85rem; }
  .aeb-num { font-size: 1.5rem; }
  .aeb-text { font-size: .72rem; }
}

/* Accessibility */
*:focus-visible { outline: 2px solid var(--blue-500); outline-offset: 2px; border-radius: 4px; }
button:focus, a:focus, input:focus, select:focus, textarea:focus { outline: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
