/* ==== MAIN NAVBAR CONTAINER ==== */
.footer{
    background-color: #ffffe9;
    padding: 4px 30px;
}

.footer-title{
    text-align: center;
}
.footer q{
    display: block;
    text-align: center;
}

.footer-main{
    display: flex;
    justify-content: space-around;
    padding: 5px 10px;
}

/* ABOUT US SECTION */
.about{
    width: 15%;
    line-height: 25px;
}

/* NAVIGATION LINKS */
.quick-links a{
    display: block;
    text-decoration: none;
    text-align: center;
    font-size: 1.1em;
    margin-bottom: 6px;
    color: rgb(66, 0, 129);
}

/* SOCIAL MEDIA SECTION */
.social{
    width: 20%;
    
}
.social h2{
    text-align: center;
}

.social li{
    list-style: none;
    padding-bottom: 10px;
    padding-left: 30px;
}
.social a{
    text-decoration: none;
    color: rgb(73, 0, 141);
}

/* OTHER WAYS TO CONTACT */
.other-way{
    width: 20%;
}

.bar{
    width: 100%;
    height: 4px;
    background-color: black;
}

.bottom{
    display: flex;
    position: relative;
}
.bottom p:first-child{
    position: relative;
    left: 40px;
}
.bottom p:last-child{
    position: absolute;
    right: 60px;
}

.bottom a{
    font-weight: bold;
    text-decoration: none;
    color: rgb(0, 88, 188);
    padding: 8px 10px;
    border-radius: 20px;
}

.footer-message{
    text-align: center;
    font-style: italic;
}

/* DARK MODE */
.dark-mode .footer{
    background-color: #333;
    transition: all 0.8s ease;

}
.dark-mode .bar{
    background-color: white;
}
.dark-mode .quick-links a, .dark-mode .social a{
    color: white;
}

/* Media queries */
@media (max-width: 479px) {
    .footer{
        padding: 10px;
    }
    .footer-main{
        flex-direction: column;
    }
    .about, .social, .other-way{
        width: 100%;
    }

    .social li{
        text-align: left;
    }

    .bottom{
        flex-direction: column;
    }
    .bottom p:first-child{
        position: static;
    }
    .bottom p:last-child{
        position: static;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .footer-main {
        flex-direction: column;
        text-align: center;
    }
    .about, .social, .other-way{
        width: 100%;
    }

    .bottom{
        flex-direction: column;
    }
    
    .bottom p:first-child, .bottom p:last-child{
        position: static;
        text-align: center;
    }
}