/* General Styling */
body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(to bottom, #ffffff, #f5f5f5);
    color: #333;
    text-align: center;
    margin: 0;
    padding: 20px;
    overflow-x: hidden;
    position: relative;
}

/* Particle Background */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Container */
.container {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin: 50px auto;
    position: relative;
    z-index: 1;
    animation: fadeIn 1s ease-in-out;
}

/* Form Styling */
form {
    display: flex;
    flex-direction: column;
}

label {
    font-weight: bold;
    margin: 10px 0 5px;
    text-align: left;
    color: #444;
}

input, textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus, textarea:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
    outline: none;
}

textarea {
    resize: none;
    height: 120px;
}

/* Button Styling */
button {
    background: linear-gradient(135deg, #4CAF50, #388E3C);
    color: white;
    padding: 12px;
    font-size: 18px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    position: relative;
    overflow: hidden;
}

button:hover {
    background: linear-gradient(135deg, #388E3C, #4CAF50);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.5);
}

/* Button Glow Effect */
button::after {
    content: "";
    position: absolute;
    width: 120%;
    height: 120%;
    top: -100%;
    left: -100%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(45deg);
    transition: 0.5s;
}

button:hover::after {
    top: 100%;
    left: 100%;
}

/* Popup Styling */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease-in-out;
}

.popup-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.2);
    animation: slideDown 0.3s ease-in-out;
}

.popup-content button {
    background: linear-gradient(135deg, #ff4d4d, #e60000);
    margin-top: 15px;
    box-shadow: 0 4px 15px rgba(255, 77, 77, 0.3);
}

.popup-content button:hover {
    background: linear-gradient(135deg, #e60000, #ff4d4d);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 77, 77, 0.5);
}

/* Keyframe Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
