html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: var(--secondary-dark-color);
    height: 100dvh;
    display: flex;
    flex-direction: column;
}

/*the header part*/
/* Sticky Header */
.sticky-header {
    position: sticky;
    background: linear-gradient(90deg, var(--main-dark-color), var(--main-dark-color)); /* Dégradé subtil : bleu sarcelle vers vert d'eau */
    border-bottom: 1px solid var(--main-color);
    box-shadow: 0 2px 10px var(--main-color);
    height: var(--header-height);
}

.header-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

/* Page Title */
.page-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5em;
    color: #ffffff;
    margin: 0;
    text-align: center;
}

/* Burger Menu */
.burger-menu {
    font-size: 2em;
    color: #ffffff;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.burger-menu:hover {
    transform: scale(1.1);
}

/* Padding pour éviter que le header ne cache le contenu */
body {
    padding-top: 60px; /* Ajuster selon la hauteur du header */
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-title {
        font-size: 1.2em;
    }

    .burger-menu {
        font-size: 1.75em;
    }
}


/*the footer part*/
/* Sticky Footer */
.sticky-footer {
    position: sticky;
    bottom: 0;
    background: linear-gradient(90deg, var(--main-dark-color), var(--main-dark-color)) !important;
    border-top: 1px solid var(--main-color);
    box-shadow: 0 2px 10px var(--main-color);
    z-index: 1000;
    padding: 8px 1rem;
    max-height: 10dvh;
    display: flex;
    justify-content: center;
    height: var(--footer-height);
}

/* Footer Navigation */
.footer-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    flex: 1;
}

/* Navigation Item */
.nav-item {
    display: flex;
    flex: 1 1 0;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #ffffff; /* Changement de couleur du texte pour mieux contraster avec le fond coloré */
    font-family: 'Poppins', sans-serif;
    font-size: 1em;
    transition: color 0.3s ease, background 0.3s ease;
    position: relative;
    padding: 10px;
    border-radius: 10px;
    -webkit-tap-highlight-color: transparent; /* Supprime le fond bleu transparent lors du clic sur mobile */
    -moz-user-select: none; /* Supprime le fond bleu transparent lors du clic sur Mozilla */
}

.nav-item:hover {
    color: #ffe4e1; /* Couleur plus claire au survol pour un effet visuel doux */
    background: rgba(255, 255, 255, 0.1); /* Légère coloration de fond au survol */
}

.nav-item:active {
    transform: scale(0.95); /* Effet de réduction lors du clic pour imiter le comportement des boutons mobiles */
    transition: transform 0.1s ease;
}

.nav-item.active {
    background: rgba(255, 255, 255, 0.2); /* Effet plus prononcé lorsque le menu est actif */
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

/* Icons */
.nav-item i {
    font-size: 1.75em;
    margin-bottom: 0.3em;
    color: #ffffff;
    transition: transform 0.3s ease, color 0.3s ease;
}

.nav-item:hover i {
    transform: scale(1.1);
    color: #ffe4e1;
}

.nav-item span {
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-item span {
        font-size: 0.8em;
    }

    .nav-item i {
        font-size: 1.5em;
    }
}

button {
    border: 0;
}