/* PC */
@media screen and (min-width: 992px) {
    .toggle-menu svg {
        display: none;
    }
    .mobile-header {
        display: none;
    }
    .show-on-mobile {
        display: none;
    }
}
/* Tablet and Mobile */
@media screen and (max-width: 991.98px) {
    .navbar {
        position: relative;
    }

    .navbar .logo {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .navbar ul {
        display: none;
    }
    .toggle-menu svg {
        width: 24px;
        color: #666;
    }

    .menu-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.3);
        z-index: 1;
        /* Dùng cái này để ẩn nó đi */
        /* Không dùng display none */
        /* Vì display none không tạo được animation */
        opacity: 0;
        visibility: hidden;
        transition: 0.5s ease;
    }

    .menu-drawer {
        position: fixed;
        inset: 0 40% 0 0;
        background-color: #fff;
        z-index: 2;
        transform: translateX(-100%);
        transition: 0.25s ease;
        padding: 60px;
    }

    .menu-drawer ul {
        margin-top: 32px;
    }

    .menu-drawer ul a {
        display: block;
        padding: 14px 0;
        color: #333;
        font-weight: 500;
    }

    .menu-checkbox:checked ~ .menu-overlay {
        opacity: 1;
        visibility: visible;
    }

    .menu-checkbox:checked ~ .menu-drawer {
        inset: 0 25% 0 0;
        transform: translateX(0);
    }

    .separate {
        border-top: 1.5px solid #ebebeb;
    }

    .hero-img {
        display: none;
    }

    .hero-wrap .info {
        width: 80%;
        margin: 0 auto;
        text-align: center;
    }

    .hero-wrap .desc {
        width: 80%;
        margin: 30px auto auto;
    }

    .clients .images {
        flex-wrap: wrap;
        justify-content: center;
    }
    .guide-item {
        flex: 1;
        margin: 0;
    }
    .featured .list {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats .row {
        flex-direction: column;
    }
    .stats .img-block,
    .stats .info {
        width: 100%;
    }

    .stats .img-block {
        margin-top: 40px;
        order: 2;
    }

    .stats .info {
        order: 1;
        padding: 0;
    }

    .stats .sub-title {
        width: 60%;
    }
    .stats .info .desc {
        width: 100%;
    }

    .stats .row-qty {
        flex-direction: row;
    }

    .stats .qty {
        font-size: 5rem;
    }

    .stats .row-qty .desc {
        font-size: 1.5rem;
    }
    .subscription .image {
        display: none;
    }
    .footer .row-top {
        display: grid;
        grid-template-columns: 1fr 2fr;
        row-gap: 80px;
    }
}
/* Tablet */
@media screen and (min-width: 768px) and (max-width: 991.98px) {
    .show-on-mobile {
        display: none;
    }
}
/* Mobile */
@media screen and (max-width: 767.98px) {
    .hide-on-mobile {
        display: none;
    }
    .menu-drawer {
        padding: 40px;
    }

    .navbar .actions {
        display: none;
    }

    .hero-wrap {
        height: calc(100vh - 80px);
    }
    .hero-wrap .title {
        margin-top: 10px;
        font-size: 5.2rem;
    }
    .hero-wrap .desc {
        width: 100%;
    }
    .clients .images {
        row-gap: 20px;
    }
    .list-guide {
        flex-direction: column;
        row-gap: 30px;
    }
    .guide-cta {
        margin-top: 60px;
    }

    .featured .link {
        display: none;
    }

    .featured .list {
        grid-template-columns: 1fr;
    }

    .featured .view-all {
        display: flex;
        justify-content: center;
        margin-top: 60px;
    }
    .stats .sub-title {
        width: 100%;
    }
    .stats .img-block .image {
        width: 100%;
    }
    .stats-trend {
        left: 20px;
    }
    .stats .row-qty {
        align-items: center;
        row-gap: 60px;
        flex-direction: column;
    }
    .subscription .body {
        height: 300px;
    }
    .subscription .info {
        margin: 0 30px;
    }
    .footer .row-top {
        column-gap: 100px;
    }
    .footer .row-bottom {
        flex-direction: column;
        row-gap: 30px;
    }
}
