.inner-service {
  background-color: #f4f9fd;
  padding: 30px 20px;
}

.inner-service-wrapper-card {
  background-color: white;
  border-radius: 20px;
}

.service-logo {
  width: 200px;
}

.inner-service-card {
  display: flex;
  overflow: hidden;
  margin: 4px auto 50px;
}

.service-max-height{
  max-height: 20rem;
}

.inner-service-content {
  padding: 30px;
  flex: 1;
}

.image-container {
  width: 40%;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  object-position: center;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.inner-service-content > h2 {
  color: #333;
  font-size: 22px;
  margin-bottom: 10px;
  font-weight: bold;
}

.inner-service-content > p {
  color: #666;
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 20px;
  margin-left: 10px;
}

.inner-service-card-footer {
  padding-bottom: 40px;
}

.inner-service-card-footer h6{
  font-family: "Nunito Sans",sans-serif;
  text-align: center;
  margin: auto;
  font-weight: 400;
  line-height: 1.7;
  width: 80%;
  color: #6d6d6d;
}

.testimonials-section{
  background-color: #f4f9fd;
  padding: 80px;
  margin-bottom: 60px;
}

.testimonials-header {
  margin-bottom: 30px;
  font-size: 28px;
  font-weight: 600;
}

.testimonials-header span {
  color: #FFA500;
}

.carousel-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.testimonial-slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.testimonial-slide {
  min-width: 100%;
}

.testimonial-card {
  background-color: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(43, 111, 202, 0.4);
  margin: 10px;
  display: flex;
  align-items: center;
  text-align: left;
  gap: 20px;
}

.testimonial-image {
  height: 100px;
  overflow: hidden;
  border-radius: 10px;
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-text {
  flex: 1;
  position: relative;
}

.testimonial-text p {
  margin-bottom: 10px;
  color: #555;
  font-size: 14px;
}

.testimonial-footer > b {
  color: #f8ab09;
  text-transform: uppercase;
}

.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.carousel-dot {
  height: 8px;
  width: 8px;
  background-color: #ddd;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
}

.carousel-dot.active {
  background-color: #FFA500;
}

.service-contact{
  margin: 100px auto;
}

.service-contact-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.service-heading {
  display: flex;
  justify-content: center;
  align-items: center;
}

.service-heading > h4 > span {
  color: #FFA500;
  font-weight: 700;
}

.service-contact-text {
  color: #00376e;
  font-weight: 700;
  position: relative;
  padding-bottom: 4px;
  cursor: pointer;
}

.service-contact-text:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #00376e;
  transition: width 0.3s ease;
}

.service-contact-text:hover:after {
  width: 100%;
}

.service-contact-title{
  font-family: "Nunito", sans-serif;
  color: #323232;
  font-size: 23px;
  font-weight: 700;
}

@media screen and (max-width: 927px) {
  .inner-service-content > h2 {
    font-size: 20px;
  }

  .inner-service-content > p {
    font-size: 12px;
  }

  .inner-service-card {
    margin: 0;
  }
}

@media screen and (max-width: 768px) {
  .inner-service-card:nth-child(odd) {
    flex-direction: column-reverse;
  }

  .inner-service-card:nth-child(even) {
    flex-direction: column;
  }

  .inner-service-card {
    margin: 0 auto;
    max-height: none;
  }

  .image-container {
    width: 100%;
    height: 200px;
  }

  .service-heading {
    flex-direction: column;

  }
}

@media screen and (max-width: 550px) {
  .testimonial-card {
    flex-direction: column;
  }

  .service-heading > h4 {
    font-size: 20px;
  }

  .service-contact-container > h5 {
    font-size: 16px;
  }

  .md-margin {
    margin: 2vh auto!important;
  }
}

@media screen and (max-width: 900px) and (min-width: 550px) {
  .md-width {
    max-width: 80% !important;
  }

  .md-margin {
    margin: 5vh auto!important;
  }
}