.site-footer {
    background: var(--dark);
    color: white;
    padding: 60px 0 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 0 20px;
}

.footer-section h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--accent);
}

.footer-links, .footer-links-aboutus, 
.footer-links-contact {
    list-style: none;
}

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

.footer-links a, .footer-links-aboutus a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover, .footer-links-aboutus a:hover {
    color: white;
}

.footer-links-contact p {
    color: #adb5bd;
    margin-bottom: 15px;
}

.footer-links-contact a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links-contact a:hover {
    color: white;
}

.indent {
    padding-left: 20px;
    display: inline-block;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    background: rgba(0, 0, 0, 0.2);
    font-size: 0.9rem;
    color: #adb5bd;
}

#client-heading {
  scroll-padding-bottom: 10px; /* Header height + extra spacing */
}

html{
    scroll-behavior: smooth;
}


@media(max-width: 600px) {
    .footer-container {
        display: flex;
        flex-direction: column;
        gap: 2em;
        padding: 0 1em;
    }

    .footer-section {
        width: 100%;
        text-align: center;
    }

    .footer-section h3 {
        margin-bottom: 0.8em;
        font-size: 1.3em;
        position: relative;
        padding-bottom: 0.5em;
    }

    .footer-section h3::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 25%;
        width: 50%;
        height: 2px;
        background: rgba(240, 240, 240, 0.3);
    }

    .footer-links,
    .footer-links-aboutus,
    .footer-links-contact {
        display: flex;
        flex-direction: column;
        gap: 0.7em;
    }

    /* Remove all specific padding adjustments */
    #comp-profile-link,
    #client-link,
    #locate-link,
    #pcb-link,
    #cable-link,
    #turnkey-link,
    #design-link,
    #phone-contact,
    #email-contact {
        padding: 0;
    }

    #design-link{
      padding-left:30px;
    }

    #turnkey-link{
      padding-left: 15px;
    }

    .indent {
        display: block;
        padding-left: 55px;
        margin-top: 0.3em;
    }

    .footer-links-contact p {
        margin: 0.5em 0;
    }

    .footer-bottom {
        margin-top: 1em;
        padding-top: 1.5em;
    }
}
