.footer_wrapper {
    color: var(--background);
    position:relative;
}

.footer_contact {
    position: relative;
    display: flex;
    justify-content: space-between;
    height: 200px;
    padding: 20px 120px;
    background-color: var(--primaryColor);
}

.birdpic_nestbird{
    display: flex;
    width: 300px;
    position: absolute;
    top: -60px;
    right: 0;
    margin-right:max(0px, calc((100% - 1200px) / 2));
   .nestbird_inner:nth-child(2 of .nestbird_inner){
      z-index: 2;
    }
    img{
      height:auto;
    }
}

.footer_contact_inner {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    max-width:1200px;
}

.footer_contact_content {
    display: flex;
    flex-direction: column;
}

.footer_contact_heading {
    margin: 0;
    font-size: var(--font-20);
    line-height: 160%;
    font-weight: 500;
}

.footer_contact_title {
    margin: 0;
    font-size: var(--font-64);
    line-height: 120%;
    font-weight: 700;
}

.footer_contact_text {
    margin: 0;
    font-size: var(--font-20);
    line-height: 160%;
    font-weight: 700;
}

.footer_main {
    background-color: var(--background);
}

.footer_main_inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    margin: 0 auto;
    padding: 20px 0;
    max-width:1200px;
}

.footer_company {
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: #191919;
}

.footer_logo_link {
    display: inline-flex;
    width: 200px;
    height: auto;
}

.footer_logo_link img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.footer_logo {
    display: block;
}

.footer_company_info {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.footer_company_name {
    margin: 0;
    font-size: var(--font-16);
    line-height: 160%;
    font-weight: 500;
}

.footer_company_meta {
    display: flex;
    flex-direction: column;
    font-size: var(--font-12);
    line-height: 160%;
    font-weight: 500;
}

.footer_company_address {
    margin: 0;
}

.footer_company_tel {
    margin: 0;
}

.footer_nav {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 10px;
    margin-left: auto;
}

.footer_page_links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.footer_page_link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primaryColor);
    text-decoration: none;
    font-size: var(--font-16);
    line-height: 160%;
    font-weight: 700;
}

.footer_page_link_text {
    margin: 0;
    position: relative;
    display: inline-block;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.footer_page_link:hover .footer_page_link_text {
    border-bottom-color: var(--primaryColor);
}

.footer_legal_links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
}

.footer_legal_link {
    color: #191919;
    font-size: var(--font-14);
    line-height: 160%;
    font-weight: 500;
    text-decoration: none;
}

.footer_legal_link_text {
    margin: 0;
}

.footer_copyright {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    background-color: var(--primaryColor);
}

.footer_copyright_text {
    margin: 0;
}

.footer_copyright_small {
    font-size: var(--font-12);
    line-height: 160%;
    font-weight: 500;
}

@media (max-width: 1280px) {
    .footer_contact {
        padding: 20px 30px;
        height: auto;
    }

    .footer_main_inner {
        padding: 20px 30px;
    }

}

@media (max-width: 768px) {
    /* font size */
    .footer_legal_link {
        font-size: var(--font-12);
        flex:auto;
    }

    .footer_contact_text,
    .footer_company_name,
    .footer_page_link {
        font-size: var(--font-14);
        flex: auto;
    }

    .footer_contact_heading {
        font-size: var(--font-16);
    }

    .footer_contact_title {
        font-size: var(--font-32);
    }

    /* footer contact style */
    .footer_contact {
        padding: 20px 15px 30px;
    }

    .footer_contact_inner  {
        gap: 30px;
        justify-content: center;
    }

    .footer_logo_link {
        width: 150px;
        padding-bottom: 10px;
    }

    .footer_main_inner {
        flex-direction: column;
        padding: 20px 15px;
    }

    .footer_company {
        align-items: center;
        gap: 24px;
    }

    .footer_company_info {
        flex-direction: column;
        text-align: left;
        gap: 5px;
    }

    .footer_nav {
        gap: 5px;
        flex-direction: column;
        align-items: center;
        margin: 0;
    }

    .footer_page_links {
        justify-content: center;
        align-items: center;
        padding: 30px 0;
        gap: 20px 40px;
    }

    .footer_legal_links {
        justify-content: center;
        gap: 20px 40px;
    }
}

@media screen and (max-width: 480px) {
    .footer_company {
        display: block;
        padding-bottom: 15px;
        border-bottom: 1px solid #989898;
        text-align:center;
    }

    .footer_page_links { 
        display:none;
        gap: 15px 30px;
        justify-content: flex-start;
        padding: 15px 0;
    }

    .footer_legal_links {
        width: 100%;
        gap: 15px 0;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        margin-top: 20px;
    }
}