/* ==========================================================================
   Dr Raihan BD - Master Stylesheet (With Desktop/Mobile Responsive Shell)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Primary Theme Palette */
  --primary-color: #0a3663;
  --primary-hover: #062445;
  --secondary-color: #00b4d8;
  --secondary-dark: #0077b6;
  --accent-color: #f39c12;
  --accent-green: #2ecc71;
  --alert-red: #e74c3c;

  /* Neutral Tones */
  --bg-light: #f8fafc;
  --bg-card: #ffffff;
  --bg-dark: #0f172a;
  --text-main: #2c3e50;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border-color: #e2e8f0;

  /* Shadows & Radius */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(10, 54, 99, 0.08);
  --shadow-lg: 0 16px 40px rgba(10, 54, 99, 0.12);
  --shadow-glow: 0 0 20px rgba(0, 180, 216, 0.3);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Theme Overrides */
body.dark-theme {
  --primary-color: #38bdf8;
  --primary-hover: #7dd3fc;
  --secondary-color: #00b4d8;
  --secondary-dark: #38bdf8;
  --bg-light: #0f172a;
  --bg-card: #1e293b;
  --bg-dark: #020617;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-light: #cbd5e1;
  --border-color: #334155;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
}

body.dark-theme .main-header {
  background: #1e293b;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

body.dark-theme .nav-link { color: #f8fafc; }

body.dark-theme .ninja-verification-card,
body.dark-theme .contact-card,
body.dark-theme .service-card,
body.dark-theme .appointment-form-card,
body.dark-theme .form-control {
  background: #1e293b;
  color: #f8fafc;
  border-color: #334155;
}

body.dark-theme .ninja-heading-bn,
body.dark-theme .ninja-heading-en,
body.dark-theme .pro-search-input { color: #f8fafc; }

body.dark-theme .search-prompt-box {
  background: #0f172a;
  border-color: #334155;
  color: #94a3b8;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Poppins', 'Inter', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

a {
  color: var(--secondary-dark);
  text-decoration: none;
  transition: var(--transition);
}

a:hover { color: var(--primary-color); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* Header Controls (Theme & Lang) */
.header-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle-btn, .lang-toggle-btn {
  background: rgba(0, 180, 216, 0.1);
  border: 1px solid var(--border-color);
  color: var(--primary-color);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.theme-toggle-btn:hover, .lang-toggle-btn:hover {
  background: var(--secondary-color);
  color: #ffffff;
  transform: translateY(-2px);
}

body.dark-theme .theme-toggle-btn, body.dark-theme .lang-toggle-btn {
  background: rgba(255,255,255,0.1);
  color: #38bdf8;
  border-color: #334155;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  color: var(--primary-color);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(0, 180, 216, 0.1);
  color: var(--secondary-dark);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 2.5rem auto;
}

.text-center { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
  color: #ffffff;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--primary-color) 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  border-color: var(--secondary-color);
  color: var(--secondary-dark);
}

.btn-outline:hover {
  background: var(--secondary-color);
  color: #ffffff;
}

.btn-secondary {
  background: var(--primary-color);
  color: #ffffff;
}

.btn-secondary:hover {
  background: var(--primary-hover);
  color: #ffffff;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 80px 0; }
.bg-light { background-color: var(--bg-light); }
.bg-card { background-color: var(--bg-card); }
.bg-dark { background-color: var(--bg-dark); }

/* Top Header Mini Bar */
.top-bar {
  background: var(--primary-color);
  color: #ffffff;
  padding: 8px 0;
  font-size: 0.85rem;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-info { display: flex; gap: 24px; align-items: center; }
.top-info-item { display: flex; align-items: center; gap: 8px; }
.top-info-item i { color: var(--secondary-color); }
.top-badges { display: flex; gap: 16px; align-items: center; }
.approval-badge {
  background: rgba(0, 180, 216, 0.2);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
}

/* Main Header & Navbar */
.main-header {
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-dark));
  color: #ffffff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.site-logo-img {
  height: 55px;
  width: auto;
  object-fit: contain;
}

.logo-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1.1;
  display: block;
}

.logo-subtitle {
  font-size: 0.75rem;
  color: var(--secondary-dark);
  font-weight: 600;
  letter-spacing: 0.5px;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-weight: 600;
  color: var(--text-main);
  font-size: 0.95rem;
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--secondary-color);
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--secondary-dark); }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
}

/* Page Banner Header */
.page-banner {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--bg-dark) 100%);
  color: #ffffff;
  padding: 50px 0;
  position: relative;
}

.page-banner-content { text-align: center; }
.page-banner-title { font-size: 2.2rem; color: #ffffff; margin-bottom: 8px; }
.breadcrumb { display: flex; justify-content: center; align-items: center; gap: 8px; font-size: 0.9rem; color: rgba(255,255,255,0.7); }
.breadcrumb a { color: var(--secondary-color); }

/* Hero Slider Carousel */
.hero-slider-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--bg-dark);
}

.hero-slider-container {
  position: relative;
  min-height: 520px;
  display: flex;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(10, 54, 99, 0.92) 0%, rgba(10, 54, 99, 0.6) 60%, rgba(0, 0, 0, 0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  color: #ffffff;
  padding: 60px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 180, 216, 0.25);
  border: 1px solid var(--secondary-color);
  color: #ffffff;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.18;
  margin-bottom: 16px;
}

.hero-title span { color: var(--secondary-color); }

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  line-height: 1.6;
}

.hero-btn-group { display: flex; gap: 16px; flex-wrap: wrap; }

/* Stats Ribbon Cards */
.stats-ribbon {
  background: var(--bg-card);
  box-shadow: var(--shadow-md);
  margin-top: -40px;
  position: relative;
  z-index: 10;
  border-radius: var(--radius-md);
  padding: 24px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px;
}

.stat-icon {
  width: 50px;
  height: 50px;
  background: rgba(0, 180, 216, 0.1);
  color: var(--secondary-dark);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.stat-number {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* About / Doctor Profile */
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 50px;
  align-items: start;
}

.doctor-img-wrapper {
  position: relative !important;
  border-radius: var(--radius-lg) !important;
  overflow: hidden !important;
  box-shadow: var(--shadow-lg) !important;
  align-self: start !important;
  line-height: 0 !important;
  background: transparent !important;
}

.doctor-img-wrapper img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  object-fit: cover !important;
  border-radius: var(--radius-lg) !important;
}

.exp-badge {
  position: absolute !important;
  bottom: 20px !important;
  left: 20px !important;
  background: linear-gradient(135deg, #0a3663 0%, #0077b6 100%) !important;
  color: #ffffff !important;
  padding: 14px 22px !important;
  border-radius: var(--radius-md) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 14px !important;
  box-shadow: 0 12px 30px rgba(10, 54, 99, 0.45) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  z-index: 10 !important;
  line-height: 1.4 !important;
}

.exp-num {
  font-size: 2.2rem !important;
  font-weight: 800 !important;
  color: #00b4d8 !important;
  line-height: 1 !important;
  display: inline-block !important;
}

.exp-text {
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  text-transform: uppercase !important;
  line-height: 1.3 !important;
  display: inline-block !important;
}

.approval-box {
  background: rgba(0, 180, 216, 0.08);
  border-left: 4px solid var(--secondary-color);
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  margin: 20px 0;
}

.approval-box h4 { margin-bottom: 6px; font-size: 1rem; color: var(--primary-color); }
.approval-box p { font-size: 0.88rem; color: var(--text-muted); margin: 0; }

/* Medical Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 35px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  text-align: left;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary-color);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.15), rgba(10, 54, 99, 0.1));
  color: var(--secondary-dark);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.service-title { font-size: 1.25rem; margin-bottom: 12px; }
.service-desc { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 20px; flex-grow: 1; }

.service-features { margin-bottom: 24px; }
.service-features li { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; color: var(--text-main); margin-bottom: 8px; }
.service-features li i { color: var(--accent-green); font-size: 0.8rem; }

/* Homepage Verification Box Banner */
.verification-box {
  background: linear-gradient(135deg, #0a3663 0%, #0077b6 100%);
  color: #ffffff;
  padding: 50px 40px;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px rgba(10, 54, 99, 0.25);
  position: relative;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.verification-box h2 {
  color: #ffffff !important;
  font-size: 2.2rem;
  font-weight: 800;
  margin-top: 8px;
  margin-bottom: 12px;
}

.verification-box p {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 1.05rem;
  margin-bottom: 28px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.verify-search-form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  max-width: 650px;
  margin: 0 auto;
}

.verify-input {
  flex: 1;
  padding: 14px 22px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-full);
  font-size: 1rem;
  outline: none;
  background: #ffffff;
  color: #0a3663;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.verify-input:focus {
  border-color: #00b4d8;
  box-shadow: 0 0 0 4px rgba(0, 180, 216, 0.3);
}

/* Ninja Certificate Verification Portal Box */
.ninja-verification-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  text-align: center;
}

.ninja-heading-bn {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 4px;
}

.ninja-heading-en {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--secondary-dark);
  margin-bottom: 8px;
}

.ninja-subtext {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pro-search-box {
  display: flex;
  gap: 12px;
  max-width: 680px;
  margin: 0 auto;
}

.pro-search-input {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 1rem;
  outline: none;
  font-family: inherit;
  transition: var(--transition);
}

.pro-search-input:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 4px rgba(0, 180, 216, 0.15);
}

.btn-search-exec {
  padding: 14px 30px;
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
  color: #ffffff;
  border: none;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-search-exec:hover {
  background: var(--primary-color);
}

.search-prompt-box {
  background: #f0f7ff;
  border: 1px solid #bae6fd;
  padding: 20px;
  border-radius: var(--radius-md);
  margin-top: 24px;
  color: #0369a1;
  font-size: 0.92rem;
}

.results-meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-size: 0.9rem;
  font-weight: 600;
}

.ninja-data-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-size: 0.9rem;
  text-align: left;
}

.ninja-data-table th {
  background: #f1f5f9;
  color: var(--primary-color);
  padding: 12px 16px;
  font-weight: 700;
  border-bottom: 2px solid var(--border-color);
}

.ninja-data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
}

/* Form Controls */
.appointment-form-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full-width { grid-column: 1 / -1; }
.form-label { font-size: 0.88rem; font-weight: 600; color: var(--primary-color); }
.form-control { padding: 12px 16px; border: 1.5px solid var(--border-color); border-radius: var(--radius-sm); font-size: 0.95rem; font-family: inherit; outline: none; background: var(--bg-card); color: var(--text-main); }
.form-control:focus { border-color: var(--secondary-color); }

/* Contact Cards */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info-box { display: flex; flex-direction: column; gap: 24px; }

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: var(--bg-card);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.contact-card-icon {
  width: 52px;
  height: 52px;
  background: rgba(0, 180, 216, 0.1);
  color: var(--secondary-dark);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.map-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 100%;
  min-height: 380px;
}

.map-wrapper iframe { width: 100%; height: 100%; border: none; }

/* Status Badges & Details Modal */
.status-badge-valid {
  background: rgba(46, 204, 113, 0.15);
  color: var(--accent-green);
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Footer */
.main-footer { background: var(--bg-dark); color: rgba(255, 255, 255, 0.8); padding: 70px 0 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.footer-col h4 { color: #ffffff; font-size: 1.15rem; margin-bottom: 1.25rem; }
.footer-links a { color: rgba(255, 255, 255, 0.75); font-size: 0.9rem; }
.footer-links a:hover { color: var(--secondary-color); }
.footer-bottom { padding: 24px 0; text-align: center; font-size: 0.85rem; color: rgba(255, 255, 255, 0.5); }

/* ==========================================================================
   DESKTOP VS MOBILE RESPONSIVE SHELL (HIDE MOBILE APP BAR ON DESKTOP)
   ========================================================================== */

/* DEFAULT: HIDE MOBILE APP BAR & FAB ON DESKTOP & LAPTOP SCREENS */
.mobile-app-bottom-bar, .mobile-fab-call {
  display: none !important;
}

@media (max-width: 992px) {
  .profile-grid, .contact-grid, .footer-grid, .services-grid, .stats-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 78px !important; /* Safe padding for bottom app bar on mobile only */
    -webkit-tap-highlight-color: transparent;
  }

  /* Fix Top Bar Layout on Mobile Screen */
  .top-bar .container {
    justify-content: center;
  }

  .top-badges {
    display: none !important; /* Hide badges from top mini bar on mobile to prevent text wrapping */
  }

  .top-info {
    justify-content: center;
    gap: 12px;
    font-size: 0.76rem;
  }

  /* Mobile Navigation Menu Drawer */
  .nav-menu { position: fixed; top: 80px; left: -100%; width: 80%; height: calc(100vh - 80px); background: var(--bg-card); flex-direction: column; padding: 30px; transition: var(--transition); z-index: 1001; }
  .nav-menu.active { left: 0; }
  .mobile-toggle { display: block; }
  .pro-search-box { flex-direction: column; }

  /* Hero Slider Mobile Responsiveness */
  .hero-slider-container {
    min-height: 400px !important;
  }

  .hero-content {
    padding: 36px 0 !important;
  }

  .hero-badge {
    font-size: 0.75rem !important;
    padding: 4px 12px !important;
    margin-bottom: 12px !important;
  }

  .hero-title {
    font-size: 1.75rem !important;
    line-height: 1.25 !important;
    margin-bottom: 12px !important;
  }

  .hero-subtitle {
    font-size: 0.92rem !important;
    margin-bottom: 22px !important;
    line-height: 1.5 !important;
  }

  .hero-btn-group {
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .hero-btn-group .btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 12px 20px !important;
    font-size: 0.9rem !important;
  }

  /* Stats Ribbon 2x2 Grid on Mobile */
  .stats-ribbon {
    margin-top: -24px !important;
    padding: 16px 14px !important;
    border-radius: 14px !important;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }

  .stat-card {
    padding: 8px 6px !important;
    gap: 10px !important;
  }

  .stat-icon {
    width: 42px !important;
    height: 42px !important;
    font-size: 1.15rem !important;
    border-radius: 10px !important;
  }

  .stat-number {
    font-size: 1.05rem !important;
  }

  .stat-label {
    font-size: 0.72rem !important;
    line-height: 1.2 !important;
  }

  /* Doctor Overview Mobile Layout */
  .profile-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .doctor-img-wrapper {
    border-radius: 16px !important;
  }

  .exp-badge {
    bottom: 14px !important;
    left: 14px !important;
    padding: 10px 16px !important;
    gap: 10px !important;
  }

  .exp-num {
    font-size: 1.75rem !important;
  }

  .exp-text {
    font-size: 0.72rem !important;
  }

  /* Medical Services 1 Column Mobile */
  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .service-card {
    padding: 24px 20px !important;
    border-radius: 16px !important;
  }

  /* Verification Box Mobile Banner */
  .verification-box {
    padding: 30px 16px !important;
    border-radius: 16px !important;
  }

  .verification-box h2 {
    font-size: 1.5rem !important;
    line-height: 1.3 !important;
  }

  .verification-box p {
    font-size: 0.9rem !important;
    margin-bottom: 20px !important;
  }

  .verify-search-form {
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .verify-input {
    width: 100% !important;
    font-size: 0.92rem !important;
    padding: 13px 16px !important;
    border-radius: 12px !important;
  }

  .verify-search-form .btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 13px 20px !important;
    font-size: 0.92rem !important;
    border-radius: 12px !important;
  }

  /* Footer Mobile Grid */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    padding-bottom: 30px !important;
  }

  /* DISPLAY ONLY ON MOBILE / TABLET DEVICES */
  .mobile-app-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 68px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    display: flex !important;
    align-items: center;
    justify-content: space-around;
    z-index: 9999;
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.08);
    padding-bottom: env(safe-area-inset-bottom);
  }

  body.dark-theme .mobile-app-bottom-bar {
    background: rgba(15, 23, 42, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .mobile-app-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #64748b;
    font-size: 0.68rem;
    font-weight: 600;
    text-decoration: none;
    flex: 1;
    height: 100%;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .mobile-app-tab i {
    font-size: 1.25rem;
    transition: transform 0.2s ease, color 0.2s ease;
  }

  .mobile-app-tab:active {
    transform: scale(0.92);
  }

  .mobile-app-tab.active {
    color: #00b4d8;
  }

  .mobile-app-tab.active i {
    color: #00b4d8;
    transform: translateY(-2px);
  }

  body.dark-theme .mobile-app-tab { color: #94a3b8; }
  body.dark-theme .mobile-app-tab.active { color: #38bdf8; }
  body.dark-theme .mobile-app-tab.active i { color: #38bdf8; }

  /* Floating Action Button (FAB) for Mobile Direct Call */
  .mobile-fab-call {
    position: fixed;
    bottom: 82px;
    right: 16px;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: #ffffff;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    box-shadow: 0 8px 24px rgba(46, 204, 113, 0.45);
    z-index: 9998;
    transition: all 0.25s ease;
  }

  .mobile-fab-call:active {
    transform: scale(0.9);
  }
}
