/* Site footer (.sw-footer) - navy background, neela accent */

.sw-footer {
    --sf-blue: #4b85f0;
    --sf-blue-soft: rgba(75, 133, 240, 0.55);
    --sf-text: rgba(255, 255, 255, 0.78);
    --sf-dim: rgba(255, 255, 255, 0.55);
    --sf-serif: 'Playfair Display', Georgia, serif;
    position: relative;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #0d1a33;
    color: var(--sf-text);
    text-align: left;
}
.sw-footer * {
    box-sizing: border-box;
}

/* Halka neela glow + kinaron par patli curve lines */
.sw-footer-main {
    position: relative;
    padding: 80px 15px 70px;
    background:
        radial-gradient(ellipse 60% 80% at 15% 100%, rgba(75, 133, 240, 0.16) 0%, rgba(75, 133, 240, 0) 70%),
        radial-gradient(ellipse 50% 70% at 95% 10%, rgba(75, 133, 240, 0.12) 0%, rgba(75, 133, 240, 0) 70%),
        linear-gradient(180deg, #13244a 0%, #0d1a33 100%);
}
.sw-footer-main::before,
.sw-footer-main::after {
    content: "";
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
}
.sw-footer-main::before {
    left: -260px;
    bottom: -420px;
    width: 760px;
    height: 560px;
    border-top: 1px solid var(--sf-blue-soft);
}
.sw-footer-main::after {
    right: -300px;
    bottom: -360px;
    width: 640px;
    height: 520px;
    border-top: 1px solid rgba(75, 133, 240, 0.35);
}

.sw-footer-inner {
    position: relative;
    z-index: 1;
    max-width: 1170px;
    margin: 0 auto;
}
.sw-footer-main .sw-footer-inner {
    display: grid;
    grid-template-columns: 0.8fr 1.1fr 1.5fr;
}

/* Columns with thin dividers */
.sw-f-brand,
.sw-f-col {
    padding: 0 44px;
}
.sw-f-brand {
    padding-left: 0;
}
.sw-f-col {
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}
.sw-f-brand img {
    display: block;
    width: 220px;
    max-width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
}

.sw-footer .sw-f-title {
    position: relative;
    margin: 0 0 30px;
    padding-bottom: 16px;
    color: #fff;
    font-family: var(--sf-serif);
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.sw-footer .sw-f-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 44px;
    height: 2px;
    background: var(--sf-blue);
    border-radius: 2px;
}

/* Contact list */
.sw-f-contact ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.sw-f-contact li {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    color: #fff;
    font-size: 15px;
    line-height: 1.55;
}
.sw-f-contact li:last-child {
    margin-bottom: 0;
}
.sw-f-contact a,
.sw-f-contact span {
    color: #fff;
}
.sw-f-contact a:hover {
    color: var(--sf-blue);
}
.sw-f-ico {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1.5px solid var(--sf-blue);
    border-radius: 50%;
    color: var(--sf-blue) !important;
}

/* Disclaimer */
.sw-f-disclaimer {
    position: relative;
    padding-right: 0;
}
.sw-f-disclaimer p {
    margin: 0;
    color: var(--sf-text);
    font-size: 15px;
    line-height: 1.85;
}
.sw-f-social {
    position: absolute;
    top: -14px;
    right: 0;
    display: flex;
    gap: 12px;
}
.sw-f-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1.5px solid var(--sf-blue);
    border-radius: 50%;
    color: #fff;
    transition: background-color 0.2s ease;
}
.sw-f-social a:hover {
    background: var(--sf-blue);
    color: #fff;
}

/* Bottom bar */
.sw-footer-bottom {
    padding: 22px 15px;
    background: #0a1529;
    border-top: 1px solid var(--sf-blue-soft);
}
.sw-footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}
.sw-footer-bottom span,
.sw-footer-bottom a {
    color: var(--sf-dim);
    font-size: 14px;
}
.sw-footer-bottom a:hover {
    color: #fff;
}
.sw-footer-bottom ul {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
}
.sw-footer-bottom li {
    padding: 0 22px;
    border-left: 1px solid var(--sf-blue-soft);
}
.sw-footer-bottom li:first-child {
    border-left: 0;
}
.sw-footer-bottom li:last-child {
    padding-right: 0;
}

/* Tablet */
@media (max-width: 1024px) {
    .sw-footer-main .sw-footer-inner {
        grid-template-columns: 1fr 1fr;
        row-gap: 50px;
    }
    .sw-f-brand {
        grid-column: 1 / -1;
    }
    .sw-f-contact {
        padding-left: 0;
        border-left: 0;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .sw-footer-main {
        padding: 55px 15px 50px;
    }
    .sw-footer-main .sw-footer-inner {
        grid-template-columns: 1fr;
        row-gap: 40px;
    }
    .sw-f-brand,
    .sw-f-col {
        padding: 0;
        border-left: 0;
    }
    .sw-f-social {
        position: static;
        margin-bottom: 26px;
    }
    .sw-footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .sw-footer-bottom li {
        padding: 4px 14px;
    }
    .sw-footer-bottom li:first-child {
        padding-left: 0;
    }
}

/* Phone: chaaron links (Blogs | Author | Privacy | Terms) ek hi line mein */
@media (max-width: 767px) {
    .sw-footer .sw-footer-bottom ul {
        justify-content: space-between;
        width: 100%;
    }
    .sw-footer .sw-footer-bottom li {
        padding: 2px clamp(6px, 2vw, 12px);
        white-space: nowrap;
    }
    .sw-footer .sw-footer-bottom li:first-child {
        padding-left: 0;
    }
    .sw-footer .sw-footer-bottom li:last-child {
        padding-right: 0;
    }
    .sw-footer .sw-footer-bottom li a {
        font-size: clamp(12px, 3.4vw, 14px);
    }
}

/* Phone par neeche hamesha dikhne wali Call | WhatsApp | Enquire patti (footer.php).
   Yahan isliye ki yeh file har page (home, blog, property) par load hoti hai. */
.sw-mbar {
    display: none;
}
@media (max-width: 767px) {
    /* Neeche hamesha dikhne wali patti */
    .sw-mbar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 998;
        display: grid;
        grid-template-columns: 1fr 1fr 1.25fr;
        padding-bottom: env(safe-area-inset-bottom);
        background: #0d1a33;
        box-shadow: 0 -6px 20px rgba(15, 31, 61, 0.25);
    }
    .sw-mbar-item {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        height: 56px;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        color: #fff !important;
        font-size: 12px;
        font-weight: 600;
        letter-spacing: 1px;
        text-transform: uppercase;
    }
    .sw-mbar-item:first-child {
        border-left: 0;
    }
    .sw-mbar-item svg {
        color: var(--sw-blue, #4b85f0);
    }
    .sw-mbar-item--cta {
        background: #4b85f0;
    }
    .sw-mbar-item--cta svg {
        color: #fff;
    }
    /* Patti ke peeche footer ka aakhri hissa na chhupe */
    body:has(.sw-mbar) {
        padding-bottom: 56px;
    }
}
