:root{
  --blue:#0B5FA5;
  --blue-dark:#063A66;
  --blue-tint:#EAF2FA;
  --teal:#0F9B8E;
  --teal-dark:#0B7A70;
  --teal-tint:#E6F5F3;
  --white:#FFFFFF;
  --grey-bg:#F5F7F9;
  --grey-border:#E2E8ED;
  --ink:#14283D;
  --muted:#5B6B7A;
  --radius:16px;
  --radius-sm:10px;
  --shadow:0 2px 18px rgba(20,40,61,0.07);
  --shadow-md:0 8px 30px rgba(20,40,61,0.10);
  --maxw:1200px;
}
*{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:'Inter',sans-serif;
  color:var(--ink);
  background:var(--white);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4,.disp{font-family:'Poppins',sans-serif;font-weight:600;color:var(--blue-dark);letter-spacing:-0.01em;}
a{color:inherit;text-decoration:none;}
img{max-width:100%;display:block;}
ul{list-style:none;}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 24px;}
section{padding:88px 0;}
.eyebrow{
  display:inline-flex;align-items:center;gap:8px;
  font-size:13px;font-weight:600;letter-spacing:0.06em;text-transform:uppercase;
  color:var(--teal-dark);background:var(--teal-tint);
  padding:6px 14px;border-radius:20px;margin-bottom:16px;
}
.section-head{max-width:640px;margin-bottom:48px;}
.section-head h2{font-size:clamp(28px,3.2vw,38px);margin-bottom:14px;}
.section-head p{color:var(--muted);font-size:16.5px;}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  font-family:'Inter',sans-serif;font-weight:600;font-size:15px;
  padding:14px 26px;border-radius:10px;border:1.5px solid transparent;
  cursor:pointer;transition:background .15s ease,border-color .15s ease,color .15s ease;
  white-space:nowrap;
}
.btn-primary{background:var(--blue);color:#fff;}
.btn-primary:hover{background:var(--blue-dark);}
.btn-teal{background:var(--teal);color:#fff;}
.btn-teal:hover{background:var(--teal-dark);}
.btn-outline{background:transparent;color:var(--blue-dark);border-color:var(--grey-border);}
.btn-outline:hover{border-color:var(--blue);color:var(--blue);}
.btn-ghost-white{background:rgba(255,255,255,0.12);color:#fff;border-color:rgba(255,255,255,0.4);}
.btn-ghost-white:hover{background:rgba(255,255,255,0.22);}
.btn-block{width:100%;}

/* ---------- vitals divider (signature element) ---------- */
.vitals{width:100%;height:34px;overflow:hidden;}
.vitals svg{width:100%;height:100%;display:block;}

/* ---------- top bar ---------- */
.topbar{background:var(--blue-dark);color:#DCE9F5;font-size:13px;}
.topbar .wrap{display:flex;align-items:center;justify-content:space-between;padding:9px 24px;}
.topbar .left{display:flex;gap:22px;align-items:center;flex-wrap:wrap;}
.topbar .left span{display:inline-flex;align-items:center;gap:6px;}
.topbar .right{display:flex;gap:18px;align-items:center;}
.topbar a:hover{color:#fff;}
.dot-live{width:7px;height:7px;border-radius:50%;background:#4FD1B5;display:inline-block;}

/* ---------- nav ---------- */
header.site{position:sticky;top:0;background:#fff;z-index:100;border-bottom:1px solid var(--grey-border);}
nav.main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
  gap: 20px; /* Prevents components from touching */
}
.logo{display:flex;align-items:center;gap:10px;font-family:'Poppins';font-weight:700;font-size:21px;color:var(--blue-dark);}
.logo .mark{width:34px;height:34px;border-radius:99px;background:var(--blue);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.logo .mark svg{width:19px;height:19px;}
.navlinks {
  display: flex;
  gap: 20px; /* Reduced from 30px to fit all items comfortably */
  align-items: center;
  flex-wrap: nowrap;
}
.navlinks a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap; /* Forces text like "Dental Clinic" to stay on one line */
}
.navlinks a:hover{color:var(--blue);}
.navcta {
  display: flex;
  gap: 12px;
  align-items: center;
  white-space: nowrap;
}
.navcta a.login{font-size:14.5px;font-weight:600;color:var(--blue-dark);padding:10px 6px;}
.burger{display:none;background:none;border:none;cursor:pointer;}

/* ---------- hero ---------- */
.hero{background:var(--grey-bg);padding:60px 0 0;}
.hero .wrap{display:grid;grid-template-columns:1.05fr 0.95fr;gap:56px;align-items:center;}
.hero h1{font-size:clamp(34px,4.2vw,52px);line-height:1.12;margin-bottom:20px;}
.hero h1 .accent{color:var(--teal);}
.hero p.lead{font-size:17.5px;color:var(--muted);max-width:480px;margin-bottom:30px;}
.hero-ctas{display:flex;gap:14px;margin-bottom:40px;flex-wrap:wrap;}
.hero-badges{display:flex;gap:28px;flex-wrap:wrap;}
.hero-badges .b{display:flex;align-items:center;gap:10px;font-size:14px;color:var(--muted);font-weight:500;}
.hero-badges svg{width:20px;height:20px;flex-shrink:0;color:var(--teal);}
.hero-media{position:relative;}
.hero-media img{border-radius:20px;width:100%;height:440px;object-fit:cover;box-shadow:var(--shadow-md);}
.hero-floatcard{
  position:absolute;bottom:-28px;left:-28px;background:#fff;border-radius:14px;
  box-shadow:var(--shadow-md);padding:16px 20px;display:flex;gap:12px;align-items:center;
  border:1px solid var(--grey-border);max-width:250px;
}
.hero-floatcard .ico{width:42px;height:42px;border-radius:10px;background:var(--teal-tint);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.hero-floatcard .ico svg{width:22px;height:22px;color:var(--teal-dark);}
.hero-floatcard strong{display:block;font-size:14px;color:var(--blue-dark);}
.hero-floatcard span{font-size:12.5px;color:var(--muted);}

/* ---------- booking widget ---------- */
.booking-panel{
  background:#fff;border-radius:var(--radius);box-shadow:var(--shadow-md);
  border:1px solid var(--grey-border);padding:26px 26px 22px;margin:56px auto 0;max-width:var(--maxw);
  transform:translateY(40px);position:relative;z-index:2;
}
.booking-panel h3{font-size:16px;margin-bottom:4px;}
.booking-panel > p{color:var(--muted);font-size:13.5px;margin-bottom:18px;}
.booking-grid{display:grid;grid-template-columns:repeat(4,1fr) auto;gap:14px;align-items:end;}
.field label{display:block;font-size:12.5px;font-weight:600;color:var(--muted);margin-bottom:7px;text-transform:uppercase;letter-spacing:0.03em;}
.field select,.field input{
  width:100%;padding:12px 12px;border-radius:9px;border:1.5px solid var(--grey-border);
  font-family:'Inter';font-size:14.5px;color:var(--ink);background:#fff;
}
.field select:focus,.field input:focus{outline:none;border-color:var(--blue);}
.booking-grid .btn{height:46px;}
.hero-spacer{height:56px;}

/* ---------- trust stats ---------- */
.stats{background:var(--blue-dark);}
.stats .wrap{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;padding:52px 24px;}
.stat{text-align:center;color:#fff;}
.stat strong{display:block;font-family:'Poppins';font-size:36px;font-weight:700;margin-bottom:6px;}
.stat span{font-size:13.5px;color:#B7D0E8;font-weight:500;}

/* ---------- services ---------- */
.services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
.svc-card{
  background:#fff;border:1px solid var(--grey-border);border-radius:var(--radius);
  padding:28px;transition:box-shadow .15s ease, transform .15s ease;
}
.svc-card:hover{box-shadow:var(--shadow-md);transform:translateY(-3px);}
.svc-card .ico{width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;margin-bottom:18px;}
.svc-card .ico svg{width:24px;height:24px;}
.svc-card h3{font-size:18.5px;margin-bottom:10px;}
.svc-card p{color:var(--muted);font-size:14.5px;margin-bottom:16px;}
.svc-card .go{font-size:13.5px;font-weight:600;color:var(--blue);display:inline-flex;align-items:center;gap:6px;}
.ico-blue{background:var(--blue-tint);color:var(--blue);}
.ico-teal{background:var(--teal-tint);color:var(--teal-dark);}

/* ---------- how it works ---------- */
.steps{background:var(--grey-bg);}
.steps-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;}
.step{background:#fff;border-radius:var(--radius);padding:26px 22px;border:1px solid var(--grey-border);position:relative;}
.step .num{font-family:'Poppins';font-weight:700;font-size:14px;color:var(--teal-dark);background:var(--teal-tint);width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin-bottom:14px;}
.step h4{font-size:15.5px;margin-bottom:8px;}
.step p{font-size:13.5px;color:var(--muted);}

/* ---------- doctors ---------- */
.doctor-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;}
.doc-card{border:1px solid var(--grey-border);border-radius:var(--radius);overflow:hidden;background:#fff;}
.doc-card img{width:100%;height:220px;object-fit:cover;}
.doc-body{padding:18px 18px 20px;}
.doc-body h4{font-size:16px;margin-bottom:3px;}
.doc-body .role{font-size:13px;color:var(--teal-dark);font-weight:600;margin-bottom:10px;}
.doc-body .meta{display:flex;justify-content:space-between;align-items:center;font-size:12.5px;color:var(--muted);border-top:1px solid var(--grey-border);padding-top:12px;}
.rating{display:flex;align-items:center;gap:4px;color:#C98A1B;font-weight:600;}

/* ---------- pharmacy promo ---------- */
.pharmacy-band{background:var(--teal-dark);border-radius:24px;padding:56px;display:grid;grid-template-columns:1.1fr 0.9fr;gap:40px;align-items:center;}
.pharmacy-band .content{color:#fff;}
.pharmacy-band .eyebrow{background:rgba(255,255,255,0.14);color:#fff;}
.pharmacy-band h2{color:#fff;font-size:clamp(26px,3vw,34px);margin-bottom:14px;}
.pharmacy-band p{color:#CFEDE8;font-size:16px;margin-bottom:26px;max-width:460px;}
.pharmacy-perks{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:28px;}
.pharmacy-perks div{display:flex;gap:9px;align-items:center;font-size:13.5px;color:#fff;font-weight:500;}
.pharmacy-perks svg{width:17px;height:17px;flex-shrink:0;}
.pharmacy-band img{border-radius:16px;width:100%;height:340px;object-fit:cover;}

/* ---------- testimonials ---------- */
.testi-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
.testi-card{background:var(--grey-bg);border-radius:var(--radius);padding:28px;border:1px solid var(--grey-border);}
.testi-card .stars{color:#C98A1B;font-size:14px;margin-bottom:14px;}
.testi-card p.quote{font-size:15px;color:var(--ink);margin-bottom:20px;}
.testi-who{display:flex;align-items:center;gap:12px;}
.testi-who img{width:42px;height:42px;border-radius:50%;object-fit:cover;}
.testi-who strong{font-size:14px;display:block;}
.testi-who span{font-size:12.5px;color:var(--muted);}

/* ---------- blog ---------- */
.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
.blog-card{border:1px solid var(--grey-border);border-radius:var(--radius);overflow:hidden;background:#fff;}
.blog-card img{width:100%;height:190px;object-fit:cover;}
.blog-body{padding:20px;}
.blog-tag{display:inline-block;font-size:11.5px;font-weight:700;text-transform:uppercase;letter-spacing:0.04em;color:var(--blue);background:var(--blue-tint);padding:4px 10px;border-radius:6px;margin-bottom:12px;}
.blog-body h4{font-size:16.5px;margin-bottom:10px;line-height:1.35;}
.blog-meta{font-size:12.5px;color:var(--muted);border-top:1px solid var(--grey-border);padding-top:12px;margin-top:12px;}

/* ---------- branches ---------- */
.branch-wrap{display:grid;grid-template-columns:1fr 1fr;gap:24px;}
.branch-card{border:1px solid var(--grey-border);border-radius:var(--radius);padding:24px;background:#fff;display:flex;flex-direction:column;gap:14px;}
.branch-card .map{height:150px;border-radius:12px;background:var(--blue-tint) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="400" height="150"><rect width="400" height="150" fill="%23EAF2FA"/></svg>') center/cover;position:relative;display:flex;align-items:center;justify-content:center;}
.branch-card .map svg{width:30px;height:30px;color:var(--blue);}
.branch-card h4{font-size:16.5px;}
.branch-row{display:flex;gap:10px;font-size:13.5px;color:var(--muted);align-items:flex-start;}
.branch-row svg{width:16px;height:16px;flex-shrink:0;margin-top:2px;color:var(--teal-dark);}
.branch-foot{display:flex;gap:10px;margin-top:6px;}

/* ---------- faq ---------- */
.faq-list{max-width:820px;}
.faq-item{border-bottom:1px solid var(--grey-border);}
.faq-q{display:flex;align-items:center;justify-content:space-between;padding:20px 4px;cursor:pointer;font-weight:600;font-size:15.5px;color:var(--blue-dark);}
.faq-q svg{width:18px;height:18px;flex-shrink:0;transition:transform .2s ease;color:var(--muted);}
.faq-item.open .faq-q svg{transform:rotate(45deg);}
.faq-a{max-height:0;overflow:hidden;transition:max-height .25s ease;}
.faq-item.open .faq-a{max-height:200px;}
.faq-a p{padding:0 4px 20px;color:var(--muted);font-size:14.5px;max-width:680px;}

/* ---------- emergency strip ---------- */
.emergency{background:#FBEAE7;border-top:1px solid #F3C9C1;border-bottom:1px solid #F3C9C1;}
.emergency .wrap{display:flex;align-items:center;justify-content:space-between;padding:18px 24px;flex-wrap:wrap;gap:14px;}
.emergency .left{display:flex;align-items:center;gap:14px;}
.emergency .ico{width:44px;height:44px;border-radius:50%;background:#F0997B;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.emergency .ico svg{width:22px;height:22px;color:#fff;}
.emergency strong{display:block;font-size:15px;color:#4A1B0C;}
.emergency span{font-size:13.5px;color:#712B13;}

/* ---------- final cta ---------- */
.cta-final{background:var(--blue);border-radius:24px;padding:64px;text-align:center;}
.cta-final h2{color:#fff;font-size:clamp(26px,3.2vw,36px);margin-bottom:14px;}
.cta-final p{color:#CFE1F4;font-size:16.5px;max-width:520px;margin:0 auto 30px;}
.cta-final .row{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;}

/* ---------- footer ---------- */
footer{background:var(--blue-dark);color:#B7D0E8;padding:64px 0 0;}
.foot-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr 1.2fr;gap:32px;padding-bottom:48px;border-bottom:1px solid rgba(255,255,255,0.12);}
.foot-grid h5{color:#fff;font-size:14px;margin-bottom:16px;font-family:'Poppins';font-weight:600;}
.foot-grid li{margin-bottom:10px;font-size:13.5px;}
.foot-grid a:hover{color:#fff;}
.foot-logo{display:flex;align-items:center;gap:10px;font-family:'Poppins';font-weight:700;font-size:19px;color:#fff;margin-bottom:14px;}
.foot-logo .mark{width:30px;height:30px;border-radius:8px;background:var(--teal);display:flex;align-items:center;justify-content:center;}
.foot-logo .mark svg{width:16px;height:16px;color:#fff;}
footer .about-txt{font-size:13.5px;line-height:1.7;max-width:280px;margin-bottom:18px;}
.foot-social{display:flex;gap:10px;}
.foot-social a{width:34px;height:34px;border-radius:50%;background:rgba(255,255,255,0.08);display:flex;align-items:center;justify-content:center;}
.foot-social a:hover{background:var(--teal);}
.foot-social svg{width:16px;height:16px;}
.foot-bottom{display:flex;justify-content:space-between;align-items:center;padding:24px 24px;font-size:12.5px;flex-wrap:wrap;gap:10px;}
.foot-bottom .links{display:flex;gap:20px;}

/* ---------- whatsapp float ---------- */
.wa-float{position:fixed;bottom:26px;right:26px;width:56px;height:56px;border-radius:50%;background:#25D366;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 18px rgba(0,0,0,0.2);z-index:200;}
.wa-float svg{width:28px;height:28px;color:#fff;}

/* ---------- responsive ---------- */
@media(max-width:1024px){
  .hero .wrap{grid-template-columns:1fr;}
  .hero-media{order:-1;}
  .booking-grid{grid-template-columns:1fr 1fr;}
  .stats .wrap{grid-template-columns:repeat(2,1fr);}
  .services-grid,.doctor-grid,.testi-grid,.blog-grid{grid-template-columns:repeat(2,1fr);}
  .steps-grid{grid-template-columns:repeat(2,1fr);}
  .pharmacy-band{grid-template-columns:1fr;}
  .pharmacy-band img{height:260px;order:-1;}
  .branch-wrap{grid-template-columns:1fr;}
  .foot-grid{grid-template-columns:1fr 1fr;}
}
@media(max-width:720px){
  /* Hide the desktop layout setup */
  .navlinks {
    display: none; 
    flex-direction: column;
    position: absolute;
    top: 100%; /* Sits right below the header */
    left: 0;
    width: 100%;
    background: #fff;
    padding: 24px;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--grey-border);
    gap: 16px;
    align-items: flex-start;
  }
  section{padding:60px 0;}
  .services-grid,.doctor-grid,.testi-grid,.blog-grid,.steps-grid{grid-template-columns:1fr;}
  .booking-grid{grid-template-columns:1fr;}
  .booking-panel{transform:none;margin-top:32px;}
  .hero-spacer{height:32px;}
  .cta-final{padding:44px 24px;}
  .foot-grid{grid-template-columns:1fr;padding-bottom:32px;}
  .hero-floatcard{position:static;margin-top:16px;max-width:100%;}
}