footer {
    background-color: #111313;
    padding: 3rem 0;
}
footer.mt-5 {
    margin-top: 0 !important;
}
footer .container{
  padding-left: 0 !important;
  padding-right: 0 !important;
}


footer h6 {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
}

footer .footer-logo-block {
    margin-top: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

footer .footer-logo-block img {
    display: block;
}

footer p,
footer small {
    color: #aaa;
}

footer a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer .footer-logo{
  max-width: 150px;
  margin-bottom: 0 !important;
  display: block;
}

footer .footer-tagline {
    color: #aaa;
    font-size: 0.9rem;
    max-width: 340px;
    line-height: 1.4;
    margin: 0;
}

footer .footer-tagline-line {
  display: block;
}

footer .footer-logo-block img {
  margin-left: 1rem;
}



footer a:hover {
    color: #86BC25 !important;
}

footer .text-muted {
    color: #aaa !important;
}

footer hr {
    border-color: #444;
}

.footer-email-line {
    margin-bottom: 0.65rem;
    color: #e3ecf4;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
}

.footer-email-line .footer-email-label {
    white-space: normal;
}

@media (min-width: 992px) {
    .footer-email-line .footer-email-label {
        white-space: nowrap;
    }
}

.footer-email-line .footer-email-label {
    color: #ffffff;
    font-weight: 600;
    display: inline-block;
    margin-right: 0.45rem;
}

.footer-email-line a {
    color: #cfd9e6;
}

.footer-email-line a:hover {
    color: #86BC25;
}

footer .phone-link {
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 0.005em;
}

@media (max-width: 1024px) {
    footer .row {
        gap: 1.5rem !important;
    }

    footer h6 {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    footer {
        padding: 2rem 1rem !important;
    }

    footer .row {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
        justify-content: flex-start !important;
    }

    footer .row > div {
        flex: none !important;
        width: 100% !important;
        min-width: auto !important;
    }

    footer img {
        max-width: 120px !important;
    }

    footer h6 {
        font-size: 0.95rem;
        margin-bottom: 1rem !important;
    }

    footer ul {
        padding-left: 0;
    }

    footer li {
        margin-bottom: 0.75rem !important;
    }

    footer small {
        font-size: 0.8rem;
    }

    footer svg {
        width: 16px !important;
        height: 16px !important;
    }

    .row.align-items-center {
        flex-direction: column !important;
        text-align: center !important;
        gap: 1rem !important;
    }

    .row.align-items-center .col-md-4 {
        width: 100% !important;
        text-align: center !important;
    }

    footer hr {
        margin: 1rem 0 !important;
    }

    footer .footer-logo-block {
        margin-top: 0 !important;
        gap: 0.5rem;
    }

    footer .footer-logo-block img {
        margin-left: 0 !important;
        margin-bottom: 0.5rem !important;
    }

    footer .footer-tagline {
        max-width: 100% !important;
        font-size: 0.875rem;
        line-height: 1.5;
        display: block !important;
    }
}

@media (max-width: 640px) {
    footer {
        padding: 1.5rem 1rem !important;
    }

    footer img {
        max-width: 100px !important;
        margin-bottom: 0.75rem !important;
    }

    footer h6 {
        font-size: 0.9rem;
        margin-bottom: 0.75rem !important;
    }

    footer .mb-4 {
        margin-bottom: 0.75rem !important;
    }

    footer li {
        margin-bottom: 0.5rem !important;
    }

    footer small {
        font-size: 0.75rem;
    }

    footer .text-muted.small {
        margin-bottom: 0.5rem !important;
    }

    footer p {
        margin-bottom: 0.5rem !important;
    }

    footer svg {
        width: 14px !important;
        height: 14px !important;
        margin-right: 0.4rem !important;
    }

    .row.align-items-center .col-md-4 p {
        font-size: 0.75rem;
    }

    footer hr {
        margin: 0.75rem 0 !important;
    }

    footer .footer-logo-block img {
        margin-left: 0 !important;
    }

    footer .footer-tagline {
        max-width: 100% !important;
        display: block !important;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 1rem !important;
    }

    footer .mb-5 {
        gap: 1rem !important;
    }
}

body.dark-mode footer,
body.dark-mode footer.bg-light {
    background-color: #1a1a1a !important;
    border-top: 1px solid #333;
}

body.dark-mode footer h6 {
    color: #ffffff !important;
}

body.dark-mode footer a {
    color: #b0b0b0 !important;
}

body.dark-mode footer a:hover{
    color: #86BC25 !important;
}

body.dark-mode footer .text-muted {
    color: #888 !important;
}

body.dark-mode footer .text-dark {
    color: #ffffff !important;
}

body.dark-mode footer hr {
    border-color: #333 !important;
}

body.dark-mode footer svg,
body.dark-mode footer a:hover svg {
    stroke: currentColor !important;
  
}
