/* main container */
.footer {
    background: var(--white1);
    border-top: 1px solid var(--blue1);
}
/* upper part */
.footer-upper {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 100px;
    padding: 30px 0 24px;
    transition: gap 0.4s ease, padding 0.4s ease;
}
/* left side */
.footer-upper-left {
    display: flex;
    flex-direction: column;
    gap: 50px;
    transition: gap 0.4s ease;
}
.footer-logo-part {
    display: flex;
    gap: 32px;
    color: var(--black1);
}
.footer-logo-part .footer-logo {
    width: 85px;
    height: 70px;
}
.footer-logo-part .footer-logo img {
    height: 100%;
    width: 100%;
    min-width: 85px;
    min-height: 70px;
}
/* social links */
.footer-social-links {
    display: flex;
    gap: 12px;
    transition: gap 0.4s ease;
}
.footer-social-links .fb-link,
.footer-social-links .inst-link,
.footer-social-links .yt-link,
.footer-social-links .tel-link {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--border1);
    border-radius: 50px;
    height: 50px;
    width: 50px;
    transition: border-color 0.4s ease, height 0.4s ease, width 0.4s ease;
}
.footer-social-links .fb-link .icon-hover,
.footer-social-links .fb-link:hover .icon-normal,
.footer-social-links .inst-link .icon-hover,
.footer-social-links .inst-link:hover .icon-normal,
.footer-social-links .yt-link .icon-hover,
.footer-social-links .yt-link:hover .icon-normal,
.footer-social-links .tel-link .icon-hover,
.footer-social-links .tel-link:hover .icon-normal {
    opacity: 0;
    transition: opacity 0.4s ease;
}
.footer-social-links .fb-link .icon-normal,
.footer-social-links .fb-link:hover .icon-hover,
.footer-social-links .inst-link .icon-normal,
.footer-social-links .inst-link:hover .icon-hover,
.footer-social-links .yt-link .icon-normal,
.footer-social-links .yt-link:hover .icon-hover,
.footer-social-links .tel-link .icon-normal,
.footer-social-links .tel-link:hover .icon-hover {
    opacity: 1;
    transition: opacity 0.4s ease;
}
.footer-social-links .fb-link:hover,
.footer-social-links .inst-link:hover,
.footer-social-links .yt-link:hover,
.footer-social-links .tel-link:hover {
    border-color: var(--blue1);
}
.footer-social-links .fb-link img,
.footer-social-links .inst-link img,
.footer-social-links .tel-link img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    height: 18px;
    width: 18px;
    transition: width 0.4s ease, height 0.4s ease;
}
.footer-social-links .yt-link img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    height: 20px;
    width: 20px;
    transition: width 0.4s ease, height 0.4s ease;
}
/* right side */
.footer-upper-right {
    display: flex;
    justify-content: center;
    gap: 96px;
    transition: gap 0.4s ease;
}
.footer-upper-right .caption1 {
    color: rgba(31, 31, 31, 0.5);
    margin-bottom: 24px;
    transition: margin-bottom 0.4s ease;
}
.footer-upper-right .services a,
.footer-upper-right .links a {
    color: var(--black1);
    border-bottom: 1px solid transparent;
    transition: color 0.4s ease, border-color 0.4s ease;
}
.footer-upper-right .services a:hover,
.footer-upper-right .links a:hover {
    color: var(--blue1);
    border-color: var(--blue1);
}
.footer-upper-right .services .menu,
.footer-upper-right .links .menu {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
/* lower part */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 0 30px;
    border-top: 1px solid var(--border1);
    transition: padding 0.4s ease;
}
.footer-bottom .menu {
    display: flex;
    gap: 16px;
}
.footer-bottom .menu a {
    color: var(--black1);
    border-bottom: 1px solid transparent;
    transition: color 0.4s ease;
}
.footer-bottom .menu a:hover {
    color: var(--blue1);
    border-color: var(--blue1);
}
/* Responsive */
@media (max-width: 1200px) {
    .footer-upper {
        gap: 75px;
    }
    .footer-upper-right {
        gap: 75px;
    }
}
@media (max-width: 1100px) {
    .footer-upper {
        gap: 50px;
    }
    .footer-upper-right {
        gap: 50px;
    }
}
@media (max-width: 950px) {
    .footer-logo-part {
        flex-direction: column;
    }
}
@media (max-width: 768px) {
    /* upper part */
    .footer-upper {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 30px 0 16px;
    }
    /* right side */
    .footer-upper-right {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .footer-upper-right .caption1 {
        margin-bottom: 16px;
    }
    /* social links */
    .footer-social-links {
        gap: 10px;
    }
    .footer-social-links .fb-link,
    .footer-social-links .inst-link,
    .footer-social-links .yt-link,
    .footer-social-links .tel-link {
        height: 40px;
        width: 40px;
    }
    .footer-social-links .fb-link img,
    .footer-social-links .inst-link img,
    .footer-social-links .tel-link img {
        height: 14.4px;
        width: 14.4px;
    }
    .footer-social-links .yt-link img {
        height: 16px;
        width: 16px;
    }
    /* left side */
    .footer-upper-left {
        gap: 16px;
    }
    .footer-logo-part {
        align-items: center;
        flex-direction: row;
    }
    /* lower part */
    .footer-bottom {
        flex-direction: column-reverse;
        padding: 16px 0 30px;
    }
    .footer-bottom .menu {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}