/* ============================================================
   Dr. Abhishek Dental & Oral Cancer Centre
   style.css — Premium Modern Light Theme (Clean)
   ============================================================ */

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('fonts/cormorant-garamond-v22-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('fonts/cormorant-garamond-v22-latin-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('fonts/cormorant-garamond-v22-latin-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('fonts/cormorant-garamond-v22-latin-600italic.woff2') format('woff2');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('fonts/cormorant-garamond-v22-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('fonts/cormorant-garamond-v22-latin-700italic.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('fonts/cormorant-garamond-v22-latin-800.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('fonts/cormorant-garamond-v22-latin-800italic.woff2') format('woff2');
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

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

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

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--clr-text);
  background: var(--clr-bg);
  line-height: 1.65;
  padding-top: 72px;
}

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 {
  --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;

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

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

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

  --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);

  --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: 700;
  line-height: 1.15;
  color: var(--clr-text);
  margin-bottom: 1.2rem;
}

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

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

.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: 99;
}
.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 {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--clr-border);
  transition: box-shadow var(--dur-med);
}
.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;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.logo-icon {
  width: 40px;
  height: 40px;
  display: inline-block;
  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);
}

.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;
  overflow: hidden;
  display: block;
  max-width: 100%;
  min-height: 0 !important;
  height: auto !important;
}
.hero-slider {
  position: relative;
  max-width: 100%;
  min-height: 0 !important;
  height: auto !important;
}

/* inactive slides: hidden absolutely so they don't take up space */
.hero-slide {
  display: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s var(--ease-out);
}

/* active slide: removed from absolute flow, becomes the real layout block */
.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  align-items: start;
  gap: 2rem;
  padding: 2rem var(--container-px);
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
  overflow-x: hidden;
  height: auto !important;
  min-height: 0 !important;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide > * { position: relative; z-index: 1; }
.hero-bg { position: absolute !important; inset: 0; z-index: 0; grid-column: 1 / -1; grid-row: 1; pointer-events: none; }

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

.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: 0.4rem;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--clr-text);
  margin-bottom: 0.6rem;
}
.hero-title em {
  font-style: italic;
  color: var(--clr-primary);
}

.hero-desc {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
  max-width: 480px;
  margin-bottom: 0.9rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: 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: 30px;
  background: var(--clr-border);
  flex-shrink: 0;
}

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

.hero-circle-bg {
  position: absolute;
  width: 300px;
  height: 300px;
  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: 380px;
  height: 400px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 24px 48px rgba(2,132,199,0.18));
}

.hero-img {
  width: auto;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

#hero-illus-1 { animation: float 6s ease-in-out infinite; }
@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: 2%; animation-delay: -2.5s; }

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

/* Slider controls */
.slider-controls {
  position: relative;
  bottom: auto;
  left: auto;
  transform: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  z-index: 10;
  margin: 0.75rem auto;
}
.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 — desktop only */
.scroll-indicator { display: none; }

/* ── 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: 2rem 0 var(--section-py);
  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;
}
.doctor-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.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);
  line-height: 1.75;
  margin-bottom: 1rem;
  font-weight: 500;
}
.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: 4.5rem 0;
  background: #f8fafc;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.service-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  opacity: 0;
  transform: translateY(30px);
  transition: border-color 0.2s ease, transform 0.2s ease,
              box-shadow 0.2s ease, opacity var(--dur-slow) var(--ease-out);
}
.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.service-card:hover {
  border-color: var(--clr-primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.07);
}
.service-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--dur-med) var(--ease-spring);
}
.service-card:hover .service-icon-wrap { transform: scale(1.1) rotate(-5deg); }
.service-icon-wrap i { font-size: 20px; }
.service-title {
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  margin: 0;
  font-family: var(--font-display);
}
.service-desc {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.65;
  margin: 0;
  flex: 1;
}
.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; }

/* ── 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);
  line-height: 1.75;
  margin-bottom: 2rem;
  font-weight: 500;
}
.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);
  color: var(--clr-primary);
}
.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 */
.why-visual { position: relative; height: 450px; }
.why-cards-stack {
  position: relative;
  height: 100%;
  min-height: 450px;
  border-radius: 20px;
  overflow: hidden;
  background-image: url('bg-img.png');
  background-size: cover;
  background-position: center top;
}
.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;
}
.why-float-card,
.why-center-circle { position: relative; z-index: 1; }

.why-float-card {
  position: relative;
  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);
}
.wcard-icon {
  font-size: 1.5rem;
  color: var(--clr-primary);
}
.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-c {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  box-sizing: border-box;
}
.card-c:hover { transform: translateX(-50%) scale(1.04); }

.why-center-circle {
  position: absolute;
  top: 20px;
  left: 20px;
  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.15), var(--shadow-lg);
  animation: pulseCircle 4s ease-in-out infinite;
}
.card-c.reveal {
  transform: translateX(-50%);
}
/* ── 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;
  background: none;
  padding: 0;
}
.tech-img,
.sterilisation-img,
.smile-design-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg);
}
.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);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.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; }

/* ── GALLERY ─────────────────────────────────────────────── */
.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 ────────────────────────────────────────── */
.testimonials {
  padding: 80px 0 60px;
  background: var(--clr-bg);
}

/* ── 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;
}
.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 {
  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-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;
}

/* ── FOOTER ──────────────────────────────────────────────── */
.footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 5rem 0 0;
}
.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;
}
.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,
.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-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 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; }
.footer-btn { margin-top: 1.2rem; width: 100%; }

/* Nexaflow credit bar */
.nf-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.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 0.2s, border-color 0.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: 16px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.01em;
  white-space: nowrap;
  font-weight: 600;
}
.nf-text span { color: rgba(255,255,255,0.85); font-weight: 600; }
.nf-heart {
  color: #f43f5e;
  font-size: 11px;
  animation: hb 0.9s ease-in-out infinite;
}
@keyframes hb {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.3); }
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 2rem var(--container-px);
  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: 8.5rem;
  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: 5rem;
  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.active {
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
    padding-top: 1.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;
  }

  /* Navbar */
  .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 */
  .hero-card-float { display: flex; }
  .hero-circle-bg { display: none; }
  .card-float-1 {left: +5%;}
  .card-float-2 {right: +5%;}
  .hero-slide.active {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: unset !important;
    padding: 0 1.25rem 2rem 1.25rem;
    gap: 0;
    width: 100%;
    max-width: 100%;
    text-align: center;
  }
.hero-visual {
    order: -1;
    height: 40vh;
    width: 100%;
    overflow: hidden;
    justify-content: center;
    align-items: center;
    padding-top: 0;
    margin-top: 0;
    display: flex;
  }
  .hero-illustration {
    width: auto;
    max-width: 100%;
    height: 40vh;
    margin-top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .hero-content { order: 1; padding-top: 1rem; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; flex-wrap: nowrap; gap: 0.75rem; }
  .stat-num { font-size: 1.4rem; }
  .stat-label { font-size: 0.62rem; }
  .hero-desc { margin: 0 auto 1.2rem; }

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

  /* Services */
  .services-grid { grid-template-columns: 1fr; }

  /* Why */
  .why-grid { grid-template-columns: 1fr; }

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

  /* 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; }

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

@media (max-width: 480px) {
  .hero-title { font-size: 2.4rem; font-weight: 800; }
  .section-title { font-size: 1.9rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 280px; }
}
.section-subtitle,
.about-text,
.why-text,
.why-point p,
.service-desc,
.tech-panel-content p,
.contact-item p,
.footer-tagline {
  color: var(--clr-text);
  font-weight: 500;
}

.footer-text {
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: #ecf1f6;
  font-weight: 500;
}
/* ── PRINT ───────────────────────────────────────────────── */
@media print {
  .navbar, .announce-bar, .float-call, .float-whatsapp,
  .back-to-top, .slider-controls, .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; }
}

@media (max-width: 768px) {
  .section-title em {
    font-style: italic;
    color: var(--clr-primary);
    font-weight: 700 !important;
    -webkit-font-smoothing: antialiased;
  }

  .section-title {
    font-weight: 700 !important;
    -webkit-font-smoothing: antialiased;
  }

  .hero-title {
    font-weight: 800 !important;
    -webkit-font-smoothing: antialiased;
  }
}

.tech-tab i { display: none; }

@media (max-width: 480px) {
  .tech-tabs {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.4rem;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .tech-tabs::-webkit-scrollbar { display: none; }

  .tech-tab {
    flex: 1;
    min-width: 0;
    padding: 0.6rem;
    justify-content: center;
  }

  .tech-tab .tab-label { display: none; }
  .tech-tab i {
    display: inline-block;
    font-size: 1.1rem;
  }
}
.ci-icon i {
  font-size: 1.2rem;
  color: var(--clr-primary);
}
.tech-panel {
  display: none;
  opacity: 0;
}

.tech-panel.active {
  display: flex; /* or block, whatever it currently is */
  animation: panelFadeIn 0.6s ease forwards;
}

.tech-panel.fading {
  display: flex;
  animation: panelFadeOut 0.4s ease forwards;
}

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

@keyframes panelFadeOut {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-8px); }
}

/* ===== FAQ SECTION ===== */
#faq {
  padding: 100px 20px;
  background: #f9f9f9;
}

.faq-container {
  max-width: 860px;
  margin: 0 auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 56px;
}

.faq-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2a7ae4;
  margin-bottom: 12px;
}

.faq-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: #0d1b2a;
  margin-bottom: 14px;
  line-height: 1.2;
}

.faq-header h2 em {
  font-style: italic;
  color: #2a7ae4;
}

.faq-header p {
  font-size: 1rem;
  color: #555;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: #0d1b2a;
  text-align: left;
  font-family: inherit;
  gap: 16px;
  transition: color 0.2s;
}

.faq-question:hover {
  color: #2a7ae4;
}

.faq-question[aria-expanded="true"] {
  color: #2a7ae4;
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f0f5ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #2a7ae4;
  transition: transform 0.3s ease, background 0.2s;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  background: #2a7ae4;
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s ease;
  padding: 0 24px;
}

.faq-answer.open {
  max-height: 300px;
  padding: 0 24px 22px;
}

.faq-answer p {
  font-size: 0.97rem;
  color: #444;
  line-height: 1.75;
  margin: 0;
}

.faq-answer a {
  color: #2a7ae4;
  text-decoration: none;
  font-weight: 500;
}

.faq-answer a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  #faq {
    padding: 70px 16px;
  }

  .faq-question {
    font-size: 0.93rem;
    padding: 18px 16px;
  }

  .faq-answer {
    padding: 0 16px;
  }

  .faq-answer.open {
    padding: 0 16px 18px;
  }
}
