/* ==========================================================================
   SRI SATYA SAI DENTAL CARE — Design System
   Glassmorphism · Navy / Royal Blue / Ice Blue / Champagne Gold
   ========================================================================== */

:root{
  --navy: #0A2A5E;
  --navy-deep: #051539;
  --royal: #0B57D0;
  --royal-light: #2F8FEA;
  --ice: #DDF5FF;
  --white: #FFFFFF;
  --gold: #18BFF0;
  --gold-soft: #8FE3FA;

  --ink: #0C2240;
  --ink-soft: rgba(12,34,64,.68);
  --ink-faint: rgba(12,34,64,.46);

  --glass-bg: rgba(255,255,255,.58);
  --glass-bg-strong: rgba(255,255,255,.78);
  --glass-border: rgba(255,255,255,.55);
  --glass-dark-bg: rgba(10,42,94,.62);
  --glass-dark-border: rgba(24,191,240,.28);

  --shadow-sm: 0 2px 14px rgba(10,42,94,.07);
  --shadow-md: 0 10px 34px rgba(10,42,94,.12);
  --shadow-lg: 0 24px 64px rgba(10,42,94,.18);
  --shadow-gold: 0 10px 30px rgba(24,191,240,.25);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --nav-h: 84px;
  --container: 1240px;

  --font-display: "Fraunces", "Noto Serif Telugu", serif;
  --font-body: "General Sans", "Noto Sans Telugu", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --ease: cubic-bezier(.22,.9,.3,1);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:
    radial-gradient(1100px 620px at 85% -8%, rgba(18,86,181,.14), transparent 60%),
    radial-gradient(900px 560px at -10% 18%, rgba(214,174,99,.12), transparent 55%),
    linear-gradient(180deg, #F7FBFE 0%, #EFF8FD 45%, #F7FBFE 100%);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

html[lang="te"] body, body.lang-te{
  font-family:"Noto Sans Telugu", var(--font-body);
}
html[lang="te"] h1, html[lang="te"] h2, html[lang="te"] h3, html[lang="te"] .display,
body.lang-te h1, body.lang-te h2, body.lang-te h3, body.lang-te .display{
  font-family:"Noto Serif Telugu","Fraunces",serif;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; }
ul{ margin:0; padding:0; list-style:none; }

.container{
  width:100%;
  max-width:var(--container);
  margin:0 auto;
  padding:0 24px;
}

/* ---------- Typography ---------- */
h1,h2,h3,h4{ font-family:var(--font-display); color:var(--navy); margin:0 0 .5em; line-height:1.12; font-weight:600; letter-spacing:-.01em; }
h1{ font-size:clamp(2.4rem, 1.6rem + 3vw, 4.4rem); }
h2{ font-size:clamp(1.9rem, 1.5rem + 1.6vw, 2.9rem); }
h3{ font-size:clamp(1.3rem, 1.1rem + .8vw, 1.7rem); }
p{ line-height:1.7; color:var(--ink-soft); margin:0 0 1em; max-width:62ch; }
.lede{ font-size:1.18rem; color:var(--ink-soft); max-width:46ch; }
.eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  font-size:.82rem; font-weight:600; color:var(--royal);
  margin-bottom:14px;
}
.eyebrow::before{ content:""; width:22px; height:2px; background:var(--gold); border-radius:2px; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:16px 30px; border-radius:var(--radius-pill);
  font-weight:600; font-size:.98rem; cursor:pointer; border:1px solid transparent;
  transition:transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease);
  white-space:nowrap;
}
.btn:focus-visible{ outline:2px solid var(--royal); outline-offset:3px; }
.btn-primary{
  background:linear-gradient(135deg, var(--royal) 0%, var(--navy) 100%);
  color:var(--white); box-shadow:var(--shadow-md);
}
.btn-primary:hover{ transform:translateY(-2px); box-shadow:var(--shadow-lg); }
.btn-gold{
  background:linear-gradient(135deg, var(--gold-soft), var(--gold));
  color:var(--navy-deep); box-shadow:var(--shadow-gold);
}
.btn-gold:hover{ transform:translateY(-2px); filter:brightness(1.04); }
.btn-ghost{
  background:var(--glass-bg); color:var(--navy); border-color:rgba(12,34,64,.14);
  backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
}
.btn-ghost:hover{ border-color:var(--gold); transform:translateY(-2px); }
.btn-sm{ padding:11px 20px; font-size:.88rem; }
.btn-block{ width:100%; }
.btn[disabled]{ opacity:.55; cursor:not-allowed; transform:none !important; }

/* ---------- Glass panels ---------- */
.glass{
  background:var(--glass-bg);
  border:1px solid var(--glass-border);
  backdrop-filter:blur(20px) saturate(140%);
  -webkit-backdrop-filter:blur(20px) saturate(140%);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-md);
}
.glass-strong{ background:var(--glass-bg-strong); }
.glass-dark{
  background:var(--glass-dark-bg);
  border:1px solid var(--glass-dark-border);
  backdrop-filter:blur(20px) saturate(140%);
  -webkit-backdrop-filter:blur(20px) saturate(140%);
  color:var(--white);
}
.glass-dark h1,.glass-dark h2,.glass-dark h3{ color:var(--white); }
.glass-dark p{ color:rgba(255,255,255,.78); }

/* ---------- Nav ---------- */
.site-nav{
  position:fixed; top:0; left:0; right:0; z-index:200;
  padding:18px 0;
  transition:padding .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease);
}
.site-nav .nav-inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:20px;
  background:rgba(255,255,255,.38);
  border:1px solid rgba(255,255,255,.5);
  backdrop-filter:blur(18px) saturate(140%);
  -webkit-backdrop-filter:blur(18px) saturate(140%);
  border-radius:var(--radius-pill);
  padding:10px 12px 10px 18px;
  transition:background .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.site-nav.scrolled .nav-inner{
  background:rgba(255,255,255,.86);
  box-shadow:var(--shadow-md);
  border-color:rgba(255,255,255,.8);
}
.brand{ display:flex; align-items:center; gap:12px; font-family:var(--font-display); font-weight:600; color:var(--navy); font-size:1.02rem; }
.brand img{ height:42px; width:42px; border-radius:50%; object-fit:cover; box-shadow:0 2px 10px rgba(6,27,58,.15); }
.brand-text{ display:flex; flex-direction:column; line-height:1.15;}
.brand-text small{ font-family:var(--font-body); font-weight:500; font-size:.85rem; letter-spacing:.03em; color:var(--royal); transform: translateY(5px); }

.nav-links{ display:flex; align-items:center; gap:2px; }
.nav-links a{
  padding:10px 16px; border-radius:var(--radius-pill); font-size:.92rem; font-weight:500;
  color:var(--ink-soft); position:relative; transition:color .3s, background .3s;
}
.nav-links a:hover{ color:var(--navy); background:rgba(18,86,181,.08); }
.nav-links a.active{ color:var(--navy); background:rgba(18,86,181,.1); font-weight:600; }
.nav-links a.active::after{
  content:""; position:absolute; left:16px; right:16px; bottom:4px; height:2px;
  background:var(--gold); border-radius:2px;
}

.nav-actions{ display:flex; align-items:center; gap:10px; }
.lang-switch{
  display:flex; align-items:center; background:rgba(12,34,64,.06); border-radius:var(--radius-pill); padding:4px;
}
.lang-switch button{
  border:none; background:transparent; padding:7px 13px; border-radius:var(--radius-pill);
  font-size:.82rem; font-weight:600; color:var(--ink-soft); cursor:pointer; transition:background .3s,color .3s;
}
.lang-switch button.active{ background:var(--navy); color:var(--white); }

.nav-burger{ display:none; width:42px; height:42px; border-radius:50%; border:none; background:rgba(12,34,64,.08); cursor:pointer; align-items:center; justify-content:center; }
.nav-burger span, .nav-burger span::before, .nav-burger span::after{
  content:""; display:block; width:18px; height:2px; background:var(--navy); position:relative; transition:transform .3s, opacity .3s;
}
.nav-burger span::before{ position:absolute; top:-6px; }
.nav-burger span::after{ position:absolute; top:6px; }
.nav-burger.open span{ background:transparent; }
.nav-burger.open span::before{ transform:rotate(45deg) translate(4px,4px); }
.nav-burger.open span::after{ transform:rotate(-45deg) translate(4px,-4px); }

.mobile-panel{
  display:none; position:fixed; inset:var(--nav-h) 14px auto 14px; z-index:190;
  background:rgba(255,255,255,.92); backdrop-filter:blur(20px);
  border-radius:var(--radius-md); box-shadow:var(--shadow-lg); padding:18px;
  border:1px solid rgba(255,255,255,.7);
}
.mobile-panel.open{ display:block; }
.mobile-panel a{ display:block; padding:13px 10px; border-radius:12px; font-weight:500; color:var(--ink); border-bottom:1px solid rgba(12,34,64,.06); }
.mobile-panel a:last-child{ border-bottom:none; }

@media (max-width: 920px){
  .nav-links{ display:none; }
  .nav-burger{ display:flex; }
  .nav-actions .btn-primary.nav-cta-desktop{ display:none; }
}

/* ---------- Sections ---------- */
section{ position:relative; padding:88px 0; }
.section-tight{ padding:56px 0; }
.section-head{ max-width:640px; margin-bottom:48px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

/* ---------- Hero ---------- */
.hero{
  padding:calc(var(--nav-h) + 56px) 0 70px;
  position:relative;
  overflow:hidden;
}
.hero::before{
  content:""; position:absolute; top:-220px; right:-180px; width:620px; height:620px; border-radius:50%;
  background:radial-gradient(circle, rgba(18,86,181,.22), transparent 70%); filter:blur(10px); pointer-events:none;
}
.hero::after{
  content:""; position:absolute; bottom:-240px; left:-200px; width:560px; height:560px; border-radius:50%;
  background:radial-gradient(circle, rgba(214,174,99,.18), transparent 70%); filter:blur(10px); pointer-events:none;
}
.hero-grid{
  display:grid; grid-template-columns:1.05fr .95fr; gap:40px; align-items:center; position:relative; z-index:2;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--royal);
  font-weight: 600;
  font-size: .86rem;
  margin-bottom: 18px;
}

.hero-eyebrow .eyebrow-dot {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(214,174,99,.25);
   transform: translateY(-2px);
}
.hero h1{ margin-bottom:.4em; }
.hero h1 em{ font-style:normal; color:var(--royal); }
.hero-actions{ display:flex; flex-wrap:wrap; gap:14px; margin:30px 0 26px; }
.hero-trust{ display:flex; gap:26px; flex-wrap:wrap; }
.hero-trust .item{ display:flex; flex-direction:column; }
.hero-trust strong{ font-family:var(--font-display); font-size:1.5rem; color:var(--navy); }
.hero-trust span{ font-size:.82rem; color:var(--ink-faint); }

.hero-visual{ position:relative; }
.hero-photo-frame{
  position:relative; border-radius:var(--radius-lg); overflow:hidden; aspect-ratio:4/5;
  box-shadow:var(--shadow-lg); border:1px solid rgba(255,255,255,.6);
}
.hero-photo-frame img{ width:100%; height:100%; object-fit:cover; }
.hero-floater{
  position:absolute; padding:16px 20px; border-radius:var(--radius-md);
  display:flex; align-items:center; gap:12px; min-width:190px;
}
.hero-floater.one {
  top: auto;
  bottom: 165px;
  left: -38px;
  animation: float-y 6s ease-in-out infinite;
}
.hero-floater.two{ bottom:9%; right:-9%; animation:float-y 7s ease-in-out infinite 1.2s; }
.hero-floater .dot{ width:40px; height:40px; border-radius:50%; background:linear-gradient(135deg,var(--gold-soft),var(--gold)); display:flex; align-items:center; justify-content:center; color:var(--navy-deep); font-weight:700; flex:none; }
.hero-floater strong{ display:block; font-size:.92rem; color:var(--navy); }
.hero-floater span{ font-size:.76rem; color:var(--ink-faint); }
@keyframes float-y{ 0%,100%{ transform:translateY(0);} 50%{ transform:translateY(-10px);} }
@media (max-width: 920px){
  .hero-floater{ display:none; }
}

/* ---------- Cards ---------- */
.grid{ display:grid; gap:26px; }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-4{ grid-template-columns:repeat(4,1fr); }
.grid-2{ grid-template-columns:repeat(2,1fr); }
@media (max-width:980px){ .grid-3,.grid-4{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .grid-3,.grid-4,.grid-2{ grid-template-columns:1fr; } }

.card{
  padding:30px 26px; border-radius:var(--radius-md);
  transition:transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.card:hover{ transform:translateY(-5px); box-shadow:var(--shadow-lg); border-color:rgba(214,174,99,.5); }
.card .icon{
  width:52px; height:52px; border-radius:16px; display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg, var(--royal), var(--navy)); color:var(--white); margin-bottom:18px; flex:none;
}
.card h3{ margin-bottom:.4em; }
.card p{ margin-bottom:0; font-size:.95rem; }
.card-link{ display:inline-flex; align-items:center; gap:8px; margin-top:16px; font-weight:600; color:var(--royal); font-size:.9rem; }

/* ---------- Why strip / stats ---------- */
.stat-strip{
  display:grid; grid-template-columns:repeat(4,1fr); gap:1px; overflow:hidden;
}
.stat-strip .stat{ padding:34px 24px; text-align:center; }
.stat-strip .stat strong{ display:block; font-family:var(--font-display); font-size:2.3rem; color:var(--white); }
.stat-strip .stat span{ font-size:.84rem; color:rgba(255,255,255,.7); }
@media (max-width:760px){ .stat-strip{ grid-template-columns:repeat(2,1fr); } }

/* ---------- CTA band ---------- */
.cta-band{
  padding:60px 48px; display:flex; align-items:center; justify-content:space-between; gap:30px; flex-wrap:wrap;
}
.cta-band h2{ margin-bottom:.3em; }
.cta-band p{ margin-bottom:0; }
.cta-actions{ display:flex; gap:14px; flex-wrap:wrap; }

/* ---------- Footer ---------- */
footer{
  background:linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color:rgba(255,255,255,.82); padding:72px 0 28px; margin-top:60px; position:relative;
}
footer h4{ color:var(--white); font-family:var(--font-body); font-size:.86rem; letter-spacing:.03em; margin-bottom:18px; font-weight:600; }
footer p{ color:rgba(255,255,255,.62); }
footer a{ color:rgba(255,255,255,.72); font-size:.92rem; transition:color .25s; }
footer a:hover{ color:var(--gold-soft); }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.1fr; gap:40px; padding-bottom:40px; border-bottom:1px solid rgba(255,255,255,.12); }
.footer-grid li{ margin-bottom:11px; }
.footer-brand{ display:flex; align-items:center; gap:12px; margin-bottom:16px; }
.footer-brand img{ height:46px; width:46px; border-radius:50%; object-fit:cover; }
.footer-brand strong{ font-family:var(--font-display); color:var(--white); font-size:1.1rem; }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px; padding-top:24px; font-size:.82rem; color:rgba(255,255,255,.5); }
.footer-socials{ display:flex; gap:10px; }
.footer-socials a{ width:38px; height:38px; border-radius:50%; background:rgba(255,255,255,.08); display:flex; align-items:center; justify-content:center; }
.footer-socials a:hover{ background:var(--gold); color:var(--navy-deep); }
@media (max-width:900px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer-grid{ grid-template-columns:1fr; } }

/* ---------- Floating action buttons ---------- */
.fab-wrap{ position:fixed; right:22px; bottom:22px; display:flex; flex-direction:column; gap:12px; z-index:300; }
.fab{
  width:58px; height:58px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  box-shadow:var(--shadow-lg); transition:transform .3s var(--ease);
}
.fab:hover{ transform:translateY(-3px) scale(1.04); }
.fab-wa{ background:#25D366; color:#fff; }
.fab-top{ background:var(--glass-bg-strong); border:1px solid rgba(255,255,255,.7); backdrop-filter:blur(12px); color:var(--navy); opacity:0; pointer-events:none; transform:translateY(8px); }
.fab-top.show{ opacity:1; pointer-events:auto; transform:translateY(0); }

/* ---------- Page header (inner pages) ---------- */
.page-head{
  padding:calc(var(--nav-h) + 54px) 0 60px; position:relative; overflow:hidden;
}
.page-head::before{
  content:""; position:absolute; top:-160px; right:-120px; width:420px; height:420px; border-radius:50%;
  background:radial-gradient(circle, rgba(18,86,181,.18), transparent 70%);
}
.breadcrumb{ font-size:.84rem; color:var(--ink-faint); margin-bottom:14px; }
.breadcrumb a{ color:var(--royal); }

/* ---------- Forms ---------- */
.field{ margin-bottom:20px; }
.field label{ display:block; font-size:.88rem; font-weight:600; color:var(--navy); margin-bottom:8px; }
.field input, .field select, .field textarea{
  width:100%; padding:14px 16px; border-radius:14px; border:1px solid rgba(12,34,64,.14);
  background:rgba(255,255,255,.7); font-family:inherit; font-size:.96rem; color:var(--ink);
  transition:border-color .3s, box-shadow .3s;
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none; border-color:var(--royal); box-shadow:0 0 0 4px rgba(18,86,181,.12);
}
.field textarea{ resize:vertical; min-height:110px; }
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
@media (max-width:640px){ .field-row{ grid-template-columns:1fr; } }
.field-error{ color:#C0392B; font-size:.82rem; margin-top:6px; display:none; }
.field.invalid input, .field.invalid select, .field.invalid textarea{ border-color:#C0392B; }
.field.invalid .field-error{ display:block; }
.help-text{ font-size:.82rem; color:var(--ink-faint); margin-top:6px; }

/* ---------- Booking method cards ---------- */
.method-card{ text-align:center; padding:36px 26px; }
.method-card .icon{ margin:0 auto 18px; }

/* ---------- Gallery ---------- */
.filter-row{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:34px; }
.filter-chip{
  padding:10px 20px; border-radius:var(--radius-pill); font-size:.86rem; font-weight:600;
  background:var(--glass-bg); border:1px solid rgba(12,34,64,.1); cursor:pointer; color:var(--ink-soft);
  transition:all .3s;
}
.filter-chip.active{ background:var(--navy); color:var(--white); border-color:var(--navy); }
.ba-card{ overflow:hidden; padding:0; }
.ba-slider{ position:relative; aspect-ratio:4/3; overflow:hidden; cursor:ew-resize; user-select:none; }
.ba-slider img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.ba-slider .after-img{ clip-path:inset(0 0 0 50%); }
.ba-handle{ position:absolute; top:0; bottom:0; left:50%; width:3px; background:var(--gold); transform:translateX(-50%); pointer-events:none; }
.ba-handle::after{
  content:"⇔"; position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:40px; height:40px; border-radius:50%; background:var(--white); color:var(--navy);
  display:flex; align-items:center; justify-content:center; font-size:1rem; box-shadow:var(--shadow-md);
}
.ba-label{ position:absolute; top:14px; padding:5px 13px; border-radius:var(--radius-pill); font-size:.72rem; font-weight:700; letter-spacing:.03em; background:rgba(6,27,58,.65); color:#fff; backdrop-filter:blur(6px); }
.ba-label.before{ left:14px; } .ba-label.after{ right:14px; }
.ba-caption{ padding:18px 20px; }

/* ---------- Testimonials ---------- */
.t-carousel{ position:relative; }
.t-track{ display:flex; gap:24px; overflow-x:auto; scroll-snap-type:x mandatory; padding-bottom:10px; scrollbar-width:none; }
.t-track::-webkit-scrollbar{ display:none; }
.t-card{ min-width:320px; max-width:360px; scroll-snap-align:start; padding:30px; }
.t-stars{ color:var(--gold); letter-spacing:2px; margin-bottom:14px; font-size:1rem; }
.t-quote{ font-size:1rem; color:var(--ink-soft); margin-bottom:18px; }
.t-person{ display:flex; align-items:center; gap:12px; }
.t-avatar{ width:42px; height:42px; border-radius:50%; background:linear-gradient(135deg,var(--royal),var(--navy)); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:700; }
.t-person strong{ display:block; font-size:.92rem; color:var(--navy); }
.t-person span{ font-size:.78rem; color:var(--ink-faint); }
.empty-note{ padding:26px; border-radius:var(--radius-md); font-size:.88rem; color:var(--ink-faint); text-align:center; }

/* ---------- FAQ ---------- */
.faq-item{ border-bottom:1px solid rgba(12,34,64,.1); padding:20px 0; }
.faq-q{ display:flex; justify-content:space-between; align-items:center; cursor:pointer; font-weight:600; color:var(--navy); gap:16px; }
.faq-q .plus{ flex:none; width:26px; height:26px; border-radius:50%; background:rgba(18,86,181,.1); display:flex; align-items:center; justify-content:center; transition:transform .3s; color:var(--royal); }
.faq-item.open .faq-q .plus{ transform:rotate(45deg); }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .4s var(--ease); }
.faq-item.open .faq-a{ max-height:400px; }
.faq-a p{ padding-top:12px; margin-bottom:0; }

/* ---------- Success screen ---------- */
.success-box{ text-align:center; padding:50px 30px; }
.success-icon{ width:74px; height:74px; border-radius:50%; background:linear-gradient(135deg,var(--gold-soft),var(--gold)); display:flex; align-items:center; justify-content:center; margin:0 auto 20px; font-size:2rem; color:var(--navy-deep); }
.ref-id{ display:inline-block; margin-top:10px; padding:10px 20px; border-radius:var(--radius-pill); background:rgba(18,86,181,.08); color:var(--royal); font-weight:700; letter-spacing:.03em; }

/* ---------- Map ---------- */
.map-frame{ border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-md); border:1px solid rgba(255,255,255,.6); }
.map-frame iframe{ width:100%; height:380px; border:0; display:block; }

/* ---------- Reveal on scroll ---------- */
.reveal{ opacity:0; transform:translateY(18px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in{ opacity:1; transform:translateY(0); }

/* ---------- Utility ---------- */
.mt-0{ margin-top:0; } .mb-0{ margin-bottom:0; }
.flex{ display:flex; } .items-center{ align-items:center; } .gap-10{ gap:10px; } .gap-14{ gap:14px; }
.text-center{ text-align:center; } .mx-auto{ margin-left:auto; margin-right:auto; }
.tag{ display:inline-block; padding:6px 14px; border-radius:var(--radius-pill); font-size:.76rem; font-weight:700; background:rgba(214,174,99,.18); color:#946a1f; }

@media (max-width: 760px){
  section{ padding:60px 0; }
  .hero-grid{ grid-template-columns:1fr; }
  .hero-visual{ order:-1; max-width:320px; margin:0 auto; }
  .cta-band{ padding:40px 26px; flex-direction:column; text-align:center; }
  .stat-strip{ grid-template-columns:1fr 1fr; }
}


/* update */

/* ==========================================
   SSDC - DENTAL SURGERY HERO
   Separate Page Stylesheet
========================================== */

/* HERO LAYOUT */

.surgery-page-head {
    overflow: hidden;
}

.surgery-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 55px;
    padding-top: 25px;
    padding-bottom: 20px;
}

/* LEFT CONTENT */

.surgery-hero-content {
    width: 100%;
    max-width: 650px;
}

.surgery-hero-content h1 {
    max-width: 650px;
    margin-bottom: 18px;
}

.surgery-hero-content .lede {
    max-width: 590px;
    line-height: 1.85;
}

.surgery-hero-content .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

/* RIGHT IMAGE */

.surgery-hero-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 22px;
    background: #edf1ef;
    box-shadow: 0 18px 45px rgba(16, 44, 53, 0.13);
}

.surgery-hero-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: inherit;
    transition: transform 0.6s ease;
}

.surgery-hero-visual:hover img {
    transform: scale(1.035);
}

/* TABLET RESPONSIVE */

@media (max-width: 1024px) {

    .surgery-hero-grid {
        grid-template-columns: 1fr 0.9fr;
        gap: 30px;
    }

    .surgery-hero-content h1 {
        font-size: clamp(2rem, 4vw, 3rem);
    }

}

/* MOBILE RESPONSIVE */

@media (max-width: 768px) {

    .surgery-hero-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-top: 18px;
    }

    .surgery-hero-content {
        max-width: 100%;
    }

    .surgery-hero-content h1 {
        max-width: 100%;
    }

    .surgery-hero-content .lede {
        max-width: 100%;
    }

    .surgery-hero-visual {
        width: 100%;
        aspect-ratio: 4 / 3;
        border-radius: 18px;
    }

}

/* SMALL MOBILE */

@media (max-width: 480px) {

    .surgery-hero-grid {
        gap: 22px;
    }

    .surgery-hero-visual {
        border-radius: 15px;
    }

    .surgery-hero-content .hero-actions {
        gap: 10px;
    }

}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {

    .surgery-hero-visual img {
        transition: none;
    }

}
/* =========================================
   DENTAL IMPLANTS HERO SECTION
========================================= */

.implant-page-head {
  overflow: hidden;
}

/* Main Hero Layout */
.implant-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 55px;
  padding-top: 25px;
  padding-bottom: 20px;
}

/* Left Content */
.implant-hero-content {
  width: 100%;
  max-width: 650px;
}

.implant-hero-content h1 {
  max-width: 720px;
  margin-top: 15px;
}

.implant-hero-content .lede {
  max-width: 580px;
  margin-top: 18px;
  line-height: 1.8;
}

/* Breadcrumb */
.implant-hero-content .breadcrumb {
  margin-bottom: 22px;
}

/* CTA Buttons */
.implant-hero-content .hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 25px;
}

/* Right Image Container */
.implant-hero-visual {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 22px;
  background: #f3f6f8;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

/* Hero Image */
.implant-hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}

.implant-hero-visual:hover img {
  transform: scale(1.04);
}

/* =========================================
   TABLET RESPONSIVE
========================================= */

@media (max-width: 1024px) {

  .implant-hero-grid {
    grid-template-columns: 1fr 0.9fr;
    gap: 30px;
  }

  .implant-hero-content h1 {
    font-size: clamp(32px, 4vw, 48px);
  }

}

/* =========================================
   MOBILE RESPONSIVE
========================================= */

@media (max-width: 768px) {

  .implant-hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .implant-hero-content {
    max-width: 100%;
  }

  .implant-hero-content h1 {
    max-width: 100%;
    font-size: clamp(30px, 8vw, 42px);
  }

  .implant-hero-content .lede {
    max-width: 100%;
    font-size: 15px;
  }

  .implant-hero-visual {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
  }

}

/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {

  .implant-hero-grid {
    gap: 24px;
  }

  .implant-hero-content .hero-actions {
    gap: 10px;
  }

  .implant-hero-content .hero-actions .btn {
    font-size: 13px;
  }

  .implant-hero-visual {
    border-radius: 14px;
  }

}

/* Reduced Motion Accessibility */
@media (prefers-reduced-motion: reduce) {

  .implant-hero-visual img {
    transition: none;
  }

}

/* 19-11-2026 */

/* ==========================================
   SSDC - PREMIUM TREATMENTS HERO
========================================== */

.treatments-hero {
  overflow: hidden;
  position: relative;
}

.treatments-hero-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 25px;
  min-height: 620px;
  padding-top: 30px;
  padding-bottom: 30px;
}

/* LEFT CONTENT */

.treatments-hero-content {
  position: relative;
  z-index: 5;
  max-width: 600px;
}

.treatments-hero-content .breadcrumb {
  margin-bottom: 24px;
}

.treatments-hero-content .eyebrow {
  margin-bottom: 15px;
}

.treatments-hero-content h1 {
  max-width: 620px;
  font-size: clamp(36px, 4.3vw, 58px);
  line-height: 1.12;
  letter-spacing: -1.5px;
}

.treatments-hero-content .lede {
  max-width: 550px;
  margin-top: 22px;
  line-height: 1.85;
}

.treatments-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

/* ==========================================
   ORBIT AREA
========================================== */

.treatment-orbit-area {
  --orbit-radius: 215px;

  position: relative;
  width: 100%;
  max-width: 620px;
  aspect-ratio: 1 / 1;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

/* Background Glow */

.orbit-glow {
  position: absolute;
  width: 62%;
  height: 62%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(92, 190, 210, 0.22),
    rgba(92, 190, 210, 0.08) 48%,
    transparent 75%
  );
  filter: blur(28px);
  z-index: -1;
}

/* Circular Rings */

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.orbit-ring-outer {
  width: 76%;
  height: 76%;
  border: 1px solid rgba(65, 160, 185, 0.20);
  box-shadow: 0 0 35px rgba(65, 160, 185, 0.07);
}

.orbit-ring-inner {
  width: 46%;
  height: 46%;
  border: 1px dashed rgba(65, 160, 185, 0.28);
}

/* ==========================================
   CENTER ELEMENT
========================================== */

.orbit-center {
  position: absolute;
  width: 145px;
  height: 145px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3;

  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.85);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  box-shadow:
    0 12px 40px rgba(32, 110, 130, 0.12),
    inset 0 0 20px rgba(255, 255, 255, 0.8);

  animation: centerFloat 4s ease-in-out infinite;
}

.orbit-center-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.orbit-tooth {
  font-size: 32px;
  color: #2499ad;
  line-height: 1;
  margin-bottom: 5px;
}

.orbit-center-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #173c52;
}

.orbit-center-subtitle {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #548092;
}

/* ==========================================
   ROTATING ORBIT
========================================== */

.treatment-orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: orbitRotate 42s linear infinite;
  z-index: 4;
}

/* Each Card Position */

.orbit-position {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1px;
  height: 1px;
  transform:
    rotate(var(--angle))
    translateX(var(--orbit-radius));
}

/* Glass Cards */

.orbit-card {
  position: absolute;
  width: 132px;
  height: 150px;
  top: 0;
  left: 0;

  transform: translate(-50%, -50%);

  padding: 7px;
  border-radius: 18px;

  display: flex;
  flex-direction: column;
  gap: 7px;

  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.9);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  box-shadow:
    0 12px 35px rgba(20, 80, 100, 0.13),
    inset 0 1px 1px rgba(255, 255, 255, 0.95);

  animation: cardCounterRotate 42s linear infinite,
             cardFloat 3.5s ease-in-out infinite;

  transition:
    box-shadow 0.35s ease,
    background 0.35s ease;
}

/* Card Image */

.orbit-card img {
  display: block;
  width: 100%;
  height: 103px;
  object-fit: cover;
  border-radius: 12px;
}

/* Card Title */

.orbit-card span {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 750;
  color: #173c52;
  white-space: nowrap;
}

/* Individual Floating Delays */

.orbit-position:nth-child(2) .orbit-card {
  animation-delay: 0s, -0.5s;
}

.orbit-position:nth-child(3) .orbit-card {
  animation-delay: 0s, -1s;
}

.orbit-position:nth-child(4) .orbit-card {
  animation-delay: 0s, -1.5s;
}

.orbit-position:nth-child(5) .orbit-card {
  animation-delay: 0s, -2s;
}

.orbit-position:nth-child(6) .orbit-card {
  animation-delay: 0s, -2.5s;
}

.orbit-position:nth-child(7) .orbit-card {
  animation-delay: 0s, -3s;
}

.orbit-position:nth-child(8) .orbit-card {
  animation-delay: 0s, -3.5s;
}

/* Hover Effect */

.orbit-card:hover {
  background: rgba(255, 255, 255, 0.88);
  box-shadow:
    0 18px 45px rgba(20, 80, 100, 0.22),
    0 0 22px rgba(65, 180, 200, 0.18);
}

/* ==========================================
   ANIMATIONS
========================================== */

@keyframes orbitRotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes cardCounterRotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(-360deg);
  }
}

@keyframes cardFloat {
  0%, 100% {
    margin-top: 0;
  }

  50% {
    margin-top: -7px;
  }
}

@keyframes centerFloat {
  0%, 100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.045);
  }
}

/* ==========================================
   TABLET RESPONSIVE
========================================== */

@media (max-width: 1100px) {

  .treatments-hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .treatment-orbit-area {
    --orbit-radius: 175px;
  }

  .orbit-card {
    width: 112px;
    height: 132px;
  }

  .orbit-card img {
    height: 88px;
  }

  .orbit-card span {
    font-size: 10px;
  }

  .orbit-center {
    width: 125px;
    height: 125px;
  }

}

/* ==========================================
   MOBILE RESPONSIVE
========================================== */

@media (max-width: 768px) {

  .treatments-hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 15px;
    padding-bottom: 20px;
  }

  .treatments-hero-content {
    max-width: 100%;
  }

  .treatments-hero-content h1 {
    font-size: clamp(34px, 8vw, 46px);
  }

  .treatments-hero-content .lede {
    font-size: 15px;
  }

  .treatment-orbit-area {
    --orbit-radius: 145px;
    width: 100%;
    max-width: 470px;
    margin-top: 5px;
  }

  .orbit-card {
    width: 100px;
    height: 116px;
    padding: 6px;
    border-radius: 14px;
  }

  .orbit-card img {
    height: 76px;
    border-radius: 9px;
  }

  .orbit-card span {
    font-size: 9px;
  }

  .orbit-center {
    width: 108px;
    height: 108px;
  }

  .orbit-center-title {
    font-size: 20px;
  }

  .orbit-tooth {
    font-size: 25px;
  }

}

/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 420px) {

  .treatment-orbit-area {
    --orbit-radius: 119px;
    max-width: 350px;
  }

  .orbit-card {
    width: 88px;
    height: 105px;
    padding: 5px;
  }

  .orbit-card img {
    height: 68px;
  }

  .orbit-card span {
    font-size: 8px;
  }

  .orbit-center {
    width: 94px;
    height: 94px;
  }

  .orbit-ring-outer {
    width: 78%;
    height: 78%;
  }

}

/* ==========================================
   ACCESSIBILITY
========================================== */

@media (prefers-reduced-motion: reduce) {

  .treatment-orbit,
  .orbit-card,
  .orbit-center {
    animation: none !important;
  }

}


/* =========================================
   ROOT CANAL TREATMENT HERO
========================================= */

.rootcanal-page-head {
  overflow: hidden;
}

.rootcanal-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 55px;
  padding-top: 25px;
  padding-bottom: 20px;
}

/* LEFT CONTENT */

.rootcanal-hero-content {
  width: 100%;
  max-width: 650px;
}

.rootcanal-hero-content .breadcrumb {
  margin-bottom: 22px;
}

.rootcanal-hero-content h1 {
  max-width: 720px;
  margin-top: 15px;
}

.rootcanal-hero-content .lede {
  max-width: 580px;
  margin-top: 18px;
  line-height: 1.8;
}

/* BUTTONS */

.rootcanal-hero-content .hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 25px;
}

/* RIGHT IMAGE */

.rootcanal-hero-visual {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 22px;
  background: #f3f6f8;

  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.12);
}

.rootcanal-hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;

  transition: transform 0.6s ease;
}

.rootcanal-hero-visual:hover img {
  transform: scale(1.04);
}

/* =========================================
   TABLET RESPONSIVE
========================================= */

@media (max-width: 1024px) {

  .rootcanal-hero-grid {
    grid-template-columns: 1fr 0.9fr;
    gap: 30px;
  }

  .rootcanal-hero-content h1 {
    font-size: clamp(32px, 4vw, 48px);
  }

}

/* =========================================
   MOBILE RESPONSIVE
========================================= */

@media (max-width: 768px) {

  .rootcanal-hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .rootcanal-hero-content {
    max-width: 100%;
  }

  .rootcanal-hero-content h1 {
    max-width: 100%;
    font-size: clamp(30px, 8vw, 42px);
  }

  .rootcanal-hero-content .lede {
    max-width: 100%;
    font-size: 15px;
  }

  .rootcanal-hero-visual {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
  }

}

/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {

  .rootcanal-hero-grid {
    gap: 24px;
  }

  .rootcanal-hero-content .hero-actions {
    gap: 10px;
  }

  .rootcanal-hero-content .hero-actions .btn {
    font-size: 13px;
  }

  .rootcanal-hero-visual {
    border-radius: 14px;
  }

}

/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

  .rootcanal-hero-visual img {
    transition: none;
  }

}


/* ==========================================
   SSDC - COMMON TREATMENT DETAIL HERO
   Dental Implants / Dental Surgery /
   Root Canal / Dental Bridge
========================================== */

.treatment-detail-hero {
  overflow: hidden;
}

.treatment-detail-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 55px;
  padding-top: 25px;
  padding-bottom: 20px;
}

/* LEFT CONTENT */

.treatment-detail-content {
  width: 100%;
  max-width: 650px;
}

.treatment-detail-content .breadcrumb {
  margin-bottom: 22px;
}

.treatment-detail-content h1 {
  max-width: 720px;
  margin-top: 15px;
}

.treatment-detail-content .lede {
  max-width: 580px;
  margin-top: 18px;
  line-height: 1.8;
}

/* CTA BUTTONS */

.treatment-detail-content .hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 25px;
}

/* RIGHT IMAGE */

.treatment-detail-visual {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 22px;
  background: #f3f6f8;

  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

.treatment-detail-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}

.treatment-detail-visual:hover img {
  transform: scale(1.04);
}

/* ==========================================
   TABLET RESPONSIVE
========================================== */

@media (max-width: 1024px) {

  .treatment-detail-grid {
    grid-template-columns: 1fr 0.9fr;
    gap: 30px;
  }

  .treatment-detail-content h1 {
    font-size: clamp(32px, 4vw, 48px);
  }

}

/* ==========================================
   MOBILE RESPONSIVE
========================================== */

@media (max-width: 768px) {

  .treatment-detail-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .treatment-detail-content {
    max-width: 100%;
  }

  .treatment-detail-content h1 {
    max-width: 100%;
    font-size: clamp(30px, 8vw, 42px);
  }

  .treatment-detail-content .lede {
    max-width: 100%;
    font-size: 15px;
  }

  .treatment-detail-visual {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
  }

}

/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 480px) {

  .treatment-detail-grid {
    gap: 24px;
  }

  .treatment-detail-content .hero-actions {
    gap: 10px;
  }

  .treatment-detail-content .hero-actions .btn {
    font-size: 13px;
  }

  .treatment-detail-visual {
    border-radius: 14px;
  }

}

/* ==========================================
   REDUCED MOTION
========================================== */

@media (prefers-reduced-motion: reduce) {

  .treatment-detail-visual img {
    transition: none;
  }

}

/* =================================
   ABOUT HERO SECTION
================================= */

.about-hero {
  overflow: hidden;
  position: relative;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 55px;
  min-height: 480px;
}

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

.about-hero-content h1 {
  max-width: 650px;
}

.about-hero-content .lede {
  max-width: 570px;
}

/* =================================
   ANIMATED TOOTH VISUAL
================================= */

.about-tooth-visual {
  position: relative;
  width: 100%;
  max-width: 490px;
  aspect-ratio: 1 / 1;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

/* Background Glow */

.tooth-glow {
  position: absolute;
  width: 65%;
  height: 65%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(77, 184, 235, 0.25),
    rgba(77, 184, 235, 0.08) 45%,
    transparent 72%
  );
  filter: blur(18px);
  animation: glowPulse 4s ease-in-out infinite;
  z-index: -1;
}

/* Rotating Rings */

.tooth-orbit {
  position: absolute;
  border: 1px solid rgba(75, 174, 225, 0.35);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-one {
  width: 78%;
  height: 78%;
  animation: toothRotate 18s linear infinite;
}

.orbit-two {
  width: 92%;
  height: 92%;
  border-style: dashed;
  border-color: rgba(75, 174, 225, 0.22);
  animation: toothRotateReverse 28s linear infinite;
}

.orbit-three {
  width: 62%;
  height: 62%;
  border-color: rgba(75, 174, 225, 0.18);
  animation: toothRotate 24s linear infinite;
}

/* Tooth Floating Animation */

.tooth-main {
  position: relative;
  width: 68%;
  z-index: 2;
  animation: toothFloat 4s ease-in-out infinite;
  filter: drop-shadow(0 20px 25px rgba(34, 126, 180, 0.18));
}

.tooth-main svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

/* Sparkles */

.tooth-sparkle {
  position: absolute;
  color: #45b6e8;
  font-size: 23px;
  animation: sparkleFloat 3s ease-in-out infinite;
}

.sparkle-one {
  top: 17%;
  left: 24%;
}

.sparkle-two {
  top: 30%;
  right: 13%;
  animation-delay: 0.8s;
}

.sparkle-three {
  bottom: 22%;
  left: 17%;
  animation-delay: 1.3s;
}

.sparkle-four {
  bottom: 28%;
  right: 19%;
  animation-delay: 1.8s;
}

/* Floating Label */

.tooth-label {
  position: absolute;
  bottom: 8%;
  right: 0;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 18px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 35px rgba(30, 110, 160, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: labelFloat 4s ease-in-out infinite;
  z-index: 3;
}

.tooth-label-icon {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: #37a8df;
  font-size: 18px;
}

.tooth-label strong,
.tooth-label small {
  display: block;
}

.tooth-label strong {
  font-size: 13px;
  color: #183d56;
}

.tooth-label small {
  margin-top: 3px;
  font-size: 10px;
  color: #68869a;
}

/* =================================
   KEYFRAME ANIMATIONS
================================= */

@keyframes toothFloat {
  0%, 100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-17px) rotate(2deg);
  }
}

@keyframes toothRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes toothRotateReverse {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}

@keyframes glowPulse {
  0%, 100% {
    opacity: 0.6;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.12);
  }
}

@keyframes sparkleFloat {
  0%, 100% {
    transform: translateY(0) scale(0.8);
    opacity: 0.5;
  }
  50% {
    transform: translateY(-12px) scale(1.2);
    opacity: 1;
  }
}

@keyframes labelFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* =================================
   RESPONSIVE DESIGN
================================= */

@media (max-width: 900px) {
  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-hero-content {
    text-align: center;
  }

  .about-hero-content .breadcrumb {
    text-align: left;
  }

  .about-hero-content h1,
  .about-hero-content .lede {
    margin-left: auto;
    margin-right: auto;
  }

  .about-tooth-visual {
    max-width: 390px;
  }
}

@media (max-width: 520px) {
  .about-tooth-visual {
    max-width: 320px;
  }

  .tooth-label {
    right: -3px;
    bottom: 5%;
    padding: 10px 12px;
  }

  .tooth-label strong {
    font-size: 11px;
  }

  .tooth-label small {
    font-size: 9px;
  }
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
  .about-tooth-visual *,
  .about-tooth-visual *::before,
  .about-tooth-visual *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* =====================================
   ANIMATED DENTAL TOOTH SCENE
===================================== */

.about-tooth-scene {
  position: relative;
  width: 100%;
  max-width: 550px;
  aspect-ratio: 1.15 / 1;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

/* Background Glow */

.scene-glow {
  position: absolute;
  width: 65%;
  height: 65%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(67, 173, 245, .27),
    rgba(67, 173, 245, .08) 50%,
    transparent 75%
  );
  filter: blur(25px);
  animation: sceneGlow 4s ease-in-out infinite;
  z-index: -1;
}

/* Network Background */

.tooth-network {
  position: absolute;
  inset: 5%;
  width: 90%;
  height: 90%;
  overflow: visible;
  opacity: .75;
}

.network-lines {
  fill: none;
  stroke: #70c9ff;
  stroke-width: 1;
  stroke-dasharray: 5 7;
  animation: networkFlow 12s linear infinite;
}

.network-dots {
  fill: #a9e5ff;
}

.network-dots circle {
  animation: networkPulse 2.5s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}

.network-dots circle:nth-child(2n) {
  animation-delay: .7s;
}

.network-dots circle:nth-child(3n) {
  animation-delay: 1.3s;
}

/* Animated Tooth */

.animated-tooth {
  position: absolute;
  z-index: 4;
  width: 48%;
  top: 5%;
  left: 26%;
  animation: floatingTooth 4.5s ease-in-out infinite;
  filter: drop-shadow(0 15px 22px rgba(37, 138, 201, .2));
}

.animated-tooth svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

/* Platform */

.tooth-platform {
  position: absolute;
  width: 94%;
  height: 25%;
  left: 3%;
  bottom: 10%;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(88, 205, 255, .26),
    rgba(38, 153, 220, .14) 45%,
    rgba(35, 132, 201, .04) 70%,
    transparent 75%
  );
  border: 1px solid rgba(135, 220, 255, .5);
  box-shadow:
    0 0 25px rgba(63, 183, 255, .25),
    inset 0 0 25px rgba(105, 205, 255, .25);
  transform: perspective(350px) rotateX(12deg);
  z-index: 2;
}

.platform-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid transparent;
  inset: 8%;
}

.ring-a {
  border-top-color: #a8eaff;
  border-bottom-color: rgba(73, 190, 255, .7);
  animation: platformRotate 5s linear infinite;
}

.ring-b {
  inset: 16%;
  border-left-color: #ffffff;
  border-right-color: #65caff;
  animation: platformRotateReverse 7s linear infinite;
}

.ring-c {
  inset: 25%;
  border-top-color: rgba(255,255,255,.9);
  border-bottom-color: rgba(76, 191, 255, .9);
  animation: platformRotate 3s linear infinite;
}

.platform-core {
  position: absolute;
  width: 55%;
  height: 55%;
  top: 22%;
  left: 22.5%;
  border-radius: 50%;
  background: radial-gradient(
    ellipse,
    rgba(255,255,255,.5),
    rgba(66,177,238,.16),
    transparent
  );
  animation: corePulse 3s ease-in-out infinite;
}

/* Particles */

.scene-particle {
  position: absolute;
  width: 5px;
  height: 5px;
  background: #a9eaff;
  border-radius: 50%;
  box-shadow: 0 0 12px 3px rgba(79, 189, 255, .7);
  z-index: 5;
  animation: particleFloat 4s ease-in-out infinite;
}

.particle-a {
  top: 22%;
  left: 17%;
}

.particle-b {
  top: 35%;
  right: 13%;
  animation-delay: .8s;
}

.particle-c {
  bottom: 33%;
  left: 12%;
  animation-delay: 1.4s;
}

.particle-d {
  bottom: 29%;
  right: 18%;
  animation-delay: 2s;
}

.particle-e {
  top: 13%;
  right: 30%;
  animation-delay: .5s;
}

/* =====================================
   KEYFRAME ANIMATIONS
===================================== */

@keyframes floatingTooth {
  0%, 100% {
    transform: translateY(0) rotate(-1deg);
  }

  50% {
    transform: translateY(-17px) rotate(1deg);
  }
}

@keyframes platformRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes platformRotateReverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

@keyframes sceneGlow {
  0%, 100% {
    opacity: .55;
    transform: scale(.9);
  }

  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

@keyframes networkFlow {
  to { stroke-dashoffset: -100; }
}

@keyframes networkPulse {
  0%, 100% {
    opacity: .35;
    transform: scale(.7);
  }

  50% {
    opacity: 1;
    transform: scale(1.5);
  }
}

@keyframes corePulse {
  0%, 100% { opacity: .45; }
  50% { opacity: 1; }
}

@keyframes particleFloat {
  0%, 100% {
    transform: translateY(0);
    opacity: .4;
  }

  50% {
    transform: translateY(-18px);
    opacity: 1;
  }
}

/* Responsive */

@media (max-width: 768px) {
  .about-tooth-scene {
    max-width: 440px;
  }
}

@media (max-width: 480px) {
  .about-tooth-scene {
    max-width: 100%;
  }
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
  .about-tooth-scene *,
  .about-tooth-scene *::before {
    animation: none !important;
  }
}



/* =============================================
   GALLERY HERO - PREMIUM RESPONSIVE DESIGN
   LEFT CONTENT + RIGHT TOOTH IMAGE
============================================= */

.gallery-hero {
  position: relative;
  overflow: hidden;
  min-height: 530px;
  padding: 65px 0;
  box-sizing: border-box;

  background: linear-gradient(
    120deg,
    #f5fbff 0%,
    #ffffff 55%,
    #edf8ff 100%
  );
}

/* MAIN GRID */

.gallery-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 35px;

  min-height: 400px;
}

/* =============================================
   LEFT SIDE CONTENT
============================================= */

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

.gallery-hero-content .breadcrumb {
  margin-bottom: 25px;
}

.gallery-hero-content .eyebrow {
  margin-bottom: 18px;
}

.gallery-hero-content h1 {
  max-width: 620px;

  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.12;
  letter-spacing: -1.5px;
  font-weight: 750;

  color: #123653;

  margin-bottom: 22px;
}

.gallery-hero-content .lede {
  max-width: 550px;

  font-size: 16px;
  line-height: 1.85;

  color: #63788b;
}

/* =============================================
   RIGHT SIDE IMAGE CONTAINER
============================================= */

.gallery-hero-visual {
  position: relative;

  width: 100%;
  max-width: 250px;

  justify-self: center;

  display: flex;
  align-items: center;
  justify-content: center;

  isolation: isolate;
}

/* ORIGINAL IMAGE RATIO: 1122 x 1402 */

.gallery-tooth-image {
  position: relative;
  z-index: 1;

  width: 100%;
  aspect-ratio: 1122 / 1402;

  overflow: visible;

  animation: galleryToothFloat 5s ease-in-out infinite;
}

/* IMAGE */

.gallery-tooth-image img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: contain;
  object-position: center;

  border-radius: 22px;

  filter: drop-shadow(
    0 20px 35px rgba(24, 111, 172, 0.14)
  );
}

/* =============================================
   BACKGROUND BLUE GLOW
============================================= */

.gallery-tooth-glow {
  position: absolute;
  z-index: 0;

  width: 85%;
  aspect-ratio: 1 / 1;

  border-radius: 50%;

  background: radial-gradient(
    circle,
    rgba(35, 169, 232, 0.19),
    rgba(35, 169, 232, 0.06) 55%,
    transparent 75%
  );

  filter: blur(18px);

  animation: galleryGlow 5s ease-in-out infinite alternate;
}

/* =============================================
   IMAGE FLOATING ANIMATION
============================================= */

@keyframes galleryToothFloat {
  0%, 100% {
    transform: translateY(0);
  }

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

/* GLOW ANIMATION */

@keyframes galleryGlow {
  from {
    transform: scale(.92);
    opacity: .65;
  }

  to {
    transform: scale(1.08);
    opacity: 1;
  }
}

/* =============================================
   TABLET RESPONSIVE
============================================= */

@media (max-width: 900px) {

  .gallery-hero {
    min-height: 500px;
    padding: 55px 0;
  }

  .gallery-hero-grid {
    grid-template-columns: 1fr 0.85fr;
    min-height: 390px;
    gap: 20px;
  }

  .gallery-hero-visual {
    max-width: 300px;
  }

  .gallery-hero-content h1 {
    font-size: clamp(34px, 5vw, 48px);
  }

}

/* =============================================
   MOBILE RESPONSIVE
============================================= */

@media (max-width: 768px) {

  .gallery-hero {
    min-height: auto;
    padding: 40px 0 45px;
  }

  .gallery-hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;

    gap: 25px;

    text-align: center;
  }

  /* CONTENT */

  .gallery-hero-content {
    max-width: 100%;
  }

  .gallery-hero-content .breadcrumb {
    text-align: left;
    margin-bottom: 22px;
  }

  .gallery-hero-content h1 {
    max-width: 100%;

    font-size: clamp(34px, 9vw, 45px);
    line-height: 1.15;

    letter-spacing: -1px;

    margin-left: auto;
    margin-right: auto;
  }

  .gallery-hero-content .lede {
    max-width: 100%;

    margin-left: auto;
    margin-right: auto;

    font-size: 14px;
    line-height: 1.8;
  }

  /* IMAGE ONLY SIZE CONTROL */

  .gallery-hero-visual {
    width: 100%;
    max-width: 280px;

    margin: 0 auto;
  }

}

/* =============================================
   SMALL MOBILE
============================================= */

@media (max-width: 480px) {

  .gallery-hero {
    padding: 32px 0 38px;
  }

  .gallery-hero-grid {
    gap: 20px;
  }

  .gallery-hero-visual {
    max-width: 250px;
  }

  .gallery-tooth-image img {
    border-radius: 18px;
  }

}

/* =============================================
   ACCESSIBILITY - REDUCED MOTION
============================================= */

@media (prefers-reduced-motion: reduce) {

  .gallery-tooth-image,
  .gallery-tooth-glow {
    animation: none !important;
  }

}



/* =========================================
   DOCTOR CERTIFICATIONS - PREMIUM SECTION
========================================= */

.doctor-certifications {
  position: relative;
  overflow: hidden;
  padding: 90px 0;
  background: linear-gradient(
    135deg,
    #f5fbff 0%,
    #ffffff 50%,
    #f0f8fd 100%
  );
}

/* SUBTLE BACKGROUND DECORATION */

.doctor-certifications::before {
  content: "";
  position: absolute;
  width: 350px;
  height: 350px;
  top: -180px;
  right: -100px;
  border-radius: 50%;
  background: rgba(54, 165, 220, .07);
  filter: blur(30px);
  pointer-events: none;
}

.doctor-certifications::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  bottom: -180px;
  left: -100px;
  border-radius: 50%;
  background: rgba(214, 174, 99, .08);
  filter: blur(30px);
  pointer-events: none;
}

/* SECTION HEADING */

.certifications-heading {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto 50px;
  text-align: center;
}

.certifications-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--royal, #17649b);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.cert-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--gold, #d6ae63);
  box-shadow: 0 0 0 4px rgba(214,174,99,.17);
}

.certifications-heading h2 {
  margin: 0 0 16px;
  color: #153953;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.2;
  font-weight: 750;
  letter-spacing: -1px;
}

.certifications-heading h2 span {
  color: var(--royal, #17649b);
}

.certifications-heading p {
  max-width: 580px;
  margin: 0 auto;
  color: #718496;
  font-size: 15px;
  line-height: 1.8;
}

/* CERTIFICATE GRID */

.certifications-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}

/* CERTIFICATE CARD */

.certificate-card {
  position: relative;
  min-width: 0;
  min-height: 290px;
  padding: 32px 22px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  overflow: hidden;
  cursor: pointer;
  text-align: center;

  border: 1px solid rgba(43, 120, 166, .13);
  border-radius: 22px;

  background: rgba(255, 255, 255, .82);

  box-shadow:
    0 12px 35px rgba(25, 83, 119, .06),
    inset 0 1px 0 rgba(255,255,255,.9);

  backdrop-filter: blur(12px);

  transition:
    transform .35s ease,
    box-shadow .35s ease,
    border-color .35s ease;
}

/* CARD TOP NUMBER */

.certificate-number {
  position: absolute;
  top: 18px;
  right: 20px;
  color: #b3c5d1;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}

/* TOOTH ICON */

.certificate-tooth {
  width: 76px;
  height: 76px;
  margin-bottom: 22px;

  display: grid;
  place-items: center;

  border-radius: 24px;

  background: linear-gradient(
    145deg,
    #e9f7ff,
    #ffffff
  );

  border: 1px solid rgba(40, 137, 190, .16);

  box-shadow:
    0 8px 22px rgba(28, 116, 162, .08),
    inset 0 1px 5px rgba(255,255,255,.9);

  transition:
    transform .35s ease,
    background .35s ease;
}

.certificate-tooth svg {
  width: 43px;
  height: 43px;
  fill: none;
  stroke: #1976a9;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* CARD TEXT */

.certificate-name {
  color: #173d59;
  font-size: 19px;
  font-weight: 750;
  margin-bottom: 8px;
}

.certificate-description {
  color: #8093a2;
  font-size: 12px;
  line-height: 1.6;
}

/* VIEW BUTTON TEXT */

.certificate-action {
  display: inline-flex;
  align-items: center;
  gap: 9px;

  margin-top: 23px;
  padding: 10px 17px;

  border-radius: 30px;

  color: #17649b;
  background: #edf7fc;

  font-size: 12px;
  font-weight: 700;

  transition:
    color .3s ease,
    background .3s ease;
}

.certificate-action span {
  font-size: 17px;
  line-height: 1;
}

/* HOVER EFFECT */

.certificate-card:hover {
  transform: translateY(-9px);

  border-color: rgba(35, 132, 184, .35);

  box-shadow:
    0 22px 45px rgba(25, 91, 130, .13),
    0 5px 15px rgba(25, 91, 130, .05);
}

.certificate-card:hover .certificate-tooth {
  transform: translateY(-4px) scale(1.06);
  background: linear-gradient(145deg, #dff3ff, #ffffff);
}

.certificate-card:hover .certificate-action {
  color: #ffffff;
  background: #176da5;
}

.certificate-card:focus-visible {
  outline: 3px solid #3b9bd0;
  outline-offset: 4px;
}

/* FOOTER */

.certifications-footer {
  position: relative;
  z-index: 1;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;

  margin-top: 42px;

  color: #8a9cab;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-align: center;
}

.certification-footer-line {
  width: 45px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    #c7dce8
  );
}

.certification-footer-line:last-child {
  transform: rotate(180deg);
}

/* =========================================
   CERTIFICATE POPUP MODAL
========================================= */

.certificate-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 20px;

  background: rgba(7, 26, 43, .78);
  backdrop-filter: blur(12px);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity .3s ease,
    visibility .3s ease;
}

.certificate-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.certificate-modal-content {
  width: 100%;
  max-width: 850px;
  max-height: 92vh;

  display: flex;
  flex-direction: column;

  overflow: hidden;

  border: 1px solid rgba(255,255,255,.45);
  border-radius: 20px;

  background: #ffffff;

  box-shadow: 0 25px 80px rgba(0,0,0,.3);

  transform: translateY(25px) scale(.97);
  transition: transform .35s ease;
}

.certificate-modal.active .certificate-modal-content {
  transform: translateY(0) scale(1);
}

/* MODAL HEADER */

.certificate-modal-header {
  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 18px 24px;

  border-bottom: 1px solid #edf1f4;
}

.modal-overline {
  display: block;
  margin-bottom: 5px;

  color: #b08b4e;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.8px;
}

.certificate-modal-header h3 {
  margin: 0;
  color: #153953;
  font-size: 19px;
}

.certificate-close {
  width: 38px;
  height: 38px;

  display: grid;
  place-items: center;

  border: 0;
  border-radius: 50%;

  color: #526c7e;
  background: #eff5f8;

  font-size: 27px;
  line-height: 1;
  cursor: pointer;

  transition: .25s ease;
}

.certificate-close:hover {
  color: #ffffff;
  background: #176da5;
  transform: rotate(90deg);
}

/* IMAGE PREVIEW */

.certificate-preview {
  min-height: 200px;
  max-height: calc(92vh - 145px);

  padding: 22px;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: auto;

  background:
    linear-gradient(45deg, #f4f7f9 25%, transparent 25%),
    linear-gradient(-45deg, #f4f7f9 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #f4f7f9 75%),
    linear-gradient(-45deg, transparent 75%, #f4f7f9 75%);

  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0;
}

.certificate-preview img {
  display: block;

  max-width: 100%;
  max-height: calc(92vh - 210px);

  width: auto;
  height: auto;

  object-fit: contain;

  border-radius: 4px;

  box-shadow: 0 8px 28px rgba(0,0,0,.12);

  transition: transform .3s ease;
}

.certificate-preview img.zoomed {
  max-width: none;
  max-height: none;
  width: 125%;
  cursor: zoom-out;
}

/* MODAL FOOTER */

.certificate-modal-footer {
  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 14px 24px;

  border-top: 1px solid #edf1f4;

  color: #8496a3;
  font-size: 11px;
  font-weight: 600;
}

.certificate-zoom {
  padding: 9px 17px;

  border: 1px solid #d8e8f1;
  border-radius: 25px;

  color: #17649b;
  background: #f2f9fd;

  font-size: 12px;
  font-weight: 700;

  cursor: pointer;
  transition: .25s ease;
}

.certificate-zoom:hover {
  color: #ffffff;
  background: #176da5;
}

/* =========================================
   TABLET RESPONSIVE
========================================= */

@media (max-width: 900px) {

  .doctor-certifications {
    padding: 70px 0;
  }

  .certifications-grid {
    gap: 17px;
  }

  .certificate-card {
    min-height: 270px;
    padding: 25px 15px;
  }

  .certificate-name {
    font-size: 17px;
  }

}

/* =========================================
   MOBILE RESPONSIVE
========================================= */

@media (max-width: 650px) {

  .doctor-certifications {
    padding: 60px 0;
  }

  .certifications-heading {
    margin-bottom: 32px;
  }

  .certifications-heading h2 {
    font-size: 32px;
  }

  .certifications-heading p {
    font-size: 13px;
  }

  .certifications-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 400px;
    margin: 0 auto;
  }

  .certificate-card {
    min-height: 225px;
    padding: 25px 18px;
  }

  .certificate-tooth {
    width: 65px;
    height: 65px;
    margin-bottom: 15px;
  }

  .certificate-tooth svg {
    width: 37px;
    height: 37px;
  }

  .certificate-action {
    margin-top: 16px;
  }

  .certifications-footer {
    gap: 9px;
    font-size: 9px;
    letter-spacing: .5px;
  }

  .certification-footer-line {
    width: 20px;
  }

  /* MOBILE MODAL */

  .certificate-modal {
    padding: 10px;
  }

  .certificate-modal-content {
    max-height: 94vh;
    border-radius: 14px;
  }

  .certificate-modal-header {
    padding: 14px 16px;
  }

  .certificate-preview {
    padding: 12px;
    max-height: calc(94vh - 130px);
  }

  .certificate-preview img {
    max-height: calc(94vh - 185px);
  }

  .certificate-modal-footer {
    padding: 12px 16px;
  }

}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {

  .certificate-card,
  .certificate-tooth,
  .certificate-action,
  .certificate-modal,
  .certificate-modal-content,
  .certificate-close {
    transition: none !important;
  }

}




/* =========================================
   PREMIUM EXPERIENCE GLASS BADGE
========================================= */

.hero-visual {
  position: relative;
}

.experience-badge {
  position: absolute;
  right: -38px;
  left: auto;

  top: 8%;
  bottom: auto;
  z-index: 5;

  width: 105px;
  min-height: 110px;
  padding: 20px 15px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;

  overflow: hidden;
  isolation: isolate;

  background: linear-gradient(
    145deg,
    rgba(255,255,255,.82),
    rgba(225,242,255,.52)
  );

  border: 1px solid rgba(255,255,255,.9);
  border-radius: 25px;

  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);

  box-shadow:
    0 18px 45px rgba(12,55,110,.16),
    inset 0 1px 2px rgba(255,255,255,.95),
    0 0 20px rgba(47,174,255,.10);

  animation: experienceFloat 4s ease-in-out infinite;
}

/* Blue illumination */

.experience-glow {
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);

  width: 100px;
  height: 100px;

  border-radius: 50%;
  background: rgba(0,174,255,.28);
  filter: blur(35px);
  z-index: -1;
}

/* Illuminated tooth */

.experience-tooth {
  width: 47px;
  height: 47px;
  color: #d6ae63;
  margin-bottom: 8px;

  filter:
    drop-shadow(0 0 5px rgba(214,174,99,.7))
    drop-shadow(0 0 12px rgba(0,174,255,.35));
}

.experience-tooth svg {
  width: 100%;
  height: 100%;
}

/* Animated number */

.experience-count-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;

  color: var(--royal);
  line-height: 1;
}

.experience-count {
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -2px;
}

.experience-plus {
  font-size: 2rem;
  font-weight: 800;
  color: #d6ae63;
  margin-left: 3px;
}

/* Badge text */

.experience-title {
  margin-top: 10px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: var(--royal);
}

.experience-subtitle {
  margin-top: 6px;
  font-size: .72rem;
  color: #64748b;
  font-weight: 500;
}

/* Floating animation */

@keyframes experienceFloat {
  0%, 100% {
    transform: translateY(0);
  }

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

/* Responsive */

@media (max-width: 768px) {
  .experience-badge {
    width: 145px;
    min-height: 155px;
    padding: 15px 10px;
    left: 10px;
    bottom: 15px;
    border-radius: 20px;
  }

  .experience-tooth {
    width: 36px;
    height: 36px;
  }

  .experience-count {
    font-size: 2.5rem;
  }

  .experience-plus {
    font-size: 1.6rem;
  }

  .experience-title {
    font-size: .58rem;
  }

  .experience-subtitle {
    font-size: .63rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .experience-badge {
    animation: none;
  }
}

