@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&family=Poppins:wght@100;200;300;400;500;600;700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');



*{
    margin: 0;
    padding: 0;
    font-family: "Roboto", sans-serif;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

.header{
    width: 100%;
    min-height: 100vh;
    background-image: linear-gradient(rgba(4,9,30,0.2),rgba(4,9,30,0.2)),url(images/Sans\ titre.jpg);
    background-size:contain;
    background-position: cover;
    background-repeat: no-repeat;
    position: relative;
    
}

/* home page start*/

.container {
    height: 70vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 79px;
  }
  
  /* Partie gauche avec texte et bouton */
  .home-left {
    width: 60%;
    height: 70vh;
    align-items: center;
  }
  
  /* Titre */
  .home-left h1 {
    font-size: 5rem;
    color: #044deb;
    text-shadow: 4px 3px #333232;
    margin-bottom: 20px;
    margin-top: 20px;
  }
  
  /* Paragraphe */
  .home-left .home-text{
    font-size: 1.4rem;
    color: #4d5355;
    font-weight: 300;
    margin-bottom: 20px;
    padding: 10px;
  }
  
  /* Bouton */
  .home-left .fa-location {
    width: 100%;
    height: 20%;
    padding: 20px;
  }
  
  .home-left .fa-location p{
    font-size: 1.1rem;
    color: #4d5355;
}

    
.home-left .fa-location a{
    text-decoration: none;
}
   
 .home-left .fa-location .fa-square-facebook,.fa-location-crosshairs{
    font-size: 1.3rem;
    cursor: pointer;
}
.home-left .fa-brands:hover{
    transform: scale(1.3); 
}
.home-left .fa-location-crosshairs:hover{
    transform: scale(1.3); 
}
  
  /* Partie droite  */
  .home-right {
    width: 70%; 
    height: 70vh;
    position: relative;
  }

  .home-right video {

    width: 550px; 
    height: 400px;
    margin-left: 80px;
    margin-top: 5px;
    object-fit: cover; 
    border: 0.mm ridge rgba(4,9,30,0.1); 
    border-radius: 5px; 
}



@media (max-width: 600px) {
   
    .container {
        flex-direction: column; 
        padding: 10px;
        height: 90vh; 
    }

    .home-left {
        width: 100%; 
        text-align: center;
    }

    .home-left h1 {
        font-size: 2.5rem; 
        margin-top: 10px;
    }

    .home-left .home-text {
        font-size: 1rem;
    }

    .home-right video {
        width: 330px; 
        height: 240px;
        margin-left: -42px;
    }
 

    .header {
        min-height: 60vh;
        background-size:contain;
    }

  
   
}

nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 20px;
    position: relative;
    width: 100%;
    background-color: #000000;
    z-index: 999;
}
nav img{
    width: 60%;
}
.nav-link{
    flex: 1;
    text-align: right;
}
.nav-link ul li{
    display:inline-block;
    padding: 10px 15px;
    list-style: none;
    position: relative;
    margin-bottom: 15px; 
}
.nav-link ul li a{
    text-decoration: none;
    font-size: 20px;
    color: white;
    text-transform: uppercase;
    font-weight: 400;
    transition: transform 0.2s ease, color 0.2s ease;
    
}

.nav-link ul li a:hover{
    color: #044deb; 
    transform: translateY(-3px); 
}


@media(max-width:600px){
    .text h1{
        font-size: 25px;
    }
    .nav-link{
     width: 250px;
     height: 50vh;
     display: block;
     position: absolute;
     background:rgb(8, 8, 8);
     top: 77px;
     right: -250px;
     z-index: 2;
     text-align: left;
     transition: 1s;
    }
    .nav-link ul li{
     display: block;
     left: 10px;
     top: 10px;
    }

    nav .fa-solid{
        display: block;
        font-size: 30px;
        margin: 10px;
        color: white;
    }
    .fa-bars{
        position: relative;
        bottom: 5px;
        left: 5px;
    }
}



.container {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    
}


.left {
    flex: 1;
    padding: 20px;
    text-align: left;
    position: relative;
    margin-top: 200px;
    
}

.left h1 {
    color: #a09af7;
    text-shadow: 3px 5px 2px #4245ec, -8px 10px 3px rgba(3,15,4,0.33);
    font-weight: bold;
    font-size: 5rem;
    margin-top: -100px;
}

.left p {
    color: #f1f4f8;
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.right {
    flex: 1;
    display: flex;
    justify-content: right;
    align-items: center;
    position: relative;
    margin-top: -100px;
    margin-right: 40px;
}

.animated-photo {
    position: absolute;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    animation: fadeInOut 9s infinite;
}










.row{
    width: 80%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    position: relative;
    top: 75px;
    margin-bottom: 50px;
}

.Prod, .Produits{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    margin: 100px 0;
    

}
.Prod h1 , .Produits h1{
    font-size: 40px;
    font-weight: 200;
}
.column{
    flex-basis: 31%;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    bottom:30px;
}
img{
    width: 100%;
}
.heading{
    width: 100%;
    height: 100%;
    background: transparent;
    position: absolute;
    top:0%;
    left:0;
    transition: 0.7s;
}
.heading h3{
    position: absolute;
    bottom: 0;
    left: 21%;
    right: 21%;
    font-size: 25px;
    font-weight: 300;
    color: rgb(34, 32, 32);
    opacity: 0;
    transition: 0.7s;
}
    
.heading:hover{
    background: rgba(83, 188, 241, 0.4);
}
.heading:hover h3{
    bottom: 49%;
    opacity: 1;
}


@media (max-width:700px){
    .row{
        flex-direction: column;
    }
    .Prod h1{
        font-size: 20px;
        font-weight: 300;
    }

}

.Partenaires{
    width: 60%;
    height: 40vh;
    display: flex;
    background-image: linear-gradient(rgba(4,9,30,0.2),rgba(4,9,30,0.2)),url(images/Sans\ titre.jpg);
    justify-content: space-between;
    align-items: center;
    text-align: center;
    position: relative;
    margin: 50px auto;
}
.logo-part {
    display: flex;
    justify-content: space-between;
    gap: 40px; 
    margin-bottom: -50px;
    margin-left: 40px;
    margin-right: 40px;
  }

  


.title_part{
    width: 30%;
    height: 10vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px auto;
}
.title_part h1{
    font-size: 40px;
    font-weight: 200;
    margin-bottom: 15px;
}
.Partenaires img{
    width: 60%;

}

.Partenaires a:hover{
    transform: scale(1.3); 
}

@media (max-width:700px){
    .Partenaires{
        width: 90%;
        height: 30vh;
        display: flex;
        background-image: linear-gradient(rgba(4,9,30,0.2),rgba(4,9,30,0.2)),url(images/Sans\ titre.jpg);
        justify-content: space-between;
        align-items: center;
        text-align: center;
        position: relative;
        margin-bottom: 30px;
    }

    .logo-part {
        display: flex;
        justify-content: space-between;
        gap: 20px; 
        margin-bottom: -50px;
        margin-left: 40px;
        margin-right: 40px;
      }
      
      .Partenaires img{
        width: 90%;
    
    }

    

   .title_part{
    width: 50%;
    height: 10vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px auto;
   }
    .title_part h1{
        font-size: 20px;
        font-weight: 300;
        margin-bottom: 70px;
        
    }
    
}

footer {
    background-color: #000000;
    color: white;
    padding: 20px 0;
    text-align: center;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-left, .footer-center, .footer-right {
    width: 30%;
}

.footer-logo img{
    width: 50px;
    margin-bottom: 10px;
}

.footer-left p {
    font-size: 14px;
    color: white;
    align-items: center;
}


.footer-center ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

.footer-center ul li {
    margin-bottom: 15px;
    display: block;
    position: relative;
}

.footer-center ul li a {
    color: white;
    text-decoration: none;
    transition: transform 0.2s ease, color 0.2s ease;
    font-weight: 300;
}


.footer-center ul li a:hover {
    text-decoration:none;
    color: #007bff;
    transform: translateY(-3px);
}



.footer-right p {
    margin: 5px 0;
    color: white;
    font-weight: 300;
}
.footer-right p i { 
    margin-right: 10px; 
    color: white;
}
.facebook-icon-container {
    display: inline-block;
    background-color: white;
    border-radius: 80%; 
    padding: 0px; 
    margin-right: 8px; 
}

.facebook-icon-container i {
    color: #0b3af3;
    font-size: 24px; 
}

.footer-right .fa-facebook{
    font-size: 30px; 
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
    justify-content: center;
    margin-right: 0px;
    margin-left: 0px;
    margin-top: 0px;
}
.fb-link{
    color: white;
    text-decoration: none;
    transition: transform 0.2s ease, color 0.2s ease;
}
.fb-link:hover{
    text-decoration:none;
    color: #007bff;
    transform: translateY(-3px);
}


.footer-right .fa-facebook:hover {
    transform: scale(1.2);
    box-shadow: 1px px 1px #0a54b4;
    color: #1877f2; 
}
.fa-phone:hover {
    transform: scale(1.2); 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); 
    color: #1877f2; 
}
.fa-envelope:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); 
    color: #1877f2; 
}
.fa-mobile-screen-button:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); 
    color: #1877f2; 
}
.fa-location-dot:hover {
    transform: scale(1.2); 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); 
    color: #1877f2;
}
.footer-bottom {
    margin-top: 20px;
    font-size: 14px;
    color: #bbb;
    border-top: 1px solid white;
    padding-top: 10px;
}

@media (max-width: 700px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

     .footer-center, .footer-right {
        width: 100%; 
        margin-bottom: 20px; 
    }

    .footer-left{
        width: 80%; 
        margin-bottom: 20px; 
    }

    .footer-logo img {
        width: 70%;
    }


    .footer-center ul {
        padding: 0;
    }

    .footer-center ul li {
        margin-bottom: 10px; 
    }

    .footer-right p {
        margin: 10px 0;
    }

    .footer-bottom {
        margin-top: 20px; 
        font-size: 12px; 
    }
}
/* start -Page A propos de nous- */
.header-apropos{
    width: 100%;
    min-height: 100vh;
    background-image: linear-gradient(rgba(4,9,30,0.2),rgba(4,9,30,0.2)),url(images/Sans\ titre.jpg);
    background-size: cover;
    background-position: center;
    position: relative;
}


.info{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    padding: 1px 20px;
}
.info-heading{
    width: 100%;
    flex-basis: 48%;
    margin: 20px;
    text-align: left;
}
.header-apropos .info-heading img{
    width: 100%;
    margin-bottom: 75px;
}
.info-heading h1{
    font-size: 40px;
    position: relative;
    bottom: 60px;
}
.info-heading p{
    color: #252525;
    position: relative;
    bottom: 30px;
    line-height: 1.8;
}
@media (max-width: 600px){
    .header-apropos{
        min-height: 120vh;
        margin-bottom: -20px;
    }
    .header-apropos .nav-link{
        top: 65px;
    }

    .nav-link{
        width: 250px;
        right: -250px;
        
    }
}
  


/* End -Page A propos de nous- */

/* start -Page Produits- */

.header-Produits{
    width: 100%;
    min-height: 100vh;
    background-image: linear-gradient(rgba(4,9,30,0.2),rgba(4,9,30,0.2)),url(images/Sans\ titre.jpg);
    background-size: cover;
    background-position: center;
    position: relative;
}


#product-section{
    padding: 40px 20px;
    margin-top: 0;
    min-height: auto;
}

.PRO-container{
    position: relative;
    padding: 100px 20px;
    margin-top: 0;
    min-height: auto;
}
.filter-buttons{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 50px;
}
.PRO-container .filter-buttons button{
    padding: 10px 20px;
    border: none;
    background-color: transparent; 
    color: black;
    font-size: 20px;
    font-weight: 300;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}
.PRO-container .filter-buttons button.active{
    background-color:transparent;
    color: #007bff; 
    transform: translateY(3px);
}

.filterable-cards{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
}
.card{
    position: relative;
    background-color: transparent;
    border: 1px solid #c9c5c5;
    border-radius: 8px;
    width: 400px;
    height: 500px;
    margin: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    
}
.card.hide{
    display: none;
}
.card:hover {
     
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.card img{
    width: 350px;
    height: 300px;
    object-fit: contain;
    margin-left: 30px;
    margin-top: 20px;
}
.filterable-cards a{
    text-decoration: none;
}
.card-body{
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    align-items: flex-start; 
    margin-top: 0px; 
    padding: 10px; 
    height: auto;
    overflow: hidden
}
.card-title{
    font-size: 20px;
    font-weight: bolder;
    color: #0f38c0;
  
    padding: 10px;
    border-bottom: 1px solid red;
}
.nv{
    font-size: 15px;
    font-weight: 300;
}
.card-body .dtl{
    font-size: 14px;
    color: rgb(56, 56, 56);
    font-weight: 300;
    margin: 10px 10px auto;
    border-top: 1px solid red;
    padding: 10px;
    word-wrap: break-word; 
    overflow: hidden; 

}
.card-body a{
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    color: #0f38c0;
}

@media (max-width: 700px){
   .header-Produits nav a img{
     width: 50%;
     margin-left: 20px;
   };

    #product-section {
        padding: 20px 10px; 
    }

    .PRO-container {
        padding: 50px 10px; 
    }

    .filter-buttons {
        flex-direction: column; 
        gap: 5px;
    }

    .filter-buttons button {
        font-size: 20px; 
        padding: 8px 15px;
        
    }

    .filterable-cards {
        justify-content: center; 
        gap: 5px; 
    }

    .card {
        width: 90%; 
        height: auto; 
        margin-left: 15px ; 
    }

    .card img {
        width: 100%; 
        height: auto;
        margin: 0;     }

    .card-body {
        padding: 5px; 
    }

    .card-title {
        font-size: 18px;    
    }

    .card-body .dtl {
        font-size: 12px; 
        margin: 5px 0;
        padding: 5px; 
    }

    .card-body a {
        font-size: 12px; 
    }
}

/* END -------- Page Produits ----- */




/* Start -------- Page Contact ----- */

.contact-container {
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}
.form-container, .info-container {
    flex: 1;
    min-width: 300px;
    background: transparent;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.form-container h2, .info-container h2 {
    margin-bottom: 20px;
    font-weight: 300;
    color: #0a0a0a;
    margin-left: 160px;
    margin-right: 160px;
}

.form-container form {
    display: flex;
    flex-direction: column;

}

.form-container form label {
    margin-bottom: 5px;
    font-weight: bold;
}
.form-container form {
    display: flex;
    flex-direction: column;
}

.form-container form label {
    margin-bottom: 5px;
    font-weight: bold;
}

.form-container form input, .form-container form textarea {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #474646;
    border-radius: 5px;
    font-size: 16px;
    width: 100%;
}

.form-container form textarea {
    height: 100px;
    resize: none;
}

.form-container form button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

.form-container form button:hover {
    background-color: #0056b3;
}


.info-container ul {
    list-style: none;
    padding: 0;
    margin-top: 50px;
}

.info-container ul li {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 300;
    margin-left: 50px;
    
}

.info-container ul li strong {
    color: #0f38c0;
    font-size: 20px;
}
.info-container h2{
    margin-top: 50px;
}

@media (max-width: 600px){
    .contact-container {
        flex-direction: column;
        gap: 20px;
    }

    .form-container, .info-container {
        flex: 1;
        background: transparent;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        padding: 10px;
    }

    .form-container h2, .info-container h2 {
        
        font-weight: 300;
        color: #0a0a0a;
        margin-left: 10px;
        margin-top: 10px;
        margin-bottom: 50px;
    }
    .form-container h2{
        font-size: 15px;
        font-weight: bold;

    }
    .info-container h2{
        font-size: 15px;
        margin-left: 5px;
        font-weight: bold;
        margin-top: 10px;
        margin-bottom: 30px;
    }

    .info-container ul li{
        margin-left: 0;
        font-size: 14px;
    }
    
 


}


/* END -------- Page Contact ----- */
.header-Details{
    width: 100%;
    min-height: 150vh;
    background-image: linear-gradient(rgba(4,9,30,0.2),rgba(4,9,30,0.2)),url(images/Sans\ titre.jpg);
    background-size: cover;
    background-position: center;
    position: relative;

}

.product-detail-container {
    display: flex;
    flex-wrap: wrap;
    width: 1200px;
    height: auto;
    margin: 0 auto;
    padding: 20px;
    gap: 40px;
    background: transparent;
    border-radius: 8px;
    box-shadow: 8px 8px 8px 8px rgba(0, 0, 0, 0.1);
}

.product-info {
    flex: 1;
    min-width: 300px;

}

.slider h2 {
    font-size: 40px;
    color: #0f38c0;
    font-weight: 200;
    border-bottom: 1px solid #9c9a9a;
    border-top: 1px solid #9c9a9a;
    width: fit-content;
    margin: 10px auto;
    
}

.product-info table {
    width: 100%;
    height: 500px;
    border-collapse: collapse;
    margin-top: 90px;
}

.product-info table th, .product-info table td {
    border: 1px solid #9c9a9a;
    padding: 10px;
    text-align: center;
}

.product-info table th {
    background-color: #007bff;
    font-size: 20px;
    font-weight: 700;
    color: rgb(250, 250, 250);
    margin-top: 50px;
}

.product-info a {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    padding: 10px 40px;
    border-radius: 5px;
    font-size: 20px;
    font-weight: 300;
    margin-top:10px;
    margin-left: 380px;
}

.product-info a:hover {
    background-color: #0056b3;
}

.slider {
    flex: 1;
    width: 900px;
    height: 700px;
    overflow: hidden;
    position: relative;
    border-radius: 8px;
}

.slider img {
    width: 95%;
    display: block;
    margin-left: 10px;
    transition: transform 0.5s ease-in-out;
    
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slider-controls {
    position: absolute;
    top: 55%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.slider-controls button {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    
}

.slider-controls button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

@media (max-width:600px) {
       

    .product-detail-container {
        flex-direction: column;
        width: 100%;
        padding: 10px;
        gap: 20px;
        box-shadow: none;
    }
    .header-Details .nav-link{
        margin-top: 0;
    }

    .product-info {
        width: 100%;
        min-width: unset;
    }

    .product-info table {
        width: 100%;
        height: auto;
        margin-top: 30px;
    }

    .product-info table th, .product-info table td {
        font-size: 14px;
        padding: 5px;
    }

    .product-info a {
        margin-left: 0;
        margin-top: 20px;
        padding: 8px 20px;
        font-size: 16px;
        text-align: center;
        display: block;
    }

    .slider {
        width: 100%;
        height: auto;
        margin-top: 20px;
    }

    .slider img {
        width: 100%;
        margin-left: 0;
    }

    .slider-controls {
        top: 90%;
        transform: translateY(-50%);
    }

    .slider-controls button {
        padding: 5px 10px;
    }
}
