@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Space+Grotesk:wght@300..700&display=swap');

.slider-section{
  background-color: #eceff1;
}
.features-cards {
  margin-top: 60px;
}
.feature {
  background: linear-gradient(-90deg, #e3f3ff 0%, #f6f6f6 100%);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 30px;
  text-align: start;
  min-height: 280px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 70px;
}
.feature:nth-child(even) {
  flex-direction: row-reverse;
  background: linear-gradient(90deg, #e3f3ff 0%, #f6f6f6 100%);
}
.feature-content h4 {
  font-size: 35px;
  line-height: normal;
  color: #083a5e;
  font-weight: 700;
}
.feature-content p {
  font-size: 16px;
  line-height: normal;
  color: #497696;
  font-weight: 400;
  width: 85%;
}
.feature .feature-image img {
  width: 250px;
  height: 200px;
}

/* slider section */
.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  position: relative;
}

.slider-header h2 {
  font-size: 2rem;
  color: #163153;
  margin: 0 20px;
  position: relative;
}

.slider-nav {
  display: flex;
  gap: 15px;
  align-items: center;
}

.slider-nav img {
  height: 30px;
  width: 30px;
  cursor: pointer;
}

.slider {
  overflow: hidden;
  position: relative;
  background-color: #f0f7ff;
  border-radius: 15px;
}

.slides-wrapper {
  display: flex;
  transition: transform 0.8s ease-in-out; /* Smooth and moderate slide transition */
}

.slide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%; /* You can use a specific width if needed */
  gap: 10%;
  flex-shrink: 0;
  padding: 30px;
  background: linear-gradient(-90deg, #e3f3ff 0%, #f6f6f6 100%);
  opacity: 0; /* Initially hidden */
  transform: translateY(20px); /* Slide comes slightly from below */
  transition: 
    opacity 0.6s ease-in-out,  /* Smooth fade transition */
    transform 0.6s ease-in-out; /* Smooth vertical translation */
}

.active-slide {
  opacity: 1; /* Fully visible */
  transform: translateY(0); /* Reset vertical position for active slide */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Subtle shadow for active slide */
}



.slide-content .step-number {
  font-size: 35px;
  font-weight: 700;
  background-color: #ffffff;
  padding: 8px 16px;
  border-radius: 10px;
  display: inline-block;
  margin-bottom: 10px;
  color: #083A5E;
}

.slide-content h3 {
  font-size: 35px;
  font-weight: 700;
  color: #083A5E;
}

.slide-content p {
  font-size: 1rem;
  color: #667e98;
}

.slide-image {
  max-width: 45%;
}

.slide-image img {
  width: 350px;
  height: 215px;
  border-radius: 10px;
}

@media (max-width: 1024px) {
  .feature {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .feature {
    flex-direction: column;
    gap: 40px;
  }
  .slide {
    flex-direction: column;
  }

  .slide-content {
    max-width: 100%;
    margin-bottom: 20px;
  }

  .slide-image {
    max-width: 100%;
  }

  .slider-header {
    flex-direction: column;
    align-items: end;
  }

  .slider-nav button {
    margin: 5px 0;
  }
}

