/* @import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap'); */

* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
}

body {
    /* font-family: 'Poppins', sans-serif; */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6; 
}

/* Top Bar Styles */
.top-bar {
    background: #3498db;
    color: white;
    display: flex;
    justify-content: space-between;
    padding: 5px 20px;
    font-size: 14px;
}

.top-bar a {
    color: white;
    margin-right: 15px;
    display: inline-flex;
    align-items: center;
}

.top-bar a i {
    margin-right: 5px;
}

.top-bar-right a {
    margin-right: 0;
}

/*Nav Bar Styles*/
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 143px;
    width: 100%;
    font-size: 18px;
    background-color: white;
}

.header .logo {
    height: 130px;
    width: 130px;
    margin-left: 20px;
    margin-top: -10px;
    padding: 5px;
    display: flex;
}

.header .logo img {
    height: 100%;
    width: 100%;
}

.header .menu {
    margin-right: 30px;
    margin-top: -25px;
}

.header .menu ul li {
    display: inline-block;
}

.header .menu ul li a {
    color: black;
    padding: 10px 20px;
}

.header .menu ul li a:hover {
    /*    border-bottom: 2px solid #3498db;*/
    color: #3498db;
    transition: 0.3s;
}

.header #bar-animation {
    display: none;
    position: relative;
    height: 20px;
    width: 20px;
    margin-right: 20px;
    cursor: pointer;
}

.header #bar-animation span {
    position: absolute;
    height: 2px;
    width: 100%;
    background-color: black;
}

.header #bar-animation span::before {
    content: '';
    position: absolute;
    height: 2px;
    width: 70%;
    right: 0;
    margin-top: 50%;
    transform: translateY(-50%);
    background-color: black;
}

.header #bar-animation span::after {
    content: '';
    position: absolute;
    height: 2px;
    width: 100%;
    margin-top: 100%;
    background-color: black;
}

#bar-animation.active-bar span::before {
    transition: 1s;
    opacity: 0;
}

#bar-animation.active-bar span {
    transition: 1s;
    transform: translateY(13px) rotate(45deg);
}

#bar-animation.active-bar span::after {
    transition: 1s;
    transform: translateY(-20px) rotate(-90deg);
}

.menu-wrapper.fullwidth {
    transition: 0.3s;
    left: 0;
}

/* Donate Button Styles */
.donate-btn {
    background-color: #3498db;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.donate-btn:hover {
    background-color: #1b6698;
}

@media(max-width:860px) {

    .header #bar-animation {
        display: block;
        z-index: 1000;
    }

    .menu-wrapper {
        position: absolute;
        width: 100%;
        height: 100vh;
        top: 0;
        left: -150%;
        z-index: 999;
        background-color: rgba(0, 0, 0, 0.7);
    }

    .header .menu {
        position: absolute;
        margin-top: 100px;
        width: 50%;
        left: 50%;
        font-size: 16px;
        text-align: center;
        transform: translateX(-50%);
    }

    .menu ul li {
        position: relative;
        width: 100%;
        left: -100%;
        padding: 10px 20px;
    }

    .header .menu ul li a {
        color: white;
    }

    .menu.demo ul li:nth-child(1) {
        animation: 1s fade;
        animation-fill-mode: forwards;
    }

    .menu.demo ul li:nth-child(2) {
        transition-delay: 3s;
        animation: 2s fade;
        animation-fill-mode: forwards;
    }

    .menu.demo ul li:nth-child(3) {
        transition-delay: 3s;
        animation: 3s fade;
        animation-fill-mode: forwards;
    }

    .menu.demo ul li:nth-child(4) {
        transition-delay: 3s;
        animation: 4s fade;
        animation-fill-mode: forwards;
    }

    .donate-btn {
        margin-left: 40px;
    }
}

@keyframes fade {
    0% {
        left: -50%;
    }

    100% {
        left: 0;
    }
}

/*BACK TO TOP BUTTON*/
#back-to-top-btn {
    display: none;
    /* Initially hide the button */
    position: fixed;
    /* Fixed position on the screen */
    bottom: 20px;
    /* Adjust the vertical position as needed */
    right: 20px;
    /* Adjust the horizontal position as needed */
    z-index: 999;
    /* Ensure it's above other content */
    background-color: #3498db;
    /* Button background color */
    color: white;
    /* Button text color */
    border: none;
    /* Remove border */
    border-radius: 250px;
    /* Rounded shape */
    padding: 15px;
    /* Adjust size */
    font-size: 25px;
    /* Adjust text size */
    cursor: pointer;
    /* Show pointer cursor on hover */
}

#back-to-top-btn:hover {
    background-color: #1b6698;
    /* Change background color on hover */
}

@media(max-width:860px) {
    #back-to-top-btn {
        font-size: 18px;
    }
}


/*DROPDOWN MENUZZ*/
.header .menu ul li {
    position: relative;
    /* Ensure the dropdown menu is positioned correctly */
}

.header .menu ul li.dropdown:hover .dropdown-menu {
    display: block;
    /* Show the dropdown menu on hover */
}

.header .menu ul .dropdown-menu {
    margin-top: 10px;
    display: none;
    /* Hide the dropdown menu by default */
    position: absolute;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    min-width: 150px;
    /* Set a minimum width for the dropdown menu */
}

.header .menu ul .dropdown-menu li {
    display: block;
    /* Make the dropdown items block elements */
}

.header .menu ul .dropdown-menu li a {
    color: black;
    /* Dropdown text color */
    padding: 10px 20px;
    /* Dropdown item padding */
    text-align: left;
    white-space: nowrap;
    /* Prevent text from wrapping */
}

.header .menu ul .dropdown-menu li a:hover {
    color: #3498db;
}

@media(max-width:860px) {

    .header .menu ul .dropdown-menu li {
        background-color: whitesmoke;
        border-radius: 30px;
        padding: 1px;
    }
}