
@import url('https://fonts.googleapis.com/css2?family=poppins:wght@300;400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.content{
  max-width: 650px;
  margin: 60px 100px;
}
.content .info h1{
color: #0e0af5;
font-size: 55px;
text-transform: uppercase;
font-weight: 800;
letter-spacing: 2px;
line-height: 60px;
margin-bottom: 30px;
}
.content .info h1 span{
  color: #f9fd09;
  font-size: 50px;
  font-weight: 600;
}
.content .info p{
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 40px;

}
.qoute{
    display: block;
    width: 2rem;
  }
  .qoute.right{
    margin-left: auto;
  }
.times-icon, .times .menu-icon{
  display: none
}
.times .times-icon, .menu-icon{
  display: flex
}

#shado {
    font-family: 'Arial', sans-serif;

    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}

header {
  background-color: rgb(66, 121, 194);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 30px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  
  
}

.logo img {
  width: 100px;  /* Taille du logo */
}

.navbar {
  flex-grow: 1;
  display: flex;
  justify-content: flex-end;
}

.menu {
  display: flex;
  list-style-type: none;
  gap: 30px;
}

.menu > li {
  position: relative;
}

.menu > li > a {
  color: white;
  padding: 12px 18px;
  display: block;
  font-size: 16px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.menu > li > a:hover {
  background-color: #0066cc;
  border-radius: 5px;
}

/* Submenu Styles */
.submenu {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: none;
  position: absolute;
  background-color: #333;
  top: 100%;
  left: 0;
  width: 200px;
  border-radius: 5px;
  z-index: 999;
}

.submenu li a {
  padding: 12px 18px;
  color: white;
  display: block;
  font-size: 14px;
  font-weight: normal;
}

.submenu li a:hover {
  background-color: #0066cc;
}

.menu > li:hover .submenu {
  display: block;
}

/* menu hamburger */

#menu-btn{
  font-size: 2.5rem;
  border-radius: .5rem;
  background: #eee;
  color: #0066cc;
  padding: 0.5rem 0.7rem;
  cursor: pointer;
  display: none;
}
/* Responsive Styles */
@media (max-width: 768px) {
  #menu-btn{
    display: initial;
  }
  
  .navbar .menu.active {
    transform: scale(1);
    opacity: 1;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    display: block; /* Affiche le menu lorsque la classe 'active' est ajoutée */
  }

  .navbar .menu {
    position: absolute;
    top: 115%;
    right: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0.5rem 0.5rem 0 rgba(22, 160, 133, .2);
    width: 80%;
    min-width: 12rem;
    max-width: 25rem;
    border: #0066cc;
    background: white; /* Fond du menu */
    transform: scale(0);
    opacity: 0;
    transform-origin: top right;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    display: flex;
    flex-direction: column; /* Disposition en colonne */
    color: black; /* Couleur du texte */
  }
  
  .navbar .menu.active {
    transform: scale(1);
    opacity: 1;
  }
  
  .menu > li {
    position: relative;
    width: 100%; /* S'assure que chaque élément occupe toute la largeur */
  }
  
  
  .navbar .menu a {
    font-size: 2rem;
    display: block;
    padding: 1rem;
    color: #333; /* Couleur du texte */
    text-decoration: none; /* Retirer le souligné */
  }
  .navbar .menu a:hover {
    background-color: #0066cc; /* Couleur de fond au survol */
    color: white; /* Couleur du texte au survol */
  }


  .submenu {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: none;
    position: absolute;
    background-color: #777171; /* Fond sombre */
    top: 100%;
    left: 0;
    width: 300px;
    border-radius: 5px;
  }
  
  .submenu li a {
    padding: 12px 18px;
    color: white;
    display: block;
    font-size: 10px;
    font-weight: normal;
  }
  
  .submenu li a:hover {
    background-color: #0066cc;
  }
  
  .menu > li:hover .submenu {
    display: block; /* Affiche le sous-menu lorsqu'un item est survolé */
  }
  
}

/* Transitions for smooth dropdown */
.submenu,
.menu > li > a {
    transition: background-color 0.3s, height 0.3s ease;
}



/*--offres--*/


*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

#offre {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-image: url(image/fournitures.avif);
  
}

.card {
  position: relative;
  width: 300px;
  height: 350px;
  margin: 20px; /* Add margin for spacing */
}

.card .face {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 15px;
  overflow: hidden;
  transition: .5s; 

}

.card .front {
  transform: perspective(600px) rotateY(0deg);
  box-shadow: 0.5px 10px #000;
}

.card .front img {
  position:absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card .front h3 {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 45px;
  line-height: 45px;
  color: #fff;
  background: rgba(0, 0, 0, 0.4);
  text-align: center;
}

.card .back {
  transform: perspective(600px) rotateY(180deg);
  background: rgb(231, 233, 136);
  padding: 15px;
  color: #1410e9;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  box-shadow: 0 5px 10px #000;
}

.card .back .link {
  border-top: solid 1px #f3f3f3;
  height: 50px;
  line-height: 50px;
}

.card .back .link a {
  color: #f3f3f3;
}

.card .back h3 {
  font-size: 25px;
  margin-top: 10px;
  letter-spacing: 2px;
}

.card .back p {
  letter-spacing: 0.5px;
}

.card:hover .front {
  transform: perspective(600px) rotateY(180deg);
}

.card:hover .back {
  transform: perspective(600px) rotateY(360deg);

}

.buttonbtn {
  display: inline-block;
  border-radius: 4px;
  background-color: #0f39f3;
  border: none;
  color: rgb(249, 253, 13);
  text-align: center;
  font-size: 15px;
  padding: 15px; /* Adjust padding for smaller screens */
  width: 100%; /* Make width 100% for responsive design */
  transition: all 0.5s;
  cursor: pointer;
  margin: 5px;
}

.buttonbtn span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.buttonbtn span:after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

.buttonbtn:hover span {
  padding-right: 25px;
}

.buttonbtn:hover span:after {
  opacity: 1;
  right: 0;
}

@media screen and (max-width: 768px) {
  .buttonbtn {
    font-size: 20px; /* Reduce font size for smaller screens */
  }
}

@media screen and (max-width: 768px){
  .card {
    width: 250px; /* Reduce card width for smaller screens */
  }
}


  
/*--testimonial section--*/


*{
    margin: 0;
    padding: 0;
    font-family: 'poppins', sans-serif;
    box-sizing: border-box;

  }
  #tad{
    position: relative;
    min-height: 100vh;
    width: 100%;
    background: #d6dd70;
    overflow: hidden;
  }
  #tad:before{
    position: absolute;
    content: '';
    width: 2000px;
    height: 100%;
    bottom: -70%;
    border-radius: 50%;
    background:#3b7cf5;
  }
  #tad .heading {
    display: inline-block;
    position: relative;
    color: #3b7cf5;
    font-size: 4vw;
    padding: 60px;
    width: 100%;
    text-align: center;
    font-weight: 800;
  }
  #tad .heading:before{
  position: absolute;
  content: '';
  width: 200px;
  height: 7px;
  left: 50%;
  transform: translateX(-50%);
  bottom: 25%;
  background: #393939;
  }
  .wrapper{
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
  }
  .wrapper .container{
    position: relative;
    width: 350px;
    color: blue;
    background: white;
    margin: 40px 10px;
    padding: 30px 20px;
    border-radius: 3px;
    transition: 0.3s ease;
  }
  .wrapper .container .profile{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -10%;
    width: 100%;
    display: block;
  }
  .wrapper .container .profile .imgBox{
    position: relative;
    height: 100px;
    width:100px;
    margin: auto;
    border: 8px solid yellow;
    border-radius: 50%;
    overflow: hidden;
  }
  .wrapper .container .profile .imgBox img{
    position: absolute;
    height: 100%;
    width: 100%;
    top: o;
    left: 0;
    border-radius: 50%;
    object-fit:cover ;
    transition: 0.3s ease;
  }
  .wrapper .container .profile .imgBox:hover img{
    filter: saturate(140%);
    transform: scale(0.95);
  }
  .wrapper .container .profile h2{
    padding: 5px 0px;
    text-transform: capitalize;
    color: #fff;
    letter-spacing: 1px;
    text-align: center;
  }
  .wrapper .container p{
    margin-top: 50px;
    color: #fff;
    padding: 0 8px;
    font-size: 15px;
    opacity: 0.8px;
  }
  .wrapper .container .right{
    font-size: 30px;
    display: block;
    text-align: right;
    color: #3b7cf5;
  }
  .wrapper .container .left{
    font-size: 30px;
    display: block;
    text-align: left;
    color: #3b7cf5;
  }
  
#tad .heading b{
    color: #fff;
  }



/*--Contact--*/



*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  body{
    background: #000718 ;
  }
  body, input, textarea, a{
    font-family:'Roboto' sans-serif; 
  }
  #section-wrapper{
    width:100% ;
    padding: 10px;
  }
  .box-wrapper{
    position: relative;
    display: table;
    width: 1100px;
    margin: auto;
    margin-top: 35px;
    border-radius: 30px;
    
  }
  .info-wrap{
    width: 35%;
    height: 580px;
    padding: 40px;
    float: left;
    display: block;
    border-radius: 30px 0px 0px 30px;
    background: linear-gradient(144deg, rgb(24, 8, 248)0%, rgb(253, 249, 5)100% );
    color: #fff;
  }
  .info-title{
    text-align: left;
    font-size: 28px;
    letter-spacing: 0.5px;
  }
  .info-sub-title{
    font-size: 18px;
    font-weight: 300;
    margin-top: 17px;
    letter-spacing: 0.5px;
    line-height: 26px;
  }
  .info-details{
    list-style: none;
    margin: 60px 0px;
  }
  .info-details li{
    margin-top: 25px;
    font-size: 18px;
    color: #fff;
  }
  .info-details li .box-icon{
    background: #F44770;
    padding: 12px;
    border-radius: 50%;
    margin-right: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
  }
  .info-details li a{
    color: #fff;
    text-decoration: none;
  }
  .info-details li a:hover{
    color: #F44770;
  }
  .social-icons{
    list-style: none;
    text-align: center;
    margin: 20px auto;
    display: flex;
    gap: 1rem;
    justify-content: center;
  }
  .social-icons li{
    display: inline-block;
  }
  .social-icons .new-icon{
    width: 2rem;
  }
  .social-icons li i{
    background: #F44770;
    color: #fff;
    padding: 15px;
    font-size: 20px;
    border-radius: 22%;
    margin: 0px 5px;
    cursor: pointer;
    transition: all .5s;
  }
  .social-icons li i:hover{
    background: #ffffff;
    color: #000;
  }
  .form-wrap{
   width: 65%;
   padding: 40px 25px 35px 25px;
   float: right;
   background: #5face7;
  }
  .form-title{
    text-align: left;
    margin-left: 23px;
    font-size: 28px;
    letter-spacing: 0.5px;
  }
  .form-fields{
    display: table;
    width: 100%;
    padding: 15px 5px 5px 5xp;
  }
  .form-fields input,
  .form-fields textarea{
    border: none;
    outline: none;
    background: none;
    font-size: 18px;
    color: #555;
    padding: 20px 10px 20px 5px;
    width: 100%;
  }
  .form-fields textarea{
    height: 178px;
    resize: none;
  }
  .form-group{
    background-color: #e7e5f3;
    width: 46%;
    float: left;
    padding: 0px 30px;
     margin: 14px 12px;
     border-radius: 25px;
     box-shadow: 0 4px 8px 0 rgba(65, 112, 240, 0.993), 0 6px 20px 0 rgb(253, 236, 2);
  }
  .form-fields .form-group:last-child{
    width: 96%;
  }
  .submit-button{
    width: 96%;
    height: 60px;
    margin: 0px 12px;
    border-radius: 30px;
    font-size: 20px;
    font-weight: 700;
    outline: none;
    border: none;
    cursor: pointer;
    color:#fff;
    text-align: center;
    background: #F44770;
    box-shadow:  0 4px 8px 0 rgba(252, 248, 2, 0.993), 0 6px 20px 0 rgb(253, 236, 2);
    transition: .5s;
  }
  .submit-button:hover{
    background: #359d27;
  }
  
  
  /*--Responsive css--*/
  
  @media only screen and (max-width:767px){
    .box-wrapper{
      width: 100%;
    }
    .info-wrap,
    .form-wrap{
      width: 100%;
      height: inherit;
      float: none;
    }
    .info-wrap{
      border-radius: 30px 30px 0px 0px;
    }
    .form-wrap{
      border-radius: 0px 0px 30px 30px;
    }
    .form-group{
      width: 100%;
      float: none;
      margin: 20px 0px;
    }
    .form-fields .form-group:last-child,
    .submit-button{
      width:100% ;
    }
    .submit-button{
      margin: 10px 0px;
    }
  }


    /*--Footer--*/


    @import url('https://fonts.googleapis.com/css2?family=poppins:wght@300;400;500;600;700&display=swap');
    body{
      line-height: 1.5;
      font-family: 'poppins', sans-serif;
    }
  .container{
     max-width: 1170px;
     margin: auto; 
    }
    .row{
      display: flex;
      flex-wrap: wrap;
    }
    ul{
    list-style: none;
    }
  #footer{
    background-color: #24262b;
    padding: 70px 0;
  }
  .footer-col{
   width: 25%;
   padding: 0 15px;
  }
  .footer-col h4{
    font-size: 18px;
    color: #ffffff;
    text-transform: capitalize;
    margin-bottom: 35px;
    font-weight: 500;
    position: relative;
  }
  .footer-col h4::before{
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    background-color: #e91e63;
    height: 2px;
    box-sizing: border-box;
    width: 50px;
  }
  .footer-col ul li:not(:last-child){
    margin-bottom: 10px ;
  }
  .footer-col ul li a{
    font-size: 16px;
    text-transform: capitalize;
    color: #ffff;
    font-weight: 300;
    color: #bbbbbb;
    display: block;
    transition: all 0.3s ease;
  }
  .footer-col ul li a:hover{
    color: #ffffff;
    padding-left: 8px;
  }
  .footer-col .social-links {
    display: flex;
    gap: 0.3rem;
    align-content: center;
  }
  .footer-col .social-links a{
      display: flex;
      height: 40px;
      width: 40px;
      justify-content: center;
      align-items: center;
      background-color: rgba(255, 255, 255, 0.2);
      margin:0 10px 10px 0;
      line-height: 40px;
      border-radius: 50%;
      color: #ffff;
      transition: all 0.5 ease;
  }
  .footer-col .social-links a:hover{
    translate: scale(1.05);
  }
  /*--Footer responsive--*/
  @media(max-width:767px){
    .footer-col{
      width: 50%;
      margin-bottom: 30px;
    }
  }
  @media(max-width:574px){
    .footer-col{
      width: 100%;
    }
  }


 



  .floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.floating-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.floating-button:hover {
    transform: scale(1.1);
}

.new-icon{
  width: 1.3em;
  
}

.whatsapp {
    background-color: #25d366;
    color: white;
    border: 2px solid #128c7e;
}

.facebook {
    background-color: #3b5998;
    color: white;
    border: 2px solid #2d4373;
}

.instagram {
    background-color: #e4405f;
    color: white;
    border: 2px solid #bc2a8d;
}

.back-to-top {
    background-color: yellow;
    color: rgb(17, 31, 231);
    border: 2px solid yellow;
}

.floating-button i {
    font-size: 24px;
}

/* Bouton "Retour vers le haut" caché par défaut */
.back-to-top {
    display: none;
}

/* Apparence sur petits écrans */
@media (max-width: 768px) {
    .floating-buttons {
        bottom: 10px;
        right: 10px;
    }

    .floating-button {
        width: 40px;
        height: 40px;
    }

    .floating-button i {
        font-size: 20px;
    }
}