:root {
    --background-color: #f0f0f0;
    --text-color: #333;
    --card-background: #fff;
    --button-background: #4CAF50;
    --button-text: white;
}

body.dark-mode {
    --background-color: #333;
    --text-color: #f0f0f0;
    --card-background: #444;
    --button-background: #555;
    --button-text: #f0f0f0;
}

body {
    font-family: sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
    background: var(--background-color);
    color: var(--text-color);
}

h1 {
    color: var(--text-color);
}

.toggle-buttons {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.toggle-button {
    padding: 10px;
    border: none;
    background: var(--button-background);
    color: var(--button-text);
    cursor: pointer;
    border-radius: 5px;
}

.toggle-button:hover {
    filter: brightness(120%);
}

.contact-form-section {
    margin-top: 40px;
    background-color: var(--card-background);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;
}

.contact-form-section h2 {
    text-align: center;
    color: var(--text-color);
    margin-bottom: 25px;
}

.contact-form .form-group {
    margin-bottom: 15px;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    color: var(--text-color);
    font-weight: bold;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: var(--background-color);
    color: var(--text-color);
    box-sizing: border-box;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button[type="submit"] {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px;
    background-color: var(--button-background);
    color: var(--button-text);
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button[type="submit"]:hover {
    filter: brightness(110%);
}
