

/**********************************************************************************************************************
|                                                   ETUDES DE CAS                                                     |
**********************************************************************************************************************/


.wrapper-etudes-de-cas {
    padding: 57px 0 50px;
    background-color: #F3F5F7;
    background-image: url(../images/shape/shape3.png);
    background-position: top right;
    background-repeat: no-repeat;
    position: relative;
}

.container-etudes-de-cas {
    width: 100%;
}

.parent-section-title-etudes-de-cas {
    width: 50%;
}
  
.wrap-etudes-de-cas {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}
  
.parent-etudes-de-cas {
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}
  
.parent-etudes-de-cas::after {
    content: "";
    height: 50%;
    width: 100%;
    background-image: linear-gradient(to top, var(--black-color),transparent);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    transition: all 0.3s ease-in-out;
}
  
.img-etudes-de-cas {
    display: flex;
}
  
.parent-etudes-de-cas .content-item-etudes-de-cas {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 0 0px 30px 25px;
    transform: translateY(74px);
    z-index: 5;
    transition: all 0.3s ease-in-out;
}
    
.cat-list {
    position: relative;
    display: inline-block;
    color: rgba(255,255,255,.8);
    font-size: 15px;
    font-weight: 300;
    transition: all 0.3s ease-in-out;
    text-transform: capitalize;
}
    
.content-item-etudes-de-cas h3 {
    margin-bottom: 5px;
    font-size: 23px;
    color: var(--white-color);
    font-weight: 500;
    transition: all 0.3s ease-in-out;
    line-height: 1.1;
}
  
.content-item-etudes-de-cas h3 a {
    color: var(--white-color);
}

.content-item-etudes-de-cas {
    width: 76%;
}

.content-item-etudes-de-cas p {
    visibility: hidden;
    opacity: 0;
    color: #d4d4d4;
    line-height: 1.5;
    margin-bottom: 40px;
    transition: all 0.3s ease-in-out;
}

.parent-etudes-de-cas:hover .content-item-etudes-de-cas {
    transform: translateX(0);
}

.parent-etudes-de-cas:hover .content-item-etudes-de-cas p {
    visibility: visible;
    opacity: 1;
}

.wrapper-parent-etudes-de-cas:hover  .portfolio-btn .btn-style2 span {
    visibility: visible;
    opacity: 1;
}

.wrapper-parent-etudes-de-cas:hover .portfolio-btn .btn-style2::after {
    opacity: 1;
    visibility: visible;
    width: 100%;
}

.wrapper-parent-etudes-de-cas:hover  .portfolio-btn .btn-style2 {
    opacity: 1;
}

.portfolio-btn:hover .btn-style2 {
    color: var(--second-color);
}

.btn-style2 {
    position: relative;
    display: inline-flex;
    font-size: 24px;
    font-weight: 500;
    color: var(--white-color);
    padding: 7px 17px 7px 17px;
    border: none;
    width: max-content;
    opacity: 1;
    border-radius: 30px;
    transition: all 0.5s ease-in-out;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-style2 span {
    color: var(--white-color);
    font-size: 14px;
    text-align: center;
    font-weight: 500;
    visibility: hidden;
    opacity: 0;
    margin-left: 10px;
    transition: all 0.5s ease-in-out;
}

.parent-etudes-de-cas:hover::after {
    height: 100%;
}
  
.wrapper-parent-etudes-de-cas   .portfolio-btn .btn-style2::after {
    content: "";
    width: 65px !important;
    height: 65px;
    background-color: var(--primary-color);
    border-radius: 8px;
    position: absolute;
    top: 50%;
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%);
    z-index: -1;
    transition: all 0.8s ease;
}

.date-agenda {
  position: absolute;
  width: 65px;
  background: var(--primary-color);
  top: 0;
  right: 0;
  /* padding-bottom: 5px; */
  /* padding-top: 18px; */
  padding: 18px 5px 5px;
  border-radius: 0 0 50px 50px;
  text-align: center;
  text-transform: uppercase;
}

.date-agenda span {
  display: block;
  font-size: 12px;
  /* font-family: 'League Spartan'; */
  font-weight: 500;
  line-height: 20px;
  color: var(--white-color);
}

span.date_in_number {
  position: relative;
  width: 50px;
  background: var(--white-color);
  font-size: 15px;
  /* line-height: 58px; */
  aspect-ratio: 1;
  color: #4a4e56;
  font-weight: 700;
  text-align: center;
  border-radius: 50%;
  margin: 4px auto 0px;
  /* -webkit-transition: .9s ease-in-out; */
  transition: .9s ease-in-out;
  text-transform: none;
  display: flex;
  align-items: center;
  justify-content: center;
}



/********************************************************************************************************************|
                                                    SERVICES                                                         |
**********************************************************************************************************************/
  
    
    
.wrapper-parent-etudes-de-cas {
    width: 50%;
    padding: 0 15px 30px;
    position: relative;
}

.portfolio-btn {
    position: absolute;
    left: 83%;
    transform: translateX(-50%);
    z-index: 2;
    top: 70%;
}

.img-etudes-de-cas {
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.img-etudes-de-cas img {
    object-fit: cover;
    width: 100%;
    height: 430px;
}

.parent-title::before {
    content: "";
    width: 3px;
    height: 100%;
    position: absolute;
    background: var(--primary-color);
    left: 0px;
}

.parent-title {
    position: relative;
    overflow: hidden;
    padding-left: 20px;
}

.parent-etudes-de-cas:hover  .parent-title {
    margin-bottom: 20px;
}

.wrapper-parent-etudes-de-cas .portfolio-btn:hover .btn-style2::after {
    border: 2px solid var(--second-color);
    background: var(--white-color);
}
