/* FirstData professional header & footer chrome */

:root {
    --fd-chrome-ink: #0b1f4d;
    --fd-chrome-accent: #1a56db;
    --fd-chrome-muted: #475569;
    --fd-chrome-line: rgba(11, 31, 77, 0.09);
    --fd-chrome-shadow: 0 8px 24px rgba(11, 31, 77, 0.07);
    --fd-chrome-surface: rgba(255, 255, 255, 0.97);
}

/* ========== HEADER (premium rebuild) ========== */
.fd-site-header--pro {
    position: relative;
    z-index: 1000;
    width: 100%;
}

.fd-site-header--pro .fd-header-top {
    background: linear-gradient(90deg, #06122a 0%, #0b1f4d 48%, #123a8a 100%);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.82rem;
}

.fd-site-header--pro .fd-header-top-inner {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.35rem 0;
}

.fd-site-header--pro .fd-header-top-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem 0.7rem;
}

.fd-site-header--pro .fd-header-top-meta a,
.fd-site-header--pro .fd-header-top-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none;
    font-weight: 600;
}

.fd-site-header--pro .fd-header-top-meta i {
    color: #93c5fd;
}

.fd-site-header--pro .fd-header-top-sep {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.22);
}

.fd-site-header--pro .fd-header-top-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.fd-site-header--pro .fd-header-social {
    display: flex;
    gap: 0.35rem;
}

.fd-site-header--pro .fd-header-social a {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: #fff !important;
    transition: background 0.2s ease, transform 0.2s ease;
}

.fd-site-header--pro .fd-header-social a:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
}

.fd-site-header--pro .fd-header-top-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.38rem 0.85rem;
    border-radius: 999px;
    background: #fff;
    color: #0b1f4d !important;
    font-weight: 800;
    font-size: 0.8rem;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14);
}

.fd-site-header--pro .fd-header-top-cta:hover {
    background: #e8f0ff;
    color: #0b1f4d !important;
}

.fd-site-header--pro .fd-header-main {
    background: rgba(255, 255, 255, 0.98) !important;
    border-bottom: 1px solid rgba(11, 31, 77, 0.08);
    box-shadow: 0 10px 30px rgba(11, 31, 77, 0.08) !important;
    position: relative;
    z-index: 5;
}

.fd-site-header--pro .fd-header-main::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(26, 86, 219, 0.45), transparent);
    pointer-events: none;
}

.fd-site-header--pro .fd-header-main.sticky-menu,
.fd-site-header--pro.sticky-menu .fd-header-main {
    background: #fff !important;
    box-shadow: 0 12px 32px rgba(11, 31, 77, 0.12) !important;
}

.fd-site-header--pro .fd-header-main-inner {
    min-height: 96px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-block: 0.55rem;
}

.fd-site-header--pro .fd-header-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 0 0 auto;
}

.fd-site-header--pro .fd-header-logo {
    display: inline-flex;
    align-items: center;
}

.fd-site-header--pro .fd-header-logo img {
    max-height: 76px !important;
    width: auto;
}

.fd-site-header--pro .fd-header-tagline {
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(26, 86, 219, 0.08);
    color: #1a56db;
    font-size: 0.68rem;
    font-weight: 800;
    white-space: nowrap;
}

.fd-site-header--pro .fd-header-nav {
    flex: 1 1 auto;
    justify-content: center;
    min-width: 0;
}

.fd-site-header--pro .fd-header-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.1rem;
}

.fd-site-header--pro .fd-header-menu > li {
    position: relative;
}

.fd-site-header--pro .fd-header-menu > li > a {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.65rem 0.7rem;
    color: #0b1f4d !important;
    font-weight: 700 !important;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 10px;
    transition: color 0.2s ease, background 0.2s ease;
}

.fd-site-header--pro .fd-header-menu > li.menu-item-has-children > a::after {
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 0.72rem;
    opacity: 0.65;
}

.fd-site-header--pro .fd-header-menu > li > a:hover,
.fd-site-header--pro .fd-header-menu > li.active > a,
.fd-site-header--pro .fd-header-menu > li.open > a {
    color: #1a56db !important;
    background: rgba(26, 86, 219, 0.07);
}

/* Submenus: hidden by default, open on hover / .open */
.fd-site-header--pro .fd-header-menu .sub-menu,
.fd-site-header--pro .fd-header-menu ul.sub-menu,
.fd-site-header--pro .fd-header-menu li.menu-item-has-children > ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0.45rem !important;
    min-width: 220px;
    border-radius: 14px;
    background: #fff !important;
    border: 1px solid rgba(11, 31, 77, 0.08);
    box-shadow: 0 16px 36px rgba(11, 31, 77, 0.14);
    position: absolute !important;
    top: calc(100% + 6px) !important;
    inset-inline-start: 0 !important;
    inset-inline-end: auto !important;
    z-index: 1200;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(8px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    display: block !important;
}

.fd-site-header--pro .fd-header-menu > li.menu-item-has-children:hover > ul,
.fd-site-header--pro .fd-header-menu > li.menu-item-has-children:focus-within > ul,
.fd-site-header--pro .fd-header-menu > li.menu-item-has-children.open > ul {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0);
}

.fd-site-header--pro .fd-header-menu .sub-menu a {
    display: block;
    padding: 0.55rem 0.75rem;
    border-radius: 10px;
    color: #334155 !important;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.fd-site-header--pro .fd-header-menu .sub-menu a:hover {
    background: rgba(26, 86, 219, 0.07);
    color: #1a56db !important;
}

/* Hide theme's desktop dropdown button next to items */
.fd-site-header--pro .fd-header-nav .dropdown-btn {
    display: none !important;
}

.fd-site-header--pro .fd-header-tools {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex: 0 0 auto;
}

.fd-site-header--pro .fd-header-icon,
.fd-site-header--pro .fd-header-burger,
.fd-site-header--pro .fd-header-side,
.fd-site-header--pro .fd-header-wa {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(11, 31, 77, 0.1);
    background: #fff;
    color: #0b1f4d !important;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.fd-site-header--pro .fd-header-icon:hover,
.fd-site-header--pro .fd-header-burger:hover,
.fd-site-header--pro .fd-header-side:hover {
    background: rgba(26, 86, 219, 0.08);
    color: #1a56db !important;
    border-color: rgba(26, 86, 219, 0.2);
}

.fd-site-header--pro .fd-header-wa {
    background: #16a34a;
    border-color: #16a34a;
    color: #fff !important;
}

.fd-site-header--pro .fd-header-wa:hover {
    background: #15803d;
    color: #fff !important;
}

.fd-site-header--pro .fd-header-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.2rem 0.55rem 0.2rem 0.2rem;
    border-radius: 14px;
    background: rgba(26, 86, 219, 0.06);
    text-decoration: none;
    color: #0b1f4d !important;
}

.fd-site-header--pro .fd-header-phone-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0b1f4d, #1a56db);
    color: #fff;
}

.fd-site-header--pro .fd-header-phone-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    padding-inline-end: 0.35rem;
}

.fd-site-header--pro .fd-header-phone-copy small {
    font-size: 0.68rem;
    color: #64748b;
    font-weight: 700;
}

.fd-site-header--pro .fd-header-phone-copy strong {
    font-size: 0.86rem;
    font-weight: 800;
}

.fd-site-header--pro .fd-header-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.7rem 1.1rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #0b1f4d, #1a56db);
    color: #fff !important;
    font-weight: 800;
    font-size: 0.9rem;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(26, 86, 219, 0.24);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fd-site-header--pro .fd-header-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(26, 86, 219, 0.3);
    color: #fff !important;
}

.fd-site-header--pro .fd-header-burger {
    border: 1px solid rgba(26, 86, 219, 0.18);
    background: rgba(26, 86, 219, 0.08);
    color: #1a56db !important;
    cursor: pointer;
}

@media (max-width: 1199.98px) {
    .fd-site-header--pro .fd-header-menu > li > a {
        padding-inline: 0.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 991.8px) {
    .fd-site-header--pro .fd-header-top-meta > span:nth-child(3),
    .fd-site-header--pro .fd-header-top-sep:nth-child(2) {
        display: none;
    }

    .fd-site-header--pro .fd-header-main-inner {
        min-height: 74px;
        padding-block: 0.35rem;
    }

    .fd-site-header--pro .fd-header-logo img {
        max-height: 56px !important;
    }

    .fd-site-header--pro .fd-header-icon,
    .fd-site-header--pro .fd-header-burger,
    .fd-site-header--pro .fd-header-side,
    .fd-site-header--pro .fd-header-wa {
        width: 42px;
        height: 42px;
    }
}

/* Offcanvas side panel must stay viewport-fixed and fully hidden when closed.
   Previously nested inside sticky header (transform/animation), so it peeked in the header. */
.extra-info {
    position: fixed !important;
    top: 0 !important;
    inset-inline-end: 0 !important;
    inset-inline-start: auto !important;
    width: min(340px, 92vw) !important;
    height: 100% !important;
    z-index: 10050 !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translate3d(110%, 0, 0) !important;
    background: #fff !important;
    box-shadow: -12px 0 36px rgba(11, 31, 77, 0.14);
    transition: transform .28s ease, opacity .2s ease, visibility .2s ease;
}

html[dir="rtl"] .extra-info,
body[dir="rtl"] .extra-info {
    inset-inline-end: auto !important;
    inset-inline-start: 0 !important;
    transform: translate3d(-110%, 0, 0) !important;
    box-shadow: 12px 0 36px rgba(11, 31, 77, 0.14);
}

.extra-info.active {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translate3d(0, 0, 0) !important;
}

html[dir="rtl"] .extra-info.active,
body[dir="rtl"] .extra-info.active {
    transform: translate3d(0, 0, 0) !important;
}

/* Hard-hide closed offcanvas chrome so logo/close never bleed into the header */
.extra-info:not(.active) {
    left: -9999px !important;
    right: auto !important;
    clip-path: inset(100%);
}

.extra-info:not(.active) .close-icon,
.extra-info:not(.active) .logo-side,
.extra-info:not(.active) .side-info-content,
.extra-info:not(.active) > * {
    visibility: hidden !important;
    opacity: 0 !important;
}

.extra-info.active {
    clip-path: none;
}

.offcanvas-overly {
    z-index: 10040 !important;
}

.offcanvas-overly:not(.active) {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* ========== FOOTER (premium dark) ========== */
.fd-site-footer--pro {
    position: relative;
    margin-top: 56px;
    color: #dbe4f3;
}

.fd-site-footer--pro .fd-footer-cta {
    position: relative;
    z-index: 2;
    margin: 0 auto -32px;
    max-width: 1140px;
    padding: 0 15px;
}

.fd-site-footer--pro .fd-footer-cta-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    padding: 1.2rem 1.45rem;
    border-radius: 18px;
    background:
        radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.14), transparent 42%),
        linear-gradient(115deg, #071633 0%, #0b1f4d 42%, #1a56db 100%);
    color: #fff;
    box-shadow: 0 18px 40px rgba(7, 22, 51, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.fd-site-footer--pro .fd-footer-cta-kicker {
    display: inline-block;
    margin-bottom: 0.25rem;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #93c5fd;
}

.fd-site-footer--pro .fd-footer-cta-inner h3 {
    color: #fff;
    margin: 0 0 0.25rem;
    font-size: 1.2rem;
    font-weight: 800;
}

.fd-site-footer--pro .fd-footer-cta-inner p {
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.9rem;
}

.fd-site-footer--pro .fd-footer-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.fd-site-footer--pro .fd-footer-cta-actions a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 999px;
    padding: 0.65rem 1.05rem;
    font-weight: 800;
    font-size: 0.86rem;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease;
}

.fd-site-footer--pro .fd-footer-cta-actions a.primary {
    background: #fff;
    color: #0b1f4d;
}

.fd-site-footer--pro .fd-footer-cta-actions a.ghost {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.fd-site-footer--pro .fd-footer-cta-actions a:hover {
    transform: translateY(-2px);
}

.fd-site-footer--pro .fd-footer-main {
    background:
        radial-gradient(circle at top left, rgba(26, 86, 219, 0.22), transparent 34%),
        linear-gradient(180deg, #071633 0%, #0a1a3d 55%, #06122a 100%);
    padding: 72px 0 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.fd-site-footer--pro .fd-footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.85fr 0.95fr 1.1fr;
    gap: 1.75rem 1.5rem;
    margin-bottom: 1.5rem;
}

.fd-site-footer--pro .fd-footer-logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.9rem;
}

.fd-site-footer--pro .fd-footer-logo img {
    max-height: 52px;
    width: auto;
    filter: brightness(1.05);
}

.fd-site-footer--pro .fd-footer-about {
    margin: 0 0 1rem;
    color: rgba(219, 228, 243, 0.86);
    font-size: 0.92rem;
    line-height: 1.75;
    max-width: 34ch;
}

.fd-site-footer--pro .fd-footer-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1rem;
}

.fd-site-footer--pro .fd-footer-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e8eef9;
    font-size: 0.78rem;
    font-weight: 700;
}

.fd-site-footer--pro .fd-footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.fd-site-footer--pro .fd-footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.2s ease, transform 0.2s ease;
}

.fd-site-footer--pro .fd-footer-social a:hover {
    background: rgba(26, 86, 219, 0.55);
    transform: translateY(-1px);
    color: #fff;
}

.fd-site-footer--pro .fd-footer-title {
    margin: 0 0 0.95rem;
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    position: relative;
    padding-bottom: 0.65rem;
}

.fd-site-footer--pro .fd-footer-title::after {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    bottom: 0;
    width: 28px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #60a5fa, #1a56db);
}

.fd-site-footer--pro .fd-footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fd-site-footer--pro .fd-footer-list li {
    margin: 0 0 0.55rem;
}

.fd-site-footer--pro .fd-footer-list a {
    color: rgba(219, 228, 243, 0.82) !important;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.2s ease, padding-inline-start 0.2s ease;
    display: inline-block;
}

.fd-site-footer--pro .fd-footer-list a:hover {
    color: #93c5fd !important;
    padding-inline-start: 4px;
}

.fd-site-footer--pro .fd-footer-contact {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fd-site-footer--pro .fd-footer-contact li {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    margin-bottom: 0.85rem;
    color: rgba(219, 228, 243, 0.86);
    font-size: 0.9rem;
    line-height: 1.55;
}

.fd-site-footer--pro .fd-footer-contact i {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 86, 219, 0.22);
    color: #93c5fd;
    flex: 0 0 auto;
    margin-top: 1px;
}

.fd-site-footer--pro .fd-footer-contact a {
    color: #e8eef9 !important;
    text-decoration: none;
    font-weight: 700;
}

.fd-site-footer--pro .fd-footer-contact a:hover {
    color: #93c5fd !important;
}

.fd-site-footer--pro .fd-trust-commercial {
    margin-top: 0.35rem;
    margin-bottom: 1.15rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

.fd-site-footer--pro .fd-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 0 0.35rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.fd-site-footer--pro .fd-footer-bottom p {
    margin: 0;
    color: rgba(219, 228, 243, 0.7);
    font-size: 0.84rem;
}

.fd-site-footer--pro .fd-footer-bottom-links {
    display: flex;
    gap: 0.9rem;
}

.fd-site-footer--pro .fd-footer-bottom-links a {
    color: rgba(219, 228, 243, 0.78) !important;
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 700;
}

.fd-site-footer--pro .fd-footer-bottom-links a:hover {
    color: #93c5fd !important;
}

@media (max-width: 991.8px) {
    .fd-site-footer--pro .fd-footer-cta {
        margin-bottom: -24px;
    }

    .fd-site-footer--pro .fd-footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .fd-site-footer--pro .fd-footer-brand {
        grid-column: 1 / -1;
    }

    .fd-site-footer--pro .fd-footer-main {
        padding-top: 64px;
    }
}

@media (max-width: 575.98px) {
    .fd-site-footer--pro .fd-footer-grid {
        grid-template-columns: 1fr;
    }

    .fd-site-footer--pro .fd-footer-cta-inner {
        border-radius: 14px;
        padding: 1rem;
    }

    .fd-site-footer--pro .fd-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}
