@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* ── VARIABLES ─────────────────────────────────────────────── */
:root {
  --primary: #0d9488;
  --primary-light: #14b8a6;
  --primary-dark: #0f766e;
  --secondary: #2563eb;
  --bg-color: #f8fafc;
  --surface: #ffffff;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --grad-primary: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
  --grad-secondary: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.05), 0 4px 6px -2px rgba(0,0,0,0.02);
  --shadow-hover: 0 20px 25px -5px rgba(13, 148, 136, 0.15), 0 10px 10px -5px rgba(13, 148, 136, 0.04);
  --radius: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET ──────────────────────────────────────────────────── */
* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color) !important;
  color: var(--text-main) !important;
  overflow-x: hidden;
  min-height: 100vh;
}
h1, h2, h3, h4, h5, h6 { font-family: 'Outfit', sans-serif; color: var(--text-main); font-weight: 700; }
a { text-decoration: none; transition: var(--transition); }
img { max-width: 100%; border-radius: 8px; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* ── NAVBAR ─────────────────────────────────────────────────── */
.toc-navbar {
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.toc-navbar.scrolled {
  padding: 8px 0;
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.98) !important;
}
.toc-logo-icon {
  width: 44px; height: 44px; min-width: 44px;
  background: var(--grad-primary);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: #fff;
  box-shadow: 0 4px 10px rgba(13, 148, 136, 0.3);
}
.brand-name { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 18px; color: var(--text-main); line-height: 1.2; }
.brand-tagline { font-size: 11px; color: var(--primary); line-height: 1; font-weight: 500; }
.navbar-nav .nav-link {
  color: var(--text-muted) !important;
  font-weight: 600; font-size: 15px;
  padding: 8px 16px !important;
  border-radius: 8px;
  transition: var(--transition);
}
.navbar-nav .nav-link:hover { color: var(--primary) !important; background: rgba(13, 148, 136, 0.05); }

.btn-branch {
  background: #f8fafc;
  border: 1px solid var(--border);
  color: var(--text-main) !important; font-size: 14px; font-weight: 500;
  padding: 8px 16px; border-radius: 10px;
}
.btn-branch:hover { background: #f1f5f9; border-color: #cbd5e1; color: var(--primary) !important; }
.branch-menu {
  background: var(--surface); border: 1px solid var(--border);
  min-width: 220px; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-lg);
}
.branch-menu .dropdown-item { color: var(--text-main); font-size: 14px; padding: 10px 16px; font-weight: 500; }
.branch-menu .dropdown-item:hover { background: rgba(13, 148, 136, 0.05); color: var(--primary); }

.btn-whatsapp-icon {
  width: 40px; height: 40px; min-width: 40px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: #fff !important;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp-icon:hover { transform: scale(1.05); box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4); }

.btn-toc-primary {
  background: var(--grad-primary) !important;
  color: #fff !important; font-weight: 600; font-size: 14px;
  padding: 10px 24px; border-radius: 10px; border: none;
  display: inline-flex; align-items: center; gap: 8px;
  white-space: nowrap; box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
  transition: var(--transition);
}
.btn-toc-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(13, 148, 136, 0.35); }

/* ── HERO ───────────────────────────────────────────────────── */
.hero-section {
  min-height: 100vh;
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  padding-top: 80px;
  background: #000;
}
.hero-bg-video {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw; height: 56.25vw; min-height: 100vh; min-width: 177.77vh;
  pointer-events: none; z-index: 0; opacity: 0.6;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(15,23,42,0.95) 0%, rgba(15,23,42,0.7) 50%, rgba(15,23,42,0.4) 100%);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(20, 184, 166, 0.2);
  border: 1px solid rgba(20, 184, 166, 0.4);
  color: #2dd4bf; padding: 6px 16px;
  border-radius: 50px; font-size: 13px; font-weight: 600;
  margin-bottom: 24px; letter-spacing: 0.5px;
}
.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800; line-height: 1.1;
  color: #fff; margin-bottom: 24px;
}
.hero-title .highlight {
  background: linear-gradient(135deg, #2dd4bf, #0ea5e9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  color: #cbd5e1; font-size: 1.1rem;
  line-height: 1.7; margin-bottom: 40px;
  max-width: 550px; font-weight: 400;
}

/* Stats */
.hero-stats {
  display: flex; flex-direction: row; flex-wrap: wrap;
  gap: 32px; margin-bottom: 40px;
  background: rgba(255,255,255,0.05); padding: 20px 30px;
  border-radius: 16px; border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px); display: inline-flex;
}
.stat-item { display: flex; flex-direction: column; align-items: flex-start; }
.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem; font-weight: 800;
  color: #2dd4bf; line-height: 1;
}
.stat-label { font-size: 12px; color: #94a3b8; margin-top: 6px; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; }

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.btn-hero-primary {
  background: #2dd4bf;
  color: #0f172a !important; font-weight: 700; font-size: 16px;
  padding: 16px 32px; border-radius: 12px; border: none;
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 8px 20px rgba(45, 212, 191, 0.3); transition: var(--transition);
}
.btn-hero-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 25px rgba(45, 212, 191, 0.4); }
.btn-hero-secondary {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff !important; font-weight: 600; font-size: 16px;
  padding: 16px 32px; border-radius: 12px;
  display: inline-flex; align-items: center; gap: 8px;
  backdrop-filter: blur(10px); transition: var(--transition);
}
.btn-hero-secondary:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.4); }

/* ── SECTIONS ───────────────────────────────────────────────── */
.section-pad { padding: 100px 0; }
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--primary); font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px; margin-bottom: 16px;
}
.section-tag::before, .section-tag::after { content: ''; width: 24px; height: 2px; background: var(--primary); border-radius: 2px; }
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; line-height: 1.2; color: var(--text-main); margin-bottom: 20px;
}
.section-subtitle { color: var(--text-muted); font-size: 1.1rem; line-height: 1.7; max-width: 650px; }
.text-gradient {
  background: var(--grad-primary);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.page-header {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 120px 0 60px;
  border-bottom: 1px solid var(--border);
}

/* ── CARDS ──────────────────────────────────────────────────── */
.toc-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
  transition: var(--transition); box-shadow: var(--shadow-sm);
}
.toc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: var(--primary-light); }

/* Service Cards (Image based) */
.service-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: var(--transition); height: 100%; box-shadow: var(--shadow-md);
  display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-color: var(--primary-light); }
.service-card-img {
  height: 200px; overflow: hidden; position: relative;
}
.service-card-img img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; border-radius: 0;
}
.service-card:hover .service-card-img img { transform: scale(1.08); }
.service-card-body { padding: 24px; flex-grow: 1; display: flex; flex-direction: column; }
.service-card h5 { font-weight: 700; font-size: 18px; color: var(--text-main); margin-bottom: 12px; }
.service-card p { color: var(--text-muted); font-size: 14.5px; line-height: 1.6; margin-bottom: 20px; flex-grow: 1; }
.service-link { color: var(--primary); font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.service-card:hover .service-link { color: var(--primary-dark); }

/* Why Us Section */
.why-card {
  display: flex; flex-direction: column; gap: 16px;
}
.why-card-img {
  width: 100%; height: 220px; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-md);
}
.why-card-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.why-card:hover .why-card-img img { transform: scale(1.05); }
.why-card-content h4 { font-size: 20px; margin-bottom: 8px; color: var(--text-main); }
.why-card-content p { color: var(--text-muted); font-size: 14.5px; line-height: 1.6; }

/* Doctor Cards */
.doctor-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; transition: var(--transition);
  box-shadow: var(--shadow-md);
}
.doctor-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-color: var(--primary-light); }
.doctor-card-img { height: 320px; overflow: hidden; background: #e2e8f0; }
.doctor-card-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); border-radius: 0; }
.doctor-card:hover .doctor-card-img img { transform: scale(1.05); }
.doctor-card-body { padding: 24px; text-align: center; }
.doctor-card h5 { font-weight: 800; color: var(--text-main); margin-bottom: 6px; font-size: 18px; }
.doctor-spec { color: var(--primary); font-size: 14px; font-weight: 600; }
.doctor-exp { color: var(--text-muted); font-size: 13px; margin-top: 8px; }

/* Testimonial Cards */
.testimonial-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px; position: relative; height: 100%;
  box-shadow: var(--shadow-md);
}
.testimonial-card .quote-icon { color: var(--primary); font-size: 40px; opacity: 0.1; position: absolute; top: 24px; right: 24px; }
.testimonial-stars { color: #fbbf24; font-size: 16px; margin-bottom: 16px; }
.testimonial-text { color: var(--text-main); font-size: 15px; line-height: 1.7; margin-bottom: 24px; font-style: italic; font-weight: 500; }
.testimonial-author { display: flex; align-items: center; gap: 16px; }
.testimonial-avatar {
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--grad-primary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 20px; color: #fff; flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(13, 148, 136, 0.3);
}
.testimonial-name { font-weight: 700; color: var(--text-main); font-size: 15px; }
.testimonial-type { color: var(--text-muted); font-size: 13px; font-weight: 500; }

/* Location Cards */
.location-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; transition: var(--transition); height: 100%;
  box-shadow: var(--shadow-md);
}
.location-card:hover { border-color: var(--primary-light); box-shadow: var(--shadow-hover); }
.location-map { height: 220px; background: #e2e8f0; border-bottom: 1px solid var(--border); position: relative; }
.location-map iframe { width: 100%; height: 100%; border: none; }
.location-body { padding: 28px; }
.location-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(13, 148, 136, 0.1); color: var(--primary-dark);
  font-size: 12px; font-weight: 700; padding: 6px 12px;
  border-radius: 50px; margin-bottom: 16px;
}
.location-name { font-size: 1.2rem; font-weight: 800; color: var(--text-main); margin-bottom: 12px; }
.location-detail {
  color: var(--text-muted); font-size: 14px;
  display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; font-weight: 500;
}
.location-detail i { color: var(--primary); width: 16px; margin-top: 3px; flex-shrink: 0; }
.location-detail a { color: var(--text-muted); }
.location-detail a:hover { color: var(--primary); }
.location-actions { display: flex; gap: 8px; margin-top: 20px; flex-wrap: wrap; }
.btn-location {
  padding: 10px 16px; border-radius: 10px; font-size: 13px;
  font-weight: 600; display: inline-flex; align-items: center; gap: 6px;
  transition: var(--transition);
}
.btn-location:hover { transform: translateY(-2px); }
.btn-location.directions { background: var(--grad-primary); color: #fff !important; box-shadow: 0 4px 10px rgba(13, 148, 136, 0.2); }
.btn-location.call { background: #f1f5f9; border: 1px solid #cbd5e1; color: var(--text-main) !important; }
.btn-location.whatsapp { background: rgba(37, 211, 102, 0.1); border: 1px solid rgba(37, 211, 102, 0.2); color: #128c7e !important; }

/* ── BOOKING FORM ───────────────────────────────────────────── */
.booking-wrap {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 24px; padding: 48px; box-shadow: var(--shadow-lg);
}
.form-control, .form-select {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  color: var(--text-main) !important;
  border-radius: 12px !important; padding: 14px 16px !important;
  font-size: 15px !important; font-weight: 500;
  transition: var(--transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.1) !important;
  background: #fff !important;
}
.form-control::placeholder { color: #94a3b8 !important; font-weight: 400; }
.form-label { color: var(--text-main); font-size: 14px; font-weight: 700; margin-bottom: 8px; display: block; }
.slot-btn {
  padding: 12px 14px; border-radius: 10px;
  font-size: 14px; font-weight: 600;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: var(--text-main); cursor: pointer;
  transition: var(--transition); width: 100%; text-align: center;
}
.slot-btn:hover, .slot-btn.selected, .slot-btn.active {
  background: var(--grad-primary); color: #fff;
  border-color: transparent; box-shadow: 0 4px 10px rgba(13, 148, 136, 0.2);
}
.slot-btn.unavailable { opacity: 0.5; cursor: not-allowed; background: #f1f5f9; color: #94a3b8; }

/* ── ADMIN PANEL OVERRIDES ──────────────────────────────────── */
.admin-body, .admin-wrapper { background: #f8fafc !important; color: #0f172a !important; }

/* ── FOOTER ─────────────────────────────────────────────────── */
.toc-footer { background: #0f172a; border-top: none; color: #e2e8f0; }
.footer-wave { line-height: 0; transform: rotate(180deg); margin-bottom: 20px; }
.footer-wave path { fill: var(--bg-color); }
.footer-heading {
  color: #fff; font-weight: 800; font-size: 15px;
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 24px; padding-bottom: 12px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  display: inline-block;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #cbd5e1; font-size: 14.5px; transition: var(--transition); font-weight: 500; }
.footer-links a:hover { color: #2dd4bf; padding-left: 6px; }
.footer-contact { display: flex; flex-direction: column; gap: 16px; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; }
.contact-icon {
  width: 40px; height: 40px; min-width: 40px;
  background: rgba(255, 255, 255, 0.1); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #2dd4bf; font-size: 16px;
}
.contact-item a, .contact-item span { color: #cbd5e1; font-size: 14.5px; font-weight: 500; }
.contact-item a:hover { color: #2dd4bf; }
.social-btn {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
  transition: var(--transition); background: rgba(255,255,255,0.05); color: #fff;
}
.social-btn:hover { transform: translateY(-4px); }
.social-btn.whatsapp:hover { background: #25D366; }
.social-btn.instagram:hover { background: #E1306C; }
.social-btn.youtube:hover { background: #FF0000; }
.social-btn.facebook:hover { background: #4267B2; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 24px 0; margin-top: 40px; }
.footer-bottom a { color: #94a3b8; }
.footer-bottom a:hover { color: #2dd4bf !important; }

/* ── FLOATING BUTTONS ───────────────────────────────────────── */
.floating-whatsapp {
  position: fixed; bottom: 30px; right: 30px; z-index: 9999;
  width: 64px; height: 64px; border-radius: 20px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; color: #fff !important;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  animation: pulse-wa 2.5s ease-in-out infinite;
}
@keyframes pulse-wa { 0%, 100% { box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4); } 50% { box-shadow: 0 8px 35px rgba(37, 211, 102, 0.6); transform: scale(1.05); } }
.floating-whatsapp:hover { transform: scale(1.1); animation: none; }
.wa-tooltip {
  position: absolute; right: 80px;
  background: #1f2937; color: #fff;
  padding: 8px 14px; border-radius: 8px; font-size: 13px; font-weight: 600;
  white-space: nowrap; opacity: 0; pointer-events: none; transition: var(--transition);
  box-shadow: var(--shadow-md);
}
.floating-whatsapp:hover .wa-tooltip { opacity: 1; transform: translateX(-5px); }
.back-to-top {
  position: fixed; bottom: 110px; right: 30px; z-index: 9998;
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border); box-shadow: var(--shadow-md);
  color: var(--primary); display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(20px); transition: var(--transition); cursor: pointer; font-size: 18px;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--primary); color: #fff; }

/* ── UTILITY ─────────────────────────────────────────────────── */
.bg-glass { background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(16px); border: 1px solid var(--border); }
.badge-toc {
  background: rgba(13, 148, 136, 0.1); color: var(--primary-dark);
  border: 1px solid rgba(13, 148, 136, 0.2);
  font-size: 12px; padding: 4px 12px; border-radius: 50px; font-weight: 600;
  display: inline-block;
}

@media(max-width: 991px) {
  .toc-navbar .navbar-collapse {
    background: #fff; border-radius: 16px; padding: 24px;
    margin-top: 16px; border: 1px solid var(--border); box-shadow: var(--shadow-lg);
  }
  .nav-actions { padding-top: 20px; border-top: 1px solid var(--border); margin-top: 12px; flex-direction: column; width: 100%; }
  .btn-toc-primary { width: 100%; justify-content: center; }
  .hero-stats { flex-direction: column; gap: 20px; width: 100%; }
  .stat-number { font-size: 2rem; }
}
@media(max-width: 576px) {
  .hero-title { font-size: 2.2rem; }
  .booking-wrap { padding: 32px 20px; }
  .section-pad { padding: 60px 0; }
  .btn-hero-primary, .btn-hero-secondary { padding: 14px 24px; font-size: 15px; width: 100%; justify-content: center; }
}

/* ── MOBILE COMPREHENSIVE FIXES ─────────────────────────────── */

/* Prevent horizontal scroll on all devices */
html, body { overflow-x: hidden; max-width: 100%; }

/* Hero section mobile */
@media (max-width: 768px) {
  .hero-section { min-height: 100svh; padding-top: 70px; }
  .hero-title { font-size: clamp(1.9rem, 7vw, 2.8rem) !important; }
  .hero-subtitle { font-size: 0.95rem; margin-bottom: 24px; }
  .hero-badge { font-size: 11px; padding: 5px 12px; }
  .hero-cta { flex-direction: column; gap: 12px; }
  .hero-cta a, .hero-cta button { width: 100% !important; justify-content: center; text-align: center; }
  .hero-stats { flex-direction: row; flex-wrap: wrap; gap: 16px; padding: 16px 20px; }
  .stat-number { font-size: 1.6rem; }
  .stat-label { font-size: 10px; }
  /* Hide video bg on mobile for perf, show gradient instead */
  .hero-bg-video { opacity: 0.3; }
}

/* Section title & subtitle mobile */
@media (max-width: 768px) {
  .section-title { font-size: clamp(1.7rem, 6vw, 2.5rem) !important; }
  .section-subtitle { font-size: 0.95rem; }
  .section-pad { padding: 60px 0 !important; }
}

/* Fee grid – stack on mobile */
@media (max-width: 768px) {
  .fee-grid { grid-template-columns: 1fr !important; gap: 14px !important; }
  .fee-box { flex-direction: column !important; align-items: flex-start !important; gap: 12px; padding: 20px !important; }
  .fee-header { flex-direction: column; align-items: flex-start !important; gap: 10px; }
  .fee-price { margin-left: 0 !important; font-size: 1.2rem !important; }
  .fee-actions { flex-direction: column; gap: 8px; width: 100%; }
  .btn-fee-book, .btn-fee-pay { width: 100%; justify-content: center; }
  .page-hero { padding: 90px 0 40px !important; }
}

/* Pricing page on mobile */
@media (max-width: 768px) {
  .hero-title.text-dark { font-size: 2rem !important; }
  .fee-title { font-size: 1rem !important; }
}

/* Booking page mobile */
@media (max-width: 768px) {
  .booking-wrap { padding: 24px 16px !important; border-radius: 16px; }
  .slot-btn { font-size: 13px; padding: 10px 8px; }
  #slots_wrap { display: flex; flex-wrap: wrap; gap: 8px; }
}

/* Navbar mobile fixes */
@media (max-width: 991px) {
  .navbar-brand img { height: 46px !important; }
  .nav-actions { gap: 10px; }
  .nav-actions .btn { width: 100%; }
  .premium-wa-icon { width: 40px; height: 40px; }
}

/* Footer mobile */
@media (max-width: 768px) {
  .toc-footer .row { gap: 8px; }
  .toc-footer .col-6 { flex: 0 0 50%; }
  .contact-item { gap: 10px; }
  .contact-icon { width: 34px; height: 34px; min-width: 34px; font-size: 14px; }
  .social-circle { width: 36px; height: 36px; font-size: 14px; }
}

/* CTA section mobile */
@media (max-width: 768px) {
  .glass-card[style*="padding: 80px"] { padding: 40px 20px !important; border-radius: 24px !important; }
  .d-flex.justify-content-center.gap-4 { gap: 12px !important; flex-direction: column; }
  .d-flex.justify-content-center.gap-4 a { width: 100%; justify-content: center; }
}

/* Payment option cards on booking page */
@media (max-width: 576px) {
  .form-check[style*="border-radius: 12px"] { padding: 12px 12px 12px 36px !important; }
  .form-check-label { font-size: 0.9rem; }
  #submitBtn { font-size: 0.95rem; padding: 14px; }
}

/* Back to top and floating WhatsApp */
@media (max-width: 576px) {
  .floating-whatsapp { width: 52px; height: 52px; font-size: 26px; bottom: 20px; right: 16px; border-radius: 16px; }
  .back-to-top { width: 42px; height: 42px; bottom: 90px; right: 16px; }
}

/* Image cards on mobile */
@media (max-width: 768px) {
  .service-img-wrap { height: 160px; }
  .doctor-img-wrap { height: 260px; }
  .glass-card-body { padding: 20px; }
  .doctor-info { padding: 20px; }
}

/* ═══════════════════════════════════════════════════════════════ */
/* ── PROFESSIONAL POLISH + MOBILE FIXES (v2) ─────────────────── */
/* ═══════════════════════════════════════════════════════════════ */

/* Smooth focus ring across all interactive elements */
button:focus-visible,
a:focus-visible,
.btn:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible {
  outline: 3px solid rgba(13, 148, 136, 0.35);
  outline-offset: 2px;
}

/* Image rendering quality */
img { image-rendering: -webkit-optimize-contrast; }

/* Body letter-spacing tune */
body { letter-spacing: -0.005em; }
h1, h2, h3, h4 { letter-spacing: -0.02em; }

/* ── PAGE HERO CONSISTENCY (services/about/doctors/etc.) ─── */
.page-hero,
.svc-hero,
.book-hero {
  position: relative;
}

/* Floating WhatsApp + Back-to-top — make sure they don't overlap on mobile */
@media (max-width: 576px) {
  .floating-whatsapp,
  .float-wa {
    width: 52px !important;
    height: 52px !important;
    font-size: 24px !important;
    bottom: 18px !important;
    right: 14px !important;
  }
  .back-to-top {
    width: 42px !important;
    height: 42px !important;
    bottom: 82px !important;
    right: 14px !important;
    font-size: 16px !important;
  }
}

/* Hide back-to-top button until scrolled (avoid layout overlap) */
.back-to-top:not(.visible) {
  pointer-events: none;
}

/* ── NAVBAR – mobile menu polish ─────────────────────────── */
@media (max-width: 991px) {
  .navbar-nav .nav-link {
    padding: 12px 18px !important;
    font-size: 15.5px !important;
    border-radius: 12px !important;
  }
  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link.active {
    background: rgba(13, 148, 136, 0.08) !important;
    color: #0d9488 !important;
  }
  .branch-dropdown,
  .nav-actions .btn-premium,
  .nav-actions .premium-wa-icon {
    width: 100% !important;
  }
  .nav-actions .premium-wa-icon {
    border-radius: 12px !important;
    height: 46px !important;
  }
  .branch-dropdown .btn-branch {
    width: 100%;
    justify-content: flex-start;
  }
}

/* ── BUTTONS – consistent professional sizing ────────────── */
.btn-premium,
.btn-glass,
.btn-hero-primary,
.btn-hero-secondary,
.btn-toc-primary {
  letter-spacing: 0.01em;
}

/* Make sure btn-glass on dark backgrounds stays visible */
.hero-section .btn-glass,
[class*="hero"] .btn-glass {
  background: rgba(255, 255, 255, 0.95) !important;
  color: #0f172a !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(10px);
}
.hero-section .btn-glass:hover,
[class*="hero"] .btn-glass:hover {
  background: #ffffff !important;
  color: #0d9488 !important;
}

/* ── SECTION SPACING – tighter on mobile ─────────────────── */
@media (max-width: 768px) {
  .section-pad { padding: 60px 0 !important; }
  .container { padding-left: 16px !important; padding-right: 16px !important; }
  .section-title { font-size: clamp(1.6rem, 6vw, 2.2rem) !important; margin-bottom: 14px !important; }
  .section-subtitle { font-size: 0.95rem !important; line-height: 1.7 !important; }
  .section-tag { font-size: 11px !important; letter-spacing: 1.5px !important; margin-bottom: 12px !important; }
  .section-tag::before, .section-tag::after { width: 18px !important; height: 2px !important; }
}

/* ── HERO TEXT shadow refinement ─────────────────────────── */
.hero-title { text-shadow: 0 4px 20px rgba(0, 0, 0, 0.35); }

/* ── HERO STATS GLASS — better mobile layout ─────────────── */
@media (max-width: 575px) {
  .hero-stats-glass {
    padding: 14px 10px !important;
    gap: 6px !important;
    border-radius: 16px !important;
  }
  .hero-stats-glass .stat-number { font-size: 1.4rem !important; }
  .hero-stats-glass .stat-label { font-size: 9px !important; letter-spacing: 0.5px !important; margin-top: 4px !important; }
  .hero-cta { gap: 10px !important; }
  .hero-subtitle { font-size: 0.95rem !important; line-height: 1.65 !important; margin-bottom: 24px !important; }
  .hero-badge { font-size: 10.5px !important; padding: 5px 14px !important; margin-bottom: 18px !important; letter-spacing: 0.5px !important; }
}

/* Stat divider visible only on mobile */
.stat-divider {
  width: 1px;
  background: rgba(0,0,0,0.08);
  align-self: stretch;
}

/* ── CARDS — universal hover state ───────────────────────── */
.glass-card,
.toc-card,
.service-card,
.doctor-card,
.location-card {
  will-change: transform;
}

/* ── BOOK APPOINTMENT FORM polish ────────────────────────── */
.booking-wrap input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  filter: invert(35%) sepia(90%) saturate(450%) hue-rotate(140deg);
}
.slot-btn { cursor: pointer; }

/* Visit Type pill toggle */
.slot-btn[data-visit] {
  font-weight: 700;
  font-size: 14.5px;
}

/* ── FOOTER mobile improvements ──────────────────────────── */
@media (max-width: 575px) {
  .toc-footer { padding: 40px 0 0; }
  .toc-footer h5 {
    font-size: 1rem !important;
    margin-bottom: 16px !important;
  }
  .toc-footer .footer-links a {
    font-size: 14px !important;
    padding: 6px 0 !important;
  }
  .toc-footer .col-6 { padding-right: 8px; padding-left: 8px; }
  .footer-brand p { font-size: 14px; line-height: 1.7; }
  .toc-footer .row.pt-4 small.d-flex {
    gap: 10px !important;
    font-size: 12.5px;
  }
  .toc-footer .row.pt-4 small a { font-size: 12.5px; }
}

/* ── CONTAINER MAX-WIDTH on huge screens (cleaner read) ─── */
@media (min-width: 1400px) {
  .container, .container-lg, .container-xl, .container-xxl {
    max-width: 1280px;
  }
}

/* ── Form-control consistency ────────────────────────────── */
.form-control, .form-select {
  font-family: 'Inter', sans-serif;
}
.form-control[disabled], .form-select[disabled] {
  background: #f1f5f9 !important;
  cursor: not-allowed;
  opacity: 0.7;
}

/* ── FIX: Service / About / Doctors page hero gap ────────── */
.svc-hero, .book-hero, .page-hero {
  padding-top: 110px !important;
}
@media (max-width: 768px) {
  .svc-hero, .book-hero, .page-hero {
    padding-top: 90px !important;
    padding-bottom: 36px !important;
  }
  .svc-hero h1, .book-hero h1, .page-hero h1 {
    font-size: clamp(1.7rem, 6vw, 2.4rem) !important;
  }
}

/* ── GLOBAL: prevent floating buttons stacking weirdly ─── */
.position-fixed.bottom-0.end-0 { z-index: 1040; }

/* ── REMOVE duplicate floating WhatsApp issue ────────────── */
/* (Footer adds .float-wa and main.js may add .floating-whatsapp;
    keep only one visible) */
.floating-whatsapp + .float-wa,
.float-wa + .floating-whatsapp {
  display: none !important;
}

/* ── Scroll snap polish ──────────────────────────────────── */
html { scroll-padding-top: 90px; }

/* ── Print-friendly (admin / receipts) ───────────────────── */
@media print {
  .toc-navbar, .toc-footer, .floating-whatsapp, .float-wa, .back-to-top { display: none !important; }
  body { background: #fff !important; color: #000 !important; }
}

/* ── A11y: respect reduced motion ────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
