@media (max-width: 1366px){
    .logo {
        width: 260px;
        height: auto;
    }
}

@media only screen and (max-width: 992px) {
    .top-header-detail {
        display: block;
        text-align: -webkit-right;
        align-items: center;
        padding-top: 10px;
    }

    .text-header-detail {
        display: none;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    .video-column iframe {
        width: 100%;
    }

    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .event-card:nth-child(3) {
        display: none;
    }

    .news-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .register-layout {
        flex-direction: column;
        align-items: center;
    }

    .register-form-card {
        margin-bottom: 30px;
        width: 100%;
    }

    .register-section {
        padding-bottom: 0;
    }

    .register-image {
        width: 80%;
        margin-bottom: 0;
    }

    .register-section {
        padding-bottom: 0;
    }

    .register-image {
        display: none;
    }

    .disciplines-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .activity-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .act-big {
        grid-column: span 3;
        grid-row: span 2;
        height: 350px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
    }

    .stat-item h2 {
        font-size: 40px;
    }

    .bl-feedback-avatar .avatar {
        text-align: center;
    }

    .content-nganh .item-wrap .list-item {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .item-wrap .avatar {
        text-align: center;
        margin-bottom: 20px;
    }

    .partners-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .partners-desc-box {
        text-align: left;
        max-width: 100%;
    }

    .partners-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .contact-toggle {
        display: block;
    }
    /* .head-link {
    position: fixed;
    bottom: 205px;
    right: 7px;
    z-index: 1000;
} */
    .head-link {
        position: fixed;
        bottom: 220px;
        right: 14px;
        z-index: 1000;
    }

    .contact-toggle {
        width: 55px;
        height: 55px;
        padding: 0;
        border: 0;
        background: transparent;
        cursor: pointer;
        /* display: block; */
    }

    /* .text-top-header {
        text-align: center;
        font-weight: bold;
        color: #00aaff;
        padding: 10px 0;
    } */

    .link-contact {
        display: none;
        margin-top: 10px;
        opacity: 0;
        transform: translateY(8px);
        transition: opacity .2s ease, transform .2s ease;
    }

    .head-link.is-open .link-contact {
        display: block;
        opacity: 1;
        transform: translateY(0);
    }

    .page-layout {
        grid-template-columns: 1fr;
    }

    .page-layout-details {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .top-header .menu-toggle {
        display: block;
    }

    #menuTop .menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 20px;
        cursor: pointer;
        margin-left: 10px;
    }

    .top-header {
        width: 100%;
        background-color: #008CFF;
    }

    .top-menu .menu-item::after {
        display: none;
    }

    .top-menu .menu-item {
        border-bottom: 1px solid #7b7b7b;
    }

    .top-menu-wrap .top-menu {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 10px;
        position: relative;
        height: 40px;
    }

    .top-menu .btn-menuTop {
        width: 25px;
        height: 25px;
        color: #fff;
    }

    .top-menu .menu.collapse.show {
        display: block;
        position: absolute;
        top: 40px;
        left: 0;
        width: 100%;
        z-index: 9;
    }

    .top-menu .menu.collapse {
        display: none;
        position: absolute;
        top: 40px;
        left: 0;
        width: 100%;
        z-index: 9;
    }

    .top-menu .menu {
        position: absolute;
        top: 40px;
        left: 0;
        width: 100%;
        background-color: #008CFF;
        z-index: 9;
        max-height: 0;
        transition: max-height 0.3s ease-in-out;
    }

    .top-menu .menu.show {
        max-height: 500px;
    }

    .itemMenu-outside {
        display: block;
    }

    .itemMenu-outside a {
        color: #ffffff;
        text-decoration: none;
        font-weight: 500;
        display: flex;
        align-items: center;
        position: relative;
        font-size: 14px;
    }

    .search-wrap {
        display: none;
    }

    .top-menu .menu::before {
        display: none;
    }

    .block-logoMenu {
        align-items: center;
    }

    .search-wrap2 {
        display: block;
    }
    
    .language-dropdown {
        display: flex;
        align-items: center;
        cursor: pointer;
        position: relative;
        padding: 5px 10px;
        border-radius: 4px;
        transition: background 0.2s;
        position: absolute;
    }

    .language-dropdown:hover {
        background-color: rgba(255,255,255,0.1);
    }

    .flag-icon {
        width: 20px;
        height: 14px;
        object-fit: cover;
        margin-right: 6px;
        border-radius: 2px;
        box-shadow: 0 0 2px rgba(0,0,0,0.2);
    }

    .lang-text {
        font-weight: 500;
        margin-right: 5px;
        color: #fff;
        font-size: 18px;
    }

    .arrow-down {
        font-size: 10px;
        opacity: 0.8;
        color: #fff;
    }


    .lang-menu {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        background: #fff;
        color: #333;
        min-width: 120px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.15);
        border-radius: 4px;
        padding: 5px 0;
        z-index: 101;
    }

    .language-dropdown:hover .lang-menu {
        display: block;
        width:150px
    }

    .lang-menu a {
        display: flex;
        align-items: center;
        padding: 8px 15px;
        color: #333;
        text-decoration: none;
        transition: background 0.2s;
        position: relative;
    }

    .lang-menu a:hover {
        background-color: #f5f5f5;
        color: #2d8cf0;
    }

    .lang-menu img {
        width: 18px;
        margin-right: 8px;
    }
}

@media only screen and (max-width: 768px) {
    .top-header-detail {
        display: block;
        text-align: -webkit-right;
        align-items: center;
        padding-top: 10px;
    }

    .text-header-detail {
        display: none;
    }
    /*.top-header .menu-toggle {
        display: block;
    }

    #menuTop .menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 20px;
        cursor: pointer;
        margin-left: 10px;
    }

    .top-header {
        width: 100%;
        background-color: #008CFF;
    }

    .top-menu .menu-item.tuyensinh {
        clip-path: none;
        background-color: #2C3991;
    }

    .top-menu .menu-item::after {
        display: none;
    }

    .top-menu .menu-item {
        border-bottom: 1px solid #7b7b7b;
    }

    .top-menu-wrap .top-menu {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 10px;
        position: relative;
        height: 40px;
    }

    .top-menu .btn-menuTop {
        width: 25px;
        height: 25px;
        color: #fff;
    }

    .top-menu .menu.collapse.show {
        display: block;
        position: absolute;
        top: 40px;
        left: 0;
        width: 100%;
        z-index: 9;
    }

    .top-menu .menu.collapse {
        display: none;
        position: absolute;
        top: 40px;
        left: 0;
        width: 100%;
        z-index: 9;
    }

    .top-menu .menu {
        position: absolute;
        top: 40px;
        left: 0;
        width: 100%;
        background-color: #008CFF;
        z-index: 9;
        max-height: 0;
        transition: max-height 0.3s ease-in-out;
    }

    .top-menu .menu.show {
        max-height: 500px;
    }

    .itemMenu-outside {
        display: block;
    }

    .itemMenu-outside a {
        color: #ffffff;
        text-decoration: none;
        font-weight: 500;
        display: flex;
        align-items: center;
        position: relative;
        font-size: 14px;
    }

    .search-wrap {
        display: none;
    }

    .top-menu .menu::before {
        display: none;
    }

    .block-logoMenu {
        align-items: center;
    }

    .search-wrap2 {
        display: block;
    }*/

    .logo {
        padding-top: 1rem;
        height: auto;
        width: 230px;
    }

    .news-itemMain .item .thumb {
        height: 234.015px;
    }

    .list-newsfetured .item .thumb {
        height: auto;
    }

    .video-intro .iframe-ytb iframe {
        height: 210px !important;
    }

    .item-counter .title-count {
        max-width: 100%;
    }

    .grid-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .grid-container .grid-item-link {
        grid-column: auto !important;
        grid-row: auto !important;
        margin-bottom: 20px;
    }

    .grid-container .grid-item-link:nth-child(n+2) {
        display: none;
    }

    .grid-container .grid-item-link img {
        max-height: 450px;
    }

    .grid-item-link .image-title {
        opacity: 1;
        transform: translateY(0);
    }

    .footer-head .footer-desc p {
        font-size: 14px;
    }

    .breadcrumbs .breadcrumb {
        margin-bottom: 30px;
    }

    .wrap-listNewsBottom .item .thumb {
        height: 248.412px;
    }

    .language-select.active .submenu {
        width: 100%;
    }

    .top-content {
        flex-direction: column;
    }

    .bottom-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .program-content {
        flex-direction: column;
    }

    .program-image {
        width: 100%;
    }

    .tab-item {
        padding: 10px 15px;
        font-size: 14px;
    }

    .program-tabs {
        display: flex;
        border-bottom: 1px solid #eee;
        margin-bottom: 30px;
        overflow-x: auto;
    }


    .testi-footer {
        flex-direction: row;
        justify-content: space-between;
    }

    .author-name {
        font-size: 15px;
    }

    .author-role {
        font-size: 13px;
    }

    .nav-btn {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }
}

@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .activity-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .act-big {
        grid-column: span 2;
        min-height: 300px;
    }

    .act-caption h3 {
        font-size: 16px;
    }

    .disciplines-grid {
        grid-template-columns: 1fr;
    }

    .disc-title {
        margin-top: 15px;
        border-bottom: 1px solid #eee;
        padding-bottom: 5px;
    }

    .events-grid {
        grid-template-columns: 1fr;
    }

    .event-card:nth-child(3) {
        display: block;
    }

    .section-header-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .news-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

   /* .news-thumb {
        width: 100px;
    }

        .news-thumb img {
            height: 70px;
        }*/

    .featured-title {
        font-size: 18px;
    }

    .stats-section {
        padding: 30px 0;
    }

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px 15px;
    }

    .stat-item h2 {
        font-size: 32px;
        margin-bottom: 5px;
    }

    .stat-item p {
        font-size: 13px;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-logo img {
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .bottom-gallery {
        grid-template-columns: 1fr;
    }

    .program-tabs {
        display: flex;
        border-bottom: 1px solid #eee;
        margin-bottom: 30px;
        overflow-x: auto;
    }
}

@media only screen and (max-width: 469px) {
    .top-header-detail {
        display: block;
        text-align: -webkit-right;
        align-items: center;
        padding-top: 10px;
    }

    .text-header-detail {
        display: none;
    }

    .block-info .ytb {
        margin-bottom: 20px;
    }

    .slider .swiper-button-next:after, .slider .swiper-button-prev:after {
        font-size: 25px;
    }

    .block-info .text-info-wrap {
        padding: 20px;
    }

    .block-tienich .item .title {
        font-size: 16px;
    }

    .block-new .title {
        display: block;
    }

    .block-new .title h2 {
        margin-bottom: 15px;
    }

    .newsSlider .swiper-pagination {
        bottom: -7px;
    }

    .bl-feedback-saying .bl-feedback-content {
        padding: 25px 15px;
        margin: 15px 0;
        box-shadow: none;
    }

    .bl-feedback-saying .bl-feedback-content .info::before {
        top: -39px;
        width: 44.8px;
        height: 37.3px;
    }

    .testimonial .swiper-button-next,
    .testimonial .swiper-button-prev {
        top: 78%;
    }

    .bl-feedback-saying .testimonial {
        margin-right: auto;
    }

    .bl-feedback-saying .bl-feedback-content .info {
        line-height: 160%;
    }

    .testimonial .swiper-button-next {
        right: 0;
    }

    .testimonial .swiper-button-prev {
        right: 50px;
    }

    .content-wrap .list-dm .item .item-bottom {
        flex-direction: column-reverse;
        gap: 10px;
        /* justify-content: start; */
        align-items: start;
    }

    .content-wrap .title {
        line-height: 140%;
    }

    .language-dropdown {
        display: flex;
        align-items: center;
        cursor: pointer;
        position: relative;
        padding: 5px 10px;
        border-radius: 4px;
        transition: background 0.2s;
        position: absolute;
    }

    .language-dropdown:hover {
        background-color: rgba(255,255,255,0.1);
    }

    .flag-icon {
        width: 20px;
        height: 14px;
        object-fit: cover;
        margin-right: 6px;
        border-radius: 2px;
        box-shadow: 0 0 2px rgba(0,0,0,0.2);
    }

    .lang-text {
        font-weight: 500;
        margin-right: 5px;
        color: #fff;
    }

    .arrow-down {
        font-size: 10px;
        opacity: 0.8;
        color: #fff;
    }


    .lang-menu {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        background: #fff;
        color: #333;
        min-width: 120px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.15);
        border-radius: 4px;
        padding: 5px 0;
        z-index: 101;
    }

    .language-dropdown:hover .lang-menu {
        display: block;
    }

    .lang-menu a {
        display: flex;
        align-items: center;
        padding: 8px 15px;
        color: #333;
        text-decoration: none;
        transition: background 0.2s;
        position: relative;
    }

    .lang-menu a:hover {
        background-color: #f5f5f5;
        color: #2d8cf0;
    }

    .lang-menu img {
        width: 18px;
        margin-right: 8px;
    }
}