@font-face {
    font-family: 'SVN-Product Sans';
    src: url('../fonts/SVN-ProductSans-Regular.woff2') format('woff2'),
        url('../fonts/SVN-ProductSans-Regular.woff') format('woff'),
        url('../fonts/SVN-ProductSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'SVN-Product Sans';
    src: url('../fonts/SVN-ProductSans-Italic.woff2') format('woff2'),
        url('../fonts/SVN-ProductSans-Italic.woff') format('woff'),
        url('../fonts/SVN-ProductSans-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'SVN-Product Sans';
    src: url('../fonts/SVN-ProductSans-Bold.woff2') format('woff2'),
        url('../fonts/SVN-ProductSans-Bold.woff') format('woff'),
        url('../fonts/SVN-ProductSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'SVN-Product Sans';
    src: url('../fonts/SVN-ProductSans-Bold-Italic.woff2') format('woff2'),
        url('../fonts/SVN-ProductSans-Bold-Italic.woff') format('woff'),
        url('../fonts/SVN-ProductSans-BoldItalic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
}

.text-001C4E {
    color: #001C4E;
}

.lang__item, .search, .menu-link, .footer__contact, .rd-social, .c-section, .c-section__title, .c-section__subtitle, .c-section__desc, .c-btn {
    font-family: 'SVN-Product Sans'!important;
}

body {
    font-family: 'SVN-Product Sans'!important;
}

.header__wrapper {
    box-shadow: 1px 1px 8px 1px #cbcbcb;
}

.footer {
    background-image: none;
    background-color: #fff;
    padding-top: 50px;
    padding-bottom: 40px;
    color: #555;
    font-size: 14px;
}

.footer-logo {
    max-width: 140px;
    margin-bottom: 30px;
}

.footer-heading {
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.footer-title {
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.footer-link {
    color: #555;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: color 0.2s;
}

.footer-link:hover {
    color: #209B24;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background-color: #333;
    color: white;
    border-radius: 4px;
    margin-right: 8px;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s;
}

.social-icon:hover {
    background-color: #209B24;
    color: white;
}

.highlight-section {
    padding: 80px 0 60px;
    background-color: #fff;
}

.highlight-title {
    color: #0b2341;
    font-weight: 700;
    font-size: 32px;
    margin-bottom: 8px;
}

.highlight-subtitle {
    color: #216db5;
    font-size: 16px;
    text-decoration: underline;
    text-underline-offset: 4px;
    margin-bottom: 40px;
    display: inline-block;
    line-height: 1.5;
}

.highlight-subtitle:hover {
    color: #0b2341;
}

.highlight-card {
    overflow: hidden;
    height: 100%;
}

.highlight-card-img-wrapper {
    overflow: hidden;
    margin-bottom: 16px;
}

.highlight-card-img {
    padding-top: 96%;
    position: relative;
    overflow: hidden;
}

.highlight-card-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.highlight-card:hover img {
    transform: scale(1.05);
}

.highlight-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4px;
}

.highlight-card-title {
    color: #0b2341;
    font-weight: 700;
    font-size: 24px;
    margin: 0;
}

.highlight-card-icon {
    color: #0b2341;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.highlight-card:hover .highlight-card-icon {
    transform: translateX(5px);
}

.search-wrapper {
    display: inline-block;
}

.search-icon {
    font-size: 20px;
    cursor: pointer;
}

/* Ẩn form ban đầu */
.search-form {
    position: absolute;
    top: 120%;
    right: 0;
    width: 200px;
    opacity: 0;
    margin: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

/* Hover vào icon hoặc form đều giữ hiển thị */
.search-wrapper:hover .search-form {
    opacity: 1;
    visibility: visible;
}

.btn-rd {
    background: #e31e24;
    border-radius: 50px;
    cursor: pointer;
    transition: all .3s;
}

.btn-rd:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(237, 28, 36, 0.3);
}

.btn-rd:hover {
    opacity: .88;
}

.btn-rd-label {
    color: #fff;
    font-size: 16px;
    padding: 12px 20px 12px 26px;
    white-space: nowrap;
}

.btn-rd-icon {
    width: 42px;
    height: 42px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 4px 4px 4px 0;
    font-size: 15px;
    color: #111;
    flex-shrink: 0;
}

.banner-iframe {
    padding: 15% 0;
    position: relative;
    width: 100%;
}

.banner-home .banner-home__image {
    height: 100%;
    left: 0;
    margin: 0;
    padding: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.banner-home .banner-home__image img {
    height: 100%;
    left: 0;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: 50% 50%;
    object-position: 50% 50%;
    position: absolute;
    top: 0;
    width: 100%;
}

.banner-home .banner-home__content {
    position: relative;
}

h2.banner-home__title {
    font-size: 50px;
}

p.banner-home__description {
    font-size: 20px;
}

.banner-home__title span {
    position: relative;
    margin-left: 26px;
}

.banner-home__title span::before {
    content: '';
    width: 62px;
    height: 40px;
    background-image: url(../images/letter-img.png);
    background-size: 100%;
    background-repeat: no-repeat;
    display: inline-block;
    background-color: #fff;
    position: absolute;
    left: -33px;
    top: 12px;
}

.home-whyus{
	background-color: #001C4E0D;
}
.home-whyus-main {
    /*background-color: #001C4E0D;*/
}

.home-section-title {
    font-size: 40px;
}

.img-hover {
    overflow: hidden;
}

.img-hover img {
    transition: transform 0.5s ease;
}

.img-hover:hover img {
    transform: scale(1.05);
}

.img-cover {
    padding-top: 100%;
    position: relative;
}

.img-cover img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.whyus-box .box-image {
    padding-top: 76%;
}



.whyus-text h3 {
    font-weight: 700;
}
.home-section-connect{
	background: url("../images/bg_connect_full.webp") no-repeat top right;
    min-height: 710px
}
.home-section-connect,
.home-overview {
    position: relative;
}

.home-connect-video,
.home-overview-video {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.home-connect-video video,
.home-overview-video video {
    height: 100%;
    object-fit: cover;
}

.home-connect-content {
    padding: 60px 0;
}

.swiper-btn-nav {
    position: absolute;
    top: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    opacity: 0;
    background-color: rgba(209, 209, 209, 0.76);
    border-radius: 100%;
    transform: translate(-20px, -50%);
    z-index: 10;
    cursor: pointer;
    transition: all 0.3s;
}

.ecosystem-slide:hover .swiper-btn-nav,
.project-slide:hover .swiper-btn-nav {
    opacity: 1;
    transform: translate(0px, -50%);
}

.ecosystem-slide__prev,
.project-slide__prev {
    left: 10px;
}

.ecosystem-slide__next,
.project-slide__next {
    right: 10px;
}

.swiper-btn-nav i {
    margin: auto
}

.ecosystem-slide,
.project-slide,
.product-slide-home {
    position: relative;
}

.overview-img img {
    width: 250px;
    height: auto;
}

.home-overview:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.279);
    z-index: -1;
}

.project-img {
    padding-top: 58%;
}

.project-box:hover .project-title a {
    color: #00c3c3;
}

.product-banner-home,
.product-banner-home img {
    height: 100%;
    object-fit: cover;
}

.product-slide-container {
    padding: 90px 40px;
    background: rgba(0, 28, 78, 1);
}

.product-box img {
    height: 180px;
    object-fit: contain;
}

.dk-bct img {
    height: 45px;
    margin-right: 15px;
    border-radius: 4px;
}
.has-submenu>.menu-group-title {
    text-transform: uppercase;
}
@media(min-width:1440px) {
    ul.menu.menu-root .menu-item:last-child ul.menu.menu-sub {
        left: unset;
        right: 0;
    }
}

@media(min-width:1200px) {
    .header__wrapper.fixed {
        background: #fff;
    }

    .menu.menu-root > .menu-item:nth-last-child(2) {
        margin-left: 40px;
        margin-right: 20px;
    }

    .menu-root > .menu-item:not(:last-child) {
        margin-right: 52px;
    }

    .header__logo,
    .navbar__logo {
        margin: 0;
    }

    .menu-root>.menu-item>.menu-link {
        color: #012857;
        font-size: 15px;
        font-weight: 700;
        line-height: 62px;
        text-transform: uppercase;
    }

    .menu-root>.menu-item>.menu-link.active, .menu-root>.menu-item:hover>.menu-link {        
        color: #209B24;
        background: none!important;
        -webkit-background-clip: unset;
        -webkit-text-fill-color: unset;
    }
    .menu-mega > .menu-sub > .menu-item > .menu-link:hover, .menu-mega .menu-sub .menu-sub .menu-link:hover{
        color: #209B24!important;
    }
    .menu-mega .menu-sub .menu-sub .menu-link::before{
        content: unset!important;
    }
    .menu-mega .menu-sub .menu-sub .menu-link{
        padding-left: 0px!important;
    }
    .menu-mega .menu-sub .menu-sub .menu-link:hover{
        left: 3px!important;
    }
    .menu-root > .menu-item-group:hover > .menu-link::before{
        border-bottom-color:#209B24!important;
    }
    .menu-root > .menu-item-group .menu-item:hover > .menu-link{
        background-color: #209B24!important;
    }
    .menu-mega .megamenu2 >.menu-link{
        padding: 10px 0!important;
        font-weight: 600!important;
    }

    .megamenu .submenu-wrapper{
         min-height: 650px;
    }
    .megamenu .submenu-wrapper .menu-item-mega .megamenu2 .menu-sub-2{
        display: none;
    }
    .megamenu .submenu-wrapper .menu-item-mega .megamenu2:hover{
        position: relative;
    }
    .megamenu .submenu-wrapper .menu-item-mega .megamenu2:hover .menu-level-3{
        color: #209B24!important;
    }
    .megamenu .submenu-wrapper .menu-item-mega .megamenu2:hover .menu-sub-2{
        position: absolute;
        top: 5px;
        left: 80%;
        display: block;
        background: #fff;
        z-index: 19;
        box-shadow: 0 0 10px 0 rgba(0,0,0,.1);
        padding: 10px 15px;
    }
    .megamenu .submenu-wrapper1 {
        /* Quan trọng nhất: Tự động chia cột dựa trên độ rộng */
        column-width: 260px; 
        column-gap: 10px; /* Khoảng cách giữa các cột */
        
        /* Giới hạn chiều cao để ép nó phải nhảy sang phải */
        min-height: 600px;
        max-height: 768px; 
        
        display: block; /* Phải để block mới ăn column-width */
        padding: 0;
        margin: 0;
        list-style: none;
    }

    /* Đảm bảo các item không bị ngắt đôi giữa 2 cột */
    .megamenu .submenu-wrapper1 li {
        /* break-inside: avoid;          */
    }

    .product-slide-home .swiper-slide {
        width: auto !important;
    }
	.home-overview{
		min-height: 1030px!important;
	}	
	.home-connect-video{
		width: 50%!important;
	}

    .navbar__body form.search {
        position: relative;
        margin-right: 20px;
    }



    .search .input-group {
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        background: #f1f1f1;
        border-radius: 100px;
        padding: 0;
        margin-right: -10px;
        width: unset;
        position: absolute;
        z-index: 10;

    }



    .search-input {
        background: unset;
        padding: 0 !important;
        width: 0 !important;
        border: unset;
        transition: all 0.4s;
    }

    .input-width .search-input {
        width: 900px !important;
    }

    .input-group.input-width {
        padding: 0 8px;
    }

    button.input-group-text {
        padding: 0;
        margin-right: 0;
    }

    .navbar__body form.search {
        width: 100%
    }

    .search .input-group-text {
        color: #1a1a1a;
        background-color: #f2f2f2;
        border: 0;
        border-radius: 0 4px 4px 0;
        font-size: 14px;
    }

    button.input-group-text {
        position: absolute;
        right: 0;
        z-index: 100;
        background: unset;
        top: 50%;
        transform: translateY(-50%);
        background-color: unset !important;
    }

    .search .form-control {
        border: none;
        background: none!important;
    }
}

@media(max-width:550px) {
    .home-section-title {
        font-size: 26px;
    }

    .whyus-box .whyus-title a {
        font-size: 18px !important;
        padding-right: 10px;
    }

    .container-overview-title {
        text-align: center;
    }

    .btn-rd-icon {
        width: 32px;
        height: 32px;
    }

    .btn-rd-label {
        font-size: 14px;
        padding: 8px 12px 8px 18px;
    }

    .medal-img img {
        width: 160px;
    }

    .home-connect-content {
        padding: 0;
    }

    .ecosystem-title a,
    .container-highlight-title,
    .project-box .project-title a {
        font-size: 16px !important;
    }

    p.banner-home__description {
        font-size: 18px;
    }

    .swiper-btn-nav {
        width: 32px;
        height: 32px;
    }

    .overview-img img {
        width: 134px;
    }

    .product-slide-container {
        padding: 36px 20px;
    }

    h2.banner-home__title {
        font-size: 28px;
    }

    .banner-home .banner-home__image,
    .banner-home .banner-home__image img {
        position: unset;
    }

    .swiper-btn-nav {
        opacity: 1;
    }

    .ecosystem-slide__next,
    .project-slide__next,
    .product-slide-home__next {
        right: 0px;
        transform: translate(0px, -50%);
    }

    .banner-iframe {
        padding: 40px 0;
        display: flex;
        flex-direction: column-reverse;
    }

    .banner-home__title span::before {
        content: '';
        width: 30px;
        height: 30px;
        left: -16px;
        top: 6px;
    }	
	.home-overview{
		background: url("../images/bg_overview_m.webp") no-repeat center center;
		min-height: 740px!important;
	}
    .home-section-connect{
        background: url("../images/bg_connect_full_mobile.webp");
        padding-bottom: 400px!important;
        background-size: contain;
    }
}