/* ════════════════════════════════════════
   ALBORZ GHALEB FOOTER v8.0 — Modern Attractive Design
   ════════════════════════════════════════ */

/* ── RESET ── */
html body #fl-footer-wrap,
html body #fl-footer-wrap *,
html body #fl-footer-wrap *::before,
html body #fl-footer-wrap *::after {
    box-sizing: border-box !important;
}

html body #fl-footer-wrap {
    display: block !important;
    width: 100% !important;
    margin: 80px 0 0 0 !important;
    padding: 0 !important;
    font-family: inherit !important;
    line-height: 1.6 !important;
    color: #e2e8f0;
    background: transparent !important;
    position: relative !important;
    z-index: 5 !important;
}

html body #fl-footer-wrap a {
    text-decoration: none !important;
    box-shadow: none !important;
    background: none !important;
    border: none !important;
    color: #e2e8f0;
}

html body #fl-footer-wrap a:hover {
    text-decoration: none !important;
    color: #ffffff;
}

html body #fl-footer-wrap button {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer !important;
    font-family: inherit !important;
    color: #e2e8f0;
    -webkit-appearance: none !important;
    appearance: none !important;
}

html body #fl-footer-wrap svg {
    display: block !important;
    background: none !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

html body #fl-footer-wrap ul,
html body #fl-footer-wrap ol,
html body #fl-footer-wrap li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

html body #fl-footer-wrap h4,
html body #fl-footer-wrap p {
    margin: 0 !important;
    padding: 0 !important;
}

html body #fl-footer-wrap img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
}


/* ════════════════════════════════════════
   BACKGROUND — Gradient brand blue with subtle dot pattern
   ════════════════════════════════════════ */
html body #fl-footer-wrap .fl-ft-bg {
    position: relative !important;
    width: 100% !important;
    background: linear-gradient(135deg, #2D5F93 0%, #1B4A73 100%) !important;
    overflow: hidden !important;
    border-top: none !important;
    border-radius: 24px 24px 0 0 !important;
}

html body #fl-footer-wrap .fl-ft-bg::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.08) 1px, transparent 1px) !important;
    background-size: 24px 24px !important;
    pointer-events: none !important;
    z-index: 1 !important;
}


/* ════════════════════════════════════════
   TOP WAVE — Clean SVG wave, not a border-radius hack
   ════════════════════════════════════════ */
html body #fl-footer-wrap .fl-ft-wave {
    display: block !important;
    width: 100% !important;
    height: 40px !important;
    line-height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    position: relative !important;
    z-index: 3 !important;
}

html body #fl-footer-wrap .fl-ft-wave svg {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    fill: #A4B400 !important;
}


/* ════════════════════════════════════════
   INNER CONTAINER
   ════════════════════════════════════════ */
html body #fl-footer-wrap .fl-ft-inner {
    display: grid !important;
    grid-template-columns: 1.4fr 1fr 1fr 1.3fr !important;
    gap: 28px !important;
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 48px 24px 40px !important;
    position: relative !important;
    z-index: 2 !important;
}


/* ════════════════════════════════════════
   COLUMNS — White cards with soft shadow
   ════════════════════════════════════════ */
html body #fl-footer-wrap .fl-ft-col {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    padding: 24px !important;
    border-radius: 18px !important;
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06) !important;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease !important;
    position: relative !important;
    overflow: hidden !important;
}

html body #fl-footer-wrap .fl-ft-col:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 18px 44px rgba(45, 95, 147, 0.12) !important;
    border-color: rgba(45, 95, 147, 0.12) !important;
}

html body #fl-footer-wrap .fl-ft-col-title {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #1f2937 !important;
    margin: 0 0 18px 0 !important;
    padding: 0 0 12px 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    align-self: flex-start !important;
    position: relative !important;
    letter-spacing: .3px !important;
    line-height: 1.3 !important;
    border-bottom: 2px solid rgba(164, 180, 0, 0.25) !important;
}

html body #fl-footer-wrap .fl-ft-col-title::before {
    content: '' !important;
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: #A4B400 !important;
}


/* ────────────────────────
   BRAND COLUMN
   ──────────────────────── */
html body #fl-footer-wrap .fl-ft-logo {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin: 0 0 14px 0 !important;
}

html body #fl-footer-wrap .fl-ft-logo img {
    width: 48px !important;
    height: 48px !important;
    max-width: 48px !important;
    object-fit: contain !important;
    border-radius: 12px !important;
    flex-shrink: 0 !important;
    background: #ffffff !important;
    padding: 5px !important;
}

html body #fl-footer-wrap .fl-ft-logo-name {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #1f2937 !important;
    line-height: 1.3 !important;
}

html body #fl-footer-wrap .fl-ft-desc {
    color: #475569 !important;
    font-size: 13px !important;
    line-height: 1.85 !important;
    margin: 0 0 18px 0 !important;
    opacity: 1 !important;
}

html body #fl-footer-wrap .fl-ft-socials {
    display: flex !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
}

html body #fl-footer-wrap .fl-ft-social {
    width: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #F1F5F9 !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    color: #475569 !important;
    transition: all .25s ease !important;
}

html body #fl-footer-wrap .fl-ft-social svg {
    width: 16px !important;
    height: 16px !important;
    fill: currentColor !important;
    stroke: none !important;
}

html body #fl-footer-wrap .fl-ft-social--whatsapp:hover {
    background: #25D366 !important;
    color: #fff !important;
    border-color: #25D366 !important;
}
html body #fl-footer-wrap .fl-ft-social--telegram:hover {
    background: #229ED9 !important;
    color: #fff !important;
    border-color: #229ED9 !important;
}
html body #fl-footer-wrap .fl-ft-social--instagram:hover {
    background: linear-gradient(45deg, #f09433, #dc2743, #bc1888) !important;
    color: #fff !important;
    border-color: transparent !important;
}
html body #fl-footer-wrap .fl-ft-social--linkedin:hover {
    background: #0A66C2 !important;
    color: #fff !important;
    border-color: #0A66C2 !important;
}
html body #fl-footer-wrap .fl-ft-social--email:hover {
    background: #A4B400 !important;
    color: #fff !important;
    border-color: #A4B400 !important;
}


/* ────────────────────────
   NAV LINKS
   ──────────────────────── */
html body #fl-footer-wrap .fl-ft-nav {
    display: block !important;
}

html body #fl-footer-wrap .fl-ft-nav ul {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
}

html body #fl-footer-wrap .fl-ft-nav li {
    display: block !important;
}

html body #fl-footer-wrap .fl-ft-link {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 10px !important;
    border-radius: 8px !important;
    color: #475569 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    transition: all .2s ease !important;
    position: relative !important;
    overflow: hidden !important;
}

html body #fl-footer-wrap .fl-ft-link:hover {
    background: #F1F5F9 !important;
    color: #2D5F93 !important;
    padding-inline-start: 14px !important;
}

html body #fl-footer-wrap .fl-ft-link-dot {
    width: 5px !important;
    height: 5px !important;
    border-radius: 50% !important;
    background: #A4B400 !important;
    opacity: .5 !important;
    flex-shrink: 0 !important;
    transition: .2s ease !important;
}

html body #fl-footer-wrap .fl-ft-link:hover .fl-ft-link-dot {
    opacity: 1 !important;
    transform: scale(1.3) !important;
}


/* ────────────────────────
   CONTACT
   ──────────────────────── */
html body #fl-footer-wrap .fl-ft-contact-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    margin: 10px 0 0 0 !important;
}

html body #fl-footer-wrap .fl-ft-contact-item {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 10px 12px !important;
    border-radius: 10px !important;
    background: #F1F5F9 !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    color: #475569 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    transition: .2s ease !important;
}

html body #fl-footer-wrap .fl-ft-contact-item:hover {
    background: #E2E8F0 !important;
    color: #2D5F93 !important;
}

html body #fl-footer-wrap .fl-ft-contact-item svg {
    width: 16px !important;
    height: 16px !important;
    stroke: #A4B400 !important;
    fill: none !important;
    stroke-width: 2 !important;
    flex-shrink: 0 !important;
}


/* ════════════════════════════════════════
   BOTTOM BAR — translucent dark overlay
   ════════════════════════════════════════ */
html body #fl-footer-wrap .fl-ft-bottom {
    display: block !important;
    width: 100% !important;
    background: rgba(0, 0, 0, 0.20) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.10) !important;
    position: relative !important;
    z-index: 3 !important;
}

html body #fl-footer-wrap .fl-ft-bottom-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 18px 24px !important;
    gap: 16px !important;
}

html body #fl-footer-wrap .fl-ft-copy {
    color: #e2e8f0 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
}

html body #fl-footer-wrap .fl-ft-back-top {
    width: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    transition: .25s ease !important;
    flex-shrink: 0 !important;
}

html body #fl-footer-wrap .fl-ft-back-top:hover {
    background: #A4B400 !important;
    color: #ffffff !important;
    border-color: #A4B400 !important;
}

html body #fl-footer-wrap .fl-ft-back-top svg {
    width: 16px !important;
    height: 16px !important;
    stroke: currentColor !important;
    fill: none !important;
    stroke-width: 2 !important;
}


/* ════════════════════════════════════════
   DARK MODE
   ════════════════════════════════════════ */
html.dark-mode body #fl-footer-wrap .fl-ft-bg,
.dark-mode html body #fl-footer-wrap .fl-ft-bg {
    background: linear-gradient(135deg, #162B3F 0%, #0F1724 100%) !important;
}

html.dark-mode body #fl-footer-wrap .fl-ft-bg::before,
.dark-mode html body #fl-footer-wrap .fl-ft-bg::before {
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.04) 1px, transparent 1px) !important;
}

html.dark-mode body #fl-footer-wrap .fl-ft-wave svg,
.dark-mode html body #fl-footer-wrap .fl-ft-wave svg {
    fill: #A4B400 !important;
}

html.dark-mode body #fl-footer-wrap .fl-ft-col,
.dark-mode html body #fl-footer-wrap .fl-ft-col {
    background: #162B3F !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25) !important;
}

html.dark-mode body #fl-footer-wrap .fl-ft-col:hover,
.dark-mode html body #fl-footer-wrap .fl-ft-col:hover {
    border-color: rgba(96, 165, 250, 0.20) !important;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35) !important;
}

html.dark-mode body #fl-footer-wrap .fl-ft-col-title,
.dark-mode html body #fl-footer-wrap .fl-ft-col-title {
    color: #e5e7eb !important;
    border-bottom-color: rgba(164, 180, 0, 0.35) !important;
}

html.dark-mode body #fl-footer-wrap .fl-ft-logo-name,
.dark-mode html body #fl-footer-wrap .fl-ft-logo-name {
    color: #e5e7eb !important;
}

html.dark-mode body #fl-footer-wrap .fl-ft-desc,
.dark-mode html body #fl-footer-wrap .fl-ft-desc {
    color: #9ca3af !important;
}

html.dark-mode body #fl-footer-wrap .fl-ft-link,
.dark-mode html body #fl-footer-wrap .fl-ft-link {
    color: #9ca3af !important;
}

html.dark-mode body #fl-footer-wrap .fl-ft-link:hover,
.dark-mode html body #fl-footer-wrap .fl-ft-link:hover {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #A4B400 !important;
}

html.dark-mode body #fl-footer-wrap .fl-ft-social,
.dark-mode html body #fl-footer-wrap .fl-ft-social {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #d1d5db !important;
}

html.dark-mode body #fl-footer-wrap .fl-ft-contact-item,
.dark-mode html body #fl-footer-wrap .fl-ft-contact-item {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.06) !important;
    color: #9ca3af !important;
}

html.dark-mode body #fl-footer-wrap .fl-ft-contact-item:hover,
.dark-mode html body #fl-footer-wrap .fl-ft-contact-item:hover {
    background: rgba(255, 255, 255, 0.10) !important;
    color: #e5e7eb !important;
}

html.dark-mode body #fl-footer-wrap .fl-ft-bottom,
.dark-mode html body #fl-footer-wrap .fl-ft-bottom {
    background: rgba(0, 0, 0, 0.30) !important;
    border-top-color: rgba(255, 255, 255, 0.06) !important;
}

html.dark-mode body #fl-footer-wrap .fl-ft-copy,
.dark-mode html body #fl-footer-wrap .fl-ft-copy {
    color: #9ca3af !important;
}

html.dark-mode body #fl-footer-wrap .fl-ft-back-top,
.dark-mode html body #fl-footer-wrap .fl-ft-back-top {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #d1d5db !important;
}

html.dark-mode body #fl-footer-wrap .fl-ft-back-top:hover,
.dark-mode html body #fl-footer-wrap .fl-ft-back-top:hover {
    background: #A4B400 !important;
    color: #ffffff !important;
    border-color: #A4B400 !important;
}


/* ════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════ */
@media (max-width: 1024px) {
    html body #fl-footer-wrap .fl-ft-inner {
        grid-template-columns: 1fr 1fr !important;
        gap: 18px !important;
        padding: 36px 20px 30px !important;
    }
}

@media (max-width: 640px) {
    html body #fl-footer-wrap {
        margin-top: 40px !important;
    }

    html body #fl-footer-wrap .fl-ft-inner {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        padding: 28px 16px 24px !important;
    }

    html body #fl-footer-wrap .fl-ft-col {
        padding: 18px !important;
    }

    html body #fl-footer-wrap .fl-ft-bottom-inner {
        flex-direction: column !important;
        gap: 12px !important;
        text-align: center !important;
        padding: 14px !important;
    }

    html body #fl-footer-wrap .fl-ft-wave {
        height: 32px !important;
    }
}
