@import "./variable.css";


.breadcrumb-item a,
.breadcrumb-item .breadcrumb-item-label,
.breadcrumb-item.active {
    color: var(--primary);
    font-size: 12px !important;
    font-weight: 400;
}

.bg-100 {
    background-color: var(--bg);
}

.bg-img {
    background-image: url('../../../img/pages/bg1.svg');
}

.bg-left-img {
    background-size: 50%;
    background-position: left bottom;
    background-repeat: no-repeat;
}

.bg-right-img {
    background-size: 50%;
    background-position: right bottom;
    background-repeat: no-repeat;
}

.bg-img-tech {
    background-image: url('../../../img/pages/bg2.svg');
    background-repeat: no-repeat;
    background-size: contain;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--secondary);
}

.header_nav a {
    text-decoration: none;
    color: var(--primary);
}

.logo_img {
    height: 80px;
    padding: 16px 0;
}

.group_menu {
    display: flex;
    align-items: center;
    gap: 24px;
}

.group_auth {
    gap: 24px;
}

.header_nav .register_link {
    color: var(--primary-100);
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border-radius: 18px;
    border: 1px solid var(--primary-100);
    font-size: var(--text-base);
}

.header_nav .login_link {
    color: var(--primary-900);
    background-color: var(--primary-100);
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border-radius: 18px;
    border: 1px solid var(--primary-100);
    font-size: var(--text-base);
}

.item_auth {
    cursor: pointer;
    padding: 24px 0;
    position: relative;
}

.item_auth_sub_wrapper {
    display: none;
    position: absolute;
    top: 100%;
    left: -120px;
    min-width: 240px;
    background-color: var(--primary-900);
    transition: all 0.3s ease;
    z-index: 10;
}

.item_auth_sub_wrapper_inner {
    display: flex;
    flex-direction: column;
}

.item_auth_btn {
    padding: 12px 0;
}

.name_customer {
    padding: 12px 0;
}

.item_auth:hover .item_auth_sub_wrapper {
    display: block;
}

.menu_link {
    position: relative;
    color: var(--primary);
    padding: 29px 0;
    cursor: pointer;
    font-weight: 400;
}

.menu_link:hover .menu_sub_wrapper,
.menu_sub_wrapper:hover {
    display: block;
}

.menu_sub_link {
    padding: 12px;
}

.menu_sub_link:hover {
    background-color: var(--gray-400);
}

.menu_sub_wrapper {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #f5f5f5;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    z-index: 10;
}

.menu_sub_wrapper_inner {
    display: flex;
    flex-direction: column;
    min-width: 180px;
}

.footer {
    background-color: var(--primary);
    padding: 48px 0 0 0;
}

.footer_logo {
    width: 240px;
}

.footer_copyright {
    background-color: var(--gray-900);
    padding: 12px 0;
    color: var(--primary-100);
    text-align: center;
}

.footer_copyright p {
    font-size: 12px;
    margin: 0;
}

.breadcrumb {
    background-color: transparent;
    align-items: center;
    margin: 0;
}

.breadcrumb-logo {
    width: 20px;
    height: 20px;
}

.menu_mobile {
    display: none;
}

.search_wrapper {
    position: relative;
}

.search_icon {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
}

.search_input {
    width: 100%;
    border: none;
    font-size: var(--text-sm);
    color: var(--primary);
    border: 1px solid var(--primary-900);
    padding: 12px;
    border-radius: 22px;
    padding-left: 48px;
    background-color: unset;
}

.btn-transparent {
    background-color: transparent;
    border: none;
    padding: 8px;
}

.btn-primary, .btn-outline-dark, .btn-outline-secondary {
    border-radius: 8px;
}

.search_input:focus {
    outline: none;
}

.search_input::placeholder {
    color: var(--gray-500);
}

.content-slide-up {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-out;
}

.content-slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.hamburger-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 28px;
    padding: 4px 2px;
    cursor: pointer;
}

.hamburger-btn span {
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    transition: all 0.3s ease;
}

.hamburger-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

header {
    background-color: #ffffff9a;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.breadcrumb-wrapper {
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

.scroll-to-top {
    position: fixed;
    bottom: 108px;
    right: 30px;
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.zoom-hover {
    overflow: unset !important;
    transition: all 0.3s ease;
}

.zoom-hover img {
    transition: all 0.3s ease;
}

.zoom-hover-card {
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.zoom-hover-card:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.zoom-hover:hover img {
    transform: scale(1.02);
}

.slick-arrow {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 40px;
    transform: translateY(-50%);
}

.slick-prev {
    right: 104px;
    z-index: 2;
}

.slick-next {
    right: 40px;
}

.slick-arrow img {
    width: 100%;
    height: 100%;
}

.border-card {
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.glass {
    backdrop-filter: blur(16px);
}

.banner-page {
    background-image: url('../../../img/banner-default.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    aspect-ratio: 3/1;
}

.zalo-chat-widget {
    bottom: 40px !important;
    right: 20px !important;
}

@media screen and (max-width: 768px) {
    .footer_logo_wrapper {
        text-align: center;
    }

    .footer_social {
        text-align: center;
        margin: 16px 0;
    }

    .center-mobile {
        text-align: center;
    }

    .search_icon {
        left: -24px;
        top: 24px;
    }

    .search_input {
        display: none;
    }

    .group_menu {
        display: none;
    }

    .menu_mobile {
        display: block;
        position: absolute;
        top: 12px;
        left: 12px;
    }

    .logo_img {
        height: 56px;
        padding: 8px 0;
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }

    .header_nav {
        height: 56px;
    }

    .group_menu {
        background-color: var(--gray-100);
        position: absolute;
        top: 56px;
        left: 0;
        width: 100%;
        height: calc(100vh - 56px);
        padding: 12px;
        z-index: 10;
    }

    .group_menu .menu_link {
        display: block;
        padding: 12px 0;
    }
}