* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f9f9f9;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}
/* Center the logo and heading */
.Logo {
    display: block;
    margin: 0 auto;
    width: 50px; /* Adjust size as needed */
    height: auto;
}

h3 {
    text-align: center;
    font-size: 24px;
    margin-top: 10px;
    color: #333;
}

/* Add a container for logo and heading to ensure alignment */
.logo-heading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.form-container {
    background-color: white;
    padding: 30px 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 80%;
    max-width: 800px;
    overflow: hidden;
}

h2 {
    text-align: center;
    font-size: 26px;
    margin-bottom: 20px;
    color: #ef6603;
}

label {
    font-size: 16px;
    margin: 10px 0 5px;
    display: block;
    color: #555;
}

input[type="text"], input[type="file"], select, textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    background-color: #f9f9f9;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus, textarea:focus, select:focus {
    border-color: #0056b3;
    outline: none;
}

textarea {
    height: 120px;
    resize: none;
}

button {
    padding: 12px 20px;
    margin-top: 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: 100%;
}

button:hover {
    background-color: #ef6603;
    transform: scale(1.05);
}

button:active {
    background-color: #003f75;
    transform: scale(1);
}

.next-btn, .prev-btn {
    background-color: #808080;
    color: white;
}

.submit-btn {
    background-color: #28a745;
    color: white;
}

button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.form-page {
    display: none;
}

.form-page:first-child {
    display: block;
}

.name-section, .address-section {
    margin-bottom: 20px;
}

.phone-input {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1px;
}

.phone-input select {
    width: 25%; /* Adjust width of the dropdown */
    padding: 12px;
    border: 1px solid #dcdcdc;
    background: #f9f9f9;
    border-radius: 5px;
    font-size: 16px;
}

.phone-input input[type="tel"] {
    width: 75%; /* Adjust width of the input box */
    padding: 12px;
    border: 1px solid #dcdcdc;
    background: #f9f9f9;
    border-radius: 5px;
    font-size: 16px;
}

.phone-input select:focus, .phone-input input[type="tel"]:focus {
    background-color: #ffecb3;
    border-color: #ffae35;
    outline: none;
}

/* Styling for Date of Birth field */
.dob-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dob-section label {
    font-size: 14px;
    font-weight: bold;
    color: #555;
}

.dob-section input[type="date"] {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
    background-color: #fff;
    transition: border-color 0.3s;
}

/* Focus effect for Date of Birth input */
.dob-section input[type="date"]:focus {
    border-color: #4a90e2;
    outline: none;
}

/* Style for the Date of Birth Section */
#dobField {
    margin-bottom: 20px;
    font-family: Arial, sans-serif; /* Government websites usually use a clean, sans-serif font */
}

#dobField label {
    font-size: 14px;
    color: #333; /* Dark grey color for label text */
    font-weight: bold;
    display: block;
    margin-bottom: 5px; /* Space between label and input field */
}

#dobField input[type="date"] {
    font-size: 16px;
    padding: 10px;
    width: 100%;
    max-width: 300px; /* Constrained width for a neat appearance */
    border: 1px solid #ccc; /* Light grey border */
    border-radius: 4px; /* Rounded corners for a modern, soft appearance */
    background-color: #f9f9f9; /* Slight grey background */
    color: #333; /* Dark grey text color */
    box-sizing: border-box;
    transition: border-color 0.3s ease; /* Smooth border transition on focus */
}

/* Focus Effect */
#dobField input[type="date"]:focus {
    border-color: #007bff; /* Change border to blue when the input is focused */
    outline: none; /* Remove default outline */
    background-color: #fff; /* Slightly whiter background on focus */
}

/* Style for placeholder text in the date input */
#dobField input[type="date"]::-webkit-input-placeholder {
    color: #aaa; /* Light grey placeholder text */
}

#dobField input[type="date"]:-moz-placeholder {
    color: #aaa; /* Firefox placeholder text color */
}

#dobField input[type="date"]::-moz-placeholder {
    color: #aaa; /* Firefox placeholder text color */
}

#dobField input[type="date"]:-ms-input-placeholder {
    color: #aaa; /* IE placeholder text color */
}
