/* ============================================================
   HAZARI EYE HOSPITAL — responsive.css
   Breakpoints: 1440 → 1200 → 1024 → 768 → 480 → 360
============================================================ */

/* ── 1440px ── */
@media (max-width: 1440px) {
  .hero-h1 { font-size: clamp(2.6rem, 4.5vw, 4rem); }
}

/* ── 1200px ── */
@media (max-width: 1200px) {
  .hero-img-main { height: 500px; }
  .hero-stat-num { font-size: 1.5rem; }
}

/* ── 1024px — Tablet Landscape ── */
@media (max-width: 1024px) {
  body { font-size: 16px; }
  .section-py    { padding: 76px 0; }
  .section-py-lg { padding: 96px 0; }

  .nav-link-h { padding: 13px 22px !important; }
  .nav-link-h::after { display: none; }
  .nav-appt-btn { margin: 10px 22px; display: inline-flex !important; }
  .mega-wrap { position: static; }
  .mega-drop {
    position: static !important; box-shadow: none !important;
    border-top: none; border-left: 3px solid var(--accent);
    margin: 0 22px 8px 34px; padding: 12px 14px !important;
    display: none !important; animation: none !important; border-radius: 0;
  }
  .mega-wrap.mob-open .mega-drop { display: block !important; }

  .hero-img-main { height: 400px; }
  .hero-card-1, .hero-card-2 { display: none; }
  .hero-content-wrap { padding: 56px 0 36px; }
  .hero-img-col { padding: 20px 0 56px; }

  .optical-img { height: 340px; }
  .appt-form-box { padding: 36px 28px; }
  .dr-exp-card { left: -10px; }

  /* Footer tablet */
  .footer-top { padding: 56px 0 44px; }
  .footer-desc { max-width: 100%; }
}

/* ── 768px — Tablet Portrait ── */
@media (max-width: 768px) {
  body { font-size: 16px; }
  .section-py    { padding: 60px 0; }
  .section-py-sm { padding: 44px 0; }
  .h-section { font-size: clamp(1.65rem, 5.5vw, 2.1rem); }

  .hero-h1      { font-size: clamp(2rem, 7vw, 2.9rem); }
  .hero-sub-h   { font-size: clamp(1.15rem, 3.5vw, 1.5rem); }
  .hero-desc    { font-size: 16px; }
  .hero-content-wrap { padding: 44px 0 24px; }
  .hero-img-col      { padding: 0 0 52px; }
  .hero-img-main { height: 300px; border-radius: 20px; }
  .hero-btns { flex-direction: column; gap: 10px; }
  .hero-btns .btn-h { width: 100%; justify-content: center; }
  .hero-stats-card { grid-template-columns: repeat(2, 1fr); row-gap: 20px; padding: 22px 6px; }
  .hero-stats-card .hero-stat:nth-child(2) { border-right: none; }
  .hero-stats-card .hero-stat:nth-child(1),
  .hero-stats-card .hero-stat:nth-child(2) { padding-bottom: 18px; border-bottom: 1px solid var(--border-lt); }

  .trust-div { display: none; }

  .dr-photo-main { max-width: 280px; }
  .dr-exp-card { left: -8px; padding: 14px 18px; }
  .dr-exp-num  { font-size: 1.6rem; }
  .dr-kpi-num  { font-size: 1.7rem; }

  .optical-img { height: 280px; }
  .optical-lens-card { flex-direction: column; align-items: flex-start; }

  .testi-card { padding: 26px 22px; }
  .testi-text { font-size: 15px; }

  .appt-form-box { padding: 28px 20px; border-radius: 20px; }

  #float-bar    { right: 14px; bottom: 80px; }
  #chatbot-fab  { right: 14px; bottom: 14px; }
  #chatbot-win  { right: 14px; bottom: 80px; width: calc(100vw - 28px); }
  #scroll-top   { left: 14px; bottom: 14px; }

  .journey-card  { padding: 22px 14px; }
  .blog-img-box  { height: 170px; }

  /* Footer tablet portrait */
  .footer-top { padding: 48px 0 36px; }
  .footer-col-hd { margin-bottom: 16px; }
  .footer-contact-row { font-size: 14px; }
}

/* ── 480px — Mobile ── */
@media (max-width: 480px) {
  .section-py    { padding: 48px 0; }
  .section-py-sm { padding: 36px 0; }
  .h-section     { font-size: clamp(1.55rem, 6.5vw, 1.9rem); }
  .body-lg       { font-size: 16.5px; }
  .btn-h         { font-size: 15px; padding: 12px 24px; }
  .btn-h.btn-lg  { font-size: 15.5px; padding: 14px 28px; }

  .hero-h1      { font-size: clamp(1.85rem, 8vw, 2.5rem); line-height: 1.1; }
  .hero-sub-h   { font-size: 1.15rem; }
  .hero-desc    { font-size: 15.5px; }
  .hero-img-main { height: 250px; border-radius: 18px; }
  .hero-badge   { font-size: 11px; padding: 7px 14px; }
  .hero-stats-card { grid-template-columns: repeat(2, 1fr); row-gap: 18px; padding: 20px 4px; }
  .hero-stats-card .hero-stat:nth-child(2) { border-right: none; }
  .hero-stats-card .hero-stat:nth-child(1),
  .hero-stats-card .hero-stat:nth-child(2) { padding-bottom: 16px; border-bottom: 1px solid var(--border-lt); }
  .hero-stat-icon { width: 38px; height: 38px; font-size: 1rem; margin-bottom: 8px; }
  .hero-stat-num { font-size: 1.5rem; }

  .trust-pill { flex-direction: column; text-align: center; gap: 8px; }
  .trust-pill-icon { margin: 0 auto; }

  .about-feat      { gap: 12px; }
  .about-feat-icon { width: 40px; height: 40px; font-size: 1rem; }

  .dr-kpi-num  { font-size: 1.6rem; }
  .service-card { padding: 24px 18px; }
  .service-icon { width: 52px; height: 52px; font-size: 1.3rem; }
  .service-name { font-size: 1.05rem; }

  .faq-btn  { font-size: 15.5px; padding: 17px 18px; }
  .faq-body { font-size: 15.5px; padding: 0 18px 18px; }

  .appt-form-box { padding: 22px 16px; }

  .float-label { display: none; }
  .float-pill  { padding: 12px; border-radius: 50%; width: 48px; height: 48px; justify-content: center; }

  .nav-logo img { height: 52px; }

  /* Footer mobile */
  .footer-top { padding: 40px 0 32px; }
  .footer-bottom { text-align: center; }
  .footer-bottom .d-flex { justify-content: center !important; flex-wrap: wrap; }
  .footer-legal { justify-content: center !important; }
  .f-social { justify-content: flex-start; }
}

/* ── 360px — Small Mobile ── */
@media (max-width: 380px) {
  .hero-h1    { font-size: 1.75rem; }
  .h-section  { font-size: 1.5rem; }
  .btn-h      { font-size: 14.5px; padding: 11px 20px; }
  .hero-badge { font-size: 10.5px; }
  .nav-logo img { height: 46px; }
  .appt-form-box { padding: 18px 14px; }
}

/* ── Top bar: hide right side on mobile ── */
@media (max-width: 576px) {
  #top-bar .top-right { display: none !important; }
  #top-bar { font-size: 12.5px; padding: 7px 0; }
}

/* ── Print ── */
@media print {
  #top-bar, #main-nav, #float-bar,
  #chatbot-fab, #chatbot-win, #scroll-top, footer { display: none !important; }
  .section-py { padding: 32px 0; }
  body { font-size: 12pt; color: #000; }
}

/* ── Page hero (inner pages) + contact page ── */
@media (max-width: 768px) {
  .page-hero { min-height: 300px; padding: 70px 0 32px; }
  .page-hero-title { font-size: 1.8rem; }
  .page-hero-ring { display: none; }
  .page-hero-overlay { background: linear-gradient(90deg, var(--navy) 0%, rgba(11,37,69,.90) 60%, rgba(11,37,69,.55) 100%); }
  .contact-map-wrap, .contact-map-wrap iframe { min-height: 450px; }
}
@media (max-width: 480px) {
  .page-hero { min-height: 260px; padding: 64px 0 28px; }
  .page-hero-title { font-size: 1.5rem; }
  .page-hero-sub { font-size: 14.5px; }
  .page-hero-overlay { background: var(--navy); }
  .page-hero-bgimg { opacity: .18; }
  .contact-info-card { padding: 20px 14px; }
  .contact-info-icon { width: 44px; height: 44px; font-size: 1.1rem; margin-bottom: 12px; }
  .contact-side-card { padding: 22px 18px; }
  .contact-map-wrap, .contact-map-wrap iframe { min-height: 320px; }
  .timeline { flex-direction: column; gap: 28px; }
  .timeline::before { display: none; }
  .timeline-label { max-width: 100%; }
}
