/* ==========================================
   LARGE DEVICES
   (1200px and below)
========================================== */

@media (max-width:1200px){

    h1{

        font-size:56px;

    }

    .nav-links{

        gap:30px;

    }

}


/* ==========================================
   TABLETS
   (992px and below)
========================================== */

@media (max-width:992px){

    /* Header */

    .header{

        height:90px;

    }

    .logo img{

        height:70px;

    }

    /* Navigation */

    .navbar{

        display:none;

    }

    .menu-toggle{

        display:flex;

        align-items:center;

        justify-content:center;

    }

    /* Hero */

    .hero{

        min-height:700px;

    }

    .hero-content{

        max-width:650px;

    }

    .hero-content h1{

        font-size:50px;

    }

    .hero-content p{

        font-size:17px;

    }

}


/* ==========================================
   MOBILE DEVICES
   (768px and below)
========================================== */

@media (max-width:768px){

    :root{

        --section-padding:90px;

        --header-height:80px;

    }

    .container{

        padding:0 18px;

    }

    .logo img{

        height:76px;

        width:auto;

    }

    .hero{

        min-height:100vh;

        text-align:center;

    }

    .hero-content{

        max-width:100%;

        margin:auto;

    }

    .hero-subtitle{

        font-size:13px;

        letter-spacing:2px;

    }

    .hero-content h1{

        font-size:40px;

        line-height:1.25;

    }

    .hero-content p{

        font-size:16px;

    }

    .hero-buttons{

        flex-direction:column;

        align-items:center;

        gap:15px;

    }

    .btn{

        width:100%;

        max-width:280px;

    }

}


/* ==========================================
   SMALL MOBILE
   (576px and below)
========================================== */

@media (max-width:576px){

    .logo img{

        height:70px;

        width:auto;

    }

    .hero-content h1{

        font-size:32px;

    }

    .hero-content p{

        font-size:15px;

    }

    .hero-subtitle{

        font-size:12px;

        letter-spacing:1.5px;

    }

    .btn{

        padding:14px 28px;

        font-size:15px;

    }

    .scroll-indicator{

        bottom:20px;

    }

}

/* ================================
   MOBILE MENU
================================ */

.menu-toggle{

    display:none;

    width:42px;
    height:42px;

    cursor:pointer;

    background:none;
    border:none;

    flex-direction:column;
    justify-content:center;
    gap:6px;

}

.menu-toggle span{

    height:3px;
    width:28px;

    background:#fff;

    border-radius:50px;

    transition:.35s;

}

/* ================================
   Mobile
================================ */

@media (max-width:991px){

    .navbar{

        display:none;

    }

    .menu-toggle{

        display:flex;

    }

}

.mobile-menu{

    position:fixed;

    top:0;
    right:-320px;

    width:320px;
    max-width:90%;

    height:100vh;

    background:#111;

    z-index:9999;

    transition:.4s ease;

    padding:80px 35px;

}

.mobile-menu.active{

    right:0;

}

.mobile-menu ul{

    display:flex;
    flex-direction:column;
    gap:28px;

}

.mobile-menu a{

    color:#fff;

    font-size:20px;

    font-weight:600;

}

.close-menu{

    position:absolute;

    top:25px;
    right:25px;

    font-size:38px;

    color:#fff;

    background:none;

    border:none;

    cursor:pointer;

}

.menu-overlay{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.55);

    opacity:0;

    visibility:hidden;

    transition:.35s;

    z-index:9998;

}

.menu-overlay.active{

    opacity:1;

    visibility:visible;

}