*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{
    --primary-text-color: #000;
    --secondary-text-color: #999999;
    --bg-color: #fff;
    --btn-bg-color: #222222; 
}

body{
    font-family: poppins, sans-serif;
    color: var(--primary-text-color);
}

body p{
    color: var(--secondary-text-color);
}

.container{
    max-width: 1280px;
    margin: 0 auto;
    padding: 0px 20px;
}

/* Header css start */

.navbar{
    width: 100%;
    padding: 16px 50px;
    background-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    color: #000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    z-index: 1;
}

.navbar a{
    width: 120px;
}

.navbar img{
    width: 100%;
    cursor: pointer;
}

.nav-btn{
    padding: 10px 20px;
    font-weight: 600;
    background-color: var(--primary-text-color);
    color: #fff;
    border: none;
    border-radius: 50px;
    transition: transform 0.3s ease;
}

.nav-btn:hover{
    transform: scale(1.1);
    cursor: pointer;
}

.nav-links{
    display: flex;
    gap: 25px;
    list-style: none;
}

.nav-links li a{
    text-decoration: none;
    color: #000;
    font-weight: 600;
}

#menuOpen, #menuClose{
    display: none;
}

/* Header css end */

.form-container{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 100px 80px 40px 80px;
    gap: 20px;
    /* align-items: center; */
    /* height: 100vh; */
}

form{
    border: 1px solid #000;
    padding: 20px;
    border-radius: 10px;
    width: 40%;

}

.form-grp{
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

form label{
    margin-bottom: 5px;
    font-weight: bold;
}

form input{
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #000;
}

#about{
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #000;
}

form button{
    padding: 10px;
    border-radius: 5px;
    background-color: blue;
    color: #fff;
    border: none;
    cursor: pointer;
}

.error-message{
    color: red;
    font-size: 12px;
    margin-top: 5px;
}

.success-message{
    display: none;
    margin-top: 10px;
    color: green;
    font-size: 14px;
    text-align: center;

}

table{
    border-collapse: collapse;
}

table th, table td{
    padding: 10px;
    text-align: left;
    font-size: 13px;
    border: 1px solid #000;
}

.data-table{
    display: flex; 
    
    width: 60%;
}

tbody {
    font-size: 12px;
}

.userdata{
    width: 100%;
    border: 1px solid #000;
}

/* Footer css start */

.foot{
    background-color: #000;
    padding: 40px;
}

.footer-row{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}

.social-col{
    width: 20%;
    padding: 0px;
    /* color: var(--secondary-text-color); */
}

.inner-row{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    width: 70%;
    align-items: flex-start;
    margin-bottom: 100px;
}

.footer-logo{
    width: 30%;
    height: auto;
    object-fit: contain;
    margin-bottom: 10px;
}

.col p{
    color: var(--secondary-text-color);
}

.social-icons{
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.social-icons a{
    color: #fff;
    font-size: 14px;
    background-color: var(--btn-bg-color);
    padding: 8px;
    border-radius: 50%;
}

.col{
    width: 20%;
    padding: 20px;
}

.col h4{
    color: #fff;
    margin-bottom: 15px;
}

.col ul{
    list-style: none;  
}

.col ul li{
    margin-bottom: 8px;
}

.col ul li a{
    text-decoration: none;
    color: var(--secondary-text-color);
    font-weight: 500;
}

.col ul li a:hover{
    color: #fff;
}

hr{
    border: 1px solid var(--secondary-text-color);
    margin: 20px 0px;
}

.footer-bottom{
    display: flex;
    color: var(--secondary-text-color);
    justify-content: space-between;
    font-weight: 600;
}

.footer-bottom ul{
    display: flex;
    list-style: none;
    gap: 20px;
    text-decoration: none;
}

.footer-bottom ul li a{
    text-decoration: none;
    color: var(--secondary-text-color);
    font-weight: 500;
}

.footer-bottom ul li a:hover{
    color: #000;
}

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

    /* Header */
    
    .nav-links{
        position: absolute;
        top: 50px;
        background: #000;
        width: 100%;
        left: 0;
        padding: 20px 40px;
        flex-direction: column;
        display: none;
        text-align: center;
        color: #fff;
    }

    .nav-links li{
        margin-top: 15px;
    }

    .nav-links li a{
        color: #fff;
    }

    .nav-btn{
        display: none;
    }

    #menuOpen{
        display: block;
    }

    /* form body responsive */

    .form-container{
        padding: 100px 40px;
    }

    /* footer-responsive*/

    .inner-row{
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .col{
        width: 100%;
    }

}

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

    /* Header */

    .navbar a{
    width: 100px;
    }

    /* form body responsive */

    .form-container{
        flex-direction: column;
        gap: 20px;
        padding: 100px 80px;
    }

    form{
        width: 100%;
    }

    .data-table{
        width: 100%;
    }

    /* footer-responsive*/
    
    .inner-row{
        grid-template-columns: repeat(2, 1fr);
    }

    .col{
        width: 100%;
    }

}

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

    /* footer-responsive */
    
    .footer-row{
        flex-direction: column;
        align-items: center;
    }
    .social-col{
        width: 100%;
        text-align: center;
    }
    .social-icons{
        justify-content: center;
    }

    .inner-row{
        margin-top: 15px;
    }

    .col {
        width: 100%;
        text-align: center;
    }

}

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

    /* Header */

    .navbar{
        padding: 16px 25px;
    }

    .navbar a{
        width: 100px;
    }

    /* form responsive */

    .form-container{
        padding: 100px 20px;
    }

    /* footer-responsive */

    .inner-row{
        margin-top: 15px;
        grid-template-columns: repeat(1, 1fr);
    }

}