@font-face {
    font-family: 'SVN-Avo';
    src: url('../webfonts/SVN-Avo bold.woff') format('woff');
    font-weight: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SVN-Avo';
    src: url('../webfonts/SVN-Avo italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

.navbar-brand img {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

@font-face {
    font-family: 'SVN-Avo';
    src: url('../webfonts/SVN-Avo bold italic.woff') format('woff');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

:root {
    --primary-color: #0081D5; /* Xanh dương chủ đạo */
    --secondary-color: #FF9B19;
    --third-color: #FF6332;
    --orange-color: #FF9B19; /* Cam điểm nhấn */
    --text-color: #212121;
    --light-bg: #F6F7F6; /* Màu nền xám nhạt */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*, ::after, ::before {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-size: 0.875rem;
    /*14px*/
    line-height: 140%;
    font-family: "SVN-Avo", sans-serif;
    overflow-x: clip;
    font-weight: 400;
    color: #222;
}

li, ol, ul {
    padding: 0;
    /*list-style: none;*/
    margin: 0;
}

a {
    text-decoration: none;
    /* -webkit-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out; */
}

h1, h2, h3, h4, h5, h6, p {
    padding: 0;
    margin: 0;
    /* -webkit-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out; */
}

/* UTILITIES */
.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-warning {
    background-color: var(--orange-color) !important;
}

.text-warning {
    color: var(--orange-color) !important;
}

.bg-danger {
    background-color: var(--third-color) !important;
}

.text-danger {
    color: var(--third-color) !important;
}

.fs-7 {
    font-size: 0.9rem;
}

.fs-8 {
    font-size: 0.8rem;
}

.hover-primary:hover {
    color: var(--primary-color) !important;
    transition: 0.3s;
}

.hover-opacity:hover {
    opacity: 0.7;
    transition: 0.3s;
}

.hover-opacity-100 {
    transition: 0.3s;
}

.hover-opacity-100:hover {
    opacity: 1 !important;
    filter: grayscale(0%);
    cursor: pointer;
}

button {
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
}

input, textarea {
    outline: 0;
}

textarea {
    resize: vertical;
}

img {
    height: auto;
    max-width: 100%;
    object-fit: cover;
}

.hover-linear:hover {
    background: linear-gradient(90deg, #0F8BFF 0%, #0C39CD 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.thumb {
    overflow: hidden;
}

    .thumb img {
        overflow: hidden;
        transition: all linear .3s;
    }

    .thumb:hover img {
        transform: scale(1.2);
    }

.line-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

    .line-clamp.clamp2 {
        -webkit-line-clamp: 2;
    }

    .line-clamp.clamp3 {
        -webkit-line-clamp: 3;
    }

    .line-clamp.clamp4 {
        -webkit-line-clamp: 4;
    }

    .line-clamp.clamp5 {
        -webkit-line-clamp: 5;
    }

.form-check-input:focus {
    box-shadow: none;
}

#back-to-top {
    position: fixed;
    bottom: 15%;
    right: 2%;
    width: 50px;
    height: 50px;
    font-size: 14px;
    background: #1574D3;
    border-radius: 100%;
    -webkit-box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    text-align: center;
    -webkit-transition: opacity 0s ease-out;
    -o-transition: opacity 0s ease-out;
    transition: opacity 0s ease-out;
    z-index: 90;
    display: none;
    color: #fff;
}

    #back-to-top.show {
        text-align: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        /* border: 1px solid var(--primary-color); */
    }

.top-menu .menu {
    display: flex;
    padding: 0;
    list-style: none;
    margin: 0;
    align-items: center;
}

/* .top-menu .menu::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 100%;
    background-color: white;
} */

.top-menu .menu-item {
    padding: 15px 20px;
    color: white;
    font-weight: bold;
    text-decoration: none;
    position: relative;
}

    .top-menu .menu-item:not(:last-child)::after {
        content: "";
        width: 1px;
        height: 50%;
        background-color: rgba(255, 255, 255, 0.5);
        position: absolute;
        right: 0;
        top: 25%;
    }

.logo {
    width: 324px;
    height: auto;
}

.top-menu .menu li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    position: relative;
    font-size: 14px;
}

.top-header {
    height: 50px;
    max-height: 50px;
    width: 100%;
    background-color: #008CFF;
}

.top-header-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.text-header-detail {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    position: relative;
    font-size: 14px;
}

.top-menu .menu {
    display: flex;
    padding: 0;
    list-style: none;
    margin: 0;
    align-items: center;
}

/* .top-menu .menu::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 100%;
    background-color: white;
} */

.top-menu .menu-item {
    padding: 15px 20px;
    color: white;
    font-weight: bold;
    text-decoration: none;
    position: relative;
}

    .top-menu .menu-item:not(:last-child)::after {
        content: "";
        width: 1px;
        height: 50%;
        background-color: rgba(255, 255, 255, 0.5);
        position: absolute;
        right: 0;
        top: 25%;
    }

.logo {
    width: 324px;
    height: auto;
}
.icon-box img {
    height: auto;
    /* max-width: 100%; */
    object-fit: cover;
}

.top-menu .menu li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    position: relative;
    font-size: 14px;
}

.top-header {
    height: 50px;
    max-height: 50px;
    width: 100%;
    background-color: #008CFF;
}

.top-header-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.text-header-detail {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    position: relative;
    font-size: 14px;
}

/* Nút/Thẻ trắng */
.btn-white {
    background-color: var(--light-bg);
    border: 1px solid #e1e8ed;
    transition: all 0.3s ease;
}

    .btn-white:hover {
        border-color: var(--primary-color);
        transform: translateY(-3px);
        box-shadow: 0 .5rem 1rem rgba(0,0,0,.08) !important;
    }

/* TOP BAR */
.top-bar {
    position: relative;
    z-index: 1035;
}

.top-border-orange {
    height: 8px;
    background-color: var(--orange-color);
    position: relative;
    z-index: 1030;
    margin-top: 8px;
}

.footer-border-orange {
    height: 20px;
    background-color: var(--orange-color);
    position: relative;
    z-index: 1030;
    margin-bottom:20px;
}
/* HEADER */
.navbar-nav .nav-link {
    text-transform: uppercase;
    position: relative;
    padding-bottom: 0px;
}

    .navbar-nav .nav-link:hover {
        color: var(--primary-color) !important;
    }

    .navbar-nav .nav-link::before {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 0;
        left: 50%;
        background-color: var(--primary-color);
        transition: all 0.3s ease;
        transform: translateX(-50%);
    }

    .navbar-nav .nav-link:hover::before {
        width: 100%;
    }

/* DROPDOWN HOVER */
@media all and (min-width: 992px) {
    .navbar .dropdown:hover > .dropdown-menu,
    .top-bar .dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

.dropdown-menu.show,
.navbar .dropdown:hover > .dropdown-menu,
.top-bar .dropdown:hover > .dropdown-menu {
    animation: fadeInDropdown 0.25s cubic-bezier(0.1, 0.7, 0.1, 1) forwards;
}

@keyframes fadeInDropdown {
    from {
        opacity: 0;
        margin-top: 12px;
    }

    to {
        opacity: 1;
        margin-top: 0;
    }
}

.dropdown-item:hover {
    background-color: var(--primary-color) !important;
    color: white !important;
}

/* MULTI-LEVEL DROPDOWN */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: 0;
    border-radius: 0.25rem;
}

@media all and (min-width: 992px) {
    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
        animation: fadeInDropdown 0.25s cubic-bezier(0.1, 0.7, 0.1, 1) forwards;
    }
}

/* SECTION TITLES */
.section-title {
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* CARDS & NEWS */
.card {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.08) !important;
    }

/* HOVER UTILITIES */
.hover-shadow-lg {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

    .hover-shadow-lg:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.08) !important;
    }

.img-zoom-wrapper {
    overflow: hidden;
}

    .img-zoom-wrapper img {
        transition: transform 0.4s ease;
    }

    .news-item:hover .img-zoom-wrapper img,
    .card:hover .img-zoom-wrapper img,
    .img-zoom-wrapper:hover img {
        transform: scale(1.05);
    }

/* MANAGEMENT CARDS */
.management-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    border-radius: 10px;
}

    .management-card:hover {
        transform: scale(1.03);
    }

    .management-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 114, 188, 0.5);
        transition: 0.3s;
    }

    .management-card:hover::before {
        background: rgba(0, 114, 188, 0.2);
    }

    .management-card > * {
        z-index: 2;
        position: relative;
    }

/* STATS CIRCLE */
.counter-item {
    cursor: pointer;
}

.stats-circle {
    width: 75px;
    height: 75px;
    /* border-radius: 50%; */
    border-radius: 20%;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

    .counter-item:hover .stats-circle,
    .stats-circle:hover {
        transform: scale(1.1) rotate(5deg);
        background-color: var(--primary-color) !important;
        color: white !important;
    }

    .counter-item:hover .stats-circle img,
    .stats-circle:hover img {
        filter: brightness(0) invert(1);
    }

/* PARTNERS */
.partner-grid > .col {
    flex: 0 0 auto;
    width: 11.111111%;
}
/* .partner-logos img {
    max-height: 60px;
    filter: grayscale(100%);
} */

/* FOOTER */
.social-btn {
    width: 35px;
    height: 35px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    border-color: rgba(255,255,255,0.5);
}

    .social-btn:hover {
        background-color: var(--orange-color);
        border-color: var(--orange-color);
        color: #fff;
        transform: translateY(-3px);
    }

/* ALBUM PAGE */
.title-with-line {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

    .title-with-line::after {
        content: '';
        flex: 1;
        height: 1px;
        background-color: #dee2e6;
        margin-left: 20px;
    }

.album-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

    .album-img-wrapper img {
        transition: transform 0.3s ease;
    }

.album-card:hover .album-img-wrapper img {
    transform: scale(1.05);
}

.album-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.album-card:hover .album-overlay {
    opacity: 1;
}

.btn-album-view {
    transform: translateY(20px);
    background: #fff;
    color: var(--text-color);
    font-weight: bold;
    font-size: 0.85rem;
    padding: 6px 16px;
    border-radius: 50px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s ease;
}

.album-card:hover .btn-album-view {
    transform: translateY(0);
}

.btn-album-view i {
    color: var(--orange-color);
    font-size: 1.1rem;
}

/* VIDEO PAGE */
.video-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    display: block;
}

    .video-img-wrapper img {
        transition: transform 0.3s ease;
    }

.video-card:hover .video-img-wrapper img {
    transform: scale(1.05);
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--orange-color);
    font-size: 2.5rem;
    background: #fff;
    border-radius: 50%;
    width: 2.1rem;
    height: 2.1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 2;
}

.video-card:hover .video-play-btn {
    transform: translate(-50%, -50%) scale(1.1);
}

/* NEWS LIST ITEM HOVER */
.news-list-item {
    transition: all 0.3s ease;
}

    .news-list-item:hover {
        background-color: #ffffff;
        box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1) !important;
        transform: translateY(-3px);
    }

        .news-list-item:hover .img-zoom-wrapper img {
            transform: scale(1.05);
        }

/* SIDEBAR MENU HOVER */
.sidebar-menu li {
    transition: all 0.3s ease;
    border-radius: 6px;
}

    .sidebar-menu li:hover {
        background-color: #e6f3ff;
        transform: translateX(5px);
        padding-left: 10px;
    }

/* RELATED NEWS ITEM HOVER */
.related-news-item {
    transition: all 0.3s ease;
}

    .related-news-item:hover {
        background-color: #f8f9fa;
        transform: translateY(-2px);
    }

        .related-news-item:hover .img-zoom-wrapper img {
            transform: scale(1.1);
        }

/* ALBUM HOVER BAR */
.album-view-bar {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.album-card:hover .album-view-bar {
    max-height: 40px;
    opacity: 1;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

.album-card:hover .album-img-wrapper img {
    transform: scale(1.05);
}

.wrap-list-album .item .img-album {
    position: relative;
    display: block;
    overflow: hidden;
    /* border-radius: 8px; */
    height: 172px;
    margin-bottom: 15px;
}

    .wrap-list-album .item .img-album img {
        width: 100%;
        display: block;
        transition: 0.3s ease-in-out;
    }

    .wrap-list-album .item .img-album::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.4);
        opacity: 0;
        transition: 0.3s ease-in-out;
    }

    .wrap-list-album .item .img-album:hover img {
        filter: blur(5px);
    }

    .wrap-list-album .item .img-album:hover::before {
        opacity: 1;
    }

    .wrap-list-album .item .img-album .btn-view {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: white;
        padding: 10px 20px;
        border-radius: 50px;
        font-weight: 500;
        display: inline-flex;
        align-items: center;
        gap: 5px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
        opacity: 0;
        transition: 0.3s ease-in-out;
        color: #2D2D2D;
        white-space: nowrap;
    }

    .wrap-list-album .item .img-album:hover .btn-view {
        opacity: 1;
    }

.btn-view i {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 16px;
    width: 16px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    font-size: 10px;
    color: #fff;
}

.wrap-list-album .item .title-album h3 a {
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 150%;
    color: var(--text-color-bold);
}

/* Album card styles */
.album-card {
    background: #fff;
    border-radius: 10px;
    /* box-shadow: 0 2px 8px rgba(0,0,0,.10);
    overflow: hidden; */
    transition: transform .2s ease, box-shadow .2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .album-card:hover {
        transform: translateY(-3px);
        /* box-shadow: 0 6px 16px rgba(0,0,0,.18); */
    }

.album-card__image {
    position: relative;
    display: block;
    overflow: hidden;
    height: 172px;
    width: 100%;
    border-radius: 10px;
}

    .album-card__image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: 0.3s ease-in-out;
    }

    .album-card__image::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.4);
        opacity: 0;
        transition: 0.3s ease-in-out;
        z-index: 1;
    }

.album-card:hover .album-card__image img {
    filter: blur(5px);
}

.album-card:hover .album-card__image::before {
    opacity: 1;
}

.album-card__btn-view {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: 0.3s ease-in-out;
    color: #2D2D2D;
    white-space: nowrap;
    text-decoration: none;
    z-index: 2;
}

.album-card:hover .album-card__btn-view {
    opacity: 1;
}

.album-card__btn-view span i {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 16px;
    width: 16px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    font-size: 10px;
    color: #fff;
}

.album-card__content {
    /* padding: 16px; */
    flex: 1;
}

.album-card__title {
    margin: 0;
}

    .album-card__title a {
        font-size: 1.125rem;
        font-weight: 400;
        line-height: 150%;
        color: var(--text-color-bold);
        text-decoration: none;
    }

/* Video list card styles */
.video-list-card {
    background: #fff;
    border-radius: 10px;
    /* box-shadow: 0 2px 8px rgba(0,0,0,.10);
    overflow: hidden; */
    transition: transform .2s ease, box-shadow .2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .video-list-card:hover {
        transform: translateY(-3px);
        /* box-shadow: 0 6px 16px rgba(0,0,0,.18); */
    }

.video-list-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
}

.video-list-card__image {
    position: relative;
    width: 100%;
    height: 135px;
    overflow: hidden;
    border-radius: 15px;
}

    .video-list-card__image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform .3s ease;
    }

.video-list-card:hover .video-list-card__image img {
    transform: scale(1.05);
}

.video-list-card__image::after {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    top: 0;
    left: 0;
}

.video-list-card__play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    opacity: 0;
    transition: opacity .3s ease;
}

.video-list-card:hover .video-list-card__play-icon {
    opacity: 1;
}

.video-list-card__play-icon img {
    width: 24px;
    height: auto;
}

.video-list-card__content {
    /* padding: 16px; */
    flex: 1;
}

.video-list-card__title {
    margin: 0;
}

    .video-list-card__title span {
        font-size: 1.125rem;
        font-weight: 400;
        line-height: 150%;
        color: var(--text-color-bold);
    }

.wrap-list-album .item .img-album.video:hover img {
    filter: unset;
}

.wrap-list-album .item .img-album.video::before {
    content: none;
}

.wrap-list-album .item .img-album .icon-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .wrap-list-album .item .img-album .icon-play img {
        width: 100%;
        height: auto;
    }

.wrap-list-album .item .img-album .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.wrap-listNewsBottom .item .thumb {
    height: 172.048px;
}
