/* Footer Styles */
.site-footer {
    background-color: #050505;
    /* Slightly darker/different shade if needed, or keeping black */
    padding-top: 5rem;
    padding-bottom: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
    color: #9ca3af;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Top Section: 5 Columns */
.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

/* Brand Column */
.footer-brand h2 {
    color: var(--accent-green, #00ff88);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.footer-desc {
    line-height: 1.6;
    max-width: 300px;
}

/* Lists */
.footer-heading {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

/* Green Dot Bullet */
.footer-links li::before {
    content: '';
    width: 6px;
    height: 6px;
    min-width: 6px;
    /* Prevent shrinking */
    background-color: var(--accent-green, #00ff88);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 5px var(--accent-green, #00ff88);
}

.footer-links li a {
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 400;
}

/* Hover Animation: Slide Right & Color Change */
.footer-links li a:hover {
    color: #fff;
    transform: translateX(5px);
}

/* Special styling for Industries list icons */
.footer-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    margin-right: 0.5rem;
}

/* Contact Column */
.contact-item {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.contact-icon-box {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent-green, #00ff88);
    transition: all 0.3s ease;
}

.contact-icon-box svg,
.contact-icon-box img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.contact-item:hover .contact-icon-box {
    transform: scale(1.1);
}

.contact-text {
    line-height: 1.6;
    color: #9ca3af;
    font-size: 0.9rem;
    margin-top: 0;
    font-weight: 400;
}

/* Middle Section: Newsletter & Social */
.footer-middle {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.newsletter-content {
    max-width: 500px;
}

.newsletter-content h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.newsletter-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 0.8rem 1.2rem;
    color: #fff;
    flex: 1;
    min-width: 300px;
    font-size: 0.95rem;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--accent-green, #00ff88);
}

.btn-subscribe {
    background: var(--accent-green, #00ff88);
    color: #000;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-subscribe:hover {
    transform: translateY(-2px);
}

/* Social Icons */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1.2rem;
}

.social-icon:hover {
    background: var(--accent-green, #00ff88);
    color: #000;
}

/* Bottom Bar */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom-links a:hover {
    color: #fff;
}

/* Responsive Footer Enhancements */
@media (max-width: 1200px) {
    .footer-top {
        gap: 2rem;
    }
}

@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-brand {
        grid-column: span 3;
        margin-bottom: 1.5rem;
    }

    .footer-desc {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding-top: 3.5rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-middle {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .newsletter-content {
        width: 100%;
    }

    .newsletter-form {
        flex-direction: column;
        width: 100%;
    }

    .newsletter-input {
        min-width: 100%;
    }

    .social-links {
        justify-content: center;
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column-reverse;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .footer-top {
        gap: 2rem;
    }

    .footer-heading {
        margin-bottom: 1rem;
    }

    .contact-item {
        gap: 0.8rem;
    }
}