section.commission {
    padding: 40px 0 180px 0;
}

.commission .container {
    flex-direction: row;
    position: relative;
    gap: 100px;
}

.commission .commission__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 10;
    max-width: 531px;
    padding-bottom: 70px;
}

.commission .commission__title {
    font-weight: 400;
    font-size: 64px;
    line-height: 100%;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    color: var(--secondary-color);
    margin-bottom: 40px;
}

.commission__desc {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    color: var(--text-color);
    margin-bottom: 30px;
}

.commission__desc ul {
    padding-left: 30px;
}

.commission .commission__title span {
    color: var(--primary-color);
}

.commission .commission__images {
    flex: 1;
    max-width: 500px;
    max-height: 571px;
    min-height: 571px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.commission .commission__video {
    width: 100%;
    object-fit: cover;
    object-position: center center;
}

/* commission Form Styles */
.commission__form {
    width: 100%;
}

.commission-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
}

.commission-form .form-group {
    width: 100%;
    position: relative;
}

.commission-form .form-control {
    width: 100%;
    padding: 10px 0;
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: -0.05em;
    border: 0;
    border-bottom: 1px solid var(--extra-color);
    color: var(--secondary-color);
    transition: all 0.3s ease;
    font-family: var(--font-family);
    resize: vertical;
}

.commission-form textarea.form-control {
    padding: 10px 0;
    min-height: 80px;
    line-height: 1.4;
}

.commission-form .form-control:focus-visible {
    outline: none !important;
}

/* .commission-form .form-control:focus {
    outline: none;
    border-color: #FFC107;
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.1);
} */

.commission-form .form-control::placeholder {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: -0.05em;
    color: var(--secondary-color);
}

.form-control.error::placeholder {
    color: #ba2416;
    ;
}

.commission-form .form-control.error {
    border-color: #ba2416;
    ;
}

.commission-form .error-message {
    display: block;
    position: absolute;
    right: 0;
    top: 12px;
    color: #ba2416;
    ;
    font-size: 14px;
}

.commission-form .btn-send {
    width: 100%;
    min-height: 59px;
}

/* .commission-form .btn-send {
    width: 100%;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background-color: #FFC107;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.commission-form .btn-send:hover {
    background-color: #FFB300;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
} */

.commission-form .btn-send:active {
    transform: translateY(0);
}

.commission-form .btn-send:disabled {
    cursor: not-allowed;
    transform: none;
    opacity: 0.5;
}

.commission-form .form-message {
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: 0;
    font-size: 14px;
    display: none;
}

.commission-form .form-message.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.commission-form .form-message.error {
    display: block;
    background-color: #f8d7da;
    color: #ba2416;
    border: 1px solid #f5c6cb;
}

/* .commission-form .form-group-checkbox {
    margin-bottom: 25px;
} */

.commission-form .checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    color: var(--text-color);
}

.form-group-checkbox .checkbox-label:has(input.error) .checkbox-text,
.form-group-checkbox .checkbox-label:has(input.error) .checkbox-text a {
    color: #ba2416;
}

.commission-form .checkbox-label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    min-width: 15px;
    height: 15px;
    padding: 0;
    margin-right: 10px;
    cursor: pointer;
    border: 1px solid var(--secondary-color) !important;
    position: relative;
    border-radius: 0;
    background: #fff;
    transition: all 0.3s linear;
}

.commission-form .checkbox-label input[type="checkbox"]:hover {
    border-color: var(--primary-color);
}

.commission-form .checkbox-label input[type="checkbox"]:checked {
    /* background: var(--primary-color); */
    border-color: var(--primary-color);
}

.commission-form .checkbox-label input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 9px;
    transform: translate(-50%, -50%);
    width: 23px;
    height: 20px;
    background-image: url('../images/checkbox.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.commission-form .checkbox-text {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: -0.05em;
    color: var(--secondary-color);
    padding-top: 2px;
}

.commission-form .checkbox-text a {
    color: var(--primary-color);
    border-bottom: 1px solid transparent;
    text-decoration: underline;
    transition: color 0.3s linear, border-bottom 0.3s linear;
}

.commission-form .checkbox-text a:hover {
    border-bottom: 1px solid var(--primary-color);
}

@media screen and (max-width: 1279px) {
    .commission .container {
        padding: 0;
        margin: 0 40px;
    }

    .commission .commission__video {
        min-width: 100%;
    }
}

@media screen and (max-width: 1200px) {
    .commission .commission__content {
        padding-bottom: 0;
    }

    .commission .commission__content {
        max-width: 465px;
    }
}

@media screen and (max-width: 1023px) {
    .commission .commission__content {
        max-width: 430px;
    }

    .commission .container {
        gap: 50px;
    }

}

@media screen and (max-width: 959px) {
    section.commission {
        padding: 40px 0 100px 0;
    }

    .commission .commission__images {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .commission .container {
        padding: 0;
        margin: 0 40px;
        flex-direction: column;
        gap: 80px;
    }

    .commission .commission__content {
        max-width: 100%;
    }

    .commission .commission__title,
    .commission__desc {
        text-align: center;
        align-self: center;
    }

    .commission .commission__title {
        font-size: 60px;
    }

    .commission .commission__images {
        max-width: 100%;
    }
}

@media screen and (max-width: 767px) {}

@media screen and (max-width: 549px) {
    .commission .container {
        padding: 0 15px;
        margin: 0;
    }

    .commission .commission__images {
        max-width: 100%;
        min-height: 450px;
        max-height: 450px;
        align-items: flex-start;
    }

    .commission .commission__title {
        font-size: 44px;
    }

    .commission__desc {
        font-size: 16px;
    }

    section.commission {
        padding: 60px 0 70px 0;
    }

    .commission .commission__video {
        max-height: 450px;
    }
}