.main-nav {
    background: #125656;
    border-bottom: 1px solid #e0e0e0;
    font-family: 'Time New Roman', sans-serif, 'khmer os battambang';
    position: relative;
}

/* Remove list points from all menus */
.menu,
.menu > li,
.dropdown-menu li {
    list-style: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    margin: 4px 0 4px 8px;
    z-index: 150;
}

.hamburger span {
    display: block;
    height: 4px;
    width: 28px;
    background: #026a53;
    margin: 4px 0;
    border-radius: 2px;
    transition: 0.3s;
}

.menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    text-align: center;
    gap: 10px;
    margin: 0;
    padding: 0 130px;
    height: 55px;
    transition: max-height 0.3s;
    font-family: 'Time New Roman','Khmer OS Battambang';
}

.menu > li {
    position: relative;
}

.menu > li > a {
    display: flex;
    align-items: center;
    padding: 12px 2px;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.04rem;
    font-weight: 300;
    transition: color 0.2s;
}

.menu > li > a:hover {
    color: #4bb6d8;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 80%;
    left: 0;
    min-width: 240px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border-radius: 4px;
    margin-top: 0px;
    z-index: 100;
    padding: 10px 0;
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    color: #222;
    text-decoration: none;
    font-size: 1rem;
    transition: background 0.2s;
}

.dropdown-menu li a:hover {
    background: #e6fcfc;
}

.menu > li.dropdown:hover > .dropdown-menu,
.menu > li.dropdown:focus-within > .dropdown-menu {
    display: block;
}

.menu > li.dropdown > a .fa-caret-down {
    margin-left: 4px;
    font-size: 0.9em;
}

/* Hamburger and mobile menu */
@media (max-width: 900px) {
    .hamburger {
        display: flex;
        position: absolute;
        top: -90px;
        left: -7px;
    }

    .menu {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        gap: 0;
        padding: 0 8px;
        background: #286767;
        position: absolute;
        top: 0px;
        left: 0;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        box-shadow: 0 4px 16px rgba(0,0,0,0.08);
        z-index: 100;
    }

    .menu.open {
        max-height: 800px;
        transition: max-height 0.4s;
    }

    .menu > li > a {
        width: 100%;
        padding: 12px 12px;
    }

    .dropdown-menu {
        position: static;
        min-width: 100%;
        box-shadow: none;
        margin-top: 0;
        background: #fff;
        padding-left: 16px;
    }

    .menu > li.dropdown > .dropdown-menu {
        display: none;
    }

    .menu > li.dropdown.open > .dropdown-menu {
        display: block;
    }
}

/* Optional: Hamburger animation when open */
.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* imgen style */



