.about-us-form {
    max-width: 500px;
    margin: 0 auto;
}

/* Base styles */
.section-title {
    margin-bottom: 20px;
    color: #222D45;
    font-family: Rubik;
    font-size: 40px;
    font-weight: 600;
    line-height: 1.3;
}

/* Our Achievements Section */
.achievements-section {
    padding: 20px;
    margin-top: 40px;
    border-radius: 10px;
    background: #F9F9F9;
}

.wp-block-button .wp-element-button,
.wp-block-button__link {
    background-color: #40BA84;
    color: #fff;
    padding: 13px 32px;
    border-radius: 6px;
    font-family: Rubik;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    min-width: 240px;
}

.wp-block-button .wp-element-button:hover,
.wp-block-button__link:hover {
    background-color: #379873;
}

.achievements-section .wp-block-columns.are-vertically-aligned-center {
    margin-bottom: 0;
    align-items: center;
    gap: 40px;
}

.wp-block-image {
    margin: 0;
}

.section-description {
    margin-bottom: 50px;
    color: #4F5665;
    font-family: Rubik;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.33;
}

.text-center {
    text-align: center;
}

.feature-box {
    padding: 30px;
}

.fw-bold {
    font-weight: 700;
}

.button-container {
    display: flex;
    gap: 16px;
    padding: 36px 0 16px;
}

.button-container .btn {
    display: flex;
    width: 212px;
    padding: 13px 0;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    line-height: 1;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.button-container .btn-primary {
    background: #40BA84;
    border: 1px solid #40BA84;
    color: white;
}

.button-container .btn-primary:hover {
    background: #379873;
}

.button-container .btn-outline {
    border: 1px solid #40BA84;
    background: rgba(64, 186, 132, 0.10);
    color: #40BA84;
}

.button-container .btn-outline:hover {
    background: rgba(64, 186, 132, 0.20);
}

.right_phones_images.desctop {
    left: 0;
    position: absolute;
    top: 0px;
    padding: 0;
    width: 100%;
    overflow: hidden;
    height: 100%;
    z-index: -1;
}

/* Base styles for 1920px */
.right_phones_images.desctop svg {
    position: absolute;
    left: 30%;
    top: -180px;
    height: 1000px;
}

.right_phones_images.desctop img {
    position: absolute;
    top: 78px;
    left: 58%;
    max-width: 580px;
    max-height: 633px;
}

.right_phones_images.mobile {
    position: relative;
    width: 100%;
    height: 630px;
    display: none;
    align-items: center;
    justify-content: center;
    margin-left: -15px;
    width: calc(100% + 30px);
    overflow: hidden;
}

.right_phones_images.mobile img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: none;
    height: auto;
}

.top_title {
    max-width: 600px;
    margin: 0 auto;
}

.wp-block-columns.form-section {
    margin-bottom: 120px;
}

.left_right_content {
    margin-bottom: 0;
    gap: 0;
}

.left_right_content figure.wp-block-image.size-full {
    margin-bottom: 0;
}

.left_right_content .text-block-right {
    margin-left: 88px;
}

.left_right_content .text-block-left {
    margin-right: 88px;
}

.left_right_content.right {
    margin-bottom: 100px;
}

.team-gal {
    flex-wrap: nowrap;
    gap: 0 !important;
}

.team-gal figure:not(:first-child) {
    margin-left: -20px !important;
}

.team-gal figure:first-child {
    z-index: 5;
}

.team-gal figure:nth-child(1) {
    z-index: 5;
}

.team-gal figure:nth-child(2) {
    z-index: 4;
}

.team-gal figure:nth-child(3) {
    z-index: 3;
}

.team-gal figure:nth-child(4) {
    z-index: 2;
}

.team-gal figure:nth-child(5) {
    z-index: 1;
}

.team-gal figure img {
    width: 52px !important;
    height: 52px !important;
}

.sets-us-apart h2 {
    color: #222D45;
    font-family: Rubik;
    font-size: 40px;
    font-weight: 600;
    line-height: 1.3;
}

.sets-us-apart .feature-box {
    display: flex;
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-radius: 10px;
    background: #F9F9F9;
    width: 243px;
}

.sets-us-apart .feature-box h3 {
    color: #222D45;
    font-family: Rubik;
    font-size: 18px !important;
    font-weight: 500;
    line-height: 26px;
}

/* Sets Us Apart section */
.sets-us-apart .wp-block-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

.sets-us-apart .wp-block-column {
    flex: 0 0 auto;
}

/* MEDIA QUERIES */

/* Specific Min-Max Combinations (keep separate) */
@media (min-width: 576px) and (max-width: 991.98px) {
    .right_phones_images.mobile {
        overflow: visible;
    }

    .right_phones_images.mobile img {
        max-width: 100vw !important;
    }
}

@media (min-width: 992px) {
    .section_cta {
        display: block;
        height: 100%;
        margin-top: 0;
        /*margin-bottom: -100px;*/
        padding: 80px 0 200px;
    }
}

@media (min-width: 992px) and (max-width: 1099px) {
    .right_phones_images.desctop svg {
        left: 6%;
    }

    .right_phones_images.desctop img {
        top: 50px;
        max-width: 400px;
        max-height: 450px;
    }
}

@media (min-width: 1100px) and (max-width: 1199px) {
    .right_phones_images.desctop svg {
        left: 10%;
    }

    .right_phones_images.desctop img {
        top: 50px;
        max-width: 400px;
        max-height: 450px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .sets-us-apart .feature-box {
        width: 200px;
        gap: 12px;
    }

    .sets-us-apart .feature-box h3 {
        font-size: 16px !important;
        line-height: 22px;
    }

    .sets-us-apart .feature-box img {
        max-width: 85%;
        height: auto;
    }
}

@media (min-width: 1200px) and (max-width: 1299px) {
    .right_phones_images.desctop svg {
        left: 13%;
    }

    .right_phones_images.desctop img {
        top: 50px;
        max-width: 480px;
        max-height: 533px;
    }
}

@media (min-width: 1300px) and (max-width: 1399px) {
    .right_phones_images.desctop svg {
        left: 16%;
    }

    .right_phones_images.desctop img {
        top: 50px;
        max-width: 480px;
        max-height: 533px;
    }
}

@media (min-width: 1400px) and (max-width: 1499px) {
    .right_phones_images.desctop svg {
        left: 18%;
    }
}

@media (min-width: 1500px) and (max-width: 1599px) {
    .right_phones_images.desctop svg {
        left: 21%;
    }
}

@media (min-width: 1600px) and (max-width: 1699px) {
    .right_phones_images.desctop svg {
        left: 24%;
    }
}

@media (min-width: 1700px) and (max-width: 1799px) {
    .right_phones_images.desctop svg {
        left: 27%;
    }
}

@media (min-width: 1800px) {
    .right_phones_images.desctop svg {
        left: 30%;
    }
}

/* Tablet: max-width 991px */
@media (max-width: 991px) {
    .section-title {
        font-size: 32px;
        margin-bottom: 16px;
    }

    .section-description {
        font-size: 20px;
        margin-bottom: 40px;
    }

    .sets-us-apart h2 {
        font-size: 32px;
    }

    .wp-block-columns.form-section {
        margin-bottom: 90px;
    }

    .left_right_content.right {
        margin-bottom: 80px;
    }

    .button-container {
        padding: 30px 0 14px;
    }

    .button-container .btn {
        width: 180px;
        padding: 12px 0;
    }

    .sets-us-apart .wp-block-columns {
        gap: 20px !important;
        flex-wrap: wrap !important;
    }

    .sets-us-apart .wp-block-columns>.wp-block-column {
        flex-basis: calc(50% - 10px) !important;
        flex-grow: 0 !important;
        flex-shrink: 0 !important;
        width: calc(50% - 10px) !important;
        margin: 0 !important;
    }

    .sets-us-apart .feature-box {
        width: 100%;
    }

    .right_phones_images.mobile {
        display: flex;
    }

    .right_phones_images.desctop svg,
    .right_phones_images.desctop img {
        display: none;
    }

    /* Our Achievements Section - Tablet */
    .achievements-section {
        margin-top: 30px;
    }
}

/* Mobile: max-width 767px */
@media (max-width: 767px) {
    .left_right_content.left {
        flex-direction: column-reverse;
    }

    .left_right_content .text-block-right {
        margin-left: 0 !important;
    }

    .left_right_content .text-block-left {
        margin-right: 0 !important;
    }

    .left_right_content {
        margin-bottom: 50px !important;
    }

    .left_right_content .team-gal {
        margin-bottom: 20px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 14px;
    }

    .section-description {
        font-size: 18px;
        margin-bottom: 30px;
    }

    .sets-us-apart h2 {
        font-size: 28px;
    }

    .wp-block-columns.form-section {
        margin-bottom: 70px;
    }

    .left_right_content.right {
        margin-bottom: 60px;
    }

    .button-container {
        flex-direction: column;
        gap: 12px;
        padding: 24px 0 12px;
    }

    .button-container .btn {
        width: 100%;
        padding: 14px 0;
        font-size: 15px;
    }

    .sets-us-apart .wp-block-columns {
        gap: 16px;
    }

    .sets-us-apart .wp-block-columns>.wp-block-column {
        flex-basis: 100% !important;
        width: 100% !important;
    }

    .sets-us-apart .feature-box {
        flex-direction: row;
        align-items: flex-start;
        padding: 16px;
        gap: 16px;
    }

    .sets-us-apart .feature-box img {
        width: 60px;
        height: auto;
        flex-shrink: 0;
    }

    .sets-us-apart .feature-box h3 {
        max-width: 200px;
    }

    /* Our Achievements Section - Mobile */
    .achievements-section {
        margin-top: 25px;
    }

    .wp-block-columns.are-vertically-aligned-center {
        flex-direction: column-reverse;
        gap: 30px;
    }

    .wp-block-button .wp-element-button,
    .wp-block-button__link {
        padding: 12px 28px;
        font-size: 15px;
        width: 100%;
        text-align: center;
    }
}

/* Small mobile: max-width 374px */
@media (max-width: 374px) {
    .section-title {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .section-description {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .sets-us-apart h2 {
        font-size: 24px;
    }

    .wp-block-columns.form-section {
        margin-bottom: 50px;
    }

    .left_right_content.right {
        margin-bottom: 40px;
    }

    .button-container {
        padding: 20px 0 10px;
    }

    .button-container .btn {
        padding: 12px 0;
        font-size: 14px;
    }

    .sets-us-apart .feature-box {
        padding: 12px;
        gap: 12px;
    }

    .sets-us-apart .feature-box img {
        width: 50px;
    }

    /* Our Achievements Section - Small Mobile */
    .achievements-section {
        padding: 40px 0;
    }

    .mt-40 {
        margin-top: 20px;
    }
}