
@media screen and (max-width: 1200px) {
    html {
        scroll-behavior: smooth;
        scroll-padding-top: 100px;
    }
    /* Ready to Plan */
    .tobin-ready-plan {
        flex-direction: column;
        gap: 0;
    }

    .tobin-ready-plan .tobin-ready-plan-texts {
        margin-left: 0;
        margin-top: 32px;
        padding: 0 5%;
        align-items: flex-start;
    }

    .tobin-ready-plan .tobin-ready-plan-texts h5 {
        font-size: 36px;
        line-height: 40px;
        font-weight: 700;
        text-align: left;
        max-width: 300px;
    }

    .tobin-ready-plan img {
        height: 370px;
        width: 100%;
        margin-top: 0;
        mix-blend-mode: normal;
        object-fit: cover;
    }

    .tobin-ready-plan .tobin-ready-plan-route-box {
        height: 66px;
        width: 180px;
        top: calc(50% - 20px);
        left: calc(50% - 123px);
    }

    .tobin-ready-plan .tobin-ready-plan-route-box-right {
        height: 66px;
        width: 180px;
        bottom: calc(50% - 99px);
        right: calc(50% - 122px);
    }

    .tobin-ready-plan .tobin-ready-plan-route-box .tobin-ready-plan-route-box-texts,
    .tobin-ready-plan .tobin-ready-plan-route-box-right .tobin-ready-plan-route-box-texts {
        font-size: 10px;
        line-height: 19px;
    }

    .tobin-ready-plan .tobin-ready-plan-route-box .tobin-ready-plan-route-box-texts p:first-of-type,
    .tobin-ready-plan .tobin-ready-plan-route-box-right .tobin-ready-plan-route-box-texts p:first-of-type {
        font-size: 14px;
        font-weight: 600;
        line-height: 100%;
    }

    .tobin-ready-plan .tobin-ready-plan-route-box .tobin-ready-plan-route-box-texts {
        bottom: -16px;
        left: -14px;
    }
    
    .tobin-ready-plan .tobin-ready-plan-route-box-right .tobin-ready-plan-route-box-texts {
        right: -129px;
        bottom: -68px;
    }

    .tobin-ready-plan .tobin-ready-plan-forms .tobin-button {
        height: 40px;
        font-size: 16px;
        margin-bottom: 16px;
    }


    /* footer */
    .tobin-footer-logos {
        justify-content: center;
        padding: 5% 0;
    }

    .tobin-footer-logos .tobin-footer-logos-items {
        flex-wrap: wrap;
        padding: 24px 0;
        max-width: 600px;
        justify-content: flex-start;
        align-items: baseline;

        a {
            width: 30%;
            height: 100%;
            padding: 10px 0;
            margin: 0 1%;

            img {
                width: 100%;
                height: 100%;
                object-fit: contain;
                margin: 0;
            }
        }
    }
}

@media screen and (max-width: 1100px) {
    /* navigation */
    .tobin-navigation .navbar-nav {
        display: none !important;
    }

    .tobin-navigation .offcanvas-header{
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .tobin-navigation .offcanvas-header .offcanvas-title{
        color: #ffffff;
    }
    .tobin-navigation .offcanvas-header .btn-close{
        background-color: #ffffff;
    }
    .tobin-navigation .tobin-phone {
        display: none !important;
    }

    .tobin-navigation .tobin-menu {
        display: block !important;
        cursor: pointer;
    }

    .tobin-navigation .offcanvas.offcanvas-end {
        width: 100%;
        background-color: #000;
    }

    .tobin-navigation .tobin-menu-offcanvas .navbar-nav {
        display: block !important;
    }

    .tobin-navigation .tobin-menu-offcanvas .navbar-nav > .menu-item {
        border-bottom: 1px solid #444;
        height: auto;
    }
    .tobin-navigation .tobin-menu-offcanvas .navbar-nav .menu-item .menu-item {
        border-bottom: none;
    }
    .tobin-navigation .navbar-nav .menu-item{
        height: auto;
    }
    .tobin-navigation .tobin-menu-offcanvas .navbar-nav .nav-link {
        text-transform: uppercase;
        font-size: 13px;
        color: #ffffff;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 0;
    }
    .tobin-navigation .tobin-menu-offcanvas .navbar-nav > .menu-item > .menu-item-wrapper{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .tobin-navigation .tobin-menu-offcanvas .navbar-nav .nav-submenu {
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: all 0.3s ease-in-out;
        padding-left: 20px;
    }
    
    .tobin-navigation .tobin-menu-offcanvas .navbar-nav .nav-submenu.expanded {
        max-height: fit-content; /* 足够大的高度 */
        opacity: 1;
    }
    
    .tobin-navigation .tobin-menu-offcanvas .navbar-nav .nav-submenu .nav-link {
        font-size: 12px;
        color: #ffffff;
        padding: 10px 0;
        text-transform: none;
    }
    
    .mobile-menu-arrow {
        font-size: 18px;
        font-weight: bold;
        transition: transform 0.3s ease;
        color: #ffffff;
        display: inline-block;
        width: 40px;
        height: 40px;
        text-align: center;
    }

    .menu-item-has-children.expanded .mobile-menu-arrow {
        transform: rotate(45deg);
    }
    
    .tobin-navigation .tobin-menu-offcanvas .navbar-nav ul {
        padding-left: 0;
    }

    .tobin-navigation .tobin-menu-offcanvas .navbar-nav ul {
        padding-left: 0;
    }

    .tobin-navigation .tobin-menu-offcanvas .navbar-nav ul li a {
        text-decoration: none;
        color: #000;
        font-size: 13px;
    }

    .tobin-navigation .offcanvas-body {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    .tobin-navigation .offcanvas-body {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .tobin-navigation .offcanvas-body .offcanvas-body-footer{
        padding: 40px;
        text-align: center;
        gap: 1rem;
    }
    .tobin-navigation .offcanvas-body .offcanvas-body-footer .tobin-button{
        display: block;
        width: 100%;
        text-align: center;
        height: 60px;
        font-size: 1.5rem;
        line-height: 60px;
        padding: 0;
    }
    .tobin-navigation .offcanvas-body .offcanvas-body-footer .tobin-phone {
        display: flex !important;
        flex-direction: row;
        gap: 10px;
        justify-content: center;
        align-items: center;
        height: 70px;
    }
    .tobin-navigation .offcanvas-body .offcanvas-body-footer .tobin-phone .phone-text{
        color: #ffffff;
        text-align: center;
        font-size: 1rem;
    }
}

@media screen and (max-width: 768px) {
    /* button */
    .tobin-button {
        padding: 5.32424px 21.2969px;
        gap: 6.66px;
        font-size: 12px;
        line-height: 16px;
    }

    /* navigation */
    .tobin-navigation {
        height: 58px;
    }

    .tobin-navigation .tobin-logo {
        height: 38px;
        flex-shrink: 0;
    }

    /* Why Choose Wakefield */
    .tobin-choose-wakefield .tobin-choose-wakefield-list {
        margin-top: 32px;
    }
    .tobin-choose-wakefield .tobin-choose-wakefield-list li {
        padding: 16px 8px;
    }
    .tobin-choose-wakefield .tobin-choose-wakefield-list li p:first-of-type {
        font-size: 22px;
        line-height: 32px;
    }
   

    /* footer */
    .tobin-footer {
        overflow: hidden;
    }

    .tobin-footer .tobin-footer-infos {
        min-height: 287px;
    }
    .tobin-footer .tobin-footer-infos .tobin-footer-links {
        flex-wrap: wrap;
        font-size: 14px;
        gap: 0;
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .tobin-footer .tobin-footer-infos .tobin-footer-links .tobin-footer-links-logo {
        width: 100%;
    }

    .tobin-footer .tobin-footer-infos .tobin-footer-links .tobin-logo-wakefield-mobile {
        display: block;
        height: 22px;
    }
    .tobin-footer .tobin-footer-infos .tobin-footer-links .tobin-logo-wakefield {
        display: none;
    }

    .tobin-footer .tobin-footer-infos .tobin-footer-links .tobin-footer-links-items {
        gap: 0;
        justify-content: space-between;
        width: 100%;
        margin-top: 16px;
    }

    .tobin-footer-infos .tobin-footer-copyright {
        display: none;
    }

    .tobin-footer-infos .tobin-footer-copyright-mobile {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        font-size: 14px;
        color: #fff;
        border-top: 1px solid rgba(255, 255, 255, 0.4);
        padding-top: 24px;
    }

    .tobin-footer-infos .tobin-footer-copyright-mobile .tobin-footer-copyright-mobile-text {
        max-width: 172px;
    }

    .tobin-footer-infos .tobin-footer-copyright-mobile .tobin-footer-copyright-texts {
        flex-direction: column;
        align-items: flex-end;
        gap: 5px;
    }

    .tobin-footer-infos .tobin-footer-copyright-mobile .tobin-footer-copyright-texts object {
        width: 24px;
        height: 24px;
    }

    .tobin-footer-logos {
        min-height: 111px;
    }

    .tobin-footer-logos .tobin-footer-logos-items {
        gap: 0;
        padding: 0 5%;
    }
    .tobin-footer-logos .footer-partners-separator{
        margin: 0 10px;
    }
    .tobin-footer-additional-logos-items{
        width: 22%;
        display: flex;
        flex-direction: row;
    }
    .tobin-footer-logos .tobin-footer-additional-logos-items a {
        flex: 1;
        width: 100%;
        padding: 0;
    }
    .tobin-footer-logos .tobin-footer-additional-logos-items .tobin-logo{
        width: 100%;
        object-fit: contain;
        margin: 0;
    }
    
    .tobin-footer-logos .tobin-logo-group {
        height: 35.35px;
    }

    .tobin-footer-logos .tobin-logo-image {
        height: 19.39px;
    }

    .tobin-footer-logos .tobin-logo-repository {
        height: 30.87px;
    }

    .tobin-footer-logos .tobin-logo {
        height: 20.41px;
    }

    .tobin-footer-logos .tobin-logo-wakefield {
        height: 21.93px;
    }

    .tobin-footer-logos .tobin-logo-arms {
        height: 31px;
    }
}