

:root {
  --main-bg-color: #ecddc6;
  --second-color: #c8ad7f;
  --third-color: #e1c699;
  --fourth-color: black;
  --fifth-color: white;

}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  font-family: "roboto", sans-serif;
  font-weight: 300;
  font-style: normal;

}


html {
  scroll-behavior: smooth;
}


/******************************************************* animation ****************************************************/


@keyframes reveal {
  from{
    transform: scale(0);
    opacity:0;
  }

  to {
    transform:scale(1); 
    opacity:1;
  }
}



@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}


@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05); 
  }
  100% {
    transform: scale(1); 
  }
}


/* custom scroll bar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: #888;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}



/********************************************************************** CONTACT-button ***********************************************************************/


.contact-button{
  position: fixed;
  bottom: 50%;
  right: 20px; /* Ajout de la position à droite */
  background: var(--main-bg-color);
  border-radius: 20px;
  color: var(--second-color);
  z-index: 5;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
  border: 2px solid var(--fifth-color);
  transition: transform 0.3s ease; /* Ajout d'une transition pour un effet de survol */
}

.contact-button-contain{
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.contact-button .contact-button-contain .email-button{
  display: flex;
  gap: 20px;
  animation: pulse 2s infinite ease-in-out;

}

.contact-button-contain:hover a{
  transform: scale(1.2);
}

.contact-button-contain:hover {
  transform: translateY(-5px);
}

.contact-button-contain a {
  color: var(--second-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 10px;
  transition: background-color 0.3s ease, color 0.3s ease; /* Transition pour le changement de couleur */
}

.contact-button-contain a:hover {
  color: var(--main2-bg-color);
}

.contact-button-contain a:active{
  transform: scale(.5);
  transition: ease-in .2s;
}

.contact-button-contain a i {
  width: 20px;
  font-size: 20px; /* Ajustement de la taille de l'icône */
}


/**********************************************************************Cookie banner styling ***********************************************************************/


.cook{
  position: fixed;
  width: 100%;
  bottom: 0;
  padding: 15px;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--main-bg-color);
}

.cook .bandeau {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;

}

.cook .bandeau .band-t{
  color: var(--second-color);
  font-weight: bold;

}

.cook .bandeau .band-button button {
  padding :10px; 
  background-color: var(--second-color);
  border-radius: 10px;
  border: none;
  color : var(--third-color); 
  cursor: pointer;
  width: fit-content;
  transition: all ease .3s;
  font-weight: bold;

}

.cook .bandeau .band-button button:hover {
  transform: scale(1.05);
  background-color: var(--main2-bg-color);
}

.cook .bandeau .band-button button:active{
  transform: scale(0.9);
  background-color: var(--second-color);
  color :var(--main-bg-color); 
}



/**********************************************************************all similar content styling codes ***********************************************************************/



.max-width {
  max-width: 1300px;
  padding: 0 80px;
  margin: auto;

}

.about,
.services,
.contact,
footer {
  font-family: "Poppins", sans-serif;
}
.about .about-content,
.services .serv-content,
.contact .contact-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin-top: 50px;

} 

section .title {
  padding: 0px;
  font-size: xx-large;
  text-transform: uppercase;
  font-weight: 900;
  margin-bottom: 20px;
  color: var(--fourth-color);
}


section .title::after {
  position: absolute;
  bottom: -30px;
  left: 50%;
  font-size: 20px;
  color: var(--main-bg-color);
  padding: 0 5px;
  background: none;
  transform: translateX(-50%);
  width: 100%;

}





/****************************          navbar styling             *******************************/



.navbar {
  position: fixed;
  width: 100%;
  z-index: 999;
  padding: 30px 0;
  transition: all 0.3s ease;
}

.navbar.sticky {
  padding: 15px 0;
  background: var(--main-bg-color);
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.navbar .max-width {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar .max-width .logo a span {
  color: var(--main-bg-color);
  transition: all 0.3s ease;
}

.navbar .max-width .logo a span {
  color: var(--main-bg-color);
  transition: all 0.3s ease;
}

.navbar .menu li {
  list-style: none;
  display: inline-block;
}
.navbar .menu li a {
  display: block;
  color: var(--third-color);
  font-size: 18px;
  font-weight: bold;
  margin-left: 25px;
  padding: 10px;
}

.navbar .menu li a:hover {
  color: var(--second-color);
  background-color: var(--main-bg-color);
  border-radius: 10px;

}

.navbar .menu li a:active {
  padding: 5px;

}
.navbar.sticky .menu li a:hover {
  color: #fff;
}
.navbar.sticky .max-width ul li a {
  color: var(--second-color); 
  transition: all .3s ease;
}

.navbar .max-width .logo a img:nth-child(2) {
  width: 50px;
}

.navbar .max-width .logo a img:nth-child(1) {
  width: 150px;
}


.navbar .max-width .logo {
  display: flex;
}

/****************************         menu btn styling          *******************************/





.menu-btn {
  color: var(--fifth-color);
  font-size: 23px;
  cursor: pointer;
  display: none;
}

.menu-btn .fas + .fa-bars + .active{
  color: var(--main-bg-color)
}


.scroll-up-btn {
  position: fixed;
  height: 45px;
  width: 42px;
  background: var(--main-bg-color);
  right: 30px;
  bottom: 10px;
  text-align: center;
  line-height: 45px;
  color: var(--fifth-color);
  z-index: 9999;
  font-size: 30px;
  border-radius: 6px;
  border-bottom-width: 2px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.scroll-up-btn.show {
  bottom: 30px;
  opacity: 1;
  pointer-events: auto;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
}

.scroll-up-btn:hover {
  filter: brightness(90%);
}

.scroll-up-btn.show:active{
  transform: scale(2);
}




/****************************          home section styling             *******************************/





.home {
  display: flex;
  height: 100vh;
  color: var(--third-color);
  position: relative;

}

.home::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(img/renov.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  filter: blur(5px) brightness(0.7);
  z-index: -1;

}

.home .max-width {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.home .home-content{
  z-index: 2;
}
.home .max-width .row {
  margin-right: 0;
}
.home .home-content .text-1 {
  font-size: 27px;
}
.home .home-content .text-2 {
  font-size: 75px;
  font-weight: 600;
  margin-left: -3px;
}
.home .home-content .text-3 {
  font-size: 40px;
  margin: 5px 0;

}
.home .home-content .text-3 span {
  color: var(--main-bg-color);
  font-weight: 500;
}
.home .home-content a {
  display: inline-block;
  background: var(--main-bg-color);
  color: var(--fourth-color);
  font-size: 25px;
  padding: 12px 36px;
  margin-top: 20px;
  font-weight: 400;
  border-radius: 6px;
  border: 2px solid var(--main-bg-color);
  transition: all 0.3s ease;
  animation: pulse 2s infinite ease-in-out;
}


.home .home-content a:hover {
  color: var(--main-bg-color);
  background: var(--second-color);
  border: var(--main-bg-color) solid 2px  ;
  
}

.home .home-content a:active {
  padding: 7px 25px; 
  
}


/******************************************************          services section styling          *********************************************************/


.home-section {
  padding: 0px 300px 50px 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background-image: url('data:image/svg+xml;charset=utf-8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 100"%3E%3Cpath fill="none" stroke="%23ecddc6" stroke-width="4" stroke-linecap="round" d="M0 50 Q 120 0, 240 50 T 480 50 T 720 50 T 960 50 T 1200 50 T 1440 50" /%3E%3Cpath fill="none" stroke="%23c8ad7f" stroke-width="3" stroke-linecap="round" d="M0 70 Q 120 20, 240 70 T 480 70 T 720 70 T 960 70 T 1200 70 T 1440 70" /%3E%3Cpath fill="none" stroke="%23e1c699" stroke-width="2" stroke-linecap="round" d="M0 30 Q 120 80, 240 30 T 480 30 T 720 30 T 960 30 T 1200 30 T 1440 30" /%3E%3C/svg%3E');
  background-size: cover; /* Couvrir toute la page */
  background-repeat: repeat; 
  padding-top: 20px;
}

.home-section .serv-content{
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.home-section .serv-content .left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.home-section .serv-content .left.items {
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
}

.home-section .serv-content .left .l-text p{
  padding-bottom: 8px;
  font-size:larger; 
  margin-bottom: 25px;
  border-bottom: 2px solid var(--second-color);
}

.home-section .serv-content .left .l-text p span{
  color: var(--second-color);
  font-style: italic;
  font-weight: 700;
}

.home-section .serv-content .left .l-text h4{
  padding: 0px;
  font-size: xx-large;
  text-transform: uppercase;
  font-weight: 900;
  margin-bottom: 20px;
  color: var(--fourth-color);
}

.home-section .serv-content .left .l-text ul {
  position: relative;
}


.home-section .serv-content .left img {
  border-radius: 2rem;
  object-fit: cover;
  border: 8px solid var(--second-color);
  box-shadow: 5px 5px 30px rgba(0,0,0,0.1);

}

.home-section .serv-content .left-image1{
  width: 450px;
  height: 500px;
  transition: .5s;
}

.home-section .serv-content .left-image1:hover{
  transform: scale(1.1) rotate(3deg);
}

.home-section .serv-content .left-image2{
  width: 350px;
  height: 350px;
  transition: .5s;
  position: relative;
  right: 300px;
}

.home-section .serv-content .left.items .left-image2{
  right: -60px;
}

.home-section .serv-content .left-image2:hover{
  transform: scale(.9) rotate(-3deg);
}





/*****************************************************************A propos section **********************************************************************/


  .hero{ 
    display: flex; 
    flex-wrap: wrap;
  }

  .hero-img-box{ 
    width: 50%;
  }

  .hero-img-box img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 0;
  }

  .hero-content {
    width: 50%;
    max-height: fit-content;
    background: var(--second-color);
    padding: 80px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: table;
  }
  
  .hero-content-wrapper {
    display: table-cell;
    vertical-align: middle;
  }
  
  .hero-content .title {
    font-size: 18px;
    color: var(--fifth-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
  }
  
  .hero-content .name {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 20px;
  }
  
  .hero-content .description {
    margin-bottom: 20px;
  }
  
  .hero-content .description p {
    margin-bottom: 15px;
    line-height: 1.6;
  }
  
  .hero-content .description ul li span {
      color: var(--fourth-color);
      font-weight: 700;
    }

  .hero-content .description ul li {
   padding-bottom: 37px;
  }
  
  .hero-content .description .intro {
    font-weight: 700;
    text-transform: uppercase;
    color: var(--fourth-color);
    margin-bottom: 20px;
  }
  
  .hero-content .description .conclusion {
    text-align: center;
    font-style: italic;
    color: var(--fifth-color);
  }


/***************************************************************** articles styling  ******************************************************************************/


.article-mobile{
  padding: 30px 30px 0px 30px;
  min-height: 70vh;
  background-image: url('data:image/svg+xml;charset=utf-8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 100"%3E%3Cpath fill="none" stroke="%23ecddc6" stroke-width="4" stroke-linecap="round" d="M1440 50 Q 1200 100, 960 50 T 720 50 T 480 50 T 240 50 T 0 50" /%3E%3Cpath fill="none" stroke="%23c8ad7f" stroke-width="3" stroke-linecap="round" d="M1440 70 Q 1200 80, 960 70 T 720 70 T 480 70 T 240 70 T 0 70" /%3E%3Cpath fill="none" stroke="%23e1c699" stroke-width="2" stroke-linecap="round" d="M1440 30 Q 1200 20, 960 30 T 720 30 T 480 30 T 240 30 T 0 30" /%3E%3C/svg%3E');
  background-size: cover; /* Couvrir toute la page */
  background-position: center; /* Centrer l'image */
  transition: all 1s ease-out;
  background-color: var(--main-bg-color); /* Couleur de fond de base */
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding-bottom: 50px;
}


.am-slide{
  flex-direction: column;
  display: flex;
  justify-content: start;
  width: 1200px;
} 
 
  .am-slider {
  background-size: cover;
  cursor: pointer;
  overflow: hidden;
  border-radius: 2rem;
  margin: 0 10px;
  margin-top: 10px;
  display: flex;
  align-items: flex-end;
  transition: .6s cubic-bezier(.28,-0.03,0,.99);
  box-shadow: 0px 10px 30px -5px rgba(0,0,0,0.8);
  }
  
  .am-slider > .am-line {
  color: var(--fifth-color);
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  background: linear-gradient(to right, var(--main-bg-color), var(--second-color));
  padding: 10px 0 10px 0;
  width: 100%;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
  }

  .am-slider:hover {
    transform: scale(1.05);
    }

    
  .am-slider:active {
    transform: scale(0.85);
    }
  
  .am-slider > .am-line > .icon {
  margin: 15px;
  transform: rotate(90deg);
  width: 50px ;
  height: 50px;
  }
  
  .am-description p {
  color: var(--fourth-color);
  padding-top: 5px;
  font-size: 15px;
  height: 0;
  opacity: 0;

  }
  
  .am-description h4 {
  text-transform: uppercase;
  font-size: 20px;
  }
  
  .article-mobile .am-slide input {
  display: none;
  }
  
  .article-mobile .am-slide input:checked + label {
  height: 500px;
  margin-top: 10px;
  
  }

  .article-mobile .am-slide input + label .am-description {
  opacity: 1 !important;
  transform: translateY(0) !important;
  text-align: center;
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 10px;
  transition: all 0.3s ease;
  }

  .article-mobile .am-slide input:checked + label .icon svg {
  transform: rotate(180deg) !important;
  
  }

  .article-mobile .am-slide input:checked + label .am-line .am-description p  {
    opacity: 1;
    height: 100px;
    padding: 10px;
    
    }
  
  .am-slider[for="a1"] {
  background-image: url('img/renov.jpg');
  }
  .am-slider[for="a2"] {
  background-image: url('img/Renov1.jpg');
  }
  .am-slider[for="a3"] {
  background-image: url('img/1.png');
  }
  .am-slider[for="a4"] {
  background-image: url('img/18.png');
  }
  .am-slider[for="a5"] {
  background-image: url('img/Renov4.jpg');
  }
  .am-slider[for="a6"] {
  background-image: url('img/Renov5.jpg');
  }

  .max-width {
    padding: 0 50px;
  }

  .slide{
    flex-direction: column;
    width: 100%;
  }
  




/**********************************************Galerie************************************/



.card-image {
	display: block;
	min-height: 20rem; /* layout hack */
	background: var(--fourth-color) center center no-repeat;
	background-size: cover;
}

.card-image > img {
	display: block;
	width: 100%;
}


.card-list {
	display: block;
	margin: 1rem auto;
	padding: 0;
	font-size: 0;
	text-align: center;
	list-style: none;
}

.card {
	display: inline-block;
	width: 90%;
	max-width: 20rem;
	margin: 1rem;
	font-size: 1rem;
	text-decoration: none;
	overflow: hidden;
	box-shadow: 0 0 3rem -1rem rgba(0,0,0,0.5);
  border-radius: 20px;
  cursor: pointer;
	transition: transform 0.1s ease-in-out, box-shadow 0.1s;
}

.card:hover {
	transform: translateY(-0.5rem) scale(1.0125);
	box-shadow: 0 0.5em 3rem -1rem rgba(0,0,0,0.5);
}

.card-description {
	display: block;
	padding: 1em 0.5em;
	color: #515151;
	text-decoration: none;
}

.card-description > h2 {
	margin: 0 0 0.5em;
}

.card-description > p {
	margin: 0;
}

/****************************************Contact*****************************/

/********************************************        contact styling          *******************************************/


.container {
  position: relative;
  width: 100%;
  min-height: 70vh;
  padding: 2rem;
  background-color: var(--main-bg-color);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form {
  width: 100%;
  max-width: 820px;
  background-color: var(--fifth-color);
  border-radius: 10px;
  box-shadow: 0 0 20px 1px rgba(0, 0, 0, 0.1);
  z-index: 4;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.contact-form {
  background-color: var(--second-color);
  position: relative;
}

.contact-form form .title-contact{
  color: var(--fifth-color);
}

.contact-form:before {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  background-color: var(--second-color);
  transform: rotate(45deg);
  top: 50px;
  left: -13px;
}

form {
  padding: 2.3rem 2.2rem;
  z-index: 10;
  overflow: hidden;
  position: relative;
}

.title-contact {
  color:var(--main-bg-color);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 0.7rem;
}
.title2 {
  color: #fff;
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1;
  margin: 100px;
  font-size: 40px;
  position: relative;
  text-align: center;
}

.input-container {
  position: relative;
  margin: 1rem 0;
}

.input {
  width: 100%;
  outline: none;
  border: 2px solid var(--main-bg-color);
  background: none;
  padding: 0.6rem 1.2rem;
  color: var(--fifth-color);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  border-radius: 25px;
  transition: 0.3s;
}

textarea.input {
  padding: 0.8rem 1.2rem;
  min-height: 150px;
  border-radius: 22px;
  resize: none;
  overflow-y: auto;
}

.input-container label {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  padding: 0 0.4rem;
  color: var(--fourth-color);
  font-size: 0.9rem;
  font-weight: 400;
  pointer-events: none;
  z-index: 1000;
  transition: 0.5s;
}

.input-container.textarea label {
  top: 1rem;
  transform: translateY(0);
}

.btn {
  padding: 0.6rem 1.3rem;
  background-color: var(--fourth-color);
  border: 2px solid var(--fourth-color);
  font-size: 0.95rem;
  color: var(--fifth-color);
  line-height: 1;
  border-radius: 25px;
  outline: none;
  cursor: pointer;
  transition: 0.3s;
  margin: 0;
}

.btn:hover {
  background-color: transparent;
  color: var(--fifth-color);
  border: 2px solid var(--fifth-color);
}

.input-container span {
  position: absolute;
  top: 0;
  left: 25px;
  transform: translateY(-50%);
  font-size: 0.8rem;
  padding: 0 0.4rem;
  color: transparent;
  pointer-events: none;
  z-index: 500;
}

.input-container span:before,
.input-container span:after {
  content: "";
  position: absolute;
  width: 10%;
  opacity: 0;
  transition: 0.3s;
  height: 5px;
  background-color: var(--main-bg-color);
  top: 50%;
  transform: translateY(-50%);
}

.input-container span:before {
  left: 50%;
}

.input-container span:after {
  right: 50%;
}

.input-container.focus label {
  top: 0;
  transform: translateY(-50%);
  left: 25px;
  font-size: 0.8rem;
}

.input-container.focus span:before,
.input-container.focus span:after {
  width: 50%;
  opacity: 1;
}

.contact-info {
  padding: 2.3rem 2.2rem;
  position: relative;
}

.contact-info .text2{
  font-size: 11px;
}

.contact-info .text{
  margin: 1.5rem 0 1rem 0;
}

.contact-info .info .information p{
  padding: 5px;
}


.text {
  color: var(--fourth-color);
  margin: 1.5rem 0 2rem 0;
}

.information {
  display: flex;
  color: var(--fourth-color);
  margin: 0.7rem 0;
  align-items: center;
  font-size: 0.95rem;
}

.icon {
  width: 28px;
  margin-right: 0.7rem;
}

.social-media {
  padding: 2rem 0 0 0;
}

.social-media p {
  color: #333;
}

.social-icons {
  display: flex;
  margin-top: 0.5rem;
}

.social-icons a {
  width: 35px;
  height: 35px;
  border-radius: 5px;
  background: linear-gradient(45deg, var(--main-bg-color), var(--second-color));
  color: var(--fifth-color);
  text-align: center;
  line-height: 35px;
  margin-right: 0.5rem;
  transition: 0.3s;
}

.social-icons a:hover {
  transform: scale(1.05);
  color: var(--second-color);
  background: linear-gradient(45deg, var(--third-color), var(--main-bg-color));

}

.contact-info:before {
  content: "";
  position: absolute;
  width: 110px;
  height: 100px;
  border: 22px solid var(--main-bg-color);
  border-radius: 50%;
  bottom: -77px;
  right: 50px;
  opacity: 0.3;
}

.square {
  position: absolute;
  height: 400px;
  top: 50%;
  left: 50%;
  transform: translate(181%, 11%);
  opacity: 0.2;
}


.logos {
  overflow: hidden;
  padding: 60px 0;
  background: var(--fifth-color);
  white-space: nowrap;
  position: relative;
}

.logos:before,
.logos:after {
  position: absolute;
  top: 0;
  width: 250px;
  height: 100%;
  content: "";
  z-index: 2;
}

.logos:before {
  left: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0), var(--fifth-color));
}

.logos:after {
  right: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), var(--fifth-color));
}

.logos:hover .logos-slide {
  animation-play-state: paused;
}

.logos-slide {
  display: inline-block;
  animation: 35s slide infinite linear;
}

.logos-slide img {
  height: 50px;
  margin: 0 40px;
}





/********************************************************************footer*************************************************************************/ 






footer .containeer .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.containeer {
  max-width: 1500px;
  margin: auto;
}

ul {
  list-style: none;
}

.footer {
  background: linear-gradient(to right,var(--main2-bg-color) 50%,var(--main-bg-color) 100%);
  padding: 70px 0;
}

.footer-col {
  width: 25%;
  padding: 0 15px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}


.footer-col h4 {
  font-size: 18px;
  color: var(--fourth-color);
  text-transform: capitalize;
  margin-bottom: 35px;
  font-weight: 500;
  position: relative;
  border-bottom: 2px solid var(--second-color);
  text-align: center;
}

.footer-col ul li:not(:last-child) {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 16px;
  text-decoration: none;
  font-weight: 300;
  color: var(--second-color);
  display: block;
  transition: all 0.3s ease;
}

.footer-col ul li a:hover {
  color: var(--third-color);
  padding-left: 8px;
}

.footer-col .social-links a {
  display: inline-block;
  height: 40px;
  width: 40px;
  background-color: var(--main-bg-color);
  margin: 0 10px 10px 0;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  color: var(--second-color);
  transition: all 0.5s ease;
}

.footer-col .social-links a:hover {
  color: #24262b;
  background-color: #ffffff;
}

.footer-col h1 img{
  width: 150px;
}

.footer-col p{
  color: var(--second-color);
  text-transform: uppercase;
}


.footer-col .img {
  display: flex;
  height: 50px;
  margin-bottom: 30px;
  justify-content: space-around;
}





/**********************************************************************MENTION LEGALE***********************************************************/ 






.mention .max-width{
  padding-top: 180px; 
  padding-bottom: 180px; 

}


.mention .max-width p{ 
  padding-bottom: 30px; 

}

.mention .max-width { 
  padding-top: 180px; 
  padding-bottom: 180px; 

}




/**********************************************************************POLITIQUE***********************************************************/ 






.politique .max-width{
  padding-top: 180px; 
  padding-bottom: 180px; 

}


.politique .max-width p{ 
  padding-bottom: 30px; 

}

.politique .max-width { 
  padding-top: 180px; 
  padding-bottom: 180px; 

}








/*************************************************************************************************************************************
**************************************************************************************************************************************
***********************************************MEDIA**********************************************************************************
**************************************************************************************************************************************
*******************************************************************************************/ 














/* responsive media query start */
@media (max-width: 1104px) {
  .about .about-content .left img {
    height: 350px;
    width: 350px;
  }
  .articles .articlesl .tab-button{
    padding: 20px
  }
  .left{
    flex-direction: column;
  }

  .home-section .serv-content .left.items {
    flex-direction: column;
  }
  
}

@media (max-width: 1050px) {
  .title {
    margin-bottom: 5px;
  }

  .am-slide{
    width: 100%;
  } 
   

  

 
}

@media (max-width: 991px) {

  .hero-img-box{ 
    width: 100%;
}
.hero-content{
    width: 100%;
    padding: 20px;
}

.hero-content .description{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-content-wrapper{
  text-align: center;
}

  .home-section .serv-content .left-image2{
    right: 0px;
  }

  .home-section .serv-content .left.items .left-image2{
    right: 0px;
  }

  .navbar .max-width .logo a img:nth-child(2) {
    display:none;
  }

  .description h4{
    font-size: 14px;
  }

  .articles{
    display: none;
  }
  
  .description p {
    font-size: 10px;
    width: 70%;
  }

  .articles .articlesr .content .visuel p{
    font-size: 13px;
  }
  
  .contact-button{
    left: 50%;
    transform: translate(-50%);
    bottom: 30px;
    width: 350px;
    
  }

  .contact-button-contain{
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
  }

  .row{
    flex-direction: column;

  }
  .footer-col{
    width: 100%; 
    padding-bottom : 50px; 
    
  }
  .scroll-up-btn{
    transform: translateY(18px);
  }

  .navbar.sticky .max-width ul li a {
    color:var(--second-color); 
  }
  
}

@media (max-width: 947px) {

  .am-description h4 {
    font-size: 10px;
  }

  .am-description p{
    font-size: 7px;
  }

  .left{
    gap: 20px;
  }
  
  .menu-btn {
    display: block;
    z-index: 999;
    color: var(--second-color);
  }
  
  .menu-btn i.active:before {
    content: "\f00d";
  }

  .navbar .menu {
    position: fixed;
    height: 100vh;
    width: 100%;
    left: -100%;
    top: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    text-align: center;
    padding-top: 80px;
    transition: all 0.3s ease;
  }
  .navbar .menu.active {
    left: 0;
  }
  .navbar .menu li {
    display: block;
  }
  .navbar .menu li a {
    display: inline-block;
    margin: 20px 0;
    font-size: 25px;
    font-weight: bold;
    color: var(--second-color);
  }
  .home .home-content .text-2 {
    font-size: 70px;
  }
  .home .home-content .text-3 {
    font-size: 35px;
  }
  .home .home-content a {
    font-size: 23px;
    padding: 10px 30px;
  }
  .max-width {
    max-width: 930px;
  }
  .about .about-content .column {
    width: 100%;
  }
  .about .about-content .left {
    display: flex;
    justify-content: center;
    margin: 0 auto 60px;
  }
  .about .about-content .right {
    flex: 100%;
  }
  .services .serv-content .card {
    width: calc(50% - 10px);
    margin-bottom: 20px;
  }

    .articlesl, .articlesr{
      display:none
    }
}

@media (max-width: 850px) {
  .form {
    grid-template-columns: 1fr;
  }

  .contact-info:before {
    bottom: initial;
    top: -75px;
    right: 65px;
    transform: scale(0.95);
  }

  .contact-form:before {
    top: -13px;
    left: initial;
    right: 70px;
  }

  .square {
    transform: translate(140%, 43%);
    height: 350px;
  }

  .text {
    margin: 1rem 0 1.5rem 0;
  }

  .social-media {
    padding: 1.5rem 0 0 0;
  }

  .articles .container-articles{
    flex-wrap: wrap;
    padding: 0;
  }

  .articles {
    flex-wrap: wrap;
  }
  .articles .articlesr{
    width: 100%;
    padding: 0;
  }
  .articles .articlesl{
    width: 100%;
  }

  .articles .container-articles{
    flex-wrap: wrap;
    padding: 0;
  }
  .articles .container-articles .articlesl .tab-button .case-contain svg{
    transform: rotate(90deg);
  }
  .articlesr{
    display: none;
  }

  .article-mobile .visuel img{
    width:100%; 
    border-radius: 50px;
    padding-top:5px;

  }

   .articles .container-articles .articlesl .tab-button:active .case-contain svg{
    transform: rotate(-90deg);
  }
}


@media (max-width: 690px) {
  .max-width {
    padding: 0 23px;
  }
  .home .home-content .text-2 {
    font-size: 60px;
  }
  .home .home-content .text-3 {
    font-size: 32px;
  }
  .home .home-content a {
    font-size: 20px;
  }
  .services .serv-content .card {
    width: 100%;
  }

}

@media (max-width: 550px) {

  .article-mobile .am-slide input:checked + label {
    height: 400px;
    margin-top: 10px;
    
  }
  
  .article-mobile .am-slide input:checked + label .am-line .am-description p  {
    opacity: 1;
    height: 110px;
    padding: 0;
    font-size: 8px;
  }  

  .am-slider > .am-line{
    padding: 20px 0 40px 0;
  }
  
  .container {
    padding: 1.5rem;
  }

  .contact-info:before {
    display: none;
  }
  
  form,
  .contact-info {
    padding: 1.7rem 1.6rem;
  }

  .text,
  .information,
  .social-media p {
    font-size: 0.8rem;
  }

  .title {
    font-size: 1.15rem;
  }

  .social-icons a {
    width: 30px;
    height: 30px;
    line-height: 30px;
  }

  .icon {
    width: 50px;
  }

  .input {
    padding: 0.45rem 1.2rem;
  }

  .btn {
    padding: 0.45rem 1.2rem;
  }

  
  .home-section{
    padding: 20px;
    width: 100%;
  }
}

@media (max-width: 500px) {


  .home .home-content .text-2 {
    font-size: 50px;
  }
  .home .home-content .text-3 {
    font-size: 27px;
  }
  .about .about-content .right .text {
    font-size: 19px;
  }
  .contact .right form .fields {
    flex-direction: column;
  }
  .contact .right form .name,
  .contact .right form .email {
    margin: 0;
  }
  .right form .error-box {
    width: 150px;
  }
  .scroll-up-btn {
    right: 15px;
    bottom: 15px;
    height: 38px;
    width: 35px;
    font-size: 23px;
    line-height: 38px;
  }
  .slider > .line > .description{
    width: 327px
  }
  .home-section .serv-content .left-image1{
    width: 80%;
  }

  .l-text{
    padding: 20px;
    text-align: center;
  }
}
