@font-face {
    font-family: "icon-ui";
    src: url("icon-uia9fe.eot?.25943");
    src: url("icon-ui.eot") format("embedded-opentype"), url("icon-uia9fe.ttf?.25943") format("truetype"),
        url("icon-uia9fe.woff?.25943") format("woff"), url("icon-uia9fe.svg?.25943") format("svg");
}

*,
*:before,
*:after {
    -webkit-box-sizing: border-box !important;
    -moz-box-sizing: border-box !important;
    box-sizing: border-box !important;
}

html,
body {
    height: 100%;
}

body {
    background-color: #000;
}

.container {
    height: unset;
    margin: 0 auto;
}

#wrapper {
    padding-top: 55px;
    padding-bottom: 50px;
    height: 100%;
    /* background-image: linear-gradient(180deg, #0c8300, #010200); */
    background-color: #000;
}

.main-container {
    height: 100%;
    overflow: auto;
}

.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    z-index: 1052;
    width: 35px;
    height: 35px;
    display: none;
    background: url(../../images/hanbo/icon/loader-icon.gif) no-repeat;
    background-size: contain;
}

.lazyload {
    opacity: 0;
}

.lazyloading {
    opacity: 1;
    transition: opacity 300ms;
    background: url(../../images/loader-transparent.gif) no-repeat center;
    background-size: 2rem;
}

img.lazyload:not([src]) {
    visibility: hidden;
}

/* Popup */
#modal.modal-custom {
    display: block;
    position: fixed;
    height: 100%;
}

#modal.modal-custom::before {
    content: "";
    height: 100vh;
    width: 100vh;
    background-color: rgb(0 0 0 / 60%);
    display: block;
}

#modal.modal-custom .modal-content {
    background-color: transparent;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#modal.modal-custom .x-close {
    position: absolute;
    font-size: 25px;
    top: 0.5rem;
    right: 0.5rem;
    background-color: #dcdcdc;
    border: 2px solid #c0c0c0;
    width: 30px;
    height: 30px;
    color: #fff;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 2px;
}

/* Header */
header.top_header {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 10;
    -webkit-box-shadow: 0px 3px 3px rgb(0 0 0 / 16%);
    box-shadow: 0px 3px 3px rgb(0 0 0 / 16%);
    height: 55px;
    /* background-color: #1b375b; */
    background-image: linear-gradient(to top, #08111d, #1b375b);
    color: #fff;
    padding: 4px 8px;
    width: 100%;
}

header.top_header .container-fluid {
    display: flex;
    align-content: center;
    padding: 0;
    margin: 0;
    height: 100%;
}

header.top_header .header-logo a {
    display: block;
    height: 100%;
}

header.top_header .header-logo .logo-mobile {
    width: auto;
    height: 100%;
    margin-right: 5px;
}

header.top_header .header-right {
    position: relative;
    display: flex;
    flex: 1;
    /* flex-direction: column; */
    margin-left: auto;
}

header.top_header .header-right-btn-wrapper {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
}

header.top_header .app-time {
    position: absolute;
    float: unset;
    right: -9px;
    line-height: 1.5;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
    bottom: 0;
    text-align: right;
    display: none;
}

header.top_header .app-time span {
    color: #ffffff;
}

header .header-right-btn {
    min-width: 80px;
    padding: 1px 10px;
    color: #ffff;
    border-radius: 30px;
    text-align: center;
    background-color: #13243b;
}

header .header-right-btn:last-child {
    margin-left: 0.5rem;
}

/* Banner */
#carouselIndicators .carousel-indicators {
    z-index: 1;
}

/* Footer */
footer.footer {
    /* background: linear-gradient(to bottom, #008000 0%, #378000 100%); */
    background-image: linear-gradient(to top, #08111d, #1b375b);
    /* background-color: #1b375b; */
    position: fixed;
    align-items: center;
    height: 80px;
    z-index: 1;
    -webkit-box-shadow: 0px -3px 3px rgb(0 0 0 / 16%);
    box-shadow: 0px -3px 3px rgb(0 0 0 / 16%);
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    width: 100%;
    bottom: 0;
}

footer .footer-item {
    display: flex;
    flex: 1;
    height: 50px;
    width: 100%;
}

footer .footer-item a {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: 5px;
    padding-top: 7px;
    color: #ffffff;
}

footer .footer-item a i {
    height: 20px;
    font-size: 2.3rem;
    color: #ccb052;
    margin-bottom: 3px;
}

footer .footer-item a span {
    color: #ccb052;
    font-size: 12px;
}

/* Side Menu */
.side-menu-wrapper {
    position: fixed;
    z-index: 20;
    background-color: #000;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
    top: 0;
    bottom: 0;
    right: -270px;
    width: 270px;
    -webkit-transition: all 0.15s ease-in-out;
    transition: all 0.15s ease-in-out;
}

.side-menu-wrapper.active {
    right: 0;
}

.side-menu-wrapper .side-menu-top {
    /* background-color: #137D33; */
    background-image: linear-gradient(to top, #08111d, #1b375b);
    color: #fff;
    height: 40px;
    padding-left: 8px;
    padding-right: 8px;
    display: flex;
    align-items: center;
}

.side-menu-top .side-menu-close {
    display: flex;
    padding: 10px 5px;
    margin-left: auto;
}

.side-menu-top .side-menu-close i {
    color: #fff;
    font-size: 1.3rem;
}

.side-menu .side-menu-list {
    margin-bottom: 0;
    padding: 0;
}

.side-menu .side-menu-list-item .icon {
    color: #fff;
}

.side-menu .side-menu-list .side-menu-list-item {
    display: block;
    padding: 12px;
    display: flex;
    align-content: center;
    text-decoration: none;
    color: #fff;
}

.side-menu .side-menu-list .side-menu-list-item:hover {
    text-decoration: none;
    color: #fff;
}

.side-menu .side-menu-list .side-menu-list-item i {
    width: 40px;
    padding-right: 7px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
}

.side-menu .side-menu-list .side-menu-list-item span {
    padding: 0 5px;
    display: flex;
    align-content: center;
    color: #fff;
}

.side-menu-background {
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed;
    background-color: #000;
    opacity: 0.5;
    z-index: 16;
}

.side-menu-background.active {
    display: block;
}

.side-menu-list-item-dropdown.collapse.show {
    display: block;
    visibility: visible;
}

.side-menu-content-dropdown-item {
    padding: 7px 12px 7px 52px;
    display: flex;
    align-content: center;
}

.side-menu-list-item .fa-chevron-down {
    transform: rotate(180deg);
    padding-right: 0 !important;
    margin-left: auto;
}

.side-menu-list-item.collapsed .fa-chevron-down {
    transform: rotate(0deg);
}

.side-menu-content-dropdown-item img {
    width: 22px;
}

.side-menu-content-dropdown-item span {
    padding-left: 5px;
}

.side-menu-content-dropdown-item span.selectedLang {
    /* color: #137D33; */
    color: #fff;
}

.side-menu-list-item .icon {
    font-family: "icon-ui";
    display: inline-block;
    font-weight: normal;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-feature-settings: "liga";
    font-feature-settings: "liga";
    font-size: 24px;
    line-height: 1;
    width: 24px;
    height: 24px;
    vertical-align: bottom;
}

.icon-my-account:before {
    content: "";
}

.icon-result:before {
    content: "";
}

.icon-logout:before {
    content: "";
}

/* Login */
.form_main {
    width: 100%;
    box-sizing: border-box;
    padding: 15px;
    overflow: hidden;
    margin: 0 auto;
}

.form_main .title {
    width: 100%;
    height: 70px;
    line-height: 70px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    text-transform: capitalize;
    color: #fff;
    position: relative;
    border-bottom: none;
    border-top-right-radius: 25px;
    border-top-left-radius: 25px;
    border: 1px solid #fff;
    background-color: transparent;
}

.form_contant {
    box-sizing: border-box;
    width: 100%;
    padding: 30px;
    overflow: hidden;
    background-color: transparent;
    border: 1px solid #fff;
    border-top: none;
    border-bottom-right-radius: 25px;
    border-bottom-left-radius: 25px;
}

.form_main input {
    height: 40px;
    padding: 0 10px;
}

.login-wrapper .form_main input#password {
    padding-right: 40px;
}

.form_main .form-group {
    position: relative;
}

.form_main #toggle_pass {
    width: 2rem;
    height: 40px;
    font-size: 1.4rem;
    position: absolute;
    top: 5px;
    padding: 5px;
    right: 10px;
    color: #ccc;
}

.code-match {
    background: none;
    background-color: #333;
    border: 1px solid transparent;
    color: #666;
    width: 100%;
    height: 40px;
    line-height: 40px;
    text-align: center;
    color: #fff;
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 700;
    border-radius: 5px;
    display: inline-block;
}

.btn-login,
.btn-register {
    background-image: linear-gradient(to top, #08111d, #1b375b);
}

.form_contant .btn-login,
.form_contant .btn-register {
    color: #fff;
    border-radius: 5px;
}

.form_contant .btn-login.btn:active,
.form_contant .btn-register.btn:active {
    background-image: unset;
    opacity: 0.8;
    background-image: linear-gradient(
        105deg,
        rgba(174, 134, 37, 1) 0%,
        rgba(247, 239, 138, 1) 19%,
        rgba(210, 172, 71, 1) 79%,
        rgba(237, 201, 103, 1) 100%
    );
}

/* Announcement */
.announcement {
    display: flex;
    align-items: center;
    background: none;
    background-color: #0c0c0c;
    width: 100%;
    height: auto;
    padding: 8px 0;
}

.announcement i {
    width: 1.2rem;
    /* height: 1.5rem; */
    display: inline-block;
    position: relative;
    padding-right: 0;
    vertical-align: middle;
    background: url(../../images/mega789/icon/icon_announcement.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 50%;
    margin-left: 10px;
}

.marquee {
    overflow: hidden;
    position: relative;
    width: 100%;
    color: #fff;
}

/* Main */
.main-tab-wrapper,
.main-tab-content-wrapper {
    height: calc(100vh - 105px - 25vh);
    overflow-y: scroll;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.main-tab-wrapper::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.main-tab-wrapper {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

#main-tab .main-tab-btn {
    position: relative;
    /* margin: 5px auto; */
    padding: 0;
}

#main-tab .main-tab-btn.active img {
    border-color: #faf58f;
}

#main-tab .main-tab-btn.active span {
    color: #ccb052;
}

#main-tab .main-tab-btn:first-child {
    margin-top: 0;
}

#main-tab .main-tab-btn img {
    border-radius: 10px;
    width: 40px;
    height: auto;
}

#main-tab .main-tab-btn span {
    position: absolute;
    left: 0;
    bottom: 2px;
    font-size: 0.8rem;
    color: #ccb052;
    text-transform: uppercase;
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.main-tab-content .tab-pane-game {
    padding: 0;
    margin-bottom: 5px;
}

.main-tab-content .tab-pane-game a {
    display: block;
    position: relative;
}

.main-tab-content .tab-pane-game a img {
    border-radius: 10px;
    width: 100%;
    max-width: 100%;
    border: 1px solid #2c578f;
}

.main-tab-content .tab-pane-game-title {
    /* position: absolute; */
    left: 10px;
    bottom: 2px;
    font-size: 1rem;
    /* font-weight: 600; */
    /* color: #c9c663; */
    /* color: #070707; */
    color: #ffff;
}

/* Game Lobby */
.game-lobby-wrapper .tab-pane-game:last-child {
    margin-bottom: 0 !important;
}

.game-lobby-wrapper .tab-pane-game a {
    display: block;
    position: relative;
}

.game-lobby-wrapper .tab-pane-game img {
    border-radius: 10px;
    width: 100%;
    max-width: 100%;
}

.game-lobby-wrapper .tab-pane-game .tab-pane-game-title {
    position: absolute;
    left: 10px;
    bottom: 2px;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
}

/* Contact */
.contact-us-wrapper {
    color: #fff;
    background-image: url("../../images/hanbo/background/contact_us.jpg");
    background-repeat: no-repeat;
    background-size: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.btn-social {
    text-align: center;
    text-transform: capitalize;
    display: block;
    color: #fff !important;
    border-radius: 1rem;
    position: relative;
    padding: 0.75rem;
    font-size: 0.9rem;
}

.btn-telegram-blue {
    background-color: #08c !important;
}

.btn-wechat-green {
    background-color: #09b83e !important;
}

.btn-line-green {
    background-color: #00c300 !important;
}

.btn-mail-yellow {
    background-color: #ff4141 !important;
}

.btn-whatsapp-green {
    background-color: #25d366 !important;
}

.btn-livechat-black,
.btn-livechat {
    background-color: #3a3a3a !important;
}

.social-icon img {
    width: 30px;
    height: 30px;
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-content {
    display: flex;
    align-items: center;
}

.social-content span {
    color: #fff !important;
}

/* Deposit */
form .form-group .bank_logo {
    margin-top: 10px !important;
    height: unset;
    min-height: 10rem !important;
}

/* KH Poker */
.kh-poker-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0, 0, 0, 0.7);
    z-index: 20;
    display: none;
}

.kh-poker-overlay.kh-poker-overlay-active {
    display: block;
}

#kh_gaming_poker {
    border-radius: 10px;
    color: #e1c990 !important;
    border-color: #e1c990 !important;
    width: 340px !important;
}

#kh_gaming_poker .btn {
    border-color: #e1c990 !important;
    color: #e1c990 !important;
}

#kh_gaming_poker .poker_balance * {
    color: #e1c990 !important;
}

#kh_gaming_poker input {
    color: #fff;
    border: 1px solid #7a6c38;
    background-color: rgb(13 13 21 / 28%);
}

#kh_gaming_poker .ongdo_loader img {
    width: 25px !important;
    height: 25px !important;
}

@media only screen and (min-width: 480px) {
    .main-tab-wrapper,
    .main-tab-content-wrapper {
        height: calc(100vh - 105px - 30vh);
    }
}

@media only screen and (max-width: 375px) {
    .main-tab-wrapper,
    .main-tab-content-wrapper {
        height: calc(100vh - 105px - 23vh);
    }

    #main-tab .main-tab-btn span {
        font-size: 0.7rem;
        padding-right: 5px;
    }
}

@media only screen and (max-width: 320px) {
    .main-tab-wrapper,
    .main-tab-content-wrapper {
        height: calc(100vh - 105px - 20vh);
    }

    #main-tab .main-tab-btn span {
        padding-left: 7px;
    }

    .main-tab-content .tab-pane-game-title {
        font-size: 0.9rem;
    }
}
/** multiple slots ***/
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    background-color: #464c53;
}
.x-slot-num {
    position: absolute;
    z-index: 1;
    width: 50px;
    height: 30px;
    display: block;
    left: 12%;
    top: 50%;
    transform: translate(-50%, -50%);
}
/* header-style */
body {
    background-color: #0d0d0d;
    color: #fff;
    font-family: Arial, sans-serif;
    margin: 0;
}

.container-fluid {
    padding: 0;
}

.top_header {
    background-color: #1a237e;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1020;
}

.header-logo img {
    max-height: 40px;
    width: auto;
    display: block;
}

.header-right {
    justify-content: right;
    display: flex;
    align-items: center;
}

/* .header-right-btn-wrapper {
    display: flex;
    gap: 10px;
    margin-right: 20px;
} */

.header-right-btn {
    background-color: #0d47a1;
    color: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.header-right-btn:hover {
    background-color: #1565c0;
    color: #fff;
    text-decoration: none;
}

.register-btn {
    color: #ccb052 !important;
    border: 1px solid #ccb052 !important;
}

.header-item i {
    color: #000000 !important;
}
.header-item img {
    width: 30px;
}

.header-item #btn-side-menu {
    padding-top: 10px;
}

.header-item #btn-side-menu {
    color: #fff;
    font-size: 1.2em;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 15px;
}

.header-item #btn-side-menu i {
    font-size: 1.8em;
    margin-bottom: 2px;
}

.header-item #btn-side-menu span {
    font-size: 0.7em;
    display: block;
}

.side-menu-wrapper {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background-color: #1a1a1a;
    z-index: 1030;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    transition: right 0.3s ease-in-out;
    overflow-y: auto;
}

.side-menu-wrapper.show {
    right: 0;
}

.side-menu-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #333;
}
.side-menu-top img {
    width: 30px;
}

.side-menu-top-title {
    color: #ffd700;
    font-size: 1.2em;
    font-weight: bold;
}

.side-menu-close {
    color: #fff;
    font-size: 1.5em;
    cursor: pointer;
}
.side-menu-list img {
    width: 30px;
}
.side-menu-list img .side-menu-list-item collapsed {
    display: flex;
}

.side-menu-list-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: #ccc;
    text-decoration: none;
    border-bottom: 1px solid #2a2a2a;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.side-menu-list-item:hover,
.side-menu-list-item.collapsed:hover {
    background-color: #2a2a2a;
    color: #ffd700;
    text-decoration: none;
}

.side-menu-list-item i {
    margin-right: 15px;
    font-size: 1.3em;
}

.side-menu-list-item-dropdown {
    background-color: #222;
}

.side-menu-content-dropdown-item {
    display: flex;
    align-items: center;
    padding: 10px 30px;
    color: #ccc;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.side-menu-content-dropdown-item:hover {
    background-color: #333;
    color: #ffd700;
    text-decoration: none;
}

.side-menu-content-dropdown-item img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

/* .side-menu-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1025;
    display: none;
} */

.side-menu-background.show {
    display: block;
}

body.no-scroll {
    overflow: hidden;
}

.slider-wrapper {
}

.bottom-nav {
    background-color: #1c2742;
    color: #fff;
    padding: 15px 0;
    text-align: center;
}

.social-links img {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    margin-right: 5px;
}

.social-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
    font-size: 0.9em;
    display: inline-flex;
    align-items: center;
}

.social-links a:hover {
    color: #ffd700;
}

.social-links span {
    margin-left: 5px;
}
/* index-style */
body {
    margin: 0;
    font-family: "Noto Sans Khmer", "Roboto", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
    background-color: #f0f2f5;
}

.features-section {
    background-color: #1b375b;
    padding: 10px 0;
    color: #e0e0e0;
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    justify-items: center;
    align-items: start;
}

.features-grid i {
    font-size: 2.2rem;
    background: linear-gradient(
        105deg,
        rgba(174, 134, 37, 1) 0%,
        rgba(247, 239, 138, 1) 19%,
        rgba(210, 172, 71, 1) 79%,
        rgba(237, 201, 103, 1) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.features-grid span {
    color: white;
    font-size: 0.7em;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: inherit;
    padding: 20px;
    border-radius: 8px;
    transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
    cursor: pointer;
}

.feature-item:hover {
    background-color: rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.feature-item:focus {
    outline: 2px solid #ffd700;
    outline-offset: 4px;
    border-radius: 8px;
}

.feature-item img {
    width: 75px;
    object-fit: contain;
    margin-bottom: 25px;
    transition: transform 0.3s ease-in-out;
}

.feature-item:hover img {
    transform: scale(1.08);
}

.feature-item h3 {
    /* font-family: "Noto Sans Khmer", sans-serif; */
    font-size: 1.4em;
    font-weight: 600;
    line-height: 1.5;
    color: #ffff;
    margin: 0;
    padding: 0;
    text-wrap: balance;
}

.feature-item .feature-description {
    /* font-family: "Noto Sans Khmer", sans-serif; */
    font-size: 1em;
    font-weight: 400;
    color: #b0b0b0;
    margin-top: 10px;
}

@media (max-width: 992px) {
    .features-section {
        padding: 60px 0;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .feature-item img {
        width: 90px;
        height: 90px;
        margin-bottom: 20px;
    }

    .feature-item h3 {
        font-size: 1.2em;
    }
}

@media (max-width: 576px) {
    .features-section {
        padding: 8px 0;
    }

    .container {
        padding: 0 2px;
    }

    .features-grid {
        grid-template-columns: 0.7fr 0.6fr 0.6fr 0.6fr;
        gap: 5px;
    }

    .feature-item {
        padding: 5px;
    }

    .feature-item img {
        width: 40px;
        height: 40px;
        margin-bottom: 5px;
    }

    .feature-item h3 {
        color: #ccb052;
        font-size: 0.75em;
        line-height: 1.1;
        white-space: normal;
        word-break: break-word;
    }

    .features-grid span {
        font-size: 0.65em;
    }
}

@media (max-width: 380px) {
    .feature-item {
        padding: 3px;
    }

    .feature-item img {
        width: 35px;
        height: 35px;
        margin-bottom: 3px;
    }

    .feature-item h3 {
        font-size: 0.6em;
    }

    .features-grid span {
        font-size: 0.5em;
    }
}

.contact-fotter {
    /* padding-top: 50px; */
    /* padding-bottom: 50px; */
    margin-top: 0;
    /* background-color: #0A1A2E; */
    color: #e0e0e0;
}

.contact-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.horizontal-line {
    margin-left: 0;
    margin-bottom: 30px;
    /* បង្កើនគម្លាតក្រោមបន្ទាត់ */
    width: 60%;
    /* កែទទឹងបន្ទាត់ឱ្យខ្លីជាងមុនបន្តិច */
    height: 1px;
    /* ធ្វើឱ្យបន្ទាត់ស្តើង */
    background: linear-gradient(
        to right,
        rgba(106, 139, 177, 0) 0%,
        /* ចាប់ផ្តើមថ្លា */ rgba(106, 139, 177, 1) 25%,
        /* ចាប់ផ្តើមមានពណ៌ */ rgba(106, 139, 177, 1) 75%,
        /* ពណ៌ពេញរហូតដល់ 75% */ rgba(106, 139, 177, 0) 100% /* ថ្លាម្ដងទៀតនៅចុង */
    );
    border-radius: 0;
    /* មិនបាច់មាន border-radius សម្រាប់ 1px line */
    opacity: 1;
}

.contact-title {
    font-family: "Noto Sans Khmer", sans-serif;
    font-size: 1.3em;
    /* កែ Font Size */
    font-weight: 600;
    /* កែ Font Weight ឱ្យមើលទៅស្រាលជាងមុនបន្តិច */
    color: #e0e0e0;
    /* កែពណ៌អក្សរទៅជាប្រផេះស្រាល */
    margin-top: 0;
    margin-bottom: 20px;
    /* កែគម្លាតក្រោមចំណងជើង */
    text-align: center;
}

.contact-links {
    display: flex;
    gap: 20px;
    /* កែគម្លាតរវាង Link នីមួយៗ */
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 0;
    /* យក padding ចេញព្រោះ contact-section មាន padding រួចហើយ */
}

.contact-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    /* កែគម្លាតរវាង Icon និង Text */
    text-decoration: none;
    color: #e0e0e0;
}

.contact-links img {
    width: 32px;
    /* កែទំហំ Icon ឱ្យធំជាងមុន */
    height: 32px;
    object-fit: contain;
}

.contact-text {
    font-size: 1em;
    /* កែ Font Size ឱ្យធំជាងមុនបន្តិច */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
    /* អាចបង្កើន width បន្តិច */
}

@media (max-width: 768px) {
    .contact-title {
        font-size: 1.2em;
        margin-bottom: 15px;
    }
    footer .footer-item a i {
        height: 20px;
        font-size: 1.9rem;
        color: #ccb052;
        margin-bottom: 3px;
    }
    footer.footer {
        /* background: linear-gradient(to bottom, #008000 0%, #378000 100%); */
        background-image: linear-gradient(to top, #08111d, #1b375b);
        /* background-color: #1b375b; */
        position: fixed;
        height: 60px;
        z-index: 1;
        -webkit-box-shadow: 0px -3px 3px rgb(0 0 0 / 16%);
        box-shadow: 0px -3px 3px rgb(0 0 0 / 16%);
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        width: 100%;
        bottom: 0;
    }
    footer .footer-item a {
        display: flex;
        flex-direction: column;
        height: 100%;
        width: 100%;
        justify-content: center;
        align-items: center;
        padding: 5px;
        padding-top: 17px;
        color: #ffffff;
    }

    .marquee-title span {
        color: #ccb052;
        width: 95px;
        font-size: 0.8rem;
        height: 25px;
    }
}

@media (max-width: 576px) {
    .contact-section {
        padding: 0 10px;
    }

    .horizontal-line {
        width: 70%;
        margin-bottom: 15px;
    }

    .contact-title {
        font-size: 1em;
        margin-bottom: 10px;
    }

    .contact-links {
        gap: 5px;
    }

    .contact-links a {
        justify-content: center;
    }

    .contact-links img {
        width: 24px;
        height: 24px;
    }

    .contact-text {
        font-size: 0.5em;
        max-width: 220px;
    }
    .main-tab-title p {
        margin: 0;
        line-height: 200%;
        color: #ffff;
        padding-left: 12px;
    }
    .main-tab-btn {
        width: 95%;
        height: 100px;
        margin-bottom: 8px;
        background-color: #253a5c;
        /* border: 1px solid #ffffff; */
        border-radius: 12px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        text-decoration: none;
        color: #ffffff;
        font-size: 0.85em;
        transition: background-color 0.3s ease, border-color 0.3s ease;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 5px;
    }
    .marquee-title span {
        color: #ccb052;
        width: 95px;
        font-size: 0.8rem;
        height: 25px;
    }
    .footer-item img {
        width: 30px !important;
    }
    .header-item img {
        width: 30px !important;
    }
}
.footer-item img {
    width: 45px;
}

.main-marquee {
    border-radius: 10px;
    padding: 5px;
    align-items: center;
    display: flex;
    width: 95%;
    margin: 0 auto;
    border: 1px solid #182d49;
    background-color: #182d49;
}

.marquee-title {
    display: flex;
    text-align: center;
    margin: 0 auto;
    border-radius: 20px;
    border: 1px solid #172c47;
    background-color: #0f1c2e;
}

.marquee-title span {
    padding-top: 4px;
    color: #ccb052;
    width: 95px;
    font-size: 0.8rem;
    height: 25px;
}

.main-tab-wrapper {
    /* background-color: #1a2b47; */
    padding-right: 0 !important;
}

.main-tab-btn {
    width: 85%;
    height: 80px;
    margin-bottom: 8px;
    background-color: #253a5c;
    /* border: 1px solid #ffffff; */
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    color: #ffffff;
    font-size: 0.85em;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 5px;
}

.main-tab-btn:hover {
    background-color: #314d7a;
    border-color: #8f9fc0;
    cursor: pointer;
    border: 1px solid #2c578f;
}

.main-tab-btn img {
    max-width: 70%;
    height: auto;
    margin-bottom: 5px;
}

.contact-title {
    text-align: center;
    margin-bottom: 20px;
    color: #ffffff;
}

.contact-links {
    display: flex;
    justify-content: center;
    /* gap: 20px; */
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #a0c0ff;
}

.contact-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 5px;
}

.contact-text {
    font-size: 0.65em;
}
