/* ==========================================================================
   RAMOJI STUDIO — HERO GLOBE & STICKY BANNER COMPONENT
   Interactive 3D rotating globe with orbiting film strip & sticky scroll.
   ========================================================================== */

/* Sticky Hero Banner */
#sd-intl-hero {
  position: sticky;
  top: 0;
  z-index: 1;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
}

/* Spacer track to allow scroll progression while banner stays pinned */
.sd-intl-hero-spacer {
  height: clamp(35vh, 50vh, 65vh);
  pointer-events: none;
  visibility: hidden;
}

/* Subsequent content sections roll over sticky hero like a curtain */
#sd-two,
#sd-intl-advantages {
  position: relative;
  z-index: 5;
  background: #ffffff;
  box-shadow: 0 -18px 48px rgba(0, 0, 0, 0.45);
}

.sd-intl-hero-globe {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}

.sd-intl-hero-globe canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* Fade out static fallback image when WebGL globe is initialized */
#sd-intl-hero.has-globe .sd-intl-hero-bg {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

/* Ensure content and breadcrumbs sit cleanly above the 3D globe canvas */
#sd-intl-hero .sd-fmt-header,
#sd-intl-hero .sd-breadcrumbs {
  position: relative;
  z-index: 2;
  will-change: transform, opacity;
}