@media (min-width: 991px) {
    .header.is-scroll ~ .main .sidebar_scroll {
        position: sticky;
        top: 115px;
        transition: var(--transition-default);
    }
}

@media (min-width: 1200px) and (max-width: 1300px) {
    .header .header-navigation > ul > li > a {
        padding: 0 15px;
    }

    .header-heading .header-title-1 {
        font-size: 1.4em;
    }

    .card-introduce {
        padding: 15px 14px;
    }

    .card-introduce__title {
        font-size: 1.3em;
    }

    .header-navbar__mobile .header-navigation ul > li > a {
        padding: 15px 15px;
    }
}

@media (max-width: 1200px) {
    .header {
        background: var(--bs-white);
        animation: unset !important;
    }

    .header-logo > img,
    .header.is-scroll .header-logo > img {
        width: 55px !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 {
        display: none;
    }

    .header-navbar__mobile .header-navigation {
        display: flex !important;
    }

    /*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.3em;
    }

    .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;
    }

    .product-gallery__thumbs-inner .swiper {
        height: unset;
    }
}

@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;
    }
}

@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.8rem;
        text-align: center;
    }

    .breadcrumb-list > ol {
        gap: 0 !important;
    }

    .section-breadcrumb .breadcrumb-list {
        flex-wrap: wrap;
        gap: 0.25rem;
        padding-left: 0;
        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;
    }

    .feedback-box {
        min-height: 0;
        padding: 18px;
        flex-direction: column !important;
        gap: 16px !important;
    }

    .feedback-box .feedback-content {
        width: 100%;
        flex: 1;
        min-height: 0;
    }

    .feedback-box .feedback-author {
        border-top: 1px solid #99999942;
        padding-top: 10px;
    }

    .feedback-box .feedback-text {
        font-size: 0.85em;
        line-height: 1.7;
    }

    .feedback-box .box-name {
        font-size: 1.1em;
    }

    .feedback-box .feedback-project {
        width: 100%;
    }

    .feedback-box .project-mobile {
        display: block !important;
    }

    .feedback-box .author-avt {
        width: 44px;
        height: 44px;
    }

    .header-heading .header-title-1 {
        font-size: 1.3em;
    }

    .search-button {
        width: 30px;
        height: 30px;
    }

    .header-hamburger {
        width: 34px;
        height: 34px;
        gap: 6px;
        margin-left: 5px !important;
    }

    .product-card__title {
        font-size: 1em;
    }

    .product-card__price {
        font-size: 0.85em;
    }

    .article-card .card-body .card-title {
        font-size: 1em;
    }

    .article-card .card-body .card-desc {
        font-size: 0.9em;
    }


    .header-navbar__mobile {
        padding: 20px;
    }

    .feedback-icon{
        width: 45px;
        height: 45px;
        font-size: 14px;
    }

}

@media (max-width: 576px) {
    .button-theme {
        font-size: 0.75em;
        padding: 3px 13px;
        height: 35px;
    }

    .header-logo > img, .header.is-scroll .header-logo > img {
        width: 45px !important;
    }

    .header-heading .header-title-1 {
        font-size: 1.2em;
    }

    .header-heading .header-title {
        font-size: 0.9em;
    }

    .card-introduce::before {
        width: 100px;
        height: 3px;
        top: 0;
        bottom: auto;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 0 0 4px 4px;
    }

    .section-heading .heading-title {
        font-size: 1.3em;
    }

    .card-introduce__content{
        text-align: center;
    }

    /*-----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;
        font-size: 1em;
    }

    .footer-subscribe .form-group {
        min-width: unset;
    }

    .footer {
        margin-bottom: 55px;
    }

    /*    floating*/
    .floating-contact {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 65px;
        display: flex;
        flex-direction: row;
        align-items: stretch;
        justify-content: space-around;
        gap: 0;
        padding: 5px 8px;
        background: #fff;
        border-top: 1px solid #eee;
        border-radius: 12px 12px 0 0;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, .08);
        z-index: 999;
    }

    .floating-contact.is-show {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .floating-contact__item {
        position: relative;
        flex: 1;
        width: auto !important;
        height: 100% !important;
        margin: 0;
        padding: 0;
        border: none;
        border-radius: 8px;
        background: transparent !important;
        box-shadow: none;
        transform: none !important;
    }

    .floating-contact__item:hover,
    .floating-contact__item:first-child:hover {
        transform: none !important;
        box-shadow: none;
    }

    .floating-contact__item a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        gap: 4px;
        text-decoration: none;
    }

    .floating-contact__item .icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
        padding: 0;
        border-radius: 50%;
        background: var(--primary-color);
        color: #fff;
        font-size: 14px;
        box-shadow: none;
    }

    .floating-contact__item:has(.floating-zalo) .icon {
        background: #0068ff;
    }

    .floating-contact__item:has(.floating-phone) .icon {
        background: var(--primary-color);
    }

    .floating-contact__item#scroll-top .icon {
        background: #333;
    }

    .floating-contact__item .icon img {
        width: 18px;
        height: 18px;
        object-fit: contain;
    }

    .floating-contact__item .number,
    .floating-contact__item:first-child .number,
    .floating-contact__item#scroll-top .number {
        position: static;
        display: block;
        padding: 0;
        margin: 0;
        background: transparent;
        color: #444;
        font-size: 11px;
        font-weight: 500;
        line-height: 1.2;
        text-align: center;
        white-space: nowrap;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
    }

    .floating-contact__item .number::after {
        display: none;
    }

    .floating-contact__item:hover .number {
        transform: none;
    }

    .floating-contact__item > a i,
    .floating-contact__item > a img {
        animation: none;
    }

    .floating-contact {
        height: calc(65px + env(safe-area-inset-bottom, 0px));
        padding-bottom: calc(5px + env(safe-area-inset-bottom, 0px));
    }

    /*    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;
    }
}

@media (max-width: 370px) {
    .search-result .search-item__image {
        width: 90px;
        height: 90px;
    }

}