/* ============================================
   KEJRIWAL CLINIC â€” style.css
   Full Responsive + All Animations
   v20260803 â€” Enterprise Optimized
   ============================================ */

/* â”€â”€ SKIP TO CONTENT (Accessibility) â”€â”€ */
.skip-to-content {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 99999;
  background: var(--red, #E8392A);
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-to-content:focus {
  top: 16px;
}

/* â”€â”€ REDUCED MOTION â”€â”€ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* â”€â”€ CLS PREVENTION: Reserve space for images â”€â”€ */
img {
  content-visibility: auto;
}

/* â”€â”€ GPU ACCELERATION for animated elements â”€â”€ */
.navbar,
.hero-photo-frame,
.masonry-card,
.float-icon,
.loader-elements {
  will-change: auto; /* reset after animation; JS manages will-change during animation */
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* â”€â”€ TOUCH TARGETS: minimum 44x44px â”€â”€ */
button,
a,
[role="button"] {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
/* Override for inline/span elements to avoid layout shift */
a.fsocial, .card-act-btn {
  display: inline-flex;
}

/* â”€â”€ FOCUS VISIBLE â”€â”€ */
:focus-visible {
  outline: 2px solid var(--red, #E8392A);
  outline-offset: 3px;
  border-radius: 4px;
}
:focus:not(:focus-visible) {
  outline: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


:root {
  --red: #E8392A;
  --cream: #FAF8F3;
  --black: #111;
  --text-color: #111;
  --text-muted: #888;
  --gray: #888;
  --white: #fff;
  --radius: 18px;
  --font-main: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* â”€â”€ LOGGED-IN CLIENT NAVBAR BADGE â”€â”€ */
.nav-client-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  font-family: var(--font-body);
}

.nav-client-badge .client-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(232, 57, 42, 0.3);
}

.nav-client-badge .client-logout {
  font-size: 11px;
  color: var(--gray);
  cursor: pointer;
  transition: color 0.2s;
  background: none;
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 3px 10px;
  font-family: var(--font-body);
}

.nav-client-badge .client-logout:hover {
  color: var(--red);
  border-color: var(--red);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

body {
  font-family: var(--font-main);
  background: var(--cream);
  color: var(--black);
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
  cursor: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-main);
}

/* CUSTOM CURSOR â€” hidden, using native cursor */
.cursor-dot,
.cursor-ring {
  display: none !important;
}

a,
button,
.masonry-card,
.advantage-card,
.nav-menu-btn,
.nav-signup,
.btn-primary,
.btn-secondary {
  cursor: pointer;
}

.scroll-indicator,
.cta-btn,
.card-act-btn {
  cursor: pointer;
}

/* ============ LOADER ============ */
#loader {
  position: fixed;
  inset: 0;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9000;
  gap: 28px;
}

.loader-elements {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
  height: 60px;
}

#loaderArrow {
  opacity: 0;
  transform: translateX(-40px);
}

#loaderPill {
  background: var(--red);
  color: #fff;
  padding: 12px 22px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
  opacity: 0;
  transform: translateY(-30px);
}

#loaderTooth {
  opacity: 0;
  transform: translateX(40px);
}

.tooth-circle {
  width: 54px;
  height: 54px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#loaderBrand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 3px;
  opacity: 0;
  transform: translateY(10px);
}

.brand-dot {
  width: 10px;
  height: 10px;
  background: var(--red);
  border-radius: 50%;
  display: inline-block;
}

/* ============ NAVBAR ============ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  opacity: 1; /* Was 0, causing navbar to be invisible if JS failed */
  transition: background 0.3s, padding 0.3s;
}

.navbar.scrolled {
  background: rgba(250, 248, 243, 0.95);
  backdrop-filter: blur(12px);
  padding: 12px 28px;
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-menu-btn {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  padding: 8px 16px;
  border: 1.5px solid rgba(0, 0, 0, 0.15);
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.nav-menu-btn:hover {
  background: var(--black);
  color: #fff;
}

.nav-grid {
  font-size: 18px;
  color: var(--gray);
}

.nav-center {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2.5px;
}

.nav-dot {
  width: 22px;
  height: 22px;
  background: var(--red);
  border-radius: 50%;
  display: inline-block;
}

/* Custom Clove Dental style Desktop Nav */
.nav-desktop-links {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-left: 30px;
}
.nav-desktop-links a:not(.btn-primary, .btn-secondary) {
  text-decoration: none;
  color: var(--black);
  font-weight: 500;
  font-size: 14px;
  transition: color 0.2s;
}
.nav-desktop-links a:not(.btn-primary, .btn-secondary):hover {
  color: var(--red);
}
.nav-desktop-actions {
  display: flex;
  gap: 10px;
  margin-left: 20px;
}
.desktop-book-btn {
  background: linear-gradient(to right, #f97316, #ea580c);
  color: #fff;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.desktop-call-btn {
  background: #333;
  color: #fff;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

/* Visibility Utilities */
@media (max-width: 991px) {
  .mobile-hide { display: none !important; }
}
@media (min-width: 992px) {
  .desktop-hide { display: none !important; }
  .navbar { justify-content: flex-start; } /* Align items left on desktop to fit menu next to logo */
  .nav-brand { margin-right: 20px; }
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-login {
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border: 1.5px solid rgba(0, 0, 0, 0.15);
  border-radius: 50px;
  transition: background 0.2s, color 0.2s;
}

.nav-login:hover {
  background: var(--black);
  color: #fff;
}

.nav-signup {
  font-size: 13px;
  font-weight: 600;
  padding: 8px 20px;
  background: var(--red);
  color: #fff;
  border-radius: 50px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-signup:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232, 57, 42, 0.35);
}

/* MOBILE NAV */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 340px;
  height: 100vh;
  background: var(--cream);
  z-index: 600;
  padding: 80px 36px 40px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 22px;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}

.mobile-nav-close:hover {
  background: rgba(0, 0, 0, 0.08);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.mobile-nav-links a {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  transition: color 0.2s;
}

.mobile-nav-links a:hover {
  color: var(--red);
}

.mobile-nav-info {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-info p {
  font-size: 13px;
  color: var(--gray);
  font-family: var(--font-body);
}

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 599;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

.mobile-nav-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* ============ SECTIONS ============ */
.section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--cream);
  padding: 0;
}

.section-footer {
  position: absolute;
  bottom: 18px;
  left: 28px;
  right: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
  pointer-events: none;
}

.tagline {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  color: var(--gray);
}

.award {
  font-size: 11px;
  color: var(--gray);
  letter-spacing: 0.5px;
}

.social-links {
  display: flex;
  gap: 12px;
  pointer-events: all;
}

.social-icon {
  color: var(--gray);
  transition: color 0.2s;
}

.social-icon:hover {
  color: var(--red);
}

/* ============ SECTION 1: ADVANTAGES ============ */
.section-advantages {
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.adv-heading {
  position: absolute;
  left: 28px;
  right: 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  z-index: 5;
  top: 50%;
  transform: translateY(-50%);
}

.adv-text-main {
  font-size: clamp(48px, 10vw, 110px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 0.9;
  color: var(--black);
  display: block;
}

.adv-text-sub {
  font-size: clamp(24px, 5vw, 56px);
  font-weight: 500;
  letter-spacing: -1px;
  line-height: 1.1;
  color: var(--black);
  display: block;
  margin-top: 8px;
}

.adv-text-desc {
  font-size: clamp(14px, 2vw, 20px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
  color: var(--gray);
  display: block;
  margin-top: 24px;
  max-width: 400px;
}

/* Floating SVG Fillers (Realistic 3D Style) */
.floating-svg {
  position: absolute;
  opacity: 1;
  /* Permanently visible from the start */
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.15));
  /* Soft realistic shadow */
}

/* Initial rough positions, GSAP will take over */
.svg-tooth {
  top: 15%;
  left: 10%;
}

.svg-sparkle {
  top: 25%;
  left: 80%;
}

.svg-heart {
  top: 70%;
  left: 15%;
}

.svg-shield {
  top: 60%;
  left: 75%;
}

.svg-pill {
  top: 40%;
  left: 45%;
}

.svg-mirror {
  top: 80%;
  left: 50%;
}

.svg-brush {
  top: 20%;
  left: 40%;
}

.svg-apple {
  top: 80%;
  left: 80%;
}

.cards-container {
  position: relative;
  z-index: 20;
  width: clamp(240px, 38vw, 360px);
  aspect-ratio: 3/4;
}

.advantage-card {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #f0e8e0;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s;
  will-change: transform;
}

#card1 {
  z-index: 4;
  transform: rotate(8deg);
}

#card2 {
  z-index: 3;
  transform: rotate(2deg);
}

#card3 {
  z-index: 2;
  transform: rotate(-4deg);
}

#card4 {
  z-index: 1;
  transform: rotate(-8deg);
}

.card-image {
  position: absolute;
  inset: 0;
}

.card-label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.scroll-indicator {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border: 1.5px solid rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s;
  animation: bounce 2s ease-in-out infinite;
}

.scroll-indicator:hover {
  background: var(--black);
  color: #fff;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* ============ SECTION 2: HERO ============ */
.section-hero {
  align-items: flex-start;
  justify-content: center;
  background-color: #0A0F1C;
  color: #fff;
}

.hero-content {
  padding: 0 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  margin-top: 80px;
  padding-bottom: 140px;
  /* Space for the CTA button */
}

.hero-line {
  font-size: clamp(36px, 8.5vw, 108px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1;
  display: block;
}

.hero-line-mid {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.float-pill {
  background: #d0e4f5;
  color: #2a5fa8;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: clamp(12px, 1.5vw, 16px);
  font-weight: 600;
  letter-spacing: 1.5px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s;
  will-change: transform, opacity;
}

.float-tooth {
  width: 36px;
  height: 36px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.3s, transform 0.3s;
  will-change: transform, opacity;
}

.float-star {
  color: var(--red);
  font-size: clamp(20px, 3vw, 36px);
  font-weight: 900;
  opacity: 0;
  transform: rotate(-20deg);
  transition: opacity 0.3s, transform 0.3s;
}

.float-pill.visible,
.float-tooth.visible,
.float-star.visible {
  opacity: 1;
  transform: none;
}

.float-tag {
  position: absolute;
  top: 0;
  right: 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.4s, transform 0.4s;
  pointer-events: none;
}

.tag-dots {
  color: var(--gray);
  font-size: 10px;
  letter-spacing: 3px;
}

.tag-text {
  font-size: 11px;
  font-weight: 500;
  color: var(--gray);
  line-height: 1.4;
}

.float-tag.visible {
  opacity: 1;
  transform: none;
}

.float-dots {
  position: absolute;
  bottom: 80px;
  left: 28px;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.4s, transform 0.4s;
}

.float-avatar {
  width: 80px;
  height: 80px;
  border-radius: var(--radius);
  overflow: hidden;
}

.float-dots.visible {
  opacity: 1;
  transform: none;
}

.cta-btn {
  width: clamp(80px, 9vw, 90px);
  height: clamp(80px, 9vw, 90px);
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  font-size: clamp(9px, 1.1vw, 11px);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 1;
  transition: transform 0.3s, box-shadow 0.3s, scale 0.3s;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 10px 30px rgba(232, 57, 42, 0.3);
  will-change: transform;
}

.cta-btn.inline-cta {
  position: relative;
  bottom: auto;
  left: auto;
  transform: none;
  margin: 0 15px;
  flex-shrink: 0;
}

.mobile-cta {
  display: none !important;
}

.cta-btn:hover {
  scale: 1.07;
  box-shadow: 0 16px 40px rgba(232, 57, 42, 0.4);
}

/* ============ SECTION 3: SERVICES ============ */
.section-services {
  justify-content: center;
}

.services-layout {
  display: flex;
  align-items: stretch;
  gap: 0;
  width: 100%;
  height: 100vh;
  padding: 0;
}

.services-left {
  width: 40%;
  min-width: 280px;
  padding: 40px 28px 80px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
}

.progress-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.pdot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccc;
  transition: background 0.3s;
}

.pdot.active {
  background: var(--red);
}

.services-heading {
  font-size: clamp(22px, 3.5vw, 42px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
}

.services-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary {
  padding: 12px 24px;
  background: var(--red);
  color: #fff;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 57, 42, 0.35);
}

.btn-secondary {
  padding: 12px 24px;
  border: 1.5px solid rgba(0, 0, 0, 0.2);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}

.btn-secondary:hover {
  background: var(--black);
  color: #fff;
  border-color: var(--black);
}

/* MASONRY GRID */
.masonry-grid {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 0 20px 0 0;
}

.masonry-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  will-change: transform;
}

.masonry-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 200px;
  flex-shrink: 0;
  background: #e8d9ce;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  will-change: transform;
}

.masonry-card.tall {
  height: 280px;
}

.masonry-card:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.15);
}

.masonry-card img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.card-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 6px;
  opacity: 0;
  transition: opacity 0.25s;
}

.masonry-card:hover .card-actions {
  opacity: 1;
}

.card-act-btn {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  backdrop-filter: blur(6px);
}

.card-act-btn:hover {
  background: var(--red);
  color: #fff;
}

.card-caption {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--black);
  color: #fff;
  padding: 60px 28px 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-dot {
  width: 12px;
  height: 12px;
  background: var(--red);
  border-radius: 50%;
  display: inline-block;
}

.footer-brand-name {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 2.5px;
}

.footer-tagline {
  font-size: 12px;
  color: #999;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 20px;
  font-family: var(--font-body);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.fsocial {
  color: #666;
  transition: color 0.2s;
}

.fsocial:hover {
  color: var(--red);
}

.footer-links-col h3,
.footer-contact-col h3 {
  font-size: 12px;
  letter-spacing: 2px;
  color: #999;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-col ul li a {
  font-size: 14px;
  color: #666;
  transition: color 0.2s;
  font-family: var(--font-body);
}

.footer-links-col ul li a:hover {
  color: #fff;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-contact-item svg {
  color: var(--red);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item span,
.footer-contact-item a {
  font-size: 13px;
  color: #999;
  line-height: 1.5;
  font-family: var(--font-body);
  transition: color 0.2s;
}

.footer-contact-item a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #222;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 12px;
  color: #555;
  font-family: var(--font-body);
}

.footer-award {
  color: var(--red) !important;
}

/* ============ DARK THEME SECTIONS ============ */
.section-dark {
  background-color: #0A0F1C;
  color: #fff;
  padding: 100px 28px;
  position: relative;
  overflow: hidden;
}

.red-subtitle {
  color: var(--red);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  display: block;
  font-family: var(--font-body);
}

.dark-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: #fff;
  letter-spacing: -1px;
}

.dark-desc {
  font-size: 16px;
  color: #94a3b8;
  line-height: 1.8;
  margin-bottom: 40px;
  font-family: var(--font-body);
  max-width: 600px;
}

/* About Doctor */
.about-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  aspect-ratio: 3/4;
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #0A0F1C 0%, rgba(10, 15, 28, 0.2) 40%, transparent 100%);
}

.contact-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: 0.3s;
  backdrop-filter: blur(10px);
}

.contact-card:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(10px);
  border-color: rgba(255, 255, 255, 0.15);
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(232, 57, 42, 0.1);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-label {
  font-size: 12px;
  color: #64748b;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-value {
  font-size: 16px;
  font-weight: 600;
  color: #f8fafc;
}

/* Testimonials */
.testi-header {
  max-width: 1200px;
  margin: 0 auto 50px;
  text-align: center;
}

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  padding: 12px 24px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 10px;
}

.rating-num {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
}

.stars {
  color: #facc15;
  font-size: 20px;
  letter-spacing: 2px;
}

.rating-text {
  font-size: 13px;
  color: #94a3b8;
  font-family: var(--font-body);
}

.testi-carousel-wrapper {
  width: 100%;
  overflow: hidden;
  padding-bottom: 20px;
}

.testi-carousel {
  display: flex;
  gap: 24px;
  padding: 0 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.testi-carousel::-webkit-scrollbar {
  display: none;
}

.review-card {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 32px;
  min-width: 320px;
  max-width: 350px;
  scroll-snap-align: start;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s;
}

.review-card:hover {
  transform: translateY(-5px);
  background: #1f2937;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.reviewer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
}

.reviewer-name {
  font-weight: 600;
  font-size: 15px;
  color: #f8fafc;
}

.review-stars {
  color: #facc15;
  font-size: 14px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.review-text {
  font-size: 14px;
  color: #cbd5e1;
  line-height: 1.6;
  font-family: var(--font-body);
  flex-grow: 1;
  margin-bottom: 20px;
  font-style: italic;
}

.review-time {
  font-size: 12px;
  color: #64748b;
  font-family: var(--font-body);
}

/* ============ MOBILE RESPONSIVE ============ */
@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand-col {
    grid-column: 1 / -1;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image-wrapper {
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {

  /* Navbar mobile */
  .hero-line {
    font-size: clamp(24px, 6.2vw, 42px);
    letter-spacing: -0.5px;
    position: relative;
    z-index: 10;
    line-height: 1.15;
    white-space: nowrap;
  }

  .nav-grid {
    display: none;
  }

  /* Hide hero section on mobile */
  .section-hero {
    display: none !important;
  }

  .navbar {
    padding: 14px 14px;
  }

  .nav-login {
    display: none;
  }

  .nav-signup {
    padding: 8px 14px;
    font-size: 12px;
  }

  .nav-brand {
    font-size: 12px;
    letter-spacing: 1.5px;
  }


  /* Section footer */
  .section-footer {
    left: 18px;
    right: 18px;
  }

  .award {
    display: none;
  }

  /* Advantages */
  .adv-heading {
    left: 18px;
    right: 18px;
  }

  .adv-text-main {
    font-size: clamp(42px, 12vw, 72px);
    letter-spacing: -1.5px;
  }

  .cards-container {
    width: clamp(200px, 70vw, 280px);
  }

  /* Hero */
  .hero-content {
    padding: 9px;
    margin-top: 100px;
    padding-bottom: 120px;
  }

  .hero-line {
    font-size: clamp(24px, 6.2vw, 42px);
    letter-spacing: -0.5px;
    position: relative;
    z-index: 10;
    line-height: 1.15;
    white-space: nowrap;
  }

  .hero-line-mid {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin: 10px 0;
  }

  .desktop-only {
    display: none !important;
  }

  .mobile-cta {
    display: flex !important;
    position: relative;
    margin: 24px auto 0 auto;
    left: auto;
    bottom: auto;
    transform: none;
    width: 90px;
    height: 90px;
    font-size: 10px;
  }

  .hero-content {
    padding-bottom: 40px;
  }

  .float-tag {
    display: none;
  }

  .float-dots {
    display: none;
  }

  /* Services â€” stack vertically and fill height */
  .section-services {
    min-height: unset;
    height: auto;
  }

  .services-layout {
    flex-direction: column;
    min-height: unset;
    height: auto;
    padding: 90px 0 50px;
    display: flex;
  }

  .services-left {
    width: 100%;
    padding: 20px 18px 24px;
    gap: 16px;
  }

  .services-heading {
    font-size: clamp(20px, 6vw, 32px);
  }

  .masonry-grid {
    flex: none;
    height: 500px;
    min-height: unset;
    overflow: hidden;
    padding: 0 18px;
    position: relative;
  }

  /* Dark Sections Mobile */
  .section-dark {
    padding: 60px 18px;
  }

  .dark-title {
    font-size: clamp(28px, 8vw, 36px);
  }

  .testi-carousel {
    padding: 0 18px;
  }

  .review-card {
    min-width: 280px;
    padding: 24px;
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .adv-text-main {
    font-size: clamp(36px, 14vw, 56px);
  }

  .adv-text-sub {
    font-size: clamp(20px, 7vw, 28px);
  }

  .adv-text-desc {
    margin-top: 16px;
  }

  .cards-container {
    width: clamp(180px, 72vw, 240px);
  }

  .hero-line {
    font-size: 9.4vw;
    letter-spacing: 0.4px;
  }

  .hero-line-mid {
    gap: 8px;
  }

  .float-pill {
    font-size: 10px;
    padding: 5px 12px;
  }

  .masonry-grid {
    height: 530px;
  }

  .navbar {
    padding: 10px 14px;
  }

  .nav-logo-img {
    height: 28px !important;
  }

  .nav-menu-btn {
    font-size: 0px !important; /* Hide 'Menu' text */
    padding: 8px !important;
    background: transparent !important;
    color: var(--black) !important;
  }
  
  .nav-menu-btn::before {
    content: "\2630"; /* Hamburger Icon */
    font-size: 24px;
    display: block;
  }

  .nav-grid {
    display: none !important;
  }

  .nav-call-now {
    padding: 8px 14px;
    font-size: 12px;
  }

  .nav-signup {
    padding: 6px 14px;
    font-size: 12px;
  }

  /* About section compact on small phones */
  .about-image-wrapper {
    aspect-ratio: 1/1;
  }

  .contact-card {
    padding: 16px;
    gap: 14px;
  }

  .contact-value {
    font-size: 14px;
  }

  .contact-icon {
    width: 38px;
    height: 38px;
  }
}

/* ============ FLOATING ACTION BUTTON ============ */
.fab-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.fab-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fab-menu.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.fab-main,
.fab-item {
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border: none;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}

.fab-item {
  width: 50px;
  height: 50px;
  color: white;
}

.fab-item:hover {
  transform: scale(1.1);
}

.fab-wa {
  background: #25D366;
}

.fab-phone {
  background: #007AFF;
}

.fab-main {
  width: 60px;
  height: 60px;
  background: var(--black);
  color: white;
}

.fab-main:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.fab-main .fab-icon-call {
  transition: opacity 0.3s;
}

.fab-main .fab-icon-close {
  transition: opacity 0.3s;
}

.fab-menu.active~.fab-main .fab-icon-call {
  display: none;
}

.fab-menu.active~.fab-main .fab-icon-close {
  display: block !important;
}

@media (max-width: 768px) {
  .fab-container {
    bottom: 20px;
    right: 20px;
  }

  .fab-main {
    width: 55px;
    height: 55px;
  }

  .fab-item {
    width: 45px;
    height: 45px;
  }
}

/* ============ CALL NOW BUTTON ============ */
.nav-call-now {
  font-size: 13px;
  font-weight: 700;
  padding: 9px 11px;
  background: var(--red);
  color: #fff !important;
  border-radius: 50px;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  display: inline-block;
  letter-spacing: 0.5px;
}

.nav-call-now:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(232, 57, 42, 0.4);
}

.pulse-animation {
  animation: pulse-call 2.5s infinite;
}

@keyframes pulse-call {
  0% {
    box-shadow: 0 0 0 0 rgba(232, 57, 42, 0.7);
  }

  70% {
    box-shadow: 0 0 0 12px rgba(232, 57, 42, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(232, 57, 42, 0);
  }
}

/* ============================================
   NEW HERO SECTION
   ============================================ */
.new-hero {
  padding: 120px 5% 0;
  background: var(--cream, #FAF7F4);
  position: relative;
  height: auto !important;
  min-height: unset !important;
  overflow: visible !important;
}

.new-hero-container {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

/* â”€â”€ Left: Text Content â”€â”€ */
.new-hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 60px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #333;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  margin-bottom: 22px;
}

.hero-title {
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 800;
  line-height: 1.1;
  color: #111;
  margin-bottom: 20px;
  letter-spacing: -1.5px;
}

.hero-title span {
  color: var(--red, #E8392A);
}

.hero-desc {
  font-size: 16px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 440px;
  font-family: var(--font-body);
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-btn,
.hero-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.25s, box-shadow 0.25s;
}

.hero-btn {
  background: var(--red, #E8392A);
  color: #fff;
  box-shadow: 0 10px 30px rgba(232, 57, 42, 0.3);
}

.hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(232, 57, 42, 0.4);
}

.hero-btn-outline {
  background: #fff;
  color: #111;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.hero-btn-outline:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
}

.hero-promo-banner {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border-radius: 50px;
  padding: 6px 6px 6px 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  margin-top: 30px;
  gap: 15px;
  border: 1px solid rgba(0,0,0,0.05);
  flex-wrap: nowrap;
}
.promo-text-col {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
}
.promo-upto {
  font-size: 12px;
  color: #666;
  font-weight: 600;
  text-transform: uppercase;
}
.promo-discount {
  color: #d32f2f;
  font-size: 24px;
  font-weight: 900;
  font-family: var(--font-heading);
  letter-spacing: -0.5px;
}
.promo-btn {
  background: linear-gradient(to right, #f97316, #ea580c);
  color: #fff;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 40px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-family: var(--font-heading);
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(234,88,12,0.3);
  transition: transform 0.3s;
  white-space: nowrap;
}

@media (max-width: 500px) {
  .hero-promo-banner {
    padding: 4px 4px 4px 12px;
    gap: 8px;
    margin-top: 20px;
    width: 100%;
    justify-content: space-between;
    box-sizing: border-box;
  }
  .promo-upto {
    font-size: 9px;
  }
  .promo-discount {
    font-size: 16px;
  }
  .promo-btn {
    padding: 10px 14px;
    font-size: 11px;
    gap: 4px;
  }
  .promo-btn svg {
    width: 14px;
    height: 14px;
  }
}

/* â”€â”€ Right: Visual â”€â”€ */
.new-hero-visual {
  position: relative;
  width: 100%;
  /* tall frame: matches the reference aspect ratio */
  height: 580px;
}

/* Salmon/peach blob behind photo */
.hero-blob-bg {
  position: absolute;
  top: 5%;
  left: 8%;
  width: 85%;
  height: 90%;
  background: #FFE8E5;
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  z-index: 1;
  animation: blobMorph 8s ease-in-out infinite alternate;
}

@keyframes blobMorph {
  0% {
    border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  }

  50% {
    border-radius: 40% 60% 45% 55% / 60% 40% 50% 60%;
  }

  100% {
    border-radius: 55% 45% 60% 40% / 45% 55% 60% 40%;
  }
}

/* Tall photo frame */
.hero-photo-frame {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 75%;
  height: 100%;
  border-radius: 50% 50% 48% 48% / 30% 30% 70% 70%;
  overflow: hidden;
  z-index: 2;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.12);
}

.hero-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.nav-logo-img {
  height: 42px;
  transition: 0.3s;
}

/* â”€â”€ Floating Icons â”€â”€ */
.float-icon {
  position: absolute;
  z-index: 5;
  width: 54px;
  height: 54px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  animation: floatUpDn 3.5s ease-in-out infinite alternate;
  font-size: 24px;
}

.float-icon span {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Tooth â€” top-left of frame */
.float-icon-1 {
  top: 8%;
  left: 2%;
  animation-delay: 0s;
}

/* Syringe â€” top-right */
.float-icon-2 {
  top: 12%;
  right: 0%;
  animation-delay: 0.8s;
}

/* Wrench â€” left-middle */
.float-icon-3 {
  top: 52%;
  left: 0%;
  animation-delay: 1.6s;
}

/* Red medical cross / pulse â€” right-middle */
.float-icon-4 {
  top: 55%;
  right: -2%;
  animation-delay: 2.4s;
  background: var(--red, #E8392A);
  color: #fff;
}

@keyframes floatUpDn {
  0% {
    transform: translateY(0px);
  }

  100% {
    transform: translateY(-14px);
  }
}

/* â”€â”€ Dynamic Hero Card Deck â”€â”€ */
.hero-deck-container {
  position: absolute;
  bottom: -30%;
  left: 0%;
  width: 220px;
  height: 260px;
  z-index: 6;
  perspective: 1000px;
}

@media (min-width: 901px) {
  /* On desktop the deck sits comfortably inside the visual column */
  .hero-deck-container {
    bottom: -20px;
    left: -10px;
    width: 200px;
    height: 240px;
  }
}

.deck-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 18px;
  padding: 10px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
  transition: all 0.6s cubic-bezier(0.4, 0.0, 0.2, 1);
  transform-origin: center bottom;
  will-change: transform, opacity;
}

.dc-img-wrap {
  width: 100%;
  height: 175px;
  border-radius: 12px;
  overflow: hidden;
}

.dc-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 4px 4px;
}

.dc-name {
  font-size: 13px;
  font-weight: 700;
  color: #111;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dc-arrow {
  width: 30px;
  height: 30px;
  background: var(--red, #E8392A);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dc-arrow svg {
  width: 16px;
  height: 16px;
}

/* Deck Stacking Logic */
.deck-card[data-pos="0"] {
  transform: translateY(0) scale(1) rotate(0deg);
  z-index: 4;
  opacity: 1;
}

.deck-card[data-pos="1"] {
  transform: translateY(-8px) scale(0.95) rotate(3deg);
  z-index: 3;
  opacity: 0.9;
}

.deck-card[data-pos="2"] {
  transform: translateY(-16px) scale(0.9) rotate(6deg);
  z-index: 2;
  opacity: 0.7;
}

.deck-card[data-pos="3"] {
  transform: translateY(-24px) scale(0.85) rotate(9deg);
  z-index: 1;
  opacity: 0.4;
}

.deck-card[data-pos="hidden"] {
  transform: translateY(-24px) scale(0.85) rotate(9deg);
  z-index: 0;
  opacity: 0;
}

/* Animation out */
.deck-card.slide-out {
  transform: translateX(-120%) rotate(-15deg) scale(0.9);
  opacity: 0;
  z-index: 5;
}


/* ============================================
   NEW STATS SECTION
   â€” 2Ã—2 grid, horizontal card (icon + text)
   ============================================ */
.new-stats {
  padding: 230px 5% 32px;   /* mobile: large gap for floating deck */
  background: var(--cream, #FAF7F4);
  height: auto !important;
  min-height: unset !important;
  overflow: visible !important;
}

@media (min-width: 901px) {
  /* Desktop: deck is tucked inside hero visual, no extra gap needed */
  .new-stats {
    padding: 60px 5% 32px;
  }
}

.stats-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  /* 2 columns on desktop, matches reference */
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-box {
  background: #fff;
  border-radius: 20px;
  padding: 22px 24px;
  display: flex;
  flex-direction: row;
  /* icon left, text right â€” horizontal */
  align-items: center;
  gap: 18px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s, box-shadow 0.25s;
}

.stat-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.09);
}

.stat-icon {
  width: 46px;
  height: 46px;
  background: #FFEBE9;
  color: var(--red, #E8392A);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-val {
  font-size: 22px;
  font-weight: 800;
  color: #111;
  line-height: 1.1;
}

.stat-lbl {
  font-size: 13px;
  color: #888;
  font-weight: 500;
  font-family: var(--font-body);
}


/* ============================================
   SMILE GALLERY CAROUSEL
   ============================================ */
.section-smile-gallery {
  padding: 80px 5%;
  background: #fcf9f6;
  overflow: hidden;
}

.sg-container {
  max-width: 1200px;
  margin: 0 auto;
}

.sg-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
}

.sg-eyebrow {
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.sg-title {
  font-size: clamp(30px, 4.5vw, 46px);
  font-weight: 800;
  line-height: 1.1;
  color: #111;
  letter-spacing: -1px;
}

.sg-view-all {
  color: var(--red);
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
  white-space: nowrap;
  transition: transform 0.2s;
}

.sg-view-all:hover {
  transform: translateX(4px);
}

.sg-carousel-wrapper {
  width: 100%;
}

.sg-carousel-responsive {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  width: 100%;
}

@media (max-width: 900px) {
  .sg-carousel-responsive {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
}

.sg-item {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.sg-stack {
  position: relative;
  width: 100%;
  padding-top: 65%;  /* 65% aspect-ratio â€” landscape style matching mockup */
}

.sg-layer {
  position: absolute;
  border-radius: 18px;
  background: #d5ccc2;
  overflow: hidden;
}

/* Behind shadow layers â€” no image, just a tinted card */
.sg-layer-2 {
  inset: 0;
  transform: rotate(2.5deg) translate(5px, 0px);
  z-index: 2;
  background: #e0d8d0;
}

.sg-layer-3 {
  inset: 0;
  transform: rotate(-2deg) translate(-5px, 2px);
  z-index: 1;
  background: #cac2ba;
}

.sg-card {
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.13);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.35s;
}

.sg-item:hover .sg-card {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.2);
}

.sg-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s;
}

.sg-item:hover .sg-card-img {
  transform: scale(1.04);
}

.sg-pill {
  position: absolute;
  bottom: 12px;
  left: 10px;
  right: 10px;
  z-index: 5;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-radius: 50px;
  padding: 10px 12px 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.sg-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  color: #1a1a1a;
}

.sg-icon {
  font-size: 17px;
  line-height: 1;
}

.sg-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--red);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.sg-arrow:hover {
  transform: scale(1.1);
}

.sg-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.sg-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccc;
  transition: 0.3s;
}

.sg-dot.active {
  width: 24px;
  border-radius: 10px;
  background: var(--red);
}


/* ============================================
   RESPONSIVE â€” Hero & Stats
   ============================================ */
@media (max-width: 900px) {
  .new-hero-container {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .new-hero-content {
    text-align: center;
    padding-bottom: 20px;
  }

  .hero-desc {
    margin: 0 auto 32px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .new-hero-visual {
    height: 420px;
    margin-top: 30px;
  }

  .hero-before-card {
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 540px) {
  .new-hero {
    padding-top: 100px;
  }

  .new-hero-visual {
    height: 340px;
  }

  .new-stats {
    padding-top: 180px; /* Reduced gap on mobile */
  }

  .hero-photo-frame {
    width: 82%;
  }

  .hero-before-card {
    width: 190px;
    bottom: -25px;
  }

  .float-icon {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .stat-box {
    padding: 16px 14px;
    gap: 12px;
  }

  .stat-val {
    font-size: 18px;
  }

  .sg-item {
    width: 270px;
  }

  .sg-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

/* ============================================
   PREMIUM DESKTOP UI OVERRIDES (min-width: 992px)
   Matches reference mockup layout
   ============================================ */
@media (min-width: 992px) {
  /* 1. Header Container Width */
  .navbar {
    max-width: 1240px;
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
  }

  /* 2. Hero Section Layout */
  .new-hero {
    padding: 140px 0 60px;
  }
  .new-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
  }
  .new-hero-content {
    text-align: left;
  }
  .hero-title {
    font-size: 52px;
    line-height: 1.15;
    margin-bottom: 20px;
  }
  .hero-desc {
    font-size: 17px;
    max-width: 500px;
    margin-bottom: 32px;
  }
  .new-hero-visual {
    height: 480px;
    position: relative;
  }
  .hero-photo-frame {
    width: 360px;
    height: 430px;
    border-radius: 180px 180px 30px 30px;
    margin-left: auto;
    margin-right: 20px;
  }
  .hero-deck-container {
    bottom: 0px;
    left: -10px;
    width: 220px;
    height: 250px;
  }

  /* 3. Stats Section â€” Single Horizontal White Bar */
  .new-stats {
    padding: 20px 5% 60px;
    background: transparent;
  }
  .stats-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    background: #ffffff;
    padding: 28px 40px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.04);
  }
  .stat-box {
    border-right: 1px solid #f0f0f0;
    padding-right: 20px;
  }
  .stat-box:last-child {
    border-right: none;
  }

  /* 4. Smile Gallery Section â€” 2 Column Layout (Left Text, Right 3 Grid Cards) */
  .section-smile-gallery {
    padding: 80px 5% !important;
  }
  .sg-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    align-items: center;
  }
  .sg-header-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
    margin-bottom: 0;
  }
  .sg-eyebrow {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--red);
  }
  .sg-title {
    font-size: 38px;
    line-height: 1.2;
  }
  .sg-carousel-responsive {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    overflow: visible;
  }
  .sg-dots {
    display: none !important;
  }
  .sg-item {
    width: 100% !important;
    min-width: 0 !important;
  }

  /* 5. Footer & General Containers */
  .site-footer {
    max-width: 1200px;
    margin: 0 auto;
  }
}
