/* ========== RESET & VARIABLES ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --tb-bg: #004b87;
  --tb-bg-dark: #00386a;
  --tb-text: #eaf3fb;
  --tb-muted: #b9d4ea;
  --tb-accent: #ffc107;
  --tb-green: #1aab53;
  --tb-height: 46px;
}

body {
  font-family: "Segoe UI", "Noto Sans Devanagari", system-ui, sans-serif;
  background: #f6f9fc;
  color: #1c2b36;
}

/* ========== TOPBAR ========== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(90deg, var(--tb-bg-dark), var(--tb-bg) 45%, var(--tb-bg-dark));
  color: var(--tb-text);
  font-size: 13.5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
}

.topbar__inner {
  max-width: 1400px;
  margin: 0 auto;
  min-height: var(--tb-height);
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar__left,
.topbar__right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.topbar__center { flex: 1 1 auto; display: flex; justify-content: center; min-width: 0; }

.topbar__divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, .22);
}

.topbar__icon { width: 15px; height: 15px; flex-shrink: 0; opacity: .9; }

/* ---- Social icons ---- */
.topbar__social { display: flex; align-items: center; gap: 6px; }

.social-link {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--tb-text);
  background: rgba(255, 255, 255, .1);
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.social-link svg { width: 15px; height: 15px; }
.social-link:hover { transform: translateY(-2px) scale(1.08); color: #fff; }
.social-link:nth-child(1):hover { background: #1877f2; }
.social-link:nth-child(2):hover { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); }

/* ---- Phones ---- */
.topbar__phones { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar__phones a {
  color: var(--tb-text);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: .3px;
  transition: color .2s ease;
}
.topbar__phones a:hover { color: var(--tb-accent); }
.topbar__phones .dot { color: var(--tb-muted); opacity: .6; }

/* ---- Location dropdown ---- */
.topbar__select {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 20px;
  padding: 5px 26px 5px 11px;
  transition: background .25s ease, border-color .25s ease;
}
.topbar__select:hover { background: rgba(255, 255, 255, .17); border-color: rgba(255, 255, 255, .35); }

.topbar__select select {
  appearance: none;
  background: transparent;
  border: 0;
  outline: 0;
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding-right: 4px;
  max-width: 180px;
}
.topbar__select select option { background: #fff; color: #1c2b36; padding: 6px; }

.topbar__caret {
  position: absolute;
  right: 8px;
  width: 15px; height: 15px;
  pointer-events: none;
  opacity: .85;
  transition: transform .25s ease;
}
.topbar__select:hover .topbar__caret { transform: translateY(2px); }

/* ---- Center address ---- */
.topbar__address {
  display: flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  padding: 5px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .07);
  color: var(--tb-muted);
  line-height: 1.3;
}
.topbar__address .addr-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.topbar__address .addr-time {
  margin-left: 4px;
  padding: 2px 8px;
  border-radius: 10px;
  background: var(--tb-accent);
  color: #3b2a00;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
}

/* state: address selected */
.topbar__address.is-active {
  color: #fff;
  background: rgba(255, 255, 255, .14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
}
.topbar__address.is-animating { animation: addrIn .45s cubic-bezier(.22, 1, .36, 1); }

@keyframes addrIn {
  0%   { opacity: 0; transform: translateY(7px) scale(.97); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---- Dashboard button ---- */
.btn-dashboard {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .4px;
  background: linear-gradient(135deg, var(--tb-green), #128a41);
  box-shadow: 0 3px 12px rgba(26, 171, 83, .45);
  transition: transform .28s cubic-bezier(.22, 1, .36, 1), box-shadow .28s ease;
  animation: dashPulse 2.6s ease-in-out infinite;
}
.btn-dashboard__icon { width: 15px; height: 15px; transition: transform .35s ease; }
.btn-dashboard__text { position: relative; z-index: 2; }

.btn-dashboard:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 20px rgba(26, 171, 83, .6);
  animation-play-state: paused;
}
.btn-dashboard:hover .btn-dashboard__icon { transform: rotate(90deg) scale(1.12); }
.btn-dashboard:active { transform: translateY(0) scale(.97); }

/* shine sweep */
.btn-dashboard__shine {
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: skewX(-22deg);
  animation: dashShine 3.2s ease-in-out infinite;
}

@keyframes dashShine {
  0%, 60%  { left: -75%; }
  100%     { left: 130%; }
}

@keyframes dashPulse {
  0%, 100% { box-shadow: 0 3px 12px rgba(26, 171, 83, .45); }
  50%      { box-shadow: 0 3px 18px rgba(26, 171, 83, .75); }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1100px) {
  .topbar__inner { flex-wrap: wrap; gap: 10px; padding: 8px 14px; }
  .topbar__center { order: 3; width: 100%; justify-content: flex-start; }
  .topbar__right { margin-left: auto; }
  .topbar__address { width: 100%; }
}

@media (max-width: 640px) {
  .topbar { font-size: 12.5px; }
  .topbar__divider { display: none; }
  .topbar__phones .dot,
  .topbar__phones a:last-of-type { display: none; }
  .topbar__select select { max-width: 130px; }
  .btn-dashboard { padding: 7px 14px; }
  .btn-dashboard__text { display: none; }
  .topbar__address .addr-text { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  .btn-dashboard,
  .btn-dashboard__shine,
  .topbar__address.is-animating { animation: none; }
}






/* ========== NAVBAR ========== */
:root {
  --nav-h: 76px;
  --nav-h-sm: 62px;
  --nav-blue: #004b87;
  --nav-green: #1aab53;
}

.navbar {
  position: sticky;
  top: var(--tb-height);
  z-index: 999;
  background: #fff;
  box-shadow: 0 2px 14px rgba(0, 59, 110, .09);
  transition: box-shadow .3s ease, background .3s ease;
}
.navbar.is-stuck {
  box-shadow: 0 4px 22px rgba(0, 59, 110, .16);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
}

.navbar__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 18px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: height .3s ease;
}
.navbar.is-stuck .navbar__inner { height: var(--nav-h-sm); }

/* ---- Logo with glow ---- */
.navbar__logo {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex-shrink: 0;
}

.navbar__logo img {
  position: relative;
  z-index: 2;
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  padding: 3px;
  transition: width .3s ease, height .3s ease, transform .4s cubic-bezier(.22, 1, .36, 1);
}
.navbar.is-stuck .navbar__logo img { width: 44px; height: 44px; }
.navbar__logo:hover img { transform: scale(1.07) rotate(-4deg); }

/* glowing halo behind logo */
.logo__glow {
  position: absolute;
  left: 27px;
  top: 50%;
  width: 60px;
  height: 60px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,171,83,.55) 0%, rgba(0,75,135,.35) 45%, transparent 70%);
  filter: blur(7px);
  animation: logoGlow 3s ease-in-out infinite;
  pointer-events: none;
}
.navbar.is-stuck .logo__glow { width: 50px; height: 50px; left: 22px; }

@keyframes logoGlow {
  0%, 100% { opacity: .55; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 1;   transform: translate(-50%, -50%) scale(1.18); }
}

.logo__text { display: flex; flex-direction: column; line-height: 1.25; }
.logo__text strong {
  font-size: 16px;
  color: var(--nav-blue);
  font-weight: 800;
  letter-spacing: .2px;
}
.logo__text small {
  font-size: 10.5px;
  color: #6b8296;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  font-weight: 600;
}

/* ---- Nav links ---- */
.navbar__nav { display: flex; align-items: center; gap: 22px; }

.navbar__links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-link {
  position: relative;
  display: block;
  padding: 9px 13px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: #2b4256;
  text-decoration: none;
  transition: color .25s ease, background .25s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 0;
  height: 2.5px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--nav-green), var(--nav-blue));
  transform: translateX(-50%);
  transition: width .3s cubic-bezier(.22, 1, .36, 1);
}
.nav-link:hover { color: var(--nav-blue); background: rgba(0, 75, 135, .06); }
.nav-link:hover::after { width: 58%; }

.nav-link.is-active { color: var(--nav-blue); }
.nav-link.is-active::after { width: 58%; }

/* ---- Book Appointment button ---- */
.btn-appointment {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 30px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .3px;
  text-decoration: none;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--nav-blue), #0a6fb8);
  box-shadow: 0 4px 14px rgba(0, 75, 135, .35);
  transition: transform .28s cubic-bezier(.22, 1, .36, 1), box-shadow .28s ease, background .3s ease;
}
.btn-appointment__icon { width: 17px; height: 17px; transition: transform .35s ease; }

.btn-appointment::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 32px;
  border: 2px solid var(--nav-green);
  opacity: 0;
  transform: scale(.9);
  transition: opacity .3s ease, transform .3s ease;
}
.btn-appointment:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, var(--nav-green), #128a41);
  box-shadow: 0 8px 22px rgba(26, 171, 83, .45);
}
.btn-appointment:hover::before { opacity: .5; transform: scale(1); }
.btn-appointment:hover .btn-appointment__icon { transform: scale(1.15) rotate(-8deg); }
.btn-appointment:active { transform: translateY(-1px) scale(.97); }

/* ---- Mobile toggle (hamburger) ---- */
.navbar__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 9px;
  border: 0;
  border-radius: 9px;
  background: rgba(0, 75, 135, .08);
  cursor: pointer;
}
.navbar__toggle span {
  display: block;
  height: 2.5px;
  width: 100%;
  border-radius: 3px;
  background: var(--nav-blue);
  transition: transform .3s ease, opacity .25s ease;
}
.navbar__toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.navbar__toggle.is-open span:nth-child(2) { opacity: 0; }
.navbar__toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ========== NAVBAR RESPONSIVE ========== */
@media (max-width: 1050px) {
  .navbar__toggle { display: flex; }

  .navbar__nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 14px 18px 20px;
    background: #fff;
    box-shadow: 0 14px 26px rgba(0, 59, 110, .14);
    border-top: 1px solid #e7eef5;

    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height .4s ease, opacity .3s ease, padding .3s ease, visibility .3s;
  }
  .navbar__nav.is-open {
    max-height: 560px;
    opacity: 1;
    visibility: visible;
  }

  .navbar__links { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-link { padding: 12px 14px; border-radius: 9px; font-size: 15px; }
  .nav-link::after { display: none; }
  .nav-link:hover, .nav-link.is-active { background: rgba(0, 75, 135, .08); }

  .btn-appointment { justify-content: center; margin-top: 8px; }
}

@media (max-width: 560px) {
  .navbar__inner { height: 66px; }
  .logo__text strong { font-size: 13.5px; max-width: 170px; }
  .logo__text small { font-size: 9px; letter-spacing: 1px; }
  .navbar__logo img { width: 44px; height: 44px; }
  .logo__glow { width: 50px; height: 50px; left: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .logo__glow { animation: none; }
}




/* ========== FOOTER ========== */
.footer { background: #022c4f; color: #c4d8ea; }

.footer__top { padding: 62px 0 46px; }

.footer__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 18px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.3fr 1.5fr;
  gap: 40px;
}

/* ---- Brand col ---- */
.footer__logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.footer__logo img {
  width: 54px; height: 54px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  padding: 3px;
}
.footer__logo strong { display: block; font-size: 15px; color: #fff; line-height: 1.35; }
.footer__logo small {
  display: block;
  margin-top: 3px;
  font-size: 9.5px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: #7fa8cc;
}

.footer__about {
  margin-top: 18px;
  max-width: 330px;
  font-size: 13.5px;
  line-height: 1.85;
  color: #9fc0da;
}
.footer__about strong { color: #fff; font-weight: 700; }

.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__social a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .09);
  color: #c4d8ea;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.footer__social a svg { width: 17px; height: 17px; }
.footer__social a:hover { transform: translateY(-3px); color: #fff; }
.footer__social a:nth-child(1):hover { background: #1877f2; }
.footer__social a:nth-child(2):hover { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); }
.footer__social a:nth-child(3):hover { background: #25d366; }

/* ---- Column headings ---- */
.fcol__title {
  position: relative;
  margin-bottom: 22px;
  padding-bottom: 11px;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}
.fcol__title::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 38px; height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--nav-green), transparent);
}

/* ---- Link lists ---- */
.fcol__links { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.fcol__links a {
  position: relative;
  display: inline-block;
  padding-left: 15px;
  font-size: 13.5px;
  line-height: 1.6;
  color: #9fc0da;
  text-decoration: none;
  transition: color .25s ease, transform .25s ease;
}
.fcol__links a::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--nav-green);
  font-size: 15px;
  line-height: 1.3;
  transition: transform .25s ease;
}
.fcol__links a:hover { color: #fff; transform: translateX(4px); }

/* ---- Contact list ---- */
.fcol__contact { list-style: none; display: flex; flex-direction: column; gap: 17px; }
.fcol__contact li { display: flex; gap: 11px; font-size: 13px; line-height: 1.75; color: #9fc0da; }
.fcol__contact svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: var(--nav-green); }
.fcol__contact strong { display: block; margin-bottom: 3px; color: #fff; font-size: 13.5px; }
.fcol__contact a { color: #9fc0da; font-weight: 700; text-decoration: none; transition: color .22s ease; }
.fcol__contact a:hover { color: #fff; }

.footer__cta {
  display: inline-block;
  margin-top: 22px;
  padding: 12px 24px;
  border-radius: 30px;
  background: var(--tb-accent);
  color: #0f3a5f;
  font-size: 13.5px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(255, 193, 7, .35);
  transition: transform .26s ease, box-shadow .26s ease, background .25s ease;
}
.footer__cta:hover {
  transform: translateY(-3px);
  background: #ffcd2e;
  box-shadow: 0 9px 22px rgba(255, 193, 7, .5);
}

/* ---- Bottom bar ---- */
.footer__bottom {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  background: rgba(0, 0, 0, .18);
}
.footer__bottom-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12.5px;
  color: #8fb3d1;
}
.footer__disclaimer { font-size: 11.5px; color: #6f94b3; }

/* ========== FLOATING BUTTONS ========== */
.float-wa, .float-top {
  position: fixed;
  z-index: 900;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s ease, opacity .3s ease;
}

.float-wa {
  left: 22px; bottom: 22px;
  width: 52px; height: 52px;
  background: #25d366;
  color: #fff;
  box-shadow: 0 6px 18px rgba(37, 211, 102, .45);
  animation: waPulse 2.6s ease-in-out infinite;
}
.float-wa svg { width: 27px; height: 27px; }
.float-wa:hover { transform: scale(1.1); animation-play-state: paused; }

@keyframes waPulse {
  0%, 100% { box-shadow: 0 6px 18px rgba(37, 211, 102, .45); }
  50%      { box-shadow: 0 6px 26px rgba(37, 211, 102, .85); }
}

.float-top {
  right: 22px; bottom: 22px;
  width: 46px; height: 46px;
  background: var(--nav-blue);
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 75, 135, .4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
}
.float-top svg { width: 20px; height: 20px; }
.float-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.float-top:hover { transform: translateY(-4px); background: #0a6fb8; }

/* ========== FOOTER RESPONSIVE ========== */
@media (max-width: 1050px) {
  .footer__inner { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .footer__about { max-width: 100%; }
}
@media (max-width: 600px) {
  .footer__top { padding: 46px 0 34px; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }
  .float-wa  { width: 46px; height: 46px; left: 16px; bottom: 16px; }
  .float-wa svg { width: 24px; height: 24px; }
  .float-top { width: 42px; height: 42px; right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .float-wa { animation: none; }
}





/* ========== POPUP FORM ========== */
.pop[hidden] { display: none !important; }

.pop {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(4, 25, 42, .72);
  backdrop-filter: blur(3px);
  animation: popFade .3s ease both;
}
@keyframes popFade { from { opacity: 0; } to { opacity: 1; } }

.pop.is-closing { animation: popFadeOut .25s ease both; }
@keyframes popFadeOut { to { opacity: 0; } }

.pop__box {
  position: relative;
  width: 100%;
  max-width: 420px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 34px 30px 28px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(0, 25, 50, .4);
  animation: popIn .45s cubic-bezier(.22, 1, .36, 1) both;
}
@keyframes popIn {
  from { opacity: 0; transform: translateY(30px) scale(.94); }
  to   { opacity: 1; transform: none; }
}
.pop.is-closing .pop__box { animation: popOut .25s ease both; }
@keyframes popOut { to { opacity: 0; transform: translateY(16px) scale(.97); } }

/* accent strip */
.pop__box::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(90deg, var(--nav-blue), var(--nav-green), var(--tb-accent));
}

/* ---- Close ---- */
.pop__close {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: rgba(0, 75, 135, .08);
  color: #5a6e80;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, transform .3s ease;
}
.pop__close svg { width: 16px; height: 16px; }
.pop__close:hover { background: #d62850; color: #fff; transform: rotate(90deg); }

/* ---- Head ---- */
.pop__head { text-align: center; margin-bottom: 22px; }

.pop__ico {
  display: grid; place-items: center;
  width: 60px; height: 60px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--nav-blue), var(--nav-green));
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 75, 135, .3);
  animation: popIcoPulse 2.6s ease-in-out infinite;
}
.pop__ico svg { width: 27px; height: 27px; }
@keyframes popIcoPulse {
  0%, 100% { box-shadow: 0 8px 20px rgba(0, 75, 135, .3); }
  50%      { box-shadow: 0 8px 28px rgba(26, 171, 83, .55); }
}

.pop__title { font-size: 21px; font-weight: 800; color: #1c2b36; line-height: 1.35; }
.pop__sub { margin-top: 8px; font-size: 13.5px; line-height: 1.7; color: #6b8296; }

/* ---- Fields ---- */
.pop__form .field { margin-bottom: 14px; }

.pop__form input,
.pop__form textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid rgba(0, 75, 135, .16);
  border-radius: 9px;
  background: #f8fbfd;
  font: inherit; font-size: 14.5px; color: #1c2b36;
  outline: 0;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.pop__form textarea { resize: vertical; min-height: 80px; }
.pop__form input::placeholder,
.pop__form textarea::placeholder { color: #9db2c3; }

.pop__form input:focus,
.pop__form textarea:focus {
  background: #fff;
  border-color: var(--nav-blue);
  box-shadow: 0 0 0 3px rgba(0, 75, 135, .12);
}

.pop__form .field.has-err input,
.pop__form .field.has-err textarea {
  border-color: #d62850;
  box-shadow: 0 0 0 3px rgba(214, 40, 80, .1);
}

/* ---- Button ---- */
.pop__btn {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  width: 100%;
  margin-top: 6px;
  padding: 14px;
  border: 0; border-radius: 9px;
  background: linear-gradient(135deg, var(--nav-blue), #0a6fb8);
  color: #fff; font: inherit; font-size: 15px; font-weight: 800;
  cursor: pointer;
  box-shadow: 0 5px 16px rgba(0, 75, 135, .33);
  transition: transform .28s cubic-bezier(.22,1,.36,1), box-shadow .28s ease, background .3s ease, gap .3s ease;
}
.pop__btn svg { width: 17px; height: 17px; }
.pop__btn:hover {
  gap: 14px; transform: translateY(-2px);
  background: linear-gradient(135deg, var(--nav-green), #128a41);
  box-shadow: 0 10px 24px rgba(26, 171, 83, .42);
}
.pop__btn.is-loading { opacity: .75; cursor: wait; pointer-events: none; }
.pop__btn.is-loading svg { animation: btnSpin .9s linear infinite; }
@keyframes btnSpin { to { transform: rotate(360deg); } }

.pop__note { margin-top: 13px; font-size: 12.5px; text-align: center; color: #7f9ab0; }
.pop__note a { color: var(--nav-blue); font-weight: 700; text-decoration: none; }
.pop__note.is-ok { color: #128a41; font-weight: 700; }
.pop__note.is-err { color: #d62850; font-weight: 700; }
.pop__note.is-err a { text-decoration: underline; }

/* ---- Success state ---- */
.pop__done { text-align: center; padding: 10px 0 6px; animation: popIn .4s cubic-bezier(.22,1,.36,1) both; }
.pop__done-ico {
  display: grid; place-items: center;
  width: 64px; height: 64px; margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(26, 171, 83, .12);
  color: #128a41;
}
.pop__done-ico svg { width: 32px; height: 32px; }
.pop__done h3 { font-size: 20px; font-weight: 800; color: #1c2b36; margin-bottom: 9px; }
.pop__done p { font-size: 14px; line-height: 1.8; color: #6b8296; }

/* ---- Responsive ---- */
@media (max-width: 480px) {
  .pop { padding: 14px; }
  .pop__box { padding: 28px 20px 22px; }
  .pop__title { font-size: 19px; }
  .pop__ico { width: 52px; height: 52px; }
  .pop__ico svg { width: 24px; height: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .pop, .pop__box, .pop__ico { animation: none; }
}










/* ========== CHATBOT ========== */
.bot__win[hidden] { display: none !important; }

/* back-to-top ko chatbot ke upar shift */
.float-top { bottom: 92px !important; }
@media (max-width: 560px) { .float-top { bottom: 82px !important; } }

/* ---- Launcher ---- */
.bot__fab {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 1500;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: linear-gradient(135deg, var(--nav-blue), #0a6fb8);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 75, 135, .45);
  transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s ease, background .3s ease;
  animation: botPulse 2.8s ease-in-out infinite;
}
.bot__fab svg { width: 26px; height: 26px; position: absolute; transition: opacity .3s ease, transform .35s ease; }
.bot__fab-close { opacity: 0; transform: rotate(-90deg) scale(.6); }

.bot__fab:hover { transform: scale(1.08); box-shadow: 0 10px 28px rgba(0, 75, 135, .6); animation-play-state: paused; }

.bot.is-open .bot__fab { background: linear-gradient(135deg, #d62850, #b01f41); animation: none; }
.bot.is-open .bot__fab-chat  { opacity: 0; transform: rotate(90deg) scale(.6); }
.bot.is-open .bot__fab-close { opacity: 1; transform: none; }

@keyframes botPulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(0, 75, 135, .45); }
  50%      { box-shadow: 0 6px 30px rgba(26, 171, 83, .75); }
}

/* notification dot */
.bot__dot {
  position: absolute; top: 2px; right: 2px;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: #25d366;
  border: 2px solid #fff;
}
.bot.is-open .bot__dot { display: none; }

/* ---- Window ---- */
.bot__win {
  position: fixed;
  right: 22px; bottom: 90px;
  z-index: 1500;
  width: 340px;
  max-width: calc(100vw - 32px);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 20px 50px rgba(0, 25, 50, .3);
  animation: botIn .38s cubic-bezier(.22, 1, .36, 1) both;
}
@keyframes botIn {
  from { opacity: 0; transform: translateY(22px) scale(.95); }
  to   { opacity: 1; transform: none; }
}
.bot__win.is-closing { animation: botOut .24s ease both; }
@keyframes botOut { to { opacity: 0; transform: translateY(14px) scale(.97); } }

/* ---- Head ---- */
.bot__head {
  display: flex; align-items: center; gap: 11px;
  padding: 15px 18px;
  background: linear-gradient(135deg, var(--nav-blue), #0a6fb8);
  color: #fff;
}
.bot__avatar {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
}
.bot__avatar svg { width: 21px; height: 21px; }
.bot__head-txt strong { display: block; font-size: 14.5px; font-weight: 800; }
.bot__head-txt small { display: flex; align-items: center; gap: 5px; margin-top: 2px; font-size: 11.5px; color: #c8e0f3; }
.bot__head-txt small i {
  width: 7px; height: 7px; border-radius: 50%; background: #25d366;
  animation: botBlink 1.8s ease-in-out infinite;
}
@keyframes botBlink { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

/* ---- Body ---- */
.bot__body {
  max-height: 330px;
  overflow-y: auto;
  padding: 18px 16px 14px;
  background: #f4f8fb;
}
.bot__body::-webkit-scrollbar { width: 5px; }
.bot__body::-webkit-scrollbar-thumb { background: rgba(0,75,135,.2); border-radius: 5px; }

.bot__msg {
  max-width: 88%;
  margin-bottom: 11px;
  padding: 11px 15px;
  border-radius: 14px 14px 14px 4px;
  background: #fff;
  font-size: 13.5px; line-height: 1.7; color: #2b4256;
  box-shadow: 0 2px 8px rgba(0, 59, 110, .07);
  animation: msgIn .4s cubic-bezier(.22,1,.36,1) both;
}
@keyframes msgIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.bot__msg--me {
  margin-left: auto;
  border-radius: 14px 14px 4px 14px;
  background: linear-gradient(135deg, var(--nav-blue), #0a6fb8);
  color: #fff;
}

/* typing dots */
.bot__typing { display: flex; gap: 4px; padding: 13px 15px; width: 56px; }
.bot__typing i {
  width: 7px; height: 7px; border-radius: 50%; background: #9db2c3;
  animation: typeBounce 1.3s ease-in-out infinite;
}
.bot__typing i:nth-child(2) { animation-delay: .16s; }
.bot__typing i:nth-child(3) { animation-delay: .32s; }
@keyframes typeBounce {
  0%,60%,100% { transform: translateY(0); opacity: .4; }
  30%         { transform: translateY(-5px); opacity: 1; }
}

/* ---- Option chips ---- */
.bot__opts { display: flex; flex-direction: column; gap: 8px; margin: 4px 0 6px; }

.bot__opt {
  padding: 10px 14px;
  border: 1.5px solid rgba(0, 75, 135, .2);
  border-radius: 20px;
  background: #fff;
  color: var(--nav-blue);
  font: inherit; font-size: 13px; font-weight: 700; text-align: left;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
  animation: msgIn .4s cubic-bezier(.22,1,.36,1) both;
}
.bot__opt:hover { background: rgba(0,75,135,.07); transform: translateX(4px); }
.bot__opt.is-active {
  background: linear-gradient(135deg, var(--nav-blue), #0a6fb8);
  border-color: transparent; color: #fff;
  box-shadow: 0 4px 12px rgba(0,75,135,.3);
}

/* ---- Foot ---- */
.bot__foot { padding: 13px 14px 14px; background: #fff; border-top: 1px solid #e8eff5; }

.bot__inputs { display: flex; align-items: center; gap: 8px; }

.bot__inputs input {
  flex: 1; min-width: 0;
  padding: 12px 15px;
  border: 1.5px solid rgba(0, 75, 135, .16);
  border-radius: 24px;
  background: #f8fbfd;
  font: inherit; font-size: 13.5px; color: #1c2b36;
  outline: 0;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.bot__inputs input::placeholder { color: #9db2c3; }
.bot__inputs input:focus { background: #fff; border-color: var(--nav-blue); box-shadow: 0 0 0 3px rgba(0,75,135,.1); }
.bot__inputs input.has-err { border-color: #d62850; box-shadow: 0 0 0 3px rgba(214,40,80,.1); }

.bot__send {
  flex-shrink: 0;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: #25d366;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(37, 211, 102, .4);
  transition: transform .28s cubic-bezier(.22,1,.36,1), box-shadow .28s ease;
}
.bot__send svg { width: 18px; height: 18px; transition: transform .3s ease; }
.bot__send:hover { transform: scale(1.09); box-shadow: 0 7px 18px rgba(37,211,102,.6); }
.bot__send:hover svg { transform: translateX(2px); }
.bot__send:active { transform: scale(.95); }

.bot__note { margin-top: 9px; font-size: 11.5px; text-align: center; color: #93a9bb; transition: color .25s ease; }
.bot__note.is-err { color: #d62850; font-weight: 700; }

/* ---- Responsive ---- */
@media (max-width: 480px) {
  .bot__fab { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .bot__win { right: 12px; left: 12px; bottom: 80px; width: auto; }
  .bot__body { max-height: 46vh; }
}

@media (prefers-reduced-motion: reduce) {
  .bot__fab, .bot__head-txt small i { animation: none; }
}











