.site-footer {
    width: 100%;
    background-color: #181815;
    margin-top: 80px;
}

.footer-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px;
    gap: 10px;
}

.logo {
    flex-shrink: 0;
}

.birthly {
    width: 140px;
    height: 100.35px;
}

.links {
    display: flex;
    align-items: flex-start;
    gap: 64px;
}

.company,
.guidance,
.social {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.text-wrapper-2,
.text-wrapper-3 {
    font-family: "Onest", Helvetica;
    font-weight: 700;
    color: #ffffff;
    font-size: 20px;
    letter-spacing: 0;
    line-height: 28px;
    margin-bottom: 12px;
    margin-top: 0;
}

.our-story-leadership,
.interactive-classes,
.footer-menu {
    font-family: "Onest", Helvetica;
    font-weight: 400;
    color: #9c9a8c;
    font-size: 16px;
    letter-spacing: 0;
    line-height: 24px;
}

.our-story-leadership,
.interactive-classes {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 8px;
}

.our-story-leadership a,
.interactive-classes a,
.footer-menu a {
    color: #9c9a8c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.our-story-leadership a:hover,
.interactive-classes a:hover,
.footer-menu a:hover {
    color: #ffffff;
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 16px;
}

.img-wrapper {
    width: 48px;
    height: 48px;
    background-color: #98e8e9;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.img-wrapper:hover {
    transform: scale(1.1);
}

.img {
    width: 24px;
    height: 24px;
}

.legal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 40px;
    border-top: 1px solid #333;
}

.text-wrapper {
    font-family: "Onest", Helvetica;
    font-weight: 400;
    color: #9c9a8c;
    font-size: 13px;
    letter-spacing: 0;
    line-height: 24px;
    white-space: nowrap;
    margin: 0;
}

.terms-conditions {
    font-family: "Onest", Helvetica;
    font-weight: 400;
    color: #9c9a8c;
    font-size: 12px;
    letter-spacing: 0;
    line-height: 24px;
    white-space: nowrap;
}

.terms-conditions a {
    color: #9c9a8c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.terms-conditions a:hover {
    color: #ffffff;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 20px;
        padding: 40px 20px;
        text-align: left;
    }

    .logo {
        margin-bottom: 20px;
    }

    .birthly {
        width: 120px;
        height: auto;
    }

    .links {
        width: 100%;
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }

    .company,
    .guidance,
    .social {
        width: 100%;
        align-items: flex-start;
        text-align: left;
    }

    .social {
        order: -1;
    }

    .company {
        order: 1;
    }

    .guidance {
        order: 2;
    }

    .text-wrapper-2,
    .text-wrapper-3 {
        font-size: 18px;
        line-height: 24px;
        margin-bottom: 8px;
        color: #ffffff;
    }

    .our-story-leadership,
    .interactive-classes {
        font-size: 16px;
        line-height: 10px;
    }

    .our-story-leadership a,
    .interactive-classes a {
        display: block;
        padding: 2px 0;
        color: #9c9a8c;
    }

    .social-icons {
        justify-content: flex-start;
        gap: 12px;
        margin-top: 8px;
    }

    .img-wrapper {
        width: 44px;
        height: 44px;
        border-radius: 22px;
    }

    .legal {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        padding: 24px 20px;
        border-top: 1px solid #333;
    }

    .text-wrapper {
        font-size: 13px;
        white-space: normal;
        color: #9c9a8c;
    }

    .terms-conditions {
        font-size: 12px;
        white-space: normal;
        line-height: 20px;
        color: #9c9a8c;
    }
}

@media (max-width: 480px) {
    .footer-content {
        padding: 32px 16px;
        gap: 32px;
    }

    .birthly {
        width: 100px;
    }

    .links {
        gap: 32px;
    }

    .legal {
        padding: 20px 16px;
    }
}
