@font-face {
    font-family: "BeVietnamPro";
    src: url("/assets/fonts/BeVietnamPro/BeVietnamPro-Regular.ttf")
    format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "BeVietnamPro";
    src: url("/assets/fonts/BeVietnamPro/BeVietnamPro-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "BeVietnamPro";
    src: url("/assets/fonts/BeVietnamPro/BeVietnamPro-Italic.ttf")
    format("truetype");
    font-weight: 400;
    font-style: italic;
}

body {
    font-family: "BeVietnamPro", sans-serif;
    margin: 0;
    padding: 0;
    color: #654104;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    font-family: "BeVietnamPro", sans-serif;
    margin: 0;
}

* {
    box-sizing: border-box;
}

nav a {
    text-decoration: underline !important;
    color: inherit;
}

a:hover {
    /* text-decoration: none; */
    opacity: 0.7;
}

a.dark:hover{
    opacity: 1;
    position: relative;
}

a.dark:hover::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.08);
    z-index: 1;
}

.main-menu a::after {
    content: " ▼";
}

.submenu {
    display: none;
    flex-direction: column;
    gap: 8px;
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 180px;
    background: rgba(0, 0, 0, 0.35);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.14);
    z-index: 10;
    border-radius: 8px;
    line-height: 14px;
    padding: 4px 12px;
}
.submenu a {
    text-decoration: unset !important;
    font-size: 14px;
}

.main-menu:hover .submenu {
    display: flex;
}

#mobile-menu .mobile-dropdown-toggle::after {
    content: " ▼";
}

.mobile-dropdown-toggle::after {
    transition: transform 0.3s ease;
}

.mobile-dropdown-toggle.active::after {
    transform: rotate(180deg);
}

.mobile-submenu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-top: 8px;
}

.mobile-submenu.active {
    display: flex;
    max-height: 200px;
    padding: 8px 0;
}

.mobile-submenu.dark {
    background: rgba(101, 65, 4, 0.8);
    color: #fff;
}

.button-ant-style {
    position: relative;
    display: inline-block;
    padding: 12px 24px;
    font-weight: bold;
    border: none;
    border-radius: 24px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1;
}

.button-ant-style::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: currentColor; /* sử dụng màu chữ hiện tại */
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.button-ant-style:hover::after {
    opacity: 0.1; /* hiệu ứng sáng nhẹ */
}

.button-ant-style span {
    position: relative;
    z-index: 1;
}

.container-2 {
    width: calc(100% - 20px);
    margin: auto;
    min-height: 400px;
    height: auto;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: visible;
}

@media (min-width: 768px) {
    .container-2 {
        width: calc(100% - 80px);
        min-height: 600px;
        padding: 40px 0;
    }
}

@media (min-width: 1024px) {
    .container-2 {
        width: calc(100% - 100px);
        height: 768px;
        padding: 0;
    }
}

.border-custom {
    border: 2px solid #654104;
    border-radius: 10px;
    background-color: #f5f5f5; /* Màu nền nhẹ */
    padding: 4px 8px;
    min-height: 40px;
}

/* Tất cả button sẽ có width bằng cái rộng nhất */
.button-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: fit-content;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .button-container {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
}

.discover-card {
    border-radius: 10px;
    overflow: hidden;
    flex: 1;
}
.discover-card .img-wrapper {
    height: 150px;
    width: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

@media (min-width: 768px) {
    .discover-card .img-wrapper {
        height: 188px;
        background-size: auto;
    }
}

.google-map {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    flex: 1;
}


.testimonials-card {
    display: flex !important;
    flex-direction: column;
    gap: 12px;
    border-radius: 10px;
    padding: 16px 20px;
    flex: 1;
    height: 100%;
    background: rgba(255, 255, 255, 0.55);
    color: #654104;
}
.slick-track {
    display: flex;
    gap: 50px;
    justify-content: flex-start;
}

.slick-track:before {
    display: none;
}

.slick-list {
    margin-left: 0; /* đảm bảo sát trái */
}

/* .parner-card {
    flex: 1;
    aspect-ratio: 1 / 1;
} */

.contact-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    padding: 0 30px 0 50px;
}
.contact-input {
    width: 100%;
    font-size: 1.1rem;
    padding: 20px 14px;
    border: 2px solid #8d6b2b;
    border-radius: 10px;
    margin-bottom: 0;
    background: #fff;
    color: #3c2d0f;
    outline: none;
    transition: border 0.14s;
    font-family: inherit;
}
.contact-input:focus {
    border: 2px solid #3c2d0f;
}
.contact-textarea {
    min-height: 78px;
    resize: vertical;
}

.half-border {
    position: relative;
}

.half-border::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0; /* hoặc right: 0 nếu muốn ở bên phải */
    width: 50%; /* chỉ 1 nửa */
    height: 4px; /* độ dày border */
    background-color: white; /* màu border */
}

@media (max-width: 768px) {
    .contact-form {
        padding: 0;
    }
}

/* ----- MENU DROPDOWN (submenu) đẹp và đồng đều ----- */
.main-menu {
    position: relative;
}

.main-menu > a {
    display: inline-block;
    padding: 8px 12px;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #d1c7b7;
    border-radius: 4px;
    min-width: 220px;              /* ✅ độ rộng cố định */
    list-style: none;
    padding: 0;
    margin: 0;
    display: none;
    z-index: 10;
}

/* hiển thị submenu khi hover */
.main-menu:hover .submenu {
    display: block;
}

/* mỗi mục con */
.submenu li {
    border-bottom: 1px solid #e0d8cb; /* ✅ gạch ngăn cách */
}

.submenu li:last-child {
    border-bottom: none;
}

.submenu a {
    display: block;
    padding: 10px 14px;
    color: #654104;
    white-space: nowrap;           /* ✅ text luôn 1 dòng */
    transition: background 0.2s, color 0.2s;
}

.submenu a:hover {
    background: #654104;
    color: white;
}
/* cắt bớt định nghĩa dài, bấm "more" để mở rộng */
.clamp-3{
    display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical;
    overflow:hidden;
}
.def-text.expanded{ -webkit-line-clamp:unset; }

/* ảnh thumbnail gọn */
.thumb img{ object-fit:cover; }

/* sticky header đã có .sticky-top trên thead */



/* Khung băng đối tác */
.partners-marquee{
    position:relative;
    width:100%;
    max-width:1080px;
    margin:0 auto;
    height:120px;                 /* ↑ khung tổng cao hơn 1 chút */
    overflow:hidden;
    padding:10px 0;               /* ↑ tạo headroom trên/dưới */
    background:transparent;
}

/* Dải chạy (track) */
.partners-track{
    display:flex;
    align-items:center;           /* canh giữa dọc */
    gap:24px;
    height:70%;
    white-space:nowrap;
    line-height:0;                /* NGĂN khoảng trống baseline gây cắt đáy */
    animation:marquee 22s linear infinite;
}

/* item bọc logo (nên có, nếu chưa có thì thêm div quanh <img>) */
.partner-item{
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0 8px;                /* để logo không chạm mép */
    box-sizing:border-box;
    line-height:0;                /* an toàn thêm */
}

/* Ảnh logo — CHỈNH Ở ĐÂY */
.partner-logo{
    max-height:90px;              /* < 120px của khung -> không bao giờ bị cắt */
    width:auto;                   /* giữ tỉ lệ */
    height:auto;
    display:block;                /* bỏ baseline */
    object-fit:contain;           /* luôn còn đủ phần trên/dưới */
    object-position:center;
    image-rendering:auto;
}

/* pause khi hover (tuỳ chọn) */
.partners-marquee:hover .partners-track{ animation-play-state:paused; }

@media (max-width:768px){
    .partners-marquee{ height:100px; padding:8px 0; }
    .partner-logo{ max-height:80px; }
}

/* animation mượt (đã nhân đôi danh sách trong HTML) */
@keyframes marquee{
    from{ transform:translateX(0); }
    to  { transform:translateX(-50%); }
}

