
/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Arial', sans-serif;
    background-image: url(img/pd3.jpeg);
    background-size: cover;
    background-position: center top -20px  ; /* Moves the image up by 10px */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: #fff;
}


/* Form Container */
.form-container {
    background: rgba(9, 21, 36, 0.753);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.151);
    width: 100%;
    max-width: 400px;
    /* backdrop-filter: blur(2px); */
}

/* Form Styling */
.modern-form h2 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: #fff;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #ddd;
    opacity: 100%;
}

.input-group input {
    width: 100%;
    padding: 0.8rem;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    outline: none;
    background: rgba(255, 255, 255, 0.034);
    color: #fff;
    transition: all 0.3s ease-in-out;
}

.input-group input::placeholder {
    color: #bbb;
}

.input-group input:focus {
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

/* Submit Button */
button {
    width: 100%;
    padding: 0.8rem;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #4e41ff, #41b9ffab);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

button:hover {
    background: linear-gradient(135deg, #6c18f1f1, #41b9ffab);
    box-shadow: 0 8px 15px rgba(43, 117, 255, 0.3);
}

/* Popup Styling */
.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 25%;
    height: 315px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    background: rgb(0, 0, 0);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    color: #fff;
    display: none;
    z-index: 1000;
}

.popup h3 {
    margin-bottom: 1rem;
}

.popup button {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    background: linear-gradient(135deg, #28a745, #218838);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.popup button:hover {
    background: linear-gradient(135deg, #218838, #28a745);
    box-shadow: 0 4px 10px rgba(40, 167, 69, 0.3);
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 999;
}
