/* Footer Styling */
.footer {
    background-color: #222;
    color: #fff;
    padding: 50px 0 20px; /* Reduced top padding from 70px to 50px */
    margin-top: 0; /* Removed margin to be consistent across all pages */
    width: 100%;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 6%;
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-col {
    flex: 0 0 22%;
    margin-bottom: 30px;
}

.footer-col h4 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 500;
    position: relative;
}

.footer-col h4::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    background-color: #8357FF;
    height: 2px;
    width: 50px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #bbbbbb;
    text-decoration: none;
    font-size: 16px;
    font-weight: 300;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.footer-col .social-links a {
    display: inline-block;
    height: 40px;
    width: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    margin-right: 10px;
    margin-bottom: 10px;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.3s ease;
}

.footer-col .social-links a:hover {
    color: #24262b;
    background-color: #ffffff;
}

.footer-bottom {
    background-color: #1a1a1a;
    padding: 15px 0;
    text-align: center;
    margin-top: 30px;
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
}

/* Responsive Footer */
@media(max-width: 767px) {
    .footer-col {
        flex: 0 0 45%;
    }
}

@media(max-width: 576px) {
    .footer-col {
        flex: 0 0 100%;
    }
}