body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f5f5f5;
    color: #333;
}

header {
    background-color: rgba(51, 51, 51, 0.7); 
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    min-height: 4em;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    margin-right: 20px;
    width: fit-content;
}

nav ul {
    list-style: none;
    margin: 30px;
    padding: 0;
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 20px;
    position: relative;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
    background-color: #9370DB;
    color: #333;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #333;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    color: #fff;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    border: 2px solid rebeccapurple;
}

.dropdown-content a:hover {
    background-color: #9370DB;
    color: #333;
}

.dropdown:hover .dropdown-content {
    display: block;
}




/* Hamburger Menu Styles */
.menu-toggle {
    display: none; /* Hide checkbox by default */
}

.menu-icon {
    display: none; /* Hide hamburger icon by default */
    cursor: pointer;
    font-size: 24px;
    margin-right: 20px;
    color: #fff;
}

/* Media query for small screens */
@media (max-width: 800px) {
    .menu-icon{
        display: block;
        position: inherit;
        right: 1%;
    }
    .menu-toggle:checked ~ .menu-icon {
        display: block; 
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        background-color: rgba(51, 51, 51, 0.7);
        width: 100%;
        padding: 10px 0;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        z-index: 100;
        height: 100vh;
        margin: revert;
    }

    nav ul li {
        margin-left: 0;
        text-align: center;
        padding: 3%;

    }

    nav ul li a {
        padding: 10px 0;
        width: 100%;
        border-radius: 0;
    }

    nav ul li:hover > .dropdown-content {
        display: block; /* Show dropdown on hover */
    }

    .menu-toggle:checked ~ nav ul {
        display: flex; /* Show nav links when menu is toggled */
    }
}


.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-button img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.whatsapp-button img:hover {
    transform: scale(1.1);
}
