.application {
    background-image: url('.img/bg.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
    padding: 20px;
}

.application-hedder {
    background-color: rgba(255, 255, 255, 0.616);
    padding: 40px;
    border-radius: 16px;
    max-width: 750px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.8s ease-in-out;
}

h5 {
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 30px; 
    color: rgba(252, 141, 141, 0.12); 
    line-height: 2;
    background-color: rgba(252, 134, 134, 0.35); 
    padding: 12px;
    border-left: 5px solid rgb(255, 0, 0);
    border-radius: 6px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

h2 {
    text-align: center;
    color: #000000;
    margin-bottom: 30px;
    font-size: 40px;
    text-transform: uppercase;
}

.section {
    margin-bottom: 25px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    font-size: 14px;
}

input[type="text"],
input[type="email"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #bbb;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 15px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

input[type="text"]:focus,
input[type="email"]:focus {
    border-color: #007bff;
    box-shadow: 0 0 6px rgba(0, 123, 255, 0.4);
    outline: none;
}

.radio-group,
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.radio-group label,
.checkbox-group label {
    font-weight: 500;
    color: #444;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

input[type="radio"] {
    accent-color: #007bff;
    transform: scale(1.2);
}

button[type="submit"] {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.4s, transform 0.2s;
}

button[type="submit"]:hover {
    background: linear-gradient(135deg, #0056b3, #003e80);
    transform: scale(1.02);
}

h4 {
    margin-top: 40px;
    margin-bottom: 15px;
    font-size: 16px;
    color: #444;
    line-height: 1.6;
    background-color: #f1f1f1;
    padding: 12px;
    border-left: 5px solid #007bff;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .application-hedder {
        padding: 25px;
    }

    h2 {
        font-size: 22px;
    }

    input, button {
        font-size: 14px;
    }

    .radio-group,
    .checkbox-group {
        flex-direction: column;
    }
}

.next {
    background-color: #f9f9f9;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    margin: 30px auto;
    max-width: 600px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.692);
    font-family: 'Segoe UI', sans-serif;
    text-align: center;
    animation: slideUp 0.6s ease;
}

.next h3 {
    color: #000000;
    margin-bottom: 10px;
    font-size: 1.8em;
}

.next p {
    color: #333;
    margin: 10px 0;
    line-height: 1.5;
}

.whatsapp-links a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    padding: 12px 20px;
    background-color: #25D366;
    color: white;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.whatsapp-links a:hover {
    background-color: #1da851;
}

.whatsapp-links img {
    width: 24px;
    height: 24px;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
