.contact-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 0;
    box-sizing: border-box;
}

.contact-title {
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-title h2 {
    font-family: Helvetica, Helvetica;
    font-weight: bold;
    font-size: 22px;
    color: #333333;
    line-height: 26px;
    margin-bottom: 0 !important;
}

.contact-title img {
    width: 32px;
    height: 26px;
    margin-right: 10px;
}

.contact-form {
    width: 100%;
    max-width: 600px;
    margin-top: 50px;
}

.contact-form .form-group {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-form .form-group label {
    width: 140px;
    flex-shrink: 0;
    margin-bottom: 0;
    font-weight: 500;
}

.contact-form .form-group .form-control,
.contact-form .form-group .input-group,
.contact-form .form-group textarea {
    flex: 1;
}

.contact-form .form-group textarea {
    min-height: 120px;
}

.submit-btn {
    width: 707px;
    height: 57px;
    background: #a01212;
    font-family: Helvetica;
    font-size: 18px;
    color: #ffffff;
    line-height: 28px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #d01515;
}

.submit-btn:disabled,
.submit-btn.disabled {
    background: #cccccc;
    cursor: not-allowed;
    opacity: 0.7;
}

.submit-btn:disabled:hover,
.submit-btn.disabled:hover {
    background: #cccccc;
}

.file-upload-label {
    width: 150px;
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #ced4da;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.file-upload-label:hover {
    background: #f8f9fa;
    border-color: #adb5bd;
}

.file-upload-label .mr-2 {
    margin-right: 8px;
}

@media (max-width: 768px) {
    main {
        padding: 0 20px;
    }
    .contact-box {
        padding: 30px 15px;
    }

    .contact-form {
        max-width: 100%;
        margin-top: 30px;
    }

    .contact-form .form-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-form .form-group label {
        width: 100%;
        margin-bottom: 8px;
    }

    .contact-form .form-group .form-control,
    .contact-form .form-group .input-group,
    .contact-form .form-group textarea {
        width: 100%;
    }

    .contact-form .form-group .input-group {
        display: flex;
        flex-wrap: nowrap;
    }

    .contact-form .form-group .input-group select {
        flex-shrink: 0;
    }

    .contact-form .form-group textarea {
        min-height: 100px;
    }

    .submit-btn {
        width: 100%;
        max-width: 100%;
        height: 50px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .contact-title h2 {
        font-size: 18px;
    }

    .contact-title img {
        width: 28px;
        height: 22px;
    }

    .submit-btn {
        height: 45px;
        font-size: 15px;
    }
}
