/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif; /* Fallback if not loaded, preferably load a font */
    min-height: 100vh;
    display: flex;
}

/* Split Screen Layout */
.split-screen {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

/* Left Side - Image */
.left-side {
    flex: 0 0 35%; /* Fixed width for image side */
    background-image: url('images/leaf.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Logo Overlay */
.logo-container {
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    width: 100%;
    padding: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20vh;
}

.logo-img {
    height: 80px;
    width: auto;
    margin-right: 10px;
}

.logo-container h1 {
    color: white;
    font-size: 5rem;
    font-weight: normal; /* Adjust based on font availability */
}

/* Photo Credit */
.photo-credit {
    color: white;
    text-align: center;
    padding-bottom: 10px;
    font-size: 0.8rem;
}

.photo-credit a {
    color: white;
    text-decoration: underline;
}

/* Right Side - Content */
.right-side {
    flex: 1; /* Takes remaining space */
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically center content approximately */
}

/* Intro Text */
.intro-text {
    padding: 0 50px;
    margin-bottom: 40px;
    max-width: 800px;
}

.intro-text p {
    font-size: 1.2rem;
    line-height: 1.5;
    color: #333;
    margin-bottom: 20px;
}

/* Form Section */
.form-section {
    background-color: white;
    padding: 20px 50px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.form-section h2 {
    margin-bottom: 20px;
    color: #333;
    font-size: 1.5rem;
}

.form-row {
    display: flex;
    gap: 40px;
    margin-bottom: 20px;
    flex-wrap: wrap; /* Responsive wrap */
}

.form-group {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: bold;
    color: #555;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.form-group input {
    padding: 8px;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    font-size: 1rem;
    outline: none;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.form-group input:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
}

.form-group input:invalid:not(:placeholder-shown) {
    border-color: #e53935;
}


/* Action Section */
.action-section {
    padding: 0 50px;
}

button {
    background-color: #596d48;
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    margin-bottom: 20px;
    transition: transform 0.1s;
}

button:hover {
    background-color: #4caf50;
    transform: translateY(-2px);
}

.action-section p {
    font-size: 1rem;
}

.action-section a {
    color: #596d48;
    font-weight: bold;
    text-decoration: none;
}

.action-section a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .split-screen {
        flex-direction: column;
    }

    .left-side {
        width: 100%;
        height: 30vh;
        flex: none;
    }
    
    .logo-container {
        margin-top: 5vh;
    }

    .intro-text, .form-section, .action-section {
        padding: 20px;
    }
}
