/* ===== HERO HOME ===== */
.hero-home {
  min-height: 100vh;
  padding-top: 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.hero-home::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('images/HERO.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.18;
  z-index: 0;
  pointer-events: none;
}

.hero-orb.orb3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(168,85,247,.4), transparent);
  bottom: 20%; right: 10%;
}

.float-shape {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.08);
}
.float-shape.s1 { width: 200px; height: 200px; top: 20%; left: 5%; animation: floatSlow 8s ease-in-out infinite; }
.float-shape.s2 { width: 120px; height: 120px; top: 60%; left: 15%; animation: floatSlow 6s ease-in-out infinite reverse; }
.float-shape.s3 { width: 80px; height: 80px; top: 30%; right: 20%; animation: floatSlow 10s ease-in-out infinite; }

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

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 4rem 1.5rem 5rem;
  position: relative; z-index: 1;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: .6rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
  padding: .5rem 1.1rem; border-radius: 100px;
  font-size: .82rem; font-weight: 500; color: rgba(255,255,255,.9);
  margin-bottom: 1.5rem;
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74,222,128,.25);
  animation: pulse-green 2s ease-in-out infinite;
}
@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 3px rgba(74,222,128,.25); }
  50% { box-shadow: 0 0 0 6px rgba(74,222,128,.1); }
}

/* ===== COUNTER ANIM ===== */
.stat-num { font-size: 2rem; font-weight: 800; color: white; }
.stat-plus { font-size: 1.5rem; font-weight: 800; color: white; }

/* ===== HERO VISUAL ===== */
.hero-visual { display: flex; justify-content: center; align-items: center; position: relative; }

.hero-card-main {
  width: 100%; max-width: 400px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.hero-card-header {
  display: flex; align-items: center; gap: .4rem;
  padding: .75rem 1rem;
  background: rgba(0,0,0,.2);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.hc-dot { width: 10px; height: 10px; border-radius: 50%; }
.hc-dot.red    { background: #ff5f57; }
.hc-dot.yellow { background: #febc2e; }
.hc-dot.green  { background: #28c840; }

.hero-card-body { padding: 2.5rem 1.5rem; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }

/* CT Scan image */
.hero-ct-img-wrap {
  width: 100%; display: flex; align-items: center; justify-content: center;
  padding: .5rem 0;
}
.hero-ct-img {
  width: 100%; max-width: 260px;
  object-fit: contain;
  filter: drop-shadow(0 4px 24px rgba(147,51,234,.35));
  animation: floatImg 4s ease-in-out infinite;
}
@keyframes floatImg {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.hero-card-tags { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; }
.hc-tag {
  display: inline-flex; align-items: center; gap: .35rem;
  background: rgba(255,255,255,.1); color: rgba(255,255,255,.85);
  padding: .3rem .8rem; border-radius: 100px; font-size: .78rem; font-weight: 500;
}
.pulse-tag { animation: tagPulse 2s ease-in-out infinite; }
@keyframes tagPulse {
  0%, 100% { background: rgba(74,222,128,.15); }
  50% { background: rgba(74,222,128,.25); }
}

/* Floating mini cards */
.mini-card {
  position: absolute;
  background: white; border-radius: 12px;
  padding: .6rem .9rem;
  display: flex; align-items: center; gap: .6rem;
  box-shadow: 0 8px 32px rgba(0,0,0,.2);
  font-size: .78rem; min-width: 160px;
}
.mini-card strong { display: block; font-size: .85rem; color: var(--gray-900); }
.mini-card small  { color: var(--gray-500); }
.mc1 { bottom: -1rem; right: -2rem; }
.mc2 { top: 1rem; left: -2rem; }

@keyframes floatCard {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}
@keyframes floatCardSlow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}
.float-anim      { animation: floatCard 3s ease-in-out infinite; }
.float-anim-slow { animation: floatCardSlow 4s ease-in-out infinite reverse; }

/* ===== BRAND MARQUEE ===== */
.brand-marquee-wrap {
  background: white;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  padding: 1.1rem 0;
  overflow: hidden;
}
.brand-marquee-inner { overflow: hidden; }
.marquee-track {
  display: flex; gap: 3rem; align-items: center;
  width: max-content;
  animation: marqueeRun 22s linear infinite;
}
@keyframes marqueeRun {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.mq-brand {
  font-size: .95rem; font-weight: 700; white-space: nowrap;
  opacity: .75; transition: opacity .2s;
  font-family: 'Inter', sans-serif;
}
.mq-brand:hover { opacity: 1; }

/* ===== HOME SERVICES ===== */
.home-services { padding: 6rem 0; background: var(--gray-50); position: relative; overflow: hidden; }
.home-services::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('images/HERO.png');
  background-size: cover; background-position: center;
  opacity: 0.06; z-index: 0; pointer-events: none;
}
.home-services .container { position: relative; z-index: 1; }

.home-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.hs-card {
  position: relative; border-radius: var(--radius-lg);
  padding: 2rem 1.75rem; text-decoration: none; overflow: hidden;
  display: flex; flex-direction: column; gap: .6rem;
  min-height: 220px;
  transition: transform .25s ease, box-shadow .25s ease;
  border: 1px solid transparent;
}
.hs-card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(0,0,0,.18); }

.hs-card-bg {
  position: absolute; inset: 0; border-radius: inherit;
  transition: opacity .25s;
}
.hs-card:hover .hs-card-bg { opacity: .92; }

.hs-card-light {
  background: white;
  border-color: var(--gray-200);
}
.hs-card-light:hover { border-color: var(--purple-300); box-shadow: var(--shadow-purple); }

.hs-icon {
  position: relative; z-index: 1;
  width: 56px; height: 56px;
  background: rgba(255,255,255,.15);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: .25rem;
}
.hs-icon.dark { background: var(--purple-100); }

.hs-card h3 {
  position: relative; z-index: 1;
  font-size: 1.1rem; font-weight: 700; color: white; margin: 0;
}
.hs-card p {
  position: relative; z-index: 1;
  font-size: .88rem; color: rgba(255,255,255,.75); line-height: 1.6; flex: 1;
}
.dark-text { color: var(--gray-800) !important; }
.dark-text.hs-card p, p.dark-text { color: var(--gray-500) !important; }

.hs-arrow {
  position: relative; z-index: 1;
  width: 36px; height: 36px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  align-self: flex-start; margin-top: .5rem;
  transition: var(--transition);
}
.dark-arrow { background: var(--purple-100); }
.hs-card:hover .hs-arrow { background: rgba(255,255,255,.3); transform: translateX(-4px); }
.hs-card-light:hover .hs-arrow { background: var(--purple-200); transform: translateX(-4px); }

.btn-purple-outline {
  display: inline-flex; align-items: center; gap: .5rem;
  border: 2px solid var(--purple-600); color: var(--purple-700);
  background: transparent; padding: .8rem 1.8rem;
  border-radius: var(--radius-md); font-weight: 600; font-size: .95rem;
  text-decoration: none; transition: var(--transition);
}
.btn-purple-outline:hover { background: var(--purple-700); color: white; }

/* ===== WHY US HOME ===== */
.why-us-home {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--purple-900), var(--purple-700));
  position: relative; overflow: hidden;
}
.why-us-home::before {
  content: ''; position: absolute; inset: 0;
  background-image: url('images/HERO.png');
  background-size: cover; background-position: center;
  opacity: 0.12; mix-blend-mode: luminosity;
  z-index: 0; pointer-events: none;
}
.why-us-home .container { position: relative; z-index: 1; }

.why-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
  position: relative; z-index: 1;
}
.why-left .section-tag.light { background: rgba(255,255,255,.15); color: white; }
.why-left .section-title.light { color: white; }

.why-feat-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem;
}
.why-feat {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  transition: var(--transition);
}
.why-feat:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.25); }
.why-feat-icon {
  width: 48px; height: 48px;
  background: rgba(168,85,247,.2);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: .75rem;
}
.why-feat h4 { font-size: .95rem; font-weight: 700; color: white; margin-bottom: .3rem; }
.why-feat p  { font-size: .83rem; color: rgba(255,255,255,.6); }

/* ===== PROCESS ===== */
.process-section { padding: 6rem 0; background: white; position: relative; overflow: hidden; }
.process-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('images/HERO.png');
  background-size: cover; background-position: center top;
  opacity: 0.05; z-index: 0; pointer-events: none;
}
.process-section .container { position: relative; z-index: 1; }
.process-steps {
  display: flex; align-items: flex-start; gap: 0;
  margin-top: 1rem;
}
.process-step {
  flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 0 1rem;
  opacity: 0; transform: translateY(24px);
  transition: opacity .5s ease calc(var(--delay, 0s)), transform .5s ease calc(var(--delay, 0s));
}
.process-step.in-view { opacity: 1; transform: translateY(0); }

.step-num {
  font-size: 3rem; font-weight: 900;
  color: var(--purple-100); line-height: 1; margin-bottom: .5rem;
}
.step-icon {
  width: 64px; height: 64px;
  background: var(--purple-50); border: 2px solid var(--purple-200);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  transition: var(--transition);
}
.process-step:hover .step-icon { background: var(--purple-700); border-color: var(--purple-700); }
.process-step:hover .step-icon svg { stroke: white; }
.process-step h3 { font-size: 1rem; font-weight: 700; color: var(--gray-900); margin-bottom: .4rem; }
.process-step p  { font-size: .85rem; color: var(--gray-500); line-height: 1.6; }

.process-connector {
  width: 60px; flex-shrink: 0;
  height: 2px;
  background: linear-gradient(270deg, var(--purple-200), var(--purple-400));
  margin-top: 5.5rem; position: relative;
}
.process-connector::after {
  content: '';
  position: absolute; left: -6px; top: -5px;
  border: 6px solid transparent;
  border-right-color: var(--purple-400);
}

/* ===== GALLERY PREVIEW HOME ===== */
.gallery-preview-home { padding: 6rem 0; background: var(--gray-50); position: relative; overflow: hidden; }
.gallery-preview-home::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('images/HERO.png');
  background-size: cover; background-position: center bottom;
  opacity: 0.07; z-index: 0; pointer-events: none;
}
.gallery-preview-home .container { position: relative; z-index: 1; }
.gp-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 1rem;
}
.gp-item {
  border-radius: var(--radius-md); overflow: hidden;
  position: relative; cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}
.gp-item:hover { transform: scale(1.02); box-shadow: var(--shadow-lg); z-index: 1; }
.gp-large { grid-row: span 2; }
.gp-bg {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.gp-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.75));
  padding: 1.5rem 1rem .9rem;
  display: flex; flex-direction: column; gap: .25rem;
  transform: translateY(10px); opacity: 0;
  transition: var(--transition);
}
.gp-item:hover .gp-label { transform: translateY(0); opacity: 1; }
.gp-zoom-hint {
  position: absolute; top: .75rem; right: .75rem;
  background: rgba(0,0,0,.45); border-radius: 50%;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .2s ease;
  backdrop-filter: blur(4px);
}
.gp-item:hover .gp-zoom-hint { opacity: 1; }
.gp-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.gp-tag {
  display: inline-block; background: rgba(168,85,247,.8);
  color: white; font-size: .72rem; font-weight: 600;
  padding: .2rem .6rem; border-radius: 4px; width: fit-content;
}
.gp-label span { font-size: .88rem; font-weight: 600; color: white; }

/* ===== CTA BANNER ===== */
.cta-banner {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--purple-800), var(--purple-600));
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('images/HERO.png');
  background-size: cover; background-position: center;
  opacity: 0.15; mix-blend-mode: luminosity;
  z-index: 0; pointer-events: none;
}
.cta-banner-bg { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.cta-content { position: relative; z-index: 2; }
.cta-content {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.cta-text h2 { font-size: clamp(1.4rem,3vw,2rem); font-weight: 800; color: white; margin-bottom: .5rem; }
.cta-text p  { color: rgba(255,255,255,.75); font-size: 1rem; }
.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-white {
  display: inline-flex; align-items: center; gap: .6rem;
  background: white; color: var(--purple-800);
  padding: .9rem 1.8rem; border-radius: var(--radius-md);
  font-weight: 700; font-size: 1rem; text-decoration: none;
  transition: var(--transition); box-shadow: 0 4px 20px rgba(0,0,0,.15);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,.2); }

.btn-outline-white {
  display: inline-flex; align-items: center; gap: .6rem;
  background: transparent; color: white;
  padding: .9rem 1.8rem; border-radius: var(--radius-md);
  font-weight: 600; font-size: 1rem; text-decoration: none;
  border: 2px solid rgba(255,255,255,.4);
  transition: var(--transition);
}
.btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: white; }

/* ===== FOOTER SOCIALS ===== */
.footer-socials { display: flex; gap: .6rem; margin-top: 1rem; }

/* ===== SCROLL ANIMATIONS ===== */
[data-animate] {
  opacity: 0; transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
[data-animate="fade-left"]  { transform: translateX(30px); }
[data-animate="fade-right"] { transform: translateX(-30px); }
[data-animate].in-view      { opacity: 1; transform: translate(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-layout { grid-template-columns: 1fr; text-align: center; }
  .hero-visual  { display: none; }
  .hero-badge, .hero-actions { justify-content: center; }
  .hero-stats   { justify-content: center; }
  .home-services-grid { grid-template-columns: repeat(2,1fr); }
  .why-layout   { grid-template-columns: 1fr; gap: 3rem; }
  .gp-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gp-large { grid-row: span 1; height: 240px; }
  .gp-item  { height: 200px; }
  .gp-bg    { height: 100%; }
  .process-steps { flex-wrap: wrap; justify-content: center; }
  .process-connector { display: none; }
  .process-step { width: 45%; }
}

@media (max-width: 768px) {
  .home-services-grid { grid-template-columns: 1fr; }
  .why-feat-grid      { grid-template-columns: 1fr; }
  .gp-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .gp-large, .gp-item { height: 200px; grid-row: span 1; }
  .gp-label { opacity: 1; transform: translateY(0); }
  .cta-content { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
  .process-step { width: 100%; }
  .mini-card { display: none; }
  .marquee-track { animation-duration: 14s; }
}
