:root{
  --primary:#1E5AA8;
  --accent:#4FA3FF;
  --bg:#F5F7FA;
  --white:#FFFFFF;
  --text:#2B2B2B;
  --muted:#68778d;
  --line:rgba(30,90,168,.12);
  --shadow:0 20px 60px rgba(30,90,168,.12);
  --shadow-soft:0 10px 30px rgba(30,90,168,.08);
  --radius:24px;
  --radius-sm:16px;
  --container:min(1180px,92vw);
  --gradient:linear-gradient(135deg,#1E5AA8 0%,#4FA3FF 100%);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}

body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.65;
}

img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
button,input,select,textarea{font:inherit}

.container{width:var(--container);margin-inline:auto}
.section{padding:88px 0}
.section-tight{padding:56px 0}
.bg-white{background:var(--white)}
.center{text-align:center}
.mt-24{margin-top:24px}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  color:var(--primary);
  background:rgba(79,163,255,.14);
  padding:.45rem .85rem;
  border-radius:999px;
  font-weight:700;
  font-size:.85rem;
}

.kicker{
  font-weight:800;
  color:var(--primary);
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:.8rem;
}

h1,h2,h3,h4{
  line-height:1.1;
  letter-spacing:-.03em;
  margin:0 0 1rem;
}

h1{font-size:clamp(2.6rem,5vw,4.6rem)}
h2{font-size:clamp(2rem,4vw,3rem)}
h3{font-size:1.25rem}

p{
  margin:0 0 1rem;
  color:var(--muted);
}

.lead{
  font-size:1.125rem;
  max-width:65ch;
}

.topbar{
  background:#0f3d76;
  color:#fff;
  font-size:.92rem;
}

.topbar-inner{
  display:flex;
  justify-content:space-between;
  gap:1rem;
  padding:.65rem 0;
  flex-wrap:wrap;
}

.topbar a{opacity:.95}

.site-header{
  position:sticky;
  top:0;
  z-index:1000;
  backdrop-filter:blur(14px);
  background:rgba(255,255,255,.88);
  border-bottom:1px solid var(--line);
  transition:.25s ease;
}

.site-header.scrolled{box-shadow:var(--shadow-soft)}

.navbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  padding:1rem 0;
}

.logo{
  display:flex;
  align-items:center;
  gap:.85rem;
  font-weight:900;
  letter-spacing:-.03em;
}

.logo-mark{
  width:46px;
  height:46px;
  border-radius:16px;
  background:var(--gradient);
  display:grid;
  place-items:center;
  color:#fff;
  font-weight:900;
  box-shadow:var(--shadow-soft);
}

.logo small{
  display:block;
  color:var(--muted);
  font-weight:600;
  font-size:.76rem;
}

.nav-links{
  display:flex;
  align-items:center;
  gap:1.1rem;
}

.nav-links a{
  font-weight:600;
  color:#2f4058;
}

.nav-links a.active,
.nav-links a:hover{
  color:var(--primary);
}

.menu-toggle{
  display:none;
  background:none;
  border:none;
  font-size:1.7rem;
}

.btns{
  display:flex;
  flex-wrap:wrap;
  gap:1rem;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.55rem;
  padding:1rem 1.3rem;
  border-radius:999px;
  border:1px solid transparent;
  font-weight:700;
  transition:.25s ease;
  cursor:pointer;
}

.btn:hover{transform:translateY(-2px)}

.btn-primary{
  background:var(--gradient);
  color:#fff;
  box-shadow:var(--shadow-soft);
}

.btn-secondary{
  background:#fff;
  border-color:var(--line);
  color:var(--primary);
}

.btn-block{width:100%}
.text-link{font-weight:800;color:var(--primary)}

.hero{
  padding:90px 0 64px;
  background:
    radial-gradient(circle at top right,rgba(79,163,255,.18),transparent 28%),
    linear-gradient(180deg,#fff,#f7fbff 44%,var(--bg));
}

.hero-grid,
.split,
.lead-profile,
.before-after{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:2rem;
  align-items:center;
}

.hero-card,
.card,
.highlight{
  background:#fff;
  border:1px solid var(--line);
  box-shadow:var(--shadow-soft);
  border-radius:var(--radius);
}

.hero-media{
  min-height:560px;
  padding:1.3rem;
  position:relative;
  overflow:hidden;
}

.hero-image{
  height:100%;
  border-radius:24px;
  background:
    linear-gradient(160deg,rgba(30,90,168,.92),rgba(79,163,255,.55)),
    url('https://images.unsplash.com/photo-1606811841689-23dfddce3e95?auto=format&fit=crop&w=1200&q=80') center/cover;
}

.hero-badge{
  position:absolute;
  background:#fff;
  padding:1rem 1.1rem;
  border-radius:18px;
  box-shadow:var(--shadow-soft);
  max-width:220px;
}

.badge-1{top:24px;left:20px}
.badge-2{bottom:24px;right:20px}

.stat-row,
.grid-2,
.grid-3,
.grid-4,
.gallery-grid,
.footer-grid{
  display:grid;
  gap:1.4rem;
}

.stat-row{
  grid-template-columns:repeat(3,minmax(0,1fr));
  margin-top:1.5rem;
}

.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}

.card,
.highlight{padding:1.5rem}

.highlight{
  background:var(--gradient);
  color:#fff;
  box-shadow:var(--shadow);
}

.highlight p,
.highlight h2{color:#fff}

.service-card ul,
.check-list{
  margin:.75rem 0 0;
  padding-left:1.1rem;
  color:var(--muted);
}

.check-list li{margin:.4rem 0}

.section-head{
  max-width:780px;
  margin:0 auto 2.1rem;
}

.section-head.center{
  max-width:760px;
  margin:0 auto 2.4rem;
  text-align:center;
}

.image-panel{
  min-height:420px;
  border-radius:28px;
  background:
    linear-gradient(160deg,rgba(30,90,168,.2),rgba(79,163,255,.15)),
    url('https://images.unsplash.com/photo-1629909613654-28e377c37b09?auto=format&fit=crop&w=1200&q=80') center/cover;
  box-shadow:var(--shadow);
}

.testimonial{
  position:relative;
  overflow:hidden;
}

.testimonial .quote{
  font-size:1.08rem;
  color:#30435f;
}

.author{
  font-weight:800;
  color:var(--text);
}

.role{
  font-size:.92rem;
  color:var(--muted);
}

.testimonial-meta{
  display:flex;
  justify-content:space-between;
  gap:1rem;
  align-items:center;
  flex-wrap:wrap;
}

.slider-controls{display:flex;gap:.6rem}

.slider-btn{
  width:44px;
  height:44px;
  border-radius:50%;
  border:1px solid var(--line);
  background:#fff;
  cursor:pointer;
}

.image-placeholder{
  min-height:250px;
  border-radius:20px;
  border:2px dashed rgba(30,90,168,.18);
  background:linear-gradient(145deg,#f9fbfb,#eef4f6);
  display:grid;
  place-items:center;
  color:var(--muted);
  text-align:center;
  padding:1.5rem;
}

.image-placeholder--profile{min-height:220px}

.page-hero{
  padding:80px 0 48px;
  background:linear-gradient(180deg,#fff,#f8fbff);
}

.breadcrumbs{
  display:flex;
  flex-wrap:wrap;
  gap:.5rem;
  padding:1.2rem 0;
  color:var(--muted);
  font-size:.95rem;
}

.form-card,
.mini-profile{height:100%}

.field,
label{
  display:grid;
  gap:.42rem;
  font-weight:600;
}

.input,
select,
textarea{
  width:100%;
  padding:1rem 1.1rem;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
}

.input:focus,
button:focus,
.faq-q:focus{
  outline:3px solid rgba(79,163,255,.22);
  outline-offset:2px;
}

.inline-note{
  font-weight:600;
  color:var(--primary);
}

.filter-bar,
.search-bar{
  display:flex;
  flex-wrap:wrap;
  gap:.75rem;
  margin-bottom:1.25rem;
  align-items:center;
}

.filter-btn{
  border:1px solid var(--line);
  background:#fff;
  color:var(--primary);
  padding:.8rem 1rem;
  border-radius:999px;
  font-weight:700;
  cursor:pointer;
}

.filter-btn.active{
  background:var(--primary);
  color:#fff;
}

.faq-list{max-width:860px}
.faq-item{margin-bottom:1rem}

.faq-q{
  width:100%;
  padding:1.2rem;
  border:none;
  background:#fff;
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-weight:800;
  cursor:pointer;
  text-align:left;
}

.faq-a{
  display:none;
  padding:0 1.2rem 1.2rem;
}

.faq-item.active .faq-a{display:block}

.map-wrap iframe{
  width:100%;
  min-height:460px;
  border:0;
  border-radius:var(--radius);
  box-shadow:var(--shadow-soft);
}

.site-footer{
  background:#0d2345;
  color:#eef5ff;
  padding:64px 0 28px;
}

.footer-grid{
  grid-template-columns:1.2fr .8fr .8fr .8fr;
}

.site-footer p,
.site-footer a{
  color:rgba(238,245,255,.82);
}

.socials{
  display:flex;
  flex-wrap:wrap;
  gap:.7rem;
  margin-top:1rem;
}

.socials a{
  width:42px;
  height:42px;
  border-radius:50%;
  background:rgba(255,255,255,.08);
  display:grid;
  place-items:center;
}

.footer-bottom{
  margin-top:2rem;
  padding-top:1rem;
  border-top:1px solid rgba(255,255,255,.08);
  display:flex;
  justify-content:space-between;
  gap:1rem;
  flex-wrap:wrap;
}

.whatsapp-float{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:1000;
  width:62px;
  height:62px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#25D366;
  color:#fff;
  font-size:1rem;
  font-weight:800;
  box-shadow:0 18px 30px rgba(37,211,102,.28);
}

.call-float{
  position:fixed;
  left:18px;
  bottom:18px;
  z-index:1000;
  padding:.95rem 1.1rem;
  border-radius:999px;
  background:var(--gradient);
  color:#fff;
  box-shadow:var(--shadow-soft);
  font-weight:800;
}

.chatbot-toggle{
  position:fixed;
  right:18px;
  bottom:94px;
  z-index:999;
  width:58px;
  height:58px;
  border:none;
  border-radius:50%;
  background:var(--gradient);
  color:#fff;
  font-size:1.4rem;
  box-shadow:var(--shadow-soft);
  cursor:pointer;
}

.chatbot{
  position:fixed;
  right:18px;
  bottom:162px;
  z-index:999;
  width:min(360px,calc(100vw - 36px));
  background:#fff;
  border-radius:24px;
  box-shadow:var(--shadow);
  border:1px solid var(--line);
  overflow:hidden;
  display:none;
}

.chatbot.open{display:block}

.chatbot-head{
  padding:1rem 1.2rem;
  background:var(--gradient);
  color:#fff;
}

.chatbot-body{
  padding:1rem;
  max-height:300px;
  overflow:auto;
  display:grid;
  gap:.85rem;
}

.bot-msg,
.user-msg{
  padding:.85rem 1rem;
  border-radius:18px;
  max-width:88%;
}

.bot-msg{
  background:#f0f6ff;
  color:#264260;
}

.user-msg{
  background:#e9f8ef;
  margin-left:auto;
}

.chatbot-form{
  display:flex;
  gap:.7rem;
  padding:1rem;
  border-top:1px solid var(--line);
}

.chatbot-form input{flex:1}
.small{font-size:.92rem}
.hidden{display:none!important}

/* ===== SERVICES PAGE REDESIGN ===== */
.services-grid-redesign{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1.8rem;
  align-items:stretch;
}

.service-card-portrait{
  padding:0;
  overflow:hidden;
  border-radius:28px;
  display:flex;
  flex-direction:column;
  min-height:100%;
  background:#fff;
  box-shadow:0 16px 40px rgba(30,90,168,.10);
  transition:transform .3s ease, box-shadow .3s ease;
}

.service-card-portrait:hover{
  transform:translateY(-8px);
  box-shadow:0 24px 54px rgba(30,90,168,.16);
}

.service-media{
  width:100%;
  overflow:hidden;
  background:#eef5fb;
  border-bottom:1px solid var(--line);
}

.service-media-standard{
  aspect-ratio:4 / 4.9;
}

.service-media-procedure{
  aspect-ratio:4 / 5.7;
}

.service-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
  display:block;
  transition:transform .45s ease;
}

.service-card-portrait:hover .service-media img{
  transform:scale(1.04);
}

.service-image-top{
  object-position:center top !important;
}

.service-card-content{
  padding:1.35rem 1.3rem 1.45rem;
  display:flex;
  flex-direction:column;
  flex:1;
}

.service-tag{
  display:inline-flex;
  align-items:center;
  width:fit-content;
  margin-bottom:.85rem;
  padding:.42rem .8rem;
  border-radius:999px;
  background:rgba(79,163,255,.14);
  color:var(--primary);
  font-size:.76rem;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
}

.service-card-portrait h3{
  margin-bottom:.7rem;
}

.service-card-portrait p{
  margin-bottom:1rem;
}

.service-card-portrait ul{
  margin:0 0 1.2rem;
  padding-left:1.1rem;
}

.service-card-portrait ul li{
  margin-bottom:.5rem;
}

.service-card-actions{
  margin-top:auto;
}

.service-link{
  display:inline-block;
  margin-top:.9rem;
  font-weight:800;
  color:var(--primary);
}

.service-link:hover{
  text-decoration:underline;
}

.service-card-featured{
  background:linear-gradient(135deg,#123c73 0%,#1E5AA8 55%,#4FA3FF 100%);
  border:none;
}

.service-card-featured .service-card-content{
  height:100%;
}

.service-card-featured .service-tag{
  background:rgba(255,255,255,.14);
  color:#fff;
}

.service-card-featured h3,
.service-card-featured p,
.service-card-featured li{
  color:#fff;
}

.service-card-featured .btn-secondary{
  background:#fff;
  color:var(--primary);
  border-color:#fff;
}

.service-card-cta{
  justify-content:center;
}

@media (max-width:1100px){
  .services-grid-redesign{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .hero-grid,
  .split,
  .lead-profile,
  .before-after,
  .grid-3,
  .footer-grid,
  .gallery-grid,
  .stat-row{
    grid-template-columns:1fr 1fr;
  }
}

@media (max-width:780px){
  .menu-toggle{display:block}

  .nav-links{
    position:absolute;
    top:100%;
    left:0;
    right:0;
    background:#fff;
    padding:1rem 4vw;
    display:none;
    flex-direction:column;
    align-items:flex-start;
    border-bottom:1px solid var(--line);
  }

  .nav-links.open{display:flex}

  .hero-grid,
  .split,
  .lead-profile,
  .before-after,
  .grid-2,
  .grid-3,
  .grid-4,
  .gallery-grid,
  .footer-grid,
  .stat-row{
    grid-template-columns:1fr;
  }

  .services-grid-redesign{
    grid-template-columns:1fr;
  }

  .service-media-standard{
    aspect-ratio:16 / 12.5;
  }

  .service-media-procedure{
    aspect-ratio:16 / 13.5;
  }

  .service-card-content{
    padding:1.15rem 1rem 1.25rem;
  }

  .hero-media{min-height:420px}
  .section{padding:72px 0}
  .topbar-inner,
  .footer-bottom{flex-direction:column}
  .call-float{left:12px;bottom:12px}
  .whatsapp-float{right:12px;bottom:12px}
  .chatbot-toggle{right:12px;bottom:84px}
  .chatbot{right:12px;bottom:150px}
}

/* ===== LEAD DOCTOR PAGE ===== */
.hero-team-single{
  padding:80px 0 54px;
  background:
    radial-gradient(circle at top right, rgba(79,163,255,.18), transparent 30%),
    linear-gradient(180deg,#fff,#f7fbff 48%,var(--bg));
}

.doctor-profile-grid{
  display:grid;
  grid-template-columns:1fr 1.05fr;
  gap:2rem;
  align-items:start;
}

.doctor-photo-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:28px;
  box-shadow:var(--shadow-soft);
  overflow:hidden;
}

.doctor-photo-wrap{
  width:100%;
  aspect-ratio:4 / 5;
  background:#eef5fb;
}

.doctor-photo-wrap img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
  display:block;
}

.doctor-photo-note{
  padding:1rem 1.15rem 1.2rem;
  display:grid;
  gap:.45rem;
}

.doctor-photo-note strong{
  color:var(--text);
  font-size:1rem;
}

.doctor-photo-note span{
  color:var(--muted);
  font-size:.95rem;
}

.doctor-profile-copy{
  background:#fff;
  border:1px solid var(--line);
  border-radius:28px;
  box-shadow:var(--shadow-soft);
  padding:2rem;
}

.doctor-value-list{
  margin:1rem 0 1.4rem;
  padding-left:1.1rem;
  color:var(--muted);
}

.doctor-value-list li{
  margin-bottom:.6rem;
}

.doctor-cta-row{
  display:flex;
  flex-wrap:wrap;
  gap:1rem;
  margin-top:1.2rem;
}

.doctor-trust-strip{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1.4rem;
}

.trust-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  box-shadow:var(--shadow-soft);
  padding:1.5rem;
}

.trust-card h3{
  margin-bottom:.8rem;
}

.doctor-booking-panel{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:1.6rem;
  align-items:stretch;
}

.doctor-booking-copy,
.doctor-booking-actions{
  background:#fff;
  border:1px solid var(--line);
  border-radius:28px;
  box-shadow:var(--shadow-soft);
  padding:1.7rem;
}

.doctor-booking-actions{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:1rem;
}

@media (max-width:1100px){
  .doctor-profile-grid,
  .doctor-booking-panel{
    grid-template-columns:1fr;
  }

  .doctor-trust-strip{
    grid-template-columns:1fr;
  }
}

@media (max-width:780px){
  .doctor-profile-copy,
  .doctor-booking-copy,
  .doctor-booking-actions{
    padding:1.2rem 1rem;
  }

  .doctor-photo-wrap{
    aspect-ratio:4 / 4.8;
  }

  .doctor-cta-row{
    flex-direction:column;
  }
}


/* GALLERY PAGE REDESIGN */
.hero-gallery-redesign{
  background:
    radial-gradient(circle at top right, rgba(79,163,255,.18), transparent 30%),
    linear-gradient(180deg,#fff,#f7fbff 48%,var(--bg));
}

.gallery-vertical-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1.8rem;
  align-items:stretch;
}

.gallery-vertical-card{
  padding:0;
  overflow:hidden;
  border-radius:28px;
  display:flex;
  flex-direction:column;
  height:100%;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:0 16px 40px rgba(30,90,168,.10);
  transition:transform .3s ease, box-shadow .3s ease;
}

.gallery-vertical-card:hover{
  transform:translateY(-6px);
  box-shadow:0 22px 50px rgba(30,90,168,.16);
}

.gallery-vertical-image{
  width:100%;
  background:#eef5fb;
  border-bottom:1px solid var(--line);
  overflow:hidden;
}

.gallery-vertical-image img{
  width:100%;
  height:auto;
  display:block;
  object-fit:contain;
}

.gallery-vertical-content{
  padding:1.35rem 1.25rem 1.45rem;
}

.gallery-label{
  display:inline-flex;
  align-items:center;
  width:fit-content;
  margin-bottom:.85rem;
  padding:.42rem .8rem;
  border-radius:999px;
  background:rgba(79,163,255,.14);
  color:var(--primary);
  font-size:.76rem;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
}

.gallery-vertical-content h3{
  margin-bottom:.75rem;
}

.gallery-conversion-panel{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:1.6rem;
  align-items:stretch;
}

.gallery-conversion-copy,
.gallery-conversion-actions{
  background:#fff;
  border:1px solid var(--line);
  border-radius:28px;
  box-shadow:var(--shadow-soft);
  padding:1.7rem;
}

.gallery-conversion-actions{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:1rem;
}

@media (max-width:1100px){
  .gallery-vertical-grid,
  .gallery-conversion-panel{
    grid-template-columns:1fr;
  }
}

@media (max-width:780px){
  .gallery-vertical-content,
  .gallery-conversion-copy,
  .gallery-conversion-actions{
    padding:1.2rem 1rem;
  }
}