/* Footer styles */

.footer {
    padding: 60px 0 20px 0;
    margin-top: 80px;
    border-top: 1px solid #eee;
}

.foot {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footerContent {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footerSection h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.footerSection h4 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.footerSection p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}

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

.footerSection ul li {
    padding: 5px 0;
    color: #666;
    transition: color 0.3s ease;
}

.footerSection ul li:hover {
    color: #007bff;
    cursor: pointer;
}

.socialLinks {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.socialLinks a {
    color: #666;
    text-decoration: none;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.socialLinks a:hover {
    color: #007bff;
    border-color: #007bff;
    transform: translateY(-2px);
}

.footerBottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.footerBottom p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* Dark theme adjustments */
body[style*="rgb(40, 40, 40)"] .footer {
    border-top-color: #555;
}

body[style*="rgb(40, 40, 40)"] .footerSection h3,
body[style*="rgb(40, 40, 40)"] .footerSection h4 {
    color: white;
}

body[style*="rgb(40, 40, 40)"] .footerSection p,
body[style*="rgb(40, 40, 40)"] .footerSection ul li,
body[style*="rgb(40, 40, 40)"] .footerBottom p {
    color: #ccc;
}

body[style*="rgb(40, 40, 40)"] .socialLinks a {
    color: #ccc;
    border-color: #555;
}

body[style*="rgb(40, 40, 40)"] .socialLinks a:hover {
    color: #007bff;
    border-color: #007bff;
}

body[style*="rgb(40, 40, 40)"] .footerBottom {
    border-top-color: #555;
}

/* Mobile styles */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px 0;
        margin-top: 40px;
    }
    
    .footerContent {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .socialLinks {
        justify-content: center;
    }
    
    .footerSection h3 {
        font-size: 1.3rem;
    }
    
    .footerSection h4 {
        font-size: 1.1rem;
    }
}