.testimonial-section {
  max-width: 1400px;
  /* margin: 40px auto; */
  padding: 0 20px;
}

.testimonial-header {
  text-align: center;
  margin-bottom: 40px;
}

.subtitle {
  letter-spacing: 0.4em;
  color: #18437B;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.title {
  font-size: 4rem;
  color: #18437B;
  font-weight: 600;
  margin: 0;
}

.testimonial-slider-container {
  display: flex;
  align-items: stretch; /* Make container full height of slide */
  justify-content: center;
  gap: 0;
  position: relative;
  min-height: 480px; /* Ensures enough height for vertical centering */
}

.testimonial-swiper {
  width: 1100px;
}

.testimonial-content {
  display: flex;
  align-items: center;
  gap: 48px;
  background: #ffffff;
  border-radius: 40px;
  padding: 40px 32px;
  height: 100%;
}

.testimonial-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 40px;
  box-shadow: 0 8px 32px rgba(35, 64, 110, 0.08);
    border-radius: 50px 0px 0px 50px !important;
}

.testimonial-text {
  flex: 1;
  color: #18437B;
}
p.testimonial-designation {
    font-size: 2rem;
    font-style: italic;
    color: #18437B;
    margin: 0px;
}
.testimonial-text h2 {
  font-size: 2.5rem;
  margin: 0 0 16px 0;
  color: #18437B;
  font-weight: 500;
}

.quote-mark {
    font-size: 16rem;
    color: #18437B;
    line-height: 1;
    margin-bottom: -8rem;
}
.testimonial-message {
  font-size: 1.75rem;
  line-height: 2.5rem;
  font-family: Lato, sans-serif;
  margin: 0;
}

.swiper-button-prev,
.swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.swiper-button-prev {
  left: -60px;
}

.swiper-button-next {
  right: -60px;
}

.custom-nav {
  color: #18437B;
  /* background: #fff;
  border-radius: 50%; */
  width: 48px;
  height: 48px;
  /* box-shadow: 0 2px 8px rgba(35, 64, 110, 0.08); */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  cursor: pointer;
  transition: background 0.2s;
  /* Remove static flex from container, use absolute positioning above */
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 1200px) {
  .testimonial-swiper {
    width: 100%;
  }
  .testimonial-slider-container {
    min-height: 340px;
  }
  .swiper-button-prev {
    left: -24px;
  }
  .swiper-button-next {
    right: -24px;
  }
  .testimonial-image img {
    width: 100%;
    height: 300px;
  }
  .testimonial-content {
    flex-direction: column;
    gap: 24px;
    padding: 24px 8px;
  }
  .testimonial-slider-container {
    gap: 8px;
  }
}

@media (max-width: 900px) {
  .testimonial-content {
    flex-direction: column;
    gap: 24px;
    padding: 24px 8px;
  }
  .testimonial-image img {
    width: 100%;
    height: 300px;
  }
 
}


p.testimonial-designation {
    font-size: 2rem;
    font-style: italic;
    color: #18437B;
}


.testimonial-image {
    display: flex;
    width: 50%;
    height: 100%;
    flex-direction: row;
    align-content: stretch;
    align-items: stretch;
}

.swiper-slide.testimonial-slide {
    height: 100%;
}

div.swiper-wrapper {
    height: 80vh;
}

@media screen and (max-width: 768px) {
   .testimonial-image img {
    width: 80vw !important;
  }

  .testimonial-image {
    width: 80vw !important;
  }

  div.swiper-wrapper {
  height: 100% !important;
  }

  .testimonial-text h2 {
    font-size: 2rem !important;
    margin: 0px !important;
  }

  p.testimonial-designation {
    font-size: 1.5rem !important;
  }

  .testimonial-message {
    font-size: 1.25rem !important;
    line-height: 1.5rem !important;
  }
}