.main-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.main-header:hover{
    background-color: rgba(0, 0, 0, 0.3);
    padding-top: 30px;
    padding-bottom: 40px;
}

.main-header .logo {
    display: block; 
    width: 160px;
    height: 160px;
    background-image: url("/img/logo.png");
    background-size: contain; 
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease;
    transform: scale(1);
}

.main-header .logo:hover {
    transform: scale(1.05);
}

.main-header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.main-header nav ul {
    align-items: center;
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
}

.main-header nav ul li {
    position: relative;
    text-align: center;
    cursor: pointer;
}

.main-header nav ul li a {
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
    color: var(--white);
    transition: color 0.3s ease, border-bottom 0.3s ease, transform 0.3s ease;
    border-bottom: 2px solid transparent;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    transform: scale(1);
    display: inline-block;
}

.main-header nav ul li a:hover {
    border-bottom: 2px solid var(--white);
    transform: scale(1.05); 
}

.main-header nav ul .dropdown:hover .dropdown-menu {
    display: block;
}

.main-header nav ul .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--dropdown-border);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    list-style: none;
    z-index: 1000;
}

.main-header nav ul .dropdown-menu li {
    margin: 0;
}

.main-header nav ul .dropdown-menu li a {
    white-space: nowrap;
    box-sizing: border-box;
    display: block;
    padding: 8px 20px;
    color: var(--white);
    font-size: 15px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.main-header nav ul .dropdown-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: scale(1); 
}

.donate-button {
    background-color: var(--donate-btn);
    color: var(--white) !important;
    padding: 10px 20px;
    border: 2px solid #388e3c;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.donate-button:hover {
    background-color: var(--donate-btn-hover);
    border-color: var(--donate-btn);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
}

.container-right {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.whatsapp {
    display: flex;
    align-items: center;
    padding: 10px 10px;
    background-color: #25D366;
    border-radius: 25px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
}

.whatsapp:hover {
    background-color: #1ebe57;
    transform: scale(1.05);
}

.whatsapp-icon {
    width: 24px;
    height: auto;
    filter: brightness(0) invert(1);
}

.language select{
    padding: 8px 12px;
    font-size: 14px;
    border: 1px solid var(--hover);
    border-radius: 5px;
    background-color: var(--white);
    color: var(--text);
    outline: none;
    transition: border-color 0.3s ease;
    cursor: pointer;
}

.language select:focus {
    border-color: var(--donate-btn-hover);
}

.mobile-header {
    display: none;
    top: 0;
    width: 100%;
    background-color: var(--background);
    padding: 10px;
    box-sizing: border-box;
    z-index: 1001;
    height: 80px;
    position: fixed;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .mobile-header {
        display: flex;
        align-items: center;
    }

    .main-header {
        display: none;
    }
}

.top-bar {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-icon {
    width: 45px;
    height: 45px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-icon img{
    width: 100%;
    height: 100%;
}

.mobile-header .logo{
    display: block; 
    background-image: url("/img/logo-solo.png");
    background-size: contain; 
    background-repeat: no-repeat;
    background-position: center;
    width: 45px;
    height: 45px;
}

.right-icons, .left-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-menu {
    text-align: left;
    position: fixed;
    top: 80px;
    left: -100%;
    width: 80%;
    height: 100%;
    background-color: var(--background);
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.3s ease-in-out;
}

.mobile-menu.open {
    transform: translateX(110%);
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu ul li {
    margin: 10px 0;
}

.mobile-menu ul li a {
    text-decoration: none;
    color: var(--text);
    font-size: 16px;
    display: block;
    padding: 10px;
    transition: background-color 0.3s;
}

.mobile-menu ul li a:hover {
    background-color: var(--hover);
    color: var(--white);
}

.mobile-header .dropdown-menu {
    display: none;
    padding-left: 15px;
}

.mobile-header .dropdown:hover .dropdown-menu {
    display: block;
}