/* Reset margins and paddings for all elements */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Style for body with background and flex centering */
body {
    font-family: Arial, sans-serif;
    background-image: url('https://c4.wallpaperflare.com/wallpaper/565/558/457/heavy-bike-harley-davidson-harley-davidson-modified-wallpaper-preview.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: auto;
    padding: 20px;
}

/* Main container for form and content */
.main-container {
    text-align: center;
    width: 100%;
    max-width: 1100px;
    background: rgba(255, 255, 255, 0.85); /* Increased transparency */
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    margin-top: 40px;
}

/* Header section including logo and heading */
.header-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

/* Logo styling */
.logo {
    width: 90px;
    height: auto;
    margin-right: 20px;
}

/* Heading styling */
.heading {
    font-size: 42px;
    color: #fff;
    background-color: #003366;
    padding: 20px;
    border-radius: 10px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.6);
}

/* Flex container for form */
.container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.95); /* Slight background transparency */
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 1000px;
    flex-wrap: wrap;
}

/* Form container for input fields */
.form-container {
    width: 48%;
}

/* Label styling */
label {
    font-size: 18px;
    margin-top: 10px;
    display: block;
    color: #00177c;
    font-weight: bold;
    letter-spacing: 0.5px;
}

/* Input and textarea styling */
input, textarea {
    width: 100%;
    padding: 12px;
    margin-top: 8px;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Checkbox styling */
input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

/* Consent checkbox and label styling */
.consent {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

/* Button styling */
button {
    width: 100%;
    padding: 12px;
    background-color: #003366;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s ease-in-out;
    font-weight: bold;
}

button:hover {
    background-color: #002244;
    transform: scale(1.05);
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        padding: 15px;
    }

    .form-container {
        width: 100%;
        margin-bottom: 20px;
    }

    .heading {
        font-size: 36px;
    }

    .header-container {
        flex-direction: column;
        align-items: center;
        margin-bottom: 25px;
    }

    .logo {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

/* Error message styling */
.error-message {
    color: red;
    background-color: rgba(255, 0, 0, 0.2);
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 16px;
}
