@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

*{
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;

}
.logo-item{
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    border: 1px solid aliceblue;
    box-shadow: 4px 3px 8px #bfb6b6;
    border-radius: 10px;
    background: #fff;
}

/* a:hover{
    color: #388e3c !important;
} */
body{
    background: #171717d3;
    padding: 20px;
    animation: fadeInAnimation ease 2s;
}

nav{
    display: flex;
    gap: 20px;
}

/* NAVBAR Design */


.about{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 42px;
    padding: 60px 42px;
    background: #27272a;
    border-radius: 14px;
    margin-top: 20px;
}

.about .left h3{
    font-size: 24px;
    color: #dbdbdb;
    font-weight: 400;
}
.about .left .info{
    margin-top: 35px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.about .left .info h2{
    font-size: 36px;
    color: white;
    font-weight: 500;
}

.about .left .info p{
    font-size: 20px;
    color: #bdbdbd;
}
.about .left .info .buttons{
    display: flex;
    gap: 14px;
}

.about .left .info .buttons button{
    font-size: 16px;
    padding: 6px 10px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.about .left .info .buttons button.hire{
    color: #fff;
    background: #388e3c;
    border: 1px solid #171717;
}

.about .left .info .buttons button.hire:hover{
    background: #4caf50;
}

.about .left .info .buttons button.email{
    color: #dbdbdb;
    border: 1px solid #27272a;
    background: #171717;
}

.about .left .info .buttons button.email:hover{
    background: #000;
}

/* DESIGN RIGHT SIDE */
.about .right a.online{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #171717;
    border: 1px solid #27272a;
    padding: 4px 15px;
    border-radius: 14px;
    font-size: 13px;
    color: white;
    text-decoration: none;
}
.about .right a.online i{
    color: #4caf50;
    font-size: 9px;
}



.about .right img{
    width: 200px;
    height: 200px;
    border: 8px solid #2c2c2c;
    border-radius: 50%;
    object-fit: cover;
    margin-top: 35px;
}

/* Design Postes & Infos layout  */

.works{
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.works .left{
    flex: 1;
    background: #18181b;
    padding: 60px 40px;
    border-radius: 14px;
    /* border: 1px solid #27272a; */
    border: 2px solid #fff;
    margin: 10px;
}

.works .left h3{
    color: #bdbdbd;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    text-decoration: none;
    text-transform: uppercase;
}
.works .left h3 i{
    font-size: 8px;
}

.works .left .work-list{
    margin-top: 70px;
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.works .left .work-list .item{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.works .left .work-list .item .work-info h5{
    color: #fff;
    font-size: 20px;
    font-weight: 500;
}
.works .left .work-list .item .work-info h5.active{
    color: #388e3c;
}

.works .left .work-list .item .work-info p{
    margin-top: 12px;
    color: #bdbdbd;
    font-size: 12px;
}

.works .left .work-list .item>p{
    font-size: 14px;
    color: #bdbdbd;
}

.works .right{
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 40% auto;
    gap: 20px;
}

.works .right .item:first-child{
    grid-column: span 2;
}

.works .right .item{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 25px;
    padding: 20px;
    background: hsl(240, 6%, 10%);
    border: 1px solid #27272a;
    border-radius: 14px;
    cursor: pointer;
    /* transition: all 0.3s ease; */
    transition:background 0.5s ease-in;
}

.works .right .item:hover{
    background: hsl(240, 15%, 92%);
    border: 1px solid #6a96b8;
    
}

/* .works .right .item p{
    text-align: center;
} */

.works .right .item:hover a{
    color: #121212ab;
}
.works .right .item a{
    text-transform: uppercase;
    text-decoration: none;
    color: #f9f2f291;
    font-size: 15px;
    font-weight: 500;
}

.works .right .item > p{
    color: #bdbdbd;
    font-size: 14px; 
    line-height: 26px;
}

.works .right .item:hover p{
    color: #1e1c1caf;
}

.works .right .item:not(:first-child){
    gap: 14px;
}

.works .right .item:not(:first-child) a{
    font-size: 14px;
}

.works .right .item:not(:first-child) p{
    font-size: 13px;
}

/*-----------------------------------*\
  # Nav bar - Centrer -
\*-----------------------------------*/

.header-contact { display: none; }

.header {
  background: #eaeaf2;;
  /* background: var(--alice-blue-1); */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  transition: var(--transition);
  z-index: 4;
}

.header.active { box-shadow: var(--shadow-1); }

.header .container {
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 2px;
}

.header-actions .btn span { display: none; }

.user-btn {
  --color: var(--independence);
  --background: var(--white);
  --shadow-2: var(--shadow-1);
  box-shadow: var(--shadow-1);
}

.nav-toggle-btn span {
  background: var(--independence);
  width: 22px;
  height: 2px;
  border-radius: 2px;
  margin-block: 8px;
  transform-origin: right;
  transition: var(--transition);
}

.nav-toggle-btn span.two { transform: scaleX(0.7); }

.nav-toggle-btn span.three { transform: scaleX(0.4); }

.nav-toggle-btn:is(:hover, :focus) span { background: var(--carolina-blue); }

.nav-toggle-btn.active span {
  transform: scaleX(1);
  background: var(--carolina-blue);
}

.navbar {
  background: var(--alice-blue-1);
  position: fixed;
  top: 70px;
  bottom: 0;
  right: -260px;
  max-width: 260px;
  width: 100%;
  padding: 20px 25px;
  border: 1px solid var(--white);
  box-shadow: var(--shadow-1);
  visibility: hidden;
  transition: 0.25s cubic-bezier(0.51, 0.03, 0.64, 0.28);
}

.navbar.active {
  visibility: visible;
  transform: translateX(-100%);
  transition: 0.5s cubic-bezier(0.33, 0.85, 0.56, 1.02);
}

.navbar-link {
  color: var(--independence);
  font-family: var(--ff-nunito);
  font-size: var(--fs-6);
  padding-block: 5px;
  margin-bottom: 15px;
}

.navbar-link:is(:hover, :focus) { color: var(--carolina-blue); }

.overlay {
  position: fixed;
  top: 70px;
  background: hsl(216, 38%, 95%);
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.overlay.active {
  opacity: 0.7;
  pointer-events: all;
}



/* texte testimory */

.section__name{
  position: absolute;
  margin: 34px;
  color: white;
  text-transform: uppercase;
}

.Testimonials{
    max-width: 1440px;
    margin: 50px -19px;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 0;
}




.card{
    background: #fff;
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 10px;
    box-shadow: rgba(17,12,46, 0.15) 0px 48px 100px 0px;
    
}

.card__header{
    display: flex;
    align-items: center;
    margin-bottom: 10px;
   
}
.card__header h3{
    font-size: 15px;
}
.card__header p{
    opacity: 50%;
}
.card__img{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    border: 2px solid #3333332c;
}

.card__lead{
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 20px;
}

.card__quote{
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    opacity: 70%;
}

.card__bg__purple{
    background-color:  hsl(240deg 5.88% 10%);;
    color: #fff;
}

.card__bg__gray-blue{
    background-color: hsla(264, 3%, 28%, 0.71);
    color: #fff;
}

.card__bg__black-blue{
    background-color:  hsl(240deg 5.88% 10%);;
    color: #fff;
}

.etat-user-profile{
    display: grid;
    grid-template-columns: 1fr;
    /*  */
    /* background: #fff; */
    
}

#current-date{
    margin-left: 330px;
    font-size: x-small;
}

.etat-user-profile >.header_status{
    display: flex; 
    justify-content: space-between;
    border: 1px solid #fff;
    padding: 10px;
    border-radius: 10px;
    padding-right: 20px;
    
}

/* Note d'évaluation */

.eval-user{
    display: grid;
    margin-top: 10px;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.note-user{
    margin-top: 10px;
    border: 1px solid #fff; 
    grid-row: 2/3;
    background: #ffffff4a;
    color: #171717;
    /* /* width: 182px; */
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    
}

.title-note-grade{
  padding: 20px;
  border: 1px solid rgb(234, 220, 220);
  border-radius: 16px;
  font-size: 32px;
  background-color: #fff;
  width: 100px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.info_perf_container{
    margin-top: 10px;
    border: 1px solid #fff; 
    grid-row: 2/3;
    background: #ffffff4a;
    color: #171717;
    /* width: 182px;
    height: 120px; */
    display: flex;
    justify-content: justify;
    /* align-items: center; */
    border-radius: 10px;
}


  .form_upload_container{
   
    display: grid;
    margin-top: 10px;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
} 

.form_upload{
    margin-top: 5px;
    border: 1px solid #fff;
    background: #ffffff4a;
    color: #171717;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    padding: 10px;
}

.upload-img{
    margin-top: 5px;
    position: relative;
    left: 33.33%;
    transform: translateX(-50%, -50%);
    padding: 5px;
    font-weight: bolder;
    color: #4752528f;
    border-radius: 5px;
    outline: none;
    border: none;
    cursor: pointer;
}


.elem_notifs{
    padding: 10px;
    color: #e1dcd4;

}




.header_status > .status{
    color: #8cf6c99e;
}




.card:nth-of-type(1){
    grid-column: 1/3;
}

.card:nth-of-type(2){
    grid-column: 3/5;
    grid-row: 1/3;
}
.card:nth-of-type(3){
    grid-column: 1/3;
    grid-row: 2;
}

.card:nth-of-type(4){
    grid-column: 1/3;
    grid-row: 3;
}

/* FOOTER Design */
.footer {
    /* background: #8b95a752; */
    /* color: var(--independence); */
    color: #32324e;
    margin-top: -77px;
}

.container-footer {
    padding-inline: 15px;
    position: relative;
    top: 100px;
}



.footer-bottom {
    background: linear-gradient(to top, hsl(216, 75%, 97%), hsl(216, 38%, 95%));
    border: 1px solid #fff;
    border-top-right-radius: 18px ;
    border-top-left-radius: 18px;
    padding: 20px;
}

.copyright {
    font-size: 0.875rem;
    color: #171717;
}
.copyright > a{
    color: inherit;
    text-decoration: none;
}





/* Media navbar & main */
@media screen and (max-width: 1200px){
    .about{
        padding: 60px 30px;
    }

    .works{
        flex-direction: column;
    }


    .works .right{
        grid-template-rows: auto auto;
        
    }
}

@media screen and (max-width: 768px){

    .about{
        flex-direction: column-reverse;
        gap: 20px;
        padding: 30px;
    }

    .about .left .info{
        margin-top: 30px;
    }
    .about .left img{
        margin-top: 20px;
    }

    #current-date{
        font-size: x-small;
        margin-left:  46px;
    }

    .note-user{
        background: transparent;
        width: 100px;
        border: none;
    }

    .form_upload form > input{
        width: 200px;
        cursor: pointer;
    }
    
    

    
}


    


/* Media Testimonials */
@media(max-width:768px){
    .Testimonials{
        grid-template-columns: 1fr;
        width: 100%;
    }

    .card:nth-of-type(1){
        grid-column: 1;
    }

    .card:nth-of-type(2){
        grid-column:1;
        grid-row: 2;
    }

    .card:nth-of-type(3){
        grid-column:1;
        grid-row: 3;
    }

    .card:nth-of-type(4){
        grid-column: 1;
        grid-row: 4;
    }

    .card:nth-of-type(5){
        grid-column: 1;
        grid-row: 5;
    }

    .about .left h3{
        font-size: 20px;
        text-align: center;
        margin-top: -15px;
    }
    .about .left .info h2{
        margin-top: -20px;
        font-size: 30px;
        text-align: center;
    }
    .about .left .info > p{
        font-size: 14px;
        font-weight:400;
       
    }
    .about .left .info .buttons{
        padding: 10px;
        
    }

    .about .right img{
        margin-top: 10px;
    }

    

}


/* modal design */

/* Style the modal container

.modal-container {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
  }
  
  /* Style the modal content */
  .modal-container {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(97, 102, 83, 0.799);
    height: 300vh;
    display: none;


    /* justify-content: center;
    align-items: center; */
  }




  .modal-content {
    background-color: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    width: 50%;
    margin: 40px auto;
    margin-top: 90px;
    
  }

  
  
/* Begin */

   /* .container {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 24px;
    width: 400px;
} */
.header-modal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.header-modal h1 {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}
.header-modal i {
    font-size: 20px;
    color: #6b7280;
}
.form-group {
    margin-bottom: 16px;
}
.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}
.form-group input, .form-group textarea, .form-group select {
    width: calc(100% - 32px);
    padding: 8px 16px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: #6366f1;
}
.form-group .input-group {
    display: flex;
    align-items: center;
}
.form-group .input-group input {
    flex: 1;
}
.form-group .input-group i {
    margin-left: 8px;
    color: #6366f1;
}
.form-group .input-group img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 8px;
}
.form-group .input-group select {
    flex: 1;
}
.form-group .input-group .checkbox-group {
    display: flex;
    align-items: center;
}
.form-group .input-group .checkbox-group input {
    margin-right: 8px;
}
.form-group .input-group .checkbox-group label {
    margin: 0;
}
.form-group .char-count {
    font-size: 12px;
    color: #6b7280;
    text-align: right;
}
.form-group .date-group {
    display: flex;
    align-items: center;
}
.form-group .date-group input {
    flex: 1;
}
.form-group .date-group i {
    margin-left: 8px;
    color: #6366f1;
}
.form-group .date-group .checkbox-group {
    display: flex;
    align-items: center;
    margin-left: 16px;
}
.form-group .date-group .checkbox-group input {
    margin-right: 8px;
}
.form-group .date-group .checkbox-group label {
    margin: 0;
}
.buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.buttons button {
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
}
.buttons #save-draft {
    background-color: #e5e7eb;
    color: #374151;
}
.buttons #add-experience {
    background-color: #6366f1;
    color: white;
} 

  /* End */
  
  /* Style the close button */
  .close-btn {
    background-color: #ccc;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
  }
  
  /* Style the open button */
  .open-btn {
    background-color: #4CAF50;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
  }

  
  /* Make the modal responsive */
  @media (max-width: 768px) {
    .modal-content {
      width: 80%;
    }

    
  }

  /* CAROUSEL-IMAGE */

  .container-carousel-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* min-height: 100vh;
    background-color: #f7f9fc; */
    color: #333333;
    font-family: "Montserrat", sans-serif;
  }
  .container-carousel-body > h2 {
    margin: 1.25rem;
  
    text-align: center;
  }
  
  footer {
    margin: 1.25rem 0;
    text-align: center;
  }
  
  /* Bento Grid */
  .grid-item {
    /* background-color: #ffffff; */
    /* border: 1px solid #e0e0e0; */
    /* 8px */
    /* border-radius: 0.5rem; */
    /* padding-block-end: 2.5rem; */
    /* text-align: center; */
    display: grid;
    justify-content: center;
    padding-top: 2rem;
    position: relative;
    color: white;;
  }
  
  /* Estilo del contenedor del carrusel */
  .carousel-container {
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  /* Contenido del carrusel */
  .carousel-content {
    display: flex;
    animation: scroll 50s linear infinite;
  }
  
  /* Cada elemento del carrusel */
  .carousel-item {
    min-width: 200px;
    height: 150px;
    margin-right: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
  }
  
  /* Animación para el scroll automático */
  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }
  
  section {
    display: flex;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    place-items: center;
    margin: 0px;
    padding: 0px;
    list-style-type: none;
    opacity: 1;
    mask-image: linear-gradient(
      to right,
      rgba(0, 0, 0, 0) 0%,
      rgb(0, 0, 0) 12.5%,
      rgb(0, 0, 0) 87.5%,
      rgba(0, 0, 0, 0) 100%
    );
    overflow: hidden;
  }
  
