@import url('https://fonts.googleapis.com/css?family=poppins:200,300,400,500,600,700,800,900&display=swap');
*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    position: relative;
    font-family: 'poppins', sans-serif;
}
/*********************************************************/

/* Conteneur de l'animation de chargement */
#loading-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: linear-gradient(to right, #0c0b34, #173691);
    z-index: 1000;
}

/* Points formant un polygone */
.polygon {
    position: relative;
    width: 120px;
    height: 120px;
}

.dot {
    width: 0.5cm;
    height: 0.5cm;
    background-color: white;
    border-radius: 50%;
    position: absolute;
    opacity: 0;
    animation: appear 0.5s forwards;
}

/* Position des points pour former un hexagone régulier */
#point1 { top: 0%; left: 50%; transform: translate(-50%, 0); animation-delay: 0s; }
#point2 { top: 25%; left: 93.3%; transform: translate(-50%, -50%); animation-delay: 0.2s; }
#point3 { top: 75%; left: 93.3%; transform: translate(-50%, -50%); animation-delay: 0.4s; }
#point4 { top: 100%; left: 50%; transform: translate(-50%, -100%); animation-delay: 0.6s; }
#point5 { top: 75%; left: 6.7%; transform: translate(-50%, -50%); animation-delay: 0.8s; }
#point6 { top: 25%; left: 6.7%; transform: translate(-50%, -50%); animation-delay: 1s; }

/* Point central */
.center-dot {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 0s; /* Apparaît en premier */
}

/* Animation d'apparition des points */
@keyframes appear {
    from { opacity: 0; transform: scale(0); }
    to { opacity: 1; transform: scale(1); }
}

/* Masquer les points après leur apparition */
.polygon.hide-dots .dot {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

/* Nom de l'entreprise */
#company-name {
    opacity: 0;
    animation: fadeIn 1s forwards;
    animation-delay: 3.5s; /* Début après la disparition des points */
    text-align: center; /* Centrer le texte horizontalement */
    color: #fff;
    font-size: 35px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-top: 80px; /* Espace entre l'hexagone et le texte */
    margin-left: 25px !important;
}

/* Animation de fondu pour le texte */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/*********************************************************/
body
{
    overflow-x: hidden;
    overflow-y: auto;
}
.logo {
    width: 80px;
    height: 60px;
    border-radius: 10%;
    margin-bottom: 10px;
    opacity: 0;
    transform: scale(0.5);
    animation: logoAppear 1.5s ease-out forwards;
    margin-left: 2%;
}
#nmu {
    font-size:24px; 
    font-weight:300; 
    color: #fff;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#nmu.hidden {
    opacity: 0 ; /* Rendre l'élément invisible */
    transform: translateY(-20px) ; /* Déplacer légèrement vers le haut */
    pointer-events: none ; /* Désactiver les interactions */
}
/*animation logo*/
@keyframes logoAppear {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}


/************************************************************/
/* Animation de départ : éléments invisibles et légèrement déplacés */
@keyframes blink {
    0% {
      opacity: 1;
    }
    50% {
      opacity: 0.5;
    }
    100% {
      opacity: 1;
    }
  }

  /* Style pour l'élément avec clignotement */
  .blinking {
    animation: blink 2s infinite; /* Clignote toutes les 1 seconde */
  }
  
  /* Classe pour rendre l'élément visible et remettre sa position à zéro */
  .visible {
    opacity: 1;
    transform: translateY(0); /* pour un slide vertical, utilisez translateX(0) pour horizontal */
  }
  

/*separateur*/
.separator {
    width: 50%; 
    border: 1px solid #fff; 
    justify-content: center;
}

header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0px;
    z-index: 10000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 1s !important;
}
header.sticky {
    background: linear-gradient(to right, #0c0b34e0, #173691e0);
    padding: 10px 20px;
    box-shadow: 0 5px 20px rgba((0),0,0,0.05);
    opacity: 0.8;
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}
.logo:hover{
    cursor: pointer;
}
header .navigation {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: end;
    padding-right: 5%;
}
header .navigation li {
    list-style: none;
    margin-left: 20px;
}
header .navigation li a {
    text-decoration: none;
    color: #fff;
    font-weight: 300;
}
header.sticky .navigation li a {
    color: #fff;
}
header .navigation li a:hover{
    color: #3f8ffc;
}
.btn1{
    border-radius:10px;
    width: 400px;
    outline:none;
    border: solid #173691;
    background:transparent;
    color:white;
    cursor:pointer;
    font-size: 24px;
    font-weight: 600;
    transition:0.9s;
    letter-spacing: 2px;
    animation: appear 5.5s forwards;
}
.btn1:hover{
    background:#1846d1;
}
.banner
{
    position: relative;
    width: 100%;
    height: 100vh;
    background: linear-gradient(to right, #0c0b34, #173691);
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner h2, .banner p
{
    margin: 20px;
}

.banner-container {
    display: flex;
    width: 100%;
    height: 100%;
    max-width: 1400px;
    padding: 0 20px;
}

.banner-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.banner-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.banner-right video {
    width: 100%;
    height: auto;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.banner .banner-left h2
{
    color: #fff;
    font-size: 60px;
    text-align: justify;
    margin-bottom: 10vh;
}

.banner .banner-left p
{
    margin: 20px 0;
    color: #fff;
    font-size: 20px;
    text-align: center;
}

.banner img
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.about
{
    position: relative;
    padding-top: 70px;
    width: 100%;
    height: 98vh;
    display: flex;
    background: linear-gradient(to right, #0c0b34, #173691);
    justify-content: space-between;
    align-items: center;
}
.about .contentBx
{
    width: 50%;
    margin: 20vh;
    /*width: 50%;
    min-height: 900px;*/
    
}
.heading
{
    color: #fff;
    font-size: 30px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 10px;
}
.text 
{
    color: #fff;
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 1px;
    text-align: justify;
}
.about .imgBx 
{
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    
}
/* section services */
/************************************************************/
#infoDiv {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #0c0b34, #173691);
    justify-content: center;
    align-items: center;
}

.content {
    width: 600px; /* Largeur fixe */
    height: 400px; /* Hauteur fixe */
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
button {
    margin: 20px;
    padding: 10px 20px;
    font-size: 16px;
}
#infoDiv .content {
    position: relative;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    max-width: 600px;
    text-align: center;
}
#infoDiv .content p {
    position: relative;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    max-width: 600px;
    text-align: center;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: transparent;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

/*.navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}*/
.close-btn {
    position: absolute;
    top: -20px;
    right: -20px;
    background-color: transparent;
    border: none;
    font-size: 16px;
    cursor: pointer;
}
/************************************************************/

/************************************************************/
.services
{
    background: linear-gradient(to right, #0c0b34, #173691);
    padding:  100px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.services .container .serviceBx
{
    position: relative;
    z-index: 1;
}



/* General Styles */
.services {
    background: linear-gradient(to right, #0c0b34, #173691);
    padding: 50px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.services .container {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* Service Box Styles */
.serviceBx {
    position: relative;
    margin: 20px;
    background-size: cover; /* Ensures the image covers the box */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Adds depth */
}

.serviceBx:hover {
    transform: scale(1.05);
}

/* Button Container */
.button-container {
    display: flex;
    flex-direction: row;
    justify-self: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.serviceBx:hover .button-container {
    opacity: 1;
}

/******************** Buttons ****************************************/
.btn {
    background: rgba(255, 255, 255, 0.8); /* Slightly transparent white */
    color: #152434;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Adds shadow for better visibility */
}

.btn:hover {
    background: #3f8ffc;
    color: #fff;
}

/**********************************************************************/
.technology
{
    background: linear-gradient(to right, #0c0b34, #173691);
    width: 100%;
    height: 50vh;
    padding: 200px 100px;
    margin-top: -100px;
    display: flex;
    justify-content: space-evenly;
    align-items: flex-start;
}
.technology .contentBx
{
    height: 100%;
    max-width: 1200px;
    margin: 50px;
}
.technology .contentBx .heading
{
    text-align: center;
    margin-bottom: 20px;
}
.technology .contentBx p
{
    text-align: center;
}
.technology .imgBx
{
    max-width: 250px;
    margin-bottom: 200px;
}
.technology .imgBx img
{
    max-width: 100%;
}
/*section témoignage*/
.testimonials
{
    position: relative;
    padding: 100px 70px;
    background: linear-gradient(to right, #0c0b34, #173691);
    text-align: center;

}
.testimonials .container
{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}
.testimonials .container .contentBx
{
    margin: 2%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
    width: 700px;
}
.testimonials .container .contentBx p
{
    font-style: italic;
    text-align: justify;
}
.testimonials .container .contentBx h3
{
    width: 100%;
    text-align: end;
    font-weight: 500;
    color: #3f8ffc;
}
/* section nous contacter */
.contact
{
    padding: 100px;
    background: linear-gradient(to right, #0c0b34, #173691);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.imgBx2
{
    background: url(img/bg2.png);
    background-size: cover;
    background-position: center;
    background-color:rgba(0, 0, 0, 0.2);
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.redbg
{
    background:transparent;
}
.redbg .inputBx
{
    margin-bottom: 40px;
}
form{
    padding-top: 20%;
}
.redbg .inputBx input 
{
    width: 100%;
    background: transparent;
    box-shadow: none;
    border: none;
    outline: none;
    padding: 10px 0px;
    font-size: 18px;
    font-weight: 300;
    color: #fff;
    border-bottom: 2px solid #fff;
}
.redbg .inputBx input::placeholder
{
    color: #fff;
}
.redbg .inputBx textarea 
{
    width: 100%;
    background: transparent;
    box-shadow: none;
    border: none;
    outline: none;
    padding: 10px 0px;
    font-size: 18px;
    font-weight: 300;
    color: #fff;
    min-height: 150px;
    border-bottom: 2px solid #fff;
}
.redbg .inputBx textarea::placeholder
{
    color: #fff;
}
.redbg .inputBx input[type="submit"]
{
    width: 150px;
    background: #fff;
    color: #111;
    cursor: pointer;
    font-weight: 400;
}
/*section nous contacter*/
.about2
{
    position: relative;
    flex: 1 1 50% !important;
    width: 100%;
    height: 100%;
    display: flex;
    background: linear-gradient(to right, #0c0b34, #173691);
}
.about2 .contentBx
{
    padding: 100px;
    width: 50%;
    
}
.about2 .imgBx2
    {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 50%;
        border: solid #173691;
    }
.footer
{
    background: linear-gradient(to right, #0c0b34, #173691);
    padding: 20px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer ul
{
    display: flex;
    justify-content: center;
    align-items: center;
}
.footer ul li 
{
    list-style: none;
}
.footer ul li a 
{
    text-decoration: none;
    display: inline-block;
    margin: 0 10px;
}
.footer ul li a img
{
    filter: invert(1);
    max-width: 20px;
}
/**************************************/
img {
    max-width: 100%;
    height: auto;
}
.banner .contentb h2,
.banner .contentb p {
    text-align: center;
}
.banner img {
    object-fit: cover; /* Ensures the image covers the container */
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .banner .contentb {
        min-width: 100%; /* Full width on small screens */
    }

    .banner .contentb h2 {
        font-size: 36px; /* Reduce font size */
    }

    .banner .contentb p {
        font-size: 16px; /* Reduce font size */
    }
}
.services .container .serviceBx {
    width: calc(40% - 50px); /* Two columns on medium screens */
    aspect-ratio: 1 / 1 !important;
    margin: 20px;
}



@media (min-width: 768px) {
    .testimonials .container .contentBx {
        flex: 1 1 45%; /* Two columns on medium screens */
    }
    .imgBx2 {
        width: 100%; /* Full width on small screens */
        height: auto;
    }
}

@media (max-width: 768px) {
    .services .container .serviceBx {
        width: 100%; /* Single column on small screens */
        aspect-ratio: 1 / 1 !important;
    }
}
/*************************************/
/*adaptation au petit écran*/
@media (max-width: 991px)
{
    html, body {
        /*width:100%;
        height:100%;*/
        padding:0;
        margin: 0px;
        overflow-x:hidden;
        background: linear-gradient(to right, #0c0b34e0, #173691e0);
    }
    .polygon {
        transform: scale(0.7);
    }
    .btn1{
        width: 200px;
        font-size: 20px;
        font-weight: 300;
    }
    .btn{
        font-size: 10px;
        margin-top: 30px;
        padding: 8px;
        width: 150px;
    }
    .button-container {
        opacity: 1;
    }
    .banner .contentb
    {
        min-width: 100%;
        height: 100%;
    }
    .banner .contentb p
    {
        width: 308px;
        text-align: justify;
        margin: 0 20px;
    }
    .banner .contentb h2
    {
        max-width: 250px;
        text-align: center;
    }
    .banner .container2
    {
        margin-top: 100px;
        padding: 0;
    }
    .banner .container2 h1
    {
        font-size: 20px;
    }
    .banner .container2 p
    {
        font-size: 14px;
    }
    .separator
    {
        width: 100%;
    }
    header,
    header.sticky {
        padding: 10px 20px;
        background: linear-gradient(to right, #0c0b34e0, #173691e0);
        opacity: 1;
    }
    .btn1
    {
        margin-top: 20px;
        background:#173691;
    }
    .logo
    {
        margin-left: 0px;
    }
    header .navigation {
        display: none;
    }
    header .navigation.active{
        width: 100%;
        height: 100vh;
        position: fixed;
        top: 80px;
        left: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        background: linear-gradient(to right, #0c0b34e7, #173691e7);
        opacity: 1;
    }
    header .navigation li a{
        text-decoration: none;
        color: #fff;
        font-size: 22px;
        font-weight: 300;
        letter-spacing: 1px;
    }
    .menuToggle{
        position: relative;
        width: 30px;
        height: 25px;
        background: url(img/menu.png);
        background-size: cover;
        cursor: pointer;
    }
    .menuToggle.active{
        background: url(img/close.png);
        background-size: cover;
        border-radius: 50%;
        cursor: pointer;
    }
    #company-name {
        font-size: 20px;
        font-weight: 600;
        letter-spacing: 1px;
        min-width: 300px;
        text-align: center;
        margin-top: 20px !important;
    }
    
    .skrollable {
        /*
         * First-level skrollables are positioned relative to window
         */
        position:relative;
    
        /*
         * Skrollables by default have a z-index of 100 in order to make it easy to position elements in front/back without changing each skrollable
         */
        z-index:100;
    }
    
    .skrollr-mobile .skrollable {
        /*
            May cause issues on Android default browser (see #331 on GitHub).
        */
        position:absolute;
    }
    
    .skrollable .skrollable {
        /*
         * Second-level skrollables are positioned relative their parent skrollable
         */
        position:absolute;
    }
    
    .skrollable .skrollable .skrollable {
        /*
         * Third-level (and below) skrollables are positioned static
         */
        position:static;
    }
    .text
    {
        font-size: 15px;
    }
    .logo
    {
        width: 55px;
        height: auto;
        margin-left: -3px;
    }
    .heading
    {
        font-size: 25px;
    }
    .banner
    {
        padding: 20px 50px;
        min-height: 700px;
    }

    .banner .contentb 
    {
        margin: 10px 30px;
        padding: 100px 30px;
        height: 100%;
    }
    .banner h2, .banner p 
    {
        margin: 30px;
    }
    .banner .contentb h2 
    {
        font-size: 36px;
    }
    .banner .contentb p
    {
        font-size: 16px;
    }
    .about
    {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
        padding: 20px;

    }
    .technology{
        min-height: 400px;
    }
    .technology .contentBx{
        margin-top: 100px;
        height: 20vh;
    }
    .technology .contentBx .heading{
        font-size: 18px;
        text-align: center;
    }
    .technology .contentBx p{
        font-size: 14px;
        text-align: justify;
    }
    .about2
    {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
        padding: 0px;

    }
    .about .imgBx
    {
        
        width: 300px;
        height: 310px;

    }
    .about .contentBx
    {
        margin: 0px 20px;
    }
    .about .contentBx,
    .about2 .contentBx,
    /*.about .imgBx,*/
    .about2 .imgBx2
    {
        width: 100%;
        padding: 50px;
        /*min-height: 400px;*/
        text-align: center;
    }
    .about2 .contentBx
    {
        padding: 70px;
    }
    /*.about .imgBx,*/
    .about2 .imgBx2
    {
        max-width: 100vh;
        height: 100%;
        border-radius: 0;
        display: flex;
        justify-content: center;
    }
    .about2 .imgBx2 .btn1
    {
        margin: 0;
    }
    .services
    {
        flex-direction: column;
        align-items: center;
        padding: 50px;
    }
    .services .text
    {
        margin-bottom: 50px;
    }
    .services .container
    {
        justify-content: center;
        margin: -5px;
        /*margin-top: 20px;
        margin-bottom: 20px;*/
    }
    
    .services .container .serviceBx h2
    {
        font-size: 18px;
        font-weight: 500;
        letter-spacing: 1px;
        margin: 0px 50px;
    }
    .services .container .serviceBx p
    {
        
        max-width: 300px;
        margin: 40px;
        font-size: 15px;
        text-align: justify;
    }
    .technology
    {
        padding: 0px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .technology .contentBx{
        padding: 0 !important;
        height: 100%;
    }
    .testimonials
    {
        padding: 50px;
        /*display: flex;
        flex-wrap: wrap;
        align-items: center;*/
        justify-content: center;
        
    }
    .testimonials .container
    {
    flex-direction: column;
    }
    .testimonials .container .contentBx img
    {

        width: 300px;
    
    
    }
    .testimonials .contentBx .tem p
    {
        letter-spacing: 1px;
        text-align: left;
    }
    .testimonials .contentBx:last-child
    {
        margin-bottom: 0px;
    }
    .contact
    {
        padding: 70px;
    }
    .footer
    {
        padding: 20px 50px;
        flex-direction: column-reverse;
        text-align: center;
    }
    .footer ul
    {
        margin-bottom: 20px;
    }
    .banner-container {
        flex-direction: column;
    }
    
    .banner-left, .banner-right {
        width: 100%;
        flex: none;
    }
    
    .banner-right {
        order: -1;
        padding: 20px;
    }
    
    .banner-right video {
        max-height: 40vh;
    }
    
    .banner .banner-left h2 {
        font-size: 36px;
        text-align: center;
    }
    
    .banner .banner-left p {
        font-size: 16px;
    }
}