* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
        font-family: sans-serif;
}

.id-card body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f3f3f3;
}

.id-cards-container {
    margin: 0px 231px;
    padding-top: 75px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;

}
@media (max-width: 1366px) {
    .id-cards-container {
    margin: 0px 211px;
    padding-top: 75px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;

}
    
}
@media (max-width: 1061px) {
    .id-cards-container {
    margin: 0px 0px;
    padding-top: 75px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;

}
    
}

.id-card {
    margin: 10px;
    width: 100%;
    max-width: 300px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s, box-shadow 0.3s;
}

.id-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2);
}

.id-card .header-card {
    background-color: #2979FF;
    padding: 20px 20px;
    color: white;
    position: relative;
}

.id-card .header-card h1 {
    font-size: 25px;
    font-weight: bold;
}

.id-card .profile-info {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    top: 0px;
    padding: 12px 20px;
    flex-direction: row;
}

.id-card .profile-pic {
    display: flex;
    width: 100px;
    height: 120px;
    border-radius: 10%;
    background-color: #ddd;
    overflow: hidden;
    border: 4px solid white;
    margin-right: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    justify-content: center;
    align-items: center;
}

.id-card .profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.id-card .info {
    text-align: left;
}

.id-card .info h2 {
    padding-top: 10px;
    font-size: 20px;
    color: #333;
    margin: 0;
}

.id-card .info p {
    font-size: 14px;
    color: #666;
    margin-top: 2px;
}

.id-card .details {
    text-align: left;
    padding: 10px 20px;
    font-size: 14px;
    color: #333;
}

.id-card .details p {
    margin-bottom: 8px;
    color: #555;
}

.id-card .details span {
    font-weight: bold;
    color: #007BFF;
}

.id-card .footer {
    background-color: #3071f9;
    padding: 10px;
    text-align: center;
    font-size: 12px;
    margin-top: auto;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: #414141;
    color: white;
}

.header .logo {
    display: flex;
    align-items: center;
}

.header .logo img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.header h1 {
    font-size: 1.5rem;
    font-weight: 500;
}

.nav {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    align-content: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
}

.nav-links a:hover {
    color: #ddd;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 4px 0;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 20px;
        background-color: #1651cf;
        width: 200px;
        border-radius: 5px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        text-align: center;
        margin: 15px 0;
    }

    .menu-toggle {
        display: flex;
    }
}

.popup {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background-color: white;
    padding: 25px;
    border-radius: 12px;
    width: 90%;
    max-width: 1000px;
    max-height: 80%;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.close-btn {
    background-color: #f00;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    float: right;
}

form label {
    display: block;
    margin: 10px 0 5px;
    font-weight: bold;
}

form input, form select {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

form button {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

form button:hover {
    background-color: #0056b3;
}

form input, form select {
    font-size: 0.9rem;
}

form button {
    font-size: 0.9rem;
}

.logo-overlay {
    position: absolute;
    top: 93px;
    left: 0px;
    right: 0px;
    bottom: 0;
    background-image: url(https://www.nandwanasamaj.com/image/logo/Favcon.png);
    background-size: 150px;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.1;
    z-index: -7;
    transform: scale(1.5, 1.5);
}

.logo-overlay:hover {
    position: absolute;
    top: 93px;
    left: 0px;
    right: 0px;
    bottom: 0;
    background-image: url(https://www.nandwanasamaj.com/image/logo/Favcon.png);
    background-size: 150px;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.1;
    z-index: -7;
    transform: scale(1.5, 1.5);
}