/* ==========================================================================
   TECHNO MAK INDIA PVT LTD - PREMIUM FOOTER DESIGN SYSTEM
   ========================================================================== */

:root {
    --ft-bg-primary: #080e1a;
    --ft-bg-secondary: #0c1424;
    --ft-bg-card: rgba(255, 255, 255, 0.04);
    --ft-border: rgba(255, 255, 255, 0.08);
    --ft-border-hover: rgba(0, 119, 255, 0.4);
    --ft-text-main: #f1f5f9;
    --ft-text-muted: #94a3b8;
    --ft-text-soft: #64748b;
    --ft-primary: #0077ff;
    --ft-primary-light: #38bdf8;
    --ft-techno-green: #12b76a;
    --ft-mak-red: #e53935;
    --ft-glow: rgba(0, 119, 255, 0.18);
}

/* Base Footer Shell */
.site-footer {
    position: relative;
    background: linear-gradient(180deg, #0a1120 0%, #050811 100%);
    color: var(--ft-text-muted);
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow: hidden;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Ambient Top Accent Lighting */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 850px;
    height: 180px;
    background: radial-gradient(ellipse at top, rgba(0, 119, 255, 0.14) 0%, rgba(18, 183, 106, 0.04) 50%, transparent 75%);
    pointer-events: none;
    z-index: 1;
}

/* Top Gradient Accent Bar */
.footer-top-accent {
    position: relative;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, 
        rgba(18, 183, 106, 0.8) 0%, 
        rgba(0, 119, 255, 1) 40%, 
        rgba(56, 189, 248, 1) 65%, 
        rgba(229, 57, 53, 0.8) 100%
    );
    box-shadow: 0 0 16px rgba(0, 119, 255, 0.4);
    z-index: 2;
}

/* Main Content Wrapper */
.footer-main-wrap {
    position: relative;
    padding: 70px 0 50px;
    z-index: 2;
}

.footer-container {
    width: min(92%, 1380px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.8fr 1.3fr 1.3fr;
    gap: 48px 40px;
    align-items: start;
}

/* Column 1: Brand & Profile */
.footer-col-brand {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-brand-header {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    width: fit-content;
    transition: transform 0.3s ease;
}

.footer-brand-header:hover {
    transform: translateY(-2px);
}

.footer-logo-box {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 0 2px rgba(255, 255, 255, 0.3);
    padding: 3px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
}

.footer-brand-header:hover .footer-logo-box {
    box-shadow: 0 10px 28px rgba(0, 119, 255, 0.4), 0 0 0 3px var(--ft-primary);
    transform: scale(1.05);
}

.footer-logo-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    display: block;
}

.footer-brand-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer-brand-title .brand-text {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.2px;
    line-height: 1.25;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px 8px;
}

.footer-brand-title .brand-text .techno {
    color: var(--ft-techno-green);
}

.footer-brand-title .brand-text .mak {
    color: var(--ft-mak-red);
}

.footer-brand-title .brand-text .brand-corp {
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.footer-desc {
    color: var(--ft-text-muted);
    font-size: 14px;
    line-height: 1.75;
    margin: 0;
    max-width: 480px;
}

.footer-trust-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--ft-bg-card);
    border: 1px solid var(--ft-border);
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 500;
    color: #e2e8f0;
    letter-spacing: 0.2px;
    transition: all 0.3s ease;
}

.trust-pill i {
    color: var(--ft-primary-light);
    font-size: 11px;
}

.trust-pill:hover {
    background: rgba(0, 119, 255, 0.1);
    border-color: var(--ft-border-hover);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Headings */
.footer-heading {
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.4px;
    margin: 0 0 22px 0;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--ft-primary), var(--ft-primary-light));
}

/* Column 2: Links Grid */
.footer-nav-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 28px;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-links-list li {
    list-style: none;
}

.footer-links-list a {
    text-decoration: none;
    color: var(--ft-text-muted);
    font-size: 14px;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    padding: 2px 0;
}

.footer-links-list a i {
    font-size: 10px;
    color: var(--ft-primary);
    transition: transform 0.25s ease, color 0.25s ease;
}

.footer-links-list a:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.footer-links-list a:hover i {
    color: var(--ft-primary-light);
    transform: translateX(3px);
}

/* Column 3: Connect & CTA */
.footer-col-contact {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-connect-desc {
    font-size: 13.5px;
    color: var(--ft-text-muted);
    line-height: 1.65;
    margin: 0;
}

/* Circular Social Buttons with Original Platform Colors */
.footer-social-cluster {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 4px 0;
}

.social-btn {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 17px;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    border: none;
    flex-shrink: 0;
}

/* Platform Original Colors */
.social-btn.fb {
    background: #1877f2;
    box-shadow: 0 4px 14px rgba(24, 119, 242, 0.38);
}

.social-btn.ig {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
    box-shadow: 0 4px 14px rgba(214, 36, 159, 0.38);
}

.social-btn.in {
    background: #0a66c2;
    box-shadow: 0 4px 14px rgba(10, 102, 194, 0.38);
}

.social-btn.x {
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

.social-btn.yt {
    background: #ff0000;
    box-shadow: 0 4px 14px rgba(255, 0, 0, 0.38);
}

/* Hover Lift & Glow Enhancements */
.social-btn:hover {
    transform: translateY(-5px) scale(1.08);
    color: #ffffff;
}

.social-btn.fb:hover {
    box-shadow: 0 10px 24px rgba(24, 119, 242, 0.6);
}

.social-btn.ig:hover {
    box-shadow: 0 10px 24px rgba(214, 36, 159, 0.6);
}

.social-btn.in:hover {
    box-shadow: 0 10px 24px rgba(10, 102, 194, 0.6);
}

.social-btn.x:hover {
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 24px rgba(255, 255, 255, 0.25);
}

.social-btn.yt:hover {
    box-shadow: 0 10px 24px rgba(255, 0, 0, 0.6);
}

.social-tooltip {
    position: absolute;
    bottom: -32px;
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    background: #0f172a;
    color: #ffffff;
    font-size: 11px;
    font-weight: 500;
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    z-index: 10;
}

.social-btn:hover .social-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Interactive CTA Card - 100% Clickable Link */
.footer-cta-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, rgba(0, 119, 255, 0.10) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: 1px solid rgba(0, 119, 255, 0.25);
    border-radius: 14px;
    padding: 14px 18px;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    margin-top: 6px;
    text-decoration: none;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
}

.footer-cta-card:hover {
    border-color: rgba(0, 119, 255, 0.6);
    background: linear-gradient(135deg, rgba(0, 119, 255, 0.18) 0%, rgba(255, 255, 255, 0.08) 100%);
    box-shadow: 0 8px 26px rgba(0, 119, 255, 0.25);
    transform: translateY(-2px);
}

.cta-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(0, 119, 255, 0.18);
    color: var(--ft-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.footer-cta-card:hover .cta-icon {
    background: var(--ft-primary);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 119, 255, 0.4);
}

.cta-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.cta-label {
    font-size: 11.5px;
    color: var(--ft-text-soft);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
}

.cta-action {
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.25s ease, gap 0.25s ease;
}

.cta-action i {
    font-size: 11px;
    color: var(--ft-primary-light);
    transition: transform 0.25s ease;
}

.footer-cta-card:hover .cta-action {
    color: var(--ft-primary-light);
    gap: 9px;
}

.footer-cta-card:hover .cta-action i {
    transform: translateX(4px);
}

/* Bottom Copyright Bar */
.footer-bottom-bar {
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: #04070e;
    padding: 22px 0;
    z-index: 2;
}

.footer-bottom-container {
    width: min(92%, 1380px);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
}

.footer-copyright-text {
    font-size: 13.5px;
    color: var(--ft-text-soft);
    margin: 0;
    line-height: 1.5;
    text-align: center;
}

.footer-copyright-text strong {
    color: #cbd5e1;
    font-weight: 600;
}

/* Scroll To Top Button */
.footer-scroll-top {
    position: absolute;
    right: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--ft-bg-card);
    border: 1px solid var(--ft-border);
    color: #cbd5e1;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-scroll-top:hover {
    background: var(--ft-primary);
    border-color: var(--ft-primary);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 119, 255, 0.35);
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */

@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px 30px;
    }

    .footer-col-brand {
        grid-column: span 2;
    }

    .footer-desc {
        max-width: 100%;
    }
}

@media (max-width: 680px) {
    .footer-main-wrap {
        padding: 50px 0 35px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer-col-brand {
        grid-column: span 1;
    }

    .footer-nav-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px 16px;
    }

    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
        gap: 14px;
        justify-content: center;
    }

    .footer-scroll-top {
        position: static;
        margin-top: 6px;
    }
}
