@media (max-width: 1200px) {
    .header-hamburger,
    .close-navigation {
        display: flex;
    }

    .header {
        background: var(--bs-white);
        animation: unset !important;
    }

    .header-logo > img,
    .header.is-scroll .header-logo > img {
        width: 130px !important;
    }

    .frmSearch-form {
        margin-left: auto;
    }

    .search-button {
        width: 35px;
        height: 35px;
    }

    .is-search .search-button {
        background-color: var(--primary-color);
        color: var(--bs-white);
        border: 1px solid var(--primary-color);
    }


    .header-navigation__bottom {
        display: -webkit-box !important;
        display: -ms-flexbox !important;
        display: flex !important;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        padding: 22px 35px;
        background-color: var(--primary-color);
        font-size: 0.9em;
    }

    .header-navigation {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background-color: var(--bs-white);
        height: 100vh;
        z-index: 6;
        -webkit-transform: translate3d(0, -200%, 0);
        -ms-transform: translate3d(0, -200%, 0);
        transform: translate3d(0, -200%, 0);
        -webkit-transition: transform .6s cubic-bezier(.4, 0, .2, 1);
        -o-transition: transform .6s cubic-bezier(.4, 0, .2, 1);
        transition: transform .6s cubic-bezier(.4, 0, .2, 1);
        -webkit-transition-delay: 0.1s;
        -o-transition-delay: 0.1s;
        transition-delay: 0.1s;
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .is-navigation .header-navigation {
        -webkit-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

    .header .header-navigation > ul {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        padding: 30px 35px;
        overflow-y: auto;
    }

    .header .header-navigation > ul > li {
        width: 100%;
    }

    .header .header-navigation > ul > li > a {
        width: 100%;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        padding: 15px 0;
        color: var(--text-color);
    }

    .header .header-navigation > ul > li > a > i {
        width: 25px;
        height: 25px;
        color: var(--bs-dark);
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        border-radius: 2px;
    }

    .header .header-navigation > ul > li > a[aria-expanded='true'] i {
        -webkit-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
        transform: rotate(180deg);
    }

    .header .header-navigation > ul > li:hover > a,
    .header .header-navigation > ul > li > a[aria-expanded=true] {
        color: var(--secondary-color) !important;
        background-color: transparent;
    }

    .header .header-navigation > ul > li:not(:last-child)::after {
        position: unset;
        content: unset;
        top: unset;
        right: unset;
        background-color: unset;
    }

    .header .header-navigation > ul > li:not(:last-child) {
        border-bottom: 1px solid rgb(244 241 241);
    }

    .header .header-navigation > ul > li > ul > li:not(:last-child),
    .header .header-navigation > ul > li > ul > li > ul > li:not(:last-child) {
        border-bottom: 1px solid transparent;
    }

    .header .header-navigation > ul > li > ul {
        padding-right: 12px;
    }

    .header .header-navigation > ul > li > ul,
    .header .header-navigation > ul > li > ul > li > ul {
        background-color: transparent;
        width: 100%;
        position: unset !important;
        top: unset !important;
        left: unset !important;
        -webkit-transform: unset !important;
        -ms-transform: unset !important;
        transform: unset !important;
        opacity: unset;
        pointer-events: unset;
        visibility: unset;
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
        border-radius: 0;
        padding-left: 15px;
        border-left: 3px solid var(--secondary-color);
    }

    .header .header-navigation > ul > li > ul > li > ul {
        padding-left: 12px;
    }

    .header .header-navigation > ul > li > ul > li > a,
    .header .header-navigation > ul > li > ul > li > ul > li > a {
        width: 100%;
        padding: 10px 0;
        font-weight: 600;
        color: var(--bs-gray-700);
    }

    .header .header-navigation > ul > li > ul > li:hover > a, .header .header-navigation > ul > li > ul > li > ul > li:hover > a {
        border-color: transparent;
    }

    /*contact*/
    .contact-right__bg {
        display: none;
    }

    .page-contact__right {
        position: relative;
        transform: translateY(0);
        width: 100%;
        margin-bottom: 20px;
    }


}

@media (max-width: 1024px) {
    /*header-search*/
    .header-search .form-control {
        top: 154%;
    }

    /*slider-button*/
    .slider-button_next,
    .slider-button_prev {
        width: 35px;
        height: 35px;
    }

    .section-heading .heading-title {
        font-size: 1.4em;
    }

    .section-heading .heading-description {
        font-size: 1em;
    }

    /*    ---------- HERO*/
    .hero-content .hero-content_title {
        font-size: 1.6em;
    }

    .hero-content .hero-content_desc {
        font-size: 1.05em;
    }

    .section-hero .button-theme {
        padding: 9px 20px;
        font-size: 0.9em;
    }

    /*    page-detail*/
    .detailContent h1 {
        font-size: 1.4em;
    }

    .detailContent h2 {
        font-size: 1.35em;
    }

    .detailContent h3 {
        font-size: 1.3em;
    }

    .detailContent h4 {
        font-size: 1.2em;
    }

    .detailContent h5 {
        font-size: 1.1em;
    }

    .detailContent h6 {
        font-size: 1.05em;
    }

    /*    footer */
    .footer {
        margin-top: 0;
    }

    .footer .footer-logo {
        width: 180px;
    }

    .section-projects__tabs .nav-pills {
        flex-wrap: nowrap;
        overflow-x: scroll;
        padding-bottom: 10px;
    }
}

@media (max-width: 992px) {
    .button-theme {
        font-size: 0.85em;
        padding: 8px 15px;
    }

    .section-gap {
        padding: 25px 0;
    }

    /*-----------------hero----------------*/
    .hero-content .hero-content_title {
        font-size: 1.4em;
    }

    .hero-content .hero-content_desc {
        font-size: 1em;
    }

    /*    feedback*/
    .feedback-box .feedback-project {
        display: none;
    }

    .feedback-box .author-wrapper {
        flex-direction: column !important;
    }

    .feedback-box {
        height: 100%;
    }

    .feedback-box .feedback-content {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        height: 100%;
        box-shadow: none;
        padding: 20px;
    }

    .feedback-box .project-mobile {
        display: flex !important;
        width: 150px;
        height: auto;
        object-fit: contain;
    }

    /*project*/
    .project-card__overlay {
        bottom: 16px;
        padding: 12px 14px;
        width: 86%;
        left: 7%;
    }

    .project-card__title {
        font-size: 0.95em;
    }

}

@media (max-width: 768px) {

    /*header*/
    .header .header-top .header-contact_left {
        background-color: var(--primary-color);
        padding: 8px 0;
    }

    .header .header-top .header-contact_left span {
        color: var(--bs-white) !important;
    }

    .header .header-top .header-contact_left:before, .header .header-top .header-contact_left:after {
        display: none;
    }

    /*breadcrumb*/
    .section-breadcrumb__image {
        height: 200px;
    }

    .section-breadcrumb .breadcrumb-title {
        font-size: 1.4em;

    }

    .section-breadcrumb .breadcrumb-list .breadcrumb-item,
    .section-breadcrumb .breadcrumb-list .breadcrumb-item > a {
        font-size: 0.85rem;
        text-align: center;
    }

    .breadcrumb-list > ol {
        gap: 0 !important;
    }

    .section-breadcrumb .breadcrumb-list {
        flex-wrap: wrap;
        gap: 0.25rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        padding-bottom: 0 !important;
    }

    .section-breadcrumb__content {
        flex-direction: unset;
    }

    .d-hide-on-mobile {
        display: none !important;
    }

    /*page-detail*/
    .detailContent .table td p {
        padding: 10px 5px;
        font-size: 10px;
    }

    /*project*/
    .project-card__overlay {
        bottom: 12px;
        padding: 10px 12px;
        width: 90%;
        left: 5%;
        transform: translateY(120%);
    }

    .project-card__overlay {
        transform: translateY(0);
    }

    .project-card__title {
        font-size: 0.9em;
    }

    .detail-project__layer .wrap {
        padding: 15px;
        border: none;
    }

    .detail-project__layer .wrap .layer_number {
        font-size: 1.3em;
    }

    .detail-project__layer .wrap .layer_text {
        white-space: nowrap;
        font-size: 0.9em;
    }

}

@media (max-width: 576px) {
    .section-heading .heading-title {
        font-size: 1.3em;
    }

    /*-----HERO---------*/
    .hero-content {
        display: none !important;
    }

    /*    bre*/
    .detail-project .breadcrumb-item:last-child,
    .page-detail .section-breadcrumb .breadcrumb-list .breadcrumb-item:last-child {
        display: none;
    }

    .section-breadcrumb .breadcrumb-list .breadcrumb-item {
        font-size: 11px;
        text-align: center;
    }

    /*    footer*/
    .footer-title {
        margin-bottom: 5px;
    }

    .footer-column__title {
        font-size: 1.4em;
        margin-bottom: 0.5em;
    }

    .footer-subscribe .form-group {
        min-width: unset;
    }

    .footer {
        margin-bottom: 55px;
    }

    /*    floating*/
    .floating-contact {
        -webkit-box-shadow: 0px 6px 12px -6px rgba(24, 39, 75, 0.12), 0px 8px 24px -4px rgba(24, 39, 75, 0.08) !important;
        box-shadow: 0px 6px 12px -6px rgba(24, 39, 75, 0.12), 0px 8px 24px -4px rgba(24, 39, 75, 0.08) !important;
        background-color: #f3f3f3;
        flex-direction: row;
        bottom: 0;
        left: 0;
        height: 60px;
        width: 100%;
        gap: 1px;
    }

    .floating-contact .floating-contact__item {
        height: 60px !important;
        width: calc(100% / 3) !important;
        background-color: var(--primary-color);
        border-radius: 0;
        font-size: 0.9em !important;
        gap: 2px;
        padding: 5px 0;
        background: var(--bs-white) !important;
        border-right: none !important;
        transform: translateX(0);
    }

    .floating-contact .floating-contact__item a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .floating-contact__item:first-child .number {
        display: flex;
    }

    .floating-contact__item:first-child:hover {
        transform: unset;
    }

    .floating-contact__item .icon {
        border-radius: 50%;
        padding: 5px;
        font-size: 1em;
        background-color: var(--primary-color);
        width: 30px;
        height: 30px;
    }

    .floating-contact__item .icon img {
        width: 15px;
        height: 15px;
    }

    .floating-contact__item .number {
        color: var(--primary-color);
    }

    .floating-contact__item > a i,
    .floating-contact__item > a img {
        animation: unset;
    }

    /*    footer*/
    .footer {
        padding-top: 30px;
    }

    /*    bai viet*/
    .article-card {
        padding: 10px !important;
    }

    .article-card .article-card__category {
        display: none;
    }

    .feedback-box .project-mobile {
        width: 120px;
    }
}

@media (max-width: 400px) {
    .header .header-top .header-contact_left span {
        font-size: 0.9em;
    }

    .header-navigation {
        width: 100%;
    }

    .header .header-navigation > ul {
        padding: 25px 25px;
    }

    .header-navigation__bottom {
        padding: 22px 25px;
    }

    .close-navigation {
        margin: 25px 25px 10px 25px;
    }

    /*    project*/
    .project-card__overlay {
        bottom: 8px;
        padding: 8px 10px;
        width: 94%;
        left: 3%;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    }

    .project-card__title {
        font-size: 0.85em;
    }
}

@media (max-width: 370px) {
    .search-result .search-item__image {
        width: 90px;
        height: 90px;
    }

}