@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;600;700&display=swap');

:root {
    --brand-primary: #023F33;
    /* Deep Green */
    --brand-secondary: #E8DDC8;
    /* Beige */
    --bg-color: #FAF7F0;
    /* Cream/Off-white */
    --card-bg: #FFFFFF;
    /* White */
    --text-primary: #023F33;
    /* Using the deep green for primary text for a cohesive look */
    --text-secondary: #4a5d4a;
    /* Softer green-gray */
    --border-color: #E8DDC8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cormorant Garamond', serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
header {
    padding: 60px 5% 20px 5%;
    /* Increased top padding to move logo down */
    display: flex;
    justify-content: center;
    /* Centered Logo for cleanliness */
    align-items: center;
    border-bottom: 1px solid transparent;
    /* Hidden by default, maybe visible on scroll if needed */
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    height: 60px;
    /* Slightly larger, simpler */
    width: auto;
    object-fit: contain;
}

.divider {
    height: 40px;
    width: 1px;
    background-color: #000;
}

.partner-logo {
    height: 85px;
    width: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
}

/* Main Content */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

/* Typography */
h1 {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: -1px;
    line-height: 1.1;
}

p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 500px;
    margin: 0 auto 32px auto;
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: var(--brand-primary);
    color: #fff;
    padding: 14px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.btn:hover {
    background-color: transparent;
    color: var(--brand-primary);
    border-color: var(--brand-primary);
    transform: translateY(-1px);
}

/* Form Container */
.form-card {
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(26, 77, 26, 0.08);
    /* Greenish shadow */
    border: 1px solid var(--border-color);
    padding: 10px;
    /* Inner padding for the iframe */
    width: 100%;
    margin-top: 20px;
}

.form-frame {
    width: 100%;
    height: 80vh;
    /* occupy good vertical space */
    border: none;
    border-radius: 8px;
}

/* Footer (if needed) */
footer {
    padding: 24px;
    text-align: center;
    font-size: 0.875rem;
    color: #999;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

main>* {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Responsive */
@media (max-width: 600px) {
    h1 {
        font-size: 2.25rem;
    }

    .logo {
        height: 40px;
    }

    .partner-logo {
        height: 50px;
    }

    .divider {
        height: 30px;
    }
}