/* footer.css */
:root {
    --bg-color: #e6f3f3;
    --text-color: #333;
    --primary-color: #16a085;
    --secondary-color: #1abc9c;
}
.footer-section a i {
    margin-right: 8px;
}
.social-icons a {
    margin-right: 10px;
    color: #fff; /* Adjust based on your theme */
}


[data-theme="dark"] {
    --bg-color: #1a2b2b;
    --text-color: #e6f3f3;
    --primary-color: #1abc9c;
    --secondary-color: #16a085;
}

footer {
    background: linear-gradient(135deg, #2c3e50, #1a73e8);
    color: white;
    padding: 60px 20px 20px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://via.placeholder.com/10x10?text=Pattern') repeat;
    opacity: 0.1;
    z-index: 0;
}

.footer-content {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.footer-section {
    min-width: 200px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: #1a73e8;
    font-size: 20px;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background: #1a73e8;
}

.footer-links .links-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.links-column {
    list-style: none;
}

.links-column li {
    margin-bottom: 12px;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s, transform 0.3s;
    display: inline-block;
}

.footer-section a:hover {
    color: #1a73e8;
    transform: translateX(5px);
}

.footer-social-row {
    max-width: 1300px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-social {
    margin: 0 auto;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    transition: transform 0.3s, opacity 0.3s;
}

.social-icon:hover {
    transform: scale(1.2);
    opacity: 0.9;
}

.social-icon img {
    width: 100%;
    height: 100%;
    filter: invert(1);
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links .links-columns {
        grid-template-columns: 1fr;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-icons {
        justify-content: center;
    }
}