/* =========================================================
   PREMIUM LUXURY FOOTER — Shiv Vardhan Realties
   Load this AFTER style.css (it overrides only footer-scoped
   selectors, so it never touches header/hero/other sections).
   Brand colors: #0973BA (blue) / #F36F34 (orange)
   Font: 'Neuropolitical' (see @font-face note at top)
   HTML structure / classes / links are UNCHANGED —
   this file only restyles existing footer, footer-top,
   footer-grid, footer-about, footer-socials, social-btn,
   footer-col, footer-links, footer-contact-item, footer-bottom.
   ========================================================= */

/* ---------- FONT ----------
   Neuropolitical is not a Google Font — host the files yourself
   (e.g. assets/frontend/fonts/) and update the src paths below.
   If the font files aren't added yet, the fallback stack keeps
   the footer looking clean without breaking anything. */
@font-face {
    font-family: 'Neuropolitical';
    /*src: url('../fonts/Neuropolitical.woff2') format('woff2'), url('../fonts/Neuropolitical.woff') format('woff'), url('../fonts/Neuropolitical.ttf') format('truetype');*/
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ---------- FOOTER-SCOPED BRAND VARIABLES ---------- */
footer {
    --fb-blue: #f36f34;
    --fb-blue-dark: #f36f34;
    --fb-orange: #F36F34;
    --fb-orange-dark: #d8551d;
    --fb-font: var(--font-body, sans-serif);
    --fb-glass: rgba(255, 255, 255, 0.06);
    --fb-glass-border: rgba(255, 255, 255, 0.12);
    --fb-text: rgba(255, 255, 255, 0.72);
    --fb-text-strong: #ffffff;
    --fb-radius: 16px;
}

/* ---------- FOOTER BASE ---------- */
footer {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #06111d 0%, #0a1f33 45%, #071726 100%);
    color: var(--fb-text);
    border-top: none;
    font-family: var(--fb-font);
    isolation: isolate;
}

/* soft ambient brand-color glow mesh behind everything */
footer::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(600px circle at 8% 0%, rgba(9, 115, 186, 0.22), transparent 60%),
        radial-gradient(560px circle at 95% 15%, rgba(243, 111, 52, 0.16), transparent 60%),
        radial-gradient(700px circle at 50% 120%, rgba(9, 115, 186, 0.12), transparent 65%);
}

/* faint top accent line — brand gradient, not a hard border */
footer::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background:linear-gradient(90deg, var(--fb-blue), var(--fb-orange), var(--fb-blue));
    /* background: linear-gradient(90deg, var(--fb-blue), var(--fb-orange), var(--fb-blue)); */
    background-size: 200% auto;
    animation: fbLineFlow 8s linear infinite;
    z-index: 2;
}
@keyframes fbLineFlow {
    to { background-position: 200% center; }
}

footer .container { position: relative; z-index: 1; }

/* ---------- FOOTER TOP / GRID ---------- */
.footer-top {
    padding: 100px 0 0px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
    gap: 44px;
}

/* each column gets a subtle glass card feel without boxing it in */
.footer-grid > div {
    position: relative;
    opacity: 0;
    transform: translateY(22px);
    animation: fbColIn .7s cubic-bezier(.22,1,.36,1) forwards;
}
.footer-grid > div:nth-child(1) { animation-delay: .05s; }
.footer-grid > div:nth-child(2) { animation-delay: .15s; }
.footer-grid > div:nth-child(3) { animation-delay: .25s; }
.footer-grid > div:nth-child(4) { animation-delay: .35s; }
@keyframes fbColIn {
    to { opacity: 1; transform: translateY(0); }
}

/* ---------- ABOUT COLUMN ---------- */
.footer-about .logo,
.footer-about .logo-main {
    color: var(--fb-text-strong);
    font-family: var(--fb-font);
    letter-spacing: .02em;
}

.footer-about p {
    font-size: .92rem;
    margin: 20px 0 28px;
    color: var(--fb-text);
    line-height: 1.85;
    max-width: 340px;
}

/* ---------- SOCIAL BUTTONS — stylish glass + brand gradient hover ---------- */
.footer-socials {
    display: flex;
    gap: 12px;
}

.social-btn {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background: var(--fb-glass);
    color: var(--fb-text-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
    font-family: var(--fb-font);
    cursor: pointer;
    border: 1px solid var(--fb-glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    transition: transform .35s cubic-bezier(.34,1.56,.64,1),
                box-shadow .35s ease,
                border-color .35s ease,
                color .35s ease;
}

.social-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--fb-blue), var(--fb-orange));
    opacity: 0;
    transition: opacity .35s ease;
    z-index: -1;
}

.social-btn:hover {
    transform: translateY(-5px) scale(1.06);
    border-color: transparent;
    box-shadow: 0 10px 26px rgba(9, 115, 186, .45);
}

.social-btn:hover::before {
    opacity: 1;
}

/* ---------- COLUMN HEADINGS ---------- */
.footer-col h4 {
    color: var(--fb-text-strong);
    font-size: .92rem;
    font-family: var(--fb-font);
    font-weight: 700;
    margin-bottom: 26px;
    text-transform: uppercase;
    letter-spacing: .12em;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 34px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--fb-blue), var(--fb-orange));
    transition: width .4s ease;
}

.footer-col:hover h4::after {
    width: 54px;
}

/* ---------- FOOTER LINKS — smooth slide + brand color hover ---------- */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.footer-links a {
    font-size: .88rem;
    color: var(--fb-text);
    font-family: var(--fb-font);
    transition: color .3s ease, transform .3s ease, padding-left .3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
}

.footer-links a::before {
    content: '›';
    color: var(--fb-orange);
    font-size: 1.15rem;
    transition: transform .3s ease;
}

.footer-links a:hover {
    color: var(--fb-blue-dark, #38bdf8);
    transform: translateX(6px);
}

.footer-links a:hover::before {
    color: var(--fb-orange);
    transform: translateX(2px) scale(1.15);
}

/* ---------- CONTACT COLUMN ---------- */
.footer-contact-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 20px;
    transition: transform .3s ease;
}

.footer-contact-item:hover {
    transform: translateX(4px);
}

.footer-contact-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--fb-glass);
    border: 1px solid var(--fb-glass-border);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    /* color:  !important;
    font-size: 1rem !important;
    margin-top: 0 !important;
    transition: background .35s ease, border-color .35s ease, transform .35s ease; */
}

.footer-contact-item:hover .footer-contact-icon {
    /* background: linear-gradient(135deg, var(--fb-blue), var(--fb-orange)); */
    border-color: transparent;
    color: #fff !important;
    transform: rotate(-6deg) scale(1.08);
}

.footer-contact-item p {
    font-size: .88rem;
    color: var(--fb-text);
    font-family: var(--fb-font);
    margin: 2px 0 0;
    line-height: 1.75;
}

/* ---------- COPYRIGHT BAR ---------- */
footer .footer-bottom {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--fb-glass-border);
    background: #f6ab5f !important;
    /* background:linear-gradient(90deg, var(--fb-blue), var(--fb-orange), var(--fb-blue)); */
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 26px 15px 15px 26px !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .84rem;
    color: var(--fb-text-strong);
    font-family: var(--fb-font);
}

.footer-bottom-links {
    display: flex;
    gap: 26px;
}

.footer-bottom-links a {
    position: relative;
    /* color: var(--fb-text); */
    transition: color .3s ease;
}

.footer-bottom-links a::after {
    content: "";
    position: absolute;
    left: 0; bottom: -4px;
    width: 0;
    height: 1.5px;
    background: linear-gradient(90deg, var(--fb-blue), var(--fb-orange));
    transition: width .3s ease;
}

.footer-bottom-links a:hover {
    color: var(--fb-text-strong);
}

.footer-bottom-links a:hover::after {
    width: 100%;
}

/* ---------- DARK THEME (already-dark footer, keep it consistent) ---------- */
[data-theme="dark"] footer,
[data-theme="dark"] footer * {
    color: var(--fb-text);
}
[data-theme="dark"] footer .footer-col h4,
[data-theme="dark"] footer .footer-about .logo-main,
[data-theme="dark"] .footer-bottom {
    color: var(--fb-text-strong);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px 32px;
    }
    .footer-top { padding: 80px 0 48px; }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-about p { max-width: 100%; }
    footer .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    .footer-bottom-links {
        gap: 18px;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 420px) {
    .footer-top { padding: 64px 0 36px; }
    .footer-socials { gap: 10px; }
    .social-btn { width: 40px; height: 40px; border-radius: 11px; }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
    .footer-grid > div { animation: none; opacity: 1; transform: none; }
    footer::after { animation: none; }
}
/* =========================================================
   PREMIUM LUXURY FOOTER — Shiv Vardhan Realties
   Load this AFTER style.css (it overrides only footer-scoped
   selectors, so it never touches header/hero/other sections).
   Brand colors: #0973BA (blue) / #F36F34 (orange)
   Font: 'Neuropolitical' (see @font-face note at top)
   HTML structure / classes / links are UNCHANGED —
   this file only restyles existing footer, footer-top,
   footer-grid, footer-about, footer-socials, social-btn,
   footer-col, footer-links, footer-contact-item, footer-bottom.
   ========================================================= */

/* ---------- FONT ----------
   Neuropolitical is not a Google Font — host the files yourself
   (e.g. assets/frontend/fonts/) and update the src paths below.
   If the font files aren't added yet, the fallback stack keeps
   the footer looking clean without breaking anything. */
@font-face {
    font-family: 'Neuropolitical';
    /*src: url('../fonts/Neuropolitical.woff2') format('woff2'),url('../fonts/Neuropolitical.woff') format('woff'), url('../fonts/Neuropolitical.ttf') format('truetype');*/
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ---------- FOOTER-SCOPED BRAND VARIABLES ---------- */


/* ---------- DARK THEME (already-dark footer, keep it consistent) ---------- */
[data-theme="dark"] footer,
[data-theme="dark"] footer * {
    color: var(--fb-text);
}
[data-theme="dark"] footer .footer-col h4,
[data-theme="dark"] footer .footer-about .logo-main {
    color: var(--fb-text-strong);
}
[data-theme="dark"] footer .footer-bottom,
[data-theme="dark"] footer .footer-bottom * {
    color: #ffffff;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px 32px;
    }
    .footer-top { padding: 80px 0 48px; }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-about p { max-width: 100%; }
    footer .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    .footer-bottom-links {
        gap: 18px;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 420px) {
    .footer-top { padding: 64px 0 36px; }
    .footer-socials { gap: 10px; }
    .social-btn { width: 40px; height: 40px; border-radius: 11px; }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
    .footer-grid > div { animation: none; opacity: 1; transform: none; }
    footer::after { animation: none; }
}
