/* 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"],
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 */
}

input[type="text"]:focus,
input[type="tel"]:focus,
textarea:focus {
    border-color: #0f6ead;
    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: #FFD700;
    color: #000000;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #59e055;
}

/* 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: #FFD700;
    }
}

/* 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;
    }
}
