/*=== BANNER STYLE === */
.banner {
  height: 500px;
  background-image: url("./assests/banner.png");
  background-position: left 15%;
  background-size: cover;
}

/* === TITLE STYLE === */
.title_section {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.quote_left {
  position: absolute;
  top: 0;
  width: 60px;
  align-self: self-start;
  transform: rotate(180deg);
}

.quote_right {
  position: absolute;
  right: 0;
  width: 60px;
  align-self: self-end;
}

.title__h4 {
  width: 80%;
}

/* === POURQUOI STYLE === */
.Pourquoi {
  background: transparent linear-gradient(23deg, #d2237d 14%, #311275 66%) 0% 0%
    no-repeat padding-box;
  padding: 60px 0;
}

/* .heading_text {
  font-size: 28px;
  margin-top: 0px;
} */

.carousel-indicators .active {
  background: #50dbe6;
}

.single-box .box__icon {
  cursor: pointer;
  width: 70px;
}

.single-box h2 {
  cursor: pointer;
  color: white;
  font-size: large;
}
.single-box h2:hover{
  color: #50dbe6;
}

.single-box .text__underline {
  width: 20%;
  margin: 0;
  border: 1px solid white;
}

.single-box:hover .text__underline {
  width: 100%;
  transition: 1s;
  border: 1px solid #50dbe6;
}
/* === TEAM STYLE === */
.team {
  padding: 60px 0;
}

.circle__img {
  margin: 12px 5px 12px 5px;
  position: relative;
  width: 150px;
  height: 150px;
  border-radius: 1000px;
  background-color: #50dbe6;
  transition: ease-in 150ms;
  overflow: hidden;
  z-index: 1;
}

.circle__overlay {
  position: absolute;
  top: 0;
  z-index: 2;
  width: 150px;
  height: 150px;
  border-radius: 1000px;
  background-color: #50dbe6;
  opacity: 1;
}

.circle__overlay__last {
  left: 0;
  margin-left: -150%;
}

.team .avatar__img {
  cursor: pointer;
  position: relative;
  z-index: 3;
  width: 150px;
  height: 150px;
  border-radius: 1000px;
  background-color: #e6e6e6;
}

/* Hover effect */
.first-section-team .circle__img:nth-child(1) {
  z-index: 5;
}

.first-section-team
  .circle__img:nth-child(1):hover
  ~ .circle__img:nth-child(2) {
  z-index: -1;
}

.first-section-team
  .circle__img:nth-child(2):hover
  ~ .circle__img:nth-child(3) {
  z-index: -2;
}

.first-section-team
  .circle__img:nth-child(3):hover
  ~ .circle__img:nth-child(4) {
  z-index: -3;
}
.second-section-team
  .circle__img:nth-child(1):hover
  ~ .circle__img:nth-child(2) {
  z-index: -3;
}

.avatar__img:hover ~ .circle__overlay {
  width: 250%;
  transition: ease-in 60ms;
}

.circle__overlay:hover ~ .team .avatar__img {
  background-color: transparent;
}

.team .avatar__img:hover {
  background-color: #50dbe6;
  transition: ease-in 60ms;
}

.circle__overlay:hover {
  width: 250%;
  transition: ease-in 60ms;
}

.team .circle__img:hover {
  overflow: visible;
}

.circle__img h4 {
  font-size: 16px;
}

.circle__img p {
  font-size: 12px;
  margin-bottom: 0px;
}

.team .icon {
  width: 30px;
  cursor: pointer;
}

.c-team {
  display: flex;
  flex-direction: column;
}

.first-section-team,
.second-section-team {
  gap: 50px;
}
/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
  /*=== BANNER STYLE === */
  .banner {
    height: 300px;
  }

  /* === TITLE STYLE === */
  .quote_left {
    width: 30px;
  }

  .quote_right {
    width: 30px;
  }

  .title__h4 {
    font-size: small;
  }

  /* === POURQUOI MOBILE STYLE === */
  .heading_text {
    font-size: 18px;
    margin-top: 20px;
  }

  .single-box h2 {
    font-size: 18px;
  }

  /* === TEAM MOBILE STYLE === */
  .team .avatar__img {
    width: 120px;
    height: 120px;
  }

  .team .icon {
    width: 20px;
    cursor: pointer;
  }

  .circle__img {
    width: 120px;
    height: 120px;
    margin-bottom: 30px;
  }

  .circle__overlay {
    width: 120px;
    height: 120px;
  }

  /* Hover effect */
  .avatar__img:hover ~ .circle__overlay {
    width: 80vw;
    transition: ease-in 60ms;
  }

  .circle__overlay:hover {
    width: 80vw;
    transition: ease-in 60ms;
  }

  .circle__overlay__last,
  .circle__overlay__3 {
    left: 0;
    margin-left: -51vw;
  }


  .last__img__text {
    position: relative;
    padding: 8px;
    color: white;
  }

  .circle__img h4 {
    font-size: 12px;
  }

  .circle__img p {
    font-size: 8px;
    margin-bottom: 0px;
  }
}

/* Medium devices (landscape tablets, 768px and down) */
@media only screen and (max-width: 768px) {
  .first-section-team,
  .second-section-team {
    flex-direction: column-reverse;
  }

  
  .circle__img:nth-child(4) {
    background-color: #311275;
  }
}

/* Extra large devices (large laptops and desktops, 1492px and down) */
@media only screen and (max-width: 1492px) {
  .p-team {
    display: none;
  }
  .c-team {
    justify-content: center;
  }
  .two-lists {
    justify-content: space-between;
    flex-direction: row !important;
  }
  .first-section-team,
  .second-section-team {
    flex-direction: column;
  }
  .d-none-md {
    display: none !important;
  }
  
}
@media only screen and (max-width: 1044px) {
  .second-child:hover,
  .third-child:hover,
  .last-child:hover ~ .circle__overlay {
    z-index: 5;
  }

  .last-child:hover {
    z-index: 5;
  }
}
