header {
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 10px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 999;
}

header .logo img {
    height: 60px;
    margin-left: 35px;
}
.navbar {
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
}
.navbar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.navbar li a {
    display: block;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    position: relative;
    color: var(--color-5);
}

.navbar li a:hover {
    color: var(--accent-5);
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
}

.navbar li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 0px;
    height: 3px;
    background-color: var(--accent-5);
    transition: width 0.5s ease-out;
}

.nav-links a:hover::after {
    width: 80%; /* The underline will appear from right to left */
}

header.have-bg {
    position: relative;
    background-color: var(--bg-1);
}
/* to show as burger menu on mobile and tablet  */
.icon {
    display: none;
}

@media screen and (max-width: 600px) {
    .navbar ul {
        display: none;
        flex-direction: column;
    }
    .navbar ul.responsive {
        display: flex;
    }
    .icon {
        display: block;
        color: #811111;
        padding: 14px 16px;
        text-decoration: none;
        font-size: 17px;
    }
}

/*===========*/
/* footer   */
/*===========*/

footer {
    padding: 20px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
}
footer img {
    height: 60px;
    margin-left: 35px;
}
footer .social-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    list-style: none;
    margin-right: 90px;
}

footer .social-container .social-links svg {
    width: 25px !important;
    height: auto;
    fill: var(--sec-color-5);
}

@media screen and (max-width: 600px) {
    footer {
        flex-direction: column;
        gap: 30px;
        justify-content: center;
        align-items: center;
    }
}
