* {
    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;
}

.form-container {
    background-color: white;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: 100%;
    max-width: none; /* Removed width constraint */
    max-height: none; /* Removed height constraint */
    overflow-y: auto; /* Scroll for overflow */
}

h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
    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: 20px 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: 15px 20px;
    margin-top: 20px;
    font-size: 18px;
    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%;
    padding: 12px;
    border: 1px solid #dcdcdc;
    background: #f9f9f9;
    border-radius: 5px;
    font-size: 16px;
}

.phone-input input[type="tel"] {
    width: 75%;
    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;
}

#dobField {
    margin-bottom: 20px;
    font-family: Arial, sans-serif;
}

#dobField label {
    font-size: 14px;
    color: #333;
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

#dobField input[type="date"] {
    font-size: 16px;
    padding: 10px;
    width: 100%;
    max-width: 300px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f9f9f9;
    color: #333;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

#dobField input[type="date"]:focus {
    border-color: #007bff;
    outline: none;
    background-color: #fff;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .form-container {
        width: 95%;
        height: auto;
        padding: 30px;
        border-radius: 5px;
    }

    h2 {
        font-size: 24px;
    }

    button {
        font-size: 16px;
    }
}
/* 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;
}