/* 
 * Combined Webflow Animation CSS
 * This file contains all CSS animations from Webflow AI landing page
 * Access this file at: https://ie-ai-assessment.vercel.app/AI%20landing%20page/animations.css
 */



.comp-card-wrapper {
  position: relative;
  width: 422px;
  height: 267px;
  background: #000;
  overflow: visible;
  border-radius: 12px;
  cursor: pointer
}

.card1-version,
.card2-version {
  padding: 30px;
  box-sizing: border-box
}

.group-img {
  position: absolute;
  z-index: 10;
  opacity: 1;
  transform-origin: center;
  margin: 0;
  padding: 0;
  clip-path: inset(0 0 0 50%)
}

.vector-img {
  position: absolute;
  z-index: 11;
  opacity: 1;
  transform-origin: center;
  margin: 0;
  padding: 0;
  clip-path: inset(0 50% 0 0)
}

.stage4 {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 15
}

.circle,
.green-circle {
  position: absolute;
  left: 50%;
  top: 60%;
  transform: translate(-50%, -50%)
}

.line-arrow {
  position: absolute;
  left: 70%;
  top: 40%;
  overflow: visible;
  transform: translate(-50%, -45%)
}

.text-title-wrapper,
.text-content-wrapper,
.slider-card1-container,
.text-card2-title-wrapper,
.text-card2-content-wrapper,
.slider-card2-container {
  position: relative
}

.text-ver1,
.text-vver2,
.text-ver3,
.ver1,
.ver2,
.ver3,
.text-card2-ver1,
.text-card2-ver2,
.text-card2-ver3,
.card2-ver1,
.card2-ver2,
.card2-ver3 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease
}

.sliders-ver1,
.sliders-ver2,
.sliders-ver3,
.sldiers-ver3 {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease
}

@media only screen and (max-width:768px) {

  .mob-comp-card-wrapper {
    position: relative;
    overflow: visible;
    cursor: pointer;
    top: 145px;
    left: 40px
  }

  .mob-comp-card2-wrapper {
    position: relative;
    overflow: visible;
    cursor: pointer
  }

  /* Mobile-specific styles for card elements - preserve Webflow positioning */
  .mob-card2-text-title-wrapper,
  .mob-card2-text-content-wrapper {
    position: relative;
  }

  /* Mobile Card 1 wrappers - positioned to the right */
  .mob-text-title-wrapper {
    position: relative;
    left: 48px;
  }

  .mob-text-content-wrapper {
    position: relative;
    width: 100%;
    max-width: none;
    left: 15px;
  }

  .mob-slider-card1-container {
    position: relative;
    width: 100%;
    max-width: none;
    top: 275px;
  }

  .mob-slider-card2-container {
    position: relative;
    width: 100%;
    height: auto;
  }

  /* Mobile text versions - ensure proper positioning */
  .mob-text-ver11,
  .mob-text-ver2,
  .mob-text-ver3,
  .mob-ver1,
  .mob-ver2,
  .mob-ver3,
  .mob-sliders-ver1,
  .mob-sliders-ver2,
  .mob-sliders-ver3,
  .mob-text-card2-ver2,
  .mob-card2-ver1,
  .mob-card2-ver2,
  .mob-card2-ver3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity .6s ease, visibility .6s ease;
  }

  /* Move Card 1 mobile sliders ver1 and ver2 to the right - separate CSS */
  .mob-sliders-ver1 {
    position: absolute !important;
    top: 0 !important;
    left: 190px !important;
    width: calc(100% - 50px) !important;
    height: 100% !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity .6s ease, visibility .6s ease;
  }

  .mob-sliders-ver2 {
    position: absolute !important;
    top: 0 !important;
    left: 190px !important;
    width: calc(100% - 50px) !important;
    height: 100% !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity .6s ease, visibility .6s ease;
  }

  /* Move mob-text-ver1 up to align with other components */
  .mob-text-ver11 {
    position: absolute !important;
    top: 0px !important;
    left: 0px;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity .6s ease, visibility .6s ease;
  }

  /* Ensure mobile Card 1 text content flows properly */
  .mob-text-title-wrapper *,
  .mob-text-content-wrapper * {
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    top: 275px;
  }

  /* Move Card 2 text versions 1 and 3 to the right */
  .mob-text-card2-ver1,
  .mob-text-card2-ver3 {
    position: absolute;
    top: 0;
    left: 20px;
    width: calc(100% - 20px);
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity .6s ease, visibility .6s ease;
  }

  /* Ensure slider container has proper dimensions */
  .mob-slider-card2-container {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-height: 60px !important;
  }

  /* Position slider versions properly */
  .mob-sliders-card2-ver1,
  .mob-sliders-card2-verr2,
  .mob-sliders-card2-ver2,
  .mob-sliders-card2-ver3 {
    position: absolute !important;
    top: 70px !important;
    left: 0 !important;
    width: 100% !important;
    height: calc(100% - 70px) !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity .6s ease, visibility .6s ease;
    z-index: 1;
  }

  #first-line-overlay,
  #second-line-overlay,
  #image4-overlay {
    position: absolute !important;
    /* Absolute for stable positioning */
    pointer-events: none;
    z-index: 9999;
    transform-origin: top left;
    transform: translateZ(0);
    /* GPU acceleration */
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    /* Prevent flickering */
    -webkit-backface-visibility: hidden;
    will-change: auto;
    /* Let browser optimize */
  }

  #first-line-overlay .fill,
  #second-line-overlay .fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: #88D100;
    transition: height .2s ease-out
  }

  #image4-overlay .tint {
    position: absolute;
    inset: 0;
    background: #88D100;
    opacity: 0;
    transition: opacity .2s ease-out, box-shadow .2s ease-out;
    box-shadow: 0 0 16px rgba(136, 209, 0, .7)
  }

  .first_line {
    position: relative !important;
    /* overflow: hidden !important - REMOVED as it breaks sticky */
    overflow: visible !important
  }

  .first_line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: rgba(136, 209, 0, .8);
    transition: height .3s ease-out;
    z-index: 2;
    pointer-events: none;
    mix-blend-mode: multiply
  }

  .first_line img::after,
  img.first_line::after {
    mask-image: inherit;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    mix-blend-mode: normal
  }
}

@media (min-width:769px) {
  #desktop-h-progress-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 3
  }

  #desktop-h-progress-overlay .hfill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: #88D100;
    transition: width .01s ease-out
  }

}

/* Path elements for smooth transitions */
.path1,
.path2,
.path3 {
  transition: opacity .2s ease, visibility .2s ease;
  opacity: 0;
  visibility: hidden;
}

/* Ensure first path is visible by default */
.path1 {
  opacity: 1;
  visibility: visible;
}

/* Removed conflicting sticky CSS that was causing vertical congestion */

/* Path elements - let Webflow handle positioning */
.path1,
.path2,
.path3 {
  /* Remove absolute positioning to prevent congestion */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-out;
  will-change: opacity;
}

.path1 {
  opacity: 1;
  visibility: visible;
}

/* Progress bar */
.horizontal-progress {
  position: relative !important;
  z-index: 101;
  /* Removed background color - keep transparent */
  overflow: hidden !important;
  display: block !important;
  width: 100% !important;
}

.horizontal-progress .hfill,
.horizontal-progress [class*="fill"],
.horizontal-progress .progress-fill {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  height: 100% !important;
  transition: width 0.1s ease-out !important;
  will-change: width;
  background: #88D100 !important;
  background-color: #88D100 !important;
  z-index: 1 !important;
  display: block !important;
  /* Green color for progress */
}

/* GSAP ScrollTrigger Sticky Animation */
.div-block-6 {
  position: relative;
  z-index: 100;
  /* Removed fixed heights to let content flow naturally */
}

/* Ensure pinned element stays above content below */
.pin-spacer {
  z-index: 100 !important;
  position: relative !important;
  display: block !important;
  box-sizing: content-box !important;
  overflow: visible !important;
  min-height: inherit !important;
}

/* When pinned, ensure proper z-index */
.div-block-6[style*="fixed"] {
  z-index: 1000 !important;
}

/* Ensure pin-spacer maintains proper height */
[data-pin-spacer] {
  display: block !important;
  visibility: visible !important;
}

/* ===== From try.html ===== */

[class*="optcore"],
[class*="OptCore"] {
  transform-origin: center;
  will-change: transform;
}

[class*="optcore1"],
[class*="OptCore1"] {
  z-index: 10;
}

[class*="optcore3"],
[class*="OptCore3"] {
  z-index: 9;
}

[class*="optcore2"],
[class*="OptCore2"] {
  z-index: 8;
}

[class*="culturecomp1"],
[class*="CultureComp1"] {
  z-index: 5;
  position: relative;
}

[class*="culturecomp2"],
[class*="CultureComp2"] {
  z-index: 4;
  position: absolute;
}

[class*="capability1"],
[class*="Capability1"] {
  z-index: 7;
  position: relative;
  transform-origin: center;
}

[class*="capability2"],
[class*="Capability2"] {
  z-index: 6;
  position: absolute;
}

/* ScrollTrigger pinning styles - Desktop version */
.sticky-component {
  height: 100vh !important;
  position: relative;
  background: #e4e4e7;
  /* Zinc-200 blocks content behind */
  z-index: 100;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.card_wrapper {
  position: relative !important;
}

/* ScrollTrigger pinning styles - 1440 version */
.sticky-component2 {
  height: 100vh !important;
  position: relative;
  background: #e4e4e7;
  /* Zinc-200 blocks content behind */
  z-index: 100;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.card_wrapper_1440-2 {
  position: relative !important;
}

/* Webflow-responsive centering for sticky components */
/* Tablet breakpoint (768px-991px) */
@media only screen and (max-width: 991px) {
  .sticky-component,
  .sticky-component2 {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 24px !important;
    box-sizing: border-box !important;
  }
  
  .card_wrapper,
  .card_wrapper_1440-2 {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }
}

/* Mobile Landscape (479px-767px) */
@media only screen and (max-width: 767px) {
  .sticky-component,
  .sticky-component2 {
    padding: 20px !important;
  }
}

/* Mobile Portrait (≤478px) */
@media only screen and (max-width: 478px) {
  .sticky-component,
  .sticky-component2 {
    padding: 16px !important;
  }
}