.atf-contact {
    padding: 0px 0px 0px;
}

.atf-contact .content-wrapper {
    width: 100%;
    height: 539px;
    border-radius: 0px 0px 20px 20px;
    overflow: hidden;
    position: relative;
    padding: 75px 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: url('/assets/img/noise.svg') var(--grey);
    background-blend-mode: soft-light;
}

.atf-contact .breadcrumb {
    position: static;
}

.atf-contact .content-wrapper .text {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.atf-contact .content-wrapper .text h1 {
    line-height: 90%;
    color: var(--secondary);
    margin: 0px;
    text-align: center;
}

.atf-contact .content-wrapper .text p {
    margin: 0px;
    line-height: 90%;
    font-weight: 400;
    text-align: center;
}

.atf-contact .content-wrapper .text p b {
    color: var(--secondary);
}

.atf-contact .big-mat-box {
    position: absolute;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 12px;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    height: 140px;
    width: 183px;
    padding: 27px 26px;
}

.atf-contact .big-mat-box p {
    margin: 0px;
    text-align: center;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    line-height: 100%;
}

.section-contact {
    padding: 67px 0px 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-contact .contact-form {
    width: 100%;
    position: relative;
}

.section-contact .contact-form .col {
    padding: 5px 12px;
}

.section-contact .contact-form .input-wrapper {
    display: flex;
    flex-direction: column;
    padding: 23px 20px 7px;
    border-radius: 8px;
    border: 1px solid var(--primary);
    background: transparent;
    position: relative;
}

.section-contact .contact-form .input-wrapper:has(textarea) {
    padding: 16px 20px 7px;
}

.section-contact .contact-form label {
    font-size: 16px;
    font-weight: 500;
    color: #114A6B;
    line-height: 100%;
}

.section-contact .contact-form .input-wrapper label {
    position: absolute;
    top: 50%;
    left: 20px;
    color: var(--primary);
    transform: translateY(-50%);
    transition: all 0.2s ease-in-out;
}

.section-contact .contact-form .input-wrapper:has(textarea) label {
    top: 20px;
    position: static;
    transform: none;
}

.section-contact .contact-form .input-wrapper:has(input:focus) label,
.section-contact .contact-form .input-wrapper:has(input:not(:placeholder-shown)) label {
    top: 13px;
    transition: all 0.2s ease-in-out;
}

.section-contact .contact-form input,
.section-contact .contact-form textarea {
    border: none;
    font-family: "Barlow Semi Condensed";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    color: var(--primary);
    padding: 0px;
}

.section-contact .contact-form input:focus,
.section-contact .contact-form textarea:focus {
    outline: none;
    box-shadow: none;
}

.section-contact .contact-form input::placeholder,
.section-contact .contact-form textarea::placeholder {
    opacity: 0;
}

.section-contact .contact-form label a {
    color: #114A6B;
    font-weight: 700;
}

.section-contact .contact-form button[type="submit"] {
    margin: 20px auto 0px;
    width: 100%;
    max-width: 200px;
}

.section-contact .contact-form button[type="submit"]:disabled {
    background-color: #D7DCE0;
    cursor: not-allowed;
    pointer-events: all;
}

.section-contact .contact-form button[type="submit"]:disabled:hover {
    background-color: #D7DCE0;
    border-color: transparent;
    color: white;
}

.section-contact .contact-form .form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 0px;
}

.section-contact .contact-form input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    width: 21px;
    height: 21px;
    border: 1px solid var(--primary);
    background: white;
    position: relative;
    flex-shrink: 0;
    display: grid;
    place-content: center;
    border-radius: 2px;
    padding: 0px;
    top: 4px;
}

.section-contact .contact-form input[type="checkbox"]::before {
    content: "";
    width: 16px;
    height: 16px;
    transform: scale(0);
    box-shadow: inset 16px 16px var(--primary);
    transform-origin: bottom left;
    clip-path: polygon(4% 46%, 0 50%, 45% 101%, 106% 12%, 102% 1%, 45% 73%);
}

.section-contact .contact-form input[type="checkbox"]:checked::before {
    transform: scale(1);
}

.section-offices {
    padding: 30px 0px 30px;
    overflow: visible;
}

.section-offices .h4 {
    text-align: center;
    font-weight: 400;
    line-height: 100%;
    margin-bottom: 80px;
}

.section-offices .h4 b {
    color: var(--primary);
}

.section-offices .map-container {
    height: 436px;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    padding: 19px;
    margin-bottom: 19px;
}

.section-offices .map-container img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: -1;
}

.section-offices .map-container .map-cta {
    background-color: white;
}

.section-offices .map-container .contact-box {
    background-color: white;
    border: 1px solid var(--dark-grey);
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px;
    border-radius: 16px;
    width: 100%;
    align-self: flex-start;
    max-width: 417px;
}

.section-offices .map-container .contact-box p {
    margin: 0px;
    line-height: 100%;
    font-weight: 500;
}

.section-offices .map-container .contact-box .h3 {
    color: var(--secondary);
    font-weight: 700;
    line-height: 60%;
}

.section-offices .map-container .contact-box .cta-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
}

.section-offices .hours-box {
    position: sticky;
    top: calc(var(--navbar-height) + 20px);
    width: 100%;
    height: fit-content;
    padding: 22px 18px;
    background-color: #F7F8FA;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 19px;
}

.section-offices .hours-box p {
    margin: 0px;
    line-height: 80%;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
}

.section-offices ul {
    list-style: none;
    padding: 0px;
    margin: 0px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.section-offices ul li {
    line-height: 90%;
}

@media screen and (max-width: 400px) {
    .atf-contact .content-wrapper .text h1 {
        font-size: 50px;
    }

    .section-offices .map-container {
        padding: 19px 0px 0px;
        border: 1px solid var(--dark-grey);
    }

    .section-offices .map-container .contact-box {
        border-radius: 0px;
        border: 0px;
    }

    .section-offices .map-container .map-cta {
        margin-right: 19px;
    }
}

@media screen and (min-width: 768px) {
    .section-contact .contact-form button[type="submit"] {
        margin: 0px 0px 0px auto;
    }
}

@media screen and (min-width: 992px) {

    .atf-contact {
        padding: 17px 29px 0px;
    }

    .atf-contact .breadcrumb {
        position: absolute;
    }

    .atf-contact .content-wrapper {
        width: 100%;
        height: 539px;
        border-radius: 20px;
        overflow: hidden;
        position: relative;
        padding: 23px 121px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        background: url('/assets/img/noise.svg') var(--grey);
        background-blend-mode: soft-light;
    }

    .atf-contact .content-wrapper .text {
        display: flex;
        flex-direction: column;
        gap: 42px;
    }

    .atf-contact .content-wrapper .text h1 {
        line-height: 74px;
        color: var(--secondary);
        margin: 0px;
        text-align: left;
    }

    .atf-contact .content-wrapper .text p {
        margin: 0px;
        line-height: 90%;
        font-weight: 400;
        text-align: left;
    }

    .atf-contact .content-wrapper .text p b {
        color: var(--secondary);
    }

    .atf-contact .big-mat-box {
        position: absolute;
        bottom: 24px;
        right: 24px;
        display: flex;
        flex-direction: column;
        background: white;
        border-radius: 12px;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        height: 140px;
        width: 183px;
        padding: 27px 26px;
    }

    .atf-contact .big-mat-box p {
        margin: 0px;
        text-align: center;
        text-transform: uppercase;
        font-size: 18px;
        font-weight: 700;
        color: var(--primary);
        line-height: 100%;
    }

    .section-contact {
        padding: 67px 0px 64px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .section-contact .contact-form {
        width: 100%;
    }

    .section-contact .contact-form .col {
        padding: 5px;
    }

    .section-contact .contact-form .input-wrapper {
        display: flex;
        flex-direction: column;
        padding: 23px 20px 7px;
        border-radius: 8px;
        border: 1px solid var(--primary);
        background: transparent;
        position: relative;
    }

    .section-contact .contact-form .input-wrapper:has(textarea) {
        padding: 16px 20px 7px;
    }

    .section-contact .contact-form label {
        font-size: 16px;
        font-weight: 500;
        color: #114A6B;
        line-height: 100%;
    }

    .section-contact .contact-form .input-wrapper label {
        position: absolute;
        top: 50%;
        left: 20px;
        color: var(--primary);
        transform: translateY(-50%);
        transition: all 0.2s ease-in-out;
    }

    .section-contact .contact-form .input-wrapper:has(textarea) label {
        top: 20px;
        position: static;
        transform: none;
    }

    .section-contact .contact-form .input-wrapper:has(input:focus) label,
    .section-contact .contact-form .input-wrapper:has(input:not(:placeholder-shown)) label {
        top: 13px;
        transition: all 0.2s ease-in-out;
    }

    .section-contact .contact-form input,
    .section-contact .contact-form textarea {
        border: none;
        font-family: "Barlow Semi Condensed";
        font-size: 16px;
        font-style: normal;
        font-weight: 700;
        color: var(--primary) !important;
        padding: 0px;
    }

    .section-contact .contact-form input:focus,
    .section-contact .contact-form textarea:focus {
        outline: none;
        box-shadow: none;
    }

    .section-contact .contact-form input::placeholder,
    .section-contact .contact-form textarea::placeholder {
        opacity: 0;
    }

    .section-contact .contact-form label a {
        color: #114A6B;
        font-weight: 700;
    }

    .section-contact .contact-form button[type="submit"] {
        width: fit-content;
        max-width: fit-content;
    }

    .section-contact .contact-form button[type="submit"]:disabled {
        background-color: #D7DCE0;
        cursor: not-allowed;
        pointer-events: all;
    }

    .section-contact .contact-form button[type="submit"]:disabled:hover {
        background-color: #D7DCE0;
        border-color: transparent;
        color: white;
    }

    .section-contact .contact-form .form-check {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 0px;
    }

    .section-contact .contact-form input[type="checkbox"] {
        -webkit-appearance: none;
        appearance: none;
        cursor: pointer;
        width: 21px;
        height: 21px;
        border: 1px solid var(--primary);
        background: white;
        position: relative;
        flex-shrink: 0;
        display: grid;
        place-content: center;
        border-radius: 2px;
        padding: 0px;
        top: 0px;
    }

    .section-contact .contact-form input[type="checkbox"]::before {
        content: "";
        width: 16px;
        height: 16px;
        transform: scale(0);
        box-shadow: inset 16px 16px var(--primary);
        transform-origin: bottom left;
        clip-path: polygon(4% 46%, 0 50%, 45% 101%, 106% 12%, 102% 1%, 45% 73%);
    }

    .section-contact .contact-form input[type="checkbox"]:checked::before {
        transform: scale(1);
    }

    .section-offices {
        padding: 64px 0px 97px;
        overflow: visible;
    }

    .section-offices .h4 {
        text-align: center;
        font-weight: 400;
        line-height: 100%;
        margin-bottom: 80px;
    }

    .section-offices .h4 b {
        color: var(--primary);
    }
    
    .section-offices .map-container {
        height: 436px;
        width: 100%;
        border-radius: 20px;
        overflow: hidden;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-end;
        padding: 19px;
        margin-bottom: 19px;
    }
    
    .section-offices .map-container img {
        height: 100%;
        width: 100%;
        object-fit: cover;
        position: absolute;
        top: 0px;
        left: 0px;
        z-index: -1;
    }
    
    .section-offices .map-container .map-cta {
        background-color: white;
    }
    
    .section-offices .map-container .contact-box {
        background-color: white;
        border: 1px solid var(--dark-grey);
        display: flex;
        flex-direction: column;
        gap: 24px;
        padding: 24px;
        border-radius: 16px;
        width: 100%;
        align-self: flex-start;
        max-width: 417px;
    }
    
    .section-offices .map-container .contact-box p {
        margin: 0px;
        line-height: 100%;
        font-weight: 500;
    }
    
    .section-offices .map-container .contact-box .h3 {
        color: var(--secondary);
        font-weight: 700;
        line-height: 60%;
    }
    
    .section-offices .map-container .contact-box .cta-wrapper {
        display: flex;
        gap: 10px;
        align-items: center;
    }

    .section-offices .hours-box {
        position: sticky;
        top: calc(var(--navbar-height) + 20px);
        width: 100%;
        height: fit-content;
        padding: 22px 18px;
        background-color: #F7F8FA;
        border-radius: 16px;
        display: flex;
        flex-direction: column;
        gap: 24px;
        margin-bottom: 19px;
    }

    .section-offices .hours-box p {
        margin: 0px;
        line-height: 80%;
        font-weight: 700;
        color: var(--secondary);
        text-transform: uppercase;
    }

    .section-offices ul {
        list-style: none;
        padding: 0px;
        margin: 0px;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .section-offices ul li {
        line-height: 90%;
    }

}