/* Google Fonts - Poppins font is linked in the HTML */

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f4f7f6; /* Light grey background */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    min-height: 100vh;
    margin: 0;
}

.registration-container {
    max-width: 900px;
    width: 100%;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 15px;
}

header h1 {
    color: #3f51b5; /* Primary accent color (Blue) */
    font-weight: 700;
}

header p {
    color: #757575;
    font-size: 1.1em;
}

form {
    display: flex;
    flex-wrap: wrap; /* To place cards side-by-side */
    gap: 20px;
}

.form-section {
    flex: 1 1 calc(50% - 20px); /* 50% width minus the gap */
    padding: 25px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #fafafa;
}

.form-section h2 {
    color: #424242;
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 18px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #555;
    font-size: 0.9em;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
input[type="date"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box; /* Includes padding in width */
    transition: border-color 0.3s;
}

input:focus, select:focus {
    border-color: #3f51b5;
    outline: none;
    box-shadow: 0 0 5px rgba(63, 81, 181, 0.3);
}

.checkbox-group, .radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.checkbox-group label, .radio-group label {
    font-weight: 400;
    color: #333;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background-color: #3f51b5; /* Primary color */
    color: white;
    font-size: 1.1em;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    margin-top: 20px;
}

.submit-btn:hover {
    background-color: #303f9f; /* Darker blue */
    transform: translateY(-2px);
}

/* Responsive Design for smaller screens (Mobile Look) */
@media (max-width: 768px) {
    .form-section {
        flex: 1 1 100%; /* Makes cards full width */
    }
    .registration-container {
        padding: 20px;
    }
}