/* 🔳 FOOTER TEXTBOX (separate from .block-footer) */
.footer-textbox {
    background: linear-gradient(180deg, #1B2A48 0%, #6B7280 100%);
    border-radius: 24px;
    overflow: hidden;
    width: 90vw;
    height: 400px;
    margin: 0 auto;
    padding: 0 5vw;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    transition: width 0.15s ease-out, border-radius 0.3s ease-out, margin-bottom 0.3s ease-out;
}

.footer-textbox-inner {
    max-width: 700px;
    margin: 0 auto;
}

.footer-textbox.is-expanded {
    /* width is handled via JS; here we only tweak margin & radius */
    margin-bottom: 0;
    border-radius: 0;
}

.footer-textbox-title {
    font-size: 36px;
    line-height: 46px;
    color: #ffffff;
    margin: 0;
    font-weight: bold;
    text-align: left;
}

.footer-textbox-buttons {
    margin-top: 40px;
}

.footer-textbox-button {
    margin-right: 20px;
}

/* 🔵 FOOTER BACKGROUND + existing styles */
.block-footer {
    padding: 150px 5vw 0;
    box-sizing: border-box;
    background-color: #6B7280;
}

.block-footer .footer-top {
    display: flex;
    justify-content: space-between;
}

.block-footer .logo-footer {
    width: 94px;
    height: 94px;
    display: block;
}

.block-footer .logo-footer img {
    display: block;
    width: 100%;
    height: auto;
}

.block-footer .footer-top .left .footer-text {
    max-width: 340px;
    color: #F9FAFB;
}

.block-footer .footer-top .left .footer-text p {
    font-size: 18px;
    line-height: 1.5;
}

.block-footer .memberof-footer {
    display: inline-block;
}
.block-footer .memberof-footer img {
    max-width: 106px;
}
.block-footer h4 {
    color: var(--wp--preset--color--foreground);
    font-weight: bold;
    font-size: 22px;
}

.block-footer .right {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 50px;
    flex-direction: column;
}

.block-footer .right .column {
    flex: 1 1 0;
    display: flex;
    flex-direction: row;
    gap: 100px;
}

.block-footer .right .column .right-box {
    width: 165px;
}

.block-footer .right .column .right-box .footer-address,
.block-footer .right .column .right-box a {
    color:  #D3D5D9;
    line-height: 1.5;
}
.block-footer .right .column .right-box a:hover{
    color: #fff;
}
.block-footer .right .column .right-box ul {
    margin: 0;
}

.block-footer .right .column .right-box ul li {
    list-style: none;
}

.block-footer .social {
    display: flex;
}

.block-footer .social a {
    width: 36px;
    height: 36px;
    margin-right: 10px;
    background-color: #E7E6F2;
    padding: 8px;
    transition: all 0.5s ease;
    border-radius: 50px;
    box-sizing: border-box;
}

.block-footer .social a:before {
    content: "";
    background-repeat: no-repeat;
    background-size: cover;
    display: inline-block;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    width: 100%;
    height: 100%;
    transition: all 0.5s ease;
}

.block-footer .social .facebook:before {
    background-color: #1E2237;
    -webkit-mask-image: url(../../assets/images/facebook.svg);
    mask-image: url(../../assets/images/facebook.svg);
}

.block-footer .social .instagram:before {
    background-color: #1E2237;
    -webkit-mask-image: url(../../assets/images/instagram.svg);
    mask-image: url(../../assets/images/instagram.svg);
}

.block-footer .social .linkedin:before {
    background-color: #1E2237;
    -webkit-mask-image: url(../../assets/images/linkedin.svg);
    mask-image: url(../../assets/images/linkedin.svg);
}

.block-footer .social a:hover:before {
    background-color: #E7E6F2;
}

.block-footer .social a:hover {
    background-color: #1E2237;
}

.block-footer .coppyright {
    text-align: center;
    border-top: 1px solid #fff;
    padding: 20px 0;
    margin-top: 40px;
}

/* 🔻 Responsive */
@media only screen and (max-width: 800px) {
    .footer-textbox {
        height: auto;
        padding: 30px 20px;
    }

    .footer-textbox-inner {
        max-width: 100%;
    }

    .footer-textbox-title {
        font-size: 25px;
        line-height: 1.3;
    }

    .block-footer .footer-top {
        flex-direction: column;
    }

    .block-footer .right .column {
        flex-direction: column;
        gap: 20px;
    }

    .block-footer .right .column .right-box {
        width: 100%;
    }

    .block-footer .memberof-footer {
        margin-bottom: 20px;
    }
}
