/* ==========================================================================
   GLOBAL PREMIUM FOOTER (GRAVITY ELITE V2.1 POLISH)
   ========================================================================== */

.site-footer {
    background-color: #0B132B;
    color: #F5F5F2;
    padding-top: 3.5rem;
    position: relative;
    z-index: 10;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
    content-visibility: auto;
    contain-intrinsic-size: 1px 450px;
}

.site-footer a {
    text-decoration: none;
}

/* BRAND COLUMN */
.ft-main-content {
    margin-bottom: calc(2rem - 1cm); /* Reduced space below social icons/content by 1cm */
}

.ft-brand-col {
    margin-top: -35px; /* Moves entire column (logo included) down by ~1cm from previous state */
}

.ft-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    margin-left: -19px; /* Moved 0.5cm left */
}

.ft-logo {
    max-height: 360px; /* Increased massively to 300% of the previous size */
    width: auto;
    max-width: 100%; /* Prevents breaking out of the column */
    filter: brightness(0) invert(0.9); /* Forces it to a bright, highly visible white-gray */
    transition: transform 0.3s ease;
}

.ft-brand-desc {
    font-size: 0.9rem;
    color: #ffffff; /* Brighter visibility */
    line-height: 1.5;
    margin-bottom: 1.25rem;
    max-width: 90%;
    margin-top: -67px; /* Pulled text up by an additional 0.6cm */
}

.ft-address p {
    font-size: 0.85rem;
    color: #ffffff; /* Brighter visibility */
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.ft-phone {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #F5F5F2;
    transition: color 0.3s ease;
    display: inline-block;
    margin-top: 15px; /* Pushes the phone and the button below it down by ~0.4cm */
}
.ft-phone:hover {
    color: #A54F4F;
}

.ft-social,
.ft-social.mt-4 {
    display: flex;
    flex-wrap: wrap;
    gap: calc(0.75rem - 1.5mm) !important; /* Reduced space between icons by 1.5mm */
    margin-top: calc(1.5rem - 0.3cm) !important; /* Reduced space above icons by 0.3cm (3mm) */
    margin-bottom: 0 !important;
}

.social-icon {
    width: 46px; /* 20% larger */
    height: 46px;
    min-width: 46px; /* Ensures it stays a perfect circle */
    flex-shrink: 0;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F5F5F2;
    font-size: 1.2rem; /* 20% larger */
    background: transparent;
    box-shadow: 0 0 0 rgba(0,0,0,0);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    text-decoration: none;
    transform: none !important;
    transition: color 0.5s cubic-bezier(0.25, 1, 0.5, 1) 0.3s,
                border-color 0.5s cubic-bezier(0.25, 1, 0.5, 1) 0.3s,
                box-shadow 0.55s cubic-bezier(0.25, 1, 0.5, 1) 0.3s;
}

@media (min-width: 740px) {
    .ft-social,
    .ft-social.mt-4 {
        display: grid !important;
        grid-template-columns: repeat(3, 46px) !important;
        width: fit-content !important;
        gap: 0.65rem !important;
    }

    .social-icon::before {
        content: '';
        position: absolute;
        inset: -1px;
        border-radius: 50%;
        opacity: 0;
        z-index: 1;
        pointer-events: none;
        transition: opacity 0.55s cubic-bezier(0.25, 1, 0.5, 1) 0.3s;
    }

    .social-icon:hover {
        color: #FFFFFF !important;
        border-color: transparent !important;
        transform: none !important;
        transition: color 0.08s ease 0s, border-color 0.08s ease 0s, box-shadow 0.08s ease 0s;
    }

    .social-icon:hover::before {
        opacity: 1;
        transition: opacity 0.08s ease 0s;
    }

    .social-icon i {
        position: relative;
        z-index: 2;
        pointer-events: none;
        transition: color 0.5s ease 0.3s, filter 0.55s ease 0.3s;
    }

    .social-icon:hover i {
        color: #FFFFFF !important;
        filter: none !important;
        transition: color 0.08s ease 0s;
    }

    /* Clean contact icon hover states - zero glow */
    .social-icon:hover,
    .social-icon.icon-ig:hover,
    .social-icon.icon-wa:hover,
    .social-icon.icon-yt:hover,
    .social-icon.icon-mail:hover,
    .social-icon.icon-gmap:hover,
    .social-icon.icon-call:hover {
        box-shadow: none !important;
    }

    .social-icon.icon-ig::before {
        background: linear-gradient(45deg, #f09433 0%, #e6683c 20%, #dc2743 40%, #cc2366 60%, #833ab4 80%, #405de6 100%);
    }

    .social-icon.icon-wa::before {
        background: #25D366;
    }

    .social-icon.icon-yt::before {
        background: #FF0000;
    }

    .social-icon.icon-mail::before,
    .social-icon.icon-gmap::before {
        background: conic-gradient(from 45deg, #EA4335 0deg 90deg, #4285F4 90deg 180deg, #34A853 180deg 270deg, #FBBC05 270deg 360deg);
    }

    .social-icon.icon-call::before {
        background: #007BFF;
    }
}

.btn-ft-cta {
    display: inline-flex;
    align-items: center;
    background-color: #A54F4F;
    color: #F5F5F2;
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}
.btn-ft-cta:hover {
    background-color: #b85a5a;
    transform: translateY(-1px);
    color: #FFFFFF;
}

/* MIDDLE: COLUMNS */
.ft-heading {
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #F5F5F2;
    margin-bottom: 1.25rem;
}

.ft-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.ft-links a, .ft-pricing-item {
    color: #ffffff; /* Brighter visibility */
    font-size: 0.85rem;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-flex;
    align-items: center;
    position: relative;
}

.ft-pricing-item {
    white-space: nowrap !important;
    display: inline-flex;
    align-items: center;
    column-gap: 0.25rem;
    line-height: 1.35;
}

.ft-training-links {
    gap: 0.55rem;
}

.ft-training-item {
    display: inline-flex;
    align-items: center;
    column-gap: 0.25rem;
}

.ft-training-item .plan-sep {
    display: inline;
}

@media (min-width: 1200px) {
    .ft-nav-row {
        justify-content: space-between;
    }
    .ft-col-company {
        margin-left: auto !important;
        padding-left: 2rem !important;
    }
}

/* Shift FITNESS heading & links 3.5mm to the left in desktop view only */
@media (min-width: 992px) {
    .ft-col-fitness,
    .ft-nav-row > .ft-col:nth-child(2) {
        position: relative;
        left: -3.5mm;
    }
}

@media (max-width: 991.98px) {
    .ft-col-fitness,
    .ft-nav-row > .ft-col:nth-child(2) {
        left: 0 !important;
    }
}

/* Training Plans heading professional gap to links below it */
.ft-training-heading {
    margin-bottom: 1.25rem !important;
}
@media (max-width: 739.98px) {
    .ft-training-heading {
        margin-bottom: 0.75rem !important;
    }
}

.ft-links a::before {
    content: '→';
    position: absolute;
    left: -18px;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
    color: #C9A86A;
    font-size: 0.8rem;
}

.ft-links a:hover {
    color: #F5F5F2;
    transform: translateX(18px);
}

.ft-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.ft-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: rgba(245,245,242,0.3);
    transition: width 0.3s ease;
}

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

.ft-hours p {
    font-size: 0.85rem;
    color: #ffffff; /* Brighter visibility */
    margin-bottom: 0.5rem;
    line-height: 1.4;
}
.ft-hours span {
    color: #F5F5F2;
    font-weight: 500;
}

/* SEO SECTION */
.ft-seo-section {
    padding: 2rem 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.ft-seo-heading {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.8); /* Brighter visibility */
    margin-bottom: 0.75rem;
}

.ft-seo-links {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7); /* Brighter visibility */
    line-height: 1.6;
}

.ft-seo-links span {
    color: rgba(245,245,242,0.5);
    font-weight: 600;
}

/* PARTICLE TEXT */
.particle-wrap {
    height: 180px; /* Increased to accommodate 35% larger text */
    background-color: #0B132B;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid rgba(255,255,255,0.04);
}

#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: auto;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.5s cubic-bezier(0.16, 1, 0.3, 1), transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

#particleCanvas.reveal {
    opacity: 1;
    transform: translateY(0);
}

.particle-reduced-motion {
    display: none;
    font-family: 'Saira Semi Condensed', sans-serif;
    font-weight: 900;
    font-size: clamp(2.25rem, 6vw, 4.5rem);
    color: rgba(245,245,242,0.05);
    white-space: nowrap;
    text-align: center;
}

@media (prefers-reduced-motion: reduce) {
    #particleCanvas { display: none !important; }
    .particle-reduced-motion { display: block; }
}

@media (max-width: 768px) {
    .particle-wrap { height: 160px; } /* Increased for taller mobile text stacking */
}

/* BOTTOM LEGAL BAR */
.ft-legal-bar {
    background-color: #080D1E;
    padding: 1.25rem 0;
}

.ft-legal-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.ft-copyright, .ft-devologics, .ft-legal-links a {
    font-size: 0.8rem;
    color: rgba(245,245,242,0.4);
}

.ft-legal-links {
    display: flex;
    gap: 1.5rem;
}

.ft-legal-links a {
    transition: color 0.2s ease;
}

.ft-legal-links a:hover {
    color: #F5F5F2;
}

.ft-devologics span {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #F5F5F2;
}

@media (max-width: 739.98px) {

    /* === OVERALL FOOTER === */
    .site-footer {
        padding-top: 2rem;
    }

    .ft-main-content {
        margin-bottom: calc(2rem - 1cm) !important; /* Reduced space below social icons by 1cm */
    }

    /* === BRAND COLUMN === */
    .ft-brand-col {
        margin-top: 0 !important;
        text-align: center;
        padding-bottom: 1.5rem;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        margin-bottom: 1.5rem;
    }

    .ft-logo-wrapper {
        margin-left: 0 !important;
        justify-content: center;
        margin-bottom: 0.75rem;
    }

    .ft-logo {
        max-height: 144px !important; /* 20% bigger than 120px */
        transform: translateY(3mm) !important; /* Moved 3mm down */
        margin-bottom: 3mm !important;
    }

    .ft-brand-desc {
        margin-top: 3mm !important;
        text-align: center;
        font-size: 0.82rem;
        max-width: 80%;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 0.75rem;
    }

    .ft-address {
        text-align: center;
        margin-bottom: 0.5rem;
    }

    .ft-address p,
    .ft-address a {
        font-size: 0.8rem;
    }

    .ft-phone {
        display: block;
        text-align: center;
        margin-top: 0.5rem !important;
        font-size: 0.95rem;
    }

    .btn-ft-cta {
        display: inline-flex;
        margin: 0.75rem auto 0;
    }

    /* Empty or d-none socials hidden on mobile */
    .ft-social.d-none,
    .ft-social:empty {
        display: none !important;
        margin: 0 !important;
        padding: 0 !important;
        height: 0 !important;
    }

    .ft-brand-col .ft-social:not(.d-none):not(:empty) {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: calc(0.75rem - 1.5mm) !important;
        width: auto !important;
        margin: calc(1rem - 0.3cm) auto 1mm !important;
    }

    /* === SOCIAL ICONS ROW: Reduced space in between by 1.5mm, space above reduced 0.3cm, exactly 1mm space below === */
    .ft-nav-row .ft-col:last-child .ft-social,
    .ft-nav-row .ft-col .ft-social,
    .ft-social:not(.d-none):not(:empty) {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: calc(0.75rem - 1.5mm) !important; /* Reduced space between icons by 1.5mm */
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-top: calc(1.5rem - 0.3cm) !important; /* Reduced space above them by 0.3cm (3mm) */
        margin-bottom: 1mm !important; /* Leave 1mm space below footer social icons */
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
        text-align: center !important;
        clear: both !important;
        position: relative !important;
        left: 0 !important;
    }

    .social-icon {
        width: clamp(40px, 11.5vw, 48px) !important;
        height: clamp(40px, 11.5vw, 48px) !important;
        min-width: clamp(40px, 11.5vw, 48px) !important;
        max-width: 48px !important;
        font-size: clamp(1.15rem, 3.2vw, 1.3rem) !important;
        flex: 0 0 auto !important;
        flex-shrink: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 50% !important;
        border: none !important;
        border-width: 0 !important;
        border-color: transparent !important;
        outline: none !important;
        background-clip: border-box !important;
        -webkit-background-clip: border-box !important;
        background-origin: border-box !important;
        overflow: hidden !important;
        box-shadow: none !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: none !important;
        vertical-align: middle !important;
        line-height: 1 !important;
    }

    .social-icon:hover,
    .social-icon:active,
    .social-icon:focus {
        transform: none !important; /* Prevents touch from raising one icon up */
        border: none !important;
        border-width: 0 !important;
        outline: none !important;
    }

    .social-icon i {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 1 !important;
        font-size: inherit !important;
        vertical-align: middle !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* === NAV COLUMNS: 2-column grid layout === */
    .ft-nav-row {
        row-gap: 1.25rem !important;
    }

    /* Columns 1-4: 50% width on mobile (2 columns per row) */
    .ft-nav-row .ft-col:not(:last-child) {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        width: 50% !important;
        position: static !important;
        left: 0 !important;
    }

    /* Column 5 (COMPANY / Last column): 100% full width on mobile so socials center across full screen */
    .ft-nav-row .col-lg-3.col-md-4.col-sm-6.ft-col:last-child,
    .ft-nav-row .ft-col:last-child {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        text-align: left !important;
        margin-top: 0.5rem !important;
        position: static !important;
        left: 0 !important;
    }

    .ft-nav-row .ft-col:last-child .ft-heading,
    .ft-nav-row .ft-col:last-child .ft-links,
    .ft-nav-row .ft-col:last-child .ft-hours {
        text-align: left !important;
    }

    .ft-nav-row .ft-col:last-child .ft-links {
        align-items: flex-start !important;
    }

    .ft-nav-row .ft-col:last-child .ft-status-badge {
        margin-left: 0 !important;
    }

    .ft-heading {
        font-size: 0.72rem;
        margin-bottom: 0.75rem;
        letter-spacing: 0.08em;
    }

    .ft-links a, .ft-pricing-item {
        font-size: 0.8rem;
    }

    .ft-links {
        gap: 0.45rem;
    }

    /* Training Plans mobile layout: plan name on top, price below without dash */
    .ft-training-links {
        gap: 0.75rem !important;
    }

    .ft-training-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        white-space: normal !important;
        row-gap: 0.15rem !important;
    }

    .ft-training-item .plan-name {
        display: block;
        line-height: 1.25;
    }

    .ft-training-item .plan-sep {
        display: none !important;
    }

    .ft-training-item .plan-price {
        display: inline-flex;
        align-items: center;
        line-height: 1.2;
    }

    /* === SEO SECTION === */
    .ft-seo-section {
        padding: 0.85rem 0 1.25rem 0;
    }
    .ft-seo-section.mt-4 {
        margin-top: calc(1.5rem - 0.5cm) !important;
    }
    .ft-seo-heading {
        font-size: 0.62rem;
    }
    .ft-seo-links {
        font-size: 0.68rem;
        line-height: 1.8;
    }

    /* === HOURS / STATUS === */
    .ft-hours p {
        font-size: 0.78rem;
    }
    .ft-status-badge {
        margin-top: 0.5rem;
    }

    /* === LEGAL BAR === */
    .ft-legal-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.5rem;
    }

    .social-icon { 
        color: #ffffff !important; 
        border: none !important; 
        border-width: 0 !important; 
        border-color: transparent !important; 
        outline: none !important;
        background-clip: border-box !important;
        -webkit-background-clip: border-box !important;
        background-origin: border-box !important;
        overflow: hidden !important;
    }
    .social-icon::before {
        display: none !important;
    }
    .social-icon.icon-ig { background: linear-gradient(45deg, #f09433 0%, #e6683c 20%, #dc2743 40%, #cc2366 60%, #833ab4 80%, #405de6 100%) !important; }
    .social-icon.icon-wa { background: #25D366 !important; }
    .social-icon.icon-yt { background: #FF0000 !important; }
    .social-icon.icon-mail, .social-icon.icon-gmap { background: conic-gradient(from 45deg, #EA4335 0deg 90deg, #4285F4 90deg 180deg, #34A853 180deg 270deg, #FBBC05 270deg 360deg) !important; }
    .social-icon.icon-call { background: #007BFF !important; }
}

.ft-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    margin-top: 1rem;
}
.ft-status-badge.open {
    color: #25D366;
    border-color: rgba(37,211,102,0.2);
    background: rgba(37,211,102,0.05);
}
.ft-status-badge.closed {
    color: #A54F4F;
    border-color: rgba(165,79,79,0.2);
    background: rgba(165,79,79,0.05);
}
.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 8px currentColor;
}

/* Blurred price digits */
.price-blur-x {
    display: inline-block;
    filter: blur(0.12em);
    padding: 0 0.05em;
    letter-spacing: 0.04em;
    user-select: none;
    -webkit-user-select: none;
    vertical-align: baseline;
    font-weight: inherit;
}

/* Rupee symbol positioning - 0.7mm to the left */
.rupee-symbol {
    display: inline-block;
    position: relative;
    left: -0.7mm;
    vertical-align: baseline;
}


