/* .header{
    background-color: aqua;
} */
.top-bar {

    width: 100%;
    height: 7%;
    border-bottom: 1px solid rgb(0, 0, 0, 0.2);
    display: flex;
    position: fixed;
    top: 0;
    background: white;
    z-index: 999;
    transition: top 0.5s ease;
}

.contact-left {
    width: 40%;
    padding: 10px;
    display: flex;
    align-items: center;
}

.contact-left a {
    text-decoration: none;
    color: black;
    padding: 0 10px;
}

.contact-left i {
    font-size: 20px;
    background-color: none;
    color: rgb(0, 77, 139);
}

.contact-left i:hover {
    scale: 1.2;
    transition: .2s;
}

.contact-right {
    width: 60%;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: right;
}

.contact-right span {
    text-decoration: none;
    color: black;
    padding: 0 15px;
    font-size: 12px;
}

.contact-right i {
    font-size: 10px;
}

.contact-right a {
    font-size: 12px;
}

.special-contact {
    display: none;
}

/* =============== */
.menu-bar {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    border-radius: var(--box-radius);
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    padding: 10px 20px;
    z-index: 1000;
    transition: top 0.1s ease;
}

.menu-bar {

    display: flex;
    position: fixed;
    top: 0;
    /* ដាក់ top ដើម្បីអោយ position fixed ដំណើរការ */
    left: 0;
    right: 0;
    border-radius: var(--box-radius);
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    padding: 10px 20px;
    z-index: 1000;
    transition: top 0.1s ease;

}



.menu-left {
    width: 20%;

}

.menu-left span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
    height: auto;
}

.menu-left img {
    margin: 0px 0 0 0;
    display: block;
    width: 70%;
    height: 100%;
}

.menu-mid {
    width: 70%;
    height: 100%;
}

.navigation {
    width: 100%;
    height: 100%;
    font-weight: 600;
}

.navigation i {
    font-size: 13px;
    padding: 0 5px;
}

.nav-menu {
    width: 100%;
    height: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-menu li {
    position: relative;
    height: 100%;
    ;
}

.nav-menu li a {
    font-family: "Ancizar Serif", serif;
    height: 100%;
    padding: 22px 20px;
    text-decoration: none;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
}

.nav-menu li:first-child a {
    color: rgb(0, 77, 139);
}

.dropdown {
    width: 220px;
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.dropdown-a {
    width: 380px;
    columns: 2;
    column-gap: 10px;
}

.nav-menu li:hover .dropdown {
    display: block;
}

.dropdown li {
    margin-bottom: 5px;
    list-style: none;
    padding: 0;
}

.dropdown li:last-child {
    margin-bottom: 0;
}

.dropdown li a {
    list-style: none;
    display: block;
    padding: 10px 25px;
    text-decoration: none;
    color: black;
    font-size: 14px;
}

.dropdown li:first-child a {
    color: black;
}

.dropdown li a:hover {
    background-color: #f9f9f9;
}

.menu-right {
    width: 15%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-right button {
    text-decoration: none;
    padding: 15px 30px;
    background-color: rgb(0, 77, 139);
    color: white;
    font-weight: 600;
    border-radius: 2px;
    cursor: pointer;
    border: none;
    outline: none;
}

.menu-right .donate-btn {
    background: rgb(0, 77, 139);
    color: rgb(255, 255, 255);
    border: none;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 6px;
    position: relative;
}

.menu-right .donate-btn:hover {
    background: rgb(0, 77, 139);
    color: transparent;
}

.menu-right .donate-btn:hover::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    /* Adjust as needed */
    height: 24px;
    /* Adjust as needed */
    background-image: url('/skmh.org/images/icon/thanks-for-donate.png');
    background-size: contain;
    background-repeat: no-repeat;
}

.menu-btn {
    display: none;
}

.logo {
    display: none;
}

#appt-btn2 {
    display: none;
}

.side-bar {
    display: none;
}

.menu-bar2 #donate-btn-phone {
    display: none;
    font-family: "Ancizar Serif", serif;
}

/* ===== General Daniel Styles ===== */

/* HD screen */
@media (max-width: 1366px) {
    .contact-left i {
        font-size: 18px;
        background-color: none;
        color: rgb(0, 77, 139);
    }

    .menu-left img {
        display: block;
        /* height:100%; */
    }

    .menu-right button {
        text-decoration: none;
        padding: 10px 20px;
        background-color: rgb(0, 77, 139);
        color: white;
        font-weight: 600;
        border-radius: 2px;
        cursor: pointer;
        border: none;
        outline: none;
    }

    .nav-menu li a {
        font-family: "Ancizar Serif", serif;
        height: 100%;
        padding: 0px 5px;
        text-decoration: none;
        color: #333;


        justify-content: center;
        align-items: center;
        font-size: 15px;
    }

}




/* PHone */
@media (max-width: 787px) {
    .logo {
        display: block;
    }

    #appt-btn2 {
        display: block;
    }

    .contact-left {
        width: 15%;
    }

    .contact-left a {
        text-decoration: none;
        color: black;
        padding: 0 3px;
    }

    .contact-left i {
        font-size: 15px;
        background-color: none;
        color: rgb(1, 68, 122);
    }

    .contact-right {
        width: 80%;
        padding: 5px;
        display: flex;
        align-items: center;
        justify-content: right;
    }

    .contact-right span {
        text-decoration: none;
        color: black;
        padding: 0 5px;
        font-size: 10px;
    }

    .contact-right i {
        font-size: 7px;
    }

    .contact-right a {
        font-size: 9px;
    }

    .special-contact {
        display: block;
        position: absolute;
        width: 120px;
        height: 50px;
        background: white;
        top: 0px;
        right: 0;
    }

    .special-contact {
        font-size: 6px;
    }

    .khea-center {
        text-align: center;
        display: block;
    }

    .khea-center span {
        display: block;
    }

    .menu-bar {
        display: none;
    }

    .menu-bar2 {

        width: 100%;
        position: fixed;
        top: 6%;
        height: 9%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 15px;
        padding-left: 20px;
        transition: top 0.1s ease;
        background: rgb(255, 255, 255);
    }

    .menu-bar2 img {
        width: 120px;
        height: auto;
        display: block;
    }

    .menu-bar2 button {
        padding: 10px;
        background-color: rgb(0, 77, 139);
        color: white;
        border: none;
        outline: none;
        border-radius: 2px;
    }

    .menu-bar2 #donate-btn-phone {
        display: block;
    }

    .menu-btn {
        display: block;
        font-size: 30px;
    }

    .side-bar {
        position: fixed;
        display: block;
        background: white;
        backdrop-filter: blur(15px);
        width: 50%;
        height: 86%;
        top: 14%;
        left: -50%;
        overflow: hidden;
        transition: 0.3s ease;
        transition-property: left;
        z-index: 999;
    }

    .side-bar.active {
        left: 0;
    }

    .side-bar .menu {
        width: 95%;
        height: 70%;
        margin-top: 10px;
        overflow-y: auto;
    }

    .side-bar .menu .item {
        position: relative;
        cursor: pointer;
    }

    .side-bar .menu .item:hover i {
        scale: 1.2;
        transition: 1s;
    }

    .side-bar .menu .item:hover .fa-angle-right {
        scale: 1.2;
        transition: 1s;
        transform: none;
        color: #00075E;
    }

    .side-bar .menu .item a {
        color: #000000;
        font-size: 14px;
        text-decoration: none;
        display: block;
        padding: 5px 20px;
        line-height: 30px;
    }

    .side-bar .menu .item a:hover {
        background: none;
        transition: 0.3s ease;
    }

    .side-bar .menu .item i {
        font-size: 16px;
        margin-right: 10px;
    }

    .side-bar .menu .item a #dropdown {
        position: absolute;
        right: 0;
        margin: 10px;
        transition: 0.3s ease;
    }

    .side-bar .menu .item .sub-menu {
        background: rgba(255, 255, 255, 0.1);
        display: none;
        width: 70%;
        text-align: left;
        margin-left: 13%;
    }

    .side-bar .menu .item .sub-menu a {
        padding-left: 5px;
        line-height: 20px;
        font-size: 13px;
    }

    .side-bar .menu .item .sub-menu a:hover {
        background: rgba(0, 187, 194, 0.2);
    }

    .rotate {
        transform: rotate(180deg);
    }

    .menu-bar2 .donate-btn {
        background: rgb(0, 77, 139);
        color: rgb(253, 253, 253);
        border: none;
        cursor: pointer;
        padding: 5px 10px;
        border-radius: 6px;
        position: relative;
    }

    .menu-bar2 .donate-btn:hover {
        background: rgb(0, 77, 139);
        color: transparent;
    }

    .menu-bar2 .donate-btn:hover::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 24px;
        /* Adjust as needed */
        height: 24px;
        /* Adjust as needed */
        background-image: url('/skmh.org/images/icon/thanks-for-donate.png');
        background-size: contain;
        background-repeat: no-repeat;
    }


}



/* ===== Daneil===== */


.daniel {
    margin-top: 3.2%;
    display: flex;
    /* Stack on mobile */
    gap: 20px;
    padding: 3% 0 0 0;
    background: #ffffff;


}

.daniel-left,
.daniel-right {
    width: 100%;
    /* min-height: 600px; */
    border: 5px solid rgb(0, 77, 139);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);

}

/* Responsive Image (left column) */
.daniel-left {
    overflow: hidden;
    border-radius: 12px;
    min-height: 220px;
}

.daniel-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.daniel-left:hover img {
    transform: scale(1.03);
}

/* Content Card (right column) */
.daniel-right {
    display: flex;
    justify-content: center;
}

.daniel-right-text {
    width: 100%;
    height: 100%;
    padding: 20px;
    margin: 0 auto;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

}

.daniel-right-text>span:first-of-type {
    font-size: 2.3rem;
    font-weight: 700;
    justify-content: center;
    text-align: center;
    color: green;
}

.daniel-right-text>img {
    width: 100%;
    max-width: 200px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    margin: 20px 0 30px;

}

.daniel-right-text>span:last-of-type {
    font-size: 1.1rem;
    color: #4b5563;
    text-align: center;
}

.box-style-sokhea {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;


}

/* Breakpoint for Larger Screens */
@media (max-width: 787px) {
    .daniel {

        flex-direction: column;
        margin: 8% 0 0 0;
    }

    .daniel-right-text>span:first-of-type {
        font-size: 1.5rem;
        font-weight: 600;
        justify-content: center;
        text-align: center;
        color: green;
    }

    .daniel-right-text>img {
        margin: 10px 10px;
        width: auto;
        height: 80px;

    }

    .daniel-right-text>span:last-of-type {
        font-size: 1rem;
        color: #4b5563;
        text-align: center;
    }

}


/* ===== Daneil===== */