* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background: linear-gradient(135deg, #1b1b2f, #162447, #1f4068);
    color: #fff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 10px;
}

/* ----- Container ----- */
.container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 45px 55px;
    width: 95%;
    max-width: 780px;
    /* slightly wider */
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ----- Header ----- */
.title {
    text-align: center;
    font-size: 2.5rem;
    letter-spacing: 3px;
    color: #00d4ff;
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.6);
}

.subtitle {
    text-align: center;
    color: #ccc;
    margin-bottom: 25px;
}

/* ----- Section Title ----- */
.section-title {
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: #ff4081;
    text-shadow: 0 0 2px rgba(255, 64, 129, 0.5);
}

/* ----- Form Layout ----- */
.biodata-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

input,
textarea,
select {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 10px;
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

input::placeholder,
textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* ----- Focus ----- */
input:focus,
textarea:focus,
select:focus,
input.active,
textarea.active,
select.active {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.4), 0 0 20px rgba(0, 212, 255, 0.3);
    transform: scale(1.02);
}


select {
    color: #111;
    /* black text for readability */
    background-color: rgba(255, 255, 255, 0.15);
    /* light opaque background */
    border: none;
    border-radius: 10px;
    padding: 12px 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

select:focus {
    background-color: rgba(255, 255, 255, 0.15);
    color: #111;
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.4), 0 0 20px rgba(0, 212, 255, 0.3);
    transform: scale(1.02);
}

select option {
    background-color: #e0e0e0;
    /* Light grey */
    color: #000;
    /* Black text for readability */
}


/* ----- Buttons ----- */
.button-group {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn {
    padding: 10px 35px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

/* Glow only for buttons */
.btn.primary {
    background: linear-gradient(90deg, #00d4ff, #ff00ff);
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
}

.btn.primary:hover {
    transform: scale(1.07);
    box-shadow: 0 0 20px #ff00ff, 0 0 40px #00d4ff;
}

.btn.secondary {
    background: transparent;
    border: 2px solid #ff4081;
    color: #ff4081;
}

.btn.secondary:hover {
    background: #ff4081;
    color: #fff;
    box-shadow: 0 0 15px #ff4081;
}

/* ----- Floating Contact Button ----- */
.contact-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: linear-gradient(135deg, #ff00ff, #00d4ff);
    color: #fff;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 0 18px rgba(255, 0, 255, 0.5), 0 0 25px rgba(0, 212, 255, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
}

.contact-float:hover {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 0 25px #ff00ff, 0 0 45px #00d4ff;
    background: linear-gradient(135deg, #00d4ff, #ff00ff);
}

/* ----- Shake Animation ----- */
@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

/* ----- Responsive Design ----- */
@media (max-width: 600px) {
    .container {
        padding: 35px 25px;
    }

    .title {
        font-size: 2rem;
    }

    .input-row {
        flex-direction: column;
    }
}