/* ==========================================================================
   SANMARG PRAKASHAN - LUXURY DARK MODE FOOTER DESIGN
   ========================================================================== */

:root {
    --sp-footer-bg: #0c1017;
    --sp-footer-surface: rgba(255, 255, 255, 0.035);
    --sp-footer-surface-hover: rgba(255, 255, 255, 0.07);
    --sp-footer-border: rgba(255, 255, 255, 0.08);
    --sp-footer-border-light: rgba(255, 255, 255, 0.05);
    --sp-footer-text: #cbd5e1;
    --sp-footer-heading: #f8fafc;
    --sp-footer-muted: #94a3b8;
    --sp-footer-subtle: #64748b;
    --sp-footer-primary: #d12c3b;
    --sp-footer-primary-hover: #ff5263;
    --sp-footer-primary-light: rgba(209, 44, 59, 0.18);
    --sp-footer-primary-glow: rgba(209, 44, 59, 0.35);
    --sp-footer-gold: #e5b338;
    --sp-footer-gold-light: rgba(229, 179, 56, 0.15);
    --sp-footer-shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.35);
    --sp-footer-shadow-md: 0 10px 30px rgba(0, 0, 0, 0.45);
}


/* Master Footer Wrapper */

.sanmarg-footer-wrapper {
    position: relative;
    background: linear-gradient(180deg, #111722 0%, #0c1018 50%, #070a0f 100%);
    color: var(--sp-footer-text);
    border-top: 1px solid var(--sp-footer-border);
    overflow: hidden;
    z-index: 10;
}


/* Top Feature Badges / Highlights Strip */

.sanmarg-footer-features {
    padding: 2.2vw 0 2.2vw;
    border-bottom: 1px solid var(--sp-footer-border);
}

.footer-feature-item {
    display: flex;
    align-items: center;
    gap: 1vw;
    padding: 0.9vw 1.2vw;
    border-radius: 0.8vw;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
}

.footer-feature-item:hover {
    background: rgba(255, 255, 255, 0.065);
    border-color: rgba(209, 44, 59, 0.45);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -4px rgba(0, 0, 0, 0.5), 0 0 20px rgba(209, 44, 59, 0.2);
}

.footer-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.8vw;
    height: 2.8vw;
    min-width: 44px;
    min-height: 44px;
    border-radius: 0.7vw;
    background: rgba(209, 44, 59, 0.18);
    border: 1px solid rgba(209, 44, 59, 0.32);
    color: #ff6070;
    font-size: 1.4vw;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.footer-feature-item:hover .footer-feature-icon {
    background: linear-gradient(135deg, #d12c3b 0%, #e5b338 100%);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(209, 44, 59, 0.45);
    transform: scale(1.05);
}

.footer-feature-text .footer-feature-title {
    /* font-family: global DM Sans fallback */
    margin: 0;
    font-size: 0.95vw;
    font-weight: 600;
    color: #f8fafc;
    letter-spacing: -0.2px;
}

.footer-feature-text p {
    margin: 0.2vw 0 0;
    font-size: 0.72vw;
    color: #94a3b8;
    line-height: 1.35;
}


/* Main Footer Container */

.sanmarg-footer-main {
    padding: 3.5vw 0 2.5vw;
}


/* Brand Column */

.footer-brand-wrap {
    display: flex;
    flex-direction: column;
}

.footer-brand-logo {
    display: inline-block;
    margin-bottom: 1.2vw;
    text-decoration: none;
}

.footer-brand-logo img {
    height: 3.2vw;
    min-height: 44px;
    width: auto;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.footer-brand-logo:hover img {
    transform: scale(1.02);
}

.footer-brand-desc {
    font-size: 0.78vw;
    line-height: 1.65;
    color: #94a3b8;
    margin-bottom: 1.2vw;
    padding-right: 1.5vw;
}


/* Social Media Pill Buttons */

.footer-social-wrap {
    display: flex;
    align-items: center;
    gap: 0.5vw;
    flex-wrap: wrap;
}

.footer-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.3vw;
    height: 2.3vw;
    min-width: 36px;
    min-height: 36px;
    border-radius: 0.6vw;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-social-btn iconify-icon {
    font-size: 1.15vw;
    line-height: 1;
    transition: transform 0.22s ease;
}

.footer-social-btn:hover {
    background: var(--sp-footer-primary);
    border-color: var(--sp-footer-primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px var(--sp-footer-primary-glow);
}

.footer-social-btn:hover iconify-icon {
    transform: scale(1.12);
}


/* Social specific hover shades */

.footer-social-btn.social-fb:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(24, 119, 242, 0.45);
}

.footer-social-btn.social-insta:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(220, 39, 67, 0.45);
}

.footer-social-btn.social-x:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #090d14;
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.35);
}

.footer-social-btn.social-linkedin:hover {
    background: #0a66c2;
    border-color: #0a66c2;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(10, 102, 194, 0.45);
}

.footer-social-btn.social-wp:hover,
.footer-social-btn.social-whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45);
}

.footer-social-btn.social-yt:hover,
.footer-social-btn.social-youtube:hover {
    background: #ff0000;
    border-color: #ff0000;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(255, 0, 0, 0.45);
}


/* Footer Column Widgets */

.footer-column-widget {
    margin-bottom: 2vw;
}

.footer-widget-title {
    font-size: 1.05vw;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.2px;
    margin-top: 0;
    margin-bottom: 1.1vw;
    display: block;
}


/* Nav Menu Lists */

.footer-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65vw;
}

.footer-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5vw;
    font-size: 0.78vw;
    color: #cbd5e1;
    text-decoration: none !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    font-weight: 500;
}

.footer-nav-link .nav-arrow-icon {
    font-size: 0.7vw;
    color: #64748b;
    transition: transform 0.2s ease, color 0.2s ease;
    opacity: 0.8;
}

.footer-nav-link:hover {
    color: #ff5263;
    transform: translateX(3px);
}

.footer-nav-link:hover .nav-arrow-icon {
    color: #ff5263;
    transform: translateX(2px);
    opacity: 1;
}


/* Contact Info Items in Footer */

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 0.85vw;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75vw;
    font-size: 0.78vw;
    color: #94a3b8;
    line-height: 1.5;
}

.footer-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.9vw;
    height: 1.9vw;
    min-width: 30px;
    min-height: 30px;
    border-radius: 0.5vw;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: #ff6070;
    font-size: 0.95vw;
    flex-shrink: 0;
    margin-top: 0.1vw;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.footer-contact-label {
    display: block;
    color: #f1f5f9;
    font-weight: 700;
    margin-bottom: 0.1vw;
}

.footer-contact-item a {
    color: #cbd5e1;
    text-decoration: none !important;
    transition: color 0.2s ease;
    font-weight: 500;
}

.footer-contact-item a:hover {
    color: #ff5263;
}


/* ==========================================================================
   App Download Card (Google Play & App Store Badges)
   ========================================================================== */

.footer-app-card {
    padding: 1.1vw 1.2vw;
    border-radius: 0.8vw;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.25s ease;
    width: max-content;
}

.footer-app-card:hover {
    border-color: rgba(209, 44, 59, 0.4);
    background: rgba(255, 255, 255, 0.055);
    box-shadow: 0 10px 28px -4px rgba(0, 0, 0, 0.45), 0 0 18px rgba(209, 44, 59, 0.15);
}

.footer-app-title {
    /* font-family: global DM Sans fallback */
    font-size: 0.95vw;
    font-weight: 600;
    color: #f8fafc;
    margin: 0 0 0.3vw;
    display: flex;
    align-items: center;
    gap: 0.45vw;
}

.footer-app-title iconify-icon {
    font-size: 1.1vw;
    color: #ff6070;
}

.footer-app-desc {
    font-size: 0.72vw;
    color: #94a3b8;
    line-height: 1.4;
    margin: 0 0 0.8vw;
}

.footer-app-buttons {
    display: flex;
    align-items: center;
    gap: 0.6vw;
    flex-wrap: wrap;
}

.app-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55vw;
    padding: 0.45vw 0.85vw;
    border-radius: 0.55vw;
    background: #182232;
    color: #ffffff !important;
    text-decoration: none !important;
    border: 1px solid rgba(255, 255, 255, 0.14);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.app-store-btn:hover {
    background: #223046;
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
    color: #ffffff !important;
}

.app-store-btn .store-icon {
    font-size: 1.4vw;
    line-height: 1;
    flex-shrink: 0;
}

.app-store-btn .apple-icon {
    font-size: 1.4vw;
    color: #ffffff;
}

.store-btn-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.store-subtitle {
    font-size: 0.52vw;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #94a3b8;
    line-height: 1;
    font-weight: 500;
}

.store-title {
    font-size: 0.82vw;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.15;
    margin-top: 0.1vw;
    letter-spacing: -0.2px;
}


/* Bottom Bar Copyright & Payment Badges */

.sanmarg-footer-bottom {
    padding: 1.4vw 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    background: #070a0f;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1vw;
}

.footer-copyright-text {
    margin: 0;
    font-size: 0.74vw;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.4vw;
    flex-wrap: wrap;
}

.footer-copyright-text a {
    color: #cbd5e1;
    font-weight: 700;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.footer-copyright-text a:hover {
    color: #ff5263;
}

.footer-bottom-badges {
    display: flex;
    align-items: center;
    gap: 0.8vw;
}

.footer-developer-credit {
    display: inline-flex;
    align-items: center;
    gap: 0.32vw;
    font-size: 0.74vw;
    color: #64748b;
    font-weight: 500;
}

.credit-heart {
    color: #f43f5e;
    font-size: 0.85vw;
    line-height: 1;
    display: inline-block;
    transition: transform 0.2s ease;
}

.footer-developer-credit:hover .credit-heart {
    transform: scale(1.25);
}

.zestra-credit-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35vw;
    font-weight: 700;
    color: #cbd5e1;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.zestra-logo-icon {
    height: 1.05vw;
    width: 1.05vw;
    min-width: 16px;
    min-height: 16px;
    display: inline-block;
    vertical-align: middle;
    object-fit: contain;
    filter: brightness(1.2);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.zestra-credit-link:hover {
    color: #ff6070;
}

.zestra-credit-link:hover .zestra-logo-icon {
    transform: rotate(-8deg) scale(1.15);
}


/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media only screen and (max-width: 991px) {
    .sanmarg-footer-features {
        padding: 20px 0;
    }
    .footer-feature-item {
        padding: 12px 14px;
        margin-bottom: 12px;
        gap: 12px;
    }
    .footer-feature-icon {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }
    .footer-feature-text .footer-feature-title {
        /* font-family: global DM Sans fallback */
        font-size: 15px;
    }
    .footer-feature-text p {
        font-size: 12px;
    }
    .sanmarg-footer-main {
        padding: 40px 0 20px;
    }
    .footer-brand-logo img {
        height: 42px;
    }
    .footer-brand-desc {
        font-size: 13.5px;
        padding-right: 0;
    }
    .footer-social-btn {
        width: 36px;
        height: 36px;
    }
    .footer-social-btn iconify-icon {
        font-size: 18px;
    }
    .footer-widget-title {
        /* font-family: global DM Sans fallback */
        font-size: 16px;
        margin-bottom: 14px;
    }
    .footer-nav-list {
        gap: 10px;
    }
    .footer-nav-link {
        font-size: 13px;
    }
    .footer-nav-link .nav-arrow-icon {
        font-size: 12px;
    }
    .footer-contact-list {
        gap: 12px;
    }
    .footer-contact-item {
        font-size: 13px;
        gap: 10px;
    }
    .footer-contact-icon {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    .footer-contact-label {
        font-size: 13px;
    }
    .footer-app-card {
        padding: 14px 16px;
        border-radius: 12px;
    }
    .footer-app-title {
        /* font-family: global DM Sans fallback */
        font-size: 15px;
        gap: 6px;
        margin-bottom: 4px;
    }
    .footer-app-title iconify-icon {
        font-size: 18px;
    }
    .footer-app-desc {
        font-size: 12px;
        margin-bottom: 12px;
    }
    .footer-app-buttons {
        gap: 10px;
    }
    .app-store-btn .store-icon {
        font-size: 22px;
    }
    .app-store-btn .apple-icon {
        font-size: 24px;
    }
    .store-subtitle {
        font-size: 9px;
    }
    .store-title {
        font-size: 13px;
    }
    .sanmarg-footer-bottom {
        padding: 20px 0;
    }
    .footer-copyright-text {
        font-size: 12px;
    }
    .footer-developer-credit {
        font-size: 12px;
        gap: 5px;
    }
    .credit-heart {
        font-size: 13px;
    }
    .zestra-credit-link {
        gap: 5px;
    }
    .zestra-logo-icon {
        height: 16px;
        width: 16px;
    }
}

@media only screen and (max-width: 767px) {
    /* 1. Master Footer Wrapper & Container Symmetric Alignment */
    .sanmarg-footer-wrapper {
        padding-bottom: 12px;
        width: 100%;
        overflow-x: hidden;
    }
    .sanmarg-footer-wrapper .container,
    .sanmarg-footer-wrapper .container.wide {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 14px !important;
        padding-right: 14px !important;
        box-sizing: border-box !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    /* 2. Top Feature / Highlights Strip */
    .sanmarg-footer-features {
        padding: 16px 0 16px;
        border-bottom: 1px solid var(--sp-footer-border);
    }
    .footer-feature-item {
        width: 100%;
        padding: 12px 14px;
        margin-bottom: 0;
        gap: 12px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        box-sizing: border-box;
    }
    .footer-feature-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
        min-height: 38px;
        border-radius: 9px;
        font-size: 18px;
    }
    .footer-feature-text .footer-feature-title {
        font-size: 13.5px;
        line-height: 1.25;
        font-weight: 600;
        color: #f8fafc;
    }
    .footer-feature-text p {
        font-size: 11.5px;
        line-height: 1.35;
        margin-top: 2px;
        color: #94a3b8;
    }
    /* 3. Main Footer Multi-Column Grid */
    .sanmarg-footer-main {
        padding: 24px 0 16px;
    }
    .sanmarg-footer-main .row.gy-4 {
        --bs-gutter-y: 20px;
    }
    .footer-column-widget {
        margin-bottom: 0;
    }
    .footer-widget-title {
        font-size: 15px;
        font-weight: 700;
        color: #ffffff;
        margin-bottom: 12px;
        letter-spacing: -0.2px;
        position: relative;
        padding-bottom: 6px;
    }
    .footer-widget-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 24px;
        height: 2px;
        background: var(--sp-footer-primary);
        border-radius: 2px;
    }
    /* Brand & About Column */
    .footer-brand-desc {
        font-size: 12.5px;
        line-height: 1.6;
        color: #94a3b8;
        margin-bottom: 12px;
        padding-right: 0;
    }
    .footer-social-wrap {
        gap: 8px;
        margin-bottom: 16px !important;
    }
    .footer-social-btn {
        width: 34px;
        height: 34px;
        min-width: 34px;
        min-height: 34px;
        border-radius: 8px;
    }
    .footer-social-btn iconify-icon {
        font-size: 16px;
    }
    /* App Download Card */
    .footer-app-card {
        width: 100%;
        max-width: 100%;
        padding: 12px 14px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.09);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    }
    .footer-app-title {
        font-size: 13.5px;
        font-weight: 600;
        gap: 6px;
        margin-bottom: 3px;
    }
    .footer-app-title iconify-icon {
        font-size: 16px;
    }
    .footer-app-desc {
        font-size: 11.5px;
        line-height: 1.4;
        margin-bottom: 10px;
        color: #94a3b8;
    }
    .footer-app-buttons {
        display: flex;
        flex-direction: row;
        gap: 8px;
        width: 100%;
    }
    .store-btn-text {
        gap: 5px;
    }
    .app-store-btn {
        flex: 1 1 0;
        min-width: 0;
        padding: 10px 10px;
        border-radius: 8px;
        gap: 12px;
        justify-content: center;
    }
    .app-store-btn .store-icon {
        font-size: 19px;
    }
    .app-store-btn .apple-icon {
        font-size: 20px;
    }
    .store-subtitle {
        font-size: 8.5px;
        letter-spacing: 0.2px;
    }
    .store-title {
        font-size: 11.5px;
    }
    /* Quick Links & Policies (2-column on mobile) */
    .footer-nav-list {
        gap: 8px;
    }
    .footer-nav-link {
        font-size: 12.5px;
        gap: 6px;
        line-height: 1.35;
        padding: 2px 0;
    }
    .footer-nav-link .nav-arrow-icon {
        font-size: 11px;
    }
    /* Contact Details Column */
    .footer-contact-list {
        gap: 11px;
    }
    .footer-contact-item {
        font-size: 12.5px;
        gap: 9px;
        line-height: 1.45;
    }
    .footer-contact-icon {
        width: 28px;
        height: 28px;
        min-width: 28px;
        min-height: 28px;
        border-radius: 7px;
        font-size: 13px;
        margin-top: 1px;
    }
    .footer-contact-label {
        font-size: 12.5px;
        margin-bottom: 1px;
    }
    /* 4. Bottom Copyright & Credits Strip */
    .sanmarg-footer-bottom {
        padding: 14px 0 5px;
        margin-top: 6px;
    }
    .footer-bottom-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }
    .footer-copyright-text {
        font-size: 11.5px;
        line-height: 1.5;
        justify-content: center;
        text-align: center;
        gap: 4px;
    }
    .footer-bottom-badges {
        width: 100%;
        justify-content: center;
    }
    .footer-developer-credit {
        font-size: 11.5px;
        gap: 5px;
        justify-content: center;
    }
    .credit-heart {
        font-size: 12px;
    }
    .zestra-logo-icon {
        height: 14px;
        width: 14px;
        min-width: 14px;
        min-height: 14px;
    }
    .sanmarg-footer-wrapper {
        padding-bottom: calc(var(--mb-height) + 8px + env(safe-area-inset-bottom, 0px)) !important;
    }
}