/* ============================================================
   Dr. Abhishek Dental & Oral Cancer Centre
   styles/main.css — Premium Modern Light Theme
   ============================================================ */

/* ── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--clr-text);
  background: var(--clr-bg);
  line-height: 1.65;
  overflow-x: hidden; /* already there, confirm it's present */
}
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

.hero,
.hero-slider,
.hero-slide {
  max-width: 100%;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ── DESIGN TOKENS ────────────────────────────────────────── */
:root {
  /* Core palette — clean aqua-teal with warm ivory base */
  --clr-bg:          #fafcff;
  --clr-bg-soft:     #f0f7ff;
  --clr-bg-card:     #ffffff;
  --clr-primary:     #0284c7;
  --clr-primary-lt:  #e0f2fe;
  --clr-primary-dk:  #0369a1;
  --clr-accent:      #f43f5e;
  --clr-accent-lt:   #ffe4e6;
  --clr-gold:        #f59e0b;
  --clr-text:        #0f172a;
  --clr-text-muted:  #64748b;
  --clr-text-light:  #94a3b8;
  --clr-border:      #e2eaf4;

  /* Typography */
  --font-display:    'Cormorant Garamond', Georgia, serif;
  --font-body:       'DM Sans', system-ui, sans-serif;

  /* Spacing */
  --section-py:      6rem;
  --container-max:   1200px;
  --container-px:    1.5rem;

  /* Radius */
  --radius-sm:       8px;
  --radius-md:       16px;
  --radius-lg:       24px;
  --radius-xl:       36px;

  /* Shadows */
  --shadow-sm:       0 1px 3px rgba(2, 132, 199, 0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:       0 4px 20px rgba(2, 132, 199, 0.12), 0 2px 8px rgba(0,0,0,0.05);
  --shadow-lg:       0 10px 40px rgba(2, 132, 199, 0.15), 0 4px 16px rgba(0,0,0,0.06);
  --shadow-xl:       0 20px 60px rgba(2, 132, 199, 0.18), 0 8px 24px rgba(0,0,0,0.08);

  /* Transitions */
  --ease-out:        cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring:     cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast:        200ms;
  --dur-med:         400ms;
  --dur-slow:        700ms;
}

/* ── UTILITY ──────────────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-primary);
  background: var(--clr-primary-lt);
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--clr-text);
  margin-bottom: 1.2rem;
}

.section-title em {
  font-style: italic;
  color: var(--clr-primary);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--clr-text-muted);
  max-width: 560px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

/* ── REVEAL ANIMATIONS ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 100ms; }
.delay-2 { transition-delay: 200ms; }
.delay-3 { transition-delay: 320ms; }
.delay-4 { transition-delay: 440ms; }

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.65rem 1.5rem;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  transition: opacity var(--dur-fast);
}
.btn:hover::after { opacity: 1; }

.btn-lg { padding: 0.85rem 2rem; font-size: 1rem; }
.btn-full { width: 100%; }

.btn-primary {
  background: var(--clr-primary);
  color: white;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}
.btn-primary:hover {
  background: var(--clr-primary-dk);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.5);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  border-color: var(--clr-primary);
  color: var(--clr-primary);
  background: transparent;
}
.btn-outline:hover {
  background: var(--clr-primary-lt);
  transform: translateY(-1px);
}

.btn-ghost {
  color: var(--clr-primary);
  background: transparent;
  padding-left: 0.5rem;
}
.btn-ghost:hover { letter-spacing: 0.02em; }

.btn-white {
  background: white;
  color: var(--clr-primary);
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.btn-white:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.btn-outline-white {
  border-color: rgba(255,255,255,0.7);
  color: white;
  background: transparent;
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-1px);
}

/* ── ANNOUNCEMENT BAR ────────────────────────────────────── */
.announce-bar {
  background: var(--clr-primary);
  color: white;
  text-align: center;
  padding: 0.5rem 3rem;
  font-size: 0.82rem;
  font-weight: 500;
  position: relative;
  z-index: 200;
}
.announce-bar a { color: rgba(255,255,255,0.9); text-decoration: underline; }
.announce-close {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  opacity: 0.7;
  font-size: 0.85rem;
  padding: 0.25rem;
  transition: opacity var(--dur-fast);
}
.announce-close:hover { opacity: 1; }
.announce-bar.hidden { display: none; }

/* ── NAVBAR ───────────────────────────────────────────────── */

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 72px;
}

.announce-bar {
  position: relative;
  z-index: 101;
}

.navbar {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  transition: transform 0.3s ease, box-shadow 0.4s !important;
  z-index: 100;
}

body {
  padding-top: 72px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.logo-icon {
  display: inline-block;
  width: 40px;  /* adjust to your size */
  height: 40px;
  vertical-align: middle;
}

.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--clr-primary);
}
.logo-sub {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--clr-text-muted);
  letter-spacing: 0.03em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-item {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--clr-text);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: color var(--dur-fast), background var(--dur-fast);
  position: relative;
}
.nav-item:hover, .nav-item.active {
  color: var(--clr-primary);
  background: var(--clr-primary-lt);
}

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { display: flex; align-items: center; gap: 0.3rem; }
.dropdown-arrow { font-size: 0.7rem; transition: transform var(--dur-fast); }
.nav-dropdown:hover .dropdown-arrow,
.nav-dropdown.open .dropdown-arrow { transform: rotate(180deg); }

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  z-index: 50;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu { display: block; animation: dropIn 200ms var(--ease-out); }

@keyframes dropIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-8px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.dropdown-menu li a {
  display: block;
  padding: 0.55rem 0.9rem;
  font-size: 0.85rem;
  color: var(--clr-text);
  border-radius: var(--radius-sm);
  transition: background var(--dur-fast), color var(--dur-fast);
}
.dropdown-menu li a:hover {
  background: var(--clr-primary-lt);
  color: var(--clr-primary);
}

.nav-cta { margin-left: 0.75rem; flex-shrink: 0; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.4rem;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: all var(--dur-fast) var(--ease-out);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero-slider { flex: 1; position: relative; }

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s var(--ease-out);
}
.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
  display: flex;
}
.hero-slide.exiting {
  animation: slideOut 0.6s var(--ease-out) forwards;
}
.hero-slide.entering {
  animation: slideIn 0.6s var(--ease-out) forwards;
}

@keyframes slideOut {
  to { opacity: 0; transform: translateX(-60px); }
}
@keyframes slideIn {
  from { opacity: 0; transform: translateX(60px); }
  to   { opacity: 1; transform: translateX(0); }
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide > * { position: relative; z-index: 1; }

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-slide {
  padding: 0.5rem var(--container-px) 5rem;
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-primary);
  background: var(--clr-primary-lt);
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.2rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 8vw, 6.5rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--clr-text);
  margin-bottom: 1.4rem;
  letter-spacing: -0.02em;
}
.hero-title em {
  font-style: italic;
  color: var(--clr-primary);
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: nowrap; /* change wrap to nowrap */
}
.stat { text-align: center; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--clr-primary);
}
.stat-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--clr-text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--clr-border);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-circle-bg {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--clr-primary-lt) 0%, transparent 70%);
  z-index: 0;
  animation: pulseCircle 4s ease-in-out infinite;
}
@keyframes pulseCircle {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50%       { transform: scale(1.06); opacity: 1; }
}

.hero-illustration {
  width: 500px;
  height: 580px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 24px 48px rgba(2,132,199,0.18));
  margin-top: 60px;
}

#hero-illus-1,
#hero-illus-2 {
  animation: float 6s ease-in-out infinite;
}

#painfree-illustration {
  animation: none;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-16px); }
}

.hero-card-float {
  position: absolute;
  z-index: 2;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--clr-text);
  white-space: nowrap;
  animation: floatCard 5s ease-in-out infinite;
}
.float-icon { font-size: 1.1rem; }

.card-float-1 { top: 15%; left: -10%; animation-delay: -1s; }
.card-float-2 { bottom: 20%; right: -8%; animation-delay: -2.5s; }

@keyframes floatCard {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50%       { transform: translateY(-10px) rotate(1deg); }
}

/* Slider controls */
.slider-controls {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 10;
}
.slider-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-sm);
  font-size: 1.3rem;
  color: var(--clr-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur-fast);
}
.slider-btn:hover {
  background: var(--clr-primary);
  color: white;
  border-color: var(--clr-primary);
  transform: scale(1.05);
}
.slider-dots { display: flex; gap: 0.5rem; }
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clr-border);
  border: none;
  transition: all var(--dur-med);
  cursor: pointer;
}
.dot.active {
  background: var(--clr-primary);
  width: 24px;
  border-radius: 4px;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  right: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  z-index: 10;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--clr-primary), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── TRUST STRIP ─────────────────────────────────────────── */

.trust-strip {
  background: white;
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  padding: 0.5rem 0;
  overflow: hidden;
}

.trust-items {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  justify-content: center;
}

.trust-sep { display: none; }

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--clr-text);
  white-space: nowrap;
  background: var(--clr-bg-soft);
  border: 1px solid var(--clr-border);
  border-radius: 8px;
  padding: 0.3rem 0.6rem;
}

.trust-icon-wrap {
  width: 22px;
  height: 22px;
  background: var(--clr-primary-lt);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-primary);
  flex-shrink: 0;
}

.trust-icon-wrap svg {
  width: 12px;
  height: 12px;
}

/* ── ABOUT SECTION ───────────────────────────────────────── */
.about {
  padding: var(--section-py) 0;
  background: var(--clr-bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 5rem;
  align-items: center;
}

.about-img-wrap {
  position: relative;
  max-width: 400px;
}

.about-img-placeholder {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4/5;
}
.about-img-placeholder svg { width: 100%; height: 100%; }

.about-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--clr-primary);
  color: white;
  border-radius: var(--radius-md);
  padding: 1rem 1.4rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite 1s;
}
.badge-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
}
.badge-text {
  font-size: 0.7rem;
  font-weight: 500;
  opacity: 0.9;
  line-height: 1.3;
}

.about-content { padding-left: 1rem; }

.about-text {
  font-size: 1rem;
  color: var(--clr-text-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.about-features {
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.about-features li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--clr-text);
}
.feat-check {
  width: 22px;
  height: 22px;
  background: var(--clr-primary-lt);
  color: var(--clr-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

.about-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

/* ── SERVICES SECTION ────────────────────────────────────── */
.services {
  padding: var(--section-py) 0;
  background: var(--clr-bg-soft);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--clr-bg-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-med) var(--ease-out),
              box-shadow var(--dur-med) var(--ease-out),
              border-color var(--dur-med);
  cursor: default;
  opacity: 0;
  transform: translateY(30px);
}
.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.service-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--shadow-xl);
  border-color: var(--clr-primary);
}

.service-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--icon-color) 12%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  transition: transform var(--dur-med) var(--ease-spring);
}
.service-card:hover .service-icon-wrap {
  transform: scale(1.1) rotate(-5deg);
}
.service-icon { font-size: 1.6rem; line-height: 1; }

.service-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: 0.6rem;
  line-height: 1.25;
}

.service-desc {
  font-size: 0.88rem;
  color: var(--clr-text-muted);
  line-height: 1.65;
  margin-bottom: 1.2rem;
}

.service-link {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--clr-primary);
  letter-spacing: 0.01em;
  transition: gap var(--dur-fast), letter-spacing var(--dur-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.service-link:hover { letter-spacing: 0.03em; }

/* ── WHY CHOOSE US ───────────────────────────────────────── */
.why-us {
  padding: var(--section-py) 0;
  background: white;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.why-text {
  font-size: 1.05rem;
  color: var(--clr-text-muted);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.why-points {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.why-point {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.why-point-icon {
  width: 44px;
  height: 44px;
  background: var(--clr-bg-soft);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  border: 1px solid var(--clr-border);
}
.why-point h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: 0.2rem;
}
.why-point p {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
}

/* Why visual stack */
.why-visual { position: relative; height: 400px; }
.why-cards-stack { position: relative; height: 100%; }

.why-float-card {
  position: absolute;
  background: white;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-lg);
  transition: transform var(--dur-med) var(--ease-spring);
}
.why-float-card:hover { transform: scale(1.04); }
.wcard-icon { font-size: 2rem; }
.wcard-info { display: flex; flex-direction: column; }
.wcard-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--clr-primary);
  line-height: 1;
}
.wcard-label { font-size: 0.78rem; color: var(--clr-text-muted); font-weight: 500; }

.card-a { top: 5%;  left: 0;   animation: floatCard 7s ease-in-out infinite 0s; }
.card-b { top: 35%; right: 0;  animation: floatCard 7s ease-in-out infinite 1.5s; }
.card-c { bottom: 5%; left: 10%; animation: floatCard 7s ease-in-out infinite 3s; }

.why-center-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--clr-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  box-shadow: 0 0 0 12px rgba(2, 132, 199, 0.1), var(--shadow-lg);
  z-index: 2;
  animation: pulseCircle 4s ease-in-out infinite;
}

/* ── TECHNOLOGY SECTION ──────────────────────────────────── */
.technology {
  padding: var(--section-py) 0;
  background: var(--clr-bg-soft);
}

.tech-tabs {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.tech-tab {
  padding: 0.6rem 1.4rem;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--clr-text-muted);
  background: white;
  border: 1.5px solid var(--clr-border);
  transition: all var(--dur-fast);
  cursor: pointer;
}
.tech-tab:hover {
  color: var(--clr-primary);
  border-color: var(--clr-primary);
  background: var(--clr-primary-lt);
}
.tech-tab.active {
  background: var(--clr-primary);
  color: white;
  border-color: var(--clr-primary);
  box-shadow: 0 4px 14px rgba(2,132,199,0.35);
}

.tech-panels { position: relative; }

.tech-panel {
  display: none;
  animation: panelFade 400ms var(--ease-out);
}
.tech-panel.active { display: block; }

@keyframes panelFade {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.tech-panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--clr-border);
}

.tech-panel-img { padding: 3rem; }
.tech-img-placeholder {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tech-img-placeholder svg { width: 100%; height: 100%; }

.tech-panel-content { padding: 3rem 3rem 3rem 0; }
.tech-panel-content h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: 1rem;
}
.tech-panel-content p {
  font-size: 0.95rem;
  color: var(--clr-text-muted);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.tech-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.tech-features li {
  font-size: 0.88rem;
  color: var(--clr-text);
  font-weight: 500;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--clr-border);
}
.tech-features li:last-child { border: none; }

/* ── TESTIMONIALS ────────────────────────────────────────── */
.testimonials {
  padding: var(--section-py) 0;
  background: var(--clr-bg);
}

.testimonials-slider {
  overflow: hidden;
  margin: 0 -0.5rem;
}
.testimonials-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s var(--ease-out);
  padding: 1rem 0.5rem;
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 1rem);
  min-width: 280px;
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: box-shadow var(--dur-med);
}
.testimonial-card:hover { box-shadow: var(--shadow-lg); }

.test-quote {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: var(--clr-primary-lt);
  line-height: 0.8;
  margin-bottom: 1rem;
  user-select: none;
}

.test-text {
  font-size: 0.92rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.test-footer {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.test-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--clr-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.test-name {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--clr-text);
  font-style: normal;
}
.test-area {
  display: block;
  font-size: 0.75rem;
  color: var(--clr-text-muted);
}
.test-stars {
  margin-left: auto;
  color: var(--clr-gold);
  font-size: 0.85rem;
  letter-spacing: -1px;
}

.test-nav {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
}
.test-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: white;
  border: 1.5px solid var(--clr-border);
  box-shadow: var(--shadow-sm);
  font-size: 1.4rem;
  color: var(--clr-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur-fast);
}
.test-btn:hover {
  background: var(--clr-primary);
  color: white;
  border-color: var(--clr-primary);
  transform: scale(1.05);
}

/* ── CTA BAND ────────────────────────────────────────────── */
.cta-band {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-primary-dk) 100%);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}
.cta-band::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}

.cta-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-text {
  color: white;
}
.cta-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 0.5rem;
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 0.5rem;
}
.cta-title em { font-style: italic; }
.cta-text p {
  font-size: 0.95rem;
  opacity: 0.85;
}
.cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* ── CONTACT SECTION ─────────────────────────────────────── */
.contact {
  padding: var(--section-py) 0;
  background: var(--clr-bg-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: stretch;
}

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

.map-embed {
  flex: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--clr-border);
  min-height: 200px;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  border-radius: 12px;
}

.contact-info h3,
.contact-form-wrap h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: 1.5rem;
}

.contact-items { display: flex; flex-direction: column; gap: 1.2rem; margin-bottom: 2rem; }
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.ci-icon {
  font-size: 1.2rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.contact-item strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--clr-text-muted);
  margin-bottom: 0.2rem;
}
.contact-item p {
  font-size: 0.92rem;
  color: var(--clr-text);
  line-height: 1.55;
}
.contact-item p em { color: var(--clr-text-muted); font-size: 0.82rem; }
.contact-item a { color: var(--clr-primary); font-weight: 500; }
.contact-item a:hover { text-decoration: underline; }

.map-embed { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--clr-border); }

/* Form */
.contact-form-wrap {
  background: white;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--clr-border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--clr-text);
}

.required { color: var(--clr-accent); }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--clr-text);
  background: var(--clr-bg);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
  background: white;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--clr-text-light); }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-group select { cursor: pointer; }

.form-privacy {
  font-size: 0.75rem;
  color: var(--clr-text-muted);
  text-align: center;
  margin-top: 0.75rem;
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  color: #16a34a;
  font-weight: 600;
}
.form-success.visible { display: block; }

/* ── FOOTER ──────────────────────────────────────────────── */
.footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}
.footer-logo div { display: flex; flex-direction: column; }
.footer-logo-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: white;
  line-height: 1.1;
}
.footer-logo-sub { font-size: 0.63rem; color: #64748b; line-height: 1.2; }

.footer-tagline {
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}
.social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  transition: all var(--dur-fast);
}
.social-link:hover {
  background: var(--clr-primary);
  border-color: var(--clr-primary);
  color: white;
  transform: translateY(-2px);
}

.footer-nav h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: white;
  margin-bottom: 1.2rem;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-nav li a {
  font-size: 0.85rem;
  color: #64748b;
  transition: color var(--dur-fast);
}
.footer-nav li a:hover { color: var(--clr-primary); }

.footer-contact-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: white;
  margin-bottom: 1.2rem;
}
.footer-contact-col p {
  font-size: 0.83rem;
  margin-bottom: 0.65rem;
  line-height: 1.5;
}
.footer-contact-col a { color: #94a3b8; }
.footer-contact-col a:hover { color: var(--clr-primary); }
.footer-hours { font-size: 0.78rem; color: #475569; margin-top: 0.3rem !important; }
.footer-btn { margin-top: 1.2rem; width: 100%; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.78rem; color: #475569; }
.footer-bottom nav {
  display: flex;
  gap: 1.5rem;
}
.footer-bottom nav a {
  font-size: 0.78rem;
  color: #475569;
  transition: color var(--dur-fast);
}
.footer-bottom nav a:hover { color: var(--clr-primary); }

/* ── FLOATING BUTTONS ────────────────────────────────────── */
.float-call {
  position: fixed;
  bottom: 7rem;
  right: 1.5rem;
  background: var(--clr-primary);
  color: white;
  border-radius: 100px;
  padding: 0.65rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(2,132,199,0.4);
  z-index: 50;
  transition: all var(--dur-fast) var(--ease-spring);
  white-space: nowrap;
}
.float-call:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 6px 24px rgba(2,132,199,0.55);
}

.float-whatsapp {
  position: fixed;
  bottom: 4rem;
  right: 1.5rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.45);
  z-index: 50;
  transition: all var(--dur-fast) var(--ease-spring);
}
.float-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,0.6);
}

.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: white;
  border: 1.5px solid var(--clr-border);
  color: var(--clr-primary);
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  z-index: 50;
  transition: all var(--dur-fast) var(--ease-spring);
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}
.back-to-top:hover {
  background: var(--clr-primary);
  color: white;
  transform: translateY(-2px);
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --section-py: 4.5rem; }

  .hero-slide {
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  padding-top: 0.5rem;
}

  .about-grid,
  .why-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual { max-width: 380px; margin: 0 auto; }
  .about-badge { right: 0; }
  .about-content { padding-left: 0; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .tech-panel-grid {
    grid-template-columns: 1fr;
  }
  .tech-panel-img { padding: 2rem 2rem 0; }
  .tech-panel-content { padding: 2rem; }

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

@media (max-width: 768px) {
  :root {
    --section-py: 3.5rem;
    --container-px: 1.25rem;
  }

  @media (max-width: 768px) {
  .hero-card-float {
    display: none;
  }
}
@media (max-width: 768px) {
  #painfree-illustration,
  #painfree-illustration * {
    animation: none !important;
    transform: none !important;
  }
}

.slider-controls {
  position: relative;
  bottom: auto;
  left: auto;
  transform: none;
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .hero-slide {
    display: flex;
    flex-direction: column;
  }

  .hero-visual {
    display: flex;
    order: -1;
    height: 45vh;
    overflow: hidden;
    justify-content: center;
    align-items: center;
  }

  .hero-illustration {
    width: 100%;
    height: 45vh;
    margin-top: 0;
    object-fit: contain;
  }

  .hero-content {
    order: 1;
  }
}

.hero-stats {
  flex-wrap: nowrap;
  gap: 0.75rem;
  justify-content: center;
}

.stat-num {
  font-size: 1.4rem;
}

.stat-label {
  font-size: 0.62rem;
}

.stat-divider {
  height: 30px;
  flex-shrink: 0;
}

.hero {
  min-height: auto;
}

.hero-slider {
  min-height: auto;
}

.hero-slide {
  min-height: auto;
  padding-bottom: 2rem;
}

  /* Nav mobile */
  .nav-cta { display: none; }
  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    inset: 0;
    top: 72px;
    background: rgba(250,252,255,0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.5rem;
    gap: 0;
    transform: translateX(-100%);
    transition: transform var(--dur-med) var(--ease-out);
    z-index: 90;
    overflow-y: auto;
  }
  .nav-links.open { transform: translateX(0); }

  .nav-item {
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 1.05rem;
    border-radius: var(--radius-sm);
  }

  .nav-dropdown { width: 100%; }
  .nav-dropdown-toggle { width: 100%; justify-content: space-between; }
  .dropdown-menu {
    position: static;
    transform: none;
    display: none;
    box-shadow: none;
    border-color: transparent;
    padding-left: 1rem;
    background: var(--clr-bg-soft);
    border-radius: var(--radius-sm);
    margin-top: 0.3rem;
  }
  .nav-dropdown.open .dropdown-menu { display: block; }

  /* Hero mobile */
.hero-slide {
  grid-template-columns: 1fr;
  padding: 0.1rem 1.5rem 4rem 1.5rem;
  text-align: center;
  flex-direction: column;
  display: flex;
  margin: 0;
  width: 100%;
  max-width: 100%;
}
 .hero-visual {
  display: flex;
  order: -1;
  height: 45vh;
  overflow: hidden;
  justify-content: center;
  align-items: center;
}
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-desc { margin: 0 auto 2rem; }

  /* Trust strip */
  .trust-sep { display: none; }
  .trust-items { gap: 0.75rem 1.5rem; }

  /* About */
  .about-grid { gap: 2.5rem; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }
#painfree-illustration img {
  animation: none !important;
}

#painfree-illustration {
  animation: none !important;
}
.hero-circle-bg {
  display: none;
}

.hero-visual {
  height: 40vh;
  padding-top: 0;
  margin-top: 0;
}

.hero-slide {
  grid-template-columns: 1fr;
  display: flex !important;
  flex-direction: column !important;
  padding: 0 1.5rem 2rem 1.5rem;
  gap: 0;
  margin: 0;
  width: 100%;
  max-width: 100%;
}

.hero-content {
  order: 1;
  padding-top: 1rem;
}

.hero-illustration {
  width: 100%;
  height: 40vh;
  margin-top: 0 !important;
  object-fit: contain;
}

.hero-circle-bg {
  display: none;
}
 /* Why */
.why-visual { display: block; }
.why-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }

  /* Tech */
  .tech-tabs { flex-direction: column; align-items: center; }

  /* Testimonials */
  .testimonial-card { flex: 0 0 85vw; }

  /* CTA */
  .cta-content { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }

  /* Contact */
  .contact-form-wrap { padding: 1.75rem; }
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Floats */
  .float-call span { display: none; }
  .float-call {
    padding: 0.75rem;
    border-radius: 50%;
    bottom: 8.5rem;
  }
  .float-whatsapp { bottom: 5rem; }
  .back-to-top { bottom: 1.5rem; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.8rem; font-weight: 800 !important; }
  .section-title { font-size: 1.9rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 280px; }
}

/* ── PRINT ───────────────────────────────────────────────── */
@media print {
  .navbar, .announce-bar, .float-call, .float-whatsapp, .back-to-top,
  .slider-controls, .scroll-indicator, .cta-band, .footer { display: none; }
  .hero { min-height: auto; }
}

/* ── REDUCED MOTION ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* new from here*/

.hero-img,
.doctor-img,
.tech-img,
.badge-img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.tech-img-placeholder {
  background: none;
  padding: 0;
}

/* ── FIX: Desktop hero gap ─── */
@media (min-width: 769px) {
  .hero,
  .hero-slider {
    min-height: auto !important;
  }

  .hero-slide.active {
    min-height: auto !important;
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  .hero-visual {
    height: auto !important;
    min-height: auto !important;
  }

  .hero-illustration {
    width: 380px !important;
    height: 400px !important;
    margin-top: 0 !important;
  }

  .hero-circle-bg {
    width: 280px !important;
    height: 280px !important;
  }

  .slider-controls {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    margin: 0.75rem auto !important;
  }

  .scroll-indicator {
    display: none !important;
  }
}

.about {
  padding-top: 2rem !important;
}
@media (min-width: 769px) {
  .hero-title {
    font-size: clamp(2.8rem, 6vw, 4.5rem) !important;
    margin-bottom: 0.8rem !important;
  }

  .hero-eyebrow {
    margin-bottom: 0.6rem !important;
  }

  .hero-desc {
    font-size: 0.95rem !important;
    margin-bottom: 1.2rem !important;
  }

  .hero-actions {
    margin-bottom: 1.5rem !important;
  }

  .hero-stats {
    gap: 1rem !important;
  }

  .hero-slide {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
    gap: 2rem !important;
  }

  .hero-illustration {
    width: 380px !important;
    height: 400px !important;
    margin-top: 0 !important;
  }

  .hero-circle-bg {
    width: 300px !important;
    height: 300px !important;
  }

  .slider-controls {
    margin-top: 0.5rem !important;
    margin-bottom: 0 !important;
  }
}
.navbar {
  transition: transform 0.3s ease, box-shadow 0.4s, background 0.4s !important;
}

.announce-bar {
  position: relative;
  z-index: 99;
}

.navbar {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  transform: none !important;
  transition: box-shadow 0.4s !important;
  z-index: 100;
  background: #ffffff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body {
  padding-top: 72px;
}

/* Services Section */
.services {
  padding: 4.5rem 0;
  background: #f8fafc;
}

.section-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0ea5e9;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.section-subtitle {
  font-size: 1rem;
  color: #64748b;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

/* Card */
.service-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  border-color: #cbd5e1;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
}

/* Icon Wrap */
.service-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-icon-wrap i {
  font-size: 20px;
}

/* Text */
.service-title {
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  margin: 0;
}

.service-desc {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

/* Link */
.service-link {
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 0.25rem;
  width: fit-content;
  transition: gap 0.2s ease;
}

.service-link:hover {
  gap: 8px;
}

.service-link i {
  font-size: 11px;
}

  .nf-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: #0a0a0f;
  }
  .nf-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 100px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    text-decoration: none;
    transition: background .2s, border-color .2s;
  }
  .nf-badge:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.15);
  }
  .nf-logo {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
  }
  .nf-text {
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    letter-spacing: 0.01em;
    white-space: nowrap;
  }
  .nf-text span {
    color: rgba(255,255,255,0.85);
    font-weight: 600;
  }
  .nf-heart {
    color: #f43f5e;
    font-size: 11px;
    animation: hb .9s ease-in-out infinite;
  }
  @keyframes hb {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
  }

  .why-cards-stack {
  background-image: url('bg-img.png');
  background-size: cover;
  background-position: center top;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

/* Dark overlay so the cards stay readable */
.why-cards-stack::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.45),
    rgba(0, 0, 0, 0.6)
  );
  border-radius: inherit;
  z-index: 0;
}

/* Make sure cards sit above the overlay */
.why-float-card,
.why-center-circle {
  position: relative;
  z-index: 1;
}

.why-cards-stack {
  position: relative;
  min-height: 450px;
}

.why-center-circle {
  position: absolute;
  top: 20px;
  left: 20px;
}

.why-float-card.card-c {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px); /* full width minus 20px padding each side */
}

.why-float-card.card-c {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  box-sizing: border-box;
  animation: none; /* remove the drifting animation */
}

.why-float-card.card-c:hover {
  transform: translateX(-50%) scale(1.04); /* keep center while scaling */
}

.why-cards-stack {
  overflow: hidden; /* already set — keep this */
  min-height: 450px;
}

gallery {
  padding: 4.5rem 0;
  overflow: hidden;
}

.carousel-track-wrap {
  position: relative;
  overflow: hidden;
  -webkit-mask: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.carousel-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: scrollLeft 28s linear infinite;
}

.carousel-track:hover {
  animation-play-state: paused;
}

@keyframes scrollLeft {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.gallery-card {
  width: 260px;
  height: 200px;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  cursor: pointer;
  background: #1e1e2e;
}

.gallery-card img,
.gallery-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-card:hover img,
.gallery-card:hover video {
  transform: scale(1.06);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 10px 14px;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-card:hover .card-overlay {
  opacity: 1;
}

.card-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.12);
  padding: 3px 9px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

.card-icon {
  color: white;
  font-size: 18px;
}

.play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 36px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
  pointer-events: none;
}
.testimonials {
  padding-top: 80px;
  padding-bottom: 60px;
}