.drawer-backdrop {
  backdrop-filter: blur(4px);
}
.drawer-transform {
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
}
.drawer-open {
  transform: translateX(0);
}

.hotspot circle {
  animation: pulse 2s infinite;
}

/* Custom animations */
@keyframes pulse-slow {
  0%,
  100% {
    opacity: 0.8;
  }
  50% {
    opacity: 1;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes gradient-shift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes float-1 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -30px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

@keyframes float-2 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(-40px, 30px) scale(1.2);
  }
  66% {
    transform: translate(20px, -20px) scale(0.8);
  }
}

@keyframes float-3 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(25px, 25px) scale(1.15);
  }
  66% {
    transform: translate(-30px, -30px) scale(0.85);
  }
}

/* section {
        border: 2px solid red;
      } */
.animate-pulse-slow {
  animation: pulse-slow 4s ease-in-out infinite;
}

.animate-fade-in {
  animation: fade-in 0.01s ease-in-out;
}

.animate-gradient-shift {
  animation: gradient-shift 6s ease-in-out infinite;
}

.scroll-video-section {
  height: 320vh;
  position: relative;
}

.scroll-video-sticky {
  position: sticky;
  top: var(--sv-sticky-top, 0px);
  height: calc(100vh - var(--sv-sticky-top, 0px));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: transparent;
}

.scroll-video {
  width: var(--sv-w, 900px);
  height: var(--sv-h, 520px);
  border-radius: var(--sv-r, 24px);
  transform: translateZ(0);
  object-fit: cover;
  display: block;
  max-width: none;
  max-height: none;
}

.scroll-video-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.animate-float-1 {
  animation: float-1 8s ease-in-out infinite;
}

.animate-float-2 {
  animation: float-2 10s ease-in-out infinite;
}

.animate-float-3 {
  animation: float-3 12s ease-in-out infinite;
}

/* Parallax performance optimizations */
.parallax-image,
.parallax-container,
.parallax-overlay,
.parallax-content,
.parallax-title,
.parallax-text,
.parallax-buttons,
[class*="animate-float"] {
  will-change: transform;
  backface-visibility: hidden;
  perspective: 1000px;
}

.parallax-container {
  position: relative;
  overflow: hidden;
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  .parallax-image,
  .parallax-container,
  [class*="animate-float"] {
    animation: none !important;
    transform: none !important;
  }

  .scroll-reveal,
  .scroll-reveal.revealed {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* Scroll reveal animations */
.scroll-reveal {
  opacity: 0;
  transform: translateY(50px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.scroll-reveal:nth-child(even) {
  transform: translateX(-50px);
}

.scroll-reveal:nth-child(even).revealed {
  transform: translateX(0);
}

.scroll-reveal:nth-child(odd) {
  transform: translateX(50px);
}

.scroll-reveal:nth-child(odd).revealed {
  transform: translateX(0);
}

@media (max-width: 1024px) {
  .scroll-reveal:nth-child(even),
  .scroll-reveal:nth-child(odd) {
    transform: translateY(50px);
  }

  .scroll-reveal:nth-child(even).revealed,
  .scroll-reveal:nth-child(odd).revealed {
    transform: translateY(0);
  }
}

.process-steps {
  --process-offset: 0px;
}

.process-col {
  display: flex;
  flex-direction: column;
  transform: translate3d(0, 0px, 0);
  transition:
    transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 400ms ease;
  min-height: 560px;
  will-change: transform;
}

@media (min-width: 768px) {
  #our-process .process-col {
    transform: translate3d(0, var(--process-offset-md, 0px), 0) !important;
  }
}

@media (min-width: 1024px) {
  #our-process .process-col {
    transform: translate3d(0, var(--process-offset-lg, 0px), 0) !important;
  }
}

#our-process .process-col.scroll-reveal {
  transform: translate3d(0, 0px, 0) !important;
}

@media (min-width: 768px) {
  #our-process .process-col.scroll-reveal {
    transform: translate3d(0, var(--process-offset-md, 0px), 0) !important;
  }
}

@media (min-width: 1024px) {
  #our-process .process-col.scroll-reveal {
    transform: translate3d(0, var(--process-offset-lg, 0px), 0) !important;
  }
}

#our-process .process-col.scroll-reveal,
#our-process .process-col.scroll-reveal.revealed {
  transition:
    transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 400ms ease;
}

.process-media {
  margin-top: auto;
}

.process-steps.is-straight .process-col {
  transform: translate3d(0, 0px, 0) !important;
  align-items: center;
  text-align: center;
}

.process-steps.is-straight .process-col p {
  margin-left: auto;
  margin-right: auto;
}

.process-steps.is-straight .process-col .process-media {
  width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .process-col {
    transition: none !important;
    transform: none !important;
  }

  .process-steps.is-straight .process-col {
    transform: translate3d(0, 0px, 0) !important;
  }
}

/* Section spacing improvements */
section {
  position: relative;
  z-index: 1;
}

/* Prevent content overlap with fixed header */
.section-with-anchor {
  scroll-margin-top: 80px;
}

/* Better mobile spacing */
@media (max-width: 768px) {
  section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .process-steps {
    margin-top: 2rem;
  }

  /* Enhanced mobile spacing for sections */
  .section-badge {
    margin-bottom: 1.5rem !important;
  }

  .section-heading {
    margin-bottom: 1.5rem !important;
  }

  .section-description {
    margin-bottom: 1.5rem !important;
  }

  .section-cta {
    margin-top: 2rem !important;
  }

  /* Better mobile card spacing */
  .card-spacing {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }

  /* Improved mobile grid spacing */
  .grid-spacing > * {
    margin-bottom: 1rem;
  }

  /* Mobile service items spacing */
  .space-y-16 > * + * {
    margin-top: 2rem;
  }
}

@media (max-width: 640px) {
  section {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .section-badge {
    margin-bottom: 1rem !important;
  }

  .section-heading {
    margin-bottom: 1rem !important;
  }

  .section-description {
    margin-bottom: 1rem !important;
  }

  .section-cta {
    margin-top: 1.5rem !important;
  }
}

/* Ensure proper spacing between sections */
section + section {
  margin-top: 0;
}

/* Add subtle section separation */
.section-separator {
  position: relative;
}

.section-separator::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(156, 163, 175, 0.3),
    transparent
  );
}

/* Enhanced spacing for badges and headings */
.section-badge {
  margin-bottom: 2rem !important;
}

.section-heading {
  margin-bottom: 2rem !important;
}

.section-description {
  margin-bottom: 2rem !important;
}

.section-cta {
  margin-top: 3rem !important;
}

/* Better container spacing */
.container {
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Improved grid spacing */
.grid-spacing > * {
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .grid-spacing > * {
    margin-bottom: 2rem;
  }
}

/* Card spacing improvements */
.card-spacing {
  padding: 2rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .card-spacing {
    padding: 2.5rem;
    margin-bottom: 2rem;
  }
}
.hero-image {
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  animation-duration: 8s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.hero-image-1 {
  animation-name: heroFade1;
}

.hero-image-2 {
  animation-name: heroFade2;
}

@keyframes heroFade1 {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.96);
  }

  10% {
    opacity: 1;
    transform: translateY(0px) scale(1);
  }

  40% {
    opacity: 1;
    transform: translateY(-8px) scale(1.02);
  }

  50% {
    opacity: 0;
    transform: translateY(-20px) scale(0.98);
  }

  100% {
    opacity: 0;
  }
}

@keyframes heroFade2 {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 0;
    transform: translateY(20px) scale(0.96);
  }

  60% {
    opacity: 1;
    transform: translateY(0px) scale(1);
  }

  90% {
    opacity: 1;
    transform: translateY(-8px) scale(1.02);
  }

  100% {
    opacity: 0;
    transform: translateY(-20px) scale(0.98);
  }
}
