:root {
    --bg-color: #FBF5F0;
    --card-bg: #FFFFFF;
    --primary-color: #D2A478; /* Warm caramel brown from image */
    --primary-hover: #C19368;
    --text-color: #333333;
    --label-color: #666666;
    --border-color: #EAEAEA;
    --input-focus: #D2A47880;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    --border-radius: 20px;
    --input-radius: 12px;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 800px;
}

.contact-card {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.row {
    display: flex;
    gap: 20px;
}

.form-group {
    margin-bottom: 24px;
    flex: 1;
}

label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 10px;
}

input, textarea {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--input-radius);
    font-family: inherit;
    font-size: 15px;
    color: var(--text-color);
    background-color: transparent;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

input::placeholder, textarea::placeholder {
    color: #BBBBBB;
}

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

textarea {
    resize: none;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--input-radius);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(210, 164, 120, 0.3);
}

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

.loader {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
    display: none;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.hidden {
    display: none;
}

.success-message {
    text-align: center;
    padding: 20px 0;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.success-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.success-message h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.success-message p {
    color: var(--label-color);
    margin-bottom: 30px;
}

.reset-btn {
    padding: 12px 24px;
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: var(--input-radius);
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.reset-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

@media (max-width: 600px) {
    .row {
        flex-direction: column;
        gap: 0;
    }
    
    .contact-card {
        padding: 24px;
    }
}
