.footer {
    background: #000;
    padding: 40px 20px;
    color: var(--white-color);
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    border-bottom: 1px solid #948787;
    padding-bottom: 20px;
}

.footer-top h2 {
    font-size: 28px;
    margin-bottom: 10px !important;
}

.footer-top p {
    color: #bbb;
    max-width: 500px;
}

.footer-subscribe {
    display: flex;
    gap: 10px;
    align-items: center;
}

.footer-subscribe input {
    padding: 10px;
    border: none;
    border-radius: 20px;
    outline: none;
}

.footer-subscribe button {
    background: var(--main-color);
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    color: #fff;
    font-weight: bold;
}

.footer-middle {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.footer-col h3 {
    margin-bottom: 10px !important;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 8px !important;
}

.footer-col ul li a {
    color: #bbb;
    text-decoration: none;
}

.footer-col ul li a:hover {
    color: whitesmoke;
}

.company p {
    color: #bbb;
    margin: 10px 0 !important;
}

.social-icons a {
    display: inline-block;
    margin-right: 10px;
    color: #fff;
    font-size: 18px;
}

.social-icons a:hover {
    color: var(--secondory-color);
}

.footer-bottom {
    border-top: 1px solid #948787;
    margin-top: 20px;
    padding-top: 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    font-size: 14px;
    color: #bbb;
}

.footer-bottom a {
    color: var(--white-color);
    text-decoration: none;
}

.bottom-links a {
    margin-left: 15px;
}

.footer-col {
    margin-left: 2rem;
}

@media(max-width:992px) {
    .footer-col {
        margin-left: 0;
    }

    .footer-top p {
        margin-bottom: 1rem !important;
    }
    .mybox{
        margin-bottom: 0;
    }
}

@media(max-width:768px) {
    .footer-top h2 {
        font-size: 20px;
    }

    .footer {
        padding: 30px 12px;
    }

    .footer-col p {
        font-size: 14px;
        margin-bottom: 10px !important;
    }

    .footer-col h3 {
        font-size: 20px;
    }

    .company p {
        font-size: 13px;
    }
    .bottom-links a{
        margin-left: 0;
        margin-right: 10px;
    }
}

@media(max-width:420px){
    .footer-subscribe{
        flex-wrap: wrap;
    }
    .footer-subscribe input,.footer-subscribe button{
        width: 100%;
    }
}