
@import url("./base.css");


  /* about */

.about {
    display: flex;
    background-image: url("../images/Asset Maisoft/portfolio.jpg");

    color: white;
    background-size: cover;
   background-repeat: no-repeat;
    padding:  60px 80px 120px;
    align-items: center;
    justify-content: space-between;
    

  position: relative;
height: 50vh;
   
  }

  .about-content h3{
    font-size: 45px;
   
    font-weight: 500;
    font-family: var(--ff-secondary);
    margin-bottom: 50px;
  }

  .back{
    display:  flex;
    gap: 20px;
    align-items: center;
    color: white;
    
  }
  .back a {
    color: white;
  }
  .icons {
    display: flex;
  }

  @media (max-width: 1024px) {
    .about {
      flex-direction: column;
      padding: 40px 20px;
      height: auto;
      text-align: center;
    }
  
    .about-content h3 {
      font-size: 36px;
      margin-bottom: 30px;
    }
  
    .back {
      flex-direction: column;
      gap: 10px;
    }
  
    .icons img {
      width: 20px;
    }
  }
  
  @media (max-width: 768px) {
    .about-content h3 {
      font-size: 28px;
      margin-bottom: 20px;
    }
  
    .icons img {
      width: 18px;
    }
  }
  
  @media (max-width: 480px) {
    .about-content h3 {
      font-size: 24px;
      margin-bottom: 15px;
    }
  
    .icons {
      gap: 5px;
    }
  
    .icons img {
      width: 16px;
    }
  
    .back span {
      font-size: 14px;
    }
  
    .back a {
      font-size: 14px;
    }
  }
  

/********************* NOS projets *****************************/


.nos-projets {
  padding: 60px 20px;
  text-align: center;
  font-family: var(--ff-secondary);
  background-color: #fff;
}

.projets-title {
  font-size: 40px;
  font-family: var(--ff-secondary);
  font-weight: 500;
        text-align: center;
        margin-bottom: 10px;
}



.projets-subtitle {
  max-width: 1200px;
  margin: 0 auto 50px;
  text-align: center;
 
  font-size: 18px;
  font-weight: 500;
  color: var(--clr-grey);
  line-height: 1.6;
  font-family: var(--ff-primary);
}

.filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.filters button {
  padding: 15px 20px;
  border-radius: 5px;
  border: 1px solid #868686;
  color: var(--clr-grey);
  background: none;
  cursor: pointer;
  font-weight: 500;
  font-size: 16px;
  font-family: var(--ff-tertiary);
}

.filters button.active {
  background: linear-gradient(90deg, #0647C5 0%, #0954E6 100%);

  color: white;
  border-color: #0057ff;
}

.projects {
  display: grid;
  gap: 20px;
 

  padding: 0 60px;
  grid-template-columns: repeat(3, 1fr);
  margin: 20px auto;
  max-width: 1400px;
}

.project-card {
  background-color: white;
  border-radius: 5px;
  padding: 15px;

  text-align: center;

 
}

.project-card img {
  width: 100%;
 
  border-radius: 5px;
  object-fit: cover;
 
}

.project-title {
  font-weight: 700;
  font-size: 18px;
 padding:  15px 0;
 font-family: var(--ff-tertiary);
  border-bottom: 0.5px solid #00000041;
  text-align: center;

}

.project-description {
  font-size: 14px;
  font-weight: 500;
  color: var(--clr-grey);
  text-align: center;
  border-bottom: 1px solid #00000041;
  
  

  font-family: var(--ff-primary);

  padding: 26px 0; 
}

/* ============================
   Responsive Projets Section
=============================== */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  .projects {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 30px;
  }

  .filters {
    flex-wrap: wrap;
    gap: 8px;
  }

  .filters button {
    font-size: 18px;
    padding: 12px 16px;
  }

  .project-card {
    height: auto;
  }

  .project-card img {
    height: auto;
    max-height: 240px;
    object-fit: cover;
  }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .projects {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }

  .projets-title {
    font-size: 28px;
  }

  .projets-subtitle {
    font-size: 16px;
    margin-bottom: 30px;
    padding: 0 10px;
  }

  .filters {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .filters button {
    width: 90%;
    font-size: 16px;
    padding: 12px;
  }

  .project-title {
    font-size: 20px;
  }

  .project-description {
    font-size: 14px;
    padding: 20px 0;
  }

  .pagination-area .page-numbers {
    width: 50px;
    height: 50px;
    font-size: 14px;
  }
}

/* Small Devices (max-width: 480px) */
@media (max-width: 480px) {
  .projets-title {
    font-size: 24px;
  }

  .filters button {
    font-size: 14px;
    padding: 10px;
  }

  .project-card {
    padding: 10px;
  }

  .project-card img {
    max-height: 200px;
  }
}

.project-card.show {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.anim {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.3s ease;
}

.image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 5px;
}

.image-wrapper img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.4s ease;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5); /* Couche blanche semi-transparente */
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease;
}

.overlay-text {
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  color: white;
  padding: 0 10px;
  font-family: var(--ff-primary);
}

.image-wrapper:hover img {
  transform: scale(1.05);
}

.image-wrapper:hover .overlay {
  opacity: 1;
}


/*==============================
Pagination Area 
=================================*/

.pagin{
  text-align: center;
padding-top: 20px;

}
.pagination-area {
  margin-top: 10px;
  margin-bottom: 30px;
  text-align: center;
  font-family: var(--ff-primary);

}
.pagination-area .page-numbers {
  width: 60px;
  height: 60px;
  line-height: 40px;
  color: var(--clr-blue-2);
  background-color: transparent;
  border: 1px solid var(--clr-blue-2);
  text-align: center;
  display: inline-flex;
  position: relative;
  padding: 10px;
  padding-right: 10px;
  font-size: 16px;
  border-radius: 5px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: auto;
}
.pagination-area .page-numbers:hover {
  background-color: var(--clr-blue-2);
  color: #ffffff;
}
.pagination-area .page-numbers  {
  position: relative;
  font-size: 18px;
  
  /* top: 5px; */
}


.pagination-area .page-numbers.current {
  background: linear-gradient(90deg, #0647C5 0%, #0954E6 100%);

  color: #ffffff;
 
}
.pagination-area .page-numbers{
  margin-left: 10px;
  margin-right: 10px;
}

/*==============================
Pagination Area End




