footer {
    position: relative;
    background-color: var(--bg-color); /* Using root color variable instead of #2d3748 */
    color: var(--text-color, #fff); /* Using root variable with fallback */
    padding: 2rem 0;
    margin-top: auto; 
    width: 100%;
    border-top: 2px solid var(--text-color);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    margin-bottom: 1.5rem;
    text-align: center;
}

.footer-logo img {
    height: 3rem;
    margin-bottom: 0.5rem;
}

.footer-logo p, .footer-contact p {
    font-size: 0.875rem;
    margin: 0.25rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Icon styling */
.footer-logo p i, .footer-contact p i {
    margin-right: 0.5rem;
    width: 24px;
    font-size: 18px;
    text-align: center;
    color: var(--accent-color, #4a90e2);
}

.footer-contact {
    text-align: center;
    margin-bottom: 1.5rem;
}

.footer-contact p:first-child {
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.footer-bottom {
    max-width: 1200px;
    margin: 1rem auto 0;
    padding: 1rem 1rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-bottom i {
    margin-right: 0.25rem;
}

/* Media query for responsive layout */
@media (min-width: 768px) {
    .footer-container {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .footer-logo {
        margin-bottom: 0;
        text-align: left;
    }
    
    .footer-contact {
        margin-bottom: 0;
        text-align: left;
    }
    
    .footer-logo p, .footer-contact p {
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .footer-container > div {
        margin-bottom: 1.5rem;
    }
    
    .footer-container > div:last-child {
        margin-bottom: 0;
    }
}
