/* --- Base Footer Styles --- */
.main-footer.footer-two {
    background-color: rgb(15, 14, 14);
    color: rgba(255, 255, 255, 0.65);
    padding: 75px 0 0;
    font-family: 'Inter', sans-serif;
    font-size: var(--fs-16);
    line-height: 30px;
    position: relative;
    z-index: 1;
}

.main-footer.footer-two a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* --- Layout Containers --- */
.main-footer .container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 15px;
}

.main-footer .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
    align-items: center;
    justify-content: space-between;
}

/* --- Widgets --- */
.footer-widget {
    margin-bottom: 25px;
}

/* Logo Widget */
.widget_logo.text-md-start {
    text-align: left;
}

.logo img {
    max-width: 100%;
    height: auto;
}

/* Navigation Menu Widget */
.widget_nav_menu ul {
    list-style: none;
    padding: 0;
    margin: 0 -22px;
    display: inline-flex;
    flex-wrap: wrap;
}

.widget_nav_menu ul li {
    margin: 0 22px 5px;
    font-family: "DM Sans", sans-serif;
}

.widget_nav_menu ul li a {
    color: rgba(255, 255, 255, 0.65);
    font-size: var(--fs-16);
}

.widget_nav_menu ul li a:hover {
    color: var(--color-brand); /* Example hover color based on copyright link */
}

/* Text Widget */
.widget_text .text {
    padding-bottom: 20px;
    font-size: var(--fs-16);
    line-height: 30px;
}

/* Social Media Widget */
.social-flow {
    display: inline-flex;
    align-items: center;
}

.social-flow h4 {
    margin: 0 15px 0 0;
    font-size: var(--fs-18);
    color: var(--color-white);
}

.social-style-one {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -5px;
}

.social-style-one a {
    display: block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgb(176, 175, 175);
    text-align: center;
    margin: 0 5px;
    border-radius: 50%;
}

.social-style-one a:hover {
    background-color: var(--color-brand);
    color: var(--color-black);
    border-color: var(--color-brand);
}

/* --- Divider --- */
.main-footer hr {
    border: none;
    border-top: 0px solid rgba(255, 255, 255, 0.1);
    margin: 0 0;
}

.mb-40 { margin-bottom: 40px !important; }
.mt-0 { margin-top: 0 !important; }

/* --- Footer Bottom / Copyright --- */
.footer-bottom {
    background-color: rgb(0, 0, 0);
    color: rgb(255, 255, 255);
    padding: 20px 0;
    font-size: var(--fs-14);
    text-align: center;
}

.copyright-text p {
    margin: 0;
}

.copyright-text a {
    color: rgb(130, 255, 0);
    font-weight: 500;
}

/* --- Responsive Adjustments (Mobile) --- */
@media (max-width: 991.98px) {
    .widget_nav_menu {
        margin-left: 0 !important;
        text-align: center;
    }
    .widget_nav_menu ul {
        justify-content: center;
    }
    .text-lg-end {
        text-align: center !important;
    }
    .social-flow {
        justify-content: center;
        width: 100%;
    }
}

/* --- Extra sitemap row (pages not in the agreed nav) — added 2026-10 --- */
.footer-sitemap ul {
    list-style: none;
    padding: 18px 0 22px;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 26px;
}
.footer-sitemap a {
    color: rgba(255, 255, 255, 0.45);
    font-family: "DM Sans", sans-serif;
    font-size: var(--fs-14);
    line-height: 24px;
}
.footer-sitemap a:hover { color: var(--color-brand); }
.social-style-one a img { width: 18px; height: 18px; vertical-align: middle; }
