
/* Prevent horizontal overflow on mobile from offcanvas elements */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* ==========================================================================
   Vardan Pal Studio - Care Dental & Skin Clinic
   Crafted by Vardan Pal
   ========================================================================== */

:root {
  --clinic-primary: #008080;
  --clinic-dark: #0c2d37;
  --clinic-accent: #20b2aa;
  --clinic-light: #f4fbfb;
  --clinic-gold: #c5a880;
}

/* Demo Announcement Bar */
.demo-top-bar {
  background: #081d24;
  border-bottom: 1px solid rgba(32, 178, 170, 0.3);
  color: #c9e4e4;
  font-size: 13px;
  padding: 8px 15px;
  text-align: center;
  position: relative;
  z-index: 1050;
}
.demo-top-bar a {
  color: #20b2aa;
  font-weight: 600;
  text-decoration: underline;
  margin-left: 8px;
}
.demo-top-bar .badge-demo {
  background: #20b2aa;
  color: #0c2d37;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 8px;
  border-radius: 3px;
  margin-right: 8px;
}

/* Trust Badges Bar */
.clinic-trust-strip {
  background: #fff;
  box-shadow: 0 10px 30px rgba(12, 45, 55, 0.08);
  border-radius: 8px;
  margin-top: -50px;
  position: relative;
  z-index: 10;
  padding: 24px;
}
.trust-stat-box {
  border-right: 1px solid #e2ecee;
  padding: 10px 20px;
}
.trust-stat-box:last-child {
  border-right: none;
}
.trust-stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--clinic-dark);
  line-height: 1;
}
.trust-stat-label {
  font-size: 13px;
  color: #647f87;
  margin-top: 5px;
}

/* Service Card Enhancement */
.service-item-card {
  background: #fff;
  border-radius: 8px;
  padding: 30px 25px;
  border: 1px solid #e1ebee;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
}
.service-item-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 128, 128, 0.12);
  border-color: var(--clinic-accent);
}
.service-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(32, 178, 170, 0.12);
  color: var(--clinic-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}

/* Floating WhatsApp Button */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #25d366;
  color: #fff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.45);
  z-index: 9999;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
}
.floating-whatsapp-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
  color: #fff;
}
.floating-whatsapp-tooltip {
  position: absolute;
  right: 68px;
  background: #0c2d37;
  color: #fff;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.floating-whatsapp-btn:hover .floating-whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Subtle Demo Attribution Footer for Vardan Pal */
.vardan-clinic-footer {
  background: #07191f;
  border-top: 2px solid #143540;
  padding: 45px 0 35px;
  color: #d1e2e7;
  position: relative;
  z-index: 20;
}
.vardan-clinic-footer h3 {
  font-size: 26px;
  color: #fff;
  margin-bottom: 8px;
  font-weight: 700;
}
.vardan-clinic-footer p.sublead {
  font-size: 15px;
  color: #8da7af;
  max-width: 600px;
  margin: 0 auto 25px;
}
.vardan-btn-group {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}
.vardan-btn-primary {
  background: #20b2aa;
  color: #0c2d37 !important;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 4px;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: background 0.2s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.vardan-btn-primary:hover {
  background: #29c7be;
  transform: translateY(-2px);
  text-decoration: none;
}
.vardan-btn-secondary {
  background: #25d366;
  color: #fff !important;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 4px;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.vardan-btn-secondary:hover {
  transform: translateY(-2px);
  text-decoration: none;
}
.vardan-credits {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
  color: #6a8891;
}

/* Demo Toast Notification */
.clinic-toast {
  position: fixed;
  bottom: 95px;
  right: 24px;
  background: #0c2d37;
  color: #fff;
  border-left: 4px solid #20b2aa;
  border-radius: 6px;
  padding: 16px 20px;
  max-width: 360px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  z-index: 9998;
  display: none;
}
.clinic-toast.active {
  display: block;
  animation: slideInUp 0.3s ease;
}


/* Mobile touch target minimum 44px */
.site-top-bar a, .top-bar a, a[href^="tel:"], a[href*="wa.me"] {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   GAP 2: CLINIC OFFCANVAS DRAWER STRUCTURAL FIX
   - Closed state: truly inert (visibility: hidden, pointer-events: none)
   - Width strictly constrained to max 100vw
   - Open state: visible, interactive, smooth hardware-accelerated transition
   ========================================================================== */
.site-mobile-menu {
  max-width: 100vw !important;
  width: min(300px, calc(100vw - 32px)) !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: transform 0.3s ease-in-out, visibility 0.3s ease-in-out !important;
}

body.offcanvas-menu .site-mobile-menu {
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateX(0%) !important;
}

/* ==========================================================================
   MOBILE BUTTON READABILITY & CONTRAST ENHANCEMENTS (WCAG AA COMPLIANCE)
   ========================================================================== */
.vardan-btn-secondary {
  color: #0b2912 !important;
  font-weight: 700 !important;
}

.btn-outline-white {
  background: rgba(12, 105, 122, 0.35) !important;
  border: 2px solid #25d366 !important;
  color: #ffffff !important;
  backdrop-filter: blur(4px);
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.btn-outline-white:hover {
  background: #25d366 !important;
  color: #0b2912 !important;
  border-color: #25d366 !important;
}

.btn-outline-white:active {
  transform: scale(0.98);
}

.btn-outline-white:focus-visible {
  outline: 2px solid #25d366 !important;
  outline-offset: 2px;
}

.btn-outline-info {
  color: #0b5e6d !important;
  border-color: #0b5e6d !important;
  background: rgba(11, 94, 109, 0.08) !important;
  font-weight: 700 !important;
  transition: all 0.2s ease;
}

.btn-outline-info:hover {
  background: #0b5e6d !important;
  color: #ffffff !important;
}

.btn-outline-info:active {
  transform: scale(0.98);
}

.btn-outline-info:focus-visible {
  outline: 2px solid #0b5e6d !important;
  outline-offset: 2px;
}

.site-navbar-wrap {
  background: rgba(17, 24, 39, 0.94) !important;
  backdrop-filter: blur(8px) !important;
}
.btn-outline-white {
  background: #0f515d !important;
  border: 2px solid #20b2aa !important;
  color: #ffffff !important;
}

/* ==========================================================================
   MOBILE UX & PERFORMANCE OPTIMIZATIONS (CLINIC DEMO)
   ========================================================================== */
@media (max-width: 768px) {
  /* Prevent iOS Safari Auto-Zoom on form input focus */
  .form-control,
  #appointment-section input,
  #appointment-section select,
  #appointment-section textarea {
    font-size: 16px !important;
  }
}

/* High-Contrast Form Placeholders */
.form-control::placeholder {
  color: #64748b !important;
  opacity: 1;
}

/* Mobile Tactile Active Feedback */
.btn:active,
.btn-primary:active,
.btn-outline-white:active,
.btn-outline-info:active {
  transform: scale(0.98) !important;
}
