/* Header Styles */
header {
    background-color: #ffffff;
    position: fixed;
    top: 0;
    width: 100%;
    box-shadow: 0 -5px 5px 5px rgba(0,0,0,0.4);
    z-index: 1;
    padding: 0 5%;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
}


header .logo img {
    height: 100px; /* Initial height of the logo */
    transition: height 0.7s ease;
}

header .logo.small-logo img {
    height: 55px; /* Adjust the height as needed */
}

.hide-scroll {
    overflow: hidden;
}

/* Navbar Styles */
.navbar {
    position: fixed;
    overflow: hidden;
    top: 0;
    left: 100%;
    margin: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(211, 211, 211);
    transition: left 0.4s;
}

.navbar.show {
    left: 0 !important;
}

.navbar ul {
    all: unset;
    list-style-type: none;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center horizontally */
    gap: 20px;
}

.navbar ul a {
    all: unset;
    color: #444444;
    cursor: pointer;
    font-size: 28px;
    position: relative;
    text-align: center; /* Center the text */
}

.navbar ul a::after {
    content: "";
    display: block;
    width: 0;
    height: 2px;
    background-color: #444444;
    position: absolute;
    bottom: 0;
    left: 50%; /* Center the starting point */
    transform: translateX(-50%); /* Adjust to center the underline */
    transition: width 0.3s ease;
}

.navbar ul a:hover::after {
    width: 100%;
}

.navbar ul a.active {
    font-weight: bold;
}

.navbar ul a.active::after {
    width: 0%; /* 0 or 100?*/
}

.close-nav {
    text-align: right;
    margin: 5%;
}

.close-nav button {
    all: unset;
    background: transparent;
    font-size: 42px;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 3px;
}

.close-nav button:hover {
    border: 1px solid rgba(0, 0, 0, 0.8);
    font-size: 42px;
}

.menu-bar button {
    border: 1px solid rgba(0, 0, 0, 0.2);
    background: transparent;
    height: 50px;
    width: 50px;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 3px;
}

.menu-bar i {
    display: block;
    border-top: 3px solid #444444;
    border-bottom: 3px solid #444444;
}

.menu-bar i::after {
    display: block;
    content: "";
    border-top: 3px solid #444444;
    margin: 6px 0;
}

.menu-bar button:hover {
    border: 1px solid rgba(0, 0, 0, 0.8);
}

.menu-bar button:hover i {
    border-color: #222222;
}

.navbar .small-logo {
    display: none;
}

.navbar.show .small-logo {
    display: block;
    text-align: center;
    margin-top: 50px; /* Adjust the margin as needed */
}

.navbar .small-logo img {
    height: 100px; /* Adjust the height as needed */
    width: auto;
}

/* Dropdown Styles */
.dropdown-content {
    display: none;
    position: absolute;
    z-index: 1;
    padding: 10px;
    text-align: center;
    transform: translateX(-25%);
    min-width: 200px;
    background-color: white;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

.dropdown:hover .dropdown-content,
.dropdown:focus .dropdown-content {
    display: block;
}

/* Responsive Styles */
@media (min-width: 700px) {
    .navbar {
        all: unset;
        display: block;
    }

    .navbar ul {
        flex-direction: row;
        gap: 25px;
    }

    .navbar ul a {
        font-size: 23px;
    }

    .close-nav,
    .menu-bar {
        display: none;
    }
}

@media (max-width: 700px) {
    .dropdown-content {
        background-color: rgb(211, 211, 211);
    }
}

.copyright {
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    margin-top: -10px;
    padding: 0;
}

@media (max-width: 700px) {
    .copyright {
        font-size: 10px;
    }
}