/* =============================================
   Suraksha Nursing Home - MAIN STYLESHEET
   ============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0d2b5e;
  --blue: #1a4fa0;
  --blue-light: #2563c7;
  --red: #e02020;
  --sky: #e8f2fb;
  --sky2: #cfe3f7;
  --white: #fff;
  --gray: #f5f8fc;
  --text: #222;
  --text-light: #555;
  --border: #dde8f4;
  --shadow: 0 2px 20px rgba(13,43,94,0.10);
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: 'Poppins', sans-serif; color: var(--text); background: var(--white); overflow-x: hidden; }

/* ===== TOPBAR ===== */
.topbar { background: var(--navy); color: #fff; font-size: 12.5px; padding: 7px 0; }
.topbar .inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: nowrap; gap: 6px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar .tb-item { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.topbar .tb-item i { color: #7db8f0; font-size: 12px; }
.topbar .tb-left, .topbar .tb-right { display: flex; align-items: center; gap: 20px; flex-wrap: nowrap; }
.tb-social { display: flex; align-items: center; gap: 12px; }
.tb-social a { color: #7db8f0; font-size: 13px; transition: color 0.2s; }
.tb-social a:hover { color: #fff; }

/* ===== HEADER ===== */
header { background: #fff; box-shadow: 0 2px 16px rgba(13,43,94,0.09); position: sticky; top: 0; z-index: 1000; transition: box-shadow 0.3s; }
header.scrolled { box-shadow: 0 4px 24px rgba(13,43,94,0.16); }
.header-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 76px; }

/* Logo */
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-icon { width: 52px; height: 52px; flex-shrink: 0; }
.logo-icon svg { width: 100%; height: 100%; }
.logo-text .l1 { font-size: 21px; font-weight: 800; color: var(--red); letter-spacing: 1px; line-height: 1; }
.logo-text .l2 { font-size: 13px; font-weight: 700; color: var(--navy); letter-spacing: 3px; line-height: 1.2; }
.logo-text .l3 { font-size: 9.5px; color: var(--blue); font-family: 'Noto Sans Devanagari', sans-serif; }

/* Nav */
nav { display: flex; align-items: center; gap: 2px; }
nav a { font-size: 13px; font-weight: 500; color: var(--navy); padding: 8px 11px; text-decoration: none; border-bottom: 2px solid transparent; transition: all 0.2s; white-space: nowrap; }
nav a:hover, nav a.active { color: var(--blue); border-bottom-color: var(--blue); }
.btn-appt { background: var(--blue) !important; color: #fff !important; border-radius: 6px; padding: 10px 16px !important; border-bottom: none !important; display: flex !important; align-items: center; gap: 6px; font-weight: 600 !important; border: none; cursor: pointer; transition: background 0.2s !important; font-family: 'Poppins', sans-serif; font-size: 13px !important; text-decoration: none; }
.btn-appt:hover { background: var(--navy) !important; }
.hamburger { display: none; cursor: pointer; font-size: 24px; color: var(--navy); background: none; border: none; }
.mobile-nav { display: none; flex-direction: column; background: #fff; padding: 12px 24px 16px; box-shadow: 0 8px 24px rgba(0,0,0,0.10); border-top: 1px solid var(--border); }
.mobile-nav a { padding: 11px 0; border-bottom: 1px solid var(--border); color: var(--navy); font-weight: 500; text-decoration: none; font-size: 14px; }
.mobile-nav a:last-child { border-bottom: none; color: var(--blue); font-weight: 700; }
.mobile-nav.open { display: flex; }

/* ===== NAV DROPDOWN (Gallery) ===== */
.nav-dropdown { position: relative; display: inline-flex; align-items: center; }
.nav-dropdown > a { font-size: 13px; font-weight: 500; color: var(--navy); padding: 8px 11px; text-decoration: none; border-bottom: 2px solid transparent; transition: all 0.2s; white-space: nowrap; display: flex; align-items: center; gap: 4px; cursor: pointer; }
.nav-dropdown > a:hover, .nav-dropdown > a.active { color: var(--blue); border-bottom-color: var(--blue); }
.nav-dropdown-menu { display: none; position: absolute; top: calc(100% + 4px); left: 0; min-width: 170px; background: #fff; border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 8px 32px rgba(13,43,94,0.14); z-index: 2000; overflow: hidden; }
.nav-dropdown-menu a { display: block; padding: 11px 18px; font-size: 13px; color: var(--navy); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--border); transition: all 0.18s; white-space: nowrap; }
.nav-dropdown-menu a:last-child { border-bottom: none; }
.nav-dropdown-menu a:hover { background: var(--sky); color: var(--blue); padding-left: 22px; }
.nav-dropdown:hover .nav-dropdown-menu { display: block; }

/* ===== MOBILE ACCORDION (Gallery submenu) ===== */
.mobile-accordion { border-bottom: 1px solid var(--border); }
.mobile-acc-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 11px 0; background: none; border: none; color: var(--navy); font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 500; cursor: pointer; text-align: left; }
.mobile-acc-btn i { font-size: 13px; color: var(--blue); transition: transform 0.25s; }
.mobile-acc-btn.open i { transform: rotate(45deg); }
.mobile-acc-body { display: none; padding: 0 0 8px 14px; flex-direction: column; gap: 0; }
.mobile-acc-body.open { display: flex; }
.mobile-acc-body a { padding: 8px 0; border-bottom: 1px solid var(--border); color: var(--blue); font-weight: 500; text-decoration: none; font-size: 13.5px; display: block; }
.mobile-acc-body a:last-child { border-bottom: none; }

/* ===== COMMON ===== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
section { padding: 64px 0; }
.section-label { text-align: center; font-size: 12.5px; font-weight: 600; letter-spacing: 2.5px; color: var(--blue); text-transform: uppercase; margin-bottom: 8px; display: flex; align-items: center; justify-content: center; gap: 12px; }
.section-label::before, .section-label::after { content: ''; display: block; height: 1.5px; width: 44px; background: var(--blue-light); }
.section-title { text-align: center; font-size: clamp(22px, 3vw, 34px); font-weight: 800; color: var(--navy); margin-bottom: 44px; }
.section-title .red-line { display: block; width: 48px; height: 3px; background: var(--red); border-radius: 2px; margin: 10px auto 0; }

/* Buttons */
.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--blue); color: #fff; padding: 13px 28px; border-radius: 8px; font-weight: 600; font-size: 14.5px; text-decoration: none; transition: all 0.22s; border: none; cursor: pointer; font-family: 'Poppins', sans-serif; }
.btn-primary:hover { background: var(--navy); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(13,43,94,0.22); }
.btn-outline { display: inline-flex; align-items: center; gap: 8px; border: 2px solid var(--blue); color: var(--blue); padding: 11px 24px; border-radius: 8px; font-weight: 600; font-size: 14px; text-decoration: none; transition: all 0.22s; cursor: pointer; background: none; font-family: 'Poppins', sans-serif; }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-dark { display: inline-flex; align-items: center; gap: 8px; background: var(--navy); color: #fff; padding: 13px 28px; border-radius: 8px; font-weight: 600; font-size: 14px; text-decoration: none; transition: all 0.22s; cursor: pointer; border: none; font-family: 'Poppins', sans-serif; }
.btn-dark:hover { background: var(--blue); transform: translateY(-1px); }
.btn-wrap { display: flex; justify-content: center; margin-top: 10px; }

/* ===== PAGE BANNER ===== */
.page-banner { position: relative; min-height: 230px; display: flex; align-items: center; overflow: hidden; background: linear-gradient(120deg, #d9eaf7 0%, #f0f6ff 60%, #e0eef8 100%); }
.page-banner .banner-bg-img { position: absolute; right: 0; top: 0; width: 100%; height: 100%; object-fit: cover; opacity: 1; }
.page-banner .banner-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,0.98) 35%, rgba(255,255,255,0.5) 70%, rgba(255,255,255,0.0) 100%); }
.page-banner-content { position: relative; z-index: 2; padding: 60px 24px; max-width: 1280px; margin: 0 auto; width: 100%; }
.page-banner-content h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 800; color: var(--navy); margin-bottom: 12px; line-height: 1.1; }
.breadcrumb { font-size: 14px; color: var(--text-light); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: var(--navy); text-decoration: none; font-weight: 500; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb .sep { color: #999; }

/* ===== FOOTER ===== */
footer { background: var(--navy); color: #cbd8ee; padding: 60px 0 0; }
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 44px; }
.footer-logo { margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.footer-logo-text .l1 { font-size: 20px; font-weight: 800; color: var(--red); line-height: 1; }
.footer-logo-text .l2 { font-size: 12px; font-weight: 700; color: #fff; letter-spacing: 3px; }
.footer-logo-text .l3 { font-size: 9px; color: #7db8f0; font-family: 'Noto Sans Devanagari', sans-serif; }
.footer-desc { font-size: 13px; line-height: 1.85; margin-bottom: 20px; color: #9eb5d8; }
.social-links { display: flex; gap: 10px; }
.social-links a { width: 34px; height: 34px; border-radius: 50%; border: 1px solid #2a4a7f; display: flex; align-items: center; justify-content: center; color: #7db8f0; font-size: 14px; text-decoration: none; transition: all 0.2s; }
.social-links a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.footer-col h4 { font-size: 13.5px; font-weight: 700; color: #fff; margin-bottom: 18px; letter-spacing: 0.5px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #9eb5d8; font-size: 13px; text-decoration: none; transition: color 0.2s; display: flex; align-items: center; gap: 7px; }
.footer-col ul li a:hover { color: #fff; padding-left: 4px; }
.footer-col ul li a i { font-size: 10px; color: var(--blue-light); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 14px; font-size: 13px; color: #9eb5d8; }
.footer-contact-item i { color: var(--blue-light); font-size: 15px; margin-top: 2px; flex-shrink: 0; }
.footer-bottom { text-align: center; padding: 18px 20px; margin-top: 44px; border-top: 1px solid #1e3a6e; font-size: 13px; color: #6a8ab5; }

/* ===== ANIMATE ON SCROLL ===== */
.aos { opacity: 0; transform: translateY(28px); transition: opacity 0.55s ease, transform 0.55s ease; }
.aos.visible { opacity: 1; transform: translateY(0); }
.aos-delay-1 { transition-delay: 0.1s; }
.aos-delay-2 { transition-delay: 0.2s; }
.aos-delay-3 { transition-delay: 0.3s; }
.aos-delay-4 { transition-delay: 0.4s; }

/* ===== HOME - HERO SLIDER ===== */
.hero { position: relative; overflow: hidden; min-height: 500px; background: linear-gradient(135deg, #cfe3f7 0%, #eaf3fc 50%, #f8fbff 100%); }
.hero-slides { position: relative; width: 100%; }
.hero-slide { display: none; }
.hero-slide.active { display: flex; }
.hero-slide-inner { max-width: 1280px; margin: 0 auto; padding: 54px 24px 44px; display: flex; align-items: center; gap: 32px; width: 100%; }
.hero-content { flex: 1; z-index: 2; }
.hero-content h1 { font-size: clamp(30px, 4.5vw, 52px); font-weight: 800; color: var(--navy); line-height: 1.18; margin-bottom: 16px; }
.hero-content p { font-size: 15.5px; color: var(--text-light); margin-bottom: 34px; max-width: 440px; line-height: 1.7; }
.hero-icons { display: flex; gap: 22px; margin-bottom: 38px; flex-wrap: wrap; }
.hero-icon-item { display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center; }
.hero-icon-circle { width: 56px; height: 56px; border-radius: 50%; background: var(--white); box-shadow: 0 4px 18px rgba(13,43,94,0.13); display: flex; align-items: center; justify-content: center; }
.hero-icon-circle i { font-size: 22px; color: var(--blue); }
.hero-icon-item span { font-size: 11px; font-weight: 600; color: var(--navy); max-width: 72px; line-height: 1.3; }
.hero-image { flex: 0 0 50%; max-width: 580px; position: relative; }
.hero-image img { width: 100%; height: 430px; object-fit: cover; object-position: center top; border-radius: 20px 20px 80px 20px; box-shadow: 0 24px 64px rgba(13,43,94,0.20); display: block; }
.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; line-height: 0; z-index: 1; }
.hero-dots { display: flex; gap: 8px; margin-top: 28px; }
.hero-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--sky2); cursor: pointer; transition: all 0.2s; border: none; padding: 0; }
.hero-dot.active { background: var(--blue); width: 26px; border-radius: 6px; }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.90); backdrop-filter: blur(4px); border: 1px solid var(--border); border-radius: 50%; width: 42px; height: 42px; cursor: pointer; font-size: 16px; color: var(--navy); display: flex; align-items: center; justify-content: center; z-index: 10; box-shadow: 0 2px 12px rgba(0,0,0,0.10); transition: all 0.2s; }
.hero-arrow:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.hero-arrow.left { left: 18px; }
.hero-arrow.right { right: 18px; }

/* HOME - ABOUT SNIPPET */
.home-about { background: var(--white); }
.home-about-inner { display: flex; gap: 60px; align-items: center; }
.home-about-img { flex: 0 0 400px; border-radius: 18px; overflow: hidden; box-shadow: 0 12px 48px rgba(13,43,94,0.16); }
.home-about-img img { width: 100%; height: 330px; object-fit: cover; display: block; }
.home-about-content { flex: 1; }
.small-label { color: var(--blue); font-size: 12.5px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 10px; }
.home-about-content h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; color: var(--navy); margin-bottom: 16px; line-height: 1.2; }
.home-about-content p { color: var(--text-light); line-height: 1.85; margin-bottom: 26px; font-size: 14.5px; }
.about-mini-stats { display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 30px; }
.mini-stat { display: flex; align-items: center; gap: 12px; }
.mini-stat-icon { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--border); background: var(--sky); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mini-stat-icon i { color: var(--blue); font-size: 18px; }
.mini-stat-text .val { font-size: 13px; font-weight: 700; color: var(--navy); }
.mini-stat-text .lbl { font-size: 11.5px; color: var(--text-light); }

/* HOME - DEPARTMENTS */
.home-depts { background: var(--gray); }
.dept-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-bottom: 40px; }
.dept-card { background: var(--white); border-radius: 14px; padding: 26px 14px 20px; text-align: center; box-shadow: var(--shadow); transition: all 0.25s; cursor: pointer; border: 1.5px solid transparent; }
.dept-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(13,43,94,0.15); border-color: var(--blue); }
.dept-icon { width: 70px; height: 70px; border-radius: 50%; background: var(--sky); margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.dept-card:hover .dept-icon { background: var(--blue); }
.dept-icon i { font-size: 28px; color: var(--blue); transition: color 0.2s; }
.dept-card:hover .dept-icon i { color: #fff; }
.dept-name { font-weight: 700; font-size: 13.5px; color: var(--navy); margin-bottom: 6px; }
.dept-desc { font-size: 11.5px; color: var(--text-light); line-height: 1.5; }

/* HOME - DOCTORS */
.home-doctors { background: var(--white); }
.doctors-grid { display: flex; flex-wrap: nowrap; overflow: hidden; margin-bottom: 0; transition: none; }
.doctors-grid.slider-track { transition: transform 0.4s cubic-bezier(0.4,0,0.2,1); }
.doctors-grid.slider-track > * { flex-shrink: 0; padding: 0 10px; box-sizing: border-box; }
.doc-card { background: var(--white); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); border: 1.5px solid var(--border); transition: all 0.25s; }
.doc-card:hover { transform: translateY(-5px); box-shadow: 0 14px 36px rgba(13,43,94,0.16); border-color: var(--blue); }
.doc-photo { height: 190px; overflow: hidden; position: relative; }
.doc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; transition: transform 0.35s; }
.doc-card:hover .doc-photo img { transform: scale(1.05); }
.doc-photo-fallback { width: 100%; height: 100%; background: linear-gradient(160deg, #c8dcf5 0%, #e8f2fb 100%); display: flex; align-items: flex-end; justify-content: center; }
.doc-photo-fallback i { font-size: 95px; color: var(--blue); opacity: 0.3; margin-bottom: -14px; }
.doc-info { padding: 16px 14px; }
.doc-name { font-weight: 700; font-size: 14px; color: var(--navy); margin-bottom: 2px; }
.doc-spec { font-size: 12px; font-weight: 600; color: var(--blue); margin-bottom: 5px; }
.doc-qual { font-size: 11.5px; color: var(--text-light); line-height: 1.4; }
.doc-exp { font-size: 11.5px; color: var(--text-light); margin-top: 2px; }

/* HOME - BLOGS */
.home-blogs { background: var(--gray); }
.blogs-grid { display: flex; flex-wrap: nowrap; overflow: hidden; }
.blogs-grid.slider-track { transition: transform 0.4s cubic-bezier(0.4,0,0.2,1); }
.blogs-grid.slider-track > * { flex-shrink: 0; padding: 0 10px; box-sizing: border-box; }
.blog-card { background: var(--white); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); transition: all 0.25s; border: 1px solid var(--border); }
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 14px 36px rgba(13,43,94,0.14); }
.blog-img { height: 160px; overflow: hidden; position: relative; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s; }
.blog-card:hover .blog-img img { transform: scale(1.06); }
.blog-img-fallback { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.blog-img-fallback i { font-size: 52px; color: rgba(255,255,255,0.4); }
.blog-body { padding: 18px 16px; }
.blog-title { font-weight: 700; font-size: 14px; color: var(--navy); margin-bottom: 10px; line-height: 1.45; }
.blog-meta { font-size: 11.5px; color: #888; margin-bottom: 12px; }
.read-more { font-size: 13px; font-weight: 600; color: var(--blue); text-decoration: none; display: inline-flex; align-items: center; gap: 5px; cursor: pointer; transition: gap 0.2s; }
.read-more:hover { gap: 9px; color: var(--navy); }

/* ===== ABOUT PAGE ===== */
.about-intro { background: var(--white); padding: 70px 0; }
.about-intro-inner { display: flex; gap: 64px; align-items: center; }
.about-intro-img { flex: 0 0 400px; border-radius: 18px; overflow: hidden; box-shadow: 0 14px 52px rgba(13,43,94,0.17); }
.about-intro-img img { width: 100%; display: block; height: 460px; object-fit: cover; }
.about-red-label { color: var(--red); font-size: 12.5px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.about-red-label::before { content: ''; width: 30px; height: 2.5px; background: var(--red); border-radius: 2px; display: block; }
.about-heading { font-size: clamp(24px, 3.5vw, 38px); font-weight: 800; color: var(--navy); line-height: 1.22; margin-bottom: 20px; }
.about-heading .red { color: var(--red); }
.about-text { color: var(--text-light); line-height: 1.88; font-size: 14.5px; margin-bottom: 18px; }
.about-big-stats { display: flex; gap: 36px; flex-wrap: wrap; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--border); }
.big-stat-item { text-align: center; }
.big-stat-num { font-size: 30px; font-weight: 800; color: var(--navy); line-height: 1; }
.big-stat-lbl { font-size: 12px; color: var(--text-light); margin-top: 4px; }

/* MVV */
.mvv-section { background: var(--gray); padding: 64px 0; }
.mvv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.mvv-card { background: var(--white); border-radius: 18px; padding: 38px 30px; box-shadow: var(--shadow); border: 1.5px solid var(--border); transition: all 0.25s; }
.mvv-card:hover { border-color: var(--blue); transform: translateY(-4px); }
.mvv-card-icon { width: 68px; height: 68px; border-radius: 50%; background: var(--sky); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.mvv-card-icon i { font-size: 28px; color: var(--blue); }
.mvv-card h3 { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 14px; }
.mvv-card p { color: var(--text-light); font-size: 14px; line-height: 1.75; }
.mvv-card ul { list-style: none; }
.mvv-card ul li { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--text-light); margin-bottom: 9px; }
.mvv-card ul li i { color: var(--red); font-size: 13px; }
.red-line { width: 38px; height: 3px; background: var(--red); border-radius: 2px; margin-top: 20px; }

/* Why Choose */
.why-section { padding: 70px 0; background: var(--white); }
.why-inner { display: flex; gap: 64px; align-items: center; }
.why-features { flex: 1; }
.why-item { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 32px; }
.why-item:last-child { margin-bottom: 0; }
.why-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.why-icon i { font-size: 22px; color: #fff; }
.why-item h4 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.why-item p { font-size: 13.5px; color: var(--text-light); line-height: 1.65; }
.why-img { flex: 0 0 420px; border-radius: 18px; overflow: hidden; box-shadow: 0 14px 52px rgba(13,43,94,0.17); }
.why-img img { width: 100%; height: 480px; object-fit: cover; display: block; }

/* Achievements */
.achievements-bar { background: var(--navy); padding: 60px 0; }
.ach-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.ach-item { text-align: center; }
.ach-icon-wrap { width: 64px; height: 64px; border-radius: 50%; border: 2px solid rgba(125,184,240,0.3); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.ach-icon-wrap i { font-size: 26px; color: #7db8f0; }
.ach-num { font-size: 38px; font-weight: 800; color: var(--white); line-height: 1; }
.ach-lbl { font-size: 12.5px; color: #9eb5d8; margin-top: 6px; line-height: 1.4; }

/* ===== DEPARTMENTS PAGE ===== */
.depts-page { padding: 70px 0; background: var(--white); }
.dept-full-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.dept-full-card { background: var(--white); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); border: 1.5px solid var(--border); transition: all 0.25s; }
.dept-full-card:hover { transform: translateY(-5px); border-color: var(--blue); box-shadow: 0 16px 44px rgba(13,43,94,0.15); }
.dept-full-img { height: 180px; overflow: hidden; position: relative; }
.dept-full-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s; }
.dept-full-card:hover .dept-full-img img { transform: scale(1.05); }
.dept-full-body { padding: 26px 22px; }
.dept-full-icon { width: 56px; height: 56px; border-radius: 12px; background: var(--sky); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.dept-full-icon i { font-size: 24px; color: var(--blue); }
.dept-full-card h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.dept-full-card p { font-size: 13.5px; color: var(--text-light); line-height: 1.7; }
.dept-tag { display: inline-block; background: var(--sky); color: var(--blue); font-size: 11.5px; font-weight: 600; padding: 4px 12px; border-radius: 20px; margin-top: 14px; }
.dept-read-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--blue); text-decoration: none; transition: gap 0.2s; }
.dept-read-more:hover { gap: 10px; }

/* ===== FIND A DOCTOR PAGE ===== */
.find-doctor-hero { position: relative; min-height: 240px; background: linear-gradient(120deg, #d2e7f8 0%, #eaf4fd 60%, #f5f9ff 100%); overflow: hidden; display: flex; align-items: center; }
.find-doctor-hero .bg-img { position: absolute; right: 0; top: 0; width: 50%; height: 100%; object-fit: cover; }
.find-doctor-hero .overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,0.97) 40%, rgba(255,255,255,0.5) 75%, transparent 100%); }
.find-doctor-hero-content { position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; padding: 54px 24px; }
.find-doctor-hero-content h1 { font-size: clamp(32px, 5vw, 50px); font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.find-doctor-hero-content p { font-size: 15px; color: var(--text-light); }

/* Search Bar */
.search-bar-wrap { background: #fff; box-shadow: 0 6px 36px rgba(13,43,94,0.13); border-radius: 14px; padding: 22px 26px; margin: 0 0 -28px; position: relative; z-index: 10; }
.search-bar-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 16px; align-items: end; }
.search-field label { font-size: 12px; font-weight: 600; color: var(--navy); margin-bottom: 6px; display: block; }
.search-field input, .search-field select { width: 100%; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: 8px; font-family: 'Poppins', sans-serif; font-size: 13.5px; color: var(--text); outline: none; transition: border 0.2s; background: #fff; }
.search-field input:focus, .search-field select:focus { border-color: var(--blue); }
.search-field .search-input-wrap { position: relative; }
.search-field .search-input-wrap i { position: absolute; right: 13px; top: 50%; transform: translateY(-50%); color: #aac; font-size: 14px; }

/* Speciality Tabs */
.spec-tabs-wrap { overflow-x: auto; padding-bottom: 4px; margin-bottom: 28px; }
.spec-tabs { display: flex; gap: 10px; min-width: max-content; }
.spec-tab { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 20px; border-radius: 12px; border: 1.5px solid var(--border); background: #fff; cursor: pointer; transition: all 0.22s; min-width: 90px; }
.spec-tab:hover { border-color: var(--blue); background: var(--sky); }
.spec-tab.active { border-color: var(--blue); background: var(--sky); }
.spec-tab i { font-size: 24px; color: var(--blue); }
.spec-tab span { font-size: 11.5px; font-weight: 600; color: var(--navy); text-align: center; }
.spec-tab.active span { color: var(--blue); }

/* Filter Sidebar */
.find-doctor-body { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: start; }
.filter-sidebar { background: var(--white); border-radius: 16px; border: 1.5px solid var(--border); padding: 24px 20px; position: sticky; top: 90px; }
.filter-sidebar h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.filter-red-line { width: 32px; height: 3px; background: var(--red); border-radius: 2px; margin-bottom: 20px; }
.filter-group { margin-bottom: 20px; }
.filter-group label { font-size: 12.5px; font-weight: 600; color: var(--navy); margin-bottom: 8px; display: block; }
.filter-group select { width: 100%; padding: 9px 12px; border: 1.5px solid var(--border); border-radius: 8px; font-family: 'Poppins', sans-serif; font-size: 13px; color: var(--text); outline: none; background: #fff; }
.filter-group select:focus { border-color: var(--blue); }
.filter-check { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 13px; color: var(--text-light); cursor: pointer; }
.filter-check input { width: 15px; height: 15px; accent-color: var(--blue); cursor: pointer; }
.filter-divider { height: 1px; background: var(--border); margin: 16px 0; }
.help-box { background: var(--sky); border-radius: 12px; padding: 18px 16px; margin-top: 20px; text-align: center; }
.help-box h4 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.help-box p { font-size: 12px; color: var(--text-light); margin-bottom: 10px; line-height: 1.5; }
.help-box .phone { font-size: 16px; font-weight: 700; color: var(--red); }
.help-box .hours { font-size: 11px; color: var(--text-light); margin-top: 4px; }

/* Doctor Cards Grid */
.doctors-results-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
.sort-wrap { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--text-light); }
.sort-wrap select { padding: 8px 12px; border: 1.5px solid var(--border); border-radius: 8px; font-family: 'Poppins', sans-serif; font-size: 13px; outline: none; }
.view-toggle { display: flex; gap: 4px; }
.view-btn { padding: 8px 12px; border: 1.5px solid var(--border); border-radius: 6px; background: #fff; cursor: pointer; font-size: 13px; color: var(--text-light); transition: all 0.2s; }
.view-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.doctors-grid-results.list-view { grid-template-columns: 1fr !important; }
.doctors-grid-results.list-view .doc-result-card { display: flex; flex-direction: row; align-items: stretch; border-radius: 14px; }
.doctors-grid-results.list-view .doc-result-img { height: auto; width: 180px; flex-shrink: 0; }
.doctors-grid-results.list-view .doc-result-body { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.doctors-grid-results.list-view .doc-result-fav { top: 12px; right: 12px; }
.doctors-grid-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.doc-result-card { background: var(--white); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); border: 1.5px solid var(--border); transition: all 0.25s; position: relative; }
.doc-result-card:hover { transform: translateY(-4px); box-shadow: 0 14px 38px rgba(13,43,94,0.15); border-color: var(--blue); }
.doc-result-fav { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,0.9); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; color: #bbb; font-size: 14px; transition: all 0.2s; z-index: 2; }
.doc-result-fav:hover, .doc-result-fav.liked { color: var(--red); }
.doc-result-img { height: 200px; overflow: hidden; position: relative; }
.doc-result-img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; transition: transform 0.35s; }
.doc-result-card:hover .doc-result-img img { transform: scale(1.04); }
.doc-result-img-fallback { width: 100%; height: 100%; display: flex; align-items: flex-end; justify-content: center; }
.doc-result-img-fallback i { font-size: 100px; opacity: 0.3; margin-bottom: -14px; }
.doc-result-body { padding: 18px 16px 16px; }
.doc-result-name { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.doc-result-title { font-size: 12.5px; color: var(--text-light); margin-bottom: 8px; }
.doc-result-qual { font-size: 12px; color: var(--text-light); line-height: 1.5; margin-bottom: 4px; }
.doc-result-exp { font-size: 12px; color: var(--text-light); margin-bottom: 10px; }
.spec-tag { display: inline-block; background: var(--sky); color: var(--blue); font-size: 11.5px; font-weight: 600; padding: 4px 13px; border-radius: 20px; margin-bottom: 10px; }
.avail-badge { font-size: 12px; font-weight: 600; display: flex; align-items: center; gap: 6px; margin-bottom: 12px; }
.avail-badge .dot-green { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; flex-shrink: 0; }
.avail-badge .dot-orange { width: 8px; height: 8px; border-radius: 50%; background: #f59e0b; flex-shrink: 0; }
.avail-badge.green { color: #16a34a; }
.avail-badge.orange { color: #d97706; }
.book-btn { width: 100%; padding: 10px; border: 1.5px solid var(--border); border-radius: 8px; background: #fff; font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 600; color: var(--navy); cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; transition: all 0.22s; }
.book-btn:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.cant-find-banner { background: var(--sky); border-radius: 16px; padding: 28px 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 36px; }
.cant-find-banner img { width: 90px; object-fit: contain; }
.cant-find-text h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.cant-find-text p { font-size: 13.5px; color: var(--text-light); }

/* ===== DOCTOR PROFILE PAGE ===== */
.doctor-profile-header { background: var(--white); border-radius: 10px; box-shadow: var(--shadow); border: 1.5px solid var(--border); margin: 0px 0 0; overflow: hidden; }
.doc-profile-top { display: flex; gap: 0; align-items: stretch; }
.doc-profile-photo { width: 220px; flex-shrink: 0; overflow: hidden; }
.doc-profile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.doc-profile-photo-fallback { width: 100%; height: 100%; background: linear-gradient(160deg, #c8dcf5, #e8f2fb); display: flex; align-items: flex-end; justify-content: center; min-height: 200px; }
.doc-profile-photo-fallback i { font-size: 120px; color: var(--blue); opacity: 0.3; margin-bottom: -18px; }
.doc-profile-info { flex: 1; padding: 30px 32px; }
.doc-profile-bg-img { flex: 0 0 260px; overflow: hidden; position: relative; }
.doc-profile-bg-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.doc-profile-info h1 { font-size: 28px; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.doc-profile-info .doc-title { font-size: 15.5px; color: var(--text-light); margin-bottom: 8px; }
.doc-profile-info .doc-qual-line { font-size: 13.5px; color: var(--text-light); margin-bottom: 4px; }
.doc-profile-info .doc-exp-line { font-size: 13.5px; color: var(--text-light); margin-bottom: 14px; }
.spec-pill { display: inline-block; background: var(--sky); color: var(--blue); font-size: 12px; font-weight: 600; padding: 4px 14px; border-radius: 20px; margin-bottom: 20px; border: 1.5px solid #c5dcf4; }
.doc-profile-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.doc-stat { display: flex; align-items: center; gap: 10px; }
.doc-stat-icon { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; }
.doc-stat-icon i { font-size: 17px; color: var(--blue); }
.doc-stat-num { font-size: 20px; font-weight: 800; color: var(--navy); line-height: 1; }
.doc-stat-lbl { font-size: 11px; color: var(--text-light); }

/* Profile Tabs */
.profile-tabs{background:#fff;border-radius:10px 10px 10px 10px;padding:0 16px;margin-top:20px;margin-bottom: 20px; box-shadow:var(--shadow);display: flex; gap: 0; border-bottom: 2px solid var(--border);}
.profile-tab { padding: 14px 22px; font-size: 13.5px; font-weight: 600; color: var(--text-light); cursor: pointer; border-bottom: 2.5px solid transparent; margin-bottom: -2px; display: flex; align-items: center; gap: 8px; transition: all 0.2s; background: none; border-top: none; border-left: none; border-right: none; font-family: 'Poppins', sans-serif; white-space: nowrap; }
.profile-tab:hover { color: var(--blue); }
.profile-tab.active { color: var(--blue); border-bottom-color: var(--blue); }
.profile-tab i { font-size: 14px; }

/* Profile Content */
.profile-body { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; margin-bottom: 40px; }
.profile-section-title { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.profile-section-redline { width: 32px; height: 3px; background: var(--red); border-radius: 2px; margin-bottom: 18px; }
.expertise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 6px; }
.expertise-item { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.expertise-icon { width: 54px; height: 54px; border-radius: 50%; background: var(--sky); display: flex; align-items: center; justify-content: center; }
.expertise-icon i { font-size: 20px; color: var(--blue); }
.expertise-item span { font-size: 12px; color: var(--navy); font-weight: 600; line-height: 1.35; }
.edu-table { width: 100%; border-collapse: collapse; margin-top: 6px; }
.edu-table tr { border-bottom: 1px solid var(--border); }
.edu-table td { padding: 12px 8px; font-size: 13.5px; vertical-align: top; }
.edu-table td:first-child { color: var(--blue); font-weight: 600; width: 60px; }
.edu-table td:nth-child(2) { font-weight: 600; color: var(--navy); width: 150px; }
.edu-table td:last-child { color: var(--text-light); }
.exp-item { display: flex; gap: 14px; margin-bottom: 18px; align-items: flex-start; }
.exp-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--blue); flex-shrink: 0; margin-top: 6px; }
.exp-years { font-size: 12.5px; color: var(--text-light); font-weight: 600; width: 100px; flex-shrink: 0; }
.exp-role { font-size: 14px; font-weight: 700; color: var(--navy); }
.exp-place { font-size: 13px; color: var(--text-light); }

/* Reviews */
.reviews-summary { display: flex; gap: 28px; align-items: center; margin-bottom: 28px; }
.rating-big { text-align: center; }
.rating-big .num { font-size: 52px; font-weight: 800; color: var(--navy); line-height: 1; }
.rating-big .stars { color: #f59e0b; font-size: 18px; }
.rating-big .based { font-size: 12px; color: var(--text-light); margin-top: 4px; }
.rating-bars { flex: 1; }
.rating-bar-row { display: flex; align-items: center; gap: 10px; margin-bottom: 7px; font-size: 13px; color: var(--text-light); }
.rating-bar-track { flex: 1; height: 7px; background: #eee; border-radius: 4px; overflow: hidden; }
.rating-bar-fill { height: 100%; background: #f59e0b; border-radius: 4px; }
.rating-bar-count { width: 28px; text-align: right; font-size: 12px; }
.reviews-list { display: flex; gap: 20px; }
.review-card { flex: 1; background: var(--gray); border-radius: 12px; padding: 18px 16px; }
.review-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.reviewer-avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--blue-light)); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 15px; flex-shrink: 0; }
.reviewer-name { font-size: 13.5px; font-weight: 700; color: var(--navy); }
.reviewer-date { font-size: 11.5px; color: var(--text-light); }
.review-stars { color: #f59e0b; font-size: 13px; margin-bottom: 8px; }
.review-text { font-size: 13px; color: var(--text-light); line-height: 1.65; }
.view-all-reviews { border: 1.5px solid var(--border); background: #fff; padding: 11px 28px; border-radius: 8px; font-family: 'Poppins', sans-serif; font-size: 13.5px; font-weight: 600; color: var(--navy); cursor: pointer; transition: all 0.2s; margin-top: 20px; display: block; width: 100%; text-align: center; }
.view-all-reviews:hover { border-color: var(--blue); color: var(--blue); }

/* Appointment Sidebar */
.appt-sidebar { display: flex; flex-direction: column; gap: 20px; }
.appt-card { background: var(--white); border-radius: 10px; border: 1.5px solid var(--border); padding: 24px 22px; box-shadow: var(--shadow); }
.appt-card h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 18px; display: flex; align-items: center; gap: 9px; }
.appt-card h3 i { color: var(--blue); }
.appt-select { width: 100%; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: 8px; font-family: 'Poppins', sans-serif; font-size: 13.5px; color: var(--text); outline: none; margin-bottom: 12px; background: #fff; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23555' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.appt-select:focus { border-color: var(--blue); }
.avail-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.avail-row:last-child { border-bottom: none; }
.avail-day { font-weight: 600; color: var(--navy); }
.avail-time { color: var(--text-light); }
.contact-card-item { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; font-size: 13.5px; color: var(--text-light); }
.contact-card-item i { color: var(--blue); font-size: 15px; }
.clinic-map-btn { width: 100%; padding: 10px; border: 1.5px solid var(--border); border-radius: 8px; background: #fff; font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 600; color: var(--navy); cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; transition: all 0.2s; margin-top: 12px; }
.clinic-map-btn:hover { border-color: var(--blue); color: var(--blue); }
.need-help-card { background: var(--sky); border-radius: 14px; padding: 22px; }
.need-help-card h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.need-help-card h3 i { color: var(--blue); }
.need-help-card p { font-size: 13px; color: var(--text-light); margin-bottom: 10px; line-height: 1.5; }
.need-help-card .phone { font-size: 18px; font-weight: 700; color: var(--red); }
.need-help-card .hours { font-size: 12px; color: var(--text-light); margin-top: 4px; }
.download-pdf-btn { width: 100%; padding: 11px; border: 1.5px solid var(--border); border-radius: 8px; background: #fff; font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 600; color: var(--navy); cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; transition: all 0.2s; }
.download-pdf-btn:hover { border-color: var(--blue); color: var(--blue); }

/* ===== GALLERY PAGE ===== */
.gallery-page { padding: 70px 0; background: var(--white); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); transition: all 0.3s; cursor: zoom-in; position: relative; }
.gallery-item:nth-child(7n+1) { grid-column: span 2; }
.gallery-item:hover { transform: scale(1.02); box-shadow: 0 12px 42px rgba(13,43,94,0.18); }
.gallery-item img { width: 100%; height: 220px; object-fit: cover; display: block; transition: transform 0.35s; }
.gallery-item:nth-child(7n+1) img { height: 280px; }
.gallery-item:hover img { transform: scale(1.05); }

/* ===== CONTACT PAGE ===== */
.contact-main { padding: 70px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; }
.contact-info h2 { font-size: 30px; font-weight: 800; color: var(--navy); margin-bottom: 16px; }
.contact-info > p { color: var(--text-light); font-size: 14.5px; line-height: 1.7; margin-bottom: 32px; }
.contact-detail { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.contact-detail-icon { width: 50px; height: 50px; border-radius: 50%; background: var(--sky); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-detail-icon i { font-size: 21px; color: var(--blue); }
.contact-detail h4 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.contact-detail p { font-size: 13.5px; color: var(--text-light); line-height: 1.5; margin: 0; }
.contact-form-card { background: var(--white); border-radius: 20px; padding: 42px 38px; box-shadow: 0 10px 50px rgba(13,43,94,0.13); border: 1.5px solid var(--border); }
.contact-form-card h3 { font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 28px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: 9px; font-family: 'Poppins', sans-serif; font-size: 14px; color: var(--text); background: var(--white); transition: border 0.2s; outline: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--blue); }
.form-group textarea { height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-success { background: #e8f5e9; border: 1px solid #81c784; border-radius: 9px; padding: 14px 18px; color: #2e7d32; font-weight: 600; font-size: 14px; text-align: center; display: none; margin-top: 14px; }
.map-section { background: var(--gray); padding: 60px 0; }
.map-embed iframe { width: 100%; height: 420px; border: none; display: block; border-radius: 16px; box-shadow: 0 8px 40px rgba(13,43,94,0.12); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .dept-grid { grid-template-columns: repeat(3, 1fr); }
  .doctors-grid { /* slider - no grid override needed */ }
  .blogs-grid { /* slider - no grid override needed */ }
  .dept-full-grid { grid-template-columns: repeat(2, 1fr); }
  .find-doctor-body { grid-template-columns: 200px 1fr; }
  .doctors-grid-results { grid-template-columns: repeat(2, 1fr); }
  .profile-body { grid-template-columns: 1fr 290px; }
  .expertise-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 900px) {
  .home-about-inner, .about-intro-inner, .why-inner { flex-direction: column; }
  .home-about-img, .about-intro-img, .why-img { flex: unset; width: 100%; }
  .home-about-img img, .about-intro-img img, .why-img img { height: 260px; }
  .hero-image { display: none; }
  .hero-slide-inner { justify-content: center; }
  .mvv-grid { grid-template-columns: 1fr; }
  .ach-grid { grid-template-columns: repeat(2, 1fr); }
  .search-bar-inner { grid-template-columns: 1fr 1fr; }
  .find-doctor-body { grid-template-columns: 1fr; }
  .filter-sidebar { position: static; }
  .doc-profile-top { flex-direction: column; }
  .doc-profile-photo { width: 100%; height: 260px; }
  .doc-profile-bg-img { display: none; }
  .profile-body { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery-item:nth-child(7n+1) { grid-column: span 1; }
  .gallery-item:nth-child(7n+1) img { height: 220px; }
}
@media (max-width: 768px) {
  nav { display: none; }
  .hamburger { display: block; }
  .topbar .tb-right { display: flex; }
  .topbar .tb-left { gap: 0; }
  .tb-desktop-only { display: none !important; }
  .topbar .inner { flex-wrap: nowrap; }
  .topbar .tb-left .tb-item:first-child { display: flex; }
  .dept-grid { grid-template-columns: repeat(2, 1fr); }
  .doctors-grid { /* slider */ }
  .blogs-grid { /* slider */ }
  .footer-inner { grid-template-columns: 1fr; }
  section { padding: 44px 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .doctors-grid-results { grid-template-columns: 1fr 1fr; }
  .dept-full-grid { grid-template-columns: 1fr; }
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-list { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
  .cant-find-banner { flex-direction: column; text-align: center; }
  .ach-grid { grid-template-columns: repeat(2, 1fr); }
  .search-bar-inner { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .dept-grid { grid-template-columns: repeat(2, 1fr); }
  .doctors-grid { /* slider */ }
  .gallery-grid { grid-template-columns: 1fr; }
  .doctors-grid-results { grid-template-columns: 1fr; }
  .contact-form-card { padding: 24px 18px; }
  .hero-content h1 { font-size: 26px; }
  .hero-icons { gap: 10px; }
  .hero-icon-circle { width: 44px; height: 44px; }
  .hero-icon-circle i { font-size: 18px; }
}

/* =============================================
   BOOK APPOINTMENT PAGE
   ============================================= */
.appt-hero { position: relative; min-height: 260px; display: flex; align-items: center; overflow: hidden; background: linear-gradient(120deg, #d2e8f7 0%, #eaf4fd 60%, #f5f9ff 100%); }
.appt-hero .bg-img { position: absolute; right: 0; top: 0; width: 52%; height: 100%; object-fit: cover; object-position: center top; }
.appt-hero .overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,0.98) 38%, rgba(255,255,255,0.55) 72%, transparent 100%); }
.appt-hero-content { position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; padding: 54px 24px; width: 100%; }
.appt-hero-label { color: var(--red); font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; }
.appt-hero-content h1 { font-size: clamp(30px, 4.5vw, 48px); font-weight: 800; color: var(--navy); margin-bottom: 14px; line-height: 1.15; }
.appt-hero-content p { font-size: 15px; color: var(--text-light); margin-bottom: 32px; max-width: 400px; line-height: 1.7; }
.appt-hero-features { display: flex; gap: 36px; flex-wrap: wrap; }
.appt-hero-feat { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; min-width: 90px; }
.appt-hero-feat-icon { width: 58px; height: 58px; border-radius: 50%; border: 1.5px solid #c5dcf4; background: rgba(255,255,255,0.85); display: flex; align-items: center; justify-content: center; }
.appt-hero-feat-icon i { font-size: 22px; color: var(--blue); }
.appt-hero-feat strong { font-size: 13px; font-weight: 700; color: var(--navy); }
.appt-hero-feat span { font-size: 11.5px; color: var(--text-light); line-height: 1.4; }

/* Main Form Layout */
.appt-main { padding: 48px 0 70px; background: var(--gray); }
.appt-layout { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; }
.appt-form-card { background: #fff; border-radius: 18px; padding: 38px 36px; box-shadow: 0 4px 32px rgba(13,43,94,0.10); border: 1.5px solid var(--border); }
.appt-form-card h2 { font-size: 24px; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.appt-form-redline { width: 36px; height: 3px; background: var(--red); border-radius: 2px; margin-bottom: 14px; }
.appt-form-card > p { font-size: 13.5px; color: var(--text-light); margin-bottom: 28px; }
.form-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 16px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-grid-3-2 { display: grid; grid-template-columns: 1fr 1fr auto; gap: 16px; margin-bottom: 16px; align-items: end; }
.appt-form-group { margin-bottom: 0; }
.appt-form-group label { display: block; font-size: 12.5px; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.appt-input { width: 100%; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: 8px; font-family: 'Poppins', sans-serif; font-size: 13.5px; color: var(--text); background: #fff; outline: none; transition: border 0.2s; }
.appt-input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,79,160,0.08); }
.appt-input::placeholder { color: #bbb; }
.appt-select { width: 100%; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: 8px; font-family: 'Poppins', sans-serif; font-size: 13.5px; color: var(--text); background: #fff; outline: none; transition: border 0.2s; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23555' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-color: #fff; }
.appt-select:focus { border-color: var(--blue); }
.appt-date-wrap { position: relative; }
.appt-date-wrap i { position: absolute; right: 13px; top: 50%; transform: translateY(-50%); color: #aac; pointer-events: none; font-size: 14px; }
.visit-type-group { display: flex; gap: 20px; align-items: center; padding-top: 8px; }
.radio-option { display: flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--text); cursor: pointer; }
.radio-option input { width: 16px; height: 16px; accent-color: var(--blue); cursor: pointer; }
.appt-textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 8px; font-family: 'Poppins', sans-serif; font-size: 13.5px; color: var(--text); background: #fff; outline: none; resize: vertical; min-height: 100px; transition: border 0.2s; }
.appt-textarea:focus { border-color: var(--blue); }
.patient-type-row { display: flex; align-items: center; gap: 20px; }
.patient-gender-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 16px; margin-bottom: 16px; align-items: end; }
.gender-options { display: flex; gap: 14px; flex-wrap: wrap; padding-top: 6px; }
.insurance-box { border: 1.5px solid var(--border); border-radius: 10px; padding: 16px 20px; margin-bottom: 20px; background: var(--gray); }
.insurance-box label { font-size: 13.5px; font-weight: 700; color: var(--navy); display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.insurance-box label i { color: var(--blue); }
.insurance-options { display: flex; gap: 20px; }
.terms-row { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--text-light); margin-bottom: 24px; line-height: 1.5; }
.terms-row input { margin-top: 2px; accent-color: var(--blue); cursor: pointer; }
.terms-row a { color: var(--blue); text-decoration: none; font-weight: 600; }
.confirm-btn { width: 100%; padding: 16px; background: var(--navy); color: #fff; border: none; border-radius: 10px; font-family: 'Poppins', sans-serif; font-size: 15px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; transition: all 0.22s; letter-spacing: 0.5px; }
.confirm-btn:hover { background: var(--blue); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(13,43,94,0.22); }
.manage-appt-banner { background: #fff; border-radius: 14px; border: 1.5px solid var(--border); padding: 24px 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 20px; box-shadow: 0 2px 16px rgba(13,43,94,0.07); }
.manage-appt-banner .icon-wrap { width: 60px; height: 60px; background: var(--sky); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.manage-appt-banner .icon-wrap i { font-size: 26px; color: var(--blue); }
.manage-appt-text h4 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 5px; }
.manage-appt-text p { font-size: 13px; color: var(--text-light); line-height: 1.5; }

/* Appointment Sidebar */
.appt-page-sidebar { display: flex; flex-direction: column; gap: 20px; }
.why-book-card { background: #fff; border-radius: 16px; border: 1.5px solid var(--border); padding: 26px 22px; box-shadow: 0 2px 16px rgba(13,43,94,0.08); }
.why-book-card h3 { font-size: 17px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.why-book-redline { width: 32px; height: 3px; background: var(--red); border-radius: 2px; margin-bottom: 20px; }
.why-book-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.why-book-item:last-child { margin-bottom: 0; }
.why-book-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--sky); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.why-book-icon i { font-size: 16px; color: var(--blue); }
.why-book-item h4 { font-size: 13.5px; font-weight: 700; color: var(--blue); margin-bottom: 3px; }
.why-book-item p { font-size: 12px; color: var(--text-light); line-height: 1.55; }
.help-sidebar-card { background: var(--sky); border-radius: 16px; border: 1.5px solid #c5dcf4; padding: 24px 22px; }
.help-sidebar-card h3 { font-size: 17px; font-weight: 800; color: var(--navy); margin-bottom: 4px; display: flex; align-items: center; gap: 9px; }
.help-sidebar-card p { font-size: 13px; color: var(--text-light); margin-bottom: 12px; line-height: 1.5; }
.help-sidebar-card .phone { font-size: 22px; font-weight: 800; color: var(--red); }
.help-sidebar-card .hours { font-size: 12px; color: var(--text-light); margin-top: 4px; }
.important-info-card { background: #fff; border-radius: 16px; border: 1.5px solid var(--border); padding: 24px 22px; box-shadow: 0 2px 16px rgba(13,43,94,0.07); }
.important-info-card h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.important-info-redline { width: 28px; height: 3px; background: var(--red); border-radius: 2px; margin-bottom: 16px; }
.important-info-card ul { list-style: none; }
.important-info-card ul li { font-size: 12.5px; color: var(--text-light); margin-bottom: 10px; display: flex; align-items: flex-start; gap: 9px; line-height: 1.55; }
.important-info-card ul li::before { content: '•'; color: var(--blue); font-size: 16px; line-height: 1; flex-shrink: 0; margin-top: -2px; }
.appt-success-msg { background: #e8f5e9; border: 1.5px solid #81c784; border-radius: 10px; padding: 16px 20px; color: #2e7d32; font-weight: 600; font-size: 14px; text-align: center; display: none; margin-top: 16px; }

/* =============================================
   BLOG PAGE
   ============================================= */
.blog-hero { position: relative; min-height: 230px; display: flex; align-items: center; overflow: hidden; background: linear-gradient(120deg, #d2e8f7 0%, #eaf4fd 60%, #f5f9ff 100%); }
.blog-hero .bg-img { position: absolute; right: 0; top: 0; width: 50%; height: 100%; object-fit: cover; }
.blog-hero .overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,0.97) 40%, rgba(255,255,255,0.5) 72%, transparent 100%); }
.blog-hero-content { position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; padding: 54px 24px; width: 100%; }
.blog-hero-content h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; color: var(--navy); margin-bottom: 12px; }
.blog-hero-content p { font-size: 15px; color: var(--text-light); max-width: 480px; line-height: 1.7; margin-bottom: 18px; }

/* Blog Layout */
.blog-page-section { padding: 48px 0 70px; background: #fff; }
.blog-layout { display: grid; grid-template-columns: 1fr 280px; gap: 36px; align-items: start; }
.blog-main-title { font-size: 22px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.blog-main-redline { width: 36px; height: 3px; background: var(--red); border-radius: 2px; margin-bottom: 28px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 36px; }
.blog-post-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 2px 18px rgba(13,43,94,0.09); border: 1.5px solid var(--border); transition: all 0.25s; }
.blog-post-card:hover { transform: translateY(-5px); box-shadow: 0 14px 38px rgba(13,43,94,0.15); border-color: var(--blue); }
.blog-post-img { height: 160px; overflow: hidden; position: relative; }
.blog-post-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s; }
.blog-post-card:hover .blog-post-img img { transform: scale(1.06); }
.blog-cat-badge { position: absolute; bottom: 10px; left: 10px; background: var(--blue); color: #fff; font-size: 10.5px; font-weight: 700; padding: 3px 10px; border-radius: 20px; letter-spacing: 0.3px; }
.blog-cat-badge.neurology { background: #4a1aa0; }
.blog-cat-badge.women { background: #c06080; }
.blog-cat-badge.pediatrics { background: #c07020; }
.blog-cat-badge.digestive { background: #206040; }
.blog-cat-badge.cancer { background: #8b1a1a; }
.blog-cat-badge.wellness { background: #205060; }
.blog-cat-badge.ortho { background: #1a5a30; }
.blog-cat-badge.diabetes { background: #604010; }
.blog-post-body { padding: 18px 16px 20px; }
.blog-post-title { font-size: 14.5px; font-weight: 700; color: var(--navy); margin-bottom: 8px; line-height: 1.45; }
.blog-post-excerpt { font-size: 12.5px; color: var(--text-light); line-height: 1.65; margin-bottom: 12px; }
.blog-post-meta { display: flex; align-items: center; gap: 14px; font-size: 11.5px; color: #888; margin-bottom: 12px; flex-wrap: wrap; }
.blog-post-meta i { font-size: 11px; margin-right: 3px; color: #aab; }
.blog-post-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.blog-tag { font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 20px; background: var(--sky); color: var(--blue); border: 1px solid #c5dcf4; }
.blog-read-more { font-size: 13px; font-weight: 600; color: var(--blue); display: inline-flex; align-items: center; gap: 5px; text-decoration: none; transition: gap 0.2s; cursor: pointer; }
.blog-read-more:hover { gap: 9px; color: var(--navy); }

/* Pagination */
.blog-pagination { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.page-btn { width: 36px; height: 36px; border-radius: 8px; border: 1.5px solid var(--border); background: #fff; font-family: 'Poppins', sans-serif; font-size: 13.5px; font-weight: 600; color: var(--navy); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.page-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.page-btn:hover:not(.active) { border-color: var(--blue); color: var(--blue); }
.page-btn.next { width: auto; padding: 0 14px; gap: 6px; }

/* Blog Sidebar */
.blog-sidebar { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 90px; }
.blog-sidebar-card { background: #fff; border-radius: 14px; border: 1.5px solid var(--border); padding: 22px 20px; box-shadow: 0 2px 16px rgba(13,43,94,0.07); }
.blog-sidebar-card h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.sidebar-redline { width: 28px; height: 3px; background: var(--red); border-radius: 2px; margin-bottom: 16px; }
.search-input-wrap { position: relative; }
.search-input-wrap input { width: 100%; padding: 10px 42px 10px 14px; border: 1.5px solid var(--border); border-radius: 8px; font-family: 'Poppins', sans-serif; font-size: 13.5px; outline: none; background: #fff; }
.search-input-wrap input:focus { border-color: var(--blue); }
.search-input-wrap button { position: absolute; right: 0; top: 0; bottom: 0; width: 40px; background: var(--navy); border: none; border-radius: 0 8px 8px 0; color: #fff; cursor: pointer; font-size: 14px; }
.search-input-wrap button:hover { background: var(--blue); }
.cat-list { list-style: none; }
.cat-list li { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.cat-list li:last-child { border-bottom: none; }
.cat-list li a { display: flex; align-items: center; gap: 8px; color: var(--text-light); text-decoration: none; transition: color 0.2s; cursor: pointer; }
.cat-list li a:hover { color: var(--blue); }
.cat-list li a i { font-size: 12px; color: var(--red); }
.cat-count { font-size: 11.5px; font-weight: 600; color: var(--blue); background: var(--sky); padding: 2px 8px; border-radius: 12px; }
.popular-post-item { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.popular-post-item:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.popular-post-img { width: 60px; height: 54px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.popular-post-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.popular-post-title { font-size: 12.5px; font-weight: 600; color: var(--navy); line-height: 1.4; margin-bottom: 4px; cursor: pointer; }
.popular-post-title:hover { color: var(--blue); }
.popular-post-date { font-size: 11px; color: #888; }
.tags-wrap { display: flex; flex-wrap: wrap; gap: 7px; }
.tag-pill { font-size: 11.5px; font-weight: 600; padding: 5px 12px; border-radius: 20px; background: var(--sky); color: var(--blue); border: 1.5px solid #c5dcf4; cursor: pointer; transition: all 0.2s; }
.tag-pill:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.newsletter-card { background: var(--navy); border-radius: 14px; padding: 24px 20px; color: #fff; }
.newsletter-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.newsletter-card p { font-size: 12.5px; color: #9eb5d8; line-height: 1.55; margin-bottom: 16px; }
.newsletter-input-wrap { display: flex; flex-direction: column; gap: 10px; }
.newsletter-input-wrap input { padding: 11px 14px; border: 1.5px solid #2a4a7f; border-radius: 8px; background: rgba(255,255,255,0.1); color: #fff; font-family: 'Poppins', sans-serif; font-size: 13px; outline: none; }
.newsletter-input-wrap input::placeholder { color: #7db8f0; }
.newsletter-input-wrap input:focus { border-color: #7db8f0; }
.subscribe-btn { padding: 11px 16px; background: var(--blue); color: #fff; border: none; border-radius: 8px; font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; transition: background 0.2s; }
.subscribe-btn:hover { background: var(--blue-light); }
.newsletter-float-icon { text-align: right; margin-top: 12px; font-size: 32px; opacity: 0.3; }

/* =============================================
   CONTACT PAGE (REDESIGNED)
   ============================================= */
.contact-hero { position: relative; min-height: 270px; display: flex; align-items: center; overflow: hidden; background: linear-gradient(120deg, #d2e8f7 0%, #eaf4fd 60%, #f5f9ff 100%); }
.contact-hero .bg-img { position: absolute; right: 0; top: 0; width: 52%; height: 100%; object-fit: cover; }
.contact-hero .overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,0.97) 40%, rgba(255,255,255,0.50) 72%, transparent 100%); }
.contact-hero-content { position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; padding: 54px 24px; width: 100%; }
.contact-hero-label { color: var(--red); font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; }
.contact-hero-content h1 { font-size: clamp(30px, 4.5vw, 50px); font-weight: 800; color: var(--navy); margin-bottom: 14px; line-height: 1.15; }
.contact-hero-content p { font-size: 15px; color: var(--text-light); max-width: 440px; line-height: 1.7; margin-bottom: 32px; }
.contact-hero-features { display: flex; gap: 48px; flex-wrap: wrap; }
.contact-hero-feat { text-align: center; }
.contact-hero-feat-icon { width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid #c5dcf4; background: rgba(255,255,255,0.85); display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; }
.contact-hero-feat-icon i { font-size: 22px; color: var(--blue); }
.contact-hero-feat strong { display: block; font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.contact-hero-feat span { font-size: 12px; color: var(--text-light); }

/* Contact Body */
.contact-body { padding: 56px 0; background: var(--gray); }
.contact-body-grid { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.contact-msg-card { background: #fff; border-radius: 18px; padding: 36px 34px; box-shadow: 0 4px 32px rgba(13,43,94,0.10); border: 1.5px solid var(--border); }
.contact-msg-card h2 { font-size: 22px; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.contact-msg-redline { width: 34px; height: 3px; background: var(--red); border-radius: 2px; margin-bottom: 10px; }
.contact-msg-card > p { font-size: 13.5px; color: var(--text-light); margin-bottom: 26px; line-height: 1.6; }
.contact-form-input { width: 100%; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: 9px; font-family: 'Poppins', sans-serif; font-size: 13.5px; color: var(--text); background: #fff; outline: none; transition: border 0.2s; }
.contact-form-input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,79,160,0.07); }
.contact-form-input::placeholder { color: #bbb; }
.contact-form-textarea { width: 100%; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: 9px; font-family: 'Poppins', sans-serif; font-size: 13.5px; color: var(--text); background: #fff; outline: none; resize: vertical; min-height: 120px; transition: border 0.2s; }
.contact-form-textarea:focus { border-color: var(--blue); }
.send-btn { padding: 14px 36px; background: var(--navy); color: #fff; border: none; border-radius: 9px; font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 9px; transition: all 0.22s; letter-spacing: 0.3px; }
.send-btn:hover { background: var(--blue); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(13,43,94,0.22); }

/* Get In Touch Sidebar */
.get-in-touch-card { background: #fff; border-radius: 16px; border: 1.5px solid var(--border); padding: 28px 24px; box-shadow: 0 2px 20px rgba(13,43,94,0.08); }
.get-in-touch-card h3 { font-size: 18px; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.git-redline { width: 30px; height: 3px; background: var(--red); border-radius: 2px; margin-bottom: 22px; }
.git-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--border); }
.git-item:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.git-icon { width: 50px; height: 50px; border-radius: 50%; background: var(--sky); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.git-icon i { font-size: 20px; color: var(--blue); }
.git-label { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.git-value { font-size: 13.5px; color: var(--text-light); line-height: 1.5; }
.git-sub { font-size: 12px; color: var(--text-light); margin-top: 2px; }
.git-link { font-size: 13px; font-weight: 600; color: var(--blue); text-decoration: none; display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; }
.git-link:hover { color: var(--navy); }
.git-emergency { color: var(--red) !important; font-weight: 700; font-size: 15px !important; }

/* Map */
.contact-map-section { padding: 0 0 56px; background: var(--gray); }
.contact-map-embed { border-radius: 16px; overflow: hidden; box-shadow: 0 6px 36px rgba(13,43,94,0.13); }
.contact-map-embed iframe { width: 100%; height: 420px; border: none; display: block; }

/* Why Contact */
.why-contact { background: #fff; padding: 56px 0; }
.why-contact-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.why-contact-item { text-align: center; }
.why-contact-icon { width: 64px; height: 64px; border-radius: 50%; border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.why-contact-icon i { font-size: 24px; color: var(--blue); }
.why-contact-item h4 { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.why-contact-item p { font-size: 11.5px; color: var(--text-light); line-height: 1.55; }

/* Contact Newsletter in Footer Area */
.contact-newsletter-col h4 { font-size: 13.5px; font-weight: 700; color: #fff; margin-bottom: 18px; }
.contact-newsletter-col p { font-size: 12.5px; color: #9eb5d8; margin-bottom: 14px; line-height: 1.55; }
.contact-newsletter-col .nl-wrap { display: flex; }
.contact-newsletter-col .nl-wrap input { flex: 1; padding: 10px 14px; border: 1px solid #2a4a7f; border-radius: 8px 0 0 8px; background: rgba(255,255,255,0.1); color: #fff; font-family: 'Poppins', sans-serif; font-size: 13px; outline: none; }
.contact-newsletter-col .nl-wrap input::placeholder { color: #7db8f0; }
.contact-newsletter-col .nl-wrap button { padding: 10px 16px; background: var(--blue); color: #fff; border: none; border-radius: 0 8px 8px 0; cursor: pointer; font-size: 14px; }

/* Responsive additions */
@media (max-width: 1000px) {
  .appt-layout { grid-template-columns: 1fr; }
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
  .contact-body-grid { grid-template-columns: 1fr; }
  .why-contact-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid-3, .form-grid-3-2 { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .patient-gender-grid { grid-template-columns: 1fr; }
  .why-contact-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-hero-features { gap: 24px; }
  .appt-hero-features { gap: 18px; }
}
@media (max-width: 480px) {
  .blog-grid { grid-template-columns: 1fr; }
  .contact-msg-card, .appt-form-card { padding: 22px 16px; }
  .why-contact-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================
   OPD SCHEDULE PAGE
   ============================================= */
.opd-hero { position: relative; min-height: 250px; display: flex; align-items: flex-end; overflow: hidden; background: linear-gradient(120deg, #d2e8f7 0%, #eaf4fd 60%, #f5f9ff 100%); padding-bottom: 0; }
.opd-hero .bg-img { position: absolute; right: 0; top: 0; width: 55%; height: 100%; object-fit: cover; object-position: center top; }
.opd-hero .overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,0.99) 38%, rgba(255,255,255,0.55) 70%, transparent 100%); }
.opd-hero-inner { position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; padding: 44px 24px 44px; width: 100%; }
.opd-breadcrumb { font-size: 13px; color: var(--text-light); display: flex; align-items: center; gap: 7px; margin-bottom: 18px; flex-wrap: wrap; }
.opd-breadcrumb a { color: var(--navy); text-decoration: none; font-weight: 500; }
.opd-breadcrumb a:hover { color: var(--blue); }
.opd-breadcrumb .sep { color: #999; }
.opd-hero-inner h1 { font-size: clamp(30px, 4.5vw, 48px); font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.opd-red-line { width: 36px; height: 3px; background: var(--red); border-radius: 2px; margin-bottom: 14px; }
.opd-hero-inner p { font-size: 15px; color: var(--text-light); line-height: 1.65; max-width: 400px; }

/* OPD Main Layout */
.opd-main { padding: 36px 0 70px; background: var(--white); }
.opd-layout { display: grid; grid-template-columns: 1fr 280px; gap: 28px; align-items: start; }

/* Day Tabs */
.opd-day-tabs { display: flex; gap: 0; margin-bottom: 22px; border-radius: 8px; overflow: hidden; border: 1.5px solid var(--border); background: #f5f8fc; width: fit-content; }
.opd-day-tab { padding: 10px 20px; font-size: 13.5px; font-weight: 600; color: var(--navy); cursor: pointer; border: none; background: transparent; font-family: 'Poppins', sans-serif; border-right: 1px solid var(--border); transition: all 0.2s; white-space: nowrap; }
.opd-day-tab:last-child { border-right: none; }
.opd-day-tab:hover { background: var(--sky); }
.opd-day-tab.active { background: var(--navy); color: #fff; }

/* OPD Table */
.opd-table-wrap { border-radius: 14px; overflow: hidden; box-shadow: 0 2px 20px rgba(13,43,94,0.09); border: 1.5px solid var(--border); margin-bottom: 16px; }
.opd-table { width: 100%; border-collapse: collapse; }
.opd-table thead tr { background: var(--navy); }
.opd-table thead th { padding: 14px 16px; color: #fff; font-size: 13px; font-weight: 600; text-align: left; white-space: nowrap; }
.opd-table tbody tr { border-bottom: 1px solid var(--border); background: #fff; transition: background 0.15s; }
.opd-table tbody tr:last-child { border-bottom: none; }
.opd-table tbody tr:hover { background: var(--sky); }
.opd-table td { padding: 14px 16px; font-size: 13px; color: var(--text); vertical-align: middle; }
.dept-cell { display: flex; align-items: center; gap: 10px; }
.dept-icon-circle { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dept-icon-circle i { font-size: 16px; }
.dept-cell-name { font-weight: 700; font-size: 13px; color: var(--navy); }
.doctor-cell { }
.doctor-name { font-weight: 700; font-size: 13px; color: var(--navy); }
.doctor-title { font-size: 11.5px; color: var(--text-light); }
.qual-cell .qual { font-weight: 600; font-size: 12.5px; color: var(--text); }
.qual-cell .exp { font-size: 11.5px; color: var(--text-light); }
.time-cell .slot { font-size: 12.5px; color: var(--text); font-weight: 500; }
.time-cell .slot + .slot { margin-top: 4px; }
.fee-cell { font-weight: 700; color: var(--navy); font-size: 13.5px; }
.book-now-btn { background: var(--white); border: 1.5px solid var(--blue); color: var(--blue); padding: 7px 16px; border-radius: 7px; font-family: 'Poppins', sans-serif; font-size: 12.5px; font-weight: 700; cursor: pointer; transition: all 0.2s; white-space: nowrap; }
.book-now-btn:hover { background: var(--blue); color: #fff; }
.opd-note { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--text-light); background: var(--gray); border-radius: 10px; padding: 13px 18px; border: 1px solid var(--border); }
.opd-note i { color: var(--blue); font-size: 15px; flex-shrink: 0; margin-top: 1px; }
.opd-note strong { color: var(--navy); }

/* OPD Features Strip */
.opd-features-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 28px; }
.opd-feat-item { display: flex; align-items: flex-start; gap: 14px; }
.opd-feat-icon { width: 50px; height: 50px; border-radius: 12px; background: var(--sky); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.opd-feat-icon i { font-size: 22px; color: var(--blue); }
.opd-feat-text h4 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.opd-feat-text p { font-size: 12px; color: var(--text-light); line-height: 1.55; }

/* OPD Sidebar */
.opd-sidebar { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 90px; }
.opd-find-doc-card { background: #fff; border-radius: 14px; border: 1.5px solid var(--border); padding: 24px 20px; box-shadow: 0 2px 18px rgba(13,43,94,0.08); }
.opd-find-doc-card h3 { font-size: 16px; font-weight: 800; color: var(--navy); margin-bottom: 18px; }
.opd-select-label { font-size: 12px; font-weight: 600; color: var(--navy); margin-bottom: 7px; display: block; }
.opd-select { width: 100%; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: 8px; font-family: 'Poppins', sans-serif; font-size: 13px; color: var(--text); outline: none; margin-bottom: 14px; background: #fff; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23555' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; }
.opd-select:focus { border-color: var(--blue); }
.view-schedule-btn { width: 100%; padding: 12px; background: var(--navy); color: #fff; border: none; border-radius: 9px; font-family: 'Poppins', sans-serif; font-size: 13.5px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; transition: background 0.2s; }
.view-schedule-btn:hover { background: var(--blue); }
.opd-help-card { background: var(--sky); border-radius: 14px; border: 1.5px solid #c5dcf4; padding: 22px 20px; }
.opd-help-card h3 { font-size: 15px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.opd-help-card p { font-size: 13px; color: var(--text-light); margin-bottom: 14px; line-height: 1.55; }
.opd-help-contact { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; font-size: 13.5px; font-weight: 700; color: var(--navy); }
.opd-help-contact i { color: var(--blue); font-size: 15px; }
.opd-help-contact .hours { font-size: 11.5px; font-weight: 400; color: var(--text-light); }
.opd-help-contact .email { font-size: 12.5px; font-weight: 500; color: var(--blue); }
.opd-important-card { background: #fff; border-radius: 14px; border: 1.5px solid var(--border); padding: 22px 20px; box-shadow: 0 2px 18px rgba(13,43,94,0.07); }
.opd-important-card h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.opd-important-redline { width: 28px; height: 3px; background: var(--red); border-radius: 2px; margin-bottom: 16px; }
.opd-important-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: 12.5px; color: var(--text-light); line-height: 1.55; }
.opd-important-item i { color: var(--blue); font-size: 15px; flex-shrink: 0; margin-top: 1px; }

/* =============================================
   FAQ PAGE
   ============================================= */
.faq-hero { position: relative; min-height: 230px; display: flex; align-items: center; overflow: hidden; background: linear-gradient(120deg, #d2e8f7 0%, #eaf4fd 60%, #f5f9ff 100%); }
.faq-hero .bg-img { position: absolute; right: 0; top: 0; width: 46%; height: 100%; object-fit: cover; object-position: left center; }
.faq-hero .overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,0.99) 44%, rgba(255,255,255,0.5) 72%, transparent 100%); }
.faq-hero-content { position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; padding: 50px 24px; width: 100%; }
.faq-hero-content h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.faq-hero-content .red-line { width: 36px; height: 3px; background: var(--red); border-radius: 2px; margin-bottom: 14px; }
.faq-hero-content p { font-size: 15px; color: var(--text-light); max-width: 420px; line-height: 1.65; }

/* FAQ Layout */
.faq-section { padding: 44px 0 70px; background: var(--white); }
.faq-layout { display: grid; grid-template-columns: 1fr 280px; gap: 32px; align-items: start; }

/* FAQ Category Tabs */
.faq-cat-tabs { display: flex; gap: 0; margin-bottom: 24px; border: 1.5px solid var(--border); border-radius: 14px; background: var(--gray); overflow: hidden; }
.faq-cat-tab { flex: 1; padding: 16px 12px; text-align: center; cursor: pointer; border: none; background: transparent; font-family: 'Poppins', sans-serif; transition: all 0.2s; border-right: 1px solid var(--border); }
.faq-cat-tab:last-child { border-right: none; }
.faq-cat-tab i { display: block; font-size: 22px; color: var(--blue); margin-bottom: 7px; }
.faq-cat-tab span { display: block; font-size: 12px; font-weight: 600; color: var(--navy); }
.faq-cat-tab.active { background: #fff; box-shadow: inset 0 -2px 0 var(--blue); }
.faq-cat-tab.active span { color: var(--blue); }
.faq-cat-tab:hover { background: var(--sky); }

/* Accordion */
.faq-accordion { display: flex; flex-direction: column; gap: 0; border: 1.5px solid var(--border); border-radius: 14px; overflow: hidden; margin-bottom: 24px; }
.faq-item { border-bottom: 1px solid var(--border); background: #fff; }
.faq-item:last-child { border-bottom: none; }
.faq-question { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--navy); transition: background 0.15s; user-select: none; gap: 12px; }
.faq-question:hover { background: var(--sky); }
.faq-question.open { background: var(--sky); color: var(--blue); }
.faq-toggle { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 15px; color: var(--blue); transition: all 0.2s; }
.faq-question.open .faq-toggle { background: var(--blue); color: #fff; border-color: var(--blue); }
.faq-answer { display: none; padding: 0 22px 18px; font-size: 13.5px; color: var(--text-light); line-height: 1.75; }
.faq-answer.open { display: block; }

/* Can't find banner */
.cant-find-faq { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--gray); border: 1.5px solid var(--border); border-radius: 14px; padding: 24px 28px; }
.cant-find-faq-icon { width: 60px; height: 60px; border-radius: 50%; background: var(--sky); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cant-find-faq-icon i { font-size: 26px; color: var(--blue); }
.cant-find-faq-text h4 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.cant-find-faq-text p { font-size: 13px; color: var(--text-light); }

/* FAQ Sidebar */
.faq-sidebar { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 90px; }
.faq-still-card { background: #fff; border-radius: 14px; border: 1.5px solid var(--border); padding: 24px 22px; box-shadow: 0 2px 18px rgba(13,43,94,0.08); }
.faq-still-card h3 { font-size: 16px; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.faq-still-redline { width: 28px; height: 3px; background: var(--red); border-radius: 2px; margin-bottom: 10px; }
.faq-still-card > p { font-size: 13px; color: var(--text-light); margin-bottom: 18px; }
.faq-support-box { border: 1.5px solid var(--border); border-radius: 12px; padding: 18px; text-align: center; margin-bottom: 14px; }
.faq-support-icon { font-size: 30px; color: var(--blue); margin-bottom: 8px; }
.faq-support-box p { font-size: 12.5px; color: var(--text-light); margin-bottom: 8px; }
.faq-support-box .phone { font-size: 20px; font-weight: 800; color: var(--red); margin-bottom: 2px; }
.faq-support-box .hours { font-size: 11.5px; color: var(--text-light); margin-bottom: 14px; }
.faq-quick-links-card { background: #fff; border-radius: 14px; border: 1.5px solid var(--border); padding: 22px 20px; box-shadow: 0 2px 18px rgba(13,43,94,0.07); }
.faq-quick-links-card h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.faq-quick-link-item { display: flex; align-items: center; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--border); font-size: 13.5px; color: var(--text-light); cursor: pointer; text-decoration: none; transition: color 0.2s; }
.faq-quick-link-item:last-child { border-bottom: none; }
.faq-quick-link-item:hover { color: var(--blue); }
.faq-quick-link-item i { font-size: 12px; color: var(--blue); }
.faq-emergency-card { background: var(--navy); border-radius: 14px; padding: 22px 20px; color: #fff; }
.faq-emergency-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.faq-emergency-card h3 i { color: #ff6b6b; }
.faq-emergency-card p { font-size: 12.5px; color: #9eb5d8; margin-bottom: 14px; }
.emergency-red-btn { width: 100%; padding: 12px; background: var(--red); color: #fff; border: none; border-radius: 9px; font-family: 'Poppins', sans-serif; font-size: 13.5px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; }

/* =============================================
   TPA & INSURANCE PAGE
   ============================================= */
.tpa-hero { position: relative; min-height: 260px; display: flex; align-items: center; overflow: hidden; background: linear-gradient(120deg, #d2e8f7 0%, #eaf4fd 60%, #f5f9ff 100%); }
.tpa-hero .bg-img { position: absolute; right: 0; top: 0; width: 50%; height: 100%; object-fit: cover; object-position: left center; }
.tpa-hero .overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,0.99) 40%, rgba(255,255,255,0.5) 70%, transparent 100%); }
.tpa-hero-inner { position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; padding: 54px 24px; width: 100%; }
.tpa-hero-inner h1 { font-size: clamp(30px, 4.5vw, 48px); font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.tpa-red-line { width: 36px; height: 3px; background: var(--red); border-radius: 2px; margin-bottom: 16px; }
.tpa-hero-inner p { font-size: 15px; color: var(--text-light); line-height: 1.7; max-width: 440px; }

/* TPA Features Strip */
.tpa-features-strip { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 28px 0; }
.tpa-features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tpa-feat { display: flex; gap: 14px; align-items: flex-start; }
.tpa-feat-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--sky); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tpa-feat-icon i { font-size: 20px; color: var(--blue); }
.tpa-feat h4 { font-size: 13.5px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.tpa-feat p { font-size: 12px; color: var(--text-light); line-height: 1.55; }

/* TPA Partners */
.tpa-partners-section { padding: 56px 0; background: var(--white); }
.tpa-partners-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 14px; }
.tpa-partner-card { border: 1.5px solid var(--border); border-radius: 12px; padding: 22px 18px; display: flex; align-items: center; justify-content: center; min-height: 80px; background: #fff; transition: all 0.25s; cursor: pointer; }
.tpa-partner-card:hover { border-color: var(--blue); box-shadow: 0 6px 24px rgba(13,43,94,0.12); transform: translateY(-2px); }
.tpa-partner-card .partner-name { font-size: 14px; font-weight: 800; color: var(--navy); text-align: center; }
.tpa-partner-card .partner-sub { font-size: 10px; color: var(--text-light); text-align: center; }
.tpa-note { font-size: 12.5px; color: var(--text-light); font-style: italic; margin-top: 12px; }

/* TPA Two Cols */
.tpa-two-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 40px 0; }
.tpa-insurance-partners-card { background: var(--sky); border-radius: 16px; padding: 32px 28px; position: relative; overflow: hidden; }
.tpa-insurance-partners-card h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.tpa-insurance-partners-card p { font-size: 13.5px; color: var(--text-light); line-height: 1.65; margin-bottom: 20px; }
.tpa-insurance-partners-card .umbrella-img { position: absolute; right: 20px; bottom: 0; width: 100px; opacity: 0.25; font-size: 80px; text-align: center; }
.tpa-need-help-card { background: var(--white); border-radius: 16px; padding: 28px 24px; border: 1.5px solid var(--border); box-shadow: var(--shadow); display: flex; gap: 20px; align-items: center; }
.tpa-need-help-text h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.tpa-need-help-text p { font-size: 13px; color: var(--text-light); margin-bottom: 14px; }
.tpa-need-help-contact { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; font-size: 14px; font-weight: 700; color: var(--navy); }
.tpa-need-help-contact i { color: var(--blue); font-size: 15px; }
.tpa-need-help-contact .email { font-size: 13px; font-weight: 500; color: var(--blue); }
.tpa-support-img { width: 130px; flex-shrink: 0; border-radius: 12px; overflow: hidden; }
.tpa-support-img img { width: 100%; height: 130px; object-fit: cover; object-position: center top; display: block; }

/* How Cashless Works */
.cashless-section { padding: 56px 0; background: var(--gray); }
.cashless-steps { display: flex; align-items: flex-start; gap: 0; margin-top: 12px; }
.cashless-step { flex: 1; text-align: center; position: relative; }
.cashless-step:not(:last-child)::after { content: '›'; position: absolute; right: -10px; top: 26px; font-size: 22px; color: #aac; font-weight: 300; }
.cashless-step-icon { width: 60px; height: 60px; border-radius: 50%; border: 2px solid var(--border); background: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; box-shadow: 0 2px 12px rgba(13,43,94,0.10); }
.cashless-step-icon i { font-size: 22px; color: var(--blue); }
.cashless-step-label { font-size: 11.5px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.cashless-step-desc { font-size: 11px; color: var(--text-light); line-height: 1.5; padding: 0 8px; }
.cashless-note { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--text-light); background: var(--sky); border-radius: 10px; padding: 14px 20px; border: 1px solid #c5dcf4; margin-top: 28px; }
.cashless-note i { color: var(--blue); font-size: 16px; flex-shrink: 0; margin-top: 1px; }

/* =============================================
   BLOG DETAILS PAGE
   ============================================= */
.blog-detail-section { padding: 36px 0 70px; background: var(--white); }
.blog-detail-layout { display: grid; grid-template-columns: 1fr 280px; gap: 36px; align-items: start; }
.blog-detail-main { }
.blog-detail-breadcrumb { font-size: 13px; color: var(--text-light); display: flex; align-items: center; gap: 7px; margin-bottom: 22px; flex-wrap: wrap; }
.blog-detail-breadcrumb a { color: var(--navy); text-decoration: none; font-weight: 500; }
.blog-detail-breadcrumb a:hover { color: var(--blue); }
.blog-detail-breadcrumb .sep { color: #999; }
.blog-hero-img { width: 100%; height: 340px; object-fit: cover; border-radius: 16px; display: block; margin-bottom: 20px; box-shadow: 0 6px 32px rgba(13,43,94,0.13); }
.blog-detail-meta-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.blog-cat-pill { background: var(--navy); color: #fff; font-size: 10.5px; font-weight: 700; padding: 4px 12px; border-radius: 20px; letter-spacing: 0.5px; text-transform: uppercase; }
.blog-meta-item { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-light); }
.blog-meta-item i { font-size: 12px; color: #aab; }
.blog-detail-title { font-size: clamp(22px, 3vw, 30px); font-weight: 800; color: var(--navy); margin-bottom: 12px; line-height: 1.25; }
.blog-detail-intro { font-size: 15px; color: var(--text-light); line-height: 1.8; margin-bottom: 18px; }
.blog-share-row { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1.5px solid var(--border); }
.blog-share-row span { font-size: 13px; font-weight: 600; color: var(--navy); }
.share-btn { width: 34px; height: 34px; border-radius: 50%; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 15px; color: #fff; transition: opacity 0.2s; }
.share-btn:hover { opacity: 0.85; }
.share-fb { background: #1877f2; }
.share-tw { background: #000; }
.share-li { background: #0077b5; }
.share-wa { background: #25d366; }

/* Blog Content Sections */
.blog-content-section { margin-bottom: 28px; }
.blog-content-inner { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: start; }
.blog-content-inner.no-img { grid-template-columns: 1fr; }
.blog-section-img { width: 160px; height: 140px; object-fit: cover; border-radius: 12px; flex-shrink: 0; }
.blog-section-heading { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 6px; display: flex; align-items: center; gap: 0; }
.blog-section-redline { display: inline-block; width: 28px; height: 3px; background: var(--red); border-radius: 2px; margin-bottom: 10px; }
.blog-section-text { font-size: 13.5px; color: var(--text-light); line-height: 1.75; margin-bottom: 12px; }
.blog-bullet { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; color: var(--text-light); margin-bottom: 7px; line-height: 1.6; }
.blog-bullet-icon { width: 18px; height: 18px; border-radius: 50%; background: var(--sky); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.blog-bullet-icon i { font-size: 8px; color: var(--blue); }

/* CTA Banner in Blog */
.blog-cta-banner { background: var(--sky); border: 1.5px solid #c5dcf4; border-radius: 14px; padding: 24px 28px; display: flex; align-items: center; gap: 20px; margin: 28px 0; }
.blog-cta-icon { width: 52px; height: 52px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.blog-cta-icon i { font-size: 22px; color: var(--blue); }
.blog-cta-text { flex: 1; min-width: 0; }
.blog-cta-text strong { font-size: 14.5px; font-weight: 700; color: var(--navy); display: block; margin-bottom: 3px; }
.blog-cta-text p { font-size: 13px; color: var(--text-light); }

/* Prev/Next */
.blog-prev-next { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; padding-top: 24px; border-top: 1.5px solid var(--border); }
.blog-prev-btn, .blog-next-btn { background: #fff; border: 1.5px solid var(--border); border-radius: 12px; padding: 16px 18px; cursor: pointer; transition: all 0.22s; text-decoration: none; display: block; }
.blog-prev-btn:hover, .blog-next-btn:hover { border-color: var(--blue); background: var(--sky); }
.blog-prev-btn .nav-label, .blog-next-btn .nav-label { font-size: 11.5px; color: var(--text-light); margin-bottom: 5px; display: flex; align-items: center; gap: 6px; }
.blog-prev-btn .nav-title, .blog-next-btn .nav-title { font-size: 13.5px; font-weight: 700; color: var(--navy); line-height: 1.4; }
.blog-next-btn { text-align: right; }
.blog-next-btn .nav-label { justify-content: flex-end; }

/* Blog Detail Sidebar */
.blog-detail-sidebar { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 90px; }
.blog-sidebar-search { background: #fff; border-radius: 12px; border: 1.5px solid var(--border); padding: 18px 16px; box-shadow: var(--shadow); }
.blog-sidebar-search h3 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.blog-detail-cat-card { background: #fff; border-radius: 12px; border: 1.5px solid var(--border); padding: 18px 16px; box-shadow: var(--shadow); }
.blog-detail-cat-card h3 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.blog-cat-list li { display: flex; justify-content: space-between; align-items: center; padding: 9px 10px; border-radius: 8px; font-size: 13px; color: var(--text-light); cursor: pointer; transition: background 0.15s; }
.blog-cat-list li:hover { background: var(--sky); color: var(--blue); }
.blog-cat-list li.active { background: var(--sky); color: var(--blue); font-weight: 600; border-left: 3px solid var(--blue); padding-left: 12px; }
.blog-cat-list li .cat-num { font-size: 12px; font-weight: 600; color: #999; background: var(--gray); padding: 2px 8px; border-radius: 10px; }
.blog-cat-list li.active .cat-num { background: #c5dcf4; color: var(--blue); }
.blog-recent-card { background: #fff; border-radius: 12px; border: 1.5px solid var(--border); padding: 18px 16px; box-shadow: var(--shadow); }
.blog-recent-card h3 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.blog-recent-item { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); cursor: pointer; }
.blog-recent-item:last-child { border-bottom: none; }
.blog-recent-thumb { width: 54px; height: 50px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.blog-recent-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-recent-title { font-size: 12.5px; font-weight: 600; color: var(--navy); line-height: 1.4; margin-bottom: 4px; }
.blog-recent-title:hover { color: var(--blue); }
.blog-recent-date { font-size: 11px; color: #888; }
.blog-tags-card { background: #fff; border-radius: 12px; border: 1.5px solid var(--border); padding: 18px 16px; box-shadow: var(--shadow); }
.blog-tags-card h3 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.blog-expert-cta { background: var(--navy); border-radius: 14px; padding: 24px 20px; color: #fff; }
.blog-expert-cta h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.blog-expert-cta p { font-size: 12.5px; color: #9eb5d8; line-height: 1.55; margin-bottom: 16px; }
.blog-appt-btn { width: 100%; padding: 11px; background: var(--white); color: var(--navy); border: none; border-radius: 8px; font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 12px; transition: all 0.2s; }
.blog-appt-btn:hover { background: var(--sky); }
.blog-expert-phone { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #9eb5d8; }
.blog-expert-phone i { color: var(--blue-light); }
.blog-expert-phone .ph { font-weight: 700; color: #fff; }

/* Responsive additions */
@media (max-width: 1000px) {
  .opd-layout { grid-template-columns: 1fr; }
  .opd-sidebar { position: static; }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-sidebar { position: static; }
  .blog-detail-layout { grid-template-columns: 1fr; }
  .blog-detail-sidebar { position: static; }
  .tpa-two-cols { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .opd-day-tabs { flex-wrap: wrap; width: 100%; }
  .opd-table { display: block; overflow-x: auto; white-space: nowrap; }
  .opd-features-strip { grid-template-columns: 1fr 1fr; }
  /* OPD schedule main grid: stack on mobile */
  .opd-sch-layout { grid-template-columns: 1fr !important; }
  .opd-sch-sidebar { position: static !important; }
  .faq-cat-tabs { flex-wrap: wrap; }
  .faq-cat-tab { flex: 1 1 45%; }
  .tpa-features-grid { grid-template-columns: 1fr 1fr; }
  .tpa-partners-grid { grid-template-columns: repeat(2,1fr); }
  .cashless-steps { flex-wrap: wrap; gap: 20px; }
  .cashless-step::after { display: none; }
  .blog-content-inner { grid-template-columns: 1fr; }
  .blog-section-img { width: 100%; height: 180px; }
  .blog-prev-next { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .opd-features-strip { grid-template-columns: 1fr; }
  .tpa-partners-grid { grid-template-columns: 1fr 1fr; }
  .faq-cat-tab { flex: 1 1 100%; }
}

/* =============================================
   VIDEO GALLERY PAGE
   ============================================= */
.video-hero { position: relative; min-height: 240px; display: flex; align-items: center; overflow: hidden; background: linear-gradient(120deg, #d2e8f7 0%, #eaf4fd 65%, #f5f9ff 100%); }
.video-hero .bg-img { position: absolute; right: 0; top: 0; width: 46%; height: 100%; object-fit: cover; object-position: left center; }
.video-hero .overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,0.99) 44%, rgba(255,255,255,0.55) 72%, transparent 100%); }
.video-hero-content { position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; padding: 50px 24px; width: 100%; }
.video-hero-content h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.video-hero-redline { width: 36px; height: 3px; background: var(--red); border-radius: 2px; margin-bottom: 16px; }
.video-hero-content p { font-size: 15px; color: var(--text-light); max-width: 420px; line-height: 1.7; }

/* Video Page Layout */
.video-page-section { padding: 44px 0 70px; background: var(--white); }
.video-page-layout { display: grid; grid-template-columns: 1fr 280px; gap: 36px; align-items: start; }
.video-section-title { font-size: 20px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.video-section-redline { width: 36px; height: 3px; background: var(--red); border-radius: 2px; margin-bottom: 24px; }

/* Video Grid */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 32px; }
.video-card { background: var(--white); border-radius: 14px; overflow: hidden; box-shadow: 0 2px 18px rgba(13,43,94,0.09); border: 1.5px solid var(--border); transition: all 0.25s; cursor: pointer; }
.video-card:hover { transform: translateY(-5px); box-shadow: 0 14px 38px rgba(13,43,94,0.16); border-color: var(--blue); }
.video-thumb { position: relative; height: 175px; overflow: hidden; background: #000; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s, opacity 0.3s; opacity: 0.85; }
.video-card:hover .video-thumb img { transform: scale(1.05); opacity: 0.75; }
.video-play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,0.92); border: 3px solid rgba(255,255,255,0.6); display: flex; align-items: center; justify-content: center; transition: all 0.25s; box-shadow: 0 4px 20px rgba(0,0,0,0.3); }
.video-play-btn i { font-size: 20px; color: var(--navy); margin-left: 3px; }
.video-card:hover .video-play-btn { background: var(--blue); border-color: var(--blue); box-shadow: 0 6px 24px rgba(26,79,160,0.45); }
.video-card:hover .video-play-btn i { color: #fff; }
.video-duration { position: absolute; bottom: 10px; right: 10px; background: rgba(0,0,0,0.80); color: #fff; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 5px; letter-spacing: 0.3px; }
.video-card-body { padding: 16px 15px 18px; }
.video-card-title { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 7px; line-height: 1.4; }
.video-card:hover .video-card-title { color: var(--blue); }
.video-card-author { font-size: 12px; color: var(--text-light); margin-bottom: 5px; }
.video-card-stats { display: flex; align-items: center; gap: 12px; font-size: 11.5px; color: #999; }
.video-card-stats i { font-size: 11px; margin-right: 3px; color: #bbb; }

/* Load More Btn */
.load-more-btn { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; padding: 14px 28px; border: 1.5px solid var(--border); border-radius: 10px; background: var(--white); font-family: 'Poppins', sans-serif; font-size: 13.5px; font-weight: 700; color: var(--navy); cursor: pointer; transition: all 0.22s; letter-spacing: 0.3px; }
.load-more-btn:hover { border-color: var(--blue); color: var(--blue); background: var(--sky); }
.load-more-btn i { font-size: 15px; }

/* Video Sidebar */
.video-sidebar { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 90px; }
.video-cat-card { background: var(--white); border-radius: 14px; border: 1.5px solid var(--border); padding: 22px 20px; box-shadow: 0 2px 18px rgba(13,43,94,0.07); }
.video-cat-card h3 { font-size: 16px; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.video-cat-redline { width: 28px; height: 3px; background: var(--red); border-radius: 2px; margin-bottom: 16px; }
.video-cat-item { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 8px; margin-bottom: 6px; cursor: pointer; transition: background 0.15s; }
.video-cat-item:hover { background: var(--sky); }
.video-cat-item:last-child { margin-bottom: 0; }
.video-cat-left { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-light); font-weight: 500; }
.video-cat-left i { font-size: 15px; color: var(--blue); width: 18px; text-align: center; }
.video-cat-count { font-size: 11.5px; font-weight: 700; color: var(--blue); background: var(--sky); padding: 3px 10px; border-radius: 12px; }
.video-view-all-btn { width: 100%; padding: 11px; border: 1.5px solid var(--border); border-radius: 8px; background: var(--white); font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 700; color: var(--navy); cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; transition: all 0.2s; margin-top: 14px; }
.video-view-all-btn:hover { border-color: var(--blue); color: var(--blue); }
.youtube-card { background: var(--white); border-radius: 14px; border: 1.5px solid var(--border); padding: 24px 20px; box-shadow: 0 2px 18px rgba(13,43,94,0.07); }
.youtube-card-icon { width: 46px; height: 46px; border-radius: 50%; background: #ff0000; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.youtube-card-icon i { font-size: 22px; color: #fff; }
.youtube-card h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 6px; line-height: 1.4; }
.youtube-card p { font-size: 12.5px; color: var(--text-light); margin-bottom: 16px; line-height: 1.55; }
.subscribe-yt-btn { width: 100%; padding: 12px; background: var(--navy); color: #fff; border: none; border-radius: 9px; font-family: 'Poppins', sans-serif; font-size: 13.5px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; transition: background 0.2s; }
.subscribe-yt-btn:hover { background: var(--blue); }
.video-help-card { background: var(--white); border-radius: 14px; border: 1.5px solid var(--border); padding: 22px 20px; box-shadow: 0 2px 18px rgba(13,43,94,0.07); }
.video-help-card h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.video-help-card p { font-size: 13px; color: var(--text-light); margin-bottom: 14px; line-height: 1.55; }
.video-help-phone { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.video-help-phone i { color: var(--blue); font-size: 15px; }
.video-help-hours { font-size: 11.5px; color: var(--text-light); margin-bottom: 14px; }

/* Video Modal */
.video-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.88); z-index: 9999; display: none; align-items: center; justify-content: center; padding: 20px; }
.video-modal-overlay.open { display: flex; }
.video-modal-box { background: #000; border-radius: 16px; overflow: hidden; max-width: 820px; width: 100%; position: relative; box-shadow: 0 24px 80px rgba(0,0,0,0.7); }
.video-modal-close { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.15); border: none; color: #fff; font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 2; transition: background 0.2s; }
.video-modal-close:hover { background: rgba(255,255,255,0.3); }
.video-modal-player { width: 100%; aspect-ratio: 16/9; background: #111; display: flex; align-items: center; justify-content: center; }
.video-modal-player img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }
.video-modal-play-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; }
.video-modal-play-center i { font-size: 64px; color: rgba(255,255,255,0.9); text-shadow: 0 4px 24px rgba(0,0,0,0.5); }
.video-modal-play-center p { color: rgba(255,255,255,0.7); font-size: 13px; margin-top: 10px; }
.video-modal-info { background: #111; padding: 16px 20px; }
.video-modal-info h4 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.video-modal-info p { color: #999; font-size: 12.5px; }

/* =============================================
   SPECIALITY DETAILS PAGE (CARDIOLOGY)
   ============================================= */
.spec-hero { position: relative; min-height: 280px; display: flex; align-items: center; overflow: hidden; background: linear-gradient(120deg, #d2e8f7 0%, #eaf4fd 60%, #f5f9ff 100%); }
.spec-hero .bg-img { position: absolute; right: 0; top: 0; width: 52%; height: 100%; object-fit: cover; object-position: left center; }
.spec-hero .overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,0.99) 40%, rgba(255,255,255,0.55) 70%, transparent 100%); }
.spec-hero-content { position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; padding: 54px 24px; width: 100%; }
.spec-hero-content h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.spec-hero-redline { width: 36px; height: 3px; background: var(--red); border-radius: 2px; margin-bottom: 14px; }
.spec-hero-sub { font-size: 14px; font-weight: 600; color: var(--blue); margin-bottom: 10px; }
.spec-hero-desc { font-size: 14.5px; color: var(--text-light); max-width: 430px; line-height: 1.75; }

/* Spec Features Strip */
.spec-features-strip { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 26px 0; }
.spec-features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.spec-feat { display: flex; gap: 14px; align-items: flex-start; }
.spec-feat-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--sky); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.spec-feat-icon i { font-size: 20px; color: var(--blue); }
.spec-feat h4 { font-size: 13.5px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.spec-feat p { font-size: 12px; color: var(--text-light); line-height: 1.55; }

/* Spec Main Section */
.spec-main-section { padding: 52px 0 70px; background: var(--white); }
.spec-layout { display: grid; grid-template-columns: 1fr 290px; gap: 36px; align-items: start; min-width: 0; }
.spec-content { min-width: 0; overflow: hidden; }
.spec-section-title { font-size: 20px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.spec-section-redline { width: 32px; height: 3px; background: var(--red); border-radius: 2px; margin-bottom: 18px; }

/* About Dept */
.spec-about-inner { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; margin-bottom: 28px; min-width: 0; }
.spec-about-img { width: 200px; height: 220px; object-fit: cover; border-radius: 14px; display: block; box-shadow: 0 6px 28px rgba(13,43,94,0.13); }
.spec-about-text p { font-size: 14px; color: var(--text-light); line-height: 1.8; margin-bottom: 14px; }
.spec-bullet { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--text-light); margin-bottom: 9px; line-height: 1.55; }
.spec-bullet-icon { width: 20px; height: 20px; border-radius: 50%; background: var(--sky); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.spec-bullet-icon i { font-size: 9px; color: var(--blue); }

/* Cardiology Services Grid */
.spec-services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; min-width: 0; }
.spec-service-item { background: var(--gray); border-radius: 12px; padding: 18px 14px; text-align: center; border: 1.5px solid var(--border); transition: all 0.22s; cursor: pointer; min-width: 0; overflow: hidden; }
.spec-service-item:hover { border-color: var(--blue); background: var(--sky); transform: translateY(-3px); }
.spec-service-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--white); display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; box-shadow: 0 2px 10px rgba(13,43,94,0.10); }
.spec-service-icon i { font-size: 20px; color: var(--blue); }
.spec-service-name { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 5px; }
.spec-service-desc { font-size: 11px; color: var(--text-light); line-height: 1.5; }

/* Treatment Process */
.spec-process { margin-top: 36px; }
.spec-process-steps { display: flex; align-items: flex-start; gap: 0; margin-top: 12px; }
.spec-process-step { flex: 1; text-align: center; position: relative; }
.spec-process-step:not(:last-child)::after { content: ''; position: absolute; top: 28px; right: -50%; width: 100%; height: 2px; background: repeating-linear-gradient(90deg, var(--border) 0, var(--border) 6px, transparent 6px, transparent 12px); z-index: 0; }
.spec-process-icon { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--border); background: var(--white); display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; position: relative; z-index: 1; box-shadow: 0 2px 12px rgba(13,43,94,0.10); }
.spec-process-icon i { font-size: 20px; color: var(--blue); }
.spec-process-step-num { font-size: 11.5px; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.spec-process-step-name { font-size: 12px; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.spec-process-step-desc { font-size: 11px; color: var(--text-light); line-height: 1.5; padding: 0 4px; }

/* CTA Banner */
.spec-cta-banner { background: var(--navy); border-radius: 16px; padding: 28px 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 40px; flex-wrap: wrap; }
.spec-cta-left { display: flex; align-items: center; gap: 18px; flex: 1; min-width: 0; }
.spec-cta-icon { width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; }
.spec-cta-icon i { font-size: 24px; color: var(--sky2); }
.spec-cta-text strong { display: block; font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.spec-cta-text p { font-size: 13px; color: #9eb5d8; }

/* Spec Sidebar */
.spec-sidebar { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 90px; min-width: 0; width: 100%; }
.spec-doctors-card { background: var(--white); border-radius: 14px; border: 1.5px solid var(--border); padding: 22px 20px; box-shadow: 0 2px 18px rgba(13,43,94,0.08); box-sizing: border-box; width: 100%; overflow: hidden; }
.spec-doctors-card h3 { font-size: 15px; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.spec-doc-redline { width: 28px; height: 3px; background: var(--red); border-radius: 2px; margin-bottom: 16px; }
.spec-doc-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--border); }
.spec-doc-item:last-child { border-bottom: none; }
.spec-doc-photo { width: 54px; height: 54px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: linear-gradient(160deg, #c8dcf5, #e8f2fb); display: flex; align-items: flex-end; justify-content: center; }
.spec-doc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.spec-doc-photo i { font-size: 36px; color: var(--blue); opacity: 0.3; }
.spec-doc-name { font-size: 13.5px; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.spec-doc-title { font-size: 11.5px; color: var(--text-light); margin-bottom: 2px; }
.spec-doc-exp { font-size: 11.5px; color: var(--text-light); }
.view-all-doc-btn { width: 100%; padding: 11px; border: 1.5px solid var(--border); border-radius: 8px; background: var(--white); font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 700; color: var(--navy); cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; transition: all 0.2s; }
.view-all-doc-btn:hover { border-color: var(--blue); color: var(--blue); }

/* When to See */
.when-to-see-card { background: var(--white); border-radius: 14px; border: 1.5px solid var(--border); padding: 22px 20px; box-shadow: 0 2px 18px rgba(13,43,94,0.07); box-sizing: border-box; width: 100%; overflow: hidden; }
.when-to-see-card h3 { font-size: 14.5px; font-weight: 700; color: var(--navy); margin-bottom: 4px; line-height: 1.4; }
.when-to-see-redline { width: 28px; height: 3px; background: var(--red); border-radius: 2px; margin-bottom: 10px; }
.when-to-see-card > p { font-size: 12.5px; color: var(--text-light); margin-bottom: 14px; line-height: 1.55; }
.when-bullet { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--text-light); margin-bottom: 8px; }
.when-bullet i { font-size: 11px; color: var(--blue); flex-shrink: 0; margin-top: 3px; }
.appt-sidebar-btn { width: 100%; padding: 12px; background: var(--blue); color: #fff; border: none; border-radius: 9px; font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; transition: background 0.2s; margin-top: 16px; }
.appt-sidebar-btn:hover { background: var(--navy); }
.emergency-sidebar-card { background: var(--navy); border-radius: 14px; padding: 22px 20px; box-sizing: border-box; width: 100%; overflow: hidden; }
.emergency-sidebar-card p { color: #9eb5d8; font-size: 12.5px; margin-bottom: 10px; line-height: 1.5; }
.emergency-sidebar-card .em-phone { font-size: 18px; font-weight: 800; color: var(--white); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.emergency-sidebar-card .em-phone i { color: var(--sky2); font-size: 16px; }
.emergency-now-btn { width: 100%; padding: 11px; background: var(--red); color: #fff; border: none; border-radius: 8px; font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; transition: background 0.2s; }
.emergency-now-btn:hover { background: #c01010; }

/* =============================================
   OPD SCHEDULE PAGE
   ============================================= */
.opd-sch-hero { position: relative; min-height: 250px; display: flex; align-items: center; overflow: hidden; background: linear-gradient(120deg, #d2e8f7 0%, #eaf4fd 60%, #f5f9ff 100%); }
.opd-sch-hero .bg-img { position: absolute; right: 0; top: 0; width: 52%; height: 100%; object-fit: cover; object-position: left center; }
.opd-sch-hero .overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,0.99) 38%, rgba(255,255,255,0.5) 70%, transparent 100%); }
.opd-sch-hero-content { position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; padding: 54px 24px; width: 100%; }
.opd-sch-hero-content h1 { font-size: clamp(30px, 4.5vw, 50px); font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.opd-sch-hero-content .red-line { width: 36px; height: 3px; background: var(--red); border-radius: 2px; margin-bottom: 14px; }
.opd-sch-hero-content p { font-size: 15px; color: var(--text-light); line-height: 1.65; max-width: 420px; }

/* OPD Schedule Layout */
.opd-sch-section { padding: 36px 0 70px; background: var(--white); }
.opd-sch-layout { display: grid; grid-template-columns: 1fr 260px; gap: 28px; align-items: start; }

/* Day Filter Tabs */
.opd-day-filter { display: flex; gap: 0; margin-bottom: 0; flex-wrap: wrap; }
.opd-day-btn { padding: 10px 20px; font-size: 13.5px; font-weight: 600; color: var(--navy); cursor: pointer; border: 1.5px solid var(--border); background: var(--white); font-family: 'Poppins', sans-serif; transition: all 0.18s; white-space: nowrap; margin-right: -1px; }
.opd-day-btn:first-child { border-radius: 8px 0 0 8px; }
.opd-day-btn:last-child { border-radius: 0 8px 8px 0; margin-right: 0; }
.opd-day-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); z-index: 1; }
.opd-day-btn:hover:not(.active) { background: var(--sky); border-color: var(--blue); z-index: 1; }

/* OPD Table */
.opd-sch-table-wrap { border-radius: 0 14px 14px 14px; overflow: hidden; box-shadow: 0 2px 20px rgba(13,43,94,0.09); border: 1.5px solid var(--border); margin-top: -1px; }
.opd-sch-table { width: 100%; border-collapse: collapse; }
.opd-sch-table thead tr { background: var(--navy); }
.opd-sch-table thead th { padding: 14px 16px; color: #fff; font-size: 13px; font-weight: 700; text-align: left; white-space: nowrap; }
.opd-sch-table tbody tr { border-bottom: 1px solid var(--border); background: #fff; transition: background 0.15s; }
.opd-sch-table tbody tr:last-child { border-bottom: none; }
.opd-sch-table tbody tr:hover { background: #f8fbff; }
.opd-sch-table td { padding: 14px 16px; font-size: 13px; color: var(--text); vertical-align: middle; }
.dept-sch-cell { display: flex; align-items: center; gap: 10px; }
.dept-sch-icon { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dept-sch-icon i { font-size: 17px; }
.dept-sch-name { font-weight: 700; font-size: 13px; color: var(--navy); }
.doc-sch-name { font-weight: 700; font-size: 13px; color: var(--navy); margin-bottom: 2px; }
.doc-sch-title { font-size: 11.5px; color: var(--text-light); }
.qual-sch { font-weight: 600; font-size: 12.5px; color: var(--text); display: block; }
.exp-sch { font-size: 11.5px; color: var(--text-light); }
.time-slot { font-size: 12.5px; color: var(--text); display: block; }
.time-slot + .time-slot { margin-top: 3px; }
.fee-sch { font-weight: 800; color: var(--navy); font-size: 14px; }
.book-now-sch { background: var(--white); border: 1.5px solid var(--blue); color: var(--blue); padding: 7px 18px; border-radius: 7px; font-family: 'Poppins', sans-serif; font-size: 12.5px; font-weight: 700; cursor: pointer; transition: all 0.2s; white-space: nowrap; }
.book-now-sch:hover { background: var(--blue); color: #fff; }
.opd-sch-note { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--text-light); background: var(--gray); border-radius: 0 0 12px 12px; padding: 13px 18px; border-top: 1px solid var(--border); }
.opd-sch-note i { color: var(--blue); font-size: 16px; flex-shrink: 0; margin-top: 1px; }

/* OPD Features Row */
.opd-features-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 28px; }
.opd-feat-card { display: flex; align-items: flex-start; gap: 14px; }
.opd-feat-card-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--sky); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.opd-feat-card-icon i { font-size: 22px; color: var(--blue); }
.opd-feat-card h4 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.opd-feat-card p { font-size: 12px; color: var(--text-light); line-height: 1.55; }

/* OPD Sidebar */
.opd-sch-sidebar { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 90px; }
.opd-find-doc-sch { background: var(--white); border-radius: 14px; border: 1.5px solid var(--border); padding: 22px 20px; box-shadow: 0 2px 18px rgba(13,43,94,0.08); }
.opd-find-doc-sch h3 { font-size: 15px; font-weight: 800; color: var(--navy); margin-bottom: 16px; }
.opd-sch-select-label { font-size: 12px; font-weight: 600; color: var(--navy); margin-bottom: 6px; display: block; }
.opd-sch-select { width: 100%; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: 8px; font-family: 'Poppins', sans-serif; font-size: 13px; color: var(--text); outline: none; margin-bottom: 12px; background: #fff; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23555' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; }
.opd-sch-select:focus { border-color: var(--blue); }
.opd-view-btn { width: 100%; padding: 12px; background: var(--navy); color: #fff; border: none; border-radius: 9px; font-family: 'Poppins', sans-serif; font-size: 13.5px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; transition: background 0.2s; }
.opd-view-btn:hover { background: var(--blue); }
.opd-sch-help-card { background: var(--sky); border-radius: 14px; border: 1.5px solid #c5dcf4; padding: 22px 20px; }
.opd-sch-help-card h3 { font-size: 15px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.opd-sch-help-card p { font-size: 12.5px; color: var(--text-light); margin-bottom: 14px; line-height: 1.55; }
.opd-help-info { display: flex; align-items: flex-start; gap: 9px; margin-bottom: 10px; font-size: 13px; color: var(--text-light); }
.opd-help-info i { color: var(--blue); font-size: 15px; flex-shrink: 0; margin-top: 2px; }
.opd-help-info strong { color: var(--navy); font-weight: 700; }
.opd-important-sch { background: var(--white); border-radius: 14px; border: 1.5px solid var(--border); padding: 22px 20px; box-shadow: 0 2px 18px rgba(13,43,94,0.07); }
.opd-important-sch h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.opd-important-sch-redline { width: 28px; height: 3px; background: var(--red); border-radius: 2px; margin-bottom: 14px; }
.opd-important-row { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: 12.5px; color: var(--text-light); line-height: 1.55; }
.opd-important-row i { color: var(--blue); font-size: 16px; flex-shrink: 0; margin-top: 1px; }

/* Responsive */
@media (max-width: 1000px) {
  .video-page-layout { grid-template-columns: 1fr; }
  .video-sidebar { position: static; }
  .spec-layout { grid-template-columns: 1fr; }
  .spec-sidebar { position: static; }
  .opd-sch-layout { grid-template-columns: 1fr; }
  .opd-sch-sidebar { position: static; }
}
@media (max-width: 768px) {
  .video-grid { grid-template-columns: 1fr 1fr; }
  .spec-features-grid { grid-template-columns: 1fr 1fr; }
  .spec-services-grid { grid-template-columns: repeat(2,1fr); }
  .spec-process-steps { flex-wrap: wrap; gap: 20px; }
  .spec-process-step::after { display: none; }
  .spec-about-inner { grid-template-columns: 1fr; }
  .spec-about-img { width: 100%; height: 200px; }
  .opd-features-row { grid-template-columns: 1fr 1fr; }
  .spec-cta-banner { padding: 22px 20px; }
  .spec-cta-banner .btn-primary { white-space: normal; flex-shrink: 0; }
}
@media (max-width: 480px) {
  .video-grid { grid-template-columns: 1fr; }
  .spec-services-grid { grid-template-columns: 1fr 1fr; }
  .opd-features-row { grid-template-columns: 1fr; }
  .spec-cta-banner { flex-direction: column; align-items: flex-start; padding: 22px 20px; }
  .spec-cta-banner .btn-primary { width: 100%; justify-content: center; white-space: normal; text-align: center; }
}

/* ===== RESPONSIVE AUDIT FIXES ===== */

/* Topbar: keep single line, email left + social right */
@media (max-width: 900px) {
  .topbar .tb-left { gap: 10px; }
  .topbar .tb-right { gap: 10px; }
  .topbar .inner { justify-content: space-between; }
}

/* Header inner: prevent overflow on narrow screens */
@media (max-width: 768px) {
  .header-inner { padding: 0 14px; height: 64px; }
  .logo-text .l1 { font-size: 17px; }
  .logo-text .l2 { font-size: 11px; }
}

/* Page banner: full-width image on mobile */
@media (max-width: 768px) {
  .page-banner .banner-bg-img { width: 100%; opacity: 0.28; }
  .page-banner .banner-overlay { background: rgba(255,255,255,0.65); }
  .page-banner-content { padding: 40px 18px; }
  .page-banner-content h1 { font-size: clamp(26px, 6vw, 40px); }
}

/* Footer responsive */
@media (max-width: 768px) {
  .footer-inner { padding: 0 18px; gap: 28px; }
  .footer-bottom { font-size: 11.5px; padding: 16px 14px; line-height: 1.6; }
}
@media (max-width: 480px) {
  .footer-bottom { font-size: 11px; }
}

/* Gallery grid: fix span on small screens */
@media (max-width: 768px) {
  .gallery-item[style*="grid-column:span 2"] { grid-column: span 1 !important; }
  .gallery-item[style*="grid-column: span 2"] { grid-column: span 1 !important; }
}

/* Department full grid images */
.dept-full-img img { width: 100%; height: 200px; object-fit: cover; border-radius: 10px 10px 0 0; }

/* Blog images */
.blog-card-img img, .popular-post-img img { width: 100%; height: 100%; object-fit: cover; }

/* Video gallery thumbnails */
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Nav dropdown: close on click away on mobile */
@media (max-width: 768px) {
  .nav-dropdown { display: none; }
}

/* Overflow prevention site-wide */
img { max-width: 100%; height: auto; }
table { max-width: 100%; }

/* OPD schedule table scroll on small screens */
@media (max-width: 600px) {
  .opd-sch-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* Mobile accordion: ensure last link has no border-bottom */
.mobile-nav .mobile-accordion + a { border-top: none; }

/* Fix hero slide on mobile */
@media (max-width: 480px) {
  .hero-slide-inner { padding: 30px 18px; }
  .hero-content p { font-size: 13.5px; }
  .hero-icons { gap: 8px; }
}

/* =============================================
   DOCTOR PROFILE PAGE - RESPONSIVE FIXES
   ============================================= */

/* Tablet: 768px - 1100px */
@media (max-width: 1100px) {
  .doc-profile-stats { gap: 18px; }
  .profile-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .profile-tab { padding: 12px 16px; font-size: 13px; }
}

/* Tablet portrait: up to 900px (profile-body already goes 1 col here) */
@media (max-width: 900px) {
  .profile-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
  .profile-tabs::-webkit-scrollbar { display: none; }
  .profile-tab { padding: 11px 14px; font-size: 12.5px; white-space: nowrap; }
  .doc-profile-info { padding: 22px 20px; }
  .doc-profile-info h1 { font-size: 22px; }
  .doc-profile-stats { gap: 16px; }
  .doc-stat-num { font-size: 18px; }
  .reviews-summary { flex-direction: column; align-items: flex-start; gap: 16px; }
  .appt-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile: 768px */
@media (max-width: 768px) {
  .doc-profile-info { padding: 18px 16px; }
  .doc-profile-info h1 { font-size: 20px; }
  .doc-profile-stats { gap: 12px; flex-wrap: wrap; }
  .doc-stat { gap: 8px; }
  .doc-stat-icon { width: 36px; height: 36px; }
  .doc-stat-icon i { font-size: 14px; }
  .doc-stat-num { font-size: 16px; }
  .appt-sidebar { grid-template-columns: 1fr; }
  .edu-table td { padding: 9px 6px; font-size: 12.5px; }
  .edu-table td:nth-child(2) { width: auto; }
  .profile-section-title { font-size: 16px; }
  .reviews-summary { flex-direction: column; gap: 14px; }
  .reviews-list { display: flex; flex-direction: column; gap: 12px; }
  .rating-big .num { font-size: 42px; }
  /* Gallery grid in tab */
  [data-tab="gallery"] > div > div[style*="grid-template-columns:repeat(3"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Mobile small: 480px */
@media (max-width: 480px) {
  .profile-tab { padding: 9px 10px; font-size: 11.5px; gap: 5px; }
  .profile-tab i { display: none; }
  .doc-profile-info h1 { font-size: 18px; }
  .doc-profile-stats { gap: 10px; }
  .doc-stat-num { font-size: 15px; }
  .doc-stat-lbl { font-size: 10px; }
  .edu-table td:first-child { width: 48px; }
  [data-tab="gallery"] > div > div[style*="grid-template-columns:repeat(3"] {
    grid-template-columns: 1fr !important;
  }
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .exp-item { gap: 10px; }
  .exp-years { font-size: 12px; min-width: 80px; }
}

/* =============================================
   DESIGN PNG MATCH FIXES
   ============================================= */

/* Home page: Doctor cards - ensure img fills properly */
.doc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }

/* Home page: Section label dashes match PNG exactly */
.section-label { margin-bottom: 10px; }
.section-title { margin-bottom: 40px; }

/* Home page: Departments grid - subtle border on cards */
.dept-card { border: 1.5px solid var(--border); }

/* Home page: Blog section - "Read More" arrow color */
.blog-body { display: flex; flex-direction: column; }
.read-more { margin-top: auto; }

/* Home page: Doctors slider arrows - match PNG */
.doctors-slider-wrap { position: relative; }
.doctors-slider-arrows { position: absolute; top: 50%; transform: translateY(-50%); width: 100%; display: flex; justify-content: space-between; pointer-events: none; padding: 0 -20px; z-index: 5; }
.doctors-slider-arrows button { pointer-events: all; }

/* OPD Page: Day filter tabs - pill style matching PNG */
.opd-day-btn { border-radius: 6px !important; margin-right: 6px !important; margin-bottom: 6px; }
.opd-day-btn:first-child { border-radius: 6px !important; }
.opd-day-btn:last-child { border-radius: 6px !important; margin-right: 0 !important; }
.opd-day-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); border-radius: 6px !important; }

/* OPD Page: features row below table */
.opd-features-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; margin-top: 28px; }
@media (max-width: 768px) { .opd-features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .opd-features-grid { grid-template-columns: 1fr; } }

/* OPD Sidebar: View Schedule button - match PNG navy style */
.opd-view-schedule-btn { width: 100%; padding: 12px; background: var(--navy); color: #fff; border: none; border-radius: 9px; font-family: 'Poppins', sans-serif; font-size: 13.5px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; transition: background 0.2s; }
.opd-view-schedule-btn:hover { background: var(--blue); }

/* Topbar: email truncation on very small screens */
@media (max-width: 400px) {
  .topbar .tb-item a[href^="mailto"] { 
    max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block;
  }
}

/* Blog listing: read-more as proper anchor */
a.blog-read-more { display: inline-flex; align-items: center; gap: 5px; }

/* Departments page: read more link in cards */
.dept-full-body { display: flex; flex-direction: column; }
.dept-read-more { margin-top: auto; }

/* =============================================
   COMPREHENSIVE FIXES - ADDED
   ============================================= */

/* === DEPARTMENTS PAGE - CARD LAYOUT FIX === */
.dept-full-card { display: flex; flex-direction: column; }
.dept-full-body { flex: 1; display: flex; flex-direction: column; }
.dept-full-body p { flex: 1; margin-bottom: 14px; }
/* Tag + Read More row: tag left, read more right */
.dept-full-body > .dept-tag,
.dept-full-body > a.dept-read-more { display: inline-flex; }
.dept-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 4px;
}
.dept-card-footer .dept-tag { margin: 0; }
.dept-card-footer .dept-read-more { margin: 0; }

@media (max-width: 768px) {
  .dept-full-grid { gap: 18px; }
  .dept-full-card { border-radius: 14px; }
  .dept-full-img { height: 160px; }
}
@media (max-width: 480px) {
  .depts-page { padding: 36px 0; }
  .dept-full-img { height: 140px; }
  .dept-full-body { padding: 18px 16px; }
  .dept-full-icon { width: 46px; height: 46px; margin-bottom: 10px; }
  .dept-full-icon i { font-size: 20px; }
  .dept-full-card h3 { font-size: 16px; }
}

/* === SPECIALITY DETAILS - RESPONSIVE FIX === */
@media (max-width: 768px) {
  .spec-hero { min-height: 200px; }
  .spec-hero .bg-img { width: 100%; opacity: 0.2; }
  .spec-hero .overlay { background: linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.95) 100%); }
  .spec-hero-content { padding: 36px 18px; }
  .spec-hero-content h1 { font-size: clamp(26px, 7vw, 40px); }
  .spec-hero-desc { max-width: 100%; font-size: 13.5px; }
  .spec-features-grid { grid-template-columns: 1fr 1fr !important; gap: 12px; }
  .spec-services-grid { grid-template-columns: 1fr 1fr !important; gap: 12px; }
  .spec-process-steps { flex-direction: column; align-items: flex-start; gap: 16px; }
  .spec-process-step::after { display: none; }
}
@media (max-width: 480px) {
  .spec-features-grid { grid-template-columns: 1fr !important; }
  .spec-services-grid { grid-template-columns: 1fr !important; }
  .spec-layout { gap: 24px; }
}

/* === SLIDER TRACK WRAPPER FIX === */
.doctors-grid-wrap, .blogs-grid-wrap { overflow: hidden; }
[style*="position:relative"] > .doctors-grid,
[style*="position: relative"] > .doctors-grid { display: flex; }
[style*="position:relative"] > .blogs-grid,
[style*="position: relative"] > .blogs-grid { display: flex; }

/* === FLOATING BUTTONS RESPONSIVE === */
@media (max-width: 480px) {
  #floatingBtns { bottom: 16px; right: 12px; gap: 8px; }
  #floatingBtns a span { display: none; }
  #floatingBtns a { padding: 11px 14px; border-radius: 50%; width: 48px; height: 48px; justify-content: center; }
  #floatingBtns a i { font-size: 20px !important; }
}

/* === VIDEO MODAL FIX - PLAY ACTUAL VIDEO === */
.video-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.85); z-index: 9998; display: none; align-items: center; justify-content: center; }
.video-modal-overlay.open { display: flex; }
.video-modal-box { background: #000; border-radius: 14px; overflow: hidden; max-width: 820px; width: 95vw; position: relative; }
#modalPlayer { position: relative; width: 100%; aspect-ratio: 16/9; background: #000; display: flex; align-items: center; justify-content: center; }
#modalIframe { width: 100%; height: 100%; border: none; display: none; }
.video-modal-info { padding: 16px 20px; background: #111; color: #fff; }
.video-modal-info h4 { font-size: 16px; font-weight: 700; margin: 0 0 4px; }
.video-modal-info p { font-size: 13px; color: #aaa; margin: 0; }
.video-modal-close { position: absolute; top: 10px; right: 10px; background: rgba(0,0,0,0.7); border: none; color: #fff; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center; z-index: 10; }

/* =============================================
   ROUND-2 FIXES
   ============================================= */

/* === FIX: Remove conflicting dept-full-img height override === */
/* The line below (height:200px with border-radius) caused the break */

/* === DEPARTMENTS PAGE: Proper card layout === */
.dept-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}
.dept-full-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--border);
  transition: all 0.25s;
  height: 100%;
}
.dept-full-card:hover { transform: translateY(-5px); border-color: var(--blue); box-shadow: 0 16px 44px rgba(13,43,94,0.15); }
.dept-full-img {
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}
.dept-full-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 0;
  transition: transform 0.35s;
}
.dept-full-card:hover .dept-full-img img { transform: scale(1.05); }
.dept-full-body {
  padding: 22px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.dept-full-body p { flex: 1; }
.dept-full-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--sky);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
  flex-shrink: 0;
}
.dept-full-icon i { font-size: 22px; }
.dept-full-card h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.dept-full-card p { font-size: 13.5px; color: var(--text-light); line-height: 1.7; margin-bottom: 12px; }
.dept-tag { display: inline-block; background: var(--sky); color: var(--blue); font-size: 11.5px; font-weight: 600; padding: 4px 12px; border-radius: 20px; margin-bottom: 10px; }
.dept-read-more { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--blue); text-decoration: none; transition: gap 0.2s; margin-top: auto; padding-top: 4px; }
.dept-read-more:hover { gap: 10px; }

@media (max-width: 1100px) { .dept-full-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .dept-full-grid { grid-template-columns: 1fr; gap: 16px; } .dept-full-img { height: 170px; } }

/* === CAROUSEL SLIDER: No white space, clean looping === */
.carousel-viewport {
  overflow: hidden;
  width: 100%;
}
.carousel-track {
  display: flex;
  transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.carousel-track > * {
  flex: 0 0 auto;
  box-sizing: border-box;
}
/* Doctors carousel: 4 visible on desktop */
.docs-carousel .carousel-track > * { width: 25%; padding: 0 10px; }
@media (max-width: 1100px) { .docs-carousel .carousel-track > * { width: 33.333%; } }
@media (max-width: 768px)  { .docs-carousel .carousel-track > * { width: 50%; } }
@media (max-width: 480px)  { .docs-carousel .carousel-track > * { width: 100%; } }
/* Blogs carousel: 3 visible on desktop */
.blogs-carousel .carousel-track > * { width: 33.333%; padding: 0 10px; }
@media (max-width: 900px)  { .blogs-carousel .carousel-track > * { width: 50%; } }
@media (max-width: 550px)  { .blogs-carousel .carousel-track > * { width: 100%; } }

.carousel-wrap { position: relative; }
.carousel-wrap .hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
}
.carousel-wrap .hero-arrow.left { left: -18px; }
.carousel-wrap .hero-arrow.right { right: -18px; }

/* === FLOATING BUTTONS: Icon-only with glow pulse === */
#floatingBtns {
  position: fixed;
  bottom: 28px;
  right: 22px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-end;
  /* No contribution to page layout/scroll */
}
.float-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  text-decoration: none;
  color: #fff;
  font-size: 22px;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.float-btn:hover { transform: scale(1.1); color: #fff; }
.float-btn-wa  { background: #25D366; animation: glowWa 2.4s ease-in-out infinite; }
.float-btn-call{ background: #1a4fa0; animation: glowCall 2.4s ease-in-out infinite 0.8s; }

/* Glow rings — clipped so they never trigger horizontal scrollbar */
.float-btn::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  opacity: 0;
  animation: ringPulse 2.4s ease-in-out infinite;
  pointer-events: none;
}
.float-btn-wa::before  { background: rgba(37,211,102,0.35); }
.float-btn-call::before{ background: rgba(26,79,160,0.35); animation-delay: 0.8s; }

@keyframes glowWa {
  0%,100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5), 0 4px 16px rgba(37,211,102,0.4); }
  50%      { box-shadow: 0 0 0 10px rgba(37,211,102,0), 0 4px 20px rgba(37,211,102,0.6); }
}
@keyframes glowCall {
  0%,100% { box-shadow: 0 0 0 0 rgba(26,79,160,0.5), 0 4px 16px rgba(26,79,160,0.4); }
  50%      { box-shadow: 0 0 0 10px rgba(26,79,160,0), 0 4px 20px rgba(26,79,160,0.6); }
}
@keyframes ringPulse {
  0%   { transform: scale(0.8); opacity: 0.6; }
  70%  { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* === NAV DROPDOWN: wider for RESOURCES === */
.nav-dropdown-menu { min-width: 210px; }
.nav-dropdown-menu a { display: flex; align-items: center; gap: 10px; }
.nav-dropdown-menu a i { width: 16px; flex-shrink: 0; }


/* =============================================
   COMPLETE OVERHAUL - v2 FIXES ROUND 2
   ============================================= */

/* === CAROUSEL LAYOUT === */
.carousel-outer {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
}
.doc-carousel-wrap,
.blog-carousel-wrap {
  overflow: hidden;
  flex: 1;
  min-width: 0;
}
.doc-carousel-track,
.blog-carousel-track {
  display: flex;
  flex-wrap: nowrap;
  will-change: transform;
}
.doc-carousel-track > *,
.blog-carousel-track > * {
  flex-shrink: 0;
  box-sizing: border-box;
  padding: 6px 10px;
}
/* doc-card and blog-card inside carousel fill their slot */
.doc-carousel-track .doc-card,
.blog-carousel-track .blog-card {
  width: 100%;
  height: 100%;
}
.carousel-outer .hero-arrow {
  position: relative !important;
  left: auto !important; right: auto !important;
  top: auto !important;
  flex-shrink: 0;
  margin: 0 6px;
  z-index: 5;
}

/* === DEPARTMENTS CARDS - FULL FIX === */
/* Remove conflicting old rules */
.dept-full-img img { height: 180px !important; border-radius: 0 !important; }

.dept-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.dept-full-card {
  display: flex !important;
  flex-direction: column !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  background: #fff !important;
  box-shadow: 0 4px 24px rgba(13,43,94,0.09) !important;
  border: 1.5px solid var(--border) !important;
  transition: all 0.25s !important;
  height: 100%;
}
.dept-full-card:hover {
  transform: translateY(-4px) !important;
  border-color: var(--blue) !important;
  box-shadow: 0 14px 40px rgba(13,43,94,0.15) !important;
}
.dept-full-img {
  width: 100%;
  height: 185px !important;
  overflow: hidden;
  flex-shrink: 0;
}
.dept-full-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.35s !important;
}
.dept-full-card:hover .dept-full-img img { transform: scale(1.05); }
.dept-full-body {
  padding: 22px 20px 20px !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
}
.dept-full-icon {
  width: 52px !important;
  height: 52px !important;
  border-radius: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 14px !important;
  flex-shrink: 0;
}
.dept-full-icon i { font-size: 22px !important; }
.dept-full-card h3 {
  font-size: 17px !important;
  font-weight: 700 !important;
  color: var(--navy) !important;
  margin: 0 0 8px !important;
}
.dept-full-card p {
  font-size: 13px !important;
  color: var(--text-light) !important;
  line-height: 1.7 !important;
  flex: 1 !important;
  margin: 0 0 14px !important;
}
.dept-tag {
  display: inline-block !important;
  background: var(--sky) !important;
  color: var(--blue) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  padding: 4px 10px !important;
  border-radius: 20px !important;
  margin-bottom: 10px !important;
}
.dept-read-more {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--blue) !important;
  text-decoration: none !important;
  margin-top: auto !important;
  transition: gap 0.2s !important;
}
.dept-read-more:hover { gap: 10px !important; }

@media (max-width: 1100px) { .dept-full-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px)  { .dept-full-grid { grid-template-columns: 1fr; gap: 16px; } .dept-full-img { height: 160px !important; } }

/* === FLOATING ICON BUTTONS — ICON ONLY + GLOW === */
#floatingBtns {
  position: fixed;
  bottom: 28px;
  right: 22px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  /* Prevent these from contributing to page width/scrollbar */
  pointer-events: auto;
}
.float-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  font-size: 22px;
  transition: transform 0.22s, box-shadow 0.22s;
  position: relative;
}
.float-btn:hover { transform: scale(1.13); }

/* WhatsApp */
.float-wa {
  background: #25D366;
  box-shadow: 0 4px 18px rgba(37,211,102,0.5);
  animation: glowGreen 2.4s ease-in-out infinite;
}
.float-wa:hover { box-shadow: 0 6px 28px rgba(37,211,102,0.75); }

/* Call */
.float-call {
  background: #1a4fa0;
  box-shadow: 0 4px 18px rgba(26,79,160,0.5);
  animation: glowBlue 2.4s ease-in-out infinite;
  animation-delay: 1.2s;
}
.float-call:hover { box-shadow: 0 6px 28px rgba(26,79,160,0.75); }

/* Pulse ring */
.float-btn::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0;
  animation: pulseRing 2.4s ease-out infinite;
}
.float-call::before { animation-delay: 1.2s; }

@keyframes glowGreen {
  0%, 100% { box-shadow: 0 4px 18px rgba(37,211,102,0.45); }
  50%       { box-shadow: 0 4px 28px rgba(37,211,102,0.85); }
}
@keyframes glowBlue {
  0%, 100% { box-shadow: 0 4px 18px rgba(26,79,160,0.45); }
  50%       { box-shadow: 0 4px 28px rgba(26,79,160,0.85); }
}
@keyframes pulseRing {
  0%   { transform: scale(1); opacity: 0.6; }
  70%  { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* === NAV DROPDOWN — RESOURCES STYLE === */
.nav-dropdown-menu a i {
  width: 16px;
  margin-right: 8px;
  color: var(--blue);
  font-size: 12px;
}
.nav-dropdown-menu {
  min-width: 210px !important;
}

/* === MOBILE ACC BODY ICONS === */
.mobile-acc-body a i {
  width: 18px;
  color: var(--blue);
  margin-right: 6px;
}

/* =============================================
   GLOBAL HORIZONTAL SCROLL FIX
   Fixes: book-appointment, find-doctor,
   tpa-insurance, blog-details, all pages
   ============================================= */

/* Prevent any element from causing horizontal overflow */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

/* Fixed-position floating buttons must never contribute to scroll width */
#floatingBtns {
  /* right: 22px keeps them inside viewport; their ::before rings
     are clipped by the html/body overflow-x: hidden */
  max-width: calc(100vw - 22px);
}

/* Pulse ring on floating buttons: contain within the button circle */
.float-btn {
  overflow: visible; /* allow glow, but body clips it */
}

/* Ensure all page wrapper sections don't overflow */
.appt-hero, .find-doctor-hero, .tpa-hero, .blog-hero,
.blog-detail-section, .opd-hero, .opd-sch-hero {
  max-width: 100%;
  overflow-x: hidden;
}

/* Book Appointment form: prevent grid overflow on mid-breakpoints */
@media (max-width: 900px) {
  .form-grid-3 { grid-template-columns: 1fr 1fr; }
  .form-grid-3-2 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .form-grid-3, .form-grid-2, .form-grid-3-2 { grid-template-columns: 1fr; }
  .appt-form-card { padding: 22px 16px; }
  .appt-hero-features { flex-direction: column; gap: 14px; }
}

/* Find Doctor: search bar and filter sidebar */
@media (max-width: 640px) {
  .search-bar-wrap { padding: 16px; }
  .filter-sidebar { width: 100% !important; }
  .doctors-grid-results { grid-template-columns: 1fr; }
}

/* TPA Insurance: cashless steps on small screens */
@media (max-width: 640px) {
  .cashless-steps { flex-direction: column; align-items: center; gap: 24px; }
  .cashless-step::after { display: none; }
  .tpa-features-grid { grid-template-columns: 1fr; }
  .tpa-partners-grid { grid-template-columns: 1fr 1fr; }
  .tpa-two-cols { grid-template-columns: 1fr; }
}

/* Blog Details: ensure sidebar and content don't overflow */
@media (max-width: 640px) {
  .blog-detail-layout { grid-template-columns: 1fr; gap: 24px; }
  .blog-detail-sidebar { position: static; }
  .blog-prev-next { grid-template-columns: 1fr; gap: 14px; }
  .blog-content-inner { grid-template-columns: 1fr; }
  .blog-section-img { width: 100%; height: 160px; }
  .blog-share-row { flex-wrap: wrap; gap: 8px; }
  /* Equal left/right spacing for blog detail content on mobile */
  .blog-detail-section .container { padding-left: 16px !important; padding-right: 16px !important; box-sizing: border-box; }
  .blog-hero-img { border-radius: 10px; }
  .blog-detail-main { min-width: 0; overflow: hidden; word-break: break-word; }
  .blog-detail-main * { max-width: 100%; box-sizing: border-box; }
  .blog-detail-layout { padding: 0; }
  /* Blog CTA banner: stack vertically on mobile */
  .blog-cta-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 18px;
    gap: 14px;
  }
  .blog-cta-banner a.btn-primary {
    width: 100%;
    justify-content: center;
    text-align: center;
    white-space: normal !important;
  }
}

/* OPD Schedule: ensure full responsive on mobile */
@media (max-width: 640px) {
  .opd-sch-layout { grid-template-columns: 1fr !important; gap: 20px; }
  .opd-sch-sidebar { position: static !important; }
}

/* Prevent topbar overflow on very small screens */
@media (max-width: 400px) {
  .topbar .inner { padding: 0 12px; }
  .tb-social { gap: 8px; }
}

/* =============================================
   MOBILE FIXES - HAMBURGER, OPD, FAQ, HERO
   ============================================= */

/* === HAMBURGER: smooth icon transition === */
.hamburger i { transition: transform 0.2s; }
.hamburger .fa-times { font-size: 22px; }

/* === OPD SCHEDULE: Mobile card layout === */
@media (max-width: 768px) {

  /* ── Day filter: horizontal scroll with visible scrollbar ── */
  .opd-day-filter-wrap {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    gap: 6px !important;
    margin-bottom: 12px;
    /* show scrollbar so user knows it scrolls */
    scrollbar-width: thin;
    scrollbar-color: var(--blue) #e8f2fb;
  }
  .opd-day-filter-wrap::-webkit-scrollbar { height: 5px; display: block; }
  .opd-day-filter-wrap::-webkit-scrollbar-track { background: #e8f2fb; border-radius: 4px; }
  .opd-day-filter-wrap::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 4px; }
  .opd-day-btn { flex-shrink: 0; }

  /* ── Outer table wrapper: remove border/shadow so cards show clean ── */
  div[style*="border-radius:8px;overflow:hidden;border:1.5px solid #dde8f4"] {
    overflow: visible !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    background: transparent !important;
  }
  /* ── Inner scroll wrapper: visible in card mode ── */
  .opd-table-scroll-wrap {
    overflow-x: visible !important;
  }

  /* ── Card layout: each row becomes a card ── */
  .opd-sch-table { display: block !important; width: 100%; white-space: normal !important; overflow-x: visible !important; }
  .opd-sch-table thead { display: none !important; }
  .opd-sch-table tbody { display: block !important; width: 100%; }

  .opd-sch-table tbody tr {
    display: block !important;
    width: 100%;
    box-sizing: border-box;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    margin-bottom: 14px;
    padding: 14px 16px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(13,43,94,0.07);
    overflow: hidden;
  }
  .opd-sch-table tbody tr:last-child { margin-bottom: 0; }

  .opd-sch-table td {
    display: flex !important;
    align-items: flex-start;
    padding: 5px 0;
    font-size: 13px;
    border: none !important;
    gap: 8px;
    white-space: normal !important;
    word-break: break-word;
    box-sizing: border-box;
  }
  .opd-sch-table td::before {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--navy);
    min-width: 90px;
    max-width: 90px;
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding-top: 2px;
    line-height: 1.4;
  }
  .opd-sch-table td:nth-child(1)::before { content: "Dept"; }
  .opd-sch-table td:nth-child(2)::before { content: "Doctor"; }
  .opd-sch-table td:nth-child(3)::before { content: "Qualification"; }
  .opd-sch-table td:nth-child(4)::before { content: "OPD Days"; }
  .opd-sch-table td:nth-child(5)::before { content: "Timing"; }
  .opd-sch-table td:nth-child(6)::before { content: "Fee"; }
  .opd-sch-table td:nth-child(7) { justify-content: flex-end; padding-top: 10px; }
  .opd-sch-table td:nth-child(7)::before { display: none; }

  /* Department cell: icon + name side by side */
  .dept-sch-cell { flex-direction: row !important; gap: 8px; align-items: center; }

  /* Time slots: wrap inline */
  .opd-sch-table .time-slot { display: inline-block; margin-right: 5px; margin-bottom: 4px; }
}

/* === FAQ CATEGORY FILTER === */
.faq-item { transition: opacity 0.2s; }
.faq-item.faq-hidden { display: none !important; }

/* =============================================
   V2 MOBILE FIXES - ALL ISSUES
   ============================================= */

/* ── 1. OPD SCHEDULE: Equal margin left/right on mobile ── */
@media (max-width: 768px) {
  /* Fix container padding for equal sides */
  .opd-sch-layout {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
  /* Ensure the section container has proper box sizing */
  section .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
  /* OPD table card rows: ensure equal left/right padding */
  .opd-sch-table tbody tr {
    padding: 14px 14px !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
  }
  /* Fix inner overflow to prevent right bleed */
  .opd-table-scroll-wrap,
  .opd-sch-table {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
}

/* ── 2. OPD FILTER: Horizontal scrollbar always visible ── */
@media (max-width: 768px) {
  .opd-day-filter-wrap {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 10px !important;
    gap: 6px !important;
    margin-bottom: 12px !important;
    scrollbar-width: thin !important;
    scrollbar-color: var(--blue) #e8f2fb !important;
  }
  .opd-day-filter-wrap::-webkit-scrollbar {
    height: 5px !important;
    display: block !important;
  }
  .opd-day-filter-wrap::-webkit-scrollbar-track {
    background: #e8f2fb !important;
    border-radius: 4px !important;
  }
  .opd-day-filter-wrap::-webkit-scrollbar-thumb {
    background: var(--blue) !important;
    border-radius: 4px !important;
  }
  .opd-day-btn {
    flex-shrink: 0 !important;
  }
}

/* ── 3. FAQ PAGE: Equal margin left/right on mobile ── */
@media (max-width: 768px) {
  .faq-layout {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
  .faq-layout .container,
  .faq-main,
  .faq-sidebar {
    box-sizing: border-box;
  }
}

/* FAQ page: fix container to ensure equal padding on both sides */
@media (max-width: 768px) {
  body .faq-layout {
    padding: 0;
  }
}

/* ── 4. FAQ "GET IN TOUCH" / cant-find-faq section: fix mobile layout ── */
@media (max-width: 640px) {
  .cant-find-faq {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 14px !important;
    padding: 20px 18px !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }
  .cant-find-faq-icon {
    width: 48px !important;
    height: 48px !important;
    flex-shrink: 0 !important;
  }
  .cant-find-faq-text {
    width: 100% !important;
  }
  .cant-find-faq .btn-outline {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: normal !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
  }
}

/* ── 5. FIND A DOCTOR: Search section responsive on mobile ── */
@media (max-width: 768px) {
  /* The search bar card: full width, no overflow */
  div.container[style*="box-shadow:0 6px 36px"] {
    padding: 18px 16px !important;
    margin: 16px 16px 0 !important;
    max-width: calc(100% - 32px) !important;
    box-sizing: border-box !important;
  }
  /* Grid inside search bar: stack columns */
  div.container[style*="box-shadow:0 6px 36px"] > div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  /* Search button full width */
  div.container[style*="box-shadow:0 6px 36px"] button[style*="background:#0d2b5e"] {
    width: 100% !important;
    justify-content: center !important;
  }
}
@media (max-width: 480px) {
  div.container[style*="box-shadow:0 6px 36px"] {
    margin: 12px 12px 0 !important;
    max-width: calc(100% - 24px) !important;
    padding: 16px 14px !important;
  }
}

/* ── 6. HOME PAGE: Our Experts & Our Blogs - wider cards on mobile ── */
@media (max-width: 768px) {
  /* Carousel outer: reduce side margins so cards use more screen width */
  .carousel-outer {
    margin: 0 -4px !important;
  }
  .carousel-outer .hero-arrow {
    width: 36px !important;
    height: 36px !important;
    font-size: 13px !important;
    margin: 0 2px !important;
    flex-shrink: 0 !important;
  }
  /* Carousel track items: reduce internal padding so cards appear wider */
  .doc-carousel-track > *,
  .blog-carousel-track > * {
    padding: 6px 6px !important;
  }
}
@media (max-width: 480px) {
  .carousel-outer {
    margin: 0 !important;
  }
  .carousel-outer .hero-arrow {
    width: 32px !important;
    height: 32px !important;
    font-size: 12px !important;
    margin: 0 1px !important;
  }
  /* Minimal padding so card takes full width minus arrow buttons */
  .doc-carousel-track > *,
  .blog-carousel-track > * {
    padding: 4px 4px !important;
  }
}

/* ── Find Doctor: search card responsive (class-based) ── */
@media (max-width: 768px) {
  .find-doctor-search-card {
    padding: 18px 16px !important;
    margin: 16px 16px 0 !important;
    max-width: calc(100% - 32px) !important;
    box-sizing: border-box !important;
    border-radius: 12px !important;
  }
  .find-doctor-search-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .find-doctor-search-btn {
    width: 100% !important;
    justify-content: center !important;
  }
}
@media (max-width: 480px) {
  .find-doctor-search-card {
    margin: 12px 12px 0 !important;
    max-width: calc(100% - 24px) !important;
    padding: 16px 14px !important;
  }
}

/* ── OPD Schedule: prevent right-side overflow, enforce container padding ── */
@media (max-width: 768px) {
  /* The inner table card rows must not exceed container width */
  .opd-sch-table tbody tr {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  /* Ensure section container is fully constrained */
  section > .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }
}

/* ── FAQ: prevent content from touching right edge ── */
@media (max-width: 768px) {
  .faq-section .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
    max-width: 100vw !important;
  }
  .faq-layout {
    width: 100% !important;
    box-sizing: border-box !important;
  }
  /* FAQ items should not overflow */
  .faq-item {
    box-sizing: border-box !important;
    width: 100% !important;
    overflow: hidden !important;
  }
  .faq-question {
    box-sizing: border-box !important;
    word-break: break-word !important;
  }
  .faq-answer {
    box-sizing: border-box !important;
    word-break: break-word !important;
  }
  /* Category tabs: wrap properly */
  .faq-cat-tabs {
    flex-wrap: wrap !important;
    gap: 8px !important;
  }
  .faq-cat-tab {
    flex: 1 1 45% !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }
}
@media (max-width: 480px) {
  .faq-cat-tab {
    flex: 1 1 100% !important;
  }
}

/* =============================================
   OPD MOBILE - DEFINITIVE FIX (overrides all above)
   ============================================= */
@media (max-width: 768px) {

  /* ── CARD BORDER FIX: remove overflow:hidden that clips right border ── */
  .opd-sch-table tbody tr {
    overflow: visible !important;          /* was hidden — this cut the right border */
    width: calc(100%) !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* ── CONTAINER: ensure equal left & right padding ── */
  .opd-sch-layout {
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  /* Parent div of TABLE AREA must not clip children */
  .opd-sch-layout > div:first-child {
    width: 100% !important;
    min-width: 0 !important;
    overflow: visible !important;
  }

  /* ── FILTER SCROLLBAR: force scrollable, never clip ── */
  .opd-day-filter-wrap {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: scroll !important;        /* scroll (not auto) forces scrollbar visible */
    -webkit-overflow-scrolling: touch !important;
    overflow-y: visible !important;
    padding-bottom: 10px !important;
    margin-bottom: 14px !important;
    gap: 6px !important;
    /* Chromium visible scrollbar */
    scrollbar-width: thin !important;
    scrollbar-color: #1a4fa0 #cfe3f7 !important;
  }
  .opd-day-filter-wrap::-webkit-scrollbar {
    height: 6px !important;
    display: block !important;
  }
  .opd-day-filter-wrap::-webkit-scrollbar-track {
    background: #cfe3f7 !important;
    border-radius: 6px !important;
  }
  .opd-day-filter-wrap::-webkit-scrollbar-thumb {
    background: #1a4fa0 !important;
    border-radius: 6px !important;
  }

  /* Buttons must NOT shrink — they must extend past viewport to enable scroll */
  .opd-day-btn {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
  }

  /* The TABLE AREA parent div must NOT hide overflow (kills scrollbar) */
  .opd-sch-layout > div {
    overflow: visible !important;
  }
}

/* ── Override earlier overflow-x:hidden that blocks filter scrolling ── */
@media (max-width: 768px) {
  /* Undo the .opd-table-scroll-wrap overflow-x:hidden — it blocks scroll */
  .opd-table-scroll-wrap {
    overflow-x: visible !important;
  }
  /* section>.container must not hide overflow or the scrollable filter gets clipped */
  section > .container {
    overflow-x: visible !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
  }
}

/* =============================================
   BOOK APPOINTMENT - MOBILE FIX
   ============================================= */
@media (max-width: 768px) {
  /* Layout: single column, full width */
  .appt-layout {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Container: equal padding left & right */
  .appt-main .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  /* Form card: reduce padding so it doesn't overflow, keep box-sizing */
  .appt-form-card {
    padding: 24px 18px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    overflow: visible !important;   /* don't clip the border */
    border-radius: 14px !important;
  }

  /* All children of form card must not overflow */
  .appt-form-card * {
    box-sizing: border-box !important;
  }

  /* Input/select fields: full width, no overflow */
  .appt-input,
  .appt-select,
  .appt-textarea {
    width: 100% !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
  }

  /* Form rows: stack on mobile */
  .form-row,
  .form-grid-2,
  .form-grid-3,
  .form-grid-3-2 {
    grid-template-columns: 1fr !important;
  }

  /* Sidebar: full width */
  .appt-page-sidebar {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Manage appointment banner: stack */
  .manage-appt-banner {
    flex-direction: column !important;
    gap: 14px !important;
    padding: 20px 18px !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  .appt-form-card {
    padding: 20px 14px !important;
    border-radius: 12px !important;
  }
  .appt-main .container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}
