:root{
  --bg:#f5f9ff;
  --card:#ffffff;
  --text:#031018;
  --muted:#45525a;
  --accent:#0F6EA3;   /* blue */
  --accent-soft:#e3f3ff;
  --accent-2:#0B8F6D; /* green */
  --danger:#FF6B4D;
  --radius:14px;
  --shadow-soft:0 4px 12px rgba(10,41,68,0.08);
  --shadow-light:0 3px 10px rgba(15,110,163,0.10);
  --header-height:72px;
  --font-heading: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-accent: "Poppins", sans-serif;
}

*,
*::before,
*::after{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family: var(--font-body);
  background: linear-gradient(160deg,#eaf4ff 0%,#f6fbff 50%,#e4fff4 100%);
  color:#0b1f2b;
}

/* Utility */
.container{
  max-width:1100px;
  margin:0 auto;
  padding:0 16px;
}

.section{
  padding:60px 0;
}

.section-alt{
  padding:60px 0;
  background:#f6fbff;
}

.section-title{
  font-size:30px;
  margin:0 0 8px;
  text-align:center;
  letter-spacing: 0.4px;
  background: linear-gradient(90deg,#0f6ea3,#14a68b,#0b8f6d);
  -webkit-background-clip: text;
  color: transparent;
  font-family: var(--font-heading);
  font-weight: 700;
}

.section-sub{
  max-width:640px;
  margin:0 auto 28px;
  text-align:center;
  color:var(--muted);
  font-family: var(--font-body);
  font-size: 15px;
}

.section-sub,
.info-card p,
.doctor-info p,
.facility-card p {
  color: #4a5a65 !important;
}

/* Header */
.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(255,255,255,0.96);
  box-shadow:0 4px 14px rgba(0,60,120,0.08);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:var(--header-height);
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:inherit;
}

.logo-circle{
  width:40px;
  height:40px;
  border-radius:50%;
  background:linear-gradient(135deg,var(--accent),var(--accent-2));
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 6px 18px rgba(15,110,163,0.5);
}

.logo-text{
  color:#fff;
  font-weight:700;
}

.brand-text .hospital-name{
  font-weight:700;
  font-size:16px;
}

.brand-text .tagline{
  font-size:11px;
  color:var(--muted);
}

/* Nav */
.site-nav{
  display:flex;
  gap:16px;
  align-items:center;
}

.nav-link{
  text-decoration:none;
  font-size:14px;
  color:var(--muted);
  padding:6px 10px;
  border-radius:999px;
  transition:background 0.2s, color 0.2s;
}

.nav-link:hover,
.nav-link.active{
  background:var(--accent-soft);
  color:var(--accent);
}

/* Burger */
.burger{
  display:none;
  width:38px;
  height:34px;
  border:none;
  background:transparent;
  padding:0;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:4px;
  cursor:pointer;
}

.burger span{
  width:24px;
  height:2px;
  background:var(--text);
  border-radius:1px;
  transition:transform 0.2s, opacity 0.2s;
}

/* Hero */
.hero{
  padding:64px 0 56px;
  background: linear-gradient(160deg, rgba(255,255,255,0.55) 0%, rgba(240,250,255,0.85) 70%);
}

.hero-inner{
  display:grid;
  grid-template-columns: minmax(0,1.1fr) minmax(0,0.9fr);
  gap:32px;
  align-items:center;
}

.hero h1{
  font-size:32px;
  line-height:1.2;
  margin:0 0 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.3px;
}

.hero-sub{
  margin:0 0 18px;
  color:var(--muted);
  line-height:1.6;
  font-family: var(--font-body);
  font-size: 15px;
}

.hero-ctas{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:22px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:11px 18px;
  border-radius:999px;
  border:2px solid transparent;
  font-weight:600;
  font-size:15px;
  font-family: var(--font-heading);
  cursor:pointer;
  text-decoration:none;
  transition:transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease,color 0.15s;
}

.btn-primary{
  background:linear-gradient(135deg,#0f6ea3,#18a4ff,#13c0a3);
  color:#fff;
  box-shadow:var(--shadow-light);
}

.btn-primary:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 30px rgba(15,110,163,0.35);
}

.btn-outline{
  background:#fff;
  color:var(--accent);
  border-color:var(--accent-soft);
}

.btn-outline:hover{
  background:var(--accent-soft);
}

.btn-block{
  width:100%;
}

/* Hero stats */
.hero-stats{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.stat-card{
  font-weight:700;
  font-size:20px;
  color:var(--accent);
  font-family: var(--font-heading);
}

.stat-label{
  font-size:12px;
  color:var(--muted);
  font-family: var(--font-body);
}

/* Hero right card */
.hero-right{
  display:flex;
  justify-content:center;
}

.hero-card{
  background:linear-gradient(145deg,#ffffff,#eaf4ff);
  border-radius:20px;
  padding:14px;
  box-shadow:0 4px 12px rgba(0,0,0,0.08);
  transition:transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-card img{
  display:block;
  width:100%;
  border-radius:14px;
}

.hero-card-info{
  margin-top:10px;
}

.hero-card-info h3{
  margin:0 0 4px;
  font-size:16px;
}

.hero-card-info p{
  margin:0;
  font-size:13px;
  color:var(--muted);
}

.tilt-card:hover .hero-card{
  transform:translateY(-4px) rotate3d(1,-1,0,3deg);
  box-shadow:0 22px 40px rgba(10,41,68,0.2);
}

/* About */
.about-grid{
  display:grid;
  grid-template-columns: minmax(0,1.4fr) minmax(0,1fr);
  gap:24px;
  align-items:flex-start;
}

.about-text p{
  margin:0 0 10px;
  color:var(--muted);
}

.about-stats{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(130px,1fr));
  gap:10px;
}

.about-stat-card{
  background:#fff;
  border-radius:12px;
  padding:12px 14px;
  box-shadow:0 8px 22px rgba(0,0,0,0.04);
}

.about-stat-number{
  display:block;
  font-weight:700;
  font-size:18px;
  color:var(--accent);
}

.about-stat-label{
  font-size:12px;
  color:var(--muted);
}

/* Cards grid */
.cards-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:16px;
}

.cards-grid .info-card {
  animation: fade-slide 0.6s ease forwards;
  opacity:0;
}
@keyframes fade-slide {
  0% { opacity:0; transform: translateY(18px); }
  100% { opacity:1; transform: translateY(0); }
}

.info-card{
  background:#fff;
  border-radius:16px;
  padding:18px;
  box-shadow:0 10px 22px rgba(15,110,163,0.10);
  transition:transform 0.25s ease, box-shadow 0.25s ease;
  font-family:"Segoe UI", system-ui, sans-serif;
  perspective: 800px;
  background: linear-gradient(145deg,#ffffff,#f7fbff);
  @apply .card-premium;
 }

@media (max-width: 480px){
  .info-card{
    box-shadow: 0 8px 22px rgba(0,0,0,0.14);
  }
  .info-card, .doctor-info, .facility-card {
    padding:14px;
    border-radius:12px;
  }
}

.info-card:hover{
  box-shadow:0 5px 14px rgba(0,0,0,0.08);
}

/* Removed transform line from .info-card:hover */

/* Removed backdrop-filter lines */

/* Removed backdrop-filter lines */

.icon-circle{
  font-size:18px;
  width:38px;
  height:38px;
  border-radius:50%;
  background:var(--accent-soft);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:8px;
}

.info-card h3{
  margin:0 0 6px;
  font-size:17px; 
  font-weight:700;
  font-family: var(--font-heading);
}

.info-card p{
  margin:0;
  font-size:14px;
  color:var(--muted);
  font-family: var(--font-body);
}

/* Doctors */
.doctors-grid .doctor-card{
  overflow:hidden;
  padding:0;
}

.doctor-card img{
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  background:#ffffff;
  box-shadow:0 6px 14px rgba(0,0,0,0.10);
}

.doctor-info{
  padding:14px 16px 16px;
  background: linear-gradient(145deg,#ffffff,#f6fcff);
  border-radius:0 0 14px 14px;
  box-shadow:0 4px 12px rgba(0,0,0,0.08);
  border: 1px solid #e4f3ff;
  @apply .card-premium;
}

.doctor-info h3{
  font-family: var(--font-heading);
  font-weight:700;
}

.doctor-info p {
  line-height:1.45;
}

.doc-specialty{
  margin:6px 0;
  font-size:15px;
  color:#0F6EA3;
  font-weight:600;
  letter-spacing: 0.3px;
  font-family: var(--font-heading);
}

.doc-meta{
  margin:0;
  font-size:13px;
  color:var(--muted);
  font-family: var(--font-body);
}

.doctor-department-pill {
  background: #e7f3ff !important;
  color: #0a4f8a !important;
  border: 1px solid #c4e2ff !important;
}

/* Facilities */
.facility-card{
  background:#fff;
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 4px 10px rgba(0,0,0,0.05);
  background: linear-gradient(150deg,#ffffff,#f8fbff);
  @apply .card-premium;
}

.facility-img img{
  width:100%;
  height:170px;
  object-fit:cover;
}

.facility-card h3{
  margin:10px 14px 4px;
  font-size:17px;
  font-family: var(--font-heading);
  font-weight:700;
}

.facility-card p{
  margin:0 14px 14px;
  font-size:13px;
  color:var(--muted);
  font-family: var(--font-body);
}

/* Contact */
.contact-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);
  gap:24px;
  align-items:flex-start;
}

.contact-block{
  margin-bottom:14px;
}

.contact-block h3{
  margin:0 0 4px;
  font-size:16px;
  font-family: var(--font-heading);
}

.contact-block p{
  margin:0;
  font-size:13px;
  color:var(--muted);
  font-family: var(--font-body);
}

.contact-block a{
  color:var(--accent);
  text-decoration:none;
}

.contact-block a:hover{
  text-decoration:underline;
}

.contact-form-wrapper{
  background:#fff;
  border-radius:16px;
  padding:18px;
  box-shadow:var(--shadow-soft);
}

.form-title{
  margin:0 0 12px;
  font-size:20px;
  font-family: var(--font-heading);
}

.form-row{
  margin-bottom:10px;
}

input, select, textarea{
  width:100%;
  border-radius:10px;
  border:1px solid #d0d9e2;
  padding:9px 11px;
  font:inherit;
  outline:none;
  transition:border-color 0.15s, box-shadow 0.15s;
  font-family: var(--font-body);
}

input:focus,
select:focus,
textarea:focus{
  border-color:var(--accent);
  box-shadow:0 0 0 2px rgba(15,110,163,0.15);
}

textarea{
  resize:vertical;
}

/* Map */
.map-wrapper{
  margin-top:26px;
}

.map-wrapper iframe{
  width:100%;
  height:260px;
  border:0;
  border-radius:14px;
  box-shadow:0 4px 10px rgba(0,0,0,0.05);
}

/* Footer */
.site-footer{
  background:#04293d;
  color:#d8e9f7;
  padding:16px 0;
  margin-top:32px;
  position: relative;
}

.site-footer::after{
  content:"Made by Sahil @ DigiBiz";
  display:block;
  text-align:center;
  font-size:11px;
  margin-top:6px;
  color:#7faecb;
}

.footer-inner{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  align-items:center;
  gap:8px;
}

.footer-small{
  font-size:12px;
  color:#d1e5f3;
  font-family: var(--font-body);
}

/* Floating WhatsApp */
/* Floating WhatsApp */
.whatsapp-float{
  position:fixed;
  right:18px;
  bottom:18px;
  width:62px;
  height:62px;
  border-radius:50%;
  background:#25D366;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:30px;
  cursor:pointer;
  z-index:999;
  border:none;
  box-shadow:0 6px 18px rgba(0,0,0,0.25);
  transition:transform 0.22s ease, box-shadow 0.22s ease;
}

/* Hover effect */
.whatsapp-float:hover{
  transform:scale(1.12) translateY(-3px);
  box-shadow:
    0 12px 30px rgba(0,0,0,0.28),
    0 0 0 6px rgba(37,211,102,0.5);
}

/* Removed @keyframes whatsapp-pop */

/* Add WhatsApp ripple glow */
.whatsapp-float::after{
  content:"";
  position:absolute;
  width:100%;
  height:100%;
  border-radius:50%;
  background:rgba(37,211,102,0.35);
  animation: ripple 3.5s infinite ease-out;
  pointer-events:none;
}

@keyframes ripple {
  0% {
    transform:scale(1);
    opacity:0.7;
  }
  100% {
    transform:scale(1.9);
    opacity:0;
  }
}

/* Scroll top */
.scroll-top{
  position:fixed;
  left:16px;
  bottom:18px;
  width:42px;
  height:42px;
  border-radius:50%;
  border:none;
  background:#ffffff;
  color:var(--accent);
  font-size:20px;
  display:none;
  align-items:center;
  justify-content:center;
  box-shadow:0 10px 24px rgba(0,0,0,0.18);
  cursor:pointer;
  z-index:98;
}

/* Animations */
.fade-up{
  opacity:0;
  transform:translateY(24px);
  transition:opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.in-view{
  opacity:1;
  transform:translateY(0);
}

/* Premium card hover glow */
.card-premium:hover{
  box-shadow:0 14px 30px rgba(0,80,140,0.12) !important;
  transform:translateY(-4px);
}

/* Responsive */
@media (max-width:900px){
  .hero-inner{
    grid-template-columns: 1fr;
  }
  .hero-right{
    order:-1;
  }
  .about-grid{
    grid-template-columns:1fr;
  }
  .contact-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width:768px){
  .site-nav{
    position:absolute;
    top:var(--header-height);
    right:0;
    left:0;
    background:#ffffff;
    flex-direction:column;
    padding:10px 16px 14px;
    gap:4px;
    border-bottom:1px solid #e0e6ee;
    display:none;
  }

  .site-nav.open{
    display:flex;
  }

  .burger{
    display:flex;
  }

  body.nav-open{
    overflow:hidden;
  }

  .hero{
    padding-top:40px;
  }

  .hero h1{
    font-size:24px;
  }

  .hero-stats{
    gap:8px;
  }
}

@media (max-width:480px){
  .stat-card{
    flex:1 1 calc(50% - 8px);
  }
}