.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 !important;
    background-color: #fff; 
    color: #053763;
    border-bottom: 1px solid rgba(0,0,0,.1);
    position: sticky;
    top: 0;
    height: 65px;
    z-index: 1000;
    font-size: 15px;
    font-family: 'Maven Pro', sans-serif;
}
.navbar-logo {
    flex-shrink: 0; 
    margin-left: 15px;
}
.api-main-logo {
    object-fit: cover;
    /* overflow: visible; */
    height: 45px !important;
    width: 145px !important;
}
.navbar-left {
    display: flex;
    align-items: center;
    justify-content: center !important;
    gap: 4px;
}
.navbar-left .navbar-brand {
    margin-right: 20px;
}
.navbar-left .api-main-logo {
    object-fit: cover;
    height: 40px;
    width: 160px;
}
.navbar-left a {
    color: #053763;
    text-decoration: none;
    padding: 0 15px;
    position: relative;
    height: 42px;
    border-radius: 5px;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
}
.navbar-left a:hover {
    background-color: #e3e3e391; 
    color:#053763; 
    text-decoration: none;
}
.navbar-left a.active {
    background-color: #e3e3e391;
    color: #053763;
    text-decoration: none;
}
.navbar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0px 20px;
}
.nav-item {
    text-decoration: none;
    display: inline-block;
    font-weight: 500;
    padding: 10px 20px;
    transition: all 0.3s ease;
}
.api-btn-link {
    background-color: transparent;  
    color: #053763;    
    font-size: 15px;                 
    border: 1px solid #A4CCE7;   
    border-radius: 4px;    
    padding: .5rem 1.5rem; 
    transition: background-color 0.3s, border-color 0.3s;
    height: 40px; 
}
.api-btn-link:hover {
    color: #053763;   
    background-color: #fff;
    border: 1px solid #A4CCE7;   
    text-decoration: none;                  
}
.api-default-btn {
    background-color: #053763;            
    color: #fff;                      
    border: 1px solid #053763;            
    border-radius: 4px;   
    font-size: 15px;    
    height: 40px; 
}
.api-default-btn:hover {
    text-decoration: none; 
    opacity: 1 !important;             
}
.navbar-right a {
    margin-left: 15px;
}
.navbar-right a:first-child {
    margin-left: 0;
}
.dropdown-container {
    position: relative;
}
.dropdown-container::after {
    content: "";
    position: absolute;
    top: 100%; 
    left: 0;
    width: 120%; 
    height: 20px;
    background: transparent; 
    pointer-events: auto;
}
.dropdown-container:focus-within .multi-column-dropdown,
.dropdown-container:hover .multi-column-dropdown {
    visibility: visible;
    opacity: 1;
}
.multi-column-dropdown {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    display: none;
    top: 115%;
    left: 10% !important;
    background: #fff !important;
    box-shadow: 9px 10px 18px -2px rgba(0, 0, 0, 0.66);
    border-radius: 5px;
    z-index: 9999 !important;
    list-style: none;
    padding: 15px !important;
    width: 40rem !important;
    height: 12rem;
    min-width: 30rem !important;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
    transition: opacity 0.3sease-in-out;
    gap: 10px;
}
.product-link {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #000;
    background-color: #fff;
    cursor: pointer;
    outline: none;
}
.multi-column-dropdown li {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-left: 4px !important;
    margin-top: 0px !important;
}
.multi-column-dropdown .dropdown-item .head {
    font-family: 'Maven Pro', sans-serif;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #053763;
    font-weight: 400;
    font-size: 14px;
}
.multi-column-dropdown :before {
    top: -22px !important;
    right: 100% !important;
}
.dropdown-container:hover .multi-column-dropdown {
    display: grid !important;
}
.multi-column-dropdown .dropdown-item {
    display: block;
    color: #fff;
    text-decoration: none;
    margin: 0 !important;
}
.multi-column-dropdown .dropdown-item .head {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #053763;
    font-weight: 400;
}
.multi-column-dropdown .dropdown-item .head img {
    background-color: #bedbee6e;  
    border-radius: 5px; 
    width: 60px; 
    height: 60px; 
    margin-right: 10px;
    object-fit: contain; 
    filter: brightness(1);
}
.multi-column-dropdown .dropdown-item.custom-item-hover {
    margin: 0 !important; 
    padding: 0.4rem !important; 
    border-radius: 5px !important;
    border: transparent;
    box-shadow: none !important;
    transition: all 0.2s ease-in-out;
    box-sizing: border-box;
    height: auto; 
    padding: 10px 15px;
}
.multi-column-dropdown .dropdown-item.custom-item-hover:hover {
    background: #E8F2F9 !important; 
    margin: 0 !important; 
    cursor: pointer;
}
.multi-column-dropdown .dropdown-item.custom-item-hover:hover .head img {
    background-color: white;
}
.dropdown-container:hover .product-link {
    background-color: #fff;
    color:#053763 ;
}
.navbar-left .navbar-brand:hover {
    background-color: transparent !important;
    color: inherit !important;
}
.dropdown-container:hover .product-link{
    background-color: #e3e3e391; 
    color: #053763;
}
.hamburger-icon {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    margin-right: 6px;
    margin-top: -5px;
}
.zgh-announcement-indicator {
    position: absolute;
    top: 20%;
    left: 85%;
    transform: translateY(-50%);
    pointer-events: none;
}
.zgh-announcement-indicate {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    color: #053763;
    background: #053763b8;
    border-radius: 50%;
    width: 8px;
    height: 8px;
    animation: wave 1s infinite;
    box-shadow: 0 0 0 0 rgba(222, 84, 86, 0.3);
    position: relative;
}
.zgh-announcement-indicate::before {
    position: absolute;
    font-size: 12px;
    color: #053763;
    animation: moveRight 1s infinite ease-in-out;
}
.zgh-announcement-indicate-border {
    width: 12px;
    height: 12px;
    position: absolute;
    top: -24%;
    left: -25%;
    transform: translate(-50%, -50%);
    background: transparent;
    border: 0.5px solid #053763b8;
    border-radius: 50%;
    animation: waveLine 1s infinite;
}
@keyframes wave {
    0% {
    box-shadow: 0 0 0 0 rgba(119, 185, 221, 0.4);
    }
    100% {
    box-shadow: 0 0 0 12px rgba(222, 84, 86, 0);
    }
}
@keyframes waveLine {
    0% {
    transform: scale(1);
    opacity: 1;
    }
    100% {
    transform: scale(2);
    opacity: 0;
    }
}
@keyframes moveRight {
    0% {
    transform: translateX(0);
    }
    50% {
    transform: translateX(2px);
    }
    100% {
    transform: translateX(0);
    }
}
@media (max-width: 768px) {
    body, html {
        overflow-x: hidden;
    }
    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: auto;
        width: 100%;
        padding: 0 !important;
    }
    .navbar-logo {
        margin-right: auto;
        margin-top: -35px;
        margin-left: 0px;
    }
    .navbar-left a.active {
        height: 20% !important;
    }
    .api-main-logo {
        height: 30px !important;
        width: 88px !important;
        margin-top: 34px;
        margin-left: 4px;
    }
    .navbar-left {
        display: none ;
        flex-direction: column;
        width: 100%;
        margin-right: 15px;
        margin-left: 0;
    }
    .navbar-right {
        display: none ;
        gap: 0px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
    .navbar-left a, .navbar-right a {
        padding: 10px;
        font-size: 14px;
        text-align: center;
        margin-left: 0;
    }
    .navbar-left.menu-open {
        display: flex !important;
    }
    .navbar-right.menu-open {
        display: flex !important;
        flex-direction: row;
        gap: 15px;
        margin-left: -10px;
    }      
    .multi-column-dropdown.dropdown-open {
        display: flex !important;
    }
    .navbar-left.show, .navbar-right.show {
        display: flex; 
    }
    .navbar-right.show {
        gap: 0.75em;
    }
    .navbar-right {
        flex-direction: row;
        padding: 15px;
        margin-left: 40px; 
    } 
    .multi-column-dropdown .dropdown-item:hover {
        background: #E8F2F9 !important;
    }
    .dropdown-container:hover .multi-column-dropdown {
        display: flex !important;
        flex-direction: column !important;
        height: auto;
    }
    .multi-column-dropdown{
        display: flex;
        align-items: center;
        flex-direction: column !important;
        margin-right: 2rem !important;
        height: 13rem;
        max-width: 16.5rem !important;
        min-width: 2rem !important;
        left: -60% !important;
    }
    .multi-column-dropdown .dropdown-item .head {
        display: flex;
        align-items: center;
        flex-direction: row !important;
        font-size: 12px;
    }
    .multi-column-dropdown li {
        justify-content: center;
        margin-left: -4px !important;
        margin-top: 0px !important;
        width: 100%;
    }
    .multi-column-dropdown .dropdown-item.custom-item-hover{
        width: 100%;
    }
    .multi-column-dropdown .dropdown-item .head img {
        width: 40px;
        height: 40px;
        margin-right: 8px;
    }
    .hamburger-icon {
        display: block;
        color: #053763;
        font-size: 30px;
        background: none;
        border: none;
        cursor: pointer;
    }
}

@media (min-width: 769px) and (max-width: 1024px)  {
    body, html {
        overflow-x: hidden;
    }
    .api-main-logo{
        height: 70px;
    }
    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        height: auto;
        padding: 0px !important;
    }
    .navbar-logo {
        margin-right: auto;
    }
    .navbar-left, .navbar-right {
        display: none; 
        flex-direction: column;
        width: 100%; 
        background-color: #fff;
    }
    .navbar-left{
        margin-right: 0;
    }
    .navbar-right{
        justify-content: center;
        margin-left: 50px;
    }
    .navbar-right.show {
        display: flex; 
        flex-direction: row;
        margin: 0.1rem;
    }
    .navbar-right a {
        padding: 7px 15px;
    }
    .navbar-left.menu-open {
        display: flex !important;
    } 
    .navbar-right.menu-open {
        display: flex !important;
        gap: 15px;
        margin-left: -10px;
    }
    .multi-column-dropdown.dropdown-open {
        display: flex !important;
    }
    .navbar-left a {
        height: 44px;
        width: 150px;
        padding: 10px; 
        font-size: 16px; 
    }
    .navbar-left a:hover {
        height: 44px;
        padding: 10px; 
        font-size: 16px; 
    }
    .navbar-left.show {
        display: flex; 
        margin: 0.6rem;
    }
    .hamburger-icon {
        display: block; 
        font-size: 24px; 
        color: #053763; 
    }
    .multi-column-dropdown {
        position: absolute;
        top: 46px;
        width: 300px !important;
        left: -90% !important; 
    }
} 

@media (min-width: 1020px) and (max-width: 1428px) {
    .navbar {
        padding: 0 30px;
        justify-content: space-between;
    }
    .navbar-left {
        display: flex;
        align-items: center;
        margin-right: 20% !important;
    }
    .navbar-right {
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }
    .navbar-left a {
        padding: 10px; 
    }
    .api-main-logo {
        height: 50px;
        width: auto;
    }
    .navbar-left .navbar-brand {
        margin-right: 30px;
    }
    .multi-column-dropdown {
        left: 0;
        width: 240px !important;
        min-width: 240px !important;
    }
    .multi-column-dropdown .dropdown-item .head {
        font-size: 14px;
    }
} 