/* --- Google Font Import --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

/* --- Color Palette & Global Styles --- */
:root {
    --primary-color: #005A9C; /* A professional blue */
    --secondary-color: #d8dde0; /* Light grey background */
    --dark-color: #222222; /* Dark text color */
    --light-color: #FFFFFF; /* White */
    --container-width: 1100px; /* Max width of content */
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    margin: 0;
    color: var(--dark-color);
    background-color: var(--secondary-color);
}

h1, h2 {
    font-weight: 600;
}

p {
    font-weight: 300;
}

main {
    max-width: var(--container-width);
    margin: auto;
    overflow: hidden;
    padding: 0 2rem;
}

/* --- Header & Banner --- */
.banner {
    position: relative;
    width: 100%;
    height: 60vh; /* Taller banner: 60% of the viewport height */
    color: var(--light-color);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('banner.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.banner-content {
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
    padding: 2rem 3rem;
    border-radius: 5px;
}

.banner-content h1 {
    font-size: 3rem;
    margin: 0;
}

/* --- Content & Form Sections --- */
.content-section, .form-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    align-items: center;
    padding: 4rem 0;
}

.image-block img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Reverses the order for the form section */
.form-section .image-block {
    order: 2;
}

hr {
    border: 0;
    height: 1px;
    background: #ddd;
    margin: 1rem 0;
}

/* --- Form Styling --- */
form {
    display: flex;
    flex-direction: column;
    background: var(--light-color);
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

label {
    margin-top: 1rem;
    font-weight: 400;
}

input, select, textarea {
    padding: 0.8rem;
    margin-top: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
}

button {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: var(--primary-color);
    color: var(--light-color);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #004B82; /* Darker blue on hover */
}

#formResponse {
    margin-top: 1rem;
    padding: 1rem;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
}

.hidden {
    display: none;

/* --- Background Video Styles --- */
.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -2; /* Sits behind everything */
}

.banner::before {
    /* This darkens the video so the text is readable */
    background: rgba(0, 0, 0, 0.5); 
    background-image: none; /* We remove the old banner image */
    z-index: -1;
}

.banner-content {
    background: none; /* We remove the background from the text box */
}