/* ============================================================
   KULKARNI DERMATOLOGY CENTRE — index.css
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --navy:       #1a2e7a;
  --navy-dark:  #111e55;
  --cyan:       #00b8d9;
  --mint:       #00e5a0;
  --teal:       #00c9b1;
  --white:      #ffffff;
  --soft-bg:    #f0fbff;
  --text-dark:  #0d1b4b;
  --text-mid:   #3a4a7a;
  --text-light: #7a8ab0;
  --font-display: 'Cormorant Garamond', serif;
  --font-body:    'DM Sans', sans-serif;
  --nav-h:    80px;
  --radius:   18px;
  --shadow:   0 8px 40px rgba(26,46,122,.12);
  --transition: .35s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--white); color: var(--text-dark); overflow-x: hidden; }
img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,184,217,.15);
  z-index: 1000;
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: 0 4px 30px rgba(26,46,122,.12); }
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { height: 80px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  font-size: .9rem; font-weight: 500; color: var(--text-mid);
  padding: 8px 18px; border-radius: 50px;
  transition: all var(--transition); position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 4px; left: 50%; right: 50%;
  height: 2px; background: linear-gradient(90deg, var(--mint), var(--cyan));
  border-radius: 2px; transition: all var(--transition);
}
.nav-links a:hover { color: var(--navy); }
.nav-links a:hover::after, .nav-links a.active::after { left: 18px; right: 18px; }
.nav-links a.active { color: var(--navy); font-weight: 600; }
.nav-cta {
  background: linear-gradient(135deg, var(--navy), var(--cyan)) !important;
  color: var(--white) !important; padding: 10px 24px !important;
  border-radius: 50px !important; font-weight: 600 !important;
  box-shadow: 0 4px 20px rgba(0,184,217,.35);
  transition: transform var(--transition), box-shadow var(--transition) !important;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,184,217,.5) !important; }
.nav-cta::after { display: none !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.hamburger span { width: 26px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: all var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.mobile-nav {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: rgba(255,255,255,.97); backdrop-filter: blur(20px);
  padding: 20px 5% 30px; border-bottom: 1px solid rgba(0,184,217,.15);
  flex-direction: column; gap: 4px; z-index: 999;
  transform: translateY(-20px); opacity: 0; pointer-events: none;
  transition: all var(--transition);
}
.mobile-nav.open { display: flex; transform: translateY(0); opacity: 1; pointer-events: all; }
.mobile-nav a { font-size: 1rem; font-weight: 500; color: var(--text-mid); padding: 12px 16px; border-radius: 12px; transition: all var(--transition); }
.mobile-nav a:hover { background: var(--soft-bg); color: var(--navy); }
.mobile-nav .nav-cta { margin-top: 8px; text-align: center; background: linear-gradient(135deg, var(--navy), var(--cyan)) !important; color: var(--white) !important; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  padding-top: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 70% 50%, rgba(0,229,160,.07) 0%, transparent 65%),
    radial-gradient(ellipse 50% 60% at 20% 80%, rgba(0,184,217,.09) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 10%, rgba(26,46,122,.06) 0%, transparent 50%);
  pointer-events: none;
}
.hero-bg-cells { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.cell { position: absolute; border-radius: 50%; opacity: .06; animation: floatCell linear infinite; }
.cell:nth-child(1) { width:180px;height:180px;background:var(--mint);top:10%;left:5%;animation-duration:18s; }
.cell:nth-child(2) { width:120px;height:120px;background:var(--cyan);top:60%;left:2%;animation-duration:22s;animation-delay:-4s; }
.cell:nth-child(3) { width:220px;height:220px;background:var(--navy);top:20%;left:80%;animation-duration:20s;animation-delay:-8s; }
.cell:nth-child(4) { width:90px;height:90px;background:var(--teal);top:75%;left:85%;animation-duration:16s;animation-delay:-2s; }
.cell:nth-child(5) { width:140px;height:140px;background:var(--mint);top:45%;left:45%;animation-duration:25s;animation-delay:-12s; }
@keyframes floatCell {
  0%   { transform: translateY(0) scale(1) rotate(0deg); }
  33%  { transform: translateY(-40px) scale(1.05) rotate(120deg); }
  66%  { transform: translateY(20px) scale(.95) rotate(240deg); }
  100% { transform: translateY(0) scale(1) rotate(360deg); }
}
.hero-content { padding: 80px 5% 80px 8%; position: relative; z-index: 2; animation: fadeSlideUp .8s ease both; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, rgba(0,229,160,.12), rgba(0,184,217,.12));
  border: 1px solid rgba(0,184,217,.25); color: var(--teal);
  font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: 7px 16px; border-radius: 50px; margin-bottom: 24px;
}
.hero-badge .dot { width: 7px; height: 7px; background: var(--mint); border-radius: 50%; animation: pulse 2s ease infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.4)} }
.hero-title { font-family: var(--font-display); font-size: clamp(2.6rem,5vw,4.2rem); font-weight: 700; line-height: 1.1; color: var(--navy); margin-bottom: 22px; animation: fadeSlideUp .8s .15s ease both; }
.gradient-text { background: linear-gradient(135deg, var(--mint), var(--cyan), var(--navy)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-subtitle { font-size: 1.05rem; line-height: 1.75; color: var(--text-mid); max-width: 500px; margin-bottom: 36px; animation: fadeSlideUp .8s .3s ease both; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; animation: fadeSlideUp .8s .45s ease both; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--navy), #2541a8); color: var(--white);
  font-size: .95rem; font-weight: 600; padding: 14px 30px; border-radius: 50px;
  border: none; cursor: pointer; box-shadow: 0 6px 30px rgba(26,46,122,.35);
  transition: all var(--transition);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(26,46,122,.4); }
.btn-primary svg { transition: transform var(--transition); }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: var(--navy);
  font-size: .95rem; font-weight: 600; padding: 13px 28px; border-radius: 50px;
  border: 2px solid rgba(0,184,217,.4); cursor: pointer; transition: all var(--transition);
}
.btn-secondary:hover { background: rgba(0,184,217,.08); border-color: var(--cyan); transform: translateY(-3px); }

/* Hero Visual */
.hero-visual {
  position: relative; height: 100%; min-height: 600px;
  display: flex; align-items: center; justify-content: center;
  animation: fadeSlideUp .9s .2s ease both;
}
.hero-orb {
  position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: conic-gradient(from 180deg, rgba(0,229,160,.18) 0deg, rgba(0,184,217,.22) 120deg, rgba(26,46,122,.14) 240deg, rgba(0,229,160,.18) 360deg);
  filter: blur(55px); animation: orbPulse 6s ease-in-out infinite; pointer-events: none;
}
@keyframes orbPulse { 0%,100%{transform:scale(1);opacity:.8} 50%{transform:scale(1.1);opacity:1} }
.machine-showcase {
  position: relative; z-index: 2;
  background: rgba(255,255,255,.92); backdrop-filter: blur(20px);
  border: 1px solid rgba(0,184,217,.18); border-radius: 28px;
  padding: 20px; box-shadow: 0 24px 64px rgba(26,46,122,.16);
  width: 300px; max-width: 90vw;
}
.machine-img-wrap {
  width: 100%; height: 220px; border-radius: 18px; overflow: hidden;
  background: linear-gradient(135deg, var(--soft-bg), rgba(0,184,217,.06));
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.machine-main-img { width: 100%; height: 100%; object-fit: contain; padding: 12px; transition: transform .6s cubic-bezier(.4,0,.2,1); }
.machine-showcase:hover .machine-main-img { transform: scale(1.04); }
.machine-img-fallback { display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--text-light); font-size: .8rem; }
.machine-badge { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 4px 4px 0; }
.machine-logo-img { height: 28px; width: auto; object-fit: contain; max-width: 140px; }
.machine-logo-fallback { font-size: .75rem; font-weight: 700; letter-spacing: .08em; color: var(--navy); text-transform: uppercase; }
.machine-badge-sub { font-size: .72rem; color: var(--text-light); font-weight: 500; }

/* Float cards */
.float-card {
  position: absolute; z-index: 3;
  background: rgba(255,255,255,.97); border: 1px solid rgba(0,184,217,.18);
  border-radius: 16px; padding: 10px 14px;
  box-shadow: 0 8px 28px rgba(26,46,122,.13);
  display: flex; align-items: center; gap: 10px; white-space: nowrap;
  animation: floatY 4s ease-in-out infinite;
}
@keyframes floatY { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
.fc-natural { top: -20px; left: -100px; animation-delay: -1.5s; }
.fc-rating  { bottom: -16px; right: -90px; animation-delay: -3s; }
.fc-device  { top: 50%; left: -110px; transform: translateY(-50%); animation-delay: -0.8s; }
.fc-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.fc-device-img-wrap {
  width: 36px; height: 36px; border-radius: 10px; overflow: hidden; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(0,229,160,.12), rgba(0,184,217,.12));
  display: flex; align-items: center; justify-content: center;
}
.fc-device-img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.fc-text strong { display: block; font-size: .8rem; font-weight: 700; color: var(--navy); }
.fc-text span   { font-size: .7rem; color: var(--text-light); }

.mobile-float-cards { display: none; justify-content: center; gap: 14px; flex-wrap: wrap; padding: 8px 5% 28px; }
.mfc-card { display: flex; align-items: center; gap: 12px; background: var(--white); border: 1px solid rgba(0,184,217,.18); border-radius: 16px; padding: 12px 18px; box-shadow: 0 4px 16px rgba(26,46,122,.1); }
.mfc-card .fc-text strong { display: block; font-size: .82rem; font-weight: 700; color: var(--navy); }
.mfc-card .fc-text span   { font-size: .72rem; color: var(--text-light); }

/* ============================================================
   TICKER
   ============================================================ */
.ticker { background: linear-gradient(135deg, var(--navy), #2541a8); overflow: hidden; padding: 14px 0; }
.ticker-inner { display: flex; animation: tickerMove 28s linear infinite; width: max-content; }
.ticker-item { display: flex; align-items: center; gap: 12px; padding: 0 40px; font-size: .82rem; font-weight: 500; color: rgba(255,255,255,.85); white-space: nowrap; }
.ticker-item .dot { width: 5px; height: 5px; background: var(--mint); border-radius: 50%; flex-shrink: 0; }
@keyframes tickerMove { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ============================================================
   SERVICES PREVIEW — DARK NAVY background so images stand out
   ============================================================ */
.services-preview {
  padding: 100px 8% 90px;
  background: var(--navy-dark);
  position: relative;
  overflow: hidden;
}
.services-preview::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 60% at 10% 20%, rgba(0,229,160,.06) 0%, transparent 65%),
    radial-gradient(ellipse 45% 50% at 90% 80%, rgba(0,184,217,.08) 0%, transparent 65%);
  pointer-events: none;
}
.services-tag   { color: var(--mint) !important; background: rgba(0,229,160,.12) !important; border-color: rgba(0,229,160,.25) !important; }
.services-title { color: var(--white) !important; }
.services-subtitle { color: rgba(255,255,255,.6) !important; }

.section-tag { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); background: rgba(0,201,177,.1); border: 1px solid rgba(0,201,177,.2); padding: 5px 14px; border-radius: 50px; margin-bottom: 14px; }
.section-title { font-family: var(--font-display); font-size: clamp(2rem,4vw,3rem); font-weight: 700; color: var(--navy); margin-bottom: 10px; line-height: 1.2; }
.section-subtitle { font-size: 1rem; color: var(--text-mid); max-width: 520px; line-height: 1.7; margin-bottom: 56px; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 22px; }

.service-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  overflow: hidden; cursor: pointer;
  display: flex; flex-direction: column;
  transition: all var(--transition);
  position: relative;
}
.service-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,229,160,.08), rgba(0,184,217,.08));
  opacity: 0; transition: opacity var(--transition);
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0,229,160,.4);
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.service-card:hover::after { opacity: 1; }
.service-img-wrap {
  width: 100%; height: 210px; overflow: hidden; position: relative;
  background: #ffffff; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.service-img-wrap img {
  width: 100%; height: 100%; object-fit: contain; padding: 18px;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.service-card:hover .service-img-wrap img { transform: scale(1.08); }
.service-img-overlay {
  position: absolute; bottom: 0; left: 0; right: 0; height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(17,30,85,.12));
  pointer-events: none;
}
.service-img-label {
  position: absolute; top: 10px; right: 10px;
  font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--navy); background: rgba(0,229,160,.9);
  padding: 3px 9px; border-radius: 50px; pointer-events: none;
}
.service-img-wrap .service-icon-fallback { font-size: 3rem; }
.service-card-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.service-tag-pill {
  display: inline-block; font-size: .66rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--mint);
  background: rgba(0,229,160,.12); border: 1px solid rgba(0,229,160,.25);
  padding: 3px 10px; border-radius: 50px; margin-bottom: 10px; align-self: flex-start;
}
.service-card-body h3 { font-size: 1rem; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.service-card-body p  { font-size: .84rem; line-height: 1.65; color: rgba(255,255,255,.55); flex: 1; }
.service-link { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600; color: var(--mint); margin-top: 14px; transition: gap var(--transition); }
.service-card:hover .service-link { gap: 10px; }

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-us { padding: 100px 8%; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; background: var(--white); }
.why-visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 420px; }

/* Decorative blob behind machines */
.why-bg-shape {
  width: 340px; height: 340px;
  background: linear-gradient(135deg, rgba(0,229,160,.12), rgba(0,184,217,.18));
  border-radius: 50%;
  filter: blur(40px);
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  pointer-events: none; z-index: 0;
  animation: orbPulse 6s ease-in-out infinite;
}

/* 2-machine side-by-side grid */
.why-machines-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  position: relative; z-index: 2;
  width: 100%;
}

.why-machine-card {
  background: var(--white);
  border: 1.5px solid rgba(0,184,217,.15);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(26,46,122,.10);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex; flex-direction: column;
}
.why-machine-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(26,46,122,.16);
  border-color: rgba(0,184,217,.35);
}

.why-machine-img {
  width: 100%; height: 240px;
  background: var(--soft-bg);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  padding: 0;
}
.why-machine-img img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 20px;
  transition: transform .5s ease;
}
.why-machine-card:hover .why-machine-img img { transform: scale(1.06); }
.why-machine-fallback {
  background: linear-gradient(135deg, var(--soft-bg), rgba(0,184,217,.08));
}

.why-machine-label {
  padding: 14px 16px;
  border-top: 1px solid rgba(0,184,217,.10);
  display: flex; flex-direction: column; gap: 2px;
  background: var(--white);
}
.why-machine-brand {
  font-size: .65rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal);
}
.why-machine-name {
  font-size: .95rem; font-weight: 700; color: var(--navy); line-height: 1.2;
}
.why-machine-sub {
  font-size: .72rem; color: var(--text-light);
}
.equipment-badges { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; padding: 14px 18px; background: var(--soft-bg); border: 1px solid rgba(0,184,217,.12); border-radius: 14px; }
.eq-badge { display: flex; align-items: center; padding: 6px 14px; background: var(--white); border: 1px solid rgba(0,184,217,.15); border-radius: 10px; box-shadow: 0 2px 10px rgba(26,46,122,.06); transition: all var(--transition); }
.eq-badge:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,46,122,.12); }
.eq-badge img { height: 24px; width: auto; object-fit: contain; max-width: 90px; }
.eq-badge-text { font-size: .75rem; font-weight: 700; color: var(--navy); letter-spacing: .05em; }
.why-content .section-subtitle { margin-bottom: 20px; }
.feature-list { display: flex; flex-direction: column; gap: 14px; }
.feature-row { display: flex; align-items: flex-start; gap: 14px; padding: 14px 16px; background: var(--soft-bg); border-radius: 14px; transition: all var(--transition); }
.feature-row:hover { background: rgba(0,184,217,.06); transform: translateX(6px); }
.feature-check { width: 28px; height: 28px; flex-shrink: 0; background: linear-gradient(135deg, var(--mint), var(--cyan)); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: .85rem; }
.feature-row h5 { font-size: .9rem; font-weight: 600; color: var(--navy); margin-bottom: 3px; }
.feature-row p  { font-size: .8rem; color: var(--text-mid); line-height: 1.5; }

/* ============================================================
   MACHINES SECTION
   ============================================================ */
.machines-section { padding: 90px 0 80px; background: var(--navy); overflow: hidden; position: relative; }
.machines-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 40% 60% at 15% 50%, rgba(0,229,160,.07) 0%, transparent 70%), radial-gradient(ellipse 35% 50% at 85% 50%, rgba(0,184,217,.09) 0%, transparent 70%); pointer-events: none; }
.machines-header { text-align: center; padding: 0 8%; margin-bottom: 52px; }
.machines-track-wrap { overflow: hidden; position: relative; }
.machines-track-wrap::before, .machines-track-wrap::after { content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none; }
.machines-track-wrap::before { left: 0; background: linear-gradient(to right, var(--navy), transparent); }
.machines-track-wrap::after  { right: 0; background: linear-gradient(to left, var(--navy), transparent); }
.machines-track { display: flex; gap: 20px; padding: 10px 60px 24px; animation: machineScroll 36s linear infinite; width: max-content; }
.machines-track:hover { animation-play-state: paused; }
@keyframes machineScroll { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
.machine-card { flex: 0 0 220px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 20px; overflow: hidden; transition: all var(--transition); }
.machine-card:hover { background: rgba(255,255,255,.12); border-color: rgba(0,229,160,.35); transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,.3); }
.machine-card-img { width: 100%; height: 160px; background: rgba(255,255,255,.92); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.machine-card-img img { width: 100%; height: 100%; object-fit: contain; padding: 12px; transition: transform .5s ease; }
.machine-card:hover .machine-card-img img { transform: scale(1.08); }
.machine-card-img.mc-fallback { background: linear-gradient(135deg, rgba(0,229,160,.1), rgba(0,184,217,.1)); }
.machine-card-info { padding: 16px; }
.mc-brand { display: inline-block; font-size: .65rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mint); background: rgba(0,229,160,.12); border: 1px solid rgba(0,229,160,.2); padding: 2px 8px; border-radius: 50px; margin-bottom: 6px; }
.machine-card-info h4 { font-size: .88rem; font-weight: 600; color: var(--white); margin-bottom: 6px; line-height: 1.3; }
.machine-card-info p  { font-size: .75rem; color: rgba(255,255,255,.5); line-height: 1.55; }

/* ============================================================
   CONDITIONS CAROUSEL
   ============================================================ */
.conditions { padding: 100px 8%; background: var(--soft-bg); position: relative; overflow: hidden; }
.conditions::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 60% at 20% 50%, rgba(0,229,160,.06) 0%, transparent 70%), radial-gradient(ellipse 40% 50% at 80% 50%, rgba(0,184,217,.08) 0%, transparent 70%); pointer-events: none; }
.conditions .section-tag  { color: var(--teal); }
.conditions .section-title { color: var(--navy); }
.conditions .section-subtitle { color: var(--text-mid); max-width: 600px; margin-bottom: 0; }
.conditions-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; flex-wrap: wrap; gap: 20px; }
.conditions-scroll { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 16px; scroll-snap-type: x mandatory; -ms-overflow-style: none; scrollbar-width: none; cursor: grab; }
.conditions-scroll::-webkit-scrollbar { display: none; }
.condition-card { flex: 0 0 240px; background: var(--white); border: 1px solid rgba(0,184,217,.12); border-radius: var(--radius); padding: 28px 24px; scroll-snap-align: start; transition: all var(--transition); cursor: pointer; position: relative; overflow: hidden; box-shadow: 0 4px 16px rgba(26,46,122,.06); }
.condition-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,229,160,.07), rgba(0,184,217,.07)); opacity: 0; transition: opacity var(--transition); }
.condition-card:hover { transform: translateY(-6px); border-color: rgba(0,184,217,.3); box-shadow: var(--shadow); }
.condition-card:hover::after { opacity: 1; }
.condition-emoji { font-size: 2.4rem; margin-bottom: 16px; }
.condition-card h3 { font-size: .95rem; font-weight: 600; color: var(--navy); margin-bottom: 8px; position: relative; z-index: 1; }
.condition-card p  { font-size: .78rem; color: var(--text-mid); line-height: 1.6; position: relative; z-index: 1; }
.scroll-arrows { display: flex; gap: 10px; }
.scroll-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(0,184,217,.3); background: rgba(0,184,217,.08); color: var(--navy); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all var(--transition); font-size: 1.1rem; }
.scroll-btn:hover { background: rgba(0,184,217,.18); border-color: var(--cyan); }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner { padding: 80px 8%; background: linear-gradient(135deg, rgba(0,229,160,.08) 0%, rgba(0,184,217,.1) 100%); border-top: 1px solid rgba(0,184,217,.15); border-bottom: 1px solid rgba(0,184,217,.15); display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-banner-text h2 { font-family: var(--font-display); font-size: clamp(1.8rem,3.5vw,2.8rem); font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.cta-banner-text p { font-size: 1rem; color: var(--text-mid); max-width: 480px; }
.cta-banner-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   TESTIMONIALS — GOOGLE REVIEWS (REVAMPED)
   ============================================================ */
.testimonials {
  padding: 100px 8% 80px;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.testimonials::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 50% at 10% 10%, rgba(0,229,160,.04) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 90% 90%, rgba(0,184,217,.05) 0%, transparent 65%);
  pointer-events: none;
}

/* Google Rating Summary Bar */
.google-rating-bar {
  display: inline-flex; align-items: center; gap: 24px;
  background: var(--soft-bg); border: 1px solid rgba(0,184,217,.15);
  border-radius: 16px; padding: 16px 28px; margin-top: 28px;
  flex-wrap: wrap; justify-content: center;
}
.grb-logo { display: flex; align-items: center; gap: 10px; }
.grb-label { font-size: .82rem; font-weight: 700; color: var(--text-mid); letter-spacing: .02em; }
.grb-score { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; }
.grb-number { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; color: var(--navy); line-height: 1; }
.grb-stars { color: #f5a623; font-size: 1.1rem; letter-spacing: 2px; }
.grb-count { font-size: .78rem; color: var(--text-light); }

/* Carousel Wrapper */
.reviews-carousel-wrap {
  margin-top: 52px;
  position: relative;
  overflow: hidden;
}

/* Reviews Track — slides horizontally */
.reviews-track {
  display: flex;
  gap: 24px;
  transition: transform .55s cubic-bezier(.4,0,.2,1);
  will-change: transform;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.reviews-track:active { cursor: grabbing; }

/* Individual Review Card */
.review-card {
  flex: 0 0 calc(33.333% - 16px);
  background: var(--soft-bg);
  border: 1px solid rgba(0,184,217,.12);
  border-radius: var(--radius);
  padding: 28px 26px;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 56px rgba(26,46,122,.13);
  border-color: rgba(0,184,217,.28);
}

/* Featured card (longest review) — slightly different accent */
.review-card--featured {
  border-color: rgba(0,229,160,.25);
  background: linear-gradient(135deg, rgba(0,229,160,.04), rgba(0,184,217,.04));
}
.review-card--featured:hover { border-color: rgba(0,229,160,.45); }

/* Card top row */
.review-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.reviewer-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff; font-size: .88rem;
  letter-spacing: .04em;
}
.reviewer-info { flex: 1; min-width: 0; }
.reviewer-info strong { display: block; font-size: .88rem; font-weight: 700; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reviewer-info span   { font-size: .72rem; color: var(--text-light); }

/* Verified Google icon */
.review-google-icon {
  flex-shrink: 0; opacity: .8;
  display: flex; align-items: center;
}
.review-google-icon svg { display: block; }

/* Stars */
.review-stars { color: #f5a623; font-size: .9rem; letter-spacing: 2px; line-height: 1; }

/* Review text */
.review-text {
  font-size: .85rem; line-height: 1.75;
  color: var(--text-mid);
  font-style: italic;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.review-card--featured .review-text { -webkit-line-clamp: 8; }

/* Time/meta tag */
.review-tag {
  font-size: .72rem; font-weight: 600; color: var(--text-light);
  display: flex; align-items: center; gap: 6px;
}

/* Carousel Navigation */
.reviews-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
}

.rev-arrow {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid rgba(0,184,217,.35);
  background: rgba(0,184,217,.07);
  color: var(--navy); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; transition: all var(--transition);
  flex-shrink: 0;
}
.rev-arrow:hover {
  background: rgba(0,184,217,.18);
  border-color: var(--cyan);
  transform: scale(1.08);
}

.reviews-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}
.rev-dot {
  width: 8px; height: 8px; border-radius: 50%;
  border: none; background: rgba(0,184,217,.25);
  cursor: pointer; transition: all var(--transition);
  padding: 0;
}
.rev-dot.active {
  background: var(--cyan);
  width: 24px;
  border-radius: 4px;
}

/* Google Review CTA */
.google-review-cta {
  margin-top: 56px;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  text-align: center;
}
.google-review-cta p {
  font-size: .9rem; color: var(--text-light);
}
.btn-google-review {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); color: var(--text-dark);
  font-size: .9rem; font-weight: 600; padding: 12px 28px; border-radius: 50px;
  border: 1.5px solid rgba(66,133,244,.35);
  box-shadow: 0 4px 20px rgba(66,133,244,.12);
  transition: all var(--transition);
}
.btn-google-review:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(66,133,244,.22);
  border-color: #4285F4;
}

/* ============================================================
   FOOTER — HOSPITAL
   ============================================================ */
.footer-hospital { background: var(--navy-dark); color: rgba(255,255,255,.8); padding: 64px 6% 36px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; margin-bottom: 48px; }
.footer-brand img { height: 80px; width: auto; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: .85rem; line-height: 1.75; color: rgba(255,255,255,.5); max-width: 260px; }
.social-icons { display: flex; gap: 10px; margin-top: 20px; }
.social-icons a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; font-size: .85rem; color: rgba(255,255,255,.5); transition: all var(--transition); }
.social-icons a:hover { background: rgba(0,229,160,.15); border-color: var(--mint); color: var(--mint); }
.footer-col h4 { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mint); margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col ul li a { font-size: .85rem; color: rgba(255,255,255,.55); transition: color var(--transition); line-height: 1.4; }
.footer-col ul li a:hover { color: var(--cyan); }
.footer-contact { display: flex; flex-direction: column; gap: 14px; }
.contact-row { display: flex; align-items: flex-start; gap: 10px; font-size: .85rem; color: rgba(255,255,255,.6); line-height: 1.6; }
.contact-row .ci { color: var(--teal); flex-shrink: 0; margin-top: 2px; font-size: 1rem; }
.footer-bottom { padding-top: 28px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: center; align-items: center; }
.footer-bottom p { font-size: .82rem; color: rgba(255,255,255,.45); text-align: center; }

/* ============================================================
   FOOTER — DEVELOPER
   ============================================================ */
.footer-dev { background: #08101f; padding: 20px 8%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.footer-dev p { font-size: .78rem; color: rgba(255,255,255,.4); text-align: center; }
.footer-dev .dev-name { color: var(--cyan); font-weight: 600; }
.footer-dev .heart { color: #e05555; }
.footer-dev-socials { display: flex; align-items: center; gap: 14px; }
.dev-social-link { display: flex; align-items: center; justify-content: center; opacity: 0.7; border-radius: 6px; transition: opacity var(--transition), transform var(--transition); }
.dev-social-link:hover { opacity: 1; transform: translateY(-2px); }
.dev-social-link svg { display: block; }

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
.scroll-top { position: fixed; bottom: 28px; right: 28px; width: 46px; height: 46px; background: linear-gradient(135deg, var(--navy), var(--cyan)); color: var(--white); border-radius: 50%; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; box-shadow: 0 6px 24px rgba(0,184,217,.4); opacity: 0; pointer-events: none; transform: translateY(14px); transition: all var(--transition); z-index: 900; }
.scroll-top.visible { opacity: 1; pointer-events: all; transform: translateY(0); }
.scroll-top:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(0,184,217,.55); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeSlideUp { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE — 1200px
   ============================================================ */
@media (max-width: 1200px) {
  .fc-natural { left: -80px; }
  .fc-rating  { right: -70px; }
  .fc-device  { left: -90px; }
}

/* ============================================================
   RESPONSIVE — 1100px
   ============================================================ */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-content { padding: 60px 6% 32px; text-align: center; }
  .hero-subtitle { margin: 0 auto 36px; }
  .hero-actions { justify-content: center; }
  .hero-visual { min-height: 520px; width: 100%; }
  .fc-natural { top: -16px; left: calc(50% - 280px); }
  .fc-rating  { bottom: -12px; right: calc(50% - 280px); }
  .fc-device  { top: auto; bottom: calc(50% + 20px); left: calc(50% - 290px); transform: none; }

  /* Why Us: stack on medium screens */
  .why-us { grid-template-columns: 1fr; gap: 48px; }
  .why-machines-grid { grid-template-columns: 1fr 1fr; max-width: 480px; margin: 0 auto; }
  .why-machine-img { height: 200px; }

  .footer-grid { gap: 28px; }

  /* Reviews: 2 per view on medium screens */
  .review-card { flex: 0 0 calc(50% - 12px); }
}

/* ============================================================
   RESPONSIVE — 768px
   ============================================================ */
@media (max-width: 768px) {
  :root { --nav-h: 68px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-content { padding: 36px 5% 20px; }
  .hero-visual { min-height: 340px; }
  .float-card { display: none; }
  .mobile-float-cards { display: flex; }
  .machine-showcase { width: 88vw; max-width: 340px; }
  .machine-img-wrap { height: 180px; }
  .services-preview { padding: 64px 5% 60px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-img-wrap { height: 180px; }
  .why-us, .conditions, .testimonials { padding-left: 5%; padding-right: 5%; }
  .machines-section { padding: 64px 0 60px; }
  .machines-header { padding: 0 5%; }
  .machine-card { flex: 0 0 180px; }
  .machine-card-img { height: 130px; }
  .cta-banner { padding: 52px 5%; flex-direction: column; text-align: center; }
  .cta-banner-actions { justify-content: center; }
  /* Why Us machines on tablet/mobile */
  .why-us { padding-left: 5%; padding-right: 5%; }
  .why-machines-grid { grid-template-columns: 1fr 1fr; max-width: 400px; }
  .why-machine-img { height: 160px; }
  .why-machine-name { font-size: .85rem; }

  /* Conditions: show exactly 1 full card on mobile */
  .condition-card { flex: 0 0 calc(100vw - 10% - 20px); max-width: 340px; }
  .footer-hospital { padding: 48px 5% 32px; }
  .footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 24px; margin-bottom: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand img { height: 64px; }
  .footer-brand p { font-size: .88rem; max-width: 100%; }
  .social-icons { margin-top: 14px !important; }
  .footer-col:nth-child(2) { grid-column: 1 / 2; }
  .footer-col:nth-child(3) { grid-column: 2 / 3; }
  .footer-col:nth-child(4) { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); }
  .footer-col:nth-child(4) .footer-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }
  .footer-col h4 { font-size: .78rem; margin-bottom: 16px; }
  .footer-col ul { gap: 10px; }
  .footer-col ul li a { font-size: .88rem; }
  .contact-row { font-size: .84rem; gap: 8px; }
  .equipment-badges { gap: 10px; }
  .eq-badge img { height: 20px; }

  /* Reviews responsive */
  .testimonials { padding: 64px 5% 56px; }
  .google-rating-bar { padding: 14px 20px; gap: 16px; }
  .grb-number { font-size: 1.8rem; }
  .review-card { flex: 0 0 calc(100% - 0px); }
  .reviews-carousel-wrap { overflow: hidden; }
}

/* ============================================================
   RESPONSIVE — 480px
   ============================================================ */
@media (max-width: 480px) {
  .btn-primary, .btn-secondary { font-size: .88rem; padding: 12px 20px; }
  .hero-title { font-size: clamp(2rem, 8vw, 2.8rem); }
  .hero-badge { font-size: .7rem; padding: 6px 12px; }
  .hero-subtitle { font-size: .95rem; }
  .machine-showcase { padding: 14px; }
  .machine-img-wrap { height: 160px; }
  .mobile-float-cards { flex-direction: column; align-items: center; }
  .section-title { font-size: clamp(1.7rem, 6vw, 2.4rem); }
  .cta-banner { padding: 40px 5%; }
  .cta-banner-text h2 { font-size: clamp(1.5rem, 6vw, 2rem); }
  .conditions { padding: 60px 5%; }
  .conditions-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  /* One card fully visible on small mobile */
  .condition-card { flex: 0 0 calc(100vw - 10% - 20px); max-width: 320px; padding: 22px 20px; }
  .feature-row:hover { transform: translateX(0); }
  .footer-dev { padding: 16px 5%; }
  .scroll-top { bottom: 16px; right: 16px; width: 40px; height: 40px; font-size: .95rem; }
  .footer-hospital { padding: 40px 5% 28px; }
  .footer-grid { gap: 28px 20px; }
  .footer-brand img { height: 56px; }
  .footer-col:nth-child(4) .footer-contact { grid-template-columns: 1fr; gap: 12px; }
  .footer-col h4 { font-size: .76rem; }
  .footer-col ul li a { font-size: .84rem; }
  .contact-row { font-size: .82rem; }
  .footer-bottom p { font-size: .76rem; }
  .machine-card { flex: 0 0 160px; }
  .machine-card-img { height: 110px; }
  .service-img-wrap { height: 160px; }

  /* Reviews responsive small */
  .review-card { padding: 22px 18px; }
  .review-text { font-size: .82rem; }
  .google-rating-bar { flex-direction: column; gap: 12px; padding: 16px; }
  .grb-number { font-size: 1.6rem; }
  .btn-google-review { font-size: .85rem; padding: 11px 22px; }
  .rev-arrow { width: 38px; height: 38px; font-size: 1rem; }
}

/* ============================================================
   RESPONSIVE — 360px
   ============================================================ */
@media (max-width: 360px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  .footer-hospital { padding: 36px 4% 24px; }
  .footer-grid { gap: 24px 16px; }
  .footer-brand img { height: 50px; }
  .footer-col h4 { font-size: .72rem; }
  .footer-col ul li a { font-size: .8rem; }
  .contact-row { font-size: .78rem; }
  .footer-bottom p { font-size: .72rem; }

  .review-card { padding: 18px 14px; }
  .reviewer-info strong { font-size: .82rem; }
}