:root {
    /* Color Palette derived from Logo (Approximate Green) */
    --primary-color: #2ecc71;
    /* Bright Green */
    --primary-dark: #27ae60;
    --text-color: #333333;
    --text-light: #666666;
    --bg-color: #f0f4f8;
    --white: #ffffff;
    --error: #e74c3c;

    /* Spacing & Radius */
    --radius-lg: 16px;
    --radius-md: 8px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;

    /* Shadows */
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-input: 0 2px 5px rgba(0, 0, 0, 0.02);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow-x: hidden;
}

/* Background Accents for depth */
.background-accents {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.accent-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
}

.accent-1 {
    width: 400px;
    height: 400px;
    background: rgba(46, 204, 113, 0.2);
    top: -100px;
    left: -100px;
}

.accent-2 {
    width: 300px;
    height: 300px;
    background: rgba(39, 174, 96, 0.15);
    bottom: -50px;
    right: -50px;
}

/* Main Container */
.container {
    width: 100%;
    max-width: 600px;
    padding: 20px;
}

.form-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    animation: fadeInUp 0.6s ease-out;
}

/* Header */
.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.logo {
    max-height: 140px;
    margin-bottom: 15px;
    display: inline-block;
}

.form-header h1 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-color);
}

.form-header p {
    color: var(--text-light);
    font-weight: 300;
}

/* Form Grid */
.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.full-width {
    grid-column: span 2;
}

/* Inputs */
.input-group {
    display: flex;
    flex-direction: column;
}

.input-group label {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--text-color);
}

input,
textarea {
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    background: var(--white);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-input);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(46, 204, 113, 0.1);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* Actions */
.form-actions {
    grid-column: span 2;
    padding-top: 10px;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-submit:hover {
    background-color: var(--white);
    color: var(--text-color);
    text-decoration: underline;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3);
    border: 1px solid var(--primary-color);
    /* Added border to keep balance since bg is white */
}

.btn-submit:active {
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 600px) {
    .contact-form {
        grid-template-columns: 1fr;
    }

    .full-width {
        grid-column: span 1;
    }

    .form-actions {
        grid-column: span 1;
    }

    .form-card {
        padding: 30px 20px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}