/* ThemeForest Premium Clinic Design System - Baisakhi Smiles & Aesthetic Clinic */

@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

:root {
  --font-primary: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-bengali: 'Hind Siliguri', 'Plus Jakarta Sans', sans-serif;

  --color-primary: #0a2540;
  --color-primary-dark: #061727;
  --color-dental: #0284c7;
  --color-dental-dark: #0369a1;
  --color-dental-light: #e0f2fe;
  --color-aesthetic: #be185d;
  --color-aesthetic-dark: #9d174d;
  --color-aesthetic-light: #fce7f3;
  --color-gold: #c2882a;
  --color-gold-light: #fef3c7;
}

body {
  font-family: var(--font-primary);
  color: #334155;
  background-color: #fafbfc;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

[lang="bn"] body,
body.lang-bn {
  font-family: var(--font-bengali);
}

.font-serif-heading {
  font-family: var(--font-serif);
}

/* Glassmorphism & Surface Styles */
.glass-panel {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.glass-nav {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

/* Gradients */
.gradient-dental {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
}

.gradient-aesthetic {
  background: linear-gradient(135deg, #db2777 0%, #be185d 100%);
}

.gradient-primary {
  background: linear-gradient(135deg, #0a2540 0%, #1e3a8a 100%);
}

.gradient-hero-bg {
  background: radial-gradient(circle at 10% 20%, rgba(2, 132, 199, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(190, 24, 93, 0.08) 0%, transparent 40%),
              #ffffff;
}

.gradient-gold {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
}

/* Card Hover Elevate */
.hover-lift {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 30px -10px rgba(15, 23, 42, 0.12), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Pulse badge animation */
@keyframes pulseGlow {
  0%, 100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.06);
    opacity: 1;
  }
}

.pulse-badge {
  animation: pulseGlow 2.4s infinite ease-in-out;
}

/* Floating animation for decorative elements */
@keyframes floatGentle {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

.animate-float {
  animation: floatGentle 5s infinite ease-in-out;
}

/* Universal Modal Styles (Booking & Lightbox) */
.custom-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.custom-modal.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.custom-modal .modal-card {
  transform: scale(0.95) translateY(12px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-modal.active .modal-card {
  transform: scale(1) translateY(0);
}

/* Lightbox overlay legacy support */
.lightbox-overlay {
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox-overlay.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* Language Visibility */
.lang-bn-text {
  display: none;
}
body.lang-bn .lang-en-text {
  display: none !important;
}
body.lang-bn .lang-bn-text {
  display: inline !important;
}
body.lang-bn span.lang-bn-text,
body.lang-bn div.lang-bn-text,
body.lang-bn p.lang-bn-text {
  display: block !important;
}
body.lang-bn strong.lang-bn-text,
body.lang-bn b.lang-bn-text {
  display: inline !important;
}

/* Custom Badge Shapes */
.badge-pill {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
}

/* Active Service Tab styles */
.service-tab.active-dental {
  background-color: #0284c7;
  color: #ffffff;
  box-shadow: 0 4px 14px 0 rgba(2, 132, 199, 0.39);
}

.service-tab.active-aesthetic {
  background-color: #be185d;
  color: #ffffff;
  box-shadow: 0 4px 14px 0 rgba(190, 24, 93, 0.39);
}

/* Smooth Accordion */
.faq-content {
  transition: max-height 0.35s ease, opacity 0.3s ease;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
}
.faq-item.open .faq-content {
  max-height: 300px;
  opacity: 1;
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

/* WhatsApp Floating Ping */
@keyframes pingSlow {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.whatsapp-ping {
  animation: pingSlow 2.2s infinite;
}

