
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap');

/*----------------------------------------------------------Globals------------------------------------------------------*/
html {
    scroll-behavior: smooth; 
    margin:0;
    overflow-x:hidden;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background-size: cover;
    color: white;
    overflow-x:hidden;
}

/* Initial state for reveal elements (hidden and off-screen) */
.reveal {
    opacity: 0;
    transform: translateY(30px); /* Slightly less slide from below for quicker effect */
    transition: all 0.4s ease-out; /* Reduced time for a faster animation */
}

/* The class that will be added once the element is in view */
.reveal.visible {
    opacity: 1;
    transform: translateY(0); /* Element moves into place */
}







/*--------------------------------------------------------News Widget--------------------------------------------------------*/
.news-bar {
    
        background-color: #003366;
        color: white;
        padding: 10px 10px;
        overflow: hidden;
        position: relative;
        width: 100%;
        text-align: center;
        font-size: 16px;
        font-weight: 600;
        border-bottom: 2px solid #003366;
        margin-bottom: 10px;
        z-index: 11;
        position: fixed;
        font-family: 'Roboto', sans-serif; /* Apply the new font */
        white-space: nowrap;
    }
    

.news-content {
    display: inline-block;
    gap: 50px;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    animation: scroll-left 30s linear infinite;
    width: max-content;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* You might need to adjust based on content length */
    }
}
.news-bar:hover .news-content {
    animation-play-state: paused;
}

/* Link style */
.news-item {
    text-decoration: none;
    color: white;
    padding: 0 15px;
}


/*----------------------------------------------------------  Header----------------------------------*/

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    padding: 8px 20px;
    z-index: 10;
    transition: top 0.3s ease-in-out;
    box-sizing: border-box; 
}
    /* -------------Logo----------*/

.logo-bar {
    text-align: center;
    margin-bottom: 8px; /* Adds space below the logo */
    margin-top: 30px;
  
}

    /*---------Navigation Menu----*/
.menu {
    display: flex;
    justify-content: space-between;  
    align-items: center;
    margin-bottom: 12px;
    width: 100%;  
    box-sizing: border-box;  
    padding-right: 30px; 
}

.navbar {
    display: flex;
    flex: 1;  
    justify-content: center;  
}

.nav-menu {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}
li{
    cursor: pointer;
}
.nav-menu a {
    text-decoration: none;
    color: #004488;
    font-size: 1rem;
    font-weight: 600;
    margin-left: 30px;
}

.nav-menu a:hover {
    text-decoration: underline;
    color: #007BFF;
}
.nav-link {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 5px; /* optional spacing between text and icon */
}

/* Style the active link */
.nav-link.active {
    color: #007BFF; /* White text */

    font-weight: bold; /* Optional: Makes it bold */
}

/*-------------------Software menu----------------------------------*/

  .nav-item.dropdown {
    position: relative;
  }
  
  /* Menu caché de base */
  .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%; /* juste en dessous du bouton */
    left: 0;
    background-color: white;
    border-radius: 0.75rem;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    padding: 1rem;
    list-style: none;
    min-width: 200px;
    z-index: 9999; /* Pour qu'il passe devant le hero */
  }
  
  /* Affichage quand le menu est ouvert */
  .nav-item.dropdown.open .dropdown-menu {
    display: flex;
    flex-direction: column;
  }
  .dropdown-menu a {
    padding: 0.6rem 1rem;
    display: block;
    border-radius: 0.4rem;
    background-color: white;
    margin-bottom: 0.1rem;
  }
  

    /*----------------------language button------------*/
.language-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 20px; 
    position: relative;
}

.language-btn {
    padding: 6px 10px;
    font-size: 15px;
    background: linear-gradient(45deg, #66ccff, #004488);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    position: relative;
    white-space: nowrap;
}

.language-btn:hover {
    background: linear-gradient(45deg, #66ccff, #004488);
}

.language-btn .arrow-down {
    white-space: nowrap;
    display: inline-block;
    margin-left: 8px;
    font-size: 12px;
    vertical-align: middle; /* optional, improves alignment */
}

/* Dropdown menu */
.language-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #004488;
    color:white;
    width: 80px;
    padding: 5px 0;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.language-selector:hover .language-dropdown {
    display: block;
}

.language-dropdown a {
    padding: 8px 16px;
    text-decoration: none;
    text-align: center;
    color: white;
    display: block;
    margin-left: 0px;
}

.language-dropdown a:hover {
    background-color: #003366;
}

/*------------------------------------------------------------HERO--------------------------------------------------*/


.hero {
    background-image: url('../images/bg.jpg');
    background-size: cover;
    text-align: center;
    padding: 80px 20px;
    color: white;
    position: relative;
    height: 610px; 
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top:180px;
    width:100vw;
    overflow-x: hidden;
    overflow: hidden;
    margin: 0;
    background-attachment: fixed;
    background-position: center;

    
}

.hero-content {
    display: flex;
    flex-direction: column;
    padding-top: 500px;
    align-items: center;
    justify-content: center;
    position: relative;
}

    /*---------heading title----*/

.hero-heading {
    font-size: 45px; 
    font-weight: 600;
    color: white;
    text-align: center;
    margin-bottom: 5px;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.5); 
    line-height: 1.3;
    margin-top:-250px;
}

.hero-heading br {
    display: block;
    margin-bottom: 10px; 
}

    /*---------Slogan title----*/
.hero-slogan {
    font-size: 18px; 
    font-weight: 495; 
    color: white;
    text-align: center;
    margin-bottom: 0px; 
    padding: 0 0px; 
}
    /*---------hero software icons----*/
    .timeline-wrapper {
        display: grid;
        grid-template-columns: repeat(6, 1fr); /* 6 colonnes égales */
        justify-items: center;
        align-items: start;
        gap: 0; 
        max-width: 100%;
        margin: 80px 60px 0 auto;
        position: relative;
      }
      
      .timeline-icon {
        width: 60px;
        height: auto;
        margin: 0 103.4px 0px auto;
      }
      
      .timeline-icon img {
        display: block;
        width: 180px;
        height: auto;
        transform: translateY(-10px); /* Optionnel selon besoin visuel */
      }
      
  
 
 
/*-----------------------------------------------------------Software Section----------------------------------------------------*/
.logiciels {
    padding: 20px 20px;
    background-color: #ffffff;
    text-align: center;
    scroll-padding-top: -10px; 
    scroll-behavior: smooth;
}

.logiciels h2 , .news-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: #004488;
    margin-bottom: 30px;
}

    /*-----Software Detailed Sections----*/
.software-detail {
    padding-top: 50px; 
    padding: 40px 20px;
    background-color: #f9f9f9;
    text-align: center;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: #333;
    font-family: 'Inter', 'Segoe UI', sans-serif;
}

.software-detail h2 {
    font-size: 28px;
    font-weight: 700;
    color: #004488;
    margin-bottom:10px;
}

    /*----Software Image Styling----*/
.software-image {
    max-width: 100%;
    height: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 8px; 
}

    /*-----Software Description Styling----*/
.software-description {
    font-size: 16px;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.6;
    font-family: 'Inter', 'Segoe UI', sans-serif;
}

    /*-------Software Buttons-------*/
.software-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn {
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.download-btn {
    background-color: #004488;
    color: white;
    border: none;
}

.see-more-btn {
    background-color: #66ccff;
    color: white;
    border: none;
}

.btn:hover {
    transform: translateY(-3px);
}

.download-btn:hover {
    background-color: #003366;
}

.see-more-btn:hover {
    background-color: #33aaff;
}

/*--------------------------------------------------------------News Section ----------------------------------------------------*/

.news-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 40px 20px;
    color: #003366;
    text-align: center;
    position: relative;
  
  }
  
  .news-section h2 {
    font-size: 36px;
    color: #003366;
    margin-bottom: 40px;
    font-weight: 700;
  }
  
  .carousel {
    position: relative;
    overflow: hidden;
    width: 100%; 
}

.news-container {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease-in-out;
    padding: 0 10px;
    width: 280px; 
}


    /*------------Boxes------ */

.news-box {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 68, 136, 0.1);
    padding: 30px 20px;
    min-width: 280px;
    max-width: 280px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.news-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 68, 136, 0.15);
}

.news-box h3 {
    font-size: 20px;
    color: #004488;
    margin-bottom: 12px;
  }
  
  .news-box p {
    font-size: 15px;
    color: #444;
    line-height: 1.6;
  }
    /* --------------Buttons------ */
  .learn-more {
    margin-top: 20px;
    align-self: start;
    padding: 10px 16px;
    font-size: 14px;
    background-color: #004488;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease;
  }
  
  .learn-more:hover {
    background-color: #002f66;
  }
  
    /*------------Arrows------ */
  .news-header {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-bottom: 30px;
}

.news-header .spacer {
    flex: 1;
}

.news-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #004488;
    text-align: center;
    flex: none;
}

.news-arrows {
    display: flex;
    gap: 15px;
    position: absolute;
    right: 0;
}

.news-arrows .arrows {
    font-size: 20px;
    color: #ffffff;
    background-color: #66ccff;
    border-radius: 50%;
    padding: 15px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.news-arrows .arrows:hover {
    background-color: #33aaff;
    color: #ffffff;
    transform: scale(1.1);
}

  
.prev-arrow {
    left: 15px;
  }
  
.next-arrow {
    right: 15px;
  }
  

/*------------------------------------------------------------Footer-----------------------------------------------------------*/
footer {
    background: #004488; 
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    margin: 10px;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 600;
}

.footer-section p,
.footer-section ul {
    font-size: 14px;
    margin: 0;
    padding: 0;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin: 5px 0;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.footer-section ul li a:hover {
    text-decoration: underline;
    color: #66ccff; 
}

.footer-section a {
    color: white; 
    font-weight: 600; 
    text-decoration: none;
}

.footer-section a:hover {
    text-decoration: underline;
    color: #66ccff; 
}

p i {
    margin-right: 8px;
  }




/*---------------------------------------------Responsive Design ------------------------------------------------------*/

                /*---------------------------Tablets Portrait-----------------------*/
@media (max-width: 1024px) {
        /*---icons---*/
    /*---------hero software icons----*/
    .timeline-wrapper {
        display: grid;
        grid-template-columns: repeat(6, 1fr); /* 6 colonnes égales */
        justify-items: center;
        align-items: start;
        gap: 0; 
        max-width: 100%;
        margin: 10px 60px 0 auto;
        position: relative;
      }
      
      .timeline-icon {
        width: 60px;
        height: auto;
        margin: 0 76.2px 0px auto;
      }
      
      .timeline-icon img {
        display: block;
        width: 150px;
        height: auto;
        transform: translateY(-10px); /* Optionnel selon besoin visuel */
      }
      .nav-menu {
        display: flex;
        gap: 5px;
        list-style: none;
        margin: 0;
        padding: 0;
    }
    .nav-menu a {
        text-decoration: none;
        color: #004488;
        font-size: 0.9rem;
        font-weight: 600;
        margin-left: 30px;
    }
        /*---Hero text ---*/
      .hero-heading {
        font-size: 45px; 
        font-weight: 600;
        color: white;
        text-align: center;
        margin-bottom: 5px;
        text-shadow: 0 4px 6px rgba(0, 0, 0, 0.5); 
        line-height: 1.3;
       
    }
    .hero-content {
        display: flex;
        flex-direction: column;
        padding-top: 390px;
        align-items: center;
        justify-content: center;
        position: relative;
    }
    
    .hero-heading br {
        display: block;
        margin-bottom: 10px; 
    }
    
        /*---Slogan title----*/
    .hero-slogan {
        font-size: 18px; 
        font-weight: 400; 
        color: white;
        text-align: center;
        margin-bottom: 50px; 
        padding: 0 0px; 
    }
    .language-btn {
        padding: 6px 10px;
        font-size: 15px;
        background: linear-gradient(45deg, #66ccff, #004488);
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-weight: 600;
        position: relative;
        white-space: nowrap;
    }
    
    .language-btn:hover {
        background: linear-gradient(45deg, #66ccff, #004488);
    }
    
    .language-btn .arrow-down {
        white-space: nowrap;
        display: inline-block;
        margin-left: 8px;
        font-size: 12px;
        vertical-align: middle; /* optional, improves alignment */
    }
    
    /* Dropdown menu */
    .language-dropdown {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #004488;
        color:white;
        width: 80px;
        padding: 5px 0;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
    
    .language-selector:hover .language-dropdown {
        display: block;
    }
    
    .language-dropdown a {
        padding: 8px 16px;
        text-decoration: none;
        text-align: center;
        color: white;
        display: block;
        margin-left: 0px;
    }
    
    .language-dropdown a:hover {
        background-color: #003366;
    }
    
  }


        /*--------------------------------------PHONES/Tablets------------------------------*/
  .hamburger {
    display: none;
    cursor: pointer;
    font-size: 28px;
    color: #004488;
    transform:translateX(15px);
    }

.hamburger div {
    width: 30px;
    height: 4px;
    background-color: #004488;
    margin: 6px 0;
    }
  @media (max-width: 840px) {
    .hero-content {
        display: flex;
        flex-direction: column;
        padding-top: 0px;
        align-items: center;
        justify-content: center;
        position: relative;
    }
        /*---icons---*/
        .timeline-wrapper {
            display: grid;
            grid-template-columns: repeat(6, 1fr); /* 6 colonnes égales */
            justify-items: center;
            align-items: start;
            gap: 0; 
            max-width: 100%;
            margin: 10px 60px 0 auto;
            position: relative;
          }
          
          .timeline-icon {
            width: 60px;
            height: auto;
            margin: 0 45px 0px auto;
          }
          
          .timeline-icon img {
            display: block;
            width: 115px;
            height: auto;
            transform: translateY(-10px); /* Optionnel selon besoin visuel */
          }
        /*---heading title---*/
      .hero-heading {
        font-size: 40px; 
        font-weight: 600;
        color: white;
        text-align: center;
        margin-bottom: 5px;
        text-shadow: 0 4px 6px rgba(0, 0, 0, 0.5); 
        line-height: 1.3;
        margin-top:250px;
        transform:translateX(-20px);
      }
    
    .hero-heading br {
        display: block;
        margin-bottom: 10px; 
    }
    
        /*---heading slogan---*/
    .hero-slogan {
        font-size: 18px; 
        font-weight: 400; 
        color: white;
        text-align: center;
        margin-bottom: 50px; 
        padding: 0 0px; 
        transform:translateX(-20px);
        
    }

        /*---Mlanguage button---*/
    .language-selector {
        margin-top: 10px;
    }

    .language-dropdown {
        position: static;
        width: 80px;
        margin-left:1px;
    }
    .language-btn .arrow-down {
        margin-left: 8px;
        font-size: 12px;
        transform: rotate(-90deg); /* Rotate the arrow to point right */
        display: inline-block;

    }
    
        /*-----Menu-----*/
    .menu {
        flex-direction: column;
        align-items: center;
       
    }

    .navbar {
        display: none;
        flex-direction: column; /* Stack items vertically */
        align-items: center; /* Center menu items */
        width: 100%; /* Ensure the menu takes the full width */
        background-color: #fff; /* Optional: background for visibility */
    }

    .nav-menu {
        display: flex;
        flex-direction: column; /* Make the items stack vertically */
        width: 100%;
        align-items: center; /* Center items horizontally */
        padding: 10px 0;
    }

    .nav-item {
        padding: 10px;
        width: 100%; /* Make each item take the full width */
        text-align: center;
    }

    .hamburger {
        display: block;
    }

    .menu.open .navbar {
        display: block;
    }

    
    .hamburger.close i {
        transform: rotate(90deg);/* Change the icon to a cross */
    }

    .hamburger.close i::before {
        content: '\f00d';  /* Change the icon to 'X' using Font Awesome */
    }


        /*-----NEWS-----*/
    .news-container {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        width: auto;
      }
    
      .news-box {
        scroll-snap-align: start;
        flex-shrink: 0;
      }
    
      .news-arrows {
        display: none;
      }
      .news-container::-webkit-scrollbar {
        height: 6px;
      }

  .news-container::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
     }

  .news-container::-webkit-scrollbar-track {
    background: transparent;
     }

    /*----News widget----*/
    .news-content {
        display: inline-block;
        gap: 50px;
        justify-content: center;
        align-items: center;
        white-space: nowrap;
        animation: scroll-left 30s linear infinite;
        width: max-content;
    }
    
    @keyframes scroll-left {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-50%); /* You might need to adjust based on content length */
        }
    }
    .news-bar:hover .news-content {
        animation-play-state: paused;
    }
    
    /* Link style */
    .news-item {
        text-decoration: none;
        color: white;
        padding: 0 15px;
    }
/*-------------------Software menu----------------------------------*/
    .dropdown-menu {
        position: static;
        box-shadow: none;
        padding: 0.5rem 1rem;
        background-color: transparent;
      }
    
      .dropdown-menu a {
        padding: 0.6rem 1rem;
        display: block;
        border-radius: 0.4rem;
        background-color: white;
        margin-bottom: 0.5rem;
      
      }
}
  
 /*----------------------------PHONES-----------------------------*/
@media (max-width: 650px) {
    .hero-content {
        display: flex;
        flex-direction: column;
        padding-top: 0px;
        align-items: center;
        justify-content: center;
        position: relative;
    }
        /*---icons---*/
        .timeline-wrapper {
            display: grid;
            grid-template-columns: repeat(6, 1fr); /* 6 colonnes égales */
            justify-items: center;
            align-items: start;
            gap: 0; 
            max-width: 100%;
            margin: 10px 55px 0 auto;
            position: relative;
          }
          
          .timeline-icon {
            width: 60px;
            height: auto;
            margin: 0 30px 0px auto;
          }
          
          .timeline-icon img {
            display: block;
            width: 99px;
            height: auto;
            transform: translateY(-10px); /* Optionnel selon besoin visuel */
          }
        /*---heading title---*/
      .hero-heading {
        font-size: 35px; 
        font-weight: 600;
        color: white;
        text-align: center;
        margin-bottom: 5px;
        text-shadow: 0 4px 6px rgba(0, 0, 0, 0.5); 
        line-height: 1.3;
        margin-top:250px;
        transform:translateX(-20px);
      }
    
    .hero-heading br {
        display: block;
        margin-bottom: 10px; 
    }
    
        /*---heading slogan---*/
    .hero-slogan {
        font-size: 18px; 
        font-weight: 400; 
        color: white;
        text-align: center;
        margin-bottom: 50px; 
        padding: 0 0px; 
        transform:translateX(-20px);
        
    }

        /*---Mlanguage button---*/
    .language-selector {
        margin-top: 10px;
    }

    .language-dropdown {
        position: static;
        width: 80px;
        margin-left:1px;
    }
    .language-btn .arrow-down {
        margin-left: 8px;
        font-size: 12px;
        transform: rotate(-90deg); /* Rotate the arrow to point right */
        display: inline-block;

    }
    
        /*-----Menu-----*/
    .menu {
        flex-direction: column;
        align-items: center;
       
    }

    .navbar {
        display: none;
        flex-direction: column; /* Stack items vertically */
        align-items: center; /* Center menu items */
        width: 100%; /* Ensure the menu takes the full width */
        background-color: #fff; /* Optional: background for visibility */
    }

    .nav-menu {
        display: flex;
        flex-direction: column; /* Make the items stack vertically */
        width: 100%;
        align-items: center; /* Center items horizontally */
        padding: 10px 0;
    }

    .nav-item {
        padding: 10px;
        width: 100%; /* Make each item take the full width */
        text-align: center;
    }

    .hamburger {
        display: block;
    }

    .menu.open .navbar {
        display: block;
    }

    
    .hamburger.close i {
        transform: rotate(90deg);/* Change the icon to a cross */
    }

    .hamburger.close i::before {
        content: '\f00d';  /* Change the icon to 'X' using Font Awesome */
    }


        /*-----NEWS-----*/
    .news-container {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        width: auto;
      }
    
      .news-box {
        scroll-snap-align: start;
        flex-shrink: 0;
      }
    
      .news-arrows {
        display: none;
      }
      .news-container::-webkit-scrollbar {
        height: 6px;
      }

  .news-container::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
     }

  .news-container::-webkit-scrollbar-track {
    background: transparent;
     }

    /*----News widget----*/
    .news-content {
        display: inline-block;
        gap: 50px;
        justify-content: center;
        align-items: center;
        white-space: nowrap;
        animation: scroll-left 30s linear infinite;
        width: max-content;
    }
    
    @keyframes scroll-left {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-50%); /* You might need to adjust based on content length */
        }
    }
    .news-bar:hover .news-content {
        animation-play-state: paused;
    }
    
    /* Link style */
    .news-item {
        text-decoration: none;
        color: white;
        padding: 0 15px;
    }
    /*-------------------Software menu----------------------------------*/
    .dropdown-menu {
        position: static;
        box-shadow: none;
        padding: 0.5rem 1rem;
        background-color: transparent;
      }
    
      .dropdown-menu a {
        padding: 0.6rem 1rem;
        display: block;
        border-radius: 0.4rem;
        background-color: white;
        margin-bottom: 0.5rem;
      }
}
  
/*----------------------Other phones-------------------------*/
@media (max-width: 560px) {
    .news-bar {
        background-color: #003366;
        color: white;
        padding: 1px 4px;
        overflow: hidden;
        position: relative;
        width: 100%;
        text-align: center;
        font-size: 11px;
        font-weight: 600;
        border-bottom: 2px solid #003366;
        margin-bottom: 10px;
        z-index: 11;
        position: fixed;
        font-family: 'Roboto', sans-serif; /* Apply the new font */
        white-space: nowrap;
    }
    header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background-color: white;
        padding: 4px 16px; /* Reduce vertical and horizontal padding */
        z-index: 10;
        transition: top 0.3s ease-in-out;
        box-sizing: border-box;
    }
    .logo-bar img {
        height: 80px; /* Or any smaller size like 30px */
        width: auto;  /* Maintain aspect ratio */
    }
    .logo-bar {
        text-align: center;
        margin-bottom: 2px; /* Less space below the logo */
        margin-top: 35px;   /* Less space above the logo */
    }
        
   
    .hero {
        background-image: url('../images/bg_1.jpg');
        background-size: cover;
        background-position: center;
        background-attachment: scroll; /* safer on mobile */
        text-align: center;
        padding: 80px 20px;
        color: white;
        position: relative;
        height: 410px; 
        display: flex;
        justify-content: center;
        align-items: center;
        padding-top: 180px;
        width: 100vw;
        overflow-x: hidden;
        margin: 0;
    }
    
    /* Overlay to improve visibility */
    .hero::before {
        content: "";
        position: absolute;
        top: 0; left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.2); /* light white glow */
        z-index: 1;
    }
    
    
    .hero > * {
        position: relative;
        z-index: 2;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        padding-top: 0;
        align-items: center;
        justify-content: center;
        position: relative;
     
    }
    
        /*---icons---*/
        .timeline-wrapper {
            display: grid;
            grid-template-columns: repeat(6, 1fr); /* 6 colonnes égales */
            justify-items: center;
            align-items: start;
            gap: 0; 
            max-width: 100%;
            margin: 10px 49px 0 auto;
            position: relative;
          }
          
          .timeline-icon {
            width: 60px;
            height: auto;
            margin: 0 7px 0px auto;
          }
          
          .timeline-icon img {
            display: block;
            width: 73px;
            height: auto;
            transform: translateY(-10px); /* Optionnel selon besoin visuel */
          }
        /*---heading title---*/
      .hero-heading {
        font-size: 25px; 
        font-weight: 600;
        color: white;
        text-align: center;
        margin-bottom: 5px;
        text-shadow: 0 4px 6px rgba(0, 0, 0, 0.5); 
        line-height: 1.3;
        margin-top:190px;
        transform:translateX(-20px);
      }
    
    .hero-heading br {
        display: block;
        margin-bottom: 10px; 
    }
    
        /*---heading slogan---*/
    .hero-slogan {
        font-size: 18px; 
        font-weight: 400; 
        color: white;
        text-align: center;
        margin-bottom: 60px; 
        padding: 0 0px; 
        transform:translateX(-20px);
        
    }

        /*---Mlanguage button---*/
    .language-selector {
        margin-top: 10px;
    }

    .language-dropdown {
        position: static;
        width: 80px;
        margin-left:1px;
    }
    .language-btn .arrow-down {
        margin-left: 8px;
        font-size: 12px;
        transform: rotate(-90deg); /* Rotate the arrow to point right */
        display: inline-block;

    }
    
        /*-----Menu-----*/
    .menu {
        flex-direction: column;
        align-items: center;
       
    }

    .navbar {
        display: none;
        flex-direction: column; /* Stack items vertically */
        align-items: center; /* Center menu items */
        width: 100%; /* Ensure the menu takes the full width */
        background-color: #fff; /* Optional: background for visibility */
    }

    .nav-menu {
        display: flex;
        flex-direction: column; /* Make the items stack vertically */
        width: 100%;
        align-items: center; /* Center items horizontally */
        padding: 10px 0;
    }

    .nav-item {
        padding: 10px;
        width: 100%; /* Make each item take the full width */
        text-align: center;
    }

    .hamburger {
        display: block;
    }

    .menu.open .navbar {
        display: block;
    }

    
    .hamburger.close i {
        transform: rotate(90deg);/* Change the icon to a cross */
    }

    .hamburger.close i::before {
        content: '\f00d';  /* Change the icon to 'X' using Font Awesome */
    }


        /*-----NEWS-----*/
    .news-container {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        width: auto;
      }
    
      .news-box {
        scroll-snap-align: start;
        flex-shrink: 0;
      }
    
      .news-arrows {
        display: none;
      }
      .news-container::-webkit-scrollbar {
        height: 6px;
      }

  .news-container::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
     }

  .news-container::-webkit-scrollbar-track {
    background: transparent;
     }

    /*----News widget----*/
    .news-content {
        display: inline-block;
        gap: 50px;
        justify-content: center;
        align-items: center;
        white-space: nowrap;
        animation: scroll-left 30s linear infinite;
        width: max-content;
    }
    
    @keyframes scroll-left {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-50%); /* You might need to adjust based on content length */
        }
    }
    .news-bar:hover .news-content {
        animation-play-state: paused;
    }
    
    /* Link style */
    .news-item {
        text-decoration: none;
        color: white;
        padding: 0 15px;
    }
/*-------------------Software menu----------------------------------*/
    .dropdown-menu {
        position: static;
        box-shadow: none;
        padding: 0.5rem 1rem;
        background-color: transparent;
      }
    
      .dropdown-menu a {
        padding: 0.6rem 1rem;
        display: block;
        border-radius: 0.4rem;
        background-color: white;
        margin-bottom: 0.5rem;
      }
}
  
 

        /*----------------------------------------SMALL Phones-----------------------------------*/

  @media (max-width: 410px) {
    .news-bar {
        background-color: #003366;
        color: white;
        padding: 1px 4px;
        overflow: hidden;
        position: relative;
        width: 100%;
        text-align: center;
        font-size: 11px;
        font-weight: 600;
        border-bottom: 2px solid #003366;
        margin-bottom: 10px;
        z-index: 11;
        position: fixed;
        font-family: 'Roboto', sans-serif; /* Apply the new font */
        white-space: nowrap;
    }
    header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background-color: white;
        padding: 4px 16px; /* Reduce vertical and horizontal padding */
        z-index: 10;
        transition: top 0.3s ease-in-out;
        box-sizing: border-box;
    }
    .logo-bar img {
        height: 80px; /* Or any smaller size like 30px */
        width: auto;  /* Maintain aspect ratio */
    }
    .logo-bar {
        text-align: center;
        margin-bottom: 2px; /* Less space below the logo */
        margin-top: 35px;   /* Less space above the logo */
    }
        
   
    .hero {
        background-image: url('../images/bg_1.jpg');
        background-size: cover;
        background-position: center;
        background-attachment: scroll; /* safer on mobile */
        text-align: center;
        padding: 80px 20px;
        color: white;
        position: relative;
        height: 410px; 
        display: flex;
        justify-content: center;
        align-items: center;
        padding-top: 180px;
        width: 100vw;
        overflow-x: hidden;
        margin: 0;
    }
    
    /* Overlay to improve visibility */
    .hero::before {
        content: "";
        position: absolute;
        top: 0; left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.2); /* light white glow */
        z-index: 1;
    }
    
    
    .hero > * {
        position: relative;
        z-index: 2;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        padding-top: 0;
        align-items: center;
        justify-content: center;
        position: relative;
     
    }
        /*---icons---*/
        .timeline-wrapper {
            display: grid;
            grid-template-columns: repeat(6, 1fr); /* 6 colonnes égales */
            justify-items: center;
            align-items: start;
            gap: 0; 
            max-width: 100%;
            margin: 10px 49px 0 auto;
            position: relative;
          }
          
          .timeline-icon {
            width: 60px;
            height: auto;
            margin: 0 -3px 0px auto;
          }
          
          .timeline-icon img {
            display: block;
            width: 62px;
            height: auto;
            transform: translateY(-10px); /* Optionnel selon besoin visuel */
          }

        /*---heading title---*/
      .hero-heading {
        font-size: 22px; 
        font-weight: 600;
        color: white;
        text-align: center;
        margin-bottom: 2px;
        text-shadow: 0 4px 6px rgba(0, 0, 0, 0.5); 
        line-height: 1.3;
        margin-top:150px;
    }
    
    .hero-heading br {
        display: block;
        margin-bottom: 10px; 
    }
    
        /*---heading slogan---*/
    .hero-slogan {
        font-size: 12px; 
        font-weight: 400; 
        color: white;
        text-align: center;
        margin-bottom: 40px; 
        padding: 0 0px; 
    }
    .news-content {
    display: inline-block;
    gap: 50px;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    animation: scroll-left 30s linear infinite;
    width: max-content;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* You might need to adjust based on content length */
    }
}
.news-bar:hover .news-content {
    animation-play-state: paused;
}

/* Link style */
.news-item {
    text-decoration: none;
    color: white;
    padding: 0 15px;
}

/*-------------------Software menu----------------------------------*/
.dropdown-menu {
    position: static;
    box-shadow: none;
    padding: 0.5rem 1rem;
    background-color: transparent;
  }

  .dropdown-menu a {
    padding: 0.6rem 1rem;
    display: block;
    border-radius: 0.4rem;
    background-color: white;
    margin-bottom: 0.5rem;
  }
  }
  
        /*-------------------------------Zoom-In-------------------------------------*/
      
        