
/* header */
header {
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 5px;
    padding-bottom: 4px;
    background-color: var(--text-white);
    position: sticky;
    top: 0px;
}

.menu-toggle{
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap:40px;
}

.nav-item{
    transition: 10ms ease-out;
}
.nav-item:hover{
    border-bottom: 2px solid var(--primary);
    transform: translateY(-2px);
}

.button-navbar {
    width: 120px;
    height: 45px; 
}

/* hero body gradiant  */


.gradient{
    position: absolute;
    z-index: -1;
    left:0px;
    top: 70px;
    width: 100%;
    height: 400px;
    background: linear-gradient(10deg,var(--text-white)45%,var(--primary)100%);
}

.hero-heading {
    margin-top: 40px;
    font-size: var(--fs-hero);
    line-height: var(--lh-hero);

     max-width: 900px;
     
}

.hero-subpart {
    font-size: var(--fs-hero-sub);
    color: var(--primary);
}

.hero-subheading{
    gap: 10px;
    margin-top: 35px;
    margin-bottom: 25px;
    line-height: var(--lh-section-subtitle);
}

.hero-button{
    width: 206px;
    height: 50px;
    background: radial-gradient(at center,var(--text),var(--navy));
    margin-bottom: 45px;
}

.hero img{
    max-width: 100%;
    height: auto;
    display: block;
}

@media (max-width:768px){

    header{
        /* position: relative; */
        position: sticky;
        top: 0;
    }

    .menu-toggle{
        display: block;
    }

    nav{
        display: none;
    }

    nav.active{
        display: flex;
        flex-direction: column;
        gap: 20px;

        position: absolute;
        top: 100%;
        left: 0;

        width: 100%;
        padding: 20px;

        background: white;
        box-shadow: var(--shadow-md);
        z-index: 9999;
    }

    .button-navbar{
        width: 100%;
    }
}

@media (max-width:1024px){

    .hero-heading{
        text-align: center;
    }

    .hero-subheading{
        text-align: center;
    }
}


@media (max-width:768px){

    .hero-heading{
        margin-top: 30px;
        text-align: center;
        line-height: 1.25;
    }

    .hero-subpart{
        display: block;
        margin-top: 10px;
    }

    .hero-subheading{
        text-align: center;
        padding-inline: 10px;
    }

    .hero-button{
        width: 180px;
        height: 48px;
        margin-bottom: 35px;
    }

    .hero img{
        max-width: 100%;
        height: auto;
    }

    .gradient{
        height: 500px;
    }
}

@media (max-width:480px){

    .hero-button{
        width: 170px;
        height: 45px;
    }
}

@media (max-width:375px){

    /* Global Typography */
    .section-heading{
        line-height: 1.3;
    }

    .section-subtitle{
        line-height: 1.5;
    }

    p,
    a,
    input,
    textarea,
    select,
    button{
        font-size: var(--fs-body-xxs);
    }

    /* Header */
    .menu-toggle{
        font-size: 24px;
    }

    .nav-item{
        font-size: var(--fs-body-xxs);
    }

    .button-navbar{
        font-size: var(--fs-body-xxs);
    }

    /* Hero */
    .hero-heading{
        margin-top: 25px;
        line-height: 1.2;
    }

    .hero-subpart{
        margin-top: 8px;
    }

    .hero-subheading{
        line-height: 1.5;
        margin-top: 25px;
        margin-bottom: 20px;
    }

    .hero-button{
        font-size: var(--fs-body-xxs);
        width: 160px;
        height: 42px;
    }

    .gradient{
        height: 450px;
    }
}