


footer{
    width: 100%;
    background: #0f0f0f;
    position: relative;
}

.footer{
    width: 85%;
    margin: 0px auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 50px 0px;
}

.footer .brand{
    flex-shrink: 0;
}

.footer .brand h1,
.footer .brand h1 span{
    font-size: 23px;
    font-weight: 800;
    font-family: 'Quicksand', sans-serif;
    color: white;
}

.footer .brand h1 span{
    color: var(--primary);
}

.section-heading{
    padding: 10px 0px;
    position: relative;
}

.subscribe-heading h2,
.section-heading h2{
    font-weight: 500;
    font-size: 20px;
    color: white;
}

.section-heading::before{
    content: "";
    position: absolute;
    width: 20%;
    height: 4px;
    background: var(--primary);
    bottom: -4px;
    left: 0;
}

.footer ul{
    margin-top: 20px;
}

.footer ul li{
    list-style-type: none;
    padding: 15px 0px;
    display: flex;
    align-items: center;
}

.footer ul li a{
    font-size: 14px;
    color: whitesmoke;
    font-weight: 400;
    text-decoration: none;
}

.footer ul li a:hover{
    color: var(--primary);
}

.social-links{
    margin: 25px auto 20px auto;
    gap: 15px;
}

.social{
    width: 45px;
    background: var(--primary);
    font-size: 28px;
    cursor: pointer;
    color: white;
}

.social-links .social:nth-child(4){
    padding: 9px;
}

.subscribe-heading{
    padding: 16px 0px;
}

.subscribe-heading p{
    color: whitesmoke;
    font-size: 12px;
    font-weight: 200;
    margin-top: 2px;
}

.subscribe{
    border-radius: 24px;
    overflow: hidden;
    width: 100%;
    min-width: 300px;
    max-width: 400px;
    margin: 8px 0px;
    background: whitesmoke;
    padding: 3px;
}

.subscribe input{
    width: 100%;
    height: 40px;
    outline: none;
    border: none;
    background: transparent;
    padding-left: 20px;
    font-weight: 500;
}

.subscribe button{
    width: 100px;
    height: 40px;
    border-radius: 50px;
    background-color: var(--primary);
    color: white;
    font-size: 13px;
}


.copyright{
    width: 100%;
    padding: 8px 100px;
    color: whitesmoke;
    background-color: var(--primary);
}

.copyright p{
    font-size: 11px;
    font-weight: 300;
}

.copyright p:last-child{
    cursor: pointer;
    text-decoration: underline;
}



@media screen and (max-width: 970px) {


    .footer{
        width: 95%;
    }
    
    .copyright{
        padding: 8px 25px;
    }
    
    .footer .footer-section:first-child{
        display: none;
    }
    
    
}





@media screen and (max-width: 700px) {


    .footer{
        flex-wrap: wrap;
        padding: 30px 0px 50px 0px;
    }
    

    .footer .brand h1,
    .footer .brand h1 span{
        font-size: 23px;
    }
    

    .footer .footer-section:first-child{
        display: block;
        width: 100%;
        flex-shrink: 0;
        margin-bottom: 30px;
    }

    .footer .footer-section:nth-child(2),
    .footer .footer-section:nth-child(3){
        width: 50%;
    }

    .footer .footer-section:nth-child(4){
        width: 100%;
        margin-top: 20px;
    }

    .subscribe{
        width: 100%;
        min-width: unset;
    }

    .copyright{
        padding: 8px 15px;
    }



}