/*
Theme Name: EPSILON
Author: admin
Version: 1.0
*/


@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Outfit:wght@100..900&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');

*{
    margin: 0;
    padding: 0;
    font-family: "open sans";
    box-sizing: border-box;
    overflow-x: hidden;
}



body{
    position: relative;
}

/* up */

.up{
    position: fixed;
    z-index: 100;
    right: 2%;
    bottom: 2%;
    background: #ff0305;
    border-radius: 50%;
    color: white;
    padding: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 24px;
    border: 1px solid #d0cdcd;
}

/* header */
header{
    background: #002495;
    padding: 0 8%;
    padding-bottom: 2%;
    position: relative;
}
/* navbar */

nav{
    height: auto;
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 20px;
    padding-top: 5rem;
}

.logo img{
    width: 200px;
}

.menu ul{
    display: flex;
    color: white;
    font-size: 15px;
    align-items: start;
}

.menu ul li {
    list-style: none;
}

.menu ul li a{
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.menu ul li a:hover{
    color: #ff0305;
}

.menu ul span{
    margin: 0 2px;
}

/* banner */

.tag{
    display: flex;
    align-items: center;
}

.tag span{
    color: white;
    font-weight: 600;
    font-size: 15px;
}

.tag div{
    display: flex;
    align-items: center;
}

.line{
    width: 150px;
    background: white;
    height: 1px;
}

.dot{
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
}


.services_title{
    margin-top: 2rem;
    font-size: 35px;
    font-weight: 400;
    color: #002495;
}



.banner_title{
    color: white;
    margin-top: 2rem;
    font-size: 35px;
    font-weight: 400;
}

/* categories */

.categories{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 3rem 0;
}

.categories a{
    background: white;
    padding: 5px 10px;
    border-radius: 50px;
    color: #ff0305;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
}

.categories a:hover{
    background: #ff0305;
    color: white;
}


/* banner images */

.image_card{
    display: flex;
    gap: 50px;
    align-items: end;
}

.image{
    width: 100%;
    height: 350px;
    border-radius: 20px;
    background-image: url("assets/images/7.jpg");
    background-size: cover;
}

.card {
    width: 250px;
    height: auto;
    border-radius: 10px;
    padding: 10px 20px;
    background: #d0cdcd;
}

/* .card::-webkit-scrollbar{
    display: none;
} */

.card_item{
    display: flex;
    flex-direction: column;
    color: #002495;
}

.card_item h3{
    font-weight: 700;
    font-size: 35px;
}

.card_item p{
    font-size: 14px;
}


/* services section */

.ruban{
    background: #ff0305;
    margin: 1rem 0;
    overflow: hidden;  
    box-sizing: border-box; 
}

.ruban p{
    text-align: end;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap; 
    padding: 1rem 0;
    color: white;
    animation: defilement-rtl 15s infinite linear;
}

.tag_title{
    padding: 0 8%;
}

.service_and_tag{
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 3rem;
}

.service_and_tag span{
    color: #000;
    font-weight: 600;
    font-size: 24px;
}

.service_tag{
    display: flex;
    align-items: center;
}

.service_line{
    width: 150px;
    background: #000;
    height: 1px;
}

.service_dot{
    width: 6px;
    height: 6px;
    background: #000;
    border-radius: 50%;
}


.services_title{
    margin-top: 2rem;
    font-size: 35px;
    font-weight: 400;
    color: #002495;
}

/* ----------------- */

.cards_services{
    padding: 0 8%;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.card_service{
    padding:10px 20px;
    height: auto;
    background: #d0cdcd;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    overflow: hidden;
}

.card_service div{
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-radius: 20px;
}

.card_service div h2{
    color: #002495;
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 1rem;
    padding-top: 20px;
}

.card_service div p{
    font-size: 18px;
    font-style: italic;
    font-weight: 400;
    max-width: 1000px;
    padding-bottom: 18px;
    color: #002495;
    line-height: 30px;
}

.service_card_image{
    width: 400px;
    max-height: 180px;
    overflow: hidden;
}

.service_card_image2{
    width: 200px;
    height: 180px;
    overflow: hidden;
}

.service_card_image2 img{
    object-fit: cover;
    border-radius: 20px;
    height: max-content;
    height: 100%;
}

.service_card_image img{
    object-fit: cover;
    border-radius: 20px;
}


/* produits */

.ruban_produits{
    
    background: #002495;
    margin: 1rem 0;
    overflow: hidden;  
    box-sizing: border-box; 
}

.ruban_produits p{
    text-align: end;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap; 
    padding: 1rem 0;
    color: white;
    animation: defilement-rtl 15s infinite linear;
}

@keyframes defilement-rtl {
    0% {
        transform: translateX(0%);
      }
      100% {
        transform: translateX(-100%);
      }
}

.products{
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    overflow: hidden;
    margin: 4rem 0;
    padding: 0 8%;
}

.product{
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    max-width: 200px;
    justify-content: center;
}

.product p{
    text-align: center;
    font-size: 12px;
}

.product img{
    max-width: 100%;
}


/* Formations */
#formations{
    overflow: hidden;
}

.logos_logiciel{
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    padding: 0 8%;
}

.logos_logiciel a{
    max-width: 200px;
}

.logos_logiciel a img{
    max-width: 100%;
    margin-top: 4rem;
    margin-bottom: 3rem;
}

/* Nous */

.about{
    padding: 0 8%;
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.about p{
    font-size: 20px;
    font-weight: 300px;
}

.about p span{
    font-weight: 700;
    font-size: 32px;
    margin-bottom: 2rem;
}

/* actu */

.actu_section{
    overflow: hidden;
}

.actu{
    width: 100vw;
    min-width: 1000px;
    display: flex;
    justify-content: space-around;
    gap: 10px;
    overflow-x: scroll;
    margin: 2rem 0;
}

.actu::-webkit-scrollbar{
    display: none;
}

.actu_item{
    min-width: 400px;
    height: 400px;
    overflow: hidden;
    border-radius: 20px;
}

.actu_item img{
    object-fit: cover;
    width: auto;
}

/* contact */

.contact{
    background-image: url("assets/images/7.jpg");
    background-size: cover ;
    background-repeat: no-repeat;
    width: 100%;
    height: auto;
    color: white;
    padding-top: 5rem;
    padding-bottom: 2rem;
}

.form{
    width: 100%;
    height: auto;
    display: flex;
    align-items: start;
}

.wrapper{
    backdrop-filter: blur(10px);
    width: 80vw;
    height: auto;
    padding: 0 5rem;
    margin: auto;
    padding-bottom: 3rem;
}

form{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

form .input_item{
    width: 50%;
}


form h3{
    border-bottom: 2px solid white;
    padding: 2rem 0;
}

.input_item{
    padding: 2rem 0;
    border-bottom: 2px solid white;
}

.input_item:nth-child(1){
    padding: 2rem 0;
    border-bottom: 2px solid white;
    padding-top: 0;
}

.input_item input{
    background: none;
    border: none;
    outline: none;
    color: white;
    font-size: 20px;
}

.input_item input::placeholder{
    color: white;
    font-size: 20px;
}

.info{
    max-width: 250px;
    margin-left: 4rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info p{
    font-size: 20px;
}

.form_title{
    font-size: 32px;
    font-weight: 600;
}

.form_tag{
    margin-bottom: 2rem;
    margin-top: 1rem;
    font-size: 18px;
}

/* ------------- */
.footer{
    background: #592152;
    opacity: .8;
    padding: 1rem;
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer_text{
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    display: inline-flex;
}

.footer_text span:nth-child(1){
    font-weight: 300;
    border: none;
    padding: 0 5rem;
}

.footer_text span{
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    width: 100%s;
}

.footer_text span a{
    color: white;
    text-decoration: none;
}


  /* Contact form */
  .contact-section {
    display: flex;
    justify-content: space-between;
    padding: 0 5rem;
    padding-bottom: 5rem;
    backdrop-filter: blur(10px);
    color: white;
    width: 80vw;
    margin: 0 auto;
  }
  
  .form-container {
    width: 100%;
  }
  
  .form-container h1 {
    font-size: 2.5rem;
    font-weight: bold;
  }
  
  .form-container h1 span {
    color: #00d4ff;
    margin-right: 8px;
  }
  
  .form-container p {
    margin-bottom: 20px;
  }
  
  form {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  .form-row {
    display: flex;
    gap: 15px;
  }
  
  input {
    flex: 1;
    padding: 10px;
    border: none;
    border-bottom: 1px solid white;
    background: transparent;
    color: white;
    font-size: 1rem;
  }
  
  input::placeholder {
    color: #ddd;
  }
  
  button {
    padding: 10px 20px;
    background: white;
    color: #0047ab;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    width: fit-content;
    margin-top: 15px;
    cursor: pointer;
  }
  
  .info-container {
    width: 35%;
    padding-left: 30px;
  }
  
  .cta {
    font-size: 1rem;
    padding-top: 2rem;
  }
  
  .click {
    font-size: 1.1rem;
    font-weight: bold;
    color: #ff0000;
    margin-top: 10px;
  }
  
  .info-container h2 {
    margin-top: 30px;
    margin-bottom: 10px;
    font-size: 1.5rem;
    font-weight: bold;
  }
  
  .info-container p {
    font-size: 1rem;
    line-height: 1.5;
  }
  


  .image-hover-box {
    position: relative;
    display: inline-block;
    overflow: hidden;
  }
  
  .image-hover-box img {
    display: block;
    width: 100%;
  }
  
  .hover-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 20px;
    opacity: 0;
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
  
  .image-hover-box:hover .hover-info {
    opacity: 1;
  }
  


/* responsive design */

@media (max-width: 1280px) {
    .categories a{
        font-size: 16px;
    }

    .card_service{
        flex-direction: column;
        justify-content: center;
    }

    .service_card_image{
       margin: 0 auto;
       width: 100%;
       margin-bottom: 10px;
    }

    .services_title{
        font-size: 32px;
    }

    .about p span{
        font-size: 28px;
    }

    .wrapper{
        width: 90vw;
        padding: 0 1rem;
    }

    .form{
        flex-direction: column;
        align-items: start;
    }

    .info{
        margin: 0;
        width: 100%;
        padding-top: 10px;
    }



  }

  @media (max-width: 650px) {
    .info-container {
        display: none;
      }
    header{
        padding: 0 4%;
    }
    .menu ul{
        font-size: 12px;
    }

    .logo img{
        width: 90px;
        margin-right: 20px;
    }

    .menu ul span{
        margin: 0 0.5px;
    }

    .image_card{
        display: flex;
        flex-direction: column;
        gap: 25px;
        align-items: end;
    }
    .card {
        width: 100%;
        display: inline-flex;
        justify-content: space-between;
        margin-bottom: 10px;
    }

    .services_title{
        font-size: 28px;
    }

    .footer_text{
        font-size: 12px;
        flex-direction: column;
    }

    .up{
        padding: 20px;
        font-size: 24px;
    }

    html{
        margin: 0;
    }
  }













