/* =========================================================
   Driven Text Section
   ========================================================= */
.driven-text {
    font-size: 24px;
    font-weight: var(--font-weight-light);
    margin: 40px 0 0 0;
    color: var(--primary-color);
}

/* =========================================================
   Feature Solution & Vision Section (General Layout)
   ========================================================= */
.feat-salution-main,
.vision-main {
    padding: 140px 0 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 60px;
}

/* =========================================================
   Vision Section — Image Container
   ========================================================= */
.vision-img {
    height: 700px;
    border-radius: var(--radius);
    overflow: hidden;
    width: 100%;
    box-shadow: var(--shadow);
}

.vision-img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.vision-main p {
    margin: 0;
}

.vision-main h2 {
    color: var(--primary-color);
    text-align: center;
    font-size: 42px;
    font-weight: var(--font-weight-normal);
}

/* =========================================================
   Image Slider Section
   ========================================================= */
.image-slider {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.image-slider__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: none;
    transition: opacity 0.5s ease;
}

.image-slider__image--active {
    display: block;
}

.image-slider__cta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: var(--font-weight-semibold);
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.image-slider__cta:hover {
    color: var(--primary-hover);
}

.image-slider__cta-icon {
    transition: transform 0.3s ease;
}

.image-slider__cta:hover .image-slider__cta-icon {
    transform: translateX(4px);
}

/* =========================================================
   Swiper Slider Section
   ========================================================= */
.swiper {
  width: 100%;
  margin: 36px 0 140px 0;
  overflow: hidden;
  padding: 20px 0;
  box-sizing: border-box;
}

.swiper-wrapper {
  display: flex;
}

.swiper-slide {
  flex-shrink: 0;           
  width: 400px !important;  
  height: 300px !important;
  display: flex !important;
  flex-direction: column;
  text-align: start;
  justify-content: space-between;
  padding: 28px 24px;
  border-radius: var(--radius);
  margin-right: 16px;
}

.swiper-slide h1 {
    font-size: 22px;
    color: var(--primary-color);
    font-weight: var(--font-weight-normal);
}

.swiper-slide p {
    font-size: 16px;
    color: var(--primary-color);
    font-weight: var(--font-weight-light);
    line-height: 26px;
}

.swiper-slide a {
  font-size: 14px;
  font-weight: var(--font-weight-normal);
  color: #8c8c9b;
  transition: all 0.3s ease;
}

.swiper-slide a:hover {
    text-decoration: underline;
}

/* =========================================================
   Responsive Breakpoints for Swiper
   ========================================================= */
@media (max-width: 1250px) {
    .driven-text{
        font-size: 20px;
        text-align: start;
    }
    .feat-salution-main, .vision-main{
        padding: 50px 0 0 0;
    }
    .vision-img{
        height: 400px;
    }
   .heading-wrapping{
    text-align: start;
   }
   .feat-salution-main, .vision-main,
   .service-bg{
    gap: 40px ;
   }
    .feature-cards{
        margin: 40px 0;
    }
    .feat-salution-main, .vision-main{
        align-items: flex-start;
    }
    .swiper{
        margin:30px 0 40px 0;
    }
    .vision-main h2{
      font-size: 30px;
    }
    .image-slider__cta{
  margin: 0 auto;
}
}
@media (max-width: 768px) {
    .swiper-slide h1 {
        font-size: 18px;
    }
    .swiper-slide p {
        font-size: 14px;
    }
    .features-container{
        margin: 0;
    }
    .image-slider {
    height: 500px;
}

}
@media (max-width: 680px) {
    .driven-text {
        font-size: 18px;
    }
        .vision-main h2 {
        font-size: 20px;
    }
}


@media (max-width: 480px) {
    .swiper-slide {
        width: 270px !important;
        height: 270px !important;
        padding: 16px 12px;
    }
.image-slider {
        height: 300px;
    }
    .swiper-slide h1 {
        font-size: 18px;
    }

    .swiper-slide p {
        font-size: 14px;
    }
}

