/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body and font styling */
body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #0f1b2e, #1f2a3f);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 20px;
}

.container {
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    padding: 30px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

header {
    text-align: center;
    margin-bottom: 20px;
}

header h1 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
}

header p {
    font-size: 16px;
    font-weight: 300;
}

form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

label {
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 500;
}

input, select, textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid #fff;
    border-radius: 5px;
    background-color: transparent;
    color: #fff;
    font-size: 14px;
    transition: all 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    border-color: #00d0ff;
    outline: none;
}

textarea {
    resize: none;
}

small {
    font-size: 12px;
    color: #aaa;
}

.help-info {
    font-size: 14px;
    color: #ff5722;
    position: absolute;
    bottom: -20px;
    right: 0;
}

/* Button Styling */
button {
    padding: 12px 24px;
    background: linear-gradient(145deg, #00d0ff, #009cb1);
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
    width: 100%;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

button:hover {
    background: linear-gradient(145deg, #009cb1, #00d0ff);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

button:active {
    transform: translateY(1px);
    background: linear-gradient(145deg, #009cb1, #00d0ff);
}

.submit-btn {
    background: linear-gradient(145deg, #4caf50, #388e3c);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.submit-btn:hover {
    background: linear-gradient(145deg, #388e3c, #4caf50);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.submit-btn:active {
    background: linear-gradient(145deg, #388e3c, #4caf50);
}

/* Back Home Button Styling */
.back-home-btn button {
    background: linear-gradient(145deg, #f44336, #d32f2f);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.back-home-btn button:hover {
    background: linear-gradient(145deg, #d32f2f, #f44336);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.back-home-btn button:active {
    transform: translateY(1px);
    background: linear-gradient(145deg, #d32f2f, #f44336);
}

/* Animation */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.container {
    animation: fadeIn 1s ease-out;
}

input, select, textarea {
    animation: fadeIn 0.5s ease-out;
}

button {
    animation: fadeIn 0.8s ease-out;
}

button:hover {
    animation: bounce 0.5s ease-out;
}

/* Add animation to links */
a {
    text-decoration: none;
}

a:hover {
    transform: scale(1.1);
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .container {
        padding: 20px;
        width: 90%;
    }

    header h1 {
        font-size: 26px;
    }

    header p {
        font-size: 14px;
    }

    .form-group label {
        font-size: 14px;
    }

    input, select, textarea {
        font-size: 12px;
    }

    button {
        font-size: 14px;
    }
}
