/* Footer Section - Navigation and Contact Links */

/* Main Footer Element */
footer {
    background-color: var(--footer-background);
    color: var(--footer-text-color);
    padding: 80px 0 30px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

/* Footer Content Layout */
.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 60px;
}

.footer-logo,
.footer-links,
.footer-contact {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
}

/* Footer Logo Section */
.footer-logo h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--footer-text-color);
}

.footer-logo p {
    color: var(--text-light);
}

/* Footer Section Headings */
.footer-links h4,
.footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--footer-text-color);
    position: relative;
    display: inline-block;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

/* Footer Links */
.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--footer-link-color);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    opacity: 1;
}

/* Footer Contact */
.footer-contact p {
    color: var(--footer-text-color);
}

/* Copyright Section */
.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    font-size: 0.9rem;
}

.copyright p {
    opacity: 0.7;
    color: var(--footer-text-color);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    footer {
        padding: 60px 0 20px;
    }
    
    .footer-content {
        margin-bottom: 40px;
    }
}

@media (max-width: 576px) {
    .footer-content {
        flex-direction: column;
    }
    
    .footer-logo,
    .footer-links,
    .footer-contact {
        margin-bottom: 20px;
    }
    
    footer {
        padding: 40px 0 20px;
    }
}

/* Print Styles */
@media print {
    footer {
        background-color: white !important;
        color: black !important;
        border-top: 1px solid #ccc;
        display: none;
    }
}