.elementor-9847 .elementor-element.elementor-element-2441971{--display:flex;}/* Start custom CSS for html, class: .elementor-element-770e2ad */#rexsun-footer-wrapper {
    --rx-red: #dc2626;
    --rx-red-dark: #b91c1c;
    --rx-red-soft: rgba(220, 38, 38, 0.1);

    --rx-text: #1e293b;
    --rx-text-strong: #0f172a;
    --rx-muted: #475e7b;
    --rx-soft: #64748b;
    --rx-steel: #2b4c7e;
    --rx-steel-dark: #1e293b;
    --rx-steel-soft: rgba(43, 76, 126, 0.1);

    --rx-bg: #f8fafc;
    --rx-surface: rgba(255, 255, 255, 0.76);
    --rx-surface-strong: rgba(255, 255, 255, 0.92);

    --rx-border: rgba(30, 41, 59, 0.1);
    --rx-border-strong: rgba(30, 41, 59, 0.16);

    --rx-shadow-sm: 0 14px 34px rgba(30, 41, 59, 0.08);
    --rx-shadow-md: 0 24px 64px rgba(30, 41, 59, 0.14);

    --rx-radius-sm: 8px;
    --rx-radius-md: 10px;
    --rx-radius-lg: 14px;
    --rx-radius-xl: 18px;

    --rx-font: "Vazirmatn", Tahoma, sans-serif;
    --rx-ease: cubic-bezier(0.25, 1, 0.5, 1);

    direction: rtl;
    font-family: var(--rx-font);
    width: 100vw !important;
    max-width: 100vw !important;
    margin-right: calc(50% - 50vw) !important;
    margin-left: calc(50% - 50vw) !important;
    background: transparent !important;
}

#rexsun-footer-wrapper,
#rexsun-footer-wrapper * {
    box-sizing: border-box;
}

#rexsun-footer-wrapper h2,
#rexsun-footer-wrapper h3,
#rexsun-footer-wrapper h4,
#rexsun-footer-wrapper p {
    margin: 0;
}

#rexsun-footer-wrapper a {
    color: inherit;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

#rexsun-footer-wrapper button {
    font-family: inherit;
}

#rexsun-footer-wrapper img,
#rexsun-footer-wrapper svg {
    display: block;
}

#rexsun-footer-wrapper [data-rx-footer-reveal] {
    opacity: 0;
    transform: translate3d(0, 28px, 0) scale(0.985);
    filter: blur(8px);
    transition:
        opacity 0.82s var(--rx-ease),
        transform 0.82s var(--rx-ease),
        filter 0.82s var(--rx-ease);
    will-change: opacity, transform, filter;
}

#rexsun-footer-wrapper [data-rx-footer-reveal].rx-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
}

#rexsun-footer-wrapper .rx-footer {
    position: relative;
    width: 100vw !important;
    max-width: 100vw !important;
    overflow: hidden;
    color: var(--rx-muted);
    border-top: 1px solid var(--rx-border-strong);
    background:
        linear-gradient(180deg, #ffffff 0%, #f8fafc 38%, #ffffff 100%);
    isolation: isolate;
}

#rexsun-footer-wrapper .rx-footer-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

#rexsun-footer-wrapper .rx-footer-grid {
    position: absolute;
    inset: 0;
    opacity: 0.9;
    background-image:
        linear-gradient(rgba(30, 41, 59, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 41, 59, 0.035) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
}

#rexsun-footer-wrapper .rx-footer-glow {
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 18px;
    filter: blur(36px);
    opacity: 0.18;
}

#rexsun-footer-wrapper .rx-footer-glow-one {
    top: -220px;
    right: -160px;
    background: radial-gradient(circle, rgba(43, 76, 126, 0.42), transparent 66%);
}

#rexsun-footer-wrapper .rx-footer-glow-two {
    bottom: -240px;
    left: -170px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.28), transparent 68%);
}

#rexsun-footer-wrapper .rx-footer::before {
    content: "";
    position: absolute;
    top: 0;
    right: 50%;
    z-index: 1;
    width: min(1120px, 82vw);
    height: 3px;
    transform: translateX(50%);
    background: linear-gradient(90deg, transparent, var(--rx-red), var(--rx-steel), transparent);
    pointer-events: none;
}

#rexsun-footer-wrapper .rx-footer-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 64px 40px 24px;
}

#rexsun-footer-wrapper .rx-footer-main {
    display: grid;
    grid-template-columns: minmax(280px, 1.45fr) minmax(170px, 0.82fr) minmax(210px, 0.95fr) minmax(280px, 1.18fr);
    gap: 16px;
    align-items: stretch;
    margin-bottom: 28px;
}

#rexsun-footer-wrapper .rx-footer-panel {
    min-width: 0;
    padding: 24px;
    border: 1px solid var(--rx-border);
    border-radius: var(--rx-radius-xl);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.56));
    box-shadow: 0 12px 32px rgba(30, 41, 59, 0.06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

#rexsun-footer-wrapper .rx-footer-logo {
    display: inline-flex;
    margin-bottom: 18px;
}

#rexsun-footer-wrapper .rx-footer-logo img {
    width: auto;
    max-height: 74px;
    object-fit: contain;
}

#rexsun-footer-wrapper .rx-footer-brand h3 {
    margin-bottom: 14px;
    color: var(--rx-text-strong);
    font-size: 1.38rem;
    font-weight: 950;
    line-height: 1.42;
}

#rexsun-footer-wrapper .rx-footer-brand p {
    max-width: 520px;
    color: var(--rx-muted);
    font-size: 0.98rem;
    font-weight: 550;
    line-height: 1.95;
}

#rexsun-footer-wrapper .rx-footer-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 22px;
}

#rexsun-footer-wrapper .rx-footer-stats div {
    padding: 13px;
    border: 1px solid rgba(30, 41, 59, 0.08);
    border-radius: var(--rx-radius-md);
    background: rgba(248, 250, 252, 0.72);
}

#rexsun-footer-wrapper .rx-footer-stats strong {
    display: block;
    margin-bottom: 6px;
    color: var(--rx-red);
    font-size: 1.18rem;
    font-weight: 950;
    line-height: 1.2;
}

#rexsun-footer-wrapper .rx-footer-stats span {
    display: block;
    color: var(--rx-soft);
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.6;
}

#rexsun-footer-wrapper .rx-footer-links,
#rexsun-footer-wrapper .rx-footer-contact {
    display: flex;
    flex-direction: column;
}

#rexsun-footer-wrapper .rx-footer-links h4,
#rexsun-footer-wrapper .rx-footer-contact h4 {
    position: relative;
    display: inline-flex;
    width: fit-content;
    margin-bottom: 24px;
    color: var(--rx-text-strong);
    font-size: 1.04rem;
    font-weight: 950;
    line-height: 1.4;
}

#rexsun-footer-wrapper .rx-footer-links h4::after,
#rexsun-footer-wrapper .rx-footer-contact h4::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -9px;
    width: 36px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--rx-red), var(--rx-steel));
}

#rexsun-footer-wrapper .rx-footer-links a {
    position: relative;
    width: fit-content;
    display: inline-flex;
    align-items: center;
    margin-bottom: 12px;
    color: var(--rx-muted);
    font-size: 0.95rem;
    font-weight: 750;
    line-height: 1.75;
    transition: color 0.28s var(--rx-ease), transform 0.28s var(--rx-ease);
}

#rexsun-footer-wrapper .rx-footer-links a::before {
    content: "";
    width: 6px;
    height: 6px;
    margin-left: 10px;
    border-radius: 2px;
    background: var(--rx-red);
    opacity: 0;
    transform: scale(0.4);
    transition: opacity 0.28s var(--rx-ease), transform 0.28s var(--rx-ease);
}

#rexsun-footer-wrapper .rx-footer-links a:hover {
    color: var(--rx-red);
    transform: translateX(-5px);
}

#rexsun-footer-wrapper .rx-footer-links a:hover::before {
    opacity: 1;
    transform: scale(1);
}

#rexsun-footer-wrapper .rx-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--rx-muted);
    font-size: 0.95rem;
    font-weight: 750;
    line-height: 1.85;
    transition: color 0.28s var(--rx-ease), transform 0.28s var(--rx-ease);
}

#rexsun-footer-wrapper .rx-contact-row:hover {
    color: var(--rx-red);
    transform: translateX(-4px);
}

#rexsun-footer-wrapper .rx-contact-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    color: var(--rx-red);
    border: 1px solid rgba(220, 38, 38, 0.18);
    border-radius: var(--rx-radius-sm);
    background: rgba(220, 38, 38, 0.07);
    transition: color 0.28s var(--rx-ease), background 0.28s var(--rx-ease), transform 0.28s var(--rx-ease);
}

#rexsun-footer-wrapper .rx-contact-row:hover .rx-contact-icon {
    color: #ffffff;
    background: var(--rx-red);
    transform: rotate(-3deg);
}

#rexsun-footer-wrapper .rx-contact-icon svg {
    width: 18px;
    height: 18px;
}

#rexsun-footer-wrapper .rx-address span:last-child {
    max-width: 320px;
}

#rexsun-footer-wrapper .rx-footer-bottom {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 18px;
    padding: 20px 0 0;
    border-top: 1px solid var(--rx-border);
    color: var(--rx-soft);
    font-size: 0.9rem;
    font-weight: 750;
}

#rexsun-footer-wrapper .rx-footer-top-btn {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--rx-steel-dark);
    border: 1px solid var(--rx-border);
    border-radius: var(--rx-radius-sm);
    background: rgba(255, 255, 255, 0.78);
    cursor: pointer;
    transition: color 0.28s var(--rx-ease), background 0.28s var(--rx-ease), border-color 0.28s var(--rx-ease), transform 0.28s var(--rx-ease);
}

#rexsun-footer-wrapper .rx-footer-top-btn svg {
    width: 20px;
    height: 20px;
}

#rexsun-footer-wrapper .rx-footer-top-btn:hover {
    color: #ffffff;
    border-color: var(--rx-red);
    background: var(--rx-red);
    transform: translateY(-4px);
}

#rexsun-footer-wrapper .rx-signature {
    direction: ltr;
    text-align: left;
}

#rexsun-footer-wrapper .rx-signature span {
    color: var(--rx-text);
    font-weight: 950;
    letter-spacing: 0;
}

@media (max-width: 1180px) {
    #rexsun-footer-wrapper .rx-footer-main {
        grid-template-columns: 1.2fr 1fr;
    }

    #rexsun-footer-wrapper .rx-footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    #rexsun-footer-wrapper .rx-footer-container {
        padding: 56px 20px 22px;
    }

    #rexsun-footer-wrapper .rx-footer-main {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    #rexsun-footer-wrapper .rx-footer-brand {
        grid-column: auto;
        text-align: center;
    }

    #rexsun-footer-wrapper .rx-footer-logo {
        justify-content: center;
        width: 100%;
    }

    #rexsun-footer-wrapper .rx-footer-logo img {
        max-height: 68px;
    }

    #rexsun-footer-wrapper .rx-footer-brand p {
        max-width: 100%;
    }

    #rexsun-footer-wrapper .rx-footer-stats {
        max-width: 460px;
        margin-right: auto;
        margin-left: auto;
    }

    #rexsun-footer-wrapper .rx-footer-links a {
        width: 100%;
        padding: 10px 0;
        margin-bottom: 0;
        border-bottom: 1px solid rgba(30, 41, 59, 0.07);
    }

    #rexsun-footer-wrapper .rx-footer-links a:last-child {
        border-bottom: 0;
    }

    #rexsun-footer-wrapper .rx-footer-bottom {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        gap: 12px;
    }

    #rexsun-footer-wrapper .rx-signature {
        text-align: center;
    }
}

@media (max-width: 420px) {
    #rexsun-footer-wrapper .rx-footer-container {
        padding-inline: 14px;
    }

    #rexsun-footer-wrapper .rx-footer-panel {
        padding: 20px;
    }

    #rexsun-footer-wrapper .rx-footer-brand h3 {
        font-size: 1.26rem;
    }

    #rexsun-footer-wrapper .rx-footer-stats {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    #rexsun-footer-wrapper *,
    #rexsun-footer-wrapper *::before,
    #rexsun-footer-wrapper *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    #rexsun-footer-wrapper [data-rx-footer-reveal] {
        opacity: 1;
        transform: none;
        filter: none;
    }
}/* End custom CSS */