#Css style 

/* Reset some default browser styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

header {
    position: fixed;
    width: 100%;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: white;
    transition: background 0.3s ease;
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.logo img {
   max-height: 100px;
   height: auto;
   width: auto;
   /* height: 25px;
   width: 25px; */
   max-width: 100%;
}

.menu {
    list-style: none;
    display: flex;
    gap: 20px;
}

.menu li a {
    position: relative;
    text-decoration: none;
    color: #000;
    font-size: 18px;
    transition: color 0.3s;
}
.menu li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    left: 0;
    bottom: -5px;
    background-color: blue;
    transition: width 0.3s ease;
    opacity: 0;
}
.menu li a:hover{
    color: blue;
}
.menu li a:hover::after{
    width: 100%;
    opacity: 1;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #000;
}

/* Transparence du Background   */
.menu{
    list-style: none;
    display: flex;
    gap: 20px;
    background: rgb(255, 255, 255, 0.8);
    border-radius: 5px;
    padding: 5px 10px;
    transition: background 0.3s ease;
}
.menu.show{
    display: flex;
    background: rgb(255, 255, 255, 1);
}


@media (max-width: 768px) {
    .menu {
        display: none;
        position: absolute;
        top: 60px;
        right: 20px;
        flex-direction: column;
        background: rgb(255, 255, 255, 0.95);
        padding: 10px;
        border-radius: 5px;
        /* box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); */
    }

    .menu.show {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }
}

    .popup-message {
        position: fixed;
        top: 20px;
        right: 20px;
        background-color: #007BFF;
        color: white;
        padding: 10px 20px;
        border-radius: 5px;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        opacity: 0;
        transition: opacity 0.5s, transform 0.5s;
        transform: translateY(-20px);
    }

    .popup-message.hidden {
        display: none;
    }

    .popup-message.visible {
        display: block;
        opacity: 1;
        transform: translateY(0);
    }

    .popup-message.success {
        background-color: #28a745;
    }

    .popup-message.error {
        background-color: #dc3545;
    }

