.step-box .header-section {
    max-width: 1540px;
    margin: 0 auto;
    background-color: #efe;
    padding: 80px 40px 20px 40px;
    margin-top: 40px;
    display: flex;
    justify-content: start;
    align-items: flex-start;
}

.step-box .header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8vw;
}

.step-box .header-titles {
    flex: 1.2;
    text-align: left;
}

.step-box .header-contact {
    flex: 1.8;
    display: flex;
    justify-content: flex-end;
    padding-left: 8px;
}

.step-box .header-section h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #280;
    margin-bottom: 8px;
}

.step-box .header-section p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 12px;
}

.step-box .contact-info p {
    margin-bottom: 4px;
    font-size: 0.9rem;
}

.step-box .contact-info a {
    color: #06c;
    text-decoration: none;
    font-weight: 500;
}

.step-box .contact-info a:hover {
    text-decoration: underline;
}

.step-box .container {
    display: flex;
    max-width: 1540px;
    margin: 0 auto;
    padding: 0 40px 30px;
    gap: 0;
    background-color: #efe;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.step-box .form-section {
    flex: 1;
    padding: 40px 18px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: fit-content;
    border-radius: 8px;
}

.step-box .image-section {
    flex: 1;
    background-color: #efe;
    display: flex;
    justify-content: center;
    padding-left: 30px;
}

.step-box .image-section img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.step-box .form-section .form-group {
    margin-bottom: 30px;
}

.step-box .form-section .form-group {
    position: relative;
}

.step-box .form-section label {
    display: block;
    padding-left: 5px;
    padding-right: 5px;
    color: #5d5d5d;
    position: absolute;
    left: 15px;
    top: 35%;
    transform: translateY(-50%);
    transition: 0.2s ease all;
}

.step-box .form-group label[for="consentCheckbox"] {
    position: static;
    transform: none;
    pointer-events: all;
}

.step-box .form-group label[for="totalAnnualCardSales"],
.step-box .form-group label[for="comments"] {
    top: 25%;
}

.step-box #contactForm .label-up {
    font-size: 12px;
    top: -2%;
    background-color: #fff;
}

.step-box .form-section input,
.step-box .form-section select,
.step-box .form-section textarea {
    color: #5d5d5d;
    padding: 18.5px 14px;
    border: 1px solid rgba(0, 0, 0, 0.23);
    border-radius: 4px;
    transition: border-color 0.3s, box-shadow 0.3s;
    background-color: #fff;
    width: 100%;
}

.step-box .form-section input:focus,
.step-box .form-section select:focus,
.step-box .form-section textarea:focus {
    border: 1px solid #000;
}

.step-box .form-section input:hover,
.step-box .form-section select:hover,
.step-box .form-section textarea:hover {
    border: 1px solid #000;
}

.step-box .form-section .form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 24px;
}

.step-box .form-section .form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.step-box .form-section button {
    background-color: #280;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
}

.step-box .form-section button:hover {
    background-color: #040;
}

.step-box .form-section .form-footer {
    margin-top: 20px;
    color: 5d 5d 5d;
    font-size: 12px;
}

.step-box .form-section .form-footer a {
    text-decoration: none;
    color: #280;
}

.step-box .form-section .form-footer a:hover {
    text-decoration: underline;
}

.step-box .form-section .error-message {
    font-size: 12px;
    color: #e70000;
    margin-top: 3px;
    margin-left: 14px;
    margin-right: 14px;
    line-height: 1.66;
}

.step-box .form-section .input-error {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.1);
}

.step-box .form-section .consent-group {
    margin-bottom: 30px;
    display: flex;
    align-items: flex-start;
    width: 100%;
    margin-top: 10px;
}

.step-box .form-section .consent-group label {
    display: inline;
    max-width: 90%;
    vertical-align: top;
    font-weight: normal;
    color: #5d5d5d;
    font-size: 12px;
}

.step-box .form-section .contact-btn {
    font-family: 'graphik';
    padding: 20px;
}

.step-box .form-section .consent-group input[type="checkbox"] {
    margin-top: 6px;
    margin-right: 0;
    margin-left: 3px;
    padding: 0px;
    vertical-align: top;
    width: 6%;
    transform: scale(1.5);
}

.step-box .success-message {
    display: none;
    background-color: #d4edda;
    color: #155724;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.step-box #contactForm .error-messages {
    padding-bottom: 20px;
    color: #e70000;
}

@media (max-width: 1024px) {
    .step-box .container {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }

    .step-box .form-section {
        padding: 20px;
    }

    .step-box .image-section {
        display: none;
    }

    .step-box .header-flex {
        flex-direction: column;
        gap: 12px;
    }

    .step-box .header-contact {
        justify-content: flex-start;
    }

    .step-box .contact-info .offer {
        display: block !important;
        margin-top: 9px;
        color: #280;
        font-size: 18px;
    }

    .step-box .contact-info .offer-desc {
        display: block !important;
        color: #666;
        padding-top: 10px;
    }

    .step-box .form-section .consent-group input[type="checkbox"] {
        margin-top: 7px;
    }
}

@media (max-width: 768px) {
    .step-box .form-section .form-row {
        flex-direction: column;
        gap: 20px;
    }

    .step-box .header-section h1 {
        font-size: 2rem;
    }

    .step-box .header-section {
        padding: 40px 40px 20px 25px;
    }
}

@media (max-width: 480px) {
    .step-box .container {
        padding: 0 15px 20px;
    }

    .step-box .form-section {
        padding: 15px;
    }

    .step-box .header-section h1 {
        font-size: 1.4rem;
    }
}

.step-box .contact-info h1+p {
    width: 100%;
}

.step-box p.contact-para {
    margin-bottom: 0;
}

.step-box .overlay-container {
    display: flex;
    flex: 1;
    position: relative;
    overflow: hidden;
    color: white;
}

.step-box .overlay-text {
    position: absolute;
    left: 1.9rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    border-radius: 8px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0) 100%);
    height: 100%;
    width: 100%;
}

.step-box .overlay-text h3 {
    font-weight: bold;
    font-size: 32px;
    line-height: 1.2;
    width: 65%;
    position: relative;
    top: 9%;
    left: 5%;
}

.step-box .overlay-text p {
    position: relative;
    top: 6rem;
    width: 65%;
    left: 2rem;
}

.step-box .phone a {
    color: #280 !important;
}

.step-box .phone img {
    width: 2%;
    margin-left: 2px;
    margin-right: 2px;
}

.step-box .contact-info .offer {
    display: none;
}

.step-box .contact-info .offer-desc {
    display: none;
}

.step-box p.consent {
    font-family: Graphik-light, sans-serif;
    font-size: 14px;
    margin-left: 10px;
}