.bj-PoornakalaBannerheaderblock {
    position: fixed;       /* always fixed */
    top: 0;                /* default visible */
    left: 0;
    width: 100%;
    height: 120px;
    background: transparent;
    z-index: 99;
    transition: top 0.4s ease, background-color 0.4s ease; /* 👈 smooth */
}

/* when page is scrolled (adds bg + shadow) */
.bj-PoornakalaBannerheaderblock.fixed {
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

header{
    width:100%;
    height: 100%;
    position: relative;
    z-index: 100;
    /* margin-bottom: 25px; */
}

nav{
    width: 100%;
    height:100%;
    position: relative;
}

.navbar {
    justify-content: space-between;
}

.navbar .bj-logoblock{
    width: 23%;
    height: 100%;
    display: flex;
    justify-content: center;    
    align-items: center;
    outline: none;
    position: relative;
    z-index: 1000;
}

.bj-logo{
    width: 323px;
}

.nav-menu{
    width: 77%;
    height: 100%;   
    justify-content: flex-end;
}

.navbar ul{
    /* width: 69%; */
    display: flex;
    /* justify-content: flex-end; */
    align-items: center;
    position: relative;
}

.nav-menu .overlay {
    position: absolute;
    top: 0; 
    width: 20px;
    height: 3px;           /* line thickness */
    background-color: #DD5E28; /* brand color */
    z-index: 1;            /* above background but under text */
    opacity: 1;
    transition: left 0.3s ease, width 0.3s ease, opacity 0.2s ease;
}

.nav-menu .overlay.active {
    opacity: 1;
    
}   

/* .nav-menu ul li {
    padding-top: 10px;
    padding-right: 25px;
} */

.nav-menu li a{
    color: #342417;
    font-size: 16px;
    /* font-weight: 600; */
    font-family: "Montserrat-SemiBold";
    text-transform: uppercase;
    opacity: 0.75;
    padding: 10px 25px 0 0 ;
    position: relative;
}

.nav-menu li a:hover{
    opacity: 1;
}

.nav-item.active li a:last-child .overlay.active{
    position: unset;
}

.nav-item.active .nav-link{
    display: inline;
    font-weight: 600;
    opacity: 1;
    /* border-top: 3px solid #DD5E28; */
    position: relative;
}

.nav-menu li .menu-btn{
    color: #fff;
    margin: 0;
    font-family: "Montserrat-Bold";
}

.menu-btn{
    background:#DD5E28 0% 0% no-repeat padding-box;
    border-radius: 10px 30px 30px 30px;
    padding: 12px 28px;
    color: #fff;
    opacity: 1 !important;
    cursor: pointer;
}

.nav-menu li:last-child{
    padding-top: 0;
    padding-right: 0;
}

.menu-icons{
    height: 100%;
    display: flex;
    align-items: center;
}

.hamburger{
    display: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    justify-content: center;
    align-items: center;
}

.bar{
    display: block;
    width: 25px;
    height: 2px;
    background-color: #342417;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.bar:nth-child(2){
    margin-top: 5px;
}

.bar:nth-child(3){
    margin-top: 5px;
}

button{
    padding: 15px 35px;
    color: #FFFFFF;
    text-shadow: 1px 1px 1px #00000029;
    background: #035456 0% 0% no-repeat padding-box;
    border-radius: 0px 25px 25px 25px;
    border: none;
    font-size: 1rem;
    font-family: "Montserrat-Bold";
    
}

@media screen and (max-width:1660px) {
    
    .nav-menu li a{
        font-size: 14px;
    }

    button{
        padding: 15px 30px;
        font-size: 0.9rem;
    }
    
}

@media screen and (max-width:1440px) {
    
    .bj-PoornakalaBannerheaderblock{
        height: 100px;
    }

    header{
        margin-bottom:15px ;
    }

    /* .dot-bgblock{
        height: 750px;
    } */

    .bj-logo{
        width: 250px;
    }
}

@media screen and (max-width:1360px) {

    .bj-logo{
        width: 200px;
    }

    .nav-menu li a{
        font-size: 12px;
    }

    .bj-bannerbottom{
        font-size: 12px;
    }

    button{
        padding: 12px 28px;
        font-size: 0.7rem;
    }

}

@media screen and (max-width:1200px) {
    
    .bj-bannerequbemainblock{
        height: 645px;
    }

    header{
        height: 90px;
        margin-bottom: 10px;
    }

    .nav-menu .overlay {
        width: 15px;
        height: 2px;
    }

    /* .nav-menu ul li{
        padding-right: 15px;
    } */

    .nav-menu li a{
        padding: 10px 20px 0 0;
    }

    .menu-btn{
        padding: 8px 20px;
    }

    .bj-bannerbottom{
        margin-right: 20px;
    }
}

@media screen and (max-width:990px) {

    .bj-bannerequbemainblock {
        height: 600px;
    }

    .navbar .bj-logoblock{
        width: unset;
    }

    .navbar ul{
        width: 100%;
        height: unset;
        justify-content: flex-start;
        flex-direction: column;
        align-items: flex-start;
        padding-top: 100px;
    }

    .navbar ul li{
        padding-left: 50px;
    }

    .hamburger{
        display: flex;
        flex-direction: column;
        position: relative;
        z-index: 999;
    }

    .hamburger.active .bar:nth-child(2){
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1){
        transform: translateY(7px) rotate(45deg);
        background-color: #342417;
    }

    .hamburger.active .bar:nth-child(3){
        transform: translateY(-7px) rotate(-45deg);
        background-color: #342417;
    }

    .nav-menu{
        position:fixed;
        left:-100%;
        top:0;
        gap:0;
        justify-content: flex-start;
        flex-direction: column;
        background: #FFF;
        width: 100%;
        transition: all 0.5s ease-out;
        z-index:999;
        padding-left:0;
    }

    .nav-menu.open{
        clip-path:circle (1000px at 90% -10%);
        -webkit-clip-path:circle (1000px at 90% -10%);
        pointer-events: all;
    }
    
    .nav-menu.active {
        left:0px;
        transition: all 0.5s ease-out;
    }
    
    .nav-menu li{
        padding-right: unset;
    }

    .nav-menu .overlay {
        position: unset;
        width: unset;
        height: unset;
    }

    .nav-item .nav-link {
        transition: 0.7s ease;
    }

    .nav-item.active .nav-link::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 20px;
        height: 3px;
        background-color: #DD5E28;
    }
    
    .nav-item{
        margin:15px 0;
    }

    button{
        padding: 12px 30px;
        font-size: 14px;
    }

}

@media screen and (max-width:768px) {

    .bj-PoornakalaBannerheaderblock {
        height: 80px;
    }

    header{
        height: 70px;
        margin-bottom: 00px;
    }

    .bj-logo {
        width:180px;
    }

    .nav-item{
        margin:15px 0;
    }

    button {
        padding: 10px 28px;
        font-size: 14px;
    }

    .navbar ul li{
        padding-left: 35px;
    }
}
@media screen and (max-width:520px) {
    .navbar ul li{
        padding-left: 40px;
    }

    button {
        padding: 10px 25px;
        font-size: 12px;
    }
}

@media screen and (max-width:480px) {

    .nav-item{
        margin:10px 0;
    }

    button{
        margin-left: 35px;
        margin-top: 20px;
    }

}
