/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: #2c3e50; /* Flat dark background */
    color: #000000; /* Light text for contrast */
}


.kv-image-container {
    width: 100%;  /* Make sure the container spans the full width of the form */
    margin-bottom: 20px; /* Add some space below the image */
}

.kv-image {
    width: 100%;  /* Make sure the image takes up the full width of the container */
    height: auto;  /* Maintain the aspect ratio */
}

/* Form Styling */
form {
    max-width: 500px;
    margin: 10px auto;
    background: #ffffff;
    padding: 25px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border: 2px solid #66a6ff;
    box-sizing: border-box; /* Ensure padding does not overflow width */
}

h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 600;
}

/* Label Styles */
label {
    display: block;
    margin: 10px 0 5px;
    font-weight: bold;
    color: #444;
    font-size: 14px;
}

/* Input and Select Styling */
input[type="text"], 
input[type="email"],
input[type="tel"], 
select {
    width: 100%;
    box-sizing: border-box; /* Ensures padding does not affect width */
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    background-color: #f4f8ff;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

input[type="text"]:focus, 
input[type="email"]:focus, 
input[type="tel"]:focus,
select:focus {
    border-color: #66a6ff;
    box-shadow: 0 0 8px rgba(102, 166, 255, 0.5);
    outline: none;
}


label {
    font-size: 16px;
    color: #555;
    cursor: pointer;
}

/* Button Styles */
button {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    background: linear-gradient(135deg, #66a6ff, #89f7fe);
    color: #fff;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(102, 166, 255, 0.5);
}

/* Form Shadow Animation */
form:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Placeholder Text Styling */
input::placeholder {
    color: #bebebe;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    form {
        padding: 20px;
        margin: 30px 15px;
    }
    h2 {
        font-size: 20px;
    }
    input[type="text"], 
    input[type="email"], 
    input[type="tel"],
    select {
        font-size: 14px;
    }
    button {
        font-size: 14px;
    }
}
