/* ============================================================
   KANPUR DENTAL CARE & IMPLANT CENTRE
   Global Design System — style.css
   Author: Elite Web Agency | Version 1.0
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
  /* Primary Palette */
  --primary:           #0ABFB8;
  --primary-dark:      #078F8A;
  --primary-light:     #3DD6CF;
  --primary-glow:      rgba(10, 191, 184, 0.25);
  --primary-glow-sm:   rgba(10, 191, 184, 0.10);

  /* Accent */
  --gold:              #F5C842;
  --gold-dark:         #D4A017;
  --gold-glow:         rgba(245, 200, 66, 0.25);

  /* Backgrounds */
  --bg-dark:           #060B14;
  --bg-surface:        #0D1526;
  --bg-card:           #111E35;
  --bg-glass:          rgba(13, 21, 38, 0.78);
  --bg-glass-light:    rgba(13, 21, 38, 0.50);

  /* Text */
  --text-primary:      #EEF6FF;
  --text-secondary:    #8BA4C0;
  --text-muted:        #4A6080;

  /* Borders */
  --border:            rgba(10, 191, 184, 0.18);
  --border-card:       rgba(10, 191, 184, 0.09);
  --grid-line:         rgba(10, 191, 184, 0.055);

  /* Typography */
  --font-display:      'Outfit', sans-serif;
  --font-body:         'Inter', sans-serif;

  /* Spacing */
  --section-py:        6rem;
  --container-max:     1280px;
  --container-px:      2rem;

  /* Radius */
  --radius-sm:         0.5rem;
  --radius-md:         0.875rem;
  --radius-lg:         1.25rem;
  --radius-xl:         1.75rem;
  --radius-2xl:        2.5rem;
  --radius-pill:       999px;

  /* Shadows */
  --shadow-glow:       0 0 30px var(--primary-glow);
  --shadow-glow-lg:    0 0 60px var(--primary-glow);
  --shadow-card:       0 8px 32px rgba(0, 0, 0, 0.40);
  --shadow-card-hover: 0 20px 60px rgba(0, 0, 0, 0.55);

  /* Transitions */
  --t-fast:   0.18s ease;
  --t-mid:    0.32s ease;
  --t-slow:   0.6s cubic-bezier(0.16, 1, 0.3, 1);

  /* Nav */
  --nav-h: 80px;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

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

/* ============================================================
   3. AMBIENT BACKGROUND
   ============================================================ */
/* Faded dot-grid */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle, var(--grid-line) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* Subtle teal vignette radials */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 10% 10%, rgba(10,191,184,0.04), transparent),
    radial-gradient(ellipse 60% 40% at 90% 90%, rgba(10,191,184,0.05), transparent);
  pointer-events: none;
  z-index: 0;
}

#particle-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* ============================================================
   4. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

.gradient-text {
  background: linear-gradient(135deg, #3DD6CF, #0ABFB8, #00E5FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.display-xl { font-size: clamp(2.5rem, 6vw, 5rem);   font-weight: 800; }
.display-lg { font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 700; }
.display-md { font-size: clamp(1.5rem, 3vw, 2.25rem);font-weight: 700; }

/* ============================================================
   5. LAYOUT
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
  position: relative;
  z-index: 1;
}

.section { padding: var(--section-py) 0; position: relative; z-index: 1; }

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-glow-sm);
  border: 1px solid var(--border);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

.section-tag::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
  display: inline-block;
  animation: pulse-dot 2s ease-in-out infinite;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Flex helpers */
.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col     { display: flex; flex-direction: column; }
.gap-1 { gap: 0.5rem; } .gap-2 { gap: 1rem; } .gap-3 { gap: 1.5rem; } .gap-4 { gap: 2rem; }

/* ============================================================
   6. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.875rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: all var(--t-mid);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  white-space: nowrap;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: white;
  opacity: 0;
  transition: opacity var(--t-fast);
}
.btn:hover::after { opacity: 0.06; }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 4px 20px var(--primary-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px var(--primary-glow); }

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: var(--primary-glow-sm); border-color: var(--primary); transform: translateY(-2px); }

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  box-shadow: 0 4px 18px rgba(37,211,102,0.30);
}
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37,211,102,0.42); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #1a1000;
  font-weight: 700;
  box-shadow: 0 4px 20px var(--gold-glow);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 32px var(--gold-glow); }

.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.82rem; }

/* ============================================================
   7. CARDS & SURFACES
   ============================================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--t-mid);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-glow), transparent);
  opacity: 0;
  transition: opacity var(--t-mid);
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--border);
  box-shadow: var(--shadow-card-hover), 0 0 40px var(--primary-glow-sm);
}
.card:hover::before { opacity: 1; }

.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

/* ============================================================
   8. NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: all var(--t-mid);
}

.navbar.scrolled {
  background: rgba(6, 11, 20, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
  gap: 1.5rem;
}

.nav-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 0 10px var(--primary-glow));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
  justify-content: center;
}

.nav-link {
  padding: 0.45rem 0.875rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--t-fast);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--primary); background: var(--primary-glow-sm); }

.nav-actions { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }

/* Language Toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 3px;
  gap: 2px;
}

.lang-btn {
  padding: 0.275rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--t-fast);
  cursor: pointer;
  letter-spacing: 0.04em;
}
.lang-btn.active { background: var(--primary); color: white; box-shadow: 0 2px 10px var(--primary-glow); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background var(--t-fast);
  flex-shrink: 0;
}
.hamburger:hover { background: var(--primary-glow-sm); }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: all var(--t-mid); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Drawer */
.mobile-nav {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(6, 11, 20, 0.97);
  backdrop-filter: blur(30px);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem var(--container-px);
  transform: translateY(-110%);
  transition: transform var(--t-slow);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.mobile-nav.open { transform: translateY(0); }
.mobile-nav .nav-link { display: block; padding: 0.875rem 1rem; font-size: 1rem; border-radius: var(--radius-md); }
.mobile-nav .nav-actions { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); flex-direction: row; flex-wrap: wrap; }

/* ============================================================
   9. HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg-img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.hero-bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    110deg,
    rgba(6,11,20,0.95) 0%,
    rgba(6,11,20,0.80) 45%,
    rgba(6,11,20,0.50) 70%,
    rgba(6,11,20,0.30) 100%
  );
}
.hero-bg-overlay-right {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(6,11,20,0.9) 0%, transparent 100%);
}

.hero-content { position: relative; z-index: 2; max-width: 680px; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1.25rem;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.85;
  max-width: 540px;
}

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

.hero-stats { margin-top: 3.5rem; display: flex; gap: 3rem; flex-wrap: wrap; }
.hero-stat { display: flex; flex-direction: column; gap: 0.25rem; }
.hero-stat-num { font-size: 2rem; font-weight: 800; color: var(--primary); font-family: var(--font-display); line-height: 1; }
.hero-stat-label { font-size: 0.72rem; color: var(--text-secondary); font-weight: 500; letter-spacing: 0.04em; }

/* Anniversary Badge on Hero */
.anniversary-badge {
  position: absolute;
  top: 2rem; right: 2rem;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #F5C842, #D4A017, #F5C842, #FFE066, #D4A017, #F5C842);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #1a1000;
  text-align: center;
  box-shadow: 0 0 0 3px rgba(245,200,66,0.4), 0 0 0 7px rgba(245,200,66,0.12), 0 0 40px rgba(245,200,66,0.35);
  animation: anniversary-pulse 3.5s ease-in-out infinite;
  z-index: 10;
  cursor: default;
}
.anniversary-badge .num { font-size: 1.9rem; font-weight: 900; font-family: var(--font-display); line-height: 1; }
.anniversary-badge .sub { font-size: 0.52rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; line-height: 1.3; margin-top: 2px; }

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: scroll-bounce 2.5s ease-in-out infinite;
  z-index: 2;
}
.scroll-mouse { width: 22px; height: 36px; border: 2px solid rgba(10,191,184,0.4); border-radius: 11px; display: flex; justify-content: center; padding-top: 5px; }
.scroll-wheel { width: 3px; height: 7px; background: var(--primary); border-radius: 2px; animation: scroll-wheel-anim 2s ease-in-out infinite; }

/* ============================================================
   10. TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

/* Fade edges */
.trust-bar::before, .trust-bar::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.trust-bar::before { left: 0; background: linear-gradient(to right, var(--bg-surface), transparent); }
.trust-bar::after  { right: 0; background: linear-gradient(to left, var(--bg-surface), transparent); }

.trust-ticker { display: flex; gap: 2.5rem; animation: ticker-scroll 28s linear infinite; white-space: nowrap; width: max-content; }
.trust-item { display: flex; align-items: center; gap: 0.6rem; font-size: 0.82rem; font-weight: 500; color: var(--text-secondary); flex-shrink: 0; }
.trust-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--primary); flex-shrink: 0; }

/* ============================================================
   11. ABOUT SNIPPET
   ============================================================ */
.about-snippet-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 5rem;
  align-items: center;
}

.about-img-wrapper { position: relative; }
.about-img {
  width: 100%;
  border-radius: var(--radius-xl);
  object-fit: cover;
  aspect-ratio: 3/4;
  max-height: 580px;
  box-shadow: var(--shadow-card), 0 0 60px var(--primary-glow-sm);
  border: 1px solid var(--border);
}

.about-img-badge {
  position: absolute;
  bottom: 2rem; left: -2rem;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-card);
}
.about-img-badge .icon { font-size: 2rem; }
.about-img-badge .badge-text strong { display: block; font-size: 1.25rem; font-family: var(--font-display); color: var(--primary); }
.about-img-badge .badge-text span { font-size: 0.72rem; color: var(--text-secondary); }

.qual-list { display: flex; flex-direction: column; gap: 0.75rem; margin: 2rem 0; }
.qual-item {
  display: flex; align-items: center; gap: 0.875rem;
  padding: 0.875rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  transition: all var(--t-fast);
}
.qual-item:hover { border-color: var(--primary); background: var(--primary-glow-sm); }
.qual-icon { width: 34px; height: 34px; border-radius: 50%; background: var(--primary-glow-sm); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; color: var(--primary); }
.qual-text { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.5; }
.qual-text strong { color: var(--text-primary); display: block; font-size: 0.9rem; }

/* ============================================================
   12. SERVICES BENTO GRID
   ============================================================ */
.services-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  grid-auto-rows: minmax(160px, auto);
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  cursor: pointer;
  transition: all var(--t-mid);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.service-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 75% 25%, var(--primary-glow-sm), transparent 65%);
  opacity: 0; transition: opacity var(--t-mid);
}
.service-card:hover { border-color: var(--border); transform: translateY(-4px); box-shadow: var(--shadow-card), 0 0 30px var(--primary-glow-sm); }
.service-card:hover::before { opacity: 1; }

/* Bento special sizes */
.service-card.col-2 { grid-column: span 2; }
.service-card.row-2 { grid-row: span 2; }

.service-icon { font-size: 2.25rem; line-height: 1; display: block; }
.service-card.col-2 .service-icon { font-size: 2.75rem; }

.service-title {
  font-size: 1rem; font-weight: 700;
  color: var(--text-primary); font-family: var(--font-display);
  line-height: 1.3;
}
.service-card.col-2 .service-title { font-size: 1.3rem; }

.service-desc { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.65; flex: 1; }
.service-link { font-size: 0.78rem; color: var(--primary); font-weight: 600; opacity: 0; transition: opacity var(--t-fast); align-self: flex-start; margin-top: auto; }
.service-card:hover .service-link { opacity: 1; }

/* ============================================================
   13. STATS COUNTER
   ============================================================ */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all var(--t-mid);
}
.stat-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}
.stat-card:hover { transform: translateY(-4px); border-color: var(--border); }
.stat-num { font-size: 2.75rem; font-weight: 800; font-family: var(--font-display); color: var(--primary); line-height: 1; margin-bottom: 0.5rem; }
.stat-label { font-size: 0.82rem; color: var(--text-secondary); font-weight: 500; }

/* ============================================================
   14. GALLERY
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  grid-auto-rows: 180px;
}
.gallery-item { border-radius: var(--radius-md); overflow: hidden; cursor: pointer; position: relative; border: 1px solid var(--border-card); }
.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(5) { grid-column: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(10,191,184,0.22);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--t-mid);
  backdrop-filter: blur(2px);
}
.gallery-overlay span { font-size: 2rem; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ============================================================
   15. AWARDS MARQUEE
   ============================================================ */
.marquee-wrapper {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.marquee-track { display: flex; gap: 1.25rem; animation: marquee-scroll 50s linear infinite; width: max-content; }
.marquee-wrapper:hover .marquee-track { animation-play-state: paused; }
.marquee-item { width: 220px; height: 150px; border-radius: var(--radius-md); overflow: hidden; flex-shrink: 0; border: 1px solid var(--border-card); }
.marquee-item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-mid); }
.marquee-item:hover img { transform: scale(1.05); }

/* ============================================================
   16. TESTIMONIALS
   ============================================================ */
.testimonials-carousel { position: relative; overflow: hidden; }
.testimonials-track { display: flex; transition: transform var(--t-slow); }
.testimonial-slide { min-width: 100%; padding: 0 1rem; }

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  max-width: 820px;
  margin: 0 auto;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute; top: 1.5rem; left: 2rem;
  font-size: 6rem; font-family: Georgia, serif;
  color: var(--primary); opacity: 0.2; line-height: 1;
}
.testimonial-text { color: var(--text-secondary); font-size: 1.05rem; line-height: 1.9; margin-bottom: 1.5rem; padding-top: 0.5rem; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.author-avatar {
  width: 50px; height: 50px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 700; color: white; font-family: var(--font-display); flex-shrink: 0;
}
.author-name { font-weight: 600; font-size: 1rem; }
.author-detail { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }

.stars { display: flex; gap: 2px; margin-bottom: 1rem; }
.star { color: var(--gold); font-size: 0.875rem; }

.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 2rem; }
.carousel-btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-primary); font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--t-fast); cursor: pointer;
}
.carousel-btn:hover { background: var(--primary); border-color: var(--primary); color: white; }
.carousel-dots { display: flex; gap: 0.5rem; }
.carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--bg-card); border: 1px solid var(--border); cursor: pointer; transition: all var(--t-fast); }
.carousel-dot.active { width: 24px; border-radius: var(--radius-pill); background: var(--primary); border-color: var(--primary); }

/* ============================================================
   17. ANNIVERSARY SECTION
   ============================================================ */
.anniversary-section {
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
  text-align: center;
  background: linear-gradient(135deg, rgba(245,200,66,0.04), transparent 60%);
  border-top: 1px solid rgba(245,200,66,0.1);
  border-bottom: 1px solid rgba(245,200,66,0.1);
}
.anniversary-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(245,200,66,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.countdown { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; }
.countdown-unit { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.countdown-num {
  font-size: 3.25rem; font-weight: 800; font-family: var(--font-display);
  color: var(--gold); line-height: 1;
  min-width: 80px; text-align: center;
  background: rgba(245,200,66,0.07);
  border: 1px solid rgba(245,200,66,0.2);
  border-radius: var(--radius-lg);
  padding: 1rem;
}
.countdown-sep { font-size: 2.5rem; font-weight: 700; color: var(--gold); opacity: 0.5; align-self: center; padding-bottom: 1rem; }
.countdown-label { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); opacity: 0.7; font-weight: 600; }

/* ============================================================
   18. FOOTER
   ============================================================ */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 4.5rem 0 2rem;
  position: relative;
  z-index: 1;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.6fr; gap: 3rem; margin-bottom: 3rem; }
.footer-logo { height: 58px; width: auto; margin-bottom: 1rem; filter: drop-shadow(0 0 10px var(--primary-glow)); }
.footer-tagline { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 1.5rem; line-height: 1.8; }
.footer-heading { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary); margin-bottom: 1.25rem; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { color: var(--text-secondary); font-size: 0.875rem; transition: color var(--t-fast); }
.footer-links a:hover { color: var(--primary); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.875rem; color: var(--text-secondary); font-size: 0.85rem; }
.footer-contact-item .fci-icon { color: var(--primary); font-size: 1rem; margin-top: 2px; flex-shrink: 0; }
.social-links { display: flex; gap: 0.625rem; flex-wrap: wrap; }
.social-link {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--bg-card); border: 1px solid var(--border-card);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: all var(--t-fast); color: var(--text-secondary);
}
.social-link:hover { background: var(--primary); border-color: var(--primary); color: white; transform: translateY(-3px); box-shadow: 0 6px 20px var(--primary-glow); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 2rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { color: var(--text-muted); font-size: 0.78rem; }

/* ============================================================
   19. LGBTQ+ BADGE
   ============================================================ */
.lgbtq-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.35rem 0.875rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, rgba(255,0,0,0.12), rgba(255,127,0,0.12), rgba(255,215,0,0.12), rgba(0,128,0,0.12), rgba(0,0,255,0.12), rgba(148,0,211,0.12));
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 0.72rem; font-weight: 600;
  color: var(--text-secondary);
}

/* ============================================================
   20. PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding: calc(var(--nav-h) + 4rem) 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, var(--primary-glow), transparent 70%);
}

/* ============================================================
   21. BLOG CARDS
   ============================================================ */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.75rem; }
.blog-card { background: var(--bg-card); border: 1px solid var(--border-card); border-radius: var(--radius-lg); overflow: hidden; transition: all var(--t-mid); display: flex; flex-direction: column; cursor: pointer; }
.blog-card:hover { transform: translateY(-5px); border-color: var(--border); box-shadow: var(--shadow-card-hover), 0 0 40px var(--primary-glow-sm); }
.blog-thumb { height: 180px; display: flex; align-items: center; justify-content: center; font-size: 4rem; background: linear-gradient(135deg, var(--bg-surface), var(--bg-card)); position: relative; overflow: hidden; }
.blog-thumb::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, var(--primary-glow-sm), transparent); }
.blog-content { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; }
.blog-meta { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.75rem; }
.blog-cat { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary); }
.blog-read-time { font-size: 0.72rem; color: var(--text-muted); }
.blog-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.75rem; line-height: 1.4; }
.blog-excerpt { color: var(--text-secondary); font-size: 0.875rem; line-height: 1.7; flex: 1; }
.blog-footer { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--border-card); display: flex; align-items: center; justify-content: space-between; }

/* Article Modal */
.article-modal {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 2000;
  display: flex; align-items: flex-start; justify-content: center;
  overflow-y: auto; padding: 2rem 1rem;
  opacity: 0; pointer-events: none;
  transition: opacity var(--t-mid);
}
.article-modal.open { opacity: 1; pointer-events: all; }
.article-modal-inner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  max-width: 800px; width: 100%;
  padding: 3rem; margin: auto;
  position: relative;
}
.article-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg-surface); border: 1px solid var(--border);
  color: var(--text-primary); font-size: 1.25rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all var(--t-fast);
}
.article-close:hover { background: var(--primary); border-color: var(--primary); }
.article-body h2 { font-size: 1.4rem; margin: 2rem 0 0.875rem; color: var(--primary); }
.article-body p { color: var(--text-secondary); line-height: 1.9; margin-bottom: 1rem; font-size: 0.95rem; }
.article-body ul { padding-left: 1.5rem; color: var(--text-secondary); margin-bottom: 1rem; list-style: disc; }
.article-body ul li { margin-bottom: 0.45rem; line-height: 1.7; font-size: 0.95rem; }

/* ============================================================
   22. ABOUT PAGE TIMELINE
   ============================================================ */
.timeline { position: relative; padding-left: 1.5rem; }
.timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--primary), rgba(10,191,184,0.1)); }
.timeline-item { position: relative; padding-left: 2.5rem; padding-bottom: 2.5rem; }
.timeline-dot {
  position: absolute; left: -1.5rem; top: 0.25rem;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(10,191,184,0.2), 0 0 16px var(--primary-glow);
  transform: translateX(-7px);
}
.timeline-year { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; color: var(--primary); text-transform: uppercase; margin-bottom: 0.375rem; }
.timeline-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.375rem; font-family: var(--font-display); }
.timeline-desc { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; }

/* ============================================================
   23. APPOINTMENT FORM
   ============================================================ */
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-label { font-size: 0.82rem; font-weight: 600; color: var(--text-secondary); letter-spacing: 0.02em; }

.form-input {
  padding: 0.875rem 1.25rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all var(--t-fast);
  width: 100%;
}
.form-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow-sm); background: var(--bg-card); }
.form-input::placeholder { color: var(--text-muted); }

.form-select {
  padding: 0.875rem 1.25rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all var(--t-fast);
  width: 100%;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238BA4C0' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
  cursor: pointer;
}
.form-select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow-sm); }

.form-textarea { resize: vertical; min-height: 90px; }

/* Toggle Pills */
.toggle-group { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.toggle-pill {
  padding: 0.45rem 1.25rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.82rem; font-weight: 500;
  cursor: pointer; transition: all var(--t-fast); font-family: var(--font-body);
}
.toggle-pill.sel-yes { background: rgba(10,191,184,0.18); border-color: var(--primary); color: var(--primary); }
.toggle-pill.sel-no  { background: rgba(239,68,68,0.14); border-color: rgba(239,68,68,0.4); color: #f87171; }

/* Checkbox Pills */
.checkbox-pill-group { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.checkbox-pill {
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.8rem; font-weight: 500;
  cursor: pointer; transition: all var(--t-fast); user-select: none;
}
.checkbox-pill.selected { background: var(--primary-glow-sm); border-color: var(--primary); color: var(--primary); }

/* Multi-step form */
.form-step { display: none; }
.form-step.active { display: block; }

.form-progress { display: flex; align-items: center; justify-content: center; gap: 0; margin-bottom: 2.5rem; width: 100%; }
.progress-step { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; position: relative; flex: 1; }
.progress-step:not(:last-child)::after { content: ''; position: absolute; top: 18px; left: calc(50% + 18px); width: calc(100% - 36px); height: 2px; background: var(--border); }
.progress-step.completed:not(:last-child)::after { background: var(--primary); }
.progress-dot {
  width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid var(--border); background: var(--bg-surface);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 700; color: var(--text-muted);
  transition: all var(--t-mid); position: relative; z-index: 1;
}
.progress-step.active .progress-dot { border-color: var(--primary); color: var(--primary); background: var(--primary-glow-sm); box-shadow: 0 0 16px var(--primary-glow); }
.progress-step.completed .progress-dot { border-color: var(--primary); background: var(--primary); color: white; }
.progress-label { font-size: 0.68rem; color: var(--text-muted); white-space: nowrap; font-weight: 600; letter-spacing: 0.04em; }
.progress-step.active .progress-label { color: var(--primary); }

.form-nav-btns { display: flex; justify-content: space-between; align-items: center; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }

/* ============================================================
   24. PAGE LOADER
   ============================================================ */
.page-loader { position: fixed; inset: 0; background: var(--bg-dark); z-index: 9999; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 1.5rem; transition: opacity 0.7s ease, visibility 0.7s ease; }
.page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo { height: 65px; animation: loader-breathe 1.5s ease-in-out infinite; }
.loader-bar { width: 180px; height: 2px; background: var(--bg-card); border-radius: var(--radius-pill); overflow: hidden; }
.loader-fill { height: 100%; background: linear-gradient(90deg, var(--primary), var(--primary-light)); border-radius: var(--radius-pill); animation: loader-progress 1.6s ease-in-out forwards; }

/* ============================================================
   25. LIGHTBOX
   ============================================================ */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.96); z-index: 2000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity var(--t-mid); }
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox img { max-width: 90vw; max-height: 88vh; border-radius: var(--radius-lg); object-fit: contain; }
.lightbox-close { position: absolute; top: 1.5rem; right: 1.5rem; font-size: 1.75rem; color: white; cursor: pointer; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; transition: background var(--t-fast); }
.lightbox-close:hover { background: rgba(255,255,255,0.22); }

/* ============================================================
   26. WHATSAPP FLOAT
   ============================================================ */
.whatsapp-float {
  position: fixed; bottom: 6.25rem; right: 1.5rem;
  width: 54px; height: 54px; border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; color: white;
  box-shadow: 0 4px 20px rgba(37,211,102,0.40);
  z-index: 900; transition: all var(--t-mid); cursor: pointer;
  animation: float-bounce 3.5s ease-in-out infinite;
}
.whatsapp-float:hover { transform: scale(1.1) translateY(-3px); box-shadow: 0 8px 32px rgba(37,211,102,0.52); }

/* ============================================================
   27. RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-item:nth-child(1) { grid-column: span 2; }
  .gallery-item:nth-child(5) { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .services-bento { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  :root { --section-py: 4.5rem; --container-px: 1.5rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .about-snippet-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-img-wrapper { max-width: 380px; margin: 0 auto; }
  .about-img-badge { left: 0; }
  .services-bento { grid-template-columns: repeat(2, 1fr); }
  .service-card.col-2 { grid-column: span 2; }
  .hero-stats { gap: 2rem; }
}

@media (max-width: 640px) {
  :root { --container-px: 1rem; --section-py: 3.5rem; }
  .services-bento { grid-template-columns: 1fr 1fr; }
  .service-card.col-2 { grid-column: span 2; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
  .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .gallery-item:nth-child(5) { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr; }
  .countdown-num { font-size: 2.5rem; min-width: 65px; padding: 0.75rem; }
  .form-progress { gap: 0; }
  .progress-label { display: none; }
  .hero-stats { gap: 1.5rem; }
  .hero-title { letter-spacing: -0.01em; }
  .blog-grid { grid-template-columns: 1fr; }
  .anniversary-badge { width: 85px; height: 85px; }
  .anniversary-badge .num { font-size: 1.6rem; }
}

@media (max-width: 420px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .toggle-group { gap: 0.4rem; }
  .form-nav-btns { flex-direction: column-reverse; gap: 0.75rem; }
  .form-nav-btns .btn { width: 100%; justify-content: center; }
}
