/* Improved Container Styles */
.container {
    max-width: 400px;
    margin: 50px auto;
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff; /* White background for clarity */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

/* Improved Label Styles */
label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #333;
}

/* Improved Input Styles */
input[type="text"],
input[type="tel"],
input[type="number"],
textarea {
    width: calc(100% - 20px); /* Adjusted width to accommodate padding */
    padding: 12px;
    margin-bottom: 20px; /* Increased margin for better vertical spacing */
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: border-color 0.3s, box-shadow 0.3s; /* Smooth transition for better feedback */
}

/* Apply styles to select element */
select {
    width: calc(101%); /* Adjusted width to accommodate padding */
    padding: 12px;
    margin-bottom: 20px; /* Increased margin for better vertical spacing */
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: border-color 0.3s, box-shadow 0.3s; /* Smooth transition for better feedback */
}

/* Style the options within the select element */
select option {
    padding: 12px;
    border-bottom: 1px solid #ccc;
    background-color: #fff; /* Background color for options */
}

/* Style the selected option */
select option:checked {
    background-color: #f0f0f0; /* Background color for selected option */
}


input[type="text"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
    border-color: #11ccda;
    outline: none;
    box-shadow: 0 0 5px rgba(15, 110, 173, 0.5); /* Highlight focused field */
}

/* Improved Button Styles */
button {
    padding: 14px 28px;
    background-color: #13a0b9;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #eb2e15;
}

/* Improved Image Styles 
.img {
    border-radius: 50%;
    height: 120px;
    width: 120px;
    display: block;
    margin: 0 auto 30px; /* Increased margin for better spacing
    border: 2px solid transparent;
    animation: borderLoad 1s forwards, flip 1s ease-in-out;
}*/

/* Improved Heading Styles */
h2 {
    text-align: center;
    opacity: 0;
    animation: fadeIn 1s forwards;
    margin-bottom: 30px; /* Increased margin for better spacing */
}

/* Keyframes for Image Border Animation */
@keyframes borderLoad {
    0% {
        border-color: transparent;
    }
    100% {
        border-color: #13a0b9;
    }
}

/* Keyframes for Image Flip Animation */
@keyframes flip {
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

/* Keyframes for Fade-in Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
