* {
    margin: 0;
    padding: 0;
    font-family: 'poppins', sans-serif;

}

.header {
    min-height: auto;
    width: 100%;

    display: flex;
   /* background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url(Images/Nispa_banner_1.png); */
    position: relative;
    justify-content: space-between;
    overflow: hidden;
}


/* Add a class to hide the navbar */
.navbar {
    position: fixed;
    top: 0;
     /* Adjust as needed */
    z-index: 1000; /* Ensure it's above other content */
    transition: 1s;
}

/* Hidden class for hiding navbar */
.navbar.hidden {
    transform: translateY(-100%);
    transition: transform 0.5s ease-in-out;
}
nav {
    width: 100%;
    padding-left: 2%;
    padding-right: 1%;
    
    display: flex;
    justify-content: space-between;
    align-items: center;
   
   
}


nav img {
    width: 250px;

}

.nav-links {
    flex: 1;
    text-align: right;
    
    margin-top: 00px;
    
    
    
}


.nav-links ul li {
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
    
    
}

.nav-links ul li a {
    color: darkgreen;
    text-decoration: none;
    font-size: 13px;
    
}


.nav-links ul li::after {
    content: '';
    width: 0%;
    height: 2px;
    background: #f44336;
    display: block;
    margin: auto;
    transition: 0.5s;
    
    
}

.nav-links ul li:hover::after {
    width: 80%;
}

.text-box {
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.text-box h1 {
    font-size: 35px;

}

.text-box p {
    margin: 10px 0 40px;
    font-size: 17px;
    color: #fff;
}


nav .fa-solid {
    display: none;
}

/*
@media (max-width:700px) {
    .text-box h1 {
        font-size: 15px;

    }

    .nav-links ul li {
        display: block;
    }

    .nav-links {
        
        position: fixed;
        background: #f44336;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }

    nav .fa-solid {
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }

    .nav-links ul {
        padding: 30px;

    }
}
*/
/* Add your existing CSS code here */

@media screen and (max-width: 1024px) {
    .navbar {
        padding: 0px 10px 10px 10px;
    }
}

@media screen and (max-width: 700px) {
    .navbar {
        padding: 0px 10px 10px 10px;
        
    }

    .nav-links {
        display: flex;
        position: fixed;
        background-color: rgb(216, 255, 240);
        height: auto;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 0.5s ease-in-out;
    }
    .navbar.active .nav-links {
        display: block;
        right: 0;
    }
    nav .fa-bars, nav .fa-xmark {
        display: block;
        color: #c40505;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }
    .nav-links ul {
        padding: 30px;
    }
    .nav-links ul li {
        display: block;
        margin-bottom: 10px;
    }
    .nav-links ul li a {
        font-size: 18px;
    }
    .nav-links ul li:last-child {
        margin-bottom: 0;
    }
}

/* Add additional CSS for visual effects if needed */