/* ═══════════════════════════════════════════════════
   BRITE SMILE DENTAL CARE — style.css
   ═══════════════════════════════════════════════════ */

/* ── Reset & Base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-800: #1e40af;
  --blue-900: #1e3a8a;

  --grad-main: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  --grad-light: linear-gradient(135deg, #60a5fa 0%, #2563eb 100%);
  --grad-text: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%);

  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-700: #334155;
  --gray-900: #0f172a;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .08), 0 1px 2px rgba(0, 0, 0, .05);
  --shadow-md: 0 4px 16px rgba(37, 99, 235, .12), 0 2px 8px rgba(0, 0, 0, .06);
  --shadow-lg: 0 12px 40px rgba(37, 99, 235, .18), 0 4px 16px rgba(0, 0, 0, .08);
  --shadow-xl: 0 24px 60px rgba(37, 99, 235, .22);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --ff-display: 'Playfair Display', Georgia, serif;
  --ff-body: 'Plus Jakarta Sans', sans-serif;

  --nav-h: 72px;
  --transition: .25s cubic-bezier(.4, 0, .2, 1);
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  overflow-y: visible;
  max-width: 100%;
}

body {
  font-family: var(--ff-body);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

ul {
  list-style: none;
}

/* ── Utility ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  color: #2563eb;
  -webkit-text-fill-color: #2563eb;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  font-family: var(--ff-body);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
  letter-spacing: .01em;
}

.btn-primary {
  background: var(--grad-main);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37, 99, 235, .35);
}

.btn-primary:hover {
  box-shadow: 0 8px 24px rgba(37, 99, 235, .45);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--blue-600);
  border: 2px solid var(--blue-200);
}

.btn-outline:hover {
  border-color: var(--blue-500);
  background: var(--blue-50);
  transform: translateY(-2px);
}

.btn-nav {
  background: var(--blue-600);
  color: var(--white);
  padding: 10px 22px;
  font-size: .85rem;
}

.btn-nav:hover {
  background: var(--blue-700);
  transform: translateY(-1px);
}

.btn-white {
  background: var(--white);
  color: var(--blue-700);
  font-weight: 700;
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, .5);
}

.btn-outline-white:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, .1);
  transform: translateY(-2px);
}

/* ═══════════════════════════════
   NAVBAR
═══════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-100);
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(37, 99, 235, .1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: var(--gray-900);
  font-weight: 500;
  flex-shrink: 0;
}

.nav-logo strong {
  font-weight: 700;
  color: var(--blue-600);
}

.logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  background: transparent;
}

.logo-icon svg {
  width: 22px;
  height: 22px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-links a {
  padding: 8px 14px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-500);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--blue-600);
  background: var(--blue-50);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
}

.nav-hamburger span {
  display: block;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: var(--transition);
}

/* ═══════════════════════════════
   SECTION SHARED
═══════════════════════════════ */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--blue-50);
  color: var(--blue-600);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-full);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.light-tag {
  background: rgba(255, 255, 255, .15);
  color: rgba(255, 255, 255, .9);
  border-color: rgba(255, 255, 255, .25);
}

/* ── 3D depth on section titles ── */
.section-title {
  font-family: var(--ff-display);
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--gray-900);
  margin-bottom: 16px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .8), 0 2px 8px rgba(37, 99, 235, .08);
}

.white-title {
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0, 0, 0, .2);
}

.section-desc {
  color: var(--gray-500);
  font-size: .98rem;
  line-height: 1.7;
}

/* ═══════════════════════════════
   HERO
═══════════════════════════════ */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 25px) 0 0;
  background: linear-gradient(160deg, #dce8f8 0%, #c5d8f0 50%, #b8cfe8 100%);
  overflow-x: clip;
  min-height: 100vh;
}

.hero-bg-blob {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(180, 210, 240, .25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  overflow: unset;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--white);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-full);
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, .2);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(34, 197, 94, .2);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(34, 197, 94, .1);
  }
}

/* ── 3D depth on hero title ── */
.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--gray-900);
  margin-bottom: 20px;
}

.hero-title {
  animation: fadeSlideUp 0.8s ease forwards;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-desc {
  animation: fadeSlideUp 0.8s ease 0.3s forwards;
  opacity: 0;
}

.hero-cta {
  animation: fadeSlideUp 0.8s ease 0.6s forwards;
  opacity: 0;
}

.hero-badge {
  animation: fadeSlideUp 0.8s ease 0.1s forwards;
  opacity: 0;
}

.hero-sub-title {
  color: var(--gray-700);
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.sparkle {
  color: #ebd487;
  font-size: .7em;
  vertical-align: super;
  display: inline-block;
  animation: twinkle 1.5s ease-in-out infinite;
  filter: drop-shadow(0 0 6px rgba(255, 240, 200, 0.9)) drop-shadow(0 0 12px rgba(255, 220, 150, 0.6));
}

@keyframes twinkle {
  0% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }

  25% {
    opacity: 0.3;
    transform: scale(0.7) rotate(45deg);
  }

  50% {
    opacity: 1;
    transform: scale(1.3) rotate(90deg);
  }

  75% {
    opacity: 0.3;
    transform: scale(0.7) rotate(135deg);
  }

  100% {
    opacity: 1;
    transform: scale(1) rotate(180deg);
  }
}

.hero-desc {
  color: var(--gray-500);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 460px;
  margin-bottom: 36px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-brands {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  text-align: center;
}

.hero-brands>span {
  font-size: .78rem;
  color: var(--gray-900);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.brand-logos {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}



.brand-logos span {
  font-size: .78rem;
  font-weight: 700;
  color: #2563eb;
  letter-spacing: .02em;
}

/* ── 3D Tooth Canvas ── */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: visible;
  padding-top: 10px;
}


/* ── Floating badges — glassmorphic 3D look ── */
.hero-badge-float {
  position: absolute;
  bottom: 60px;
  right: 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 32px rgba(37, 99, 235, .18), 0 2px 8px rgba(0, 0, 0, .08), inset 0 1px 0 rgba(255, 255, 255, .9);
  border: 1px solid rgba(255, 255, 255, .7);
  animation: float-up 5s ease-in-out infinite;
  animation-delay: -1s;
  z-index: 10;
}

.float-icon {
  font-size: 1.4rem;
}

.float-num {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1;
}

.float-txt {
  font-size: .72rem;
  color: var(--gray-400);
  font-weight: 500;
}

.hero-rating-float {
  position: absolute;
  top: 30px;
  left: 0;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  box-shadow: 0 8px 32px rgba(37, 99, 235, .18), 0 2px 8px rgba(0, 0, 0, .08), inset 0 1px 0 rgba(255, 255, 255, .9);
  border: 1px solid rgba(255, 255, 255, .7);
  animation: float-down 4s ease-in-out infinite;
  animation-delay: -2s;
  z-index: 10;
}

.stars {
  color: #f59e0b;
  font-size: .95rem;
  letter-spacing: 1px;
}

.rating-txt {
  font-size: .72rem;
  color: var(--gray-500);
  font-weight: 600;
  margin-top: 2px;
}

@keyframes float-up {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes float-down {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(12px);
  }
}

.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  pointer-events: none;
}

.hero-wave svg {
  width: 100%;
  height: 80px;
  display: block;
}

/* ═══════════════════════════════
   STATS STRIP
═══════════════════════════════ */
.stats-strip {
  background: #dce8f7;
  padding: 36px 0;
}

.stats-strip .stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
}

.stats-strip .stat-item {
  flex: 1;
  text-align: center;
  padding: 12px 40px;
  gap: 0;
}

.stats-strip .stat-number {
  font-size: 2.6rem;
  font-weight: 800;
  color: #2563eb;
  line-height: 1;
  font-family: var(--ff-display);
}

.stats-strip .stat-number span {
  font-size: 2rem;
  color: #1a6fbd;
}

.stats-strip .stat-label {
  margin-top: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #555;
  text-transform: uppercase;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: #b8d4ec;
  flex-shrink: 0;
}

/* ═══════════════════════════════
   SCROLL REVEAL ANIMATIONS
═══════════════════════════════ */
.reveal {
  opacity: 0;
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.from-left {
  transform: translateX(-40px);
}

.reveal.from-right {
  transform: translateX(40px);
}

.reveal.from-bottom {
  transform: translateY(36px);
}

.reveal.from-top {
  transform: translateY(-36px);
}

.reveal.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* Stagger delays for grids (children of a .reveal-group) */
.reveal-group .reveal:nth-child(1) {
  transition-delay: 0s;
}

.reveal-group .reveal:nth-child(2) {
  transition-delay: 0.1s;
}

.reveal-group .reveal:nth-child(3) {
  transition-delay: 0.2s;
}

.reveal-group .reveal:nth-child(4) {
  transition-delay: 0.3s;
}

.reveal-group .reveal:nth-child(5) {
  transition-delay: 0.4s;
}

.reveal-group .reveal:nth-child(6) {
  transition-delay: 0.5s;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

@media (max-width: 600px) {
  .stats-strip .stats-grid {
    flex-direction: row;
    gap: 0;
  }

  .stats-strip .stat-item {
    padding: 12px 8px;
  }

  .stats-strip .stat-number {
    font-size: 1.8rem;
  }

  .stats-strip .stat-number span {
    font-size: 1.4rem;
  }

  .stat-divider {
    width: 1px;
    height: 50px;
  }
}

/* ═══════════════════════════════
   SERVICES  — 3D card tilt
═══════════════════════════════ */
.services {
  padding: 100px 0;
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}


.service-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.service-card:hover {
  transform: translateY(-10px) rotate(2deg) !important;
  box-shadow: 0 24px 48px rgba(37, 99, 235, 0.18), 0 8px 20px rgba(0, 0, 0, 0.1) !important;
  border-color: var(--blue-200) !important;
}

.service-card:active {
  transform: translateY(-4px) rotate(1deg) scale(0.98) !important;
}

.service-card.featured {
  background: var(--grad-main);
  border-color: transparent;
  box-shadow: 0 20px 60px rgba(37, 99, 235, 0.3);
}

.service-card.featured:hover {
  transform: translateY(-10px) rotate(-2deg) !important;
  box-shadow: 0 32px 70px rgba(37, 99, 235, 0.38) !important;
}

.service-card.featured h3,
.service-card.featured p,
.service-card.featured .service-link {
  color: var(--white);
}

.service-card.featured .service-link {
  border-color: rgba(255, 255, 255, .4);
}

.service-icon {
  margin-bottom: 20px;
}

.service-icon svg {
  width: 48px;
  height: 48px;
}

.service-card h3 {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.service-card p {
  font-size: .88rem;
  color: var(--gray-500);
  line-height: 1.65;
  margin-bottom: 20px;
}

.service-link {
  font-size: .85rem;
  font-weight: 600;
  color: var(--blue-600);
  border-bottom: 1px solid var(--blue-200);
  padding-bottom: 2px;
  transition: var(--transition);
}

.service-link:hover {
  color: var(--blue-700);
  border-color: var(--blue-500);
}

/* ═══════════════════════════════
   ABOUT
═══════════════════════════════ */
.about {
  padding: 100px 0;
  background: var(--gray-50);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-img-wrap {
  position: relative;
  height: 500px;
}

.about-img-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  width: 380px;
  height: 480px;
  top: 0px; left: 20px;
}

.about-img-card svg {
  width: 100%;
  height: 100%;
  display: block;
}

.img-overlay-text {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, .15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .25);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  color: var(--white);
  font-size: .8rem;
  font-weight: 600;
  white-space: nowrap;
}

.about-stat-card {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  box-shadow: 0 8px 32px rgba(37, 99, 235, .18), inset 0 1px 0 rgba(255, 255, 255, .9);
  text-align: center;
  border: 1px solid var(--gray-100);
}

.stat-num {
  font-family: var(--ff-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue-600);
  line-height: 1;
}

.stat-label {
  font-size: .78rem;
  color: var(--gray-500);
  font-weight: 500;
  margin-top: 4px;
}

.about-check-card {
  position: absolute;
  bottom: 20px;
  left: 0;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: 0 8px 32px rgba(37, 99, 235, .18), inset 0 1px 0 rgba(255, 255, 255, .9);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray-700);
  border: 1px solid var(--gray-100);
}

.about-check-card svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.about-desc {
  color: var(--gray-500);
  font-size: 1.0rem;
  line-height: 1.75;
  margin-bottom: 28px;
  font-weight: bold;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.about-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .95rem;
  color: var(--gray-700);
  font-weight: 700;
}

.feature-check {
  width: 22px;
  height: 22px;
  background: var(--grad-main);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ═══════════════════════════════
   TEAM  — 3D card tilt
═══════════════════════════════ */
.team {
  padding: 100px 0;
  background: var(--white);
}

.team-carousel-wrap {
  position: relative;
  overflow: hidden;
  perspective: 1200px;
}

.team-carousel {
  display: flex;
  gap: 24px;
  transition: transform .45s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}

.team-card {
  flex: 0 0 calc(33.333% - 16px);
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform .4s cubic-bezier(.175, .885, .32, 1.275), box-shadow .4s ease, border-color .25s ease;
}

.team-card:hover {
  transform: translateY(-10px) rotateX(5deg) scale(1.03);
  box-shadow: 0 24px 56px rgba(37, 99, 235, .2), 0 6px 20px rgba(0, 0, 0, .08);
  border-color: var(--blue-200);
}

.team-img {
  overflow: hidden;
}

.team-img svg {
  width: 100%;
  height: auto;
  display: block;
}

.team-info {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.team-info h4 {
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
}

.team-info span {
  font-size: .8rem;
  color: var(--blue-500);
  font-weight: 500;
}

.team-social {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.team-social a {
  width: 30px;
  height: 30px;
  background: var(--blue-50);
  color: var(--blue-600);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  transition: var(--transition);
}

.team-social a:hover {
  background: var(--blue-600);
  color: var(--white);
}

/* Carousel controls */
.carousel-controls,
.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--blue-100);
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.carousel-btn svg {
  width: 20px;
  height: 20px;
}

.carousel-btn:hover {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(37, 99, 235, .3);
}

.carousel-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.dot {
  width: 8px;
  height: 8px;
  background: var(--gray-200);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  padding: 0;
}

.dot.active {
  background: var(--blue-600);
  width: 24px;
  border-radius: 4px;
}

/* ═══════════════════════════════
   STATS
═══════════════════════════════ */
.stats {
  padding: 100px 0;
  background: var(--gray-50);
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.stat-item p {
  font-size: .88rem;
  color: var(--gray-500);
  font-weight: 500;
}

.stat-circle {
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  box-shadow: 0 8px 32px rgba(37, 99, 235, .12), inset 0 1px 0 rgba(255, 255, 255, .9);
  border: 3px solid var(--blue-100);
}

.stat-circle.small {
  width: 120px;
  height: 120px;
}

.stat-circle.large {
  width: 160px;
  height: 160px;
  background: var(--grad-main);
  border-color: transparent;
  box-shadow: 0 16px 48px rgba(37, 99, 235, .35), inset 0 1px 0 rgba(255, 255, 255, .2);
}

.stat-circle.large .stat-count,
.stat-circle.large .stat-plus {
  color: var(--white);
}

.stat-count {
  font-family: var(--ff-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue-700);
  line-height: 1;
}

.stat-circle.large .stat-count {
  font-size: 2.5rem;
}

.stat-plus {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--blue-400);
  line-height: 1;
  align-self: flex-start;
  margin-top: 4px;
}

.featured-stat .stat-circle {
  animation: pulse-ring 3s infinite;
}

@keyframes pulse-ring {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, .3), 0 16px 48px rgba(37, 99, 235, .35);
  }

  50% {
    box-shadow: 0 0 0 12px rgba(37, 99, 235, .05), 0 16px 48px rgba(37, 99, 235, .35);
  }
}

/* ═══════════════════════════════
   WHY US
═══════════════════════════════ */
.why-us {
  padding: 100px 0;
  background: var(--grad-main);
  position: relative;
  overflow: hidden;
}

.why-us::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, .08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-items {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 36px;
}

.why-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: rgba(255, 255, 255, 0.929);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, .12);
  transition: transform .35s cubic-bezier(.175, .885, .32, 1.275), box-shadow .35s ease, background .25s ease;
}

.why-item:hover {
  background: rgba(232, 147, 198, 0.363);
  transform: translateX(8px) translateY(-3px);
  box-shadow: -6px 12px 28px rgba(0, 0, 0, .18);
}

.why-num {
  font-family: var(--ff-display);
  font-size: 2rem;
  font-weight: 800;
  color: rgba(0, 0, 0, 0.63);
  line-height: 1;
  flex-shrink: 0;
  min-width: 48px;
}

.why-text h4 {
  font-family: var(--ff-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue-800);
  margin-bottom: 8px;
}

.why-text p {
  font-size: .87rem;
  color: rgba(13, 12, 12, 0.7);
  line-height: 1.65;
}

.why-img-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .15);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
}

.why-img-card svg {
  width: 100%;
  display: block;
}

.why-img-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 32px rgba(37, 99, 235, .18), inset 0 1px 0 rgba(255, 255, 255, .9);
}

.why-img-badge span {
  font-size: 1.5rem;
}

.why-img-badge strong {
  display: block;
  font-size: .9rem;
  font-weight: 700;
  color: var(--gray-900);
}

.why-img-badge p {
  font-size: .78rem;
  color: var(--gray-400);
  margin: 0;
}

/* ═══════════════════════════════
   TESTIMONIALS  — 3D card tilt
═══════════════════════════════ */
.testimonials {
  padding: 100px 0;
  background: var(--white);
  overflow: hidden;
}

.testimonials-carousel-wrap {
  position: relative;
  overflow: hidden;
  perspective: 1200px;
}

.testimonials-track {
  display: flex;
  gap: 24px;
  transition: transform .45s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 16px);
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform .4s cubic-bezier(.175, .885, .32, 1.275), box-shadow .4s ease, border-color .25s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px) rotateX(3deg) scale(1.02);
  box-shadow: 0 20px 48px rgba(37, 99, 235, .16), 0 4px 16px rgba(0, 0, 0, .07);
  border-color: var(--blue-100);
}

.quote-icon {
  font-size: 4rem;
  font-family: Georgia, serif;
  color: var(--blue-100);
  line-height: .8;
  margin-bottom: 16px;
}

.testimonial-card p {
  font-size: .88rem;
  color: var(--gray-600, #4b5563);
  line-height: 1.72;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 42px;
  height: 42px;
  background: var(--grad-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: .78rem;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: .88rem;
  font-weight: 700;
  color: var(--gray-900);
}

.testimonial-author .stars {
  font-size: .75rem;
  color: #f59e0b;
  letter-spacing: 1px;
  margin-top: 2px;
}

/* ═══════════════════════════════
   CTA BANNER
═══════════════════════════════ */
.cta-banner {
  padding: 80px 0;
  background: var(--grad-main);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-blob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(255, 255, 255, .08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .2);
}

.cta-content p {
  color: rgba(255, 255, 255, .75);
  font-size: .98rem;
  max-width: 500px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══════════════════════════════
   FOOTER
═══════════════════════════════ */
.footer {
  background: var(--gray-900);
  padding: 72px 0 0;
  color: var(--gray-400);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.footer-logo {
  margin-bottom: 16px;
}

.footer-logo .nav-logo {
  color: var(--white);
}

.footer-logo .logo-icon {
  background: transparent;
}

.footer-logo .logo-icon img {
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.3));
}

.footer-brand p {
  font-size: .88rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--gray-400);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: .83rem;
  color: var(--gray-400);
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, .07);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  font-weight: 700;
  color: var(--gray-400);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--blue-600);
  color: var(--white);
}

.footer-col h5 {
  font-family: var(--ff-display);
  font-size: .95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col li a {
  font-size: .85rem;
  color: var(--gray-400);
  transition: var(--transition);
}

.footer-col li a:hover {
  color: var(--white);
  padding-left: 4px;
}

.opening-times li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: .83rem;
  padding: 4px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .04);
}

.opening-times li span:last-child {
  color: var(--white);
  font-weight: 500;
}

.opening-times-map li span:last-child {
  color: var(--blue-800);
  font-weight: 500;
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: .8rem;
  color: rgba(255, 255, 255, .2);
}

/* ═══════════════════════════════
   RESPONSIVE
═══════════════════════════════ */
@media (max-width: 1024px) {
  .hero-container {
    gap: 20px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    gap: 48px;
  }

  .why-grid {
    gap: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .team-card {
    flex: 0 0 calc(50% - 12px);
  }

  .testimonial-card {
    flex: 0 0 calc(50% - 12px);
  }
}

@media (max-width: 768px) {
  :root {
    --nav-h: 64px;
  }

  .hero-container {
    display: flex;
    flex-direction: column;
    overflow:visible
  }

  .hero-visual {
    order: -1;
  }

  .hero-content {
    order: 1;
  }

  .hero-visual img {
    max-width: 280px;
  }

  .hero-badge-float {
    display: none;
  }

  .hero-rating-float {
    display: none;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .stat-circle.small {
    width: 100px;
    height: 100px;
  }

  .stat-circle.large {
    width: 130px;
    height: 130px;
  }

  .cta-btns {
    flex-direction: column;
    align-items: center;
  }

  .team-carousel-wrap,
  .testimonials-carousel-wrap {
    overflow: hidden;
  }

  .nav-links,
  .btn-nav {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--white);
    padding: 16px 24px 24px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--gray-100);
  }

  .nav-links.open+.btn-nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-bottom: 0;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 40px;
    text-align: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-brands {
    justify-content: center;
  }

  /* 3D tooth on mobile — smaller but visible */
.hero-visual {
    width: 100%;
    height: auto;
    min-height: 320px;
    position: relative;
    overflow: visible;
    padding-top: 20px;
  }
 #toothCanvas {
    width: 100%;
    height: 300px;
    overflow: hidden;
  }

  .hero-badge-float {
    bottom: 16px;
    right: 12px;
    padding: 10px 14px;
  }

  .hero-rating-float {
    top: 12px;
    left: 12px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-visual {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .team-card {
    flex: 0 0 calc(100%);
  }

  .testimonial-card {
    flex: 0 0 calc(100%);
  }

  .stats-grid {
    gap: 24px;
  }

  /* Disable 3D tilts on touch devices — feels wrong with tap */
  .service-card:hover,
  .team-card:hover,
  .testimonial-card:hover {
    transform: translateY(-6px) scale(1.01);
  }
}

@media (max-width: 480px) {
  .section-header {
    margin-bottom: 36px;
  }

  .services,
  .about,
  .team,
  .stats,
  .why-us,
  .testimonials {
    padding: 64px 0;
  }

  .cta-banner {
    padding: 56px 0;
  }

  .footer {
    padding-top: 48px;
  }
}

/* ── TOOTH ANIMATION ── */
.tooth-animation-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  max-width: 100%;
  width: 100%;
}

.tooth-bubble {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 2px solid var(--blue-200);
  border-radius: 20px;
  padding: 12px 20px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(37,99,235,0.15);
  opacity: 0;
  visibility: hidden;
  z-index: 20;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  max-width: 85%;
  text-align: center;
  width: max-content;
  pointer-events: none;
}

.tooth-bubble.show {
  opacity: 1;
  visibility: visible;
}

.bubble-tail {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #fff;
}

.bubble-tail::before {
  content: '';
  position: absolute;
  top: -12px;
  left: -11px;
  width: 0;
  height: 0;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-top: 11px solid var(--blue-200);
}

.sparkle-burst {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  opacity: 0;
  z-index: 20;
}

.sparkle-burst span {
  position: absolute;
  font-size: 2rem;
  opacity: 0;
  transition: all 0.4s ease;
}

.sparkle-burst.burst span:nth-child(1) {
  transform: translate(-120px, -80px);
  opacity: 1;
}

.sparkle-burst.burst span:nth-child(2) {
  transform: translate(0px, -130px);
  opacity: 1;
}

.sparkle-burst.burst span:nth-child(3) {
  transform: translate(120px, -80px);
  opacity: 1;
}

.sparkle-burst.burst span:nth-child(4) {
  transform: translate(-150px, 20px);
  opacity: 1;
}

.sparkle-burst.burst span:nth-child(5) {
  transform: translate(0px, 20px);
  opacity: 1;
}

.sparkle-burst.burst span:nth-child(6) {
  transform: translate(150px, 20px);
  opacity: 1;
}

.sparkle-burst.burst span:nth-child(7) {
  transform: translate(-120px, 100px);
  opacity: 1;
}

.sparkle-burst.burst span:nth-child(8) {
  transform: translate(0px, 130px);
  opacity: 1;
}

.sparkle-burst.burst span:nth-child(9) {
  transform: translate(120px, 100px);
  opacity: 1;
}

#sadTooth  { transition: opacity 0.5s ease, transform 0.5s ease; max-width: 100%; display: block; }
#happyTooth { transition: opacity 0.5s ease, transform 0.5s ease; max-width: 100%; display: block; }

.tooth-exit {
  opacity: 0 !important;
  transform: scale(0.8) rotate(-10deg) !important;
}

.tooth-enter {
  animation: toothPop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes toothPop {
  0% {
    opacity: 0;
    transform: scale(0.5) rotate(10deg);
  }

  60% {
    opacity: 1;
    transform: scale(1) rotate(-3deg);
  }

  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

/* Schedule button hover effect */
.btn-schedule {
  position: relative;
  overflow: visible;
  transition: all 0.3s ease;
  border: 2px solid var(--blue-200) !important;
  color: var(--blue-600) !important;
  background: transparent !important;
}

.phone-popup {
  position: absolute;
  top: -45px;
  left: 50%;
  transform: translateX(-50%) scale(0) rotate(-20deg);
  font-size: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
  width: 40px;
  height: 40px;
  background: var(--blue-600);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.phone-popup::after {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07A19.5 19.5 0 0 1 4.69 12a19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 3.62 1h3a2 2 0 0 1 2 1.72c.127.96.361 1.903.7 2.81a2 2 0 0 1-.45 2.11L8.09 8.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.907.339 1.85.573 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

.btn-schedule:hover .phone-popup {
  transform: translateX(-50%) scale(1.2) rotate(10deg);
  font-size: 0;
}

.btn-schedule:hover .phone-popup {
  transform: translateX(-50%) scale(1.2) rotate(10deg);
}

.btn-schedule:hover {
  border-color: var(--blue-500);
  background: var(--blue-50);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.2);
}

/* Blur everything else on schedule hover */
.hero-container:has(.btn-schedule:hover) .hero-content>*:not(.hero-cta) {
  filter: blur(3px);
  transition: filter 0.3s ease;
}

.hero-container:has(.btn-schedule:hover) .hero-cta {
  filter: none;
  position: relative;
  z-index: 10;
}

.hero-container:has(.btn-schedule:hover) .hero-visual {
  filter: blur(3px);
  transition: filter 0.3s ease;
}

/* ---------- reset / fonts ---------- */
.gallery-section *,
.gallery-section *::before,
.gallery-section *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.gallery-section {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: #ffffff;
  padding: 72px 24px 80px;
  text-align: center;
  overflow: hidden;
}

/* ---------- header ---------- */
.gallery-header {
  margin-bottom: 48px;
}

.pill {
  display: inline-block;
  border: 1px solid #c7d5f0;
  border-radius: 999px;
  padding: 5px 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  color: #1a3c8f;
  background: #f0f4ff;
  margin-bottom: 18px;
}

.gallery-header h2 {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  color: #111827;
  line-height: 1.2;
}

.gallery-header .blue {
  color: #2255d4;
}

/* ---------- carousel outer ---------- */
.carousel-outer {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 20px;
}

/* ---------- track ---------- */
.carousel-track {
  display: flex;
  gap: 20px;
  will-change: transform;
  /* JS controls transform; transition set dynamically */
}

/* ---------- slide ---------- */
.slide {
  flex: 0 0 calc(33.333% - 14px);
  /* 3 visible on desktop */
  min-width: 0;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 24px rgba(0, 0, 0, .08);
  background: #f3f4f6;
}

.slide img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.slide:hover img {
  transform: scale(1.04);
}

.slide-caption {
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #1a3c8f;
  background: #fff;
  text-align: left;
  letter-spacing: .01em;
}

/* ---------- arrows ---------- */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid #d1d9f0;
  background: #fff;
  color: #2255d4;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .10);
  transition: background .2s, color .2s, border-color .2s;
}

.arrow:hover {
  background: #2255d4;
  color: #fff;
  border-color: #2255d4;
}

.arrow-left {
  left: 14px;
}

.arrow-right {
  right: 14px;
}

/* ---------- dots ---------- */
.dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d1d9f0;
  cursor: pointer;
  transition: background .25s, transform .25s;
  border: none;
  padding: 0;
}

.dot.active {
  background: #2255d4;
  transform: scale(1.3);
}

/* ---------- responsive ---------- */
@media (max-width: 768px) {
  .slide {
    flex: 0 0 calc(80% - 10px);
  }
}

@media (max-width: 480px) {
  .slide {
    flex: 0 0 calc(90% - 10px);
  }

  .slide img {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .about-img-wrap {
    height: 420px;
    width: 100%;
  }

  .about-img-card.main-card {
    width: 90%;
    height: 420px;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
  }

  .about-stat-card {
    display: block !important;
    top: 0;
    left: 0;
    z-index: 10;
  }

  .about-check-card {
    display: flex !important;
    bottom: 10px;
    left: -5%;
    transform: translateX(-20%);
    transform: translateY(+92%);
    white-space: nowrap;
    z-index: 10;
  }
}

/*maps*/
/* ═══════════════════════════════
   REVIEWS + MAP SECTION
═══════════════════════════════ */
.reviews-map-section {
  padding: 100px 0;
  background: var(--gray-50);
}

/* ── Rating summary bar ── */
.reviews-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-full);
  padding: 14px 28px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  box-shadow: var(--shadow-sm);
}

.rs-score {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gray-900);
}

.rs-stars {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: 2px;
}

.rs-label {
  font-size: .85rem;
  color: var(--gray-500);
  font-weight: 500;
}

.rs-cta {
  font-size: .82rem;
  font-weight: 700;
  color: var(--blue-600);
  border: 1px solid var(--blue-200);
  border-radius: var(--radius-full);
  padding: 5px 14px;
  transition: var(--transition);
  white-space: nowrap;
}

.rs-cta:hover {
  background: var(--blue-600);
  color: var(--white);
  border-color: var(--blue-600);
}

/* ── Reviews ticker ── */
.reviews-ticker-outer {
  position: relative;
  overflow: hidden;
  margin-bottom: 64px;
}

.reviews-ticker-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.reviews-ticker-fade.left {
  left: 0;
  background: linear-gradient(to right, var(--gray-50), transparent);
}

.reviews-ticker-fade.right {
  right: 0;
  background: linear-gradient(to left, var(--gray-50), transparent);
}

.reviews-ticker-wrap {
  overflow: hidden;
}

.reviews-ticker {
  display: flex;
  gap: 20px;
  animation: ticker-scroll 30s linear infinite;
  width: max-content;
}

.reviews-ticker:hover {
  animation-play-state: paused;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ── Review card ── */
.review-card {
  flex: 0 0 320px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.review-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.review-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.reviewer-avatar {
  width: 40px;
  height: 40px;
  background: var(--grad-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.reviewer-name {
  font-size: .88rem;
  font-weight: 700;
  color: var(--gray-900);
}

.review-stars {
  color: #f59e0b;
  font-size: .8rem;
  letter-spacing: 1px;
  margin-top: 2px;
}

.google-g {
  margin-left: auto;
  flex-shrink: 0;
  opacity: .7;
}

.review-card p {
  font-size: .84rem;
  color: var(--gray-500);
  line-height: 1.65;
}

.review-date {
  font-size: .75rem;
  color: var(--gray-400);
  margin-top: 10px;
}

.review-loading {
  padding: 32px;
  color: var(--gray-400);
  font-size: .9rem;
}

/* ── Map + info grid ── */
.map-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.map-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 380px;
  border: 1px solid var(--gray-100);
}

.map-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.map-info h3 {
  font-family: var(--ff-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.map-info-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 8px;
}

.map-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
}

.map-info-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.map-info-item strong {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.map-info-item p {
  font-size: .83rem;
  color: var(--gray-500);
  line-height: 1.5;
  margin: 0;
}

.map-info-item a {
  color: var(--blue-600);
  font-weight: 600;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .map-info-grid {
    grid-template-columns: 1fr;
  }

  .map-wrap {
    min-height: 280px;
  }

  .reviews-ticker-fade {
    width: 40px;
  }

  .review-card {
    flex: 0 0 280px;
  }
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.crafted-by {
  font-size: 1rem;
  font-weight: 700;
  background: linear-gradient(135deg, #60a5fa, #a78bfa, #f472b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 8px rgba(96, 165, 250, 0.6));
}

@keyframes neon-glow {

  0%,
  100% {
    filter: drop-shadow(0 0 6px rgba(96, 165, 250, 0.6)) drop-shadow(0 0 12px rgba(167, 139, 250, 0.4));
  }

  50% {
    filter: drop-shadow(0 0 14px rgba(96, 165, 250, 1)) drop-shadow(0 0 28px rgba(167, 139, 250, 0.8)) drop-shadow(0 0 40px rgba(244, 114, 182, 0.5));
  }
}

.crafted-by a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 1rem;
  font-weight: 800;
  background: linear-gradient(135deg, #60a5fa, #a78bfa, #f472b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  text-shadow: none;
  animation: none;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

.crafted-by a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 1rem;
  font-weight: 800;
  background: linear-gradient(135deg, #b4d5e3, #7eaaf1, #8688e0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.heart {
  -webkit-text-fill-color: #ff4444;
  color: #ff4444;
  filter: drop-shadow(0 0 6px rgba(255, 50, 50, 0.8));
  animation: heartbeat 0.8s ease-in-out infinite;
}

.crafted-by {
  white-space: nowrap;
}

.nexaflow-logo {
  width: 20px;
  height: 20px;
  object-fit: contain;
  border-radius: 4px;
  filter: drop-shadow(0 0 6px rgba(96, 165, 250, 0.8));
}

@keyframes heart {
  0% {
    transform: scale(1);
  }

  15% {
    transform: scale(1.4);
  }

  30% {
    transform: scale(1);
  }

  45% {
    transform: scale(1.3);
  }

  60% {
    transform: scale(1);
  }

  100% {
    transform: scale(1);
  }
}

address {
  font-style: normal;
  font-size: .83rem;
  color: var(--gray-500);
  line-height: 1.6;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
}

.service-card .service-icon {
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
}

.service-card.featured .service-icon {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

/* ═══════════════════════════════ FAQ ═══════════════════════════════ */
.faq-section {
  padding: 80px 0;
  background: #f8faff;
}

.faq-grid {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.faq-item:hover {
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.08);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: inherit;
  line-height: 1.4;
}

.faq-icon {
  font-size: 22px;
  font-weight: 400;
  color: #2563eb;
  flex-shrink: 0;
  transition: transform 0.3s;
  line-height: 1;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s ease;
  padding: 0 24px;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

.faq-answer p {
  font-size: 15px;
  color: #475569;
  line-height: 1.75;
  margin: 0;
}

.faq-answer a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

@media (max-width: 600px) {
  .faq-question {
    font-size: 14px;
    padding: 16px 18px;
  }

  .faq-answer {
    padding: 0 18px;
  }

  .faq-item.open .faq-answer {
    padding: 0 18px 16px;
  }
}


/* ═══════════════════════════════ BOOKING FORM ═══════════════════════════════ */
.booking-section {
  padding: 80px 0;
  background: #f0f6ff;
}

.booking-card {
  max-width: 780px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 24px;
  padding: 40px 44px;
  border: 1px solid #dbeafe;
}

.bk-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 8px;
}

.bk-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bk-field.full {
  grid-column: 1 / -1;
}

.bk-field label {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  letter-spacing: 0.2px;
}

.req {
  color: #e53e3e;
  margin-left: 2px;
}

.bk-field input[type="text"],
.bk-field input[type="date"],
.bk-field select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #d1d5db;
  border-radius: 10px;
  font-size: 14px;
  color: #111827;
  background: #ffffff;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.bk-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.bk-field input:focus,
.bk-field select:focus {
  border-color: #2563eb;
}

.bk-err {
  font-size: 11px;
  color: #dc2626;
  display: none;
}

.slot-pick-hint {
  font-size: 13px;
  color: #9ca3af;
  margin-top: 2px;
}

.session-label {
  font-size: 11px;
  font-weight: 700;
  color: #6b7280;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: 10px 0 6px;
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.slot-btn {
  padding: 9px 6px;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  color: #374151;
  background: #ffffff;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s;
  font-family: inherit;
}

.slot-btn:hover {
  border-color: #2563eb;
  color: #2563eb;
  background: #eff6ff;
}

.slot-btn.active {
  border-color: #2563eb;
  background: #2563eb;
  color: #ffffff;
}

.slot-btn.disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.slot-hours-note {
  font-size: 12px;
  color: #6b7280;
  margin-top: 8px;
}

.bk-submit {
  width: 100%;
  margin-top: 24px;
  padding: 14px;
  font-size: 15px;
}

.bk-footnote {
  text-align: center;
  font-size: 12px;
  color: #9ca3af;
  margin-top: 10px;
}

.bk-success {
  display: none;
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: 14px;
  padding: 24px;
  text-align: center;
  margin-top: 20px;
}

.bk-success h4 {
  color: #15803d;
  font-size: 17px;
  font-weight: 700;
  margin: 10px 0 6px;
}

.bk-success p {
  color: #166534;
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .booking-card {
    padding: 24px 18px;
    border-radius: 16px;
  }

  .bk-grid {
    grid-template-columns: 1fr;
  }

  .bk-field.full {
    grid-column: 1;
  }

  .slots-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


@media (min-width: 769px) and (max-width: 1024px) {
  .about-img-card {
    width: 320px;
    height: 420px;
    top: 0;
    left: 10px;
  }

  .about-img-wrap {
    height: 440px;
  }
}
