body {
    font-family: 'Alumni Sans Pinstripe', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: #FFFCFA;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2 {
    font-family: 'Fraunces', serif;
}

h1 {
    font-size: 3em;
}

h2 {
    font-size: 2.5em;
}

main {
    flex-grow: 1;
    width: 100%;
    margin: 0;
    padding: 0;
}

section {
    padding: 0;
    margin-bottom: 1rem;
}

.content {
    text-align: left;
    padding: 10rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.hero {
    display: flex;
    align-items: stretch; /* Make children stretch to fill the height */
    gap: 2rem;
    margin-bottom: 0;
}

.hero-left {
    flex: 1;
    height: 1200px; /* Fixed height for the image container */
    overflow: hidden; /* Hide overflowing parts of the image */
}

.hero-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically center content */
}

.hero-right-content {
    padding: 0 3rem;
}

.hero-left img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This will crop the image to fit */
}

.form-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.form-section p {
    text-align: left;
}

.form-section form {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-label-caps {
    text-transform: uppercase;
}

form label {
    margin-bottom: 1rem;
}

form input[type="text"],
form input[type="email"],
form select,
form textarea {
    padding: 0.5rem;
    border: 1px solid #eee;
    border-radius: 3px;
    width: 100%;
    max-width: 400px;
}

form input[type="file"] {
    /* No explicit width/max-width for file inputs, let browser handle it */
}

form textarea {
    min-height: 100px;
}

form input[type="checkbox"] {
    border: 1px solid #eee;
}

form button {
    background: #f1d8cc;
    color: #c77f5d;
    padding: 0.7rem;
    border: 0;
    border-radius: 3px;
    cursor: pointer;
    width: auto; /* Changed from 100px to auto */
    white-space: nowrap; /* Added to keep text on one line */
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

form button:hover {
    background: #F7E5DC; /* Updated hover background color */
    transform: scale(1.05);
}

footer {
    text-align: center;
    padding: 1rem 0;
    color: #333;
    width: auto;
}

.cursive {
    font-family: 'WindSong', cursive;
    font-size: 2em;
}

.primary-text-color {
    color: #C77F5D;
}

.description-text-color {
    color: #818181;
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column-reverse;
    }

    .hero-left {
        height: 300px;
    }

    .content {
        padding-left: 3rem;
        padding-right: 3rem;
    }

    .form-section {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}
