.main-footer { 
    position: relative;
    color: var(--primaryColor);
    padding: 60px 20px 10px;
    background-image: url(../img/bg-footer.webp);
    background-repeat: repeat;
   
   background-size: 33.333% 50%;
}


.footer-container {
    width: 80%;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    margin: auto;
}


/* ===================== */

.footer-upper {
    flex: 1;
    min-width: 250px;
}

.footer-upper img {
    width: 160px;
    margin-bottom: 20px;
}

.footer-upper p {
    margin-bottom: 15px;
    line-height: 1.7;
    font-size: 15px;
}

.footer-upper a {
    display: inline-block;
    margin-top: 10px;
    font-weight: 600;
    color: var(--blue);
    text-decoration: none;
}

.footer-upper span {
    
    margin-top: 5px;
    font-size: 13px;
    opacity: .8;
}


/* ===================== */

.footer-mid {
    flex: 1;
    min-width: 200px;
}

.footer-mid h2 {
    margin-bottom: 20px;
    font-size: 20px;
    color: var(--blue);
}

.footer-mid ul {
    list-style: none;
    padding: 0;
}

.footer-mid ul li {
    margin-bottom: 12px;
}

.footer-mid ul li a {
    text-decoration: none;
    color: var(--primaryColor);
    font-size: 15px;
    transition: 0.3s;
}

.footer-mid ul li a:hover {
    color: var(--blue);
    padding-right: 5px;
}


/* ===================== */

.footer-lower {
    flex: 1;
    min-width: 280px;

    background-color: #ffffff;
    padding: 25px;
    border-radius: 16px;
    border: 1px #ddd;

    position: relative;
    top: -120px; 
    box-shadow: 0px -10px 40px var(--shadow);
}

.footer-lower p {
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--blue);
}

.footer-lower ul {
    list-style: none;
    padding: 0;
}

.footer-lower ul li {
    margin-bottom: 15px;
}

.footer-lower ul li a {
    text-decoration: none;
    color: var(--primaryColor);
    font-size: 14px;
    display: block;
    line-height: 1.6;
}

.footer-lower ul li a p {
    margin: 5px 0 0;
    font-weight: normal;
    font-size: 13px;
    opacity: .8;
}



@media (max-width: 992px) {

    .footer-container {
        flex-direction: column;
        width: 100%;
 margin-bottom: 40px;
    }

    .footer-lower {
        top: 0;
        padding: 5px; 
          position:static;
    }
    .footer-upper img {
    width: 90%;
    
}

}