@media (hover: hover) and (pointer: fine) {

.solutioncards:hover {
  transform: translateY(-8px);
}



a.solution-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(43, 49, 141, 0.4);
}



  .solutioncards:hover {
    transform: translateY(-4px);
  }



}

.ethosh-solution-lottie {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: 0;
  margin: 0;
}
.slide-read-more {
    display: none !important;
}
h1.page-headers-custom {
    font-size: 48px !important;
    font-weight: 400 !important;
}
.gradient-bg {
  width: 100%;
background: linear-gradient( 89.82deg, rgba(80, 183, 72, 0.2) 0.15%, rgba(255, 255, 255, 0.1) 45.2%, rgba(255, 255, 255, 0.1) 52.72%, rgba(80, 183, 72, 0.2) 99.85% );
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

#lottie-3D {
  width: 100%;
  height: 100%;
  display: block;
}

.lottie-text-container {
    padding: 1% 5%;
}

#solution-data {
  display: none;
}

/* ===== CARDS SECTION ===== */
#solution-cards-section {
  padding: 80px 40px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  width: 100%;
}

.solutioncardwrapper {
  position: relative; /* important for GSAP translateY */
  display: flex;
  justify-content: space-between;
  gap: 40px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-50px); /* start above for top-to-bottom slide */
  will-change: transform, opacity;
}

.solutioncards {
  flex: 1;
  opacity: 0;
  transform: translateY(-60px); /* start above for stagger animation */
  transition: transform 0.3s ease;
  will-change: transform;
  min-width: 0;
  border-radius: 40px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.08);
  border-top: 1px solid rgba(243, 244, 246, 1);
}



.solution-card-content {
  padding: 16px 24px;
}

video.video-solution {
  width: 100%;
  height: auto;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  display: block;
  object-fit: cover;
}

p.solution-heading {
  font-size: 28px;
  font-weight: 700;
  color: #000;
  padding: 20px 0 12px 0;
  line-height: 1.3;
}

p.solution-details {
  font-size: 18px;
  font-weight: 400;
  color: #333;
  line-height: 1.6;
  margin-bottom: 20px;
}

a.solution-button {
  border-radius: 16px;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(102.9deg, #2B318D 0%, #008FFE 201.14%);
  color: #FFF;
  text-decoration: none;
  width: 100%;
}



/* ===== SCROLLTRIGGER FIX ===== */
.pin-spacer {
  display: block !important;
  box-sizing: border-box !important;
}

h2.lottie-header {
    color: #2B318D;
    font-size: 54px;
    font-weight: 400;
}

p.lottie-subheader {
    font-size: 38px;
    font-weight: 700;
    color: #000;
}

.lottie-para{
font-size:18px;
font-weight:300;
color:#000;
}
/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .solutioncardwrapper {
    gap: 30px;
  }
}

@media (max-width: 1024px) {
.slide-description p {
    font-size: 24px !important;
  
}
h1.page-headers-custom {
    font-size: 36px !important;
}
h2.lottie-header {
  
    font-size: 44px;
  
}

p.lottie-subheader {
    font-size: 28px;

}

.lottie-para{
font-size:16px;

}
  #solution-cards-section {
    padding: 60px 30px;
  }

  .solutioncardwrapper {
    gap: 30px;
  }

  .solutionVideo {
    padding: 12px;
    border-radius: 24px;
  }

  video.video-solution {
    border-radius: 18px;
  }

  p.solution-heading {
    font-size: 24px;
    padding: 16px 0 10px 0;
  }

  p.solution-details {
    font-size: 16px;
  }

  a.solution-button {
    font-size: 17px;
    padding: 12px 24px;
  }
}

@media (max-width: 768px) {


  #solution-cards-section {
    padding: 40px 20px;
  }

  .solutioncardwrapper {
    flex-direction: column;
    gap: 40px;
  }

  .solutioncards {
    flex: 1 1 100%;
  }


  p.solution-heading {
    font-size: 22px;
    padding: 14px 0 8px 0;
  }

  p.solution-details {
    font-size: 15px;
    margin-bottom: 16px;
  }

  a.solution-button {
    font-size: 16px;
    padding: 12px 24px;
    width: 100%;
    text-align: center;
  }
}