:root {
    --footer-bg: #ffffff;
    --footer-text: #6c757d;
    --footer-title: #2c3e50;
    --footer-link-hover: #3CB8E6;
    --primary-color: #3CB8E6;
    --border-color: #eff2f5;
}

.footer {
    background-color: var(--footer-bg);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
    color: var(--footer-text);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Brand Column */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    margin-bottom: 1.5rem;
}

.logo-wrapper-sm {
    width: 32px;
    height: 32px;
}

/* Using CSS mask for logo in footer - now blue */
.logo-mask {
    width: 100%;
    height: 100%;
    -webkit-mask-image: url('/images/logo.png');
    mask-image: url('/images/logo.png');
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    background-color: var(--primary-color);
}

.footer-brand-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2c3e50;
}

/* Footer Highlight - copied from index.css style */
.highlight-footer {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    z-index: 1;
}

.highlight-footer::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: -5px;
    width: calc(100% + 10px);
    height: 15px;
    background: rgba(13, 110, 253, 0.15);
    z-index: -1;
    border-radius: 8px;
    transform: rotate(-1deg);
}

.footer-desc {
    color: var(--footer-text);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 300px;
    font-size: 0.95rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    color: var(--footer-text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(60, 184, 230, 0.2);
}

/* Links Columns */
.footer-col h4 {
    color: var(--footer-title);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

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

.footer-list li {
    margin-bottom: 0.75rem;
}

.footer-list a {
    color: var(--footer-text);
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.footer-list a:hover {
    color: var(--footer-link-hover);
    transform: translateX(3px);
}

/* Bottom Bar */
.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--footer-text);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .social-icons {
        justify-content: center;
    }
    
    .footer-list a:hover {
        transform: none;
    }
}
