/* Google Fonts - Poppins */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

* {
  margin: 0;
  padding: 0;
  /* box-sizing: border-box; */
  /* font-family: 'Poppins', sans-serif; */
}
.our-new-team-body {
  /* background-color: #f8ece8; */
  font-family: "Poppins", sans-serif;
}

body {
  /* min-height: 100vh; */
  /* display: flex; */
  align-items: center;
  justify-content: center;
  /* background-color: #EFEFEF; */
}

.slide-container {
  max-width: 1120px;
  width: 100%;
  padding: 40px 0;
  
}
.slide-content {
  margin: 0 40px;
  overflow: hidden;
  border-radius: 25px;
}
.card {
  flex: 0 0 calc(30% - 20px);

  box-shadow: 0 0 15px rgba(37, 86, 177, 0.5); /* Add box shadow on hover */

  background-color: #fff;
  border-radius: 25px;
  margin-bottom: 30px;
  margin-right: 10px; /* Add space between cards */
  margin-left: 10px; /* Add space between cards */
  /* box-sizing: border-box; Include padding and border in the width calculation */
}

.image-content,
.card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 14px;
  /* overflow: hidden; Hide overflowing content */
}
.image-content {
  position: relative;
  row-gap: 5px;
  padding: 25px 0;
}
.overlay {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: #fbede9;
  border-radius: 25px 25px 0px 25px;
}
.overlay::before,
.overlay::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -40px;
  height: 40px;
  width: 40px;
  background-color: #fbede9;
}
.overlay::after {
  border-radius: 0 25px 0 0;
  background-color: #fff;
}


.card-image {
  position: relative;
  height: 225px; /* Adjust the height to make the images bigger */
  width: 200px; /* Adjust the width to make the images bigger */
  border-radius: 20px; /* Make the images square */
  background: #fff;
  padding: 0px;
}

.card-image .card-img {
  height: 120%;
  width: 100%;
  object-fit: fill;
  /* border-radius: 50%; */
  border: 1px solid #356bc2;
  border-radius: 20px;
  /* border: 3px solid #453f3fba; */
}

.card-image:hover {
  /* filter: brightness(0.9); */
  /* opacity: 1; Reduce opacity on hover */
  transform: scale(1.05); /* Scale up the image on hover */
  transition: opacity 0.5s ease, transform 1s ease; /* Smooth transition */
  box-shadow: 0 0 20px rgba(37, 86, 177, 0.5); /* Add box shadow on hover */
}
.card:hover {
  /* filter: brightness(0.9); */
  /* opacity: 1; Reduce opacity on hover */
  transform: scale(1.5); /* Scale up the image on hover */
  transition: opacity 0.5s ease, transform 1s ease; /* Smooth transition */
  box-shadow: 0 0 20px rgba(37, 86, 177, 0.5); /* Add box shadow on hover */
}

.name {
  font-size: 18px;
  font-weight: 500;
  color: #333;
}
.description {
  font-size: 14px;
  color: #707070;
  text-align: center;
}
.button {
  border: none;
  font-size: 16px;
  color: #fff;
  padding: 8px 16px;
  background-color: #4070f4;
  border-radius: 6px;
  margin: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.button:hover {
  background: #265df2;
}

.swiper-navBtn {
  color: #6e93f7;
  transition: color 0.3s ease;
}
.swiper-navBtn:hover {
  color: #4070f4;
}
.swiper-navBtn::before,
.swiper-navBtn::after {
  font-size: 35px;
}
.swiper-button-next {
  right: 0;
}
.swiper-button-prev {
  left: 0;
}
.swiper-pagination-bullet {
  background-color: #6e93f7;
  opacity: 1;
}
.swiper-pagination-bullet-active {
  background-color: #4070f4;
}

@media screen and (max-width: 768px) {
  .slide-container {
    padding: 0; /* Remove padding to utilize full width */
  }
  .slide-content {
    display: flex;
    flex-direction: column; /* Display cards vertically on mobile */
    align-items: center; /* Center-align cards on mobile */
  }
  .swiper-slide {
    width: 100%; /* Ensure each card takes full width on mobile */
    margin-bottom: 20px; /* Add margin between cards on mobile */
  }
}
@media screen and (min-width: 769px) {
  .card-wrapper {
    display: flex; /* Ensure cards display in a row on larger screens */
    justify-content: space-between; /* Add space between cards on larger screens */
  }
  .swiper-slide {
    flex: 0 0 calc(33.33% - 20px); /* Adjust card width for three cards in a row */
    margin-bottom: 0; /* Remove margin between cards on larger screens */
  }
}
