.contact-section {
    position: relative;
    width: 100%;
    min-height: 360px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 30px 40px;
    z-index: 1;
}

.contact-section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    border-radius: 20px;
    margin-bottom: 50px;
}

.contact-form {
    width: 95%;
    max-width: 550px;
    padding: 25px 30px;
    background-color: var(--background);
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    margin-right: 0;
    margin-left: auto;
    z-index: 1;
}

.form-title {
    text-align: right;
    margin-bottom: 15px;
    color: #333;
    font-size: 20px;
    font-weight: bold;
}

.form-group {
    margin-bottom: 12px;
}

.form-label {
    display: block;
    margin-bottom: 4px;
    color: #333;
    font-weight: 500;
    text-align: right;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: var(--gray);
    outline: none;
}

textarea.form-control {
    min-height: 80px;
    resize: vertical;
}

.form-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.half-width {
    width: 48%;
}

.button-container {
    display: flex;
    justify-content: flex-start;
    margin-top: 10px;
}

.submit-btn {
    width: auto;
    padding: 8px 25px;
    background-color: var(--primary);
    color: var(--background);
    border: none;
    border-radius: 999px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 5px;
}

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