/* ============ RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: #1a2540;
  background: #fafbfd;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

:root {
  --primary: #2b6cf6;
  --primary-deep: #1a4fc8;
  --primary-soft: #e8f0ff;
  --bg: #fafbfd;
  --card: #ffffff;
  --text: #1a2540;
  --muted: #6b7a99;
  --border: #e3e9f2;
  --gradient-brand: linear-gradient(135deg, #2b6cf6 0%, #5aa3f0 100%);
  --gradient-hero: linear-gradient(135deg, #f0f7ff 0%, #d6e8ff 50%, #b8dcf5 100%);
  --gradient-soft: linear-gradient(180deg, #ffffff 0%, #f4f8fd 100%);
  --shadow-soft: 0 4px 24px -8px rgba(43,108,246,0.18);
  --shadow-elev: 0 20px 50px -20px rgba(26,79,200,0.30);
  --shadow-glow: 0 10px 40px -10px rgba(43,108,246,0.45);
  --radius: 14px;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }

h1, h2, h3, h4 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; color: var(--text); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: 1.15rem; }

.eyebrow {
  display: inline-block;
  background: var(--primary-soft);
  color: var(--primary);
  padding: .35rem .85rem;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
  margin-bottom: 1rem;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .7rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .9rem;
  transition: all .25s ease;
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary { background: var(--gradient-brand); color: #fff; box-shadow: var(--shadow-glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -10px rgba(43,108,246,.55); }
.btn-outline { border-color: rgba(43,108,246,.3); color: var(--primary); background: #fff; }
.btn-outline:hover { background: var(--primary-soft); }
.btn-ghost { color: var(--text); }
.btn-ghost:hover { background: var(--primary-soft); color: var(--primary); }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { background: rgba(255,255,255,.92); }
.btn-outline-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }
.btn-lg { padding: .9rem 1.8rem; font-size: 1rem; }
.btn-sm { padding: .55rem 1.1rem; font-size: .82rem; }
.btn-block { width: 100%; }

/* ============ HEADER ============ */
#header {
  position: sticky; top: 0; z-index: 50;
  transition: all .3s ease;
  background: transparent;
}
#header.scrolled {
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: .9rem 1.25rem; gap: 1rem; }
.logo { display: flex; align-items: center; gap: .6rem; }
.logo-mark {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--gradient-brand); color: #fff; font-weight: 800;
  box-shadow: var(--shadow-glow);
}
.logo-text strong { display: block; font-size: 1rem; font-weight: 800; }
.logo-text small { font-size: 10px; text-transform: uppercase; letter-spacing: .18em; color: var(--muted); }

.nav-links { display: flex; gap: .25rem; }
.nav-links a {
  padding: .55rem 1rem; border-radius: 999px;
  font-size: .9rem; font-weight: 500; color: rgba(26,37,64,.75);
  transition: all .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); background: var(--primary-soft); }

.nav-cta { display: flex; gap: .5rem; }
.menu-toggle {
  display: none; width: 42px; height: 42px;
  border-radius: 10px; border: 1px solid var(--border);
  background: #fff; font-size: 1.3rem;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  background: var(--gradient-hero);
  overflow: hidden;
  padding: 4rem 0 5rem;
}
.hero-blob { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.blob-1 { width: 380px; height: 380px; background: rgba(43,108,246,.25); top: -100px; right: -100px; }
.blob-2 { width: 380px; height: 380px; background: rgba(180,225,240,.55); bottom: -120px; left: -100px; }

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1fr 1fr; } }

.rating-pill {
  display: inline-flex; align-items: center; gap: .4rem;
  border: 1px solid rgba(43,108,246,.2);
  background: rgba(255,255,255,.7); backdrop-filter: blur(10px);
  padding: .4rem 1rem; border-radius: 999px;
  font-size: .85rem; margin-bottom: 1.5rem;
}
.rating-pill span { color: var(--muted); font-size: .8rem; }

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
}
.gradient-text {
  display: block;
  background: var(--gradient-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-text > p { font-size: 1.05rem; color: var(--muted); max-width: 540px; margin-bottom: 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 2rem; }
.hero-features { display: flex; flex-wrap: wrap; gap: 1.25rem; font-size: .9rem; color: rgba(26,37,64,.85); }

.hero-visual { position: relative; }
.hero-image {
  border-radius: 24px; overflow: hidden;
  box-shadow: var(--shadow-elev);
  ring: 1px solid rgba(255,255,255,.4);
}
.hero-image img { width: 100%; height: 480px; object-fit: cover; }
.floating-card {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  padding: .9rem 1.1rem;
  box-shadow: var(--shadow-elev);
  display: flex; align-items: center; gap: .75rem;
}
.floating-card strong { display: block; font-size: .9rem; }
.floating-card small { color: var(--muted); font-size: .75rem; }
.card-bottom { bottom: -20px; left: -20px; animation: float 6s ease-in-out infinite; }
.card-top { top: -15px; right: -15px; }
.fc-icon { font-size: 1.5rem; }
.fc-badge {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--gradient-brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .85rem;
}
@media (max-width: 768px) { .floating-card { display: none; } .hero-image img { height: 320px; } }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ============ STATS ============ */
.stats { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 2rem; padding: 2.5rem 1.25rem; text-align: center;
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stats-grid h3 {
  font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800;
  background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stats-grid p { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 500; margin-top: .25rem; }

/* ============ SECTIONS ============ */
.section { padding: 5rem 0; }
.section-soft { background: var(--gradient-soft); }
.section-hero-bg { background: var(--gradient-hero); }
.section-head { max-width: 700px; margin: 0 auto 3rem; text-align: center; }
.section-head p { color: var(--muted); margin-top: 1rem; font-size: 1.05rem; }

/* ============ ABOUT ============ */
.about-grid {
  display: grid; gap: 3rem; align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.about-image { position: relative; }
.about-image img { border-radius: 24px; box-shadow: var(--shadow-elev); width: 100%; max-height: 560px; object-fit: cover; }
.doctor-card {
  position: absolute; bottom: -20px; right: -10px;
  background: #fff; padding: 1.25rem; border-radius: 16px;
  box-shadow: var(--shadow-elev); max-width: 240px;
}
.doctor-card strong { display: block; font-size: 1rem; margin: .25rem 0; }
.doctor-card small { color: var(--muted); font-size: .8rem; }

.check-list { margin: 1.5rem 0; }
.check-list li {
  display: flex; align-items: flex-start; gap: .6rem;
  margin-bottom: .65rem; color: rgba(26,37,64,.85);
}
.check-list li::before { content: "✓"; color: var(--primary); font-weight: 800; flex: none; }

/* ============ SERVICES ============ */
.services-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.service-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem;
  transition: all .3s ease; position: relative; overflow: hidden;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-elev); border-color: rgba(43,108,246,.3); }
.service-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--gradient-brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; box-shadow: var(--shadow-glow);
  margin-bottom: 1.25rem;
}
.service-card h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.service-card p { color: var(--muted); font-size: .9rem; }

/* ============ WHY US ============ */
.why-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.why-card {
  display: flex; gap: 1rem; padding: 1.5rem;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  transition: all .3s;
}
.why-card:hover { border-color: rgba(43,108,246,.4); box-shadow: var(--shadow-soft); }
.why-card > span {
  flex: none; width: 48px; height: 48px; border-radius: 12px;
  background: var(--primary-soft); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
}
.why-card strong { display: block; margin-bottom: .25rem; }
.why-card p { color: var(--muted); font-size: .88rem; }

/* ============ REVIEWS ============ */
.rating-big { margin-top: 1.5rem; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; gap: .5rem; flex-wrap: wrap; }
.rating-big strong { font-size: 1.5rem; }
.rating-big small { color: var(--muted); }

.testimonial-carousel { max-width: 760px; margin: 0 auto; }
.testimonial-card {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--border); border-radius: 24px;
  padding: 3rem 2rem; box-shadow: var(--shadow-elev);
}
.quote-mark {
  position: absolute; top: -10px; left: 1rem;
  font-size: 8rem; color: var(--primary-soft); font-family: serif;
  line-height: 1; pointer-events: none;
}
.t-stars { position: relative; margin-bottom: 1rem; font-size: 1.1rem; }
.t-text { position: relative; font-size: 1.4rem; font-weight: 500; line-height: 1.5; color: var(--text); margin-bottom: 1.5rem; }
.t-author { position: relative; display: flex; align-items: center; gap: .85rem; }
.t-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--gradient-brand); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800;
}
.t-author strong { display: block; }
.t-author small { color: var(--muted); font-size: .78rem; }

.carousel-controls { display: flex; align-items: center; justify-content: space-between; margin-top: 1.5rem; }
.carousel-controls button {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--border); background: #fff;
  font-size: 1.4rem; color: var(--text);
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.carousel-controls button:hover { background: var(--primary-soft); color: var(--primary); }
.dots { display: flex; gap: .35rem; }
.dots button {
  width: 8px; height: 6px; border-radius: 999px; background: var(--border);
  transition: all .25s; padding: 0;
}
.dots button.active { width: 28px; background: var(--primary); }

/* ============ GALLERY ============ */
.gallery-grid {
  display: grid; gap: .75rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
.gallery-item {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 4 / 3; box-shadow: var(--shadow-soft);
}
.gallery-item.large { grid-row: span 2; grid-column: span 2; aspect-ratio: 1 / 1; }
@media (min-width: 768px) { .gallery-item.large { aspect-ratio: auto; } }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1rem; color: #fff; font-weight: 600; font-size: .9rem;
  background: linear-gradient(to top, rgba(43,108,246,.85), transparent);
  opacity: 0; transition: opacity .3s;
}
.gallery-item:hover figcaption { opacity: 1; }

/* ============ CONTACT ============ */
.contact-grid {
  display: grid; gap: 2rem; margin-bottom: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 2fr 3fr; } }

.contact-info { display: flex; flex-direction: column; gap: 1rem; }
.info-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem; display: flex; gap: 1rem; box-shadow: var(--shadow-soft);
}
.info-card strong { display: block; margin-bottom: .35rem; }
.info-card p { color: var(--muted); font-size: .9rem; margin-bottom: .5rem; }
.info-icon {
  flex: none; width: 44px; height: 44px; border-radius: 12px;
  background: var(--primary-soft); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.info-link { color: var(--primary); font-weight: 600; font-size: .85rem; }
.info-link:hover { text-decoration: underline; }

.contact-form {
  background: #fff; border: 1px solid var(--border); border-radius: 24px;
  padding: 2rem; box-shadow: var(--shadow-elev);
}
.form-head { display: flex; gap: .85rem; align-items: center; margin-bottom: 1.5rem; }
.form-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--gradient-brand); color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-glow);
  font-size: 1.2rem;
}
.form-head h3 { font-size: 1.15rem; }
.form-head p { color: var(--muted); font-size: .85rem; }

.contact-form label {
  display: block; margin-bottom: 1rem;
  font-size: .85rem; font-weight: 600; color: var(--text);
}
.contact-form input, .contact-form textarea {
  display: block; width: 100%; margin-top: .4rem;
  padding: .7rem .9rem; border-radius: 10px;
  border: 1px solid var(--border); background: #fff;
  font-family: inherit; font-size: .92rem; color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(43,108,246,.15);
}
.form-row { display: grid; gap: 1rem; }
@media (min-width: 600px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-note { text-align: center; color: var(--muted); font-size: .75rem; margin-top: .75rem; }

.map-wrap { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-elev); border: 1px solid var(--border); }

/* ============ CTA ============ */
.cta-section { padding: 4rem 0; }
.cta-card {
  position: relative; overflow: hidden;
  background: var(--gradient-brand);
  border-radius: 28px;
  padding: 4rem 2rem; text-align: center;
  color: #fff; box-shadow: var(--shadow-elev);
}
.cta-card::before {
  content: ""; position: absolute; inset: 0; opacity: .15;
  background-image: radial-gradient(circle at 20% 20%, white 1.5px, transparent 1.5px), radial-gradient(circle at 80% 60%, white 1.5px, transparent 1.5px);
  background-size: 40px 40px;
}
.cta-card h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 3rem); position: relative; }
.cta-card p { color: rgba(255,255,255,.85); margin: 1rem auto 2rem; max-width: 500px; position: relative; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; position: relative; }

/* ============ FOOTER ============ */
footer { background: var(--gradient-soft); border-top: 1px solid var(--border); padding: 3.5rem 0 1.5rem; }
.footer-grid {
  display: grid; gap: 2.5rem; padding: 0 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
footer h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1rem; }
footer p, footer li { color: var(--muted); font-size: .88rem; margin-bottom: .5rem; }
footer a:hover { color: var(--primary); }
footer .logo { margin-bottom: 1rem; }
.socials { display: flex; gap: .5rem; margin-top: 1rem; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%;
  background: #fff; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.socials a:hover { border-color: var(--primary); transform: translateY(-2px); }
.footer-contact li { display: flex; gap: .4rem; align-items: flex-start; }
.copyright {
  text-align: center; padding: 1.5rem 1.25rem 0;
  margin-top: 2.5rem; border-top: 1px solid var(--border);
  color: var(--muted); font-size: .78rem;
}

/* ============ FLOATING BUTTONS ============ */
.float-btn {
  position: fixed; right: 1.25rem; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; box-shadow: var(--shadow-elev);
  transition: transform .2s;
}
.float-btn:hover { transform: scale(1.1); }
.float-wa { bottom: 5.5rem; background: #25D366; color: #fff; }
.float-call { bottom: 1.25rem; background: var(--gradient-brand); color: #fff; position: fixed; }
.float-call .ping {
  position: absolute; inset: 0; border-radius: 50%;
  background: rgba(43,108,246,.4); animation: ping 1.6s ease-out infinite;
}
@keyframes ping {
  0% { transform: scale(1); opacity: .8; }
  80%, 100% { transform: scale(1.6); opacity: 0; }
}

/* ============ TOAST ============ */
.toast {
  position: fixed; top: 80px; left: 50%; transform: translate(-50%, -20px);
  background: #fff; border: 1px solid var(--border); border-left: 4px solid #22c55e;
  padding: 1rem 1.5rem; border-radius: 12px; box-shadow: var(--shadow-elev);
  font-size: .9rem; font-weight: 500;
  opacity: 0; pointer-events: none; transition: all .35s;
  z-index: 100;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ============ REVEAL ANIMATION ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: all .7s ease-out; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============ RESPONSIVE NAV ============ */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: flex; align-items: center; justify-content: center; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    padding: .75rem 1.25rem; gap: .25rem;
  }
  .nav-links.open a { padding: .8rem 1rem; }
}

/* 111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111  */
.doctor-message {
  padding: 60px 20px;
  background: #f9fbfd;
}

.doctor-message .container {
  max-width: 900px;
  margin: auto;
}

.doctor-message h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 25px;
  color: #1a2b49;
}

.doctor-message p {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 15px;
  text-align: justify;
}

.doctor-sign {
  margin-top: 30px;
  text-align: right;
  font-size: 16px;
}

.doctor-sign strong {
  display: block;
  font-size: 18px;
  color: #1a2b49;
}

.doctor-sign span {
  color: #666;
}

.hero-tagline{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    margin:22px 0 24px;
    animation: fadeUp 0.8s ease;
}

.hero-tagline p{
    margin:0;
    font-size:13px;
    font-weight:600;
    letter-spacing:0.5px;
    text-transform:uppercase;
    color:#4a6fa5;
    white-space:nowrap;
    opacity:0.95;
}

.hero-tagline .line{
    width:32px;
    height:1.5px;
    background:linear-gradient(to right,#4f8dfd,#b8cfff);
    border-radius:10px;
    opacity:0.7;
}

@keyframes fadeUp{
    from{
        opacity:0;
        transform:translateY(10px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}