.contact-wrapper {
    background: #222021;
    width: 100%;
    padding: 120px 0;
}

.contact-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 32px;
}

.contact {
    display: flex;
    align-items: flex-start;
    gap: 132px;
    justify-content: space-between;
}

.contact-header {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    flex: 0 0 448px;
}

.contact-misc {
    position: absolute;
    top: -56px;
    left: -48px;
    width: 64px;
    height: 72px;
}

.contact-misc img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.contact-title {
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
    font-size: 61px;
    line-height: 1;
    color: #f8f8f8;
    letter-spacing: -1.83px;
    margin: 0;
}

.contact-title .highlight {
    color: #fee400;
}

.contact-description {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 21px;
    line-height: 1.42;
    color: #f8f8f8;
    margin: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 0 0 564px;
}

.form-group {
    position: relative;
}

.form-input {
    width: 100%;
    background: transparent;
    border: 1px solid #d6d7dd;
    padding: 16px 24px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 21px;
    line-height: 24px;
    color: #f8f8f8;
    letter-spacing: -0.63px;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    border-color: #fee400;
}

.form-input::placeholder {
    color: #f8f8f8;
    opacity: 0.7;
}

.form-input.name-input {
    border-radius: 24px 24px 0 0;
}

.form-input.message-input {
    border-radius: 0 0 24px 24px;
    height: 320px;
    resize: vertical;
    padding-top: 16px;
    vertical-align: top;
}

.input-icon {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    pointer-events: none;
}

.message-input-wrapper .input-icon {
    top: 32px;
    transform: none;
}

.submit-button {
    background: #fee400;
    color: #222021;
    border: none;
    padding: 20px 24px;
    border-radius: 48px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: -0.48px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(254, 228, 0, 0.3);
}

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


/* Responsive design */
@media (max-width: 1200px) {
    .contact {
        gap: 80px;
    }

    .contact-header {
        flex: 0 0 400px;
    }

    .contact-form {
        flex: 0 0 480px;
    }
}

@media (max-width: 1024px) {
    .contact-wrapper {
        padding: 80px 0;
    }

    .contact {
        flex-direction: column;
        gap: 60px;
        text-align: center;
    }

    .contact-header {
        flex: none;
        max-width: 600px;
        margin: 0 auto;
    }

    .contact-misc {
        left: -24px;
        top: -32px;
        width: 48px;
        height: 54px;
    }

    .contact-form {
        flex: none;
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .contact-container {
        padding: 0 24px;
    }

    .contact-wrapper {
        padding: 60px 0;
    }

    .contact {
        gap: 40px;
    }

    .contact-title {
        font-size: 42px;
        letter-spacing: -1.26px;
    }

    .contact-description {
        font-size: 18px;
    }

    .form-input {
        font-size: 18px;
        padding: 14px 20px;
    }

    .input-icon {
        right: 20px;
        width: 14px;
        height: 14px;
    }

    .message-input-wrapper .input-icon {
        top: 28px;
    }

    .form-input.message-input {
        height: 240px;
        padding-top: 14px;
    }

    .submit-button {
        padding: 16px 20px;
        font-size: 14px;
    }

    .contact-misc {
        left: -16px;
        top: -24px;
        width: 36px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .contact-container {
        padding: 0 16px;
    }

    .contact-wrapper {
        padding: 40px 0;
    }

    .contact-title {
        font-size: 32px;
        letter-spacing: -0.96px;
    }

    .contact-description {
        font-size: 16px;
    }

    .form-input {
        font-size: 16px;
        padding: 12px 16px;
    }

    .input-icon {
        right: 16px;
        width: 12px;
        height: 12px;
    }

    .message-input-wrapper .input-icon {
        top: 24px;
    }

    .form-input.message-input {
        height: 200px;
        padding-top: 12px;
    }

    .submit-button {
        padding: 14px 16px;
        font-size: 12px;
    }

    .contact-misc {
        display: none;
    }
}