/* SCREEN < 776PX */
@media screen and (max-width: 886px) {
    body{
        font-size: 120%;
    }
    .container{
        overflow: hidden;
    }
    .mobile-only{
        display: block !important;
    }
    .desktop-only{
        display: none !important;
    }
    section{
        padding: 2em 0;
    }
    .flex{
        flex-wrap: wrap;
    }
    form.flex{
        flex-wrap: nowrap;
    }
    /* -- HEADER SECTION -- */
    .header-section{
        position: fixed;
        z-index: 500;
        padding: var(--spacing-sm) 0;
        top: 0;
        left: 0;
        width: 100%;
        font-size: 1.4rem;
    }
    .header-section.fixed{
        padding: calc(var(--spacing-sm)/2);
    }
    .header-section .btn.mobile-only{
        font-size: 1rem;
        padding: var(--spacing-sm);
    }
    .nav-logo .mobile-only{
        width: 30px;
    }
    .nav-menu{
        opacity: 0;
        position: fixed;
        z-index: 1000;
        top: 0;
        left: 0;
        transform: scaleY(0);
        transform-origin: top;
        width: 100%;
        flex-direction: column; /* or column-reverse */
        justify-content: space-around;
        padding: var(--spacing-md) 0;
        background-color: var(--header-bg-clr);
        box-shadow: 0 4px 2px -2px var(--shadow-clr);
        text-align: center;
        transition: all calc(var(--speed)*2) ease-in;
    }
    /* nav:active (hamburger clicked) */
    .nav-menu.active{
        transform: scaleY(1);
        gap: var(--spacing-md);
        opacity: 1;
    }
    .has-dropdown{
        margin-right: 0;
        text-align: left;
    }
    /* hamburger button */
    .hamburger{
        display: block;
        cursor: pointer;
        background: transparent;
        outline: none;
        border: none;
        z-index: 1000;
    }
    .hamburger.active span:nth-child(1){
        width: 100%;
        transform: translateY(4px) rotate(45deg);
    }
    .hamburger.active span:nth-child(2){
        opacity: 0;
    }
    .hamburger.active span:nth-child(3){
        transform: translateY(-16px) rotate(-45deg);
    }



    /* HERO SECTION */
    .hero-section{
        height: auto;
        padding: 3em 0;
        text-align: center;
    }
    .hero-section>.container{
        width: 99vw;
    }
    .hero-section .main-title{
        width: 100%;
        padding: 0;
        display: block;
        word-break: keep-all;
        font-size: 5.2em;
    }
    .hero-section .hero-description{
        width: auto;
    }
    .hero-section  .otb-icon{
        margin: var(--spacing-lg) auto;
    }
    .hero-section .btn-grp{
        margin: 2em 0;
    }
    .newsletter-section .container{
        width: 75vw;
    }
    .team-section{
        position: relative;
    }
    .team-section .container.grid{
        max-height: 24em;
        overflow-x: scroll;
        grid-template-columns: repeat(6, 20em);
        gap: 1em;
        justify-content: flex-start;
        padding: 1em 0;
        -ms-overflow-style: none;  /* IE and Edge */
        scrollbar-width: none;  /* Firefox */
    }
    .team-section .container.grid::-webkit-scrollbar {
        display: none;
    }
    .team-card{
        height: 22em;
    }
    .team-section .scroll-instruct{
        text-align: right;
        font-size: 3rem;
        animation: mobileScroll 7s infinite;
    }
    .scroll-instruct span{
        display: inline-block;
        transform: rotate(180deg);
    }


    /* SERVICE SECTION */
    .service-section .flex-col p {
        text-align: center;
    }


    .product-section .flex{
        flex-direction: column-reverse !important;
        align-content: stretch;
        gap: 0;
        margin: 2em auto;
        padding-bottom: 2em;
        border-bottom: 1px solid var(--primary-clr);
    }

    /* TEAM */
    

    /* MODAL */
    .modal-body{
        width: 88vw;
    }


    /* FOOTER */
    .footer-nav{
        gap: 1em;
    }
    .footer-section button{
        margin: 1em auto;
        display: block;
    }
    footer .profile-btn{
        display: none;
    }
}