/* ===== DR. VINOD MALIK — SHARED CSS — FINAL CLEAN VERSION ===== */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

:root {
  --primary: #E35A1A;
  --primary-dark: #c04a10;
  --secondary: #1a2744;
  --text-light: #4a5568;
  --text-muted: #718096;
  --bg-light: #f8f9fc;
  --bg-dark: #0f1927;
  --border: #e2e8f0;
  --shadow-sm: 0 2px 8px rgba(26,39,68,0.08);
  --shadow: 0 4px 20px rgba(26,39,68,0.12);
  --shadow-lg: 0 8px 40px rgba(26,39,68,0.18);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
}

/* ===== RESET ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; }
body { font-family: 'DM Sans', Arial, sans-serif; color: var(--secondary); background: #fff; font-size: 16px; line-height: 1.6; overflow-x: hidden; width: 100%; max-width: 100vw; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; outline: none; }

/* ===== NOTICE BAR ===== */
#notice-bar { background: var(--primary); color: #fff; text-align: center; padding: 8px 20px; font-size: 13px; font-weight: 500; display: none; }
#notice-bar.active { display: block; }

/* ===== HEADER ===== */
.site-header { position: sticky; top: 0; z-index: 1000; background: #fff; box-shadow: 0 2px 20px rgba(26,39,68,0.10); overflow: hidden; width: 100%; }
.header-inner { max-width: 1280px; margin: 0 auto; padding: 0 20px; height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; }
.header-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-logo img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.logo-text .logo-name { font-size: 17px; font-weight: 700; color: var(--secondary); line-height: 1.2; }
.logo-text .logo-title { font-size: 11px; color: var(--primary); font-weight: 500; }
.header-nav { display: flex; align-items: center; gap: 4px; }
.header-nav a { padding: 8px 14px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--secondary); transition: var(--transition); white-space: nowrap; }
.header-nav a:hover, .header-nav a.active { background: rgba(227,90,26,0.08); color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.btn-book { background: var(--primary); color: #fff; padding: 10px 20px; border-radius: 8px; font-size: 14px; font-weight: 600; transition: var(--transition); white-space: nowrap; display: inline-block; }
.btn-book:hover { background: var(--primary-dark); transform: translateY(-1px); }
/* Mobile pe header book button hide - mobile nav me hai */
@media (max-width: 768px) {
  .header-book-btn { display: none !important; }
}
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; cursor: pointer; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--secondary); transition: var(--transition); border-radius: 2px; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.mobile-nav { display: none; flex-direction: column; background: #fff; border-top: 1px solid var(--border); padding: 12px 24px 20px; gap: 4px; }
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 10px 12px; border-radius: 8px; font-size: 15px; font-weight: 500; color: var(--secondary); }
.mobile-nav a:hover { background: var(--bg-light); color: var(--primary); }

/* ===== FLOATING BUTTONS ===== */
.floating-btns { position: fixed; right: 20px; bottom: 90px; z-index: 999; display: flex; flex-direction: column; gap: 12px; }
.float-btn { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(0,0,0,0.2); transition: var(--transition); color: #fff; font-size: 22px; text-decoration: none; }
.float-btn:hover { transform: scale(1.1); }
.float-btn.whatsapp { background: #25D366; }
.float-btn.call { background: var(--secondary); }
.float-book { position: fixed; left: 0; bottom: 120px; z-index: 999; background: var(--primary); color: #fff; padding: 12px 18px; font-size: 13px; font-weight: 600; writing-mode: vertical-rl; border-radius: 0 8px 8px 0; box-shadow: var(--shadow); transition: var(--transition); cursor: pointer; text-decoration: none; }
.float-book:hover { background: var(--primary-dark); }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; border-radius: 8px; font-size: 15px; font-weight: 600; transition: var(--transition); cursor: pointer; text-decoration: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(227,90,26,0.35); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: var(--bg-light); transform: translateY(-2px); }
.btn-wa { background: #25D366; color: #fff; }
.btn-wa:hover { background: #20b857; transform: translateY(-2px); }

/* ===== LAYOUT ===== */
.section { padding: 80px 0; }
.section-bg { background: var(--bg-light); }
.section-dark { background: var(--secondary); color: #fff; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag { display: inline-block; background: rgba(227,90,26,0.10); color: var(--primary); padding: 4px 16px; border-radius: 100px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; }
.section-title { font-size: clamp(26px, 4vw, 40px); font-weight: 700; color: var(--secondary); line-height: 1.2; margin-bottom: 16px; }
.section-dark .section-title { color: #fff; }
.section-sub { font-size: 17px; color: var(--text-light); max-width: 560px; margin: 0 auto; }
.section-dark .section-sub { color: rgba(255,255,255,0.7); }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }

/* ===== COUNTER STRIP ===== */
.counter-strip { background: var(--secondary); padding: 40px 0; }
.counter-strip .container { display: grid; grid-template-columns: repeat(4,1fr); }
.counter-item { text-align: center; padding: 20px; border-right: 1px solid rgba(255,255,255,0.12); }
.counter-item:last-child { border-right: none; }
.counter-num { font-size: 42px; font-weight: 700; color: var(--primary); line-height: 1; margin-bottom: 6px; }
.counter-label { font-size: 14px; color: rgba(255,255,255,0.7); font-weight: 500; }

/* ===== DOCTOR SECTION ===== */
.doctor-section .container { display: grid; grid-template-columns: 380px 1fr; gap: 60px; align-items: center; }

/* Photo wrap — contains both placeholder and real photo */
.doctor-photo-wrap { position: relative; width: 100%; }

/* Placeholder (emoji) */
.doc-placeholder {
  width: 100%; height: 460px;
  background: linear-gradient(135deg, #1a2744, #243660);
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 80px;
  box-shadow: var(--shadow-lg);
}

/* Real photo from admin */
.doc-real-photo {
  width: 100%; height: 460px;
  object-fit: cover; object-position: top center;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  display: block;
}

/* Badge — inside photo, right side, no overflow */
.doc-badge {
  position: absolute; bottom: 20px; right: 16px;
  background: var(--primary); color: #fff;
  padding: 12px 16px; border-radius: var(--radius);
  text-align: center; box-shadow: var(--shadow);
  z-index: 2;
}
.doc-badge .num { font-size: 26px; font-weight: 700; line-height: 1; }
.doc-badge .lbl { font-size: 11px; font-weight: 500; opacity: 0.9; }

/* Doctor info text */
.doctor-info h2 { font-size: 34px; font-weight: 700; color: var(--secondary); line-height: 1.2; margin-bottom: 6px; }
.doctor-info .quals { font-size: 14px; color: var(--primary); font-weight: 600; margin-bottom: 8px; }
.doctor-info .hospital { font-size: 14px; color: var(--text-light); margin-bottom: 20px; display: flex; align-items: center; gap: 6px; }
.doctor-info .bio { color: var(--text-light); margin-bottom: 24px; line-height: 1.7; font-size: 15px; }

/* Achievements */
.achievements-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 24px; }
.achievement-item { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-light); }
.achievement-item .icon { width: 22px; height: 22px; background: rgba(227,90,26,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--primary); font-size: 11px; margin-top: 1px; }

/* OPD Strip */
.opd-strip { display: flex; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.opd-card { background: var(--bg-light); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 16px; flex: 1; min-width: 140px; }
.opd-card .opd-type { font-size: 11px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 3px; }
.opd-card .opd-days { font-size: 13px; font-weight: 600; color: var(--secondary); }
.opd-card .opd-time { font-size: 12px; color: var(--text-light); }

/* ===== SERVICE CARDS ===== */
.service-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border); transition: var(--transition); display: flex; flex-direction: column; height: 100%; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card-img { position: relative; height: 200px; flex-shrink: 0; overflow: hidden; background: linear-gradient(135deg, #1a2744, #243660); }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; transition: var(--transition); display: block; }
.service-card:hover .service-card-img img { opacity: 0.7; transform: scale(1.05); }
.service-icon-badge { position: absolute; bottom: 14px; left: 16px; width: 46px; height: 46px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; box-shadow: 0 4px 14px rgba(227,90,26,0.5); z-index: 3; }
.service-card-body { flex: 1; display: flex; flex-direction: column; padding: 18px 20px 20px; }
.service-card-body h3 { font-size: 17px; font-weight: 700; color: var(--secondary); margin: 0 0 8px 0; }
.service-card-body > p { flex: 1; font-size: 13.5px; color: var(--text-light); line-height: 1.6; margin: 0 0 12px 0; }
.service-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 12px; }
.tag-pill { background: rgba(26,39,68,0.07); color: var(--secondary); padding: 3px 10px; border-radius: 100px; font-size: 11px; font-weight: 600; }
.service-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--border); margin-top: auto; }
.service-badge { background: rgba(227,90,26,0.08); color: var(--primary); padding: 3px 10px; border-radius: 100px; font-size: 11px; font-weight: 600; }
.service-link { font-size: 13px; font-weight: 600; color: var(--primary); display: flex; align-items: center; gap: 4px; }

/* Services Swiper */
.services-swiper { width: 100%; overflow: hidden !important; }
.services-swiper .swiper-wrapper { align-items: stretch; }
.services-swiper .swiper-slide { height: auto !important; display: flex; }
.services-swiper .swiper-slide .service-card { flex: 1; }
.swiper-button-next, .swiper-button-prev { width: 40px !important; height: 40px !important; background: #fff; border-radius: 50%; box-shadow: 0 2px 12px rgba(0,0,0,0.15); color: var(--primary) !important; top: 36% !important; }
.swiper-button-next::after, .swiper-button-prev::after { font-size: 14px !important; font-weight: 800 !important; }
.swiper-pagination-bullet { background: rgba(26,39,68,0.3) !important; }
.swiper-pagination-bullet-active { background: var(--primary) !important; width: 20px !important; border-radius: 4px !important; }

/* ===== TESTIMONIALS ===== */
.testimonial-card { background: #fff; border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); border: 1px solid var(--border); height: 100%; display: flex; flex-direction: column; }
.testimonial-stars { color: #f59e0b; font-size: 16px; margin-bottom: 12px; }
.testimonial-text { font-size: 14px; color: var(--text-light); line-height: 1.7; margin-bottom: 20px; font-style: italic; flex: 1; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author .author-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--bg-light); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.testimonial-name { font-weight: 700; color: var(--secondary); font-size: 14px; }
.testimonial-treatment { font-size: 12px; color: var(--primary); font-weight: 500; }

/* ===== FAQ ===== */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 12px; }
.faq-q { padding: 18px 20px; font-weight: 600; font-size: 15px; color: var(--secondary); cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff; transition: var(--transition); }
.faq-q:hover { background: var(--bg-light); }
.faq-q.open { background: var(--secondary); color: #fff; }
.faq-q .faq-icon { font-size: 18px; transition: var(--transition); flex-shrink: 0; }
.faq-q.open .faq-icon { transform: rotate(45deg); }
.faq-a { display: none; padding: 16px 20px; font-size: 14px; color: var(--text-light); background: var(--bg-light); line-height: 1.7; }
.faq-a.open { display: block; }

/* ===== CONTACT ===== */
.contact-card { background: #fff; border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.contact-item { display: flex; align-items: flex-start; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.contact-item:last-child { border-bottom: none; }
.contact-icon { width: 42px; height: 42px; background: rgba(227,90,26,0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.contact-item .label { font-size: 11px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.contact-item .value { font-size: 14px; color: var(--secondary); font-weight: 600; }
.contact-item .sub { font-size: 13px; color: var(--text-light); }

/* ===== FOOTER ===== */
.site-footer { background: var(--bg-dark); color: rgba(255,255,255,0.8); padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo-name { color: #fff; font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.footer-brand .logo-title { color: var(--primary); font-size: 12px; margin-bottom: 14px; }
.footer-brand p { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,0.55); margin-bottom: 16px; }
.social-icons { display: flex; gap: 10px; }
.social-icon { width: 36px; height: 36px; background: rgba(255,255,255,0.08); border-radius: 8px; display: flex; align-items: center; justify-content: center; transition: var(--transition); color: rgba(255,255,255,0.6); }
.social-icon:hover { background: var(--primary); color: #fff; }
.social-icon svg { width: 16px; height: 16px; }
.footer-col h4 { font-size: 13px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid var(--primary); display: inline-block; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 13px; color: rgba(255,255,255,0.55); transition: var(--transition); display: flex; align-items: center; gap: 6px; }
.footer-col ul li a:hover { color: var(--primary); padding-left: 4px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: 13px; color: rgba(255,255,255,0.55); }
.footer-contact-item span:first-child { color: var(--primary); font-size: 14px; margin-top: 2px; flex-shrink: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 18px 0; }
.footer-bottom .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.35); }
.footer-bottom a { color: var(--primary); }

/* ===== PAGE HERO ===== */
.page-hero { background: linear-gradient(135deg, var(--secondary) 0%, #1e3060 100%); padding: 72px 0; text-align: center; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; top: -40%; right: -8%; width: 500px; height: 500px; border: 1px solid rgba(255,255,255,0.05); border-radius: 50%; pointer-events: none; }
.page-hero h1 { font-size: clamp(28px, 5vw, 48px); font-weight: 700; color: #fff; margin-bottom: 10px; }
.page-hero p { font-size: 17px; color: rgba(255,255,255,0.65); max-width: 560px; margin: 0 auto 20px; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.45); }
.breadcrumb a { color: rgba(255,255,255,0.65); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: rgba(255,255,255,0.25); }
.breadcrumb .current { color: var(--primary); }

/* ===== AOS ===== */
[data-aos] { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-aos].aos-animate { opacity: 1; transform: none; }
[data-aos="fade-right"] { transform: translateX(-24px); }
[data-aos="fade-right"].aos-animate { transform: none; }
[data-aos="fade-left"] { transform: translateX(24px); }
[data-aos="fade-left"].aos-animate { transform: none; }

/* ===== GALLERY ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); gap: 18px; }
.gallery-item { border-radius: var(--radius); overflow: hidden; position: relative; aspect-ratio: 4/3; cursor: pointer; background: var(--bg-light); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-overlay { position: absolute; inset: 0; background: rgba(26,39,68,0.65); display: flex; align-items: center; justify-content: center; opacity: 0; transition: var(--transition); color: #fff; font-size: 28px; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.95); z-index: 9999; display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 90vh; border-radius: var(--radius); }
.lightbox-close { position: absolute; top: 20px; right: 20px; color: #fff; font-size: 30px; cursor: pointer; }

/* ===== BLOG ===== */
.blog-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: var(--transition); }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.blog-card-img { height: 190px; overflow: hidden; background: var(--bg-light); }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 18px 20px; }
.blog-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.blog-cat { background: rgba(227,90,26,0.1); color: var(--primary); padding: 2px 10px; border-radius: 100px; font-size: 11px; font-weight: 600; }
.blog-date, .blog-read { font-size: 11px; color: var(--text-muted); }
.blog-card-body h3 { font-size: 16px; font-weight: 700; color: var(--secondary); margin-bottom: 8px; line-height: 1.4; }
.blog-card-body p { font-size: 13px; color: var(--text-light); line-height: 1.6; margin-bottom: 14px; }
.blog-read-more { font-size: 13px; font-weight: 600; color: var(--primary); cursor: pointer; }
.blog-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 8000; display: none; align-items: flex-start; justify-content: center; padding: 40px 16px; overflow-y: auto; }
.blog-overlay.open { display: flex; }
.blog-article { background: #fff; border-radius: var(--radius-lg); max-width: 740px; width: 100%; }
.blog-article-header { padding: 28px 32px 20px; border-bottom: 1px solid var(--border); position: relative; }
.blog-article-header h2 { font-size: 24px; font-weight: 700; color: var(--secondary); line-height: 1.3; margin-bottom: 10px; }
.blog-close { position: absolute; top: 16px; right: 16px; font-size: 22px; cursor: pointer; color: var(--text-muted); background: none; border: none; }
.blog-article-body { padding: 28px 32px; }
.blog-article-content h3 { font-size: 18px; font-weight: 700; color: var(--secondary); margin: 20px 0 8px; }
.blog-article-content p { font-size: 14px; color: var(--text-light); line-height: 1.75; margin-bottom: 14px; }

/* ===== TEAM ===== */
.team-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: var(--transition); cursor: pointer; text-align: center; }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-card-img { height: 240px; overflow: hidden; background: var(--bg-light); display: flex; align-items: center; justify-content: center; }
.team-card-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.team-card:hover .team-card-img img { transform: scale(1.05); }
.team-card-body { padding: 18px; }
.team-card-body h3 { font-size: 16px; font-weight: 700; color: var(--secondary); margin-bottom: 4px; }
.team-card-body .desg { font-size: 13px; color: var(--primary); font-weight: 600; margin-bottom: 3px; }
.team-card-body .qual { font-size: 12px; color: var(--text-muted); }

/* ===== FILTER TABS ===== */
.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 36px; }
.filter-tab { padding: 7px 18px; border-radius: 100px; font-size: 13px; font-weight: 600; background: var(--bg-light); color: var(--text-light); border: 1px solid var(--border); cursor: pointer; transition: var(--transition); }
.filter-tab.active, .filter-tab:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .doctor-section .container { grid-template-columns: 300px 1fr; gap: 36px; }
  .counter-strip .container { grid-template-columns: repeat(2,1fr); }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .doc-real-photo, .doc-placeholder { height: 400px !important; }
}

@media (max-width: 768px) {
  /* Header */
  .header-nav { display: none; }
  .hamburger { display: flex; }
  .header-inner { padding: 0 14px; gap: 8px; height: 64px; }
  .header-logo { gap: 8px; }
  .logo-text .logo-name { font-size: 15px; }
  .logo-text .logo-title { font-size: 10px; }
  .container { padding: 0 16px; }
  .section { padding: 48px 0; }

  /* Doctor section — stack vertically */
  .doctor-section .container {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .doctor-photo-wrap {
    max-width: 320px;
    margin: 0 auto;
  }
  .doc-real-photo, .doc-placeholder {
    height: 300px !important;
    font-size: 60px !important;
  }
  .doc-badge {
    bottom: 14px;
    right: 14px;
    padding: 10px 14px;
  }
  .doc-badge .num { font-size: 20px; }
  .doc-badge .lbl { font-size: 10px; }
  .doctor-info h2 { font-size: 24px; }
  .achievements-list { grid-template-columns: 1fr; gap: 8px; }
  .opd-strip { flex-direction: column; gap: 8px; }
  .opd-card { min-width: unset; }

  /* Grids */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  /* Blog */
  .blog-article-header, .blog-article-body { padding: 20px 16px; }
  .blog-article-header h2 { font-size: 20px; }

  /* Float book */
  .float-book { display: none; }

  /* Contact layout */
  .contact-layout { grid-template-columns: 1fr !important; }

  /* Map mobile */
  #map-iframe { height: 280px !important; min-height: 240px !important; }
}

@media (max-width: 480px) {
  /* Counter 2 columns */
  .counter-strip .container { grid-template-columns: 1fr 1fr; }
  .counter-num { font-size: 32px; }
  .counter-label { font-size: 12px; }

  /* Doctor photo smaller */
  .doc-real-photo, .doc-placeholder {
    height: 240px !important;
    font-size: 48px !important;
  }
  .doctor-photo-wrap { max-width: 280px; }
  .doctor-info h2 { font-size: 22px; }
  .doctor-info .bio { font-size: 14px; }

  /* Floating buttons */
  .floating-btns { right: 10px; bottom: 70px; }
  .float-btn { width: 46px; height: 46px; font-size: 20px; }

  /* Footer */
  .footer-bottom .container { flex-direction: column; text-align: center; }
}
