html,
body {
    box-sizing: border-box;
}

body {
    background: #f0f2f5;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
}

.contact-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    padding: 2rem 0;
}

.contact-card {
    display: flex;
    justify-content: center;
    flex-direction: row;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 900px;
    width: 100%;
}

.contact-decoration {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: #fff;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 50%;
}

.contact-decoration h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-decoration p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.contact-form {
    padding: 4rem;
    width: 50%;
}

.contact-form h5 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.form-control {
    border-radius: 5px;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
}

.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(37, 117, 252, 0.25);
    border-color: #2575fc;
}

.btn {
    border-radius: 5px;
    padding: 0.75rem 1rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1rem;
}

.btn-primary {
    background: linear-gradient(-35deg, #6a11cb 0%, #2575fc 100%);
    border: none;
}

.btn-primary:hover {
    opacity: 0.9;
}

@media (max-width: 768px) {
    .contact-card {
        flex-direction: column;
    }

    .contact-decoration,
    .contact-form {
        width: 100%;
        padding: 1.5rem;
    }

    .contact-decoration h2 {
        font-size: 2rem;
    }

    .contact-decoration p {
        font-size: 1rem;
    }

    .contact-form h5 {
        font-size: 1.5rem;
    }
}
