/* General Resets and Base Styles */
:root {
    --primary-color: #007bff; /* A nice, professional blue */
    --secondary-color: #343a40; /* Dark gray for text */
    --background-light: #f8f9fa; /* Light background */
    --text-dark: #212529;
    --font-family: 'Roboto', sans-serif;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    background-color: var(--background-light);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 90%;
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    flex-grow: 1; /* Allows the main content to take available space */
}

/* Header/Hero Section */
.hero {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 30px 20px;
    text-align: center;
    border-bottom: 5px solid var(--secondary-color);
}

.logo-container {
    margin-bottom: 15px;
}

.logo {
    width: 80px; /* Adjust size as needed */
    height: 80px;
    border-radius: 50%; /* If your logo is circular */
    border: 3px solid #ffffff;
    object-fit: cover;
}

.hero h1 {
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 2.2em;
    font-weight: 700;
}

.hero h2 {
    margin: 0;
    font-size: 1.2em;
    font-weight: 400;
    opacity: 0.9;
}

/* Invitation Section */
.invitation {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px 0;
    border-bottom: 1px dashed #cccccc;
}

.invitation h3 {
    color: var(--primary-color);
    font-size: 1.8em;
    margin-bottom: 15px;
}

.event-details {
    display: inline-block;
    background-color: #e9ecef;
    padding: 15px 30px;
    border-radius: 5px;
    margin: 15px 0;
    text-align: left;
}

.event-details p {
    margin: 5px 0;
}

/* Registration Form */
.registration-form-section {
    padding: 20px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
}

.form-title {
    text-align: center;
    color: var(--secondary-color);
    margin-top: 0;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 700;
    color: var(--secondary-color);
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    box-sizing: border-box; /* Important for padding/border calculation */
    font-size: 1em;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    outline: none;
}

.submit-button {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 700;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

.submit-button:hover {
    background-color: #0056b3;
}

.note {
    font-size: 0.85em;
    text-align: center;
    color: #6c757d;
    margin-top: 15px;
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: #ffffff;
    text-align: center;
    padding: 15px 20px;
    font-size: 0.9em;
    margin-top: auto; /* Pushes the footer to the bottom */
}

.footer p {
    margin: 5px 0;
}