:root {
  --pink: #e6437a;
  --pink-dark: #d02e64;
  --pink-light: #fdeef3;
  --blue: #1c3b6b;
  --blue-light: #eaf1fb;
  --purple-light: #f3ecfb;
  --green-light: #e9f8f0;
  --text: #3c3c46;
  --muted: #6b6b76;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(28,59,107,.08);
  font-size: 16px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}
h1,h2,h3,h4 { font-family: 'Poppins', sans-serif; color: var(--blue); margin: 0 0 .5em; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
ul { list-style: none; margin: 0; padding: 0; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 30px; font-weight: 600; font-size: .95rem; border: none; cursor: pointer; transition: .2s; }
.btn-primary { background: var(--pink); color: #fff; }
.btn-primary:hover { background: var(--pink-dark); transform: translateY(-1px); }
.btn-outline { background: #fff; color: var(--blue); border: 1.5px solid var(--blue); }
.btn-outline:hover { background: var(--blue-light); }
.btn-pill { background: var(--pink); color: #fff; padding: 11px 22px; font-size: .9rem; }
.btn-pill:hover { background: var(--pink-dark); }

/* HEADER */
.site-header { position: sticky; top: 0; background: #fff; z-index: 200; box-shadow: 0 2px 14px rgba(0,0,0,.05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 24px; gap: 20px; }
.logo img { height: 52px; }
.main-nav { display: flex; gap: 13px; flex: 1; justify-content: center; flex-wrap: wrap; }
.main-nav a { font-weight: 500; font-size: 13px; color: var(--blue); padding: 6px 2px; border-bottom: 2px solid transparent; }
.main-nav a.active, .main-nav a:hover { color: var(--pink); border-color: var(--pink); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2px; background: var(--blue); }

/* HERO */
.hero { position: relative; background: var(--pink-light); overflow: hidden; padding: 60px 0 90px; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: 2.6rem; line-height: 1.15; font-weight: 800; margin-bottom: .3em; }
.hero h1 .line-pink { color: var(--pink); }
.hero .subtitle { font-weight: 600; color: var(--text); font-size: 1.1rem; margin-bottom: .6em; }
.hero p.desc { color: var(--muted); margin-bottom: 1.6em; max-width: 480px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-image-wrap { position: relative; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); }
.hero-image-wrap img { width: 100%; height: 420px; object-fit: cover; }

/* WELCOME */
.welcome { padding: 80px 0; }
.welcome-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: center; }
.welcome-image { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.welcome-image img { height: 320px; object-fit: cover; width: 100%; }
.label-tag { color: var(--pink); font-weight: 700; letter-spacing: 1px; font-size: .8rem; text-transform: uppercase; }
.welcome-inner h2 { font-size: 1.9rem; }
.welcome-inner p { color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 30px; }
.feature-item { text-align: center; }
.feature-icon { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; }
.feature-icon.c1 { background: var(--pink-light); color: var(--pink); }
.feature-icon.c2 { background: var(--blue-light); color: var(--blue); }
.feature-icon.c3 { background: var(--green-light); color: #1f9d63; }
.feature-icon.c4 { background: var(--purple-light); color: #7c4fd1; }
.feature-item span { font-size: .85rem; font-weight: 600; color: var(--blue); }

/* SERVICES */
.services { padding: 60px 0 80px; background: #fff; }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 { font-size: 1.9rem; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card { background: #fff; border: 1px solid #eee; border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); transition: .2s; }
.service-card:hover { transform: translateY(-4px); }
.service-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--pink-light); color: var(--pink); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.service-icon svg { width: 26px; height: 26px; }
.service-card h4 { font-size: 1.02rem; margin-bottom: 8px; }
.service-card p { color: var(--muted); font-size: .9rem; margin: 0; }
.service-detail-list { margin: 12px 0 0; padding-left: 18px; }
.service-detail-list li { color: var(--muted); font-size: .84rem; margin-bottom: 4px; }

/* WHY CHOOSE US */
.why-choose { background: var(--pink-light); border-radius: 22px; padding: 34px 30px; margin-top: 20px; }
.why-choose h3 { text-align: center; color: var(--pink); font-size: .85rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 24px; }
.why-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; text-align: center; }
.why-grid .icon { width: 46px; height: 46px; margin: 0 auto 10px; color: var(--blue); }
.why-grid span { font-size: .85rem; font-weight: 600; color: var(--blue); }

/* CTA BANNER */
.cta-banner { background: linear-gradient(120deg, var(--pink) 0%, var(--pink-dark) 100%); color: #fff; padding: 34px 0; margin-top: 20px; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-left { display: flex; align-items: center; gap: 16px; }
.cta-icon { background: rgba(255,255,255,.18); border-radius: 50%; width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cta-left h3 { color: #fff; margin: 0; font-size: 1.3rem; }
.cta-left p { margin: 0; opacity: .9; }
.cta-right { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-box { background: #fff; color: var(--blue); border-radius: 14px; padding: 12px 18px; display: flex; align-items: center; gap: 12px; border: none; cursor: pointer; font-family: inherit; text-align: left; }
.cta-box strong { display: block; font-size: .92rem; }
.cta-box small { color: var(--muted); font-size: .78rem; }

/* FOOTER */
.site-footer { background: var(--blue); color: #dbe4f4; padding-top: 50px; }
.footer-inner { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 30px; padding-bottom: 30px; }
.footer-logo { height: 44px; filter: brightness(0) invert(1); margin-bottom: 12px; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer-col a, .footer-col p { display: block; color: #b9c5de; margin-bottom: 8px; font-size: .9rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom-bar { background: rgba(0,0,0,.15); padding: 14px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: .82rem; color: #b9c5de; }
.footer-bottom-inner span { display: flex; align-items: center; gap: 6px; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a { background: rgba(255,255,255,.15); width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .7rem; color: #fff; }
.copyright { text-align: center; padding: 14px 0; font-size: .8rem; color: #93a3c4; }
.copyright a { color: #fff; text-decoration: underline; }

/* WHATSAPP FLOAT */
.whatsapp-float { position: fixed; bottom: 24px; left: 24px; background: #25d366; color: #fff; width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,.25); z-index: 300; }

/* CHAT WIDGET */
.chat-widget { position: fixed; bottom: 24px; right: 24px; z-index: 300; }
.chat-toggle { width: 58px; height: 58px; border-radius: 50%; background: var(--pink); color: #fff; border: none; box-shadow: 0 6px 18px rgba(0,0,0,.25); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.chat-panel { display: none; position: absolute; bottom: 72px; right: 0; width: 340px; max-width: 88vw; background: #fff; border-radius: 16px; box-shadow: 0 14px 40px rgba(0,0,0,.2); overflow: hidden; flex-direction: column; }
.chat-panel.open { display: flex; }
.chat-panel-header { background: var(--blue); color: #fff; padding: 14px 16px; display: flex; align-items: center; gap: 10px; }
.chat-panel-header img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: #fff; }
.chat-panel-header small { display: block; opacity: .8; font-size: .72rem; }
.chat-panel-body { height: 320px; overflow-y: auto; padding: 14px; background: #f7f8fb; display: flex; flex-direction: column; gap: 10px; }
.chat-msg { max-width: 82%; padding: 9px 13px; border-radius: 12px; font-size: .87rem; line-height: 1.4; }
.chat-msg.bot { background: #fff; border: 1px solid #eee; align-self: flex-start; color: var(--text); }
.chat-msg.user { background: var(--pink); color: #fff; align-self: flex-end; }
.chat-panel-footer { display: flex; border-top: 1px solid #eee; }
.chat-panel-footer input { flex: 1; border: none; padding: 12px 14px; font-size: .88rem; outline: none; font-family: inherit; }
.chat-panel-footer button { background: var(--pink); color: #fff; border: none; width: 50px; cursor: pointer; }

/* MODAL */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(20,20,30,.55); z-index: 400; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.open { display: flex; }
.modal-box { background: #fff; border-radius: 18px; padding: 30px; width: 100%; max-width: 420px; position: relative; }
.modal-box h3 { margin-bottom: 4px; }
.modal-box p { color: var(--muted); font-size: .9rem; margin-bottom: 18px; }
.modal-close { position: absolute; top: 14px; right: 18px; background: none; border: none; font-size: 1.6rem; color: var(--muted); cursor: pointer; }
.modal-box form { display: flex; flex-direction: column; gap: 12px; }
.modal-box input, .modal-box textarea { padding: 12px 14px; border: 1px solid #ddd; border-radius: 10px; font-family: inherit; font-size: .92rem; }
#enquiryMsg { font-size: .85rem; text-align: center; }

/* GENERIC PAGE / BLOG */
.page-hero { background: var(--pink-light); padding: 50px 0; text-align: center; }
.page-hero h1 { font-size: 2rem; }
.page-content { padding: 60px 0; }
.page-content .container { max-width: 900px; }
.page-content img { border-radius: var(--radius); margin: 20px 0; }
.doctors-grid, .gallery-grid, .blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.doctor-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; text-align: center; padding-bottom: 20px; display: block; transition: .2s; }
.doctor-card:hover { transform: translateY(-4px); }
.doctor-card img { height: 260px; object-fit: cover; width: 100%; }
.doctor-card h4 { margin: 16px 0 4px; }
.doctor-card .designation { color: var(--pink); font-weight: 600; font-size: .88rem; margin-bottom: 6px; }
.doctor-card p { color: var(--muted); font-size: .87rem; padding: 0 16px; }
.view-profile-link { display: inline-block; margin-top: 10px; color: var(--pink); font-weight: 700; font-size: .85rem; }

/* DOCTOR SINGLE PROFILE PAGE */
.doctor-profile { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; }
.doctor-profile-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.doctor-profile-photo img { width: 100%; height: 340px; object-fit: cover; }
.doctor-profile-info h1 { font-size: 1.7rem; margin-bottom: 4px; }
.doctor-profile-info .designation { color: var(--pink); font-weight: 700; margin-bottom: 4px; }
.doctor-profile-info .experience-badge { display: inline-block; background: var(--pink-light); color: var(--pink); font-weight: 700; font-size: .8rem; padding: 5px 14px; border-radius: 20px; margin-bottom: 16px; }
.profile-tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 20px; }
.profile-tag { background: var(--blue-light); color: var(--blue); font-size: .82rem; font-weight: 600; padding: 6px 14px; border-radius: 20px; }
.profile-tag.spec { background: var(--green-light); color: #1f9d63; }
@media (max-width: 720px) {
  .doctor-profile { grid-template-columns: 1fr; }
}
.gallery-item { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.blog-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.blog-card img { height: 180px; object-fit: cover; width: 100%; }
.blog-card-body { padding: 18px 20px; }
.blog-card h4 { font-size: 1.05rem; margin-bottom: 8px; }
.blog-card p { color: var(--muted); font-size: .88rem; }
.blog-card .date { color: var(--pink); font-size: .78rem; font-weight: 600; text-transform: uppercase; margin-bottom: 6px; display:block; }
.blog-single img { width: 100%; height: 340px; object-fit: cover; border-radius: var(--radius); margin-bottom: 24px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info-item { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.contact-info-item .icon { background: var(--pink-light); color: var(--pink); width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-form { display: flex; flex-direction: column; gap: 12px; }
.contact-form input, .contact-form textarea { padding: 13px 16px; border: 1px solid #ddd; border-radius: 10px; font-family: inherit; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }

/* RESPONSIVE */
@media (max-width: 980px) {
  .hero-inner, .welcome-inner, .contact-grid { grid-template-columns: 1fr; }
  .hero-image-wrap { order: -1; }
  .feature-grid { grid-template-columns: repeat(2,1fr); }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .why-grid { grid-template-columns: repeat(3,1fr); }
  .doctors-grid, .gallery-grid, .blog-grid { grid-template-columns: repeat(2,1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .main-nav { position: fixed; top: 76px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 20px 24px; box-shadow: 0 10px 20px rgba(0,0,0,.08); display: none; }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .hero h1 { font-size: 2rem; }
  .services-grid, .why-grid, .doctors-grid, .gallery-grid, .blog-grid, .footer-inner { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .btn-call span, .btn-call { font-size: .85rem; }
  .chat-panel { width: 92vw; right: -10px; }
}
