/* ===== Redesign Clinics - Unified Booking & Callback System CSS ===== */
@import url('dr-suhail-chatbot.css');

:root {
  --rc-booking-primary: #0f766e;
  --rc-booking-primary-dark: #05262a;
  --rc-booking-accent: #2ec4b6;
  --rc-booking-bg: #ffffff;
  --rc-booking-overlay: rgba(5, 38, 42, 0.75);
}

.rc-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--rc-booking-overlay);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.rc-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.rc-modal-card {
  background: #ffffff;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 24px;
  box-shadow: 0 25px 70px rgba(5, 38, 42, 0.35);
  padding: 32px;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(15, 118, 110, 0.15);
  font-family: 'Sora', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.rc-modal-overlay.is-open .rc-modal-card {
  transform: translateY(0) scale(1);
}

.rc-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  border: none;
  color: #475569;
  font-size: 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}

.rc-modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
  transform: scale(1.05);
}

.rc-modal-header {
  margin-bottom: 24px;
}

.rc-modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  background: #e6f4f4;
  color: #0f766e;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.rc-modal-title {
  font-size: 24px;
  font-weight: 700;
  color: #05262a;
  margin: 0 0 6px 0;
  letter-spacing: -0.5px;
}

.rc-modal-sub {
  font-size: 14px;
  color: #64748b;
  margin: 0;
  line-height: 1.45;
}

.rc-form-group {
  margin-bottom: 18px;
}

.rc-form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 6px;
}

.rc-form-label span {
  color: #94a3b8;
  font-weight: 400;
}

.rc-form-input,
.rc-form-select {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1.5px solid #e2e8f0;
  background: #f8fafc;
  font-size: 14px;
  color: #0f172a;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.rc-form-textarea {
  width: 100%;
  min-height: 84px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1.5px solid #e2e8f0;
  background: #f8fafc;
  font-size: 14px;
  color: #0f172a;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
  resize: vertical;
}

.rc-form-input:focus,
.rc-form-select:focus,
.rc-form-textarea:focus {
  border-color: #0f766e;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}

.rc-time-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 6px;
}

.rc-time-slot {
  padding: 10px 4px;
  text-align: center;
  border-radius: 10px;
  border: 1.5px solid #e2e8f0;
  background: #f8fafc;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.rc-time-slot:hover {
  border-color: #0f766e;
  color: #0f766e;
  background: #f0fdfa;
}

.rc-time-slot.is-selected {
  border-color: #0f766e;
  background: #0f766e;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.25);
}

.rc-submit-btn {
  width: 100%;
  height: 52px;
  border-radius: 99px;
  background: #05262a;
  color: #ffffff;
  border: none;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  margin-top: 24px;
}

.rc-submit-btn:hover {
  background: #0f766e;
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(15, 118, 110, 0.3);
}

.rc-submit-btn:active {
  transform: translateY(0);
}

.rc-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.rc-form-note {
  font-size: 12px;
  color: #94a3b8;
  text-align: center;
  margin-top: 12px;
}

.rc-success-box {
  text-align: center;
  padding: 20px 0 10px;
}

.rc-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #d1fae5;
  color: #059669;
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 10px 25px rgba(5, 150, 105, 0.2);
}

.rc-success-title {
  font-size: 22px;
  font-weight: 700;
  color: #05262a;
  margin-bottom: 8px;
}

.rc-success-msg {
  font-size: 14px;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 24px;
}

.rc-whatsapp-btn {
  width: 100%;
  height: 50px;
  border-radius: 99px;
  background: #25d366;
  color: #ffffff;
  border: none;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s, transform 0.15s;
  margin-bottom: 10px;
}

.rc-whatsapp-btn:hover {
  background: #1eb956;
  transform: translateY(-1px);
}

@media (max-width: 576px) {
  .rc-modal-card {
    padding: 24px 20px;
    border-radius: 20px;
  }
  .rc-time-slots {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== FLOATING ACTION BUTTONS (Dr. Suhail, WhatsApp & Instagram) ===== */
.rc-floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 998;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

/* Modal Open: Hide floating actions so they never overlap modals */
body.rc-modal-open .rc-floating-actions {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.rc-float-btn {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 99px;
  color: #ffffff !important;
  text-decoration: none !important;
  font-family: 'Sora', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.rc-float-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.rc-float-btn svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: currentColor;
}

.rc-float-wa {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  overflow: hidden;
}

.rc-float-ig {
  background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
  overflow: hidden;
}

/* Doctor Floating Button */
.rc-float-doc {
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  text-decoration: none !important;
  cursor: pointer;
  animation: docFloatIdle 3.5s ease-in-out infinite;
  overflow: visible;
}

@keyframes docFloatIdle {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

.rc-float-doc:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: none !important;
}

.rc-float-doc-wrap {
  width: 112px;
  height: 112px;
  background: transparent;
  border: none;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), filter 0.25s ease;
  filter: drop-shadow(0 10px 22px rgba(5, 38, 42, 0.38));
  flex-shrink: 0;
}

.rc-float-doc:hover .rc-float-doc-wrap {
  transform: scale(1.06);
  filter: drop-shadow(0 14px 28px rgba(5, 38, 42, 0.48)) drop-shadow(0 0 14px rgba(46, 196, 182, 0.4));
}

.rc-float-doc-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.rc-float-doc-label {
  background: rgba(5, 38, 42, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Sora', sans-serif;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.rc-float-doc:hover .rc-float-doc-label {
  opacity: 1;
  transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
  .rc-float-doc {
    animation: none !important;
  }
}

@media (max-width: 768px) {
  .rc-floating-actions {
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    right: 16px;
    gap: 10px;
    z-index: 990;
  }
  .rc-float-btn:not(.rc-float-doc) {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.28);
  }
  .rc-float-btn:not(.rc-float-doc) span {
    display: none;
  }
  .rc-float-btn:not(.rc-float-doc) svg {
    width: 22px;
    height: 22px;
  }
  .rc-float-doc-wrap {
    width: 88px;
    height: 88px;
  }
  .rc-float-doc-label {
    display: none !important;
  }
}

/* ===== Google reCAPTCHA v3 Integration ===== */
.rc-recaptcha-group,
.rc-turnstile-group {
  margin-top: 14px;
  margin-bottom: 14px;
}

.rc-v3-badge-container {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rc-v3-badge-container:hover {
  border-color: #cbd5e1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.rc-v3-badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  flex-shrink: 0;
}

.rc-v3-badge-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.rc-v3-badge-title {
  font-size: 12.5px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.3;
}

.rc-v3-badge-sub {
  font-size: 11px;
  color: #64748b;
  line-height: 1.3;
}

.rc-recaptcha-box,
.rc-turnstile-box {
  display: block;
  width: 100%;
}

.rc-captcha-error-msg {
  color: #dc2626;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  margin-top: 8px;
  padding: 8px 12px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
}

/* ===== Doctor / Team Card Alignments ===== */
.team_list {
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
}

.team_item {
  height: auto !important;
  max-height: none !important;
  padding: 0 !important;
  border-radius: 24px !important;
  flex-flow: column !important;
  justify-content: flex-start !important;
  align-items: stretch !important;
  display: flex !important;
  position: relative !important;
  overflow: hidden !important;
  background-color: #ffffff !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08) !important;
  border: 1px solid rgba(0, 0, 0, 0.07) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.team_item:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12) !important;
}

.team-image_wrap {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  height: 380px !important;
  max-height: 380px !important;
  display: block !important;
  overflow: hidden !important;
  border-radius: 24px 24px 0 0 !important;
}

.team-image_wrap .image-animation-trigger,
.team-image_wrap .image-animation-scale {
  width: 100% !important;
  height: 100% !important;
}

.team_image {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: top center !important;
  display: block !important;
  transition: transform 0.5s ease !important;
}

.team_item:hover .team_image {
  transform: scale(1.03) !important;
}

.team-item_content {
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
  padding: 22px 24px 24px 24px !important;
  background-color: #ffffff !important;
  border-radius: 0 0 24px 24px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  box-sizing: border-box !important;
  text-align: left !important;
}

.team-menmber_wrap {
  text-decoration: none !important;
  display: block !important;
}

.team-menmber_name {
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  margin: 0 !important;
  line-height: 1.3 !important;
}

.team-menuber_designation {
  font-size: 0.95rem !important;
  color: #64748b !important;
  margin: 0 !important;
  line-height: 1.4 !important;
}

/* ===== Multilingual Language Selector & Typography Styling ===== */
.lang-selector_wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-right: 12px;
}

.lang-selector_toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 9999px;
  padding: 6px 14px;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lang-selector_toggle:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.45);
}

.lang-selector_dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 175px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 12px 36px rgba(5, 38, 42, 0.25);
  border: 1px solid #e2e8f0;
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 999999;
}

.lang-selector_dropdown.is-open {
  display: flex;
}

.lang-dropdown_header {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #94a3b8;
  padding: 6px 10px 4px;
  letter-spacing: 0.5px;
}

.lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px 12px;
  border: none;
  background: transparent;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: #0f172a;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
}

.lang-option:hover {
  background: #f1f5f9;
  color: #0f766e;
}

.lang-option.is-active {
  background: #e6f4f4;
  color: #0f766e;
}

.lang-option_pill {
  font-size: 10.5px;
  padding: 2px 6px;
  border-radius: 6px;
  background: #e2e8f0;
  color: #475569;
  font-weight: 700;
}

.lang-option.is-active .lang-option_pill {
  background: #0f766e;
  color: #ffffff;
}

/* Specific language typography & shaping */
html.lang-ar, html.lang-ar * {
  font-family: 'Noto Sans Arabic', 'Sora', sans-serif !important;
  letter-spacing: normal !important;
  word-spacing: normal !important;
}

html.lang-te, html.lang-te * {
  font-family: 'Noto Sans Telugu', 'Sora', sans-serif !important;
  letter-spacing: normal !important;
  word-spacing: normal !important;
}

html.lang-hi, html.lang-hi * {
  font-family: 'Noto Sans Devanagari', 'Sora', sans-serif !important;
  letter-spacing: normal !important;
  word-spacing: normal !important;
}

/* ===== REDESIGN CLINICS DROPDOWN & ACCORDION SUBMENU NAVIGATION ===== */

/* Section Anchor Scroll Margin Offset (fixes sticky header overlap) */
.service-category-group {
  scroll-margin-top: 120px !important;
}

/* Navbar Dropdown Wrapper */
.rc-nav-dropdown {
  position: relative;
  display: inline-block;
}

.rc-nav-dropdown .navbar-dropdown_toggle {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  user-select: none;
}

.rc-nav-dropdown .dropdown_chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0.8;
}

.rc-nav-dropdown.is-open .dropdown_chevron,
.rc-nav-dropdown:hover .dropdown_chevron {
  transform: rotate(180deg);
}

/* Desktop Dropdown Menu Panel */
@media (min-width: 992px) {
  .rc-nav-dropdown .rc-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(8px) scale(0.96);
    background: #05262a;
    border: 1px solid rgba(45, 212, 191, 0.25);
    border-radius: 16px;
    box-shadow: 0 20px 45px rgba(2, 20, 23, 0.6), 0 4px 16px rgba(13, 148, 136, 0.2);
    min-width: 240px;
    max-width: 320px;
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s ease;
    z-index: 1000;
  }

  .rc-nav-dropdown.is-open .rc-dropdown-menu,
  .rc-nav-dropdown:hover .rc-dropdown-menu,
  .rc-nav-dropdown:focus-within .rc-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0) scale(1);
  }

  .rc-dropdown-inner {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .rc-dropdown-link {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    color: #e2e8f0 !important;
    text-decoration: none !important;
    font-family: 'Sora', sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    border-radius: 10px;
    transition: all 0.2s ease;
    white-space: nowrap;
  }

  .rc-dropdown-link:hover,
  .rc-dropdown-link:focus {
    background: rgba(13, 148, 136, 0.25);
    color: #2dd4bf !important;
    padding-left: 18px;
  }
}

/* Mobile Navigation Expandable Submenu */
@media (max-width: 991px) {
  .rc-nav-dropdown {
    display: block;
    width: 100%;
  }

  .rc-nav-dropdown .navbar-dropdown_toggle {
    width: 100%;
    justify-content: space-between;
    padding: 12px 16px;
  }

  .rc-nav-dropdown .rc-dropdown-menu {
    display: none;
    background: rgba(5, 38, 42, 0.4);
    border-radius: 12px;
    margin: 4px 0 12px;
    padding: 6px 8px;
    border-left: 2px solid #0d9488;
  }

  .rc-nav-dropdown.is-open .rc-dropdown-menu {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .rc-dropdown-link {
    display: block;
    padding: 10px 14px;
    color: #cbd5e1 !important;
    text-decoration: none !important;
    font-family: 'Sora', sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease;
  }

  .rc-dropdown-link:active,
  .rc-dropdown-link:hover {
    background: rgba(13, 148, 136, 0.2);
    color: #2dd4bf !important;
  }
}

/* ==========================================================================
   FOOTER UI ADJUSTMENTS (Increased Logo & Balanced Phone Size)
   ========================================================================== */
.footer_brand {
  max-width: 190px !important;
  width: 190px !important;
  display: inline-block !important;
}

.footer_brand img.brand_logo {
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  object-fit: contain !important;
}

.footer-contact_link[href^="tel"],
.footer-contact_link {
  font-size: 1.35rem !important; /* Increased font size for footer mobile number */
  font-weight: 600 !important;
}

@media (max-width: 768px) {
  .footer_brand {
    max-width: 160px !important;
    width: 160px !important;
  }
  .footer-contact_link[href^="tel"],
  .footer-contact_link {
    font-size: 1.2rem !important;
  }
}

/* ==========================================================================
   REFINED NAVBAR DROPDOWN STYLES (Hover 300ms Delay & Separate Arrow Toggle)
   ========================================================================== *//* ==========================================================================
   PERFECT NAVBAR STABILITY & ISOLATED DROPDOWN OVERLAY (CANONICAL)
   ========================================================================== */
/* Global Box-Sizing & Viewport Horizontal Overflow Protection */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Global Smooth Scrolling and Navigation Offset */
html {
  scroll-behavior: smooth !important;
}

#doctor-profile,
#our-story,
#who-we-are,
#clinical-excellence,
#success-numbers,
#team-members,
#orthodontics,
#endodontics,
#preventive-general,
#cosmetic-dentistry,
#restorative-dentistry,
#oral-surgery,
#gum-care-periodontics,
#advanced-dentistry,
#pediatric-care,
#emergency-care,
#services-directory,
#book {
  scroll-margin-top: 110px !important;
}

/* ─── Desktop Locked Navbar DOM Layout ─────────────────────────────────────── */
.navbar_wrap {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: auto !important;
  min-height: 76px !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 1000 !important;
  background: transparent !important;
  direction: ltr !important;
}

.navbar_container {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  max-width: 1360px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  box-sizing: border-box !important;
  direction: ltr !important;
}

.navbar_logo {
  display: inline-flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
  text-decoration: none !important;
}

.navbar_logo img,
.navbar_logo .logo_image {
  max-height: 38px !important;
  width: auto !important;
  object-fit: contain !important;
}

.navbar-content_wrap {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex: 1 1 auto !important;
  border-left: none !important;
  direction: ltr !important;
}

.navbar_menu {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  direction: ltr !important;
}

.navbar_menu > * {
  order: 0 !important;
  flex-shrink: 0 !important;
}

.navbar-button_wrapper {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 12px !important;
  margin-left: 20px !important;
  flex-shrink: 0 !important;
  direction: ltr !important;
}

/* Parent Dropdown Item Container */
.rc-nav-dropdown {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  vertical-align: middle !important;
}

/* Invisible hover bridge to eliminate cursor dead-zone gap */
.rc-nav-dropdown::before {
  content: '' !important;
  position: absolute !important;
  top: 100% !important;
  left: -4px !important;
  right: -4px !important;
  height: 16px !important;
  display: block !important;
  pointer-events: auto !important;
  z-index: 9998 !important;
}

.navbar-dropdown_toggle_group {
  display: inline-flex !important;
  align-items: center !important;
  gap: 2px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.rc-nav-parent-link {
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  font-size: 15px !important;
  padding: 6px 6px !important;
  transition: color 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  cursor: pointer !important;
  pointer-events: auto !important;
}

.rc-nav-parent-link:hover {
  color: #2dd4bf !important;
}

.rc-dropdown-arrow-btn {
  background: transparent !important;
  border: none !important;
  color: #ffffff !important;
  padding: 6px 6px !important;
  margin: 0 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: transform 0.25s ease, color 0.2s ease !important;
  border-radius: 4px !important;
}

.rc-dropdown-arrow-btn:hover {
  color: #2dd4bf !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.rc-nav-dropdown.is-open .rc-dropdown-arrow-btn {
  transform: rotate(180deg) !important;
  color: #2dd4bf !important;
}

.rc-nav-dropdown.is-open .rc-nav-parent-link {
  color: #2dd4bf !important;
}

/* Dropdown Menu Box — Strict Absolute Overlay on Desktop */
.rc-dropdown-menu {
  position: absolute !important;
  top: calc(100% + 4px) !important;
  left: 0 !important;
  right: auto !important;
  bottom: auto !important;
  inset: calc(100% + 4px) auto auto 0 !important;
  background: #05262a !important;
  border: 1px solid rgba(45, 212, 191, 0.3) !important;
  border-radius: 14px !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45) !important;
  padding: 8px !important;
  min-width: 220px !important;
  max-width: 280px !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(-5px) !important;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease !important;
  z-index: 9999 !important;
  pointer-events: none !important;
  margin: 0 !important;
}

.rc-nav-dropdown.is-open .rc-dropdown-menu {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
  display: block !important;
}

/* Pages dropdown special 2-column layout on desktop */
.rc-dropdown-menu.is-pages-dropdown {
  min-width: 340px !important;
  max-width: 420px !important;
  right: 0 !important;
  left: auto !important;
  inset: calc(100% + 4px) 0 auto auto !important;
}

.rc-dropdown-pages-wrapper {
  display: flex !important;
  flex-direction: row !important;
  gap: 12px !important;
}

.rc-dropdown-pages-wrapper .navbar-dropdown_column {
  flex: 1 1 50% !important;
  display: flex !important;
  flex-direction: column !important;
}

.rc-dropdown-link {
  display: block !important;
  padding: 8px 14px !important;
  color: #e2e8f0 !important;
  text-decoration: none !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  border-radius: 8px !important;
  transition: all 0.18s ease !important;
  white-space: nowrap !important;
}

.rc-dropdown-link:hover {
  background: rgba(45, 212, 191, 0.15) !important;
  color: #2dd4bf !important;
  padding-left: 18px !important;
}

/* Active navigation state: underline/color only, NEVER changes layout */
.navbar_link.w--current,
.rc-nav-parent-link.w--current,
.rc-dropdown-link.w--current {
  color: #2dd4bf !important;
}

/* Dedicated Mobile Drawer CTA button (hidden on desktop) */
.rc-mobile-menu-cta {
  display: none !important;
}

/* ─── Mobile Responsive Navigation (<= 991px) ──────────────────────────────── */
@media screen and (max-width: 991px) {
  .navbar_wrap {
    min-height: 64px !important;
    position: absolute !important;
  }

  .navbar_container {
    padding-left: 16px !important;
    padding-right: 16px !important;
    height: 64px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .navbar_logo {
    max-width: 160px !important;
    height: auto !important;
    flex-shrink: 0 !important;
  }

  .navbar_logo img,
  .navbar_logo .logo_image {
    max-height: 34px !important;
    width: auto !important;
  }

  /* Right side: language selector + hamburger, locked to flex row */
  .navbar-button_wrapper {
    margin-left: auto !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
  }

  .navbar_button.hide-mobile {
    display: none !important;
  }

  /* Hamburger toggler: always aligned center, no floating */
  .navbar-toggler-button.w-nav-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    float: none !important;
    padding: 6px !important;
    width: 36px !important;
    height: 36px !important;
    cursor: pointer !important;
    background: transparent !important;
    border: none !important;
    flex-shrink: 0 !important;
  }

  /* Hide the nav content wrap (desktop nav items) entirely on mobile */
  .navbar-content_wrap > .navbar_menu {
    /* collapsed by default — overrides lumora.css which forgets display:none */
    display: none !important;
    position: absolute !important;
    top: 64px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    min-height: unset !important;
    background: #041c1f !important;
    border-bottom: 2px solid rgba(45, 212, 191, 0.35) !important;
    padding: 16px 16px 28px 16px !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.65) !important;
    flex-direction: column !important;
    align-items: stretch !important;
    max-height: calc(100vh - 70px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    z-index: 9999 !important;
    box-sizing: border-box !important;
  }

  /* Mobile Slide-down Drawer */
  .navbar_menu,
  .navbar_menu.w-nav-menu {
    display: none !important;
    position: absolute !important;
    top: 64px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    min-height: unset !important;
    background: #041c1f !important;
    border-bottom: 2px solid rgba(45, 212, 191, 0.35) !important;
    padding: 16px 16px 28px 16px !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.65) !important;
    flex-direction: column !important;
    align-items: stretch !important;
    max-height: calc(100vh - 70px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    z-index: 9999 !important;
    box-sizing: border-box !important;
  }

  /* Only show when explicitly opened */
  .navbar_menu.w--open,
  .navbar_menu.w-nav-menu.w--open {
    display: flex !important;
  }

  .navbar_link {
    padding: 12px 14px !important;
    font-size: 16px !important;
    color: #ffffff !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    display: block !important;
    width: 100% !important;
  }

  .rc-nav-dropdown {
    display: block !important;
    width: 100% !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  }

  .rc-nav-dropdown::before {
    display: none !important;
  }

  .navbar-dropdown_toggle_group {
    display: flex !important;
    width: 100% !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  .rc-nav-parent-link {
    flex-grow: 1 !important;
    padding: 12px 14px !important;
    font-size: 16px !important;
  }

  .rc-dropdown-arrow-btn {
    padding: 12px 16px !important;
  }

  /* Inline Accordion on Mobile */
  .rc-dropdown-menu,
  .rc-dropdown-menu.is-pages-dropdown {
    position: static !important;
    inset: auto !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    min-width: 100% !important;
    max-width: 100% !important;
    box-shadow: none !important;
    border-radius: 8px !important;
    background: rgba(2, 18, 20, 0.85) !important;
    border: 1px solid rgba(45, 212, 191, 0.18) !important;
    margin: 4px 0 10px 0 !important;
    display: none !important;
    max-height: 0 !important;
    overflow: hidden !important;
    padding: 0 8px !important;
    transform: none !important;
    transition: max-height 0.3s ease, opacity 0.25s ease !important;
  }

  .rc-nav-dropdown.is-open .rc-dropdown-menu {
    display: block !important;
    max-height: 850px !important;
    padding: 8px !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .rc-dropdown-pages-wrapper {
    flex-direction: column !important;
    gap: 0 !important;
  }

  .rc-dropdown-link {
    padding: 10px 14px !important;
    font-size: 14.5px !important;
    white-space: normal !important;
  }

  /* Mobile CTA inside Drawer */
  .rc-mobile-menu-cta {
    display: block !important;
    margin-top: 18px !important;
    padding: 0 4px !important;
  }

  .rc-mobile-menu-cta .button_primary {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 14px 20px !important;
    font-size: 15px !important;
  }

  /* Floating Action Buttons Clearance on Mobile */
  body.w-nav-open .rc-floating-actions,
  body.rc-menu-open .rc-floating-actions {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

/* ─── Responsive Polish for Extra Small Screens (320px - 480px) ──────────── */
@media (max-width: 480px) {
  .rc-floating-actions {
    bottom: calc(12px + env(safe-area-inset-bottom, 0px)) !important;
    right: 12px !important;
    gap: 6px !important;
  }

  .rc-float-btn:not(.rc-float-doc) {
    width: 42px !important;
    height: 42px !important;
  }

  .rc-float-doc-wrap {
    width: 68px !important;
    height: 68px !important;
  }

  .navbar_container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .navbar_logo img,
  .navbar_logo .logo_image {
    max-height: 30px !important;
  }
}

.hero_overlay {
  width: 100% !important;
  max-width: 100% !important;
}

img, video, canvas, svg {
  max-width: 100%;
}

/* Comprehensive Letter Spacing & Typography Fix (Zero text merging) */
.section_appointment-page *,
.section_appointment-page h1,
.section_appointment-page h1,
.section_appointment-page h2,
.section_appointment-page h3,
.section_appointment-page h4,
.section_appointment-page h5,
.section_appointment-page h6,
.section_appointment-page .apt-page-title,
.section_appointment-page .rc-form-label {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  letter-spacing: normal !important;
  word-spacing: normal !important;
  font-feature-settings: normal !important;
}

.section_appointment-page {
  padding-top: 140px !important;
  padding-bottom: 90px !important;
  background-color: #f8fafc !important;
  position: relative !important;
  z-index: 1 !important;
}

@media (max-width: 991px) {
  .section_appointment-page {
    padding-top: 110px !important;
    padding-bottom: 60px !important;
  }
}

.apt-page-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px auto;
}

.apt-page-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(13, 148, 136, 0.1) !important;
  border: 1px solid rgba(13, 148, 136, 0.25) !important;
  color: #0d9488 !important;
  padding: 6px 16px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em !important;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.apt-page-title {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 2.5rem;
  font-weight: 800;
  color: #0f172a !important;
  margin-bottom: 16px;
  line-height: 1.25;
  letter-spacing: normal !important; /* Fixed: crisp spacing, zero letter merging */
  word-spacing: normal !important;
}

.apt-page-subtitle {
  font-size: 1.125rem;
  color: #475569 !important;
  line-height: 1.6;
  letter-spacing: normal !important;
}

/* Centered Form Layout */
.apt-page-grid {
  display: block;
  max-width: 720px;
  margin: 0 auto;
}

.apt-form-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06) !important;
}

.apt-form-card h2,
.apt-form-card h3,
.rc-form-label {
  letter-spacing: -0.01em !important; /* Fixed letter spacing */
  word-spacing: normal !important;
  font-feature-settings: normal !important;
}

/* ── Inline Open Calendar UI ──────────────────────────────────────────────── */
.apt-inline-calendar-container {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 16px;
  padding: 18px;
  margin-top: 8px;
}

.inline-cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.inline-cal-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: 0.01em !important;
}

.inline-cal-nav-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.inline-cal-nav-btn:hover {
  background: #0d9488;
  color: #ffffff;
  border-color: #0d9488;
}

.inline-cal-days-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 0.05em !important;
}

.inline-cal-dates-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.cal-date-cell {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  height: 38px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Plus Jakarta Sans', sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  padding: 0;
  letter-spacing: normal !important;
}

.cal-date-cell:hover:not(.is-past):not(.is-empty) {
  background: #e6fffa;
  border-color: #0d9488;
  color: #0d9488;
}

.cal-date-cell.is-today {
  border: 2px solid #0d9488;
  color: #0d9488;
  font-weight: 700;
}

.cal-date-cell.is-selected {
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%) !important;
  color: #ffffff !important;
  border-color: #0d9488 !important;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}

.cal-date-cell.is-past {
  opacity: 0.35;
  background: #f1f5f9;
  cursor: not-allowed;
  border-color: transparent;
}

.cal-date-cell.is-empty {
  background: transparent;
  border-color: transparent;
  cursor: default;
}

.apt-selected-date-badge {
  font-size: 13px;
  font-weight: 600;
  color: #0d9488;
  margin-top: 10px;
  display: inline-block;
  letter-spacing: normal !important;
}

/* ── Time Slots Grid ──────────────────────────────────────────────────────── */
.apt-time-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.apt-time-slot-btn {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #1e293b !important;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Plus Jakarta Sans', sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  letter-spacing: normal !important;
}

.apt-time-slot-btn:hover {
  background: #e6fffa !important;
  border-color: #0d9488 !important;
  color: #0d9488 !important;
  transform: translateY(-1px);
}

.apt-time-slot-btn.is-selected {
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%) !important;
  border-color: #0d9488 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3) !important;
}

.apt-time-slot-btn .slot-check-icon {
  display: none;
  font-weight: bold;
}

.apt-time-slot-btn.is-selected .slot-check-icon {
  display: inline-block;
}

.apt-error-box {
  background: #fef2f2 !important;
  border: 1px solid #fca5a5 !important;
  color: #991b1b !important;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 20px;
  display: none;
  letter-spacing: normal !important;
}

@media (max-width: 768px) {
  .apt-page-title {
    font-size: 2rem;
  }

  .apt-form-card {
    padding: 24px;
  }
}

@media (max-width: 600px) {
  .apt-time-slots-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .apt-time-slot-btn {
    font-size: 12px;
    padding: 9px 8px;
  }
}






