/* =============================================================
   Smart Securities — Elegant / Futuristic UI Layer  (v2)
   Inspired by modern fintech: light base + purple-glow dark
   sections, bold typography, pill buttons, soft rounded cards.
   Additive override on top of blue_v2.css. No content changes.
   ============================================================= */

:root {
    --fx-ink: #0c0d14;
    --fx-ink-soft: #565c6b;
    --fx-bg: #eceef2;
    --fx-bg-2: #f6f7f9;
    --fx-card: #ffffff;
    --fx-dark: #08060f;
    --fx-purple: #2f6bff;
    --fx-magenta: #21c1ff;
    --fx-violet: #1e6bff;
    --fx-line: rgba(12, 13, 20, 0.08);
    --fx-grad: linear-gradient(120deg, #2f6bff 0%, #2b8bff 45%, #21c1ff 100%);
    --fx-grad-r: linear-gradient(90deg, transparent, #2f6bff, #21c1ff, transparent);
    --fx-glow: radial-gradient(60% 80% at 50% 0%, rgba(47, 107, 255, 0.55), rgba(47, 107, 255, 0.12) 45%, transparent 70%);
    --fx-shadow: 0 24px 60px rgba(12, 20, 45, 0.10);
    --fx-shadow-hover: 0 34px 80px rgba(30, 95, 235, 0.22);
    font-synthesis: none;
}

html, body {
    background: var(--fx-bg) !important;
    color: var(--fx-ink-soft) !important;
    font-family: "Manrope", "Nunito", sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Sora", "Manrope", sans-serif;
    color: var(--fx-ink);
    letter-spacing: -0.02em;
}

::selection { background: var(--fx-purple); color: #fff; }

/* ---------------- Ambient light shade on the page background ---------------- */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        radial-gradient(48% 42% at 8% 2%, rgba(47, 107, 255, 0.16), transparent 62%),
        radial-gradient(44% 40% at 94% 10%, rgba(33, 193, 255, 0.15), transparent 62%),
        radial-gradient(58% 52% at 88% 92%, rgba(47, 107, 255, 0.15), transparent 64%),
        radial-gradient(50% 46% at 10% 96%, rgba(33, 193, 255, 0.13), transparent 62%);
    animation: fxShadeDrift 26s ease-in-out infinite alternate;
}
body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    opacity: 0.7;
    background-image: radial-gradient(rgba(47, 107, 255, 0.10) 1px, transparent 1.6px);
    background-size: 30px 30px;
    -webkit-mask-image: radial-gradient(ellipse 88% 78% at 50% 40%, #000 20%, transparent 80%);
    mask-image: radial-gradient(ellipse 88% 78% at 50% 40%, #000 20%, transparent 80%);
}
@keyframes fxShadeDrift {
    0%   { transform: translate3d(0, 0, 0) scale(1); }
    100% { transform: translate3d(1.5%, -1.5%, 0) scale(1.05); }
}
@media (prefers-reduced-motion: reduce) {
    body::before { animation: none !important; }
}

/* ---------------- Header / floating pill nav ---------------- */
.header-area {
    background: transparent !important;
    height: 92px;
}
.header-area .main-nav { display: flex; align-items: center; }
.header-area .main-nav .logo { margin-top: 26px; }
.header-area .main-nav .logo img { transition: opacity .3s ease; }

/* nav list becomes a translucent rounded pill */
.header-area .main-nav .nav {
    margin-top: 24px;
    padding: 6px 10px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.35);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px rgba(10, 8, 25, 0.18);
}
.header-area .main-nav .nav li { padding: 0 6px; }
.header-area .main-nav .nav li a {
    color: #ffffff !important;
    font-family: "Manrope", sans-serif;
    font-weight: 600;
    height: 38px;
    line-height: 38px;
    padding: 0 16px;
    border-radius: 100px;
    transition: all .3s ease;
}
.header-area .main-nav .nav li a:hover {
    color: #fff !important;
    background: var(--fx-grad);
    box-shadow: 0 8px 20px rgba(47, 107, 255, 0.5);
}

/* Register CTA */
.header-area .main-nav .header-buttons li .btn-nav-primary {
    background: var(--fx-grad) !important;
    background-size: 180% 180% !important;
    border: none !important;
    border-radius: 100px !important;
    height: 44px;
    line-height: 44px;
    margin-top: 24px;
    padding: 0 26px;
    font-family: "Manrope", sans-serif;
    box-shadow: 0 12px 28px rgba(47, 107, 255, 0.45);
    animation: fxGradShift 7s ease infinite;
    color: #fff !important;
}
.header-area .main-nav .header-buttons li .btn-nav-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(33, 193, 255, 0.55);
    color: #fff !important;
}

/* sticky: light frosted bar, dark text */
.header-area.header-sticky {
    background: rgba(248, 249, 251, 0.82) !important;
    -webkit-backdrop-filter: blur(18px) saturate(1.3);
    backdrop-filter: blur(18px) saturate(1.3);
    box-shadow: 0 10px 40px rgba(12, 20, 45, 0.10);
    height: 78px;
}
.header-area.header-sticky .main-nav .logo { margin-top: 18px; }
.header-area.header-sticky .main-nav .nav { margin-top: 18px; background: rgba(12, 13, 20, 0.04); border-color: var(--fx-line); box-shadow: none; }
.header-area.header-sticky .main-nav .nav li a { color: var(--fx-ink) !important; }
.header-area.header-sticky .main-nav .nav li a:hover { color: #fff !important; }
.header-area.header-sticky .main-nav .header-buttons li .btn-nav-primary { margin-top: 17px; }
.header-area .main-nav .menu-trigger span,
.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after { background-color: #fff !important; }
.header-area.header-sticky .main-nav .menu-trigger span,
.header-area.header-sticky .main-nav .menu-trigger span:before,
.header-area.header-sticky .main-nav .menu-trigger span:after { background-color: var(--fx-ink) !important; }

/* ---------------- Buttons (global) ---------------- */
.btn-primary-line,
.email-box .input button {
    background: var(--fx-grad) !important;
    background-size: 180% 180% !important;
    border: none !important;
    border-radius: 100px !important;
    color: #fff !important;
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    box-shadow: 0 14px 30px rgba(47, 107, 255, 0.38);
    overflow: hidden;
    animation: fxGradShift 7s ease infinite;
    transition: transform .3s ease, box-shadow .3s ease;
}
.btn-primary-line { position: relative; }
.btn-primary-line::before,
.email-box .input button::before {
    content: "";
    position: absolute;
    top: 0; left: -120%;
    width: 55%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.5), transparent);
    transform: skewX(-20deg);
    transition: left .6s ease;
}
.btn-primary-line:hover::before,
.email-box .input button:hover::before { left: 150%; }
.btn-primary-line:hover,
.email-box .input button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(33, 193, 255, 0.5) !important;
    color: #fff !important;
}

@keyframes fxGradShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ---------------- Section rhythm ---------------- */
.section, .section.white, .section.colored, .page, .page-bottom {
    background: transparent !important;
    position: relative;
}
.section.colored { background: var(--fx-bg-2) !important; }

/* Section title helper — big centered heading + purple label + gradient rule.
   Applied to the full-width intro blocks (col-lg-12). */
.section .col-lg-12 > .team-item {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 20px;
}
.section .col-lg-12 > .team-item .team-content { overflow: visible; }
.section .col-lg-12 > .team-item .team-info { margin-bottom: 26px; padding: 0; }
.section .col-lg-12 > .team-item .team-info:before { display: none !important; }
.section .col-lg-12 > .team-item .team-info span {
    display: inline-block;
    color: var(--fx-purple) !important;
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px !important;
    order: -1;
    margin-bottom: 12px;
}
.section .col-lg-12 > .team-item .team-info { display: flex; flex-direction: column; align-items: center; }
.section .col-lg-12 > .team-item .user-name {
    font-size: clamp(28px, 4vw, 46px) !important;
    font-weight: 800 !important;
    line-height: 1.08 !important;
    color: var(--fx-ink) !important;
    position: relative;
    padding-bottom: 18px;
}
.section .col-lg-12 > .team-item .user-name:after {
    content: "";
    position: absolute;
    left: 50%; bottom: 0;
    transform: translateX(-50%);
    width: 74px; height: 4px;
    border-radius: 4px;
    background: var(--fx-grad);
}
.section .col-lg-12 > .team-item p { color: var(--fx-ink-soft) !important; font-size: 16px; }

/* ---------------- Hero ---------------- */
.welcome-area { min-height: clamp(560px, 90vh, 900px); display: flex; align-items: center; }
.welcome-area .header-text { width: 100%; position: relative; z-index: 2; }
.welcome-area:after { display: none; }
.welcome-area .bg-video { z-index: -2 !important; }
.welcome-area::before {
    background:
        var(--fx-glow),
        linear-gradient(180deg, rgba(6,4,14,0.62) 0%, rgba(8,6,15,0.78) 55%, rgba(6,4,14,0.9) 100%) !important;
    z-index: -1 !important;
}
/* center the hero content, drop the old white box */
.welcome-area .header-text .col-lg-5 {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    max-width: 880px;
    width: 100%;
    margin: 0 auto !important;
    text-align: center;
    flex: 0 0 auto;
}
.welcome-area .header-text .email-box:first-child span,
.welcome-area .header-text .email-box span {
    display: inline-block;
    color: #d6eaff !important;
    background: rgba(47, 107, 255, 0.22);
    border: 1px solid rgba(130, 185, 255, 0.5);
    padding: 8px 18px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 12px !important;
    font-family: "Manrope", sans-serif;
    font-weight: 700 !important;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}
.welcome-area .header-text .col-lg-5 h1 {
    color: #ffffff !important;
    font-size: clamp(40px, 6vw, 74px) !important;
    font-weight: 800 !important;
    line-height: 1.04 !important;
    letter-spacing: -0.03em;
    margin: 22px auto 20px;
    max-width: 14ch;
    text-shadow: 0 10px 50px rgba(47, 107, 255, 0.5);
}
.welcome-area .header-text .col-lg-5 p {
    color: #c9cbd6 !important;
    font-size: 17px;
    max-width: 60ch;
    margin: 0 auto 26px;
    line-height: 1.7;
}
.welcome-area .header-text .email-box { width: 100%; max-width: 520px; margin: 0 auto; overflow: visible; }
.welcome-area .header-text .email-box .input { height: 58px; }
.welcome-area .header-text .email-box .input input {
    height: 58px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    border-radius: 100px !important;
    color: #fff !important;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding-left: 26px !important;
    font-family: "Manrope", sans-serif;
}
.welcome-area .header-text .email-box .input input::placeholder { color: #c7c9d4 !important; }
.welcome-area .header-text .email-box .input button {
    height: 48px;
    top: 5px;
    right: 5px;
    border-radius: 100px !important;
    width: 132px;
}

/* ================= Our Story section ================= */
#features { position: relative; overflow: hidden; }
#features.colored { background: linear-gradient(180deg, #f6f7f9 0%, #eef0f4 100%) !important; }
/* ambient purple glow blobs */
#features::before {
    content: "";
    position: absolute;
    left: -8%; top: 8%;
    width: 480px; height: 480px; border-radius: 50%;
    background: radial-gradient(circle, rgba(47, 107, 255, 0.20), transparent 65%);
    filter: blur(10px);
    pointer-events: none;
    z-index: 0;
}
#features::after {
    content: "";
    position: absolute;
    right: -6%; bottom: -10%;
    width: 420px; height: 420px; border-radius: 50%;
    background: radial-gradient(circle, rgba(33, 193, 255, 0.16), transparent 65%);
    pointer-events: none;
    z-index: 0;
}
#features .container { position: relative; z-index: 1; }

/* --- Image treatment --- */
#features .fx-story-col { text-align: center; }
.fx-story-media {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 520px;
    margin: 24px 18px;
    z-index: 1;
}
.fx-story-media img {
    margin: 0 !important;
    width: 100%;
    max-width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
    border-radius: 24px !important;
    border: 7px solid #fff;
    box-shadow: 0 30px 70px rgba(30, 95, 235, 0.26), 0 0 0 1px rgba(47, 107, 255, 0.08);
    transition: transform .55s cubic-bezier(.2,.7,.3,1), box-shadow .55s ease;
}
.fx-story-media:hover img {
    transform: translateY(-6px) scale(1.012);
    box-shadow: 0 44px 90px rgba(33, 193, 255, 0.34);
}
/* tilted gradient panel peeking behind the image */
.fx-story-media::after {
    content: "";
    position: absolute;
    inset: 30px -18px -24px 30px;
    background: var(--fx-grad);
    border-radius: 30px;
    opacity: 0.22;
    z-index: 0;
    transform: rotate(3deg);
    transition: transform .55s ease;
}
.fx-story-media:hover::after { transform: rotate(5deg); }
/* dotted grid accent, top-left */
.fx-story-media::before {
    content: "";
    position: absolute;
    left: -22px; top: -22px;
    width: 110px; height: 110px;
    z-index: 3;
    background-image: radial-gradient(rgba(47, 107, 255, 0.6) 1.6px, transparent 1.7px);
    background-size: 15px 15px;
    opacity: 0.75;
    pointer-events: none;
}
/* floating glass badge */
.fx-story-media .fx-story-badge {
    position: absolute;
    left: -14px; bottom: 26px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(47, 107, 255, 0.2);
    box-shadow: 0 16px 34px rgba(30, 95, 235, 0.22);
    color: var(--fx-ink);
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .2px;
    white-space: nowrap;
    animation: fxFloatY 4.5s ease-in-out infinite;
}
.fx-story-media .fx-story-badge i {
    color: var(--fx-purple);
    background: rgba(47, 107, 255, 0.12);
    width: 26px; height: 26px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 12px;
}
@keyframes fxFloatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* --- Story text block --- */
#features .col-lg-6 .team-item {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}
#features .col-lg-6 .team-item .team-content { text-align: left !important; overflow: visible; }
#features .col-lg-6 .team-item .team-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 22px;
    padding: 0;
}
#features .col-lg-6 .team-item .team-info:before { display: none !important; }
#features .col-lg-6 .team-item .team-info span {
    order: -1;
    color: var(--fx-purple) !important;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 700;
    font-size: 12px;
    margin-bottom: 12px;
    padding-left: 34px;
    position: relative;
}
#features .col-lg-6 .team-item .team-info span::before {
    content: "";
    position: absolute;
    left: 0; top: 50%;
    width: 24px; height: 2px;
    background: var(--fx-grad);
    transform: translateY(-50%);
}
#features .col-lg-6 .team-item .user-name {
    font-size: clamp(30px, 3.6vw, 46px) !important;
    font-weight: 800 !important;
    color: var(--fx-ink) !important;
    display: block;
    position: relative;
    padding-bottom: 18px;
    margin-bottom: 6px;
    line-height: 1.1;
}
#features .col-lg-6 .team-item .user-name::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 66px; height: 4px;
    border-radius: 4px;
    background: var(--fx-grad);
}
#features .col-lg-6 .team-item p {
    color: var(--fx-ink-soft) !important;
    font-size: 15.5px;
    line-height: 1.85;
}

/* ---------------- Service cards (grid col-lg-3) ---------------- */
.section .col-lg-3 .team-item,
#our-services .col-lg-3 .team-item {
    background: var(--fx-card) !important;
    border: 1px solid var(--fx-line) !important;
    border-radius: 22px;
    padding: 32px 26px !important;
    height: 100%;
    text-align: left;
    box-shadow: var(--fx-shadow);
    transition: transform .45s cubic-bezier(.2,.7,.3,1), box-shadow .45s ease, border-color .45s ease;
    position: relative;
    overflow: hidden;
}
.section .col-lg-3 .team-item::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; height: 4px;
    background: var(--fx-grad);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s ease;
}
.section .col-lg-3 .team-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(47,107,255,0.10), transparent 45%);
    opacity: 0;
    transition: opacity .4s ease;
    pointer-events: none;
}
.section .col-lg-3 .team-item:hover {
    transform: translateY(-10px);
    border-color: rgba(47, 107, 255, 0.35);
    box-shadow: var(--fx-shadow-hover);
}
.section .col-lg-3 .team-item:hover::before { transform: scaleX(1); }
.section .col-lg-3 .team-item:hover::after { opacity: 1; }
.section .col-lg-3 .team-item .team-content { text-align: left; overflow: visible; }
.section .col-lg-3 .team-item .team-info { padding: 0; margin-bottom: 16px; }
.section .col-lg-3 .team-item .team-info:before { display: none !important; }
.section .col-lg-3 .team-item .user-name {
    color: var(--fx-ink) !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    display: block;
    margin-bottom: 4px;
}
.section .col-lg-3 .team-item .team-info span {
    color: var(--fx-purple) !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    font-size: 11px;
}
.section .col-lg-3 .team-item p {
    color: var(--fx-ink-soft) !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
    font-size: 14.5px;
    line-height: 1.7;
}
/* icon badge */
.section .col-lg-3 .team-item .fx-svc-icon {
    width: 62px; height: 62px;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    background: var(--fx-grad);
    background-size: 160% 160%;
    color: #fff;
    font-size: 25px;
    margin-bottom: 22px;
    box-shadow: 0 14px 28px rgba(47, 107, 255, 0.4);
    position: relative;
    transition: transform .45s cubic-bezier(.2,.7,.3,1), box-shadow .45s ease;
}
.section .col-lg-3 .team-item .fx-svc-icon::after {
    content: "";
    position: absolute; inset: 0; border-radius: 16px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}
.section .col-lg-3 .team-item:hover .fx-svc-icon {
    transform: translateY(-3px) rotate(-5deg) scale(1.06);
    box-shadow: 0 18px 34px rgba(33, 193, 255, 0.5);
}
/* large ghost number/glow accent in corner */
.section .col-lg-3 .team-item {
    background:
        radial-gradient(300px circle at 100% 0%, rgba(47, 107, 255, 0.05), transparent 60%),
        var(--fx-card) !important;
}

/* ---- Our Services intro polish ---- */
#our-services .col-lg-12 > .team-item { max-width: 960px; }
#our-services .col-lg-12 > .team-item p {
    text-align: left;
    margin-bottom: 16px;
    font-size: 15.5px;
    line-height: 1.85;
}
#our-services .col-lg-12 > .team-item p:first-of-type {
    text-align: center;
    color: var(--fx-ink) !important;
    font-size: 16px;
    background: linear-gradient(180deg, #ffffff, var(--fx-bg-2));
    border: 1px solid var(--fx-line);
    border-radius: 18px;
    padding: 26px 30px;
    margin: 4px auto 30px;
    max-width: 820px;
    box-shadow: var(--fx-shadow);
}
#our-services .col-lg-12 > .team-item p:first-of-type b {
    display: block;
    color: var(--fx-purple) !important;
    font-family: "Sora", sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}
#our-services .row + .row { margin-top: 12px; }

/* ---------------- Commitment band (parallax) → dark glow ---------------- */
.parallax { background: var(--fx-dark) !important; }
.parallax:before {
    background:
        var(--fx-glow),
        linear-gradient(180deg, #0c0817, #08060f) !important;
    opacity: 1 !important;
}
.parallax .parallax-content { padding: 30px 0; }
.parallax .parallax-content .team-info { text-align: center; display: flex; flex-direction: column; align-items: center; }
.parallax .parallax-content .team-info .user-name {
    color: #fff !important;
    font-size: clamp(26px, 3.6vw, 44px) !important;
    font-weight: 800 !important;
    padding-bottom: 18px;
    position: relative;
    margin-bottom: 18px;
}
.parallax .parallax-content .team-info .user-name:after {
    content: "";
    position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
    width: 74px; height: 4px; border-radius: 4px; background: var(--fx-grad);
}
.parallax .parallax-content p { color: #c2cbe0 !important; font-size: 16px; line-height: 1.8; }

/* ---------------- Contact ---------------- */
.contact .map-wrapper {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--fx-line);
    box-shadow: var(--fx-shadow);
}
.contact .contact-info {
    background: var(--fx-dark) !important;
    border-radius: 20px;
    box-shadow: var(--fx-shadow-hover);
    padding: 34px 30px !important;
}
/* clean rounded icon badges + flex alignment */
.contact .contact-info .item {
    display: flex !important;
    align-items: center;
    gap: 14px;
    overflow: visible !important;
    margin-bottom: 20px !important;
}
.contact .contact-info .item i {
    float: none !important;
    flex: 0 0 auto;
    width: 44px !important;
    height: 44px !important;
    margin: 0 !important;
    border-radius: 12px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    background: var(--fx-grad) !important;
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(47, 107, 255, 0.4);
    transition: transform .3s ease, box-shadow .3s ease;
}
.contact .contact-info .item:hover i {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(33, 193, 255, 0.5);
}
.contact .contact-info .item .txt { flex: 1 1 auto; min-width: 0; }
.contact .contact-info .item span {
    float: none !important;
    width: auto !important;
    display: block;
    color: #ffffff !important;
    line-height: 1.5;
    word-break: break-word;
}
.contact .contact-info .item span a { color: #ffffff !important; }
.contact .contact-info .item span a:hover { color: var(--fx-magenta) !important; }
.contact .contact-info .social li a { color: #b8d4f5 !important; }

.contact-bottom {
    background: var(--fx-card) !important;
    border: 1px solid var(--fx-line);
    border-radius: 24px;
    padding: 40px !important;
    margin-top: 26px;
    box-shadow: var(--fx-shadow);
}
.contact-bottom h5 {
    color: var(--fx-ink) !important;
    font-family: "Sora", sans-serif;
    font-weight: 800;
    font-size: 24px;
}
.contact-bottom .contact-text p { color: var(--fx-ink-soft) !important; }

.contact-bottom .contact-form input,
.contact-bottom .contact-form textarea,
.contact-bottom select,
select.select-class {
    background: var(--fx-bg-2) !important;
    border: 1px solid var(--fx-line) !important;
    border-radius: 12px !important;
    color: var(--fx-ink) !important;
    font-family: "Manrope", sans-serif;
    font-size: 15px !important;
    height: 54px !important;
    margin-bottom: 18px !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
    transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
}
.contact-bottom .contact-form textarea { height: 140px !important; padding-top: 14px !important; }
.contact-bottom .contact-form input::placeholder,
.contact-bottom .contact-form textarea::placeholder { color: #98a0b0 !important; }
.contact-bottom .contact-form input:focus,
.contact-bottom .contact-form textarea:focus,
.contact-bottom select:focus,
select.select-class:focus {
    border-color: rgba(47, 107, 255, 0.55) !important;
    box-shadow: 0 0 0 4px rgba(47, 107, 255, 0.12) !important;
    background: #fff !important;
    outline: none;
}
/* custom select arrow */
.contact-bottom select,
select.select-class {
    -webkit-appearance: none; -moz-appearance: none; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%232f6bff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
    padding-right: 40px !important;
}
.contact-bottom select option,
select.select-class option { background: #fff; color: var(--fx-ink); }

/* ---- Register / contact form polish ---- */
#reg { scroll-margin-top: 100px; }
/* push the Register block below the floating contact-info card (desktop only,
   where the card is absolutely positioned over the map and overhangs it) */
@media (min-width: 992px) {
    #reg { margin-top: 80px; }
}
.contact-bottom .contact-form .row { align-items: flex-start; }

/* OTP action buttons: fill their column and line up with the inputs */
.contact-bottom .contact-form .otp_email button.btn-primary-line {
    width: 100% !important;
    min-width: 0 !important;
    height: 54px !important;
    line-height: 54px !important;
    padding: 0 4px !important;
    margin-bottom: 18px !important;
    font-size: 12px !important;
    letter-spacing: 0 !important;
    white-space: nowrap;
    box-shadow: 0 10px 22px rgba(47, 107, 255, 0.32);
}
.contact-bottom .contact-form .otp_message span {
    display: inline-flex;
    align-items: center;
    height: 54px;
    color: #0a8f3c !important;
    font-weight: 700 !important;
}

/* declaration row */
.contact-bottom .declaration {
    align-items: center;
    gap: 12px;
    background: var(--fx-bg-2);
    border: 1px solid var(--fx-line);
    border-radius: 12px;
    padding: 14px 16px;
    margin: 6px 0 20px;
    font-size: 13.5px;
    color: var(--fx-ink-soft);
}
.contact-bottom .declaration input[type="checkbox"] {
    width: 20px; height: 20px;
    accent-color: var(--fx-purple);
    flex: 0 0 auto;
}
.contact-bottom #reg .g-recaptcha { margin-bottom: 8px; }

/* Register submit button — prominent, full width of its own line */
.contact-bottom #register_submit .btn-primary-line,
.contact-bottom #register_loader .btn-primary-line {
    width: 100% !important;
    max-width: 280px;
    height: 56px !important;
    line-height: 56px !important;
    font-size: 15px !important;
    letter-spacing: 1px;
    margin-top: 6px !important;
}

/* left intro column of the register block */
.contact-bottom .col-lg-4 h5 { margin-bottom: 16px; }
.contact-bottom .col-lg-4 .contact-text p { font-size: 15px; line-height: 1.75; }

@media (max-width: 991px) {
    .contact-bottom .contact-form .otp_email button.btn-primary-line { max-width: 220px; }
}

/* ---- Select2 themed to match the blue form fields ---- */
.contact-bottom .select2-container { width: 100% !important; margin-bottom: 18px; }
.select2-container--default .select2-selection--single {
    height: 54px !important;
    background: var(--fx-bg-2) !important;
    border: 1px solid var(--fx-line) !important;
    border-radius: 12px !important;
    display: flex;
    align-items: center;
    transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--fx-ink) !important;
    line-height: 52px !important;
    padding-left: 18px !important;
    padding-right: 40px !important;
    font-family: "Manrope", sans-serif;
    font-size: 15px;
}
.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #98a0b0 !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 52px !important;
    right: 12px !important;
    width: 18px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%232f6bff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat center;
    transition: transform .3s ease;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b { display: none !important; }
.select2-container--default.select2-container--open .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: rgba(47, 107, 255, 0.55) !important;
    box-shadow: 0 0 0 4px rgba(47, 107, 255, 0.12) !important;
    background: #fff !important;
}
.select2-container--default.select2-container--open .select2-selection__arrow { transform: rotate(180deg); }

/* dropdown panel */
.select2-container--default .select2-dropdown {
    border: 1px solid var(--fx-line);
    border-radius: 14px;
    box-shadow: var(--fx-shadow);
    overflow: hidden;
    background: #fff;
    margin-top: 6px;
}
.select2-container--default .select2-dropdown--above { margin-top: -6px; }
.select2-search--dropdown { padding: 12px !important; }
.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid var(--fx-line) !important;
    border-radius: 10px !important;
    height: 44px;
    padding: 0 14px;
    outline: none !important;
    font-family: "Manrope", sans-serif;
    font-size: 14.5px;
    transition: border-color .3s ease, box-shadow .3s ease;
}
.select2-container--default .select2-search--dropdown .select2-search__field:focus {
    border-color: rgba(47, 107, 255, 0.55) !important;
    box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.12);
}
.select2-container--default .select2-results__options { max-height: 260px; }
.select2-container--default .select2-results__option {
    padding: 11px 16px;
    font-family: "Manrope", sans-serif;
    font-size: 14.5px;
    color: var(--fx-ink);
    transition: background .15s ease;
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: var(--fx-grad) !important;
    color: #fff !important;
}
.select2-container--default .select2-results__option[aria-selected=true] {
    background: rgba(47, 107, 255, 0.08);
    color: var(--fx-ink);
    font-weight: 600;
}

/* Legal document links */
.btn-home {
    background: var(--fx-bg-2) !important;
    border: 1px solid var(--fx-line) !important;
    border-radius: 14px !important;
    color: var(--fx-ink-soft) !important;
    transition: all .35s ease;
}
.btn-home span { color: var(--fx-ink) !important; font-weight: 600; }
.btn-home i { color: var(--fx-purple) !important; }
.btn-home:hover, .btn-home.active {
    background: #fff !important;
    border-color: rgba(47, 107, 255, 0.4) !important;
    transform: translateX(6px);
    box-shadow: 0 12px 26px rgba(47, 107, 255, 0.14);
}
.declaration span { color: var(--fx-ink-soft); }

/* ---------------- Footer → dark glow ---------------- */
footer {
    background:
        radial-gradient(80% 120% at 100% 0%, rgba(33, 193, 255, 0.10), transparent 55%),
        linear-gradient(180deg, #0a1230 0%, var(--fx-dark) 60%) !important;
    position: relative;
    overflow: hidden;
    padding-top: 80px !important;
    padding-bottom: 20px;
}
/* gradient top hairline */
footer::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: var(--fx-grad-r);
    opacity: 0.9;
}
/* ambient glow */
footer::before {
    content: "";
    position: absolute;
    top: -55%; left: 12%;
    width: 640px; height: 640px; border-radius: 50%;
    background: var(--fx-glow);
    opacity: 0.55;
    pointer-events: none;
}
footer .container { position: relative; z-index: 1; }

footer img.logo { filter: drop-shadow(0 6px 18px rgba(33, 193, 255, 0.3)); }
footer .text { color: #aeb9d6 !important; max-width: 40ch; }

/* column headings with gradient underline */
footer h5 {
    font-family: "Sora", sans-serif;
    font-weight: 700 !important;
    position: relative;
    padding-bottom: 14px;
    margin-bottom: 24px !important;
}
footer h5::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 34px; height: 3px; border-radius: 3px;
    background: var(--fx-grad);
}

/* social → circular glass buttons */
footer .social { margin-top: 22px; }
footer .social li { margin-right: 12px !important; }
footer .social li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(120, 150, 230, 0.22);
    color: #cdd6ee !important;
    font-size: 17px;
    transition: transform .3s ease, background .3s ease, border-color .3s ease, box-shadow .3s ease, color .3s ease;
}
footer .social li a:hover {
    transform: translateY(-4px);
    background: var(--fx-grad);
    border-color: transparent;
    color: #fff !important;
    box-shadow: 0 12px 26px rgba(47, 107, 255, 0.5);
}

/* footer nav links */
footer .footer-nav li { margin-bottom: 2px; }
footer .footer-nav li a { transition: all .3s ease; border-radius: 8px; }
footer .footer-nav li a i {
    color: var(--fx-magenta) !important;
    transition: transform .3s ease;
}
footer .footer-nav li a span { color: #aeb9d6 !important; }
footer .footer-nav li a:hover i { transform: translateX(3px); }
footer .footer-nav li a:hover span { color: #fff !important; padding-left: 6px; }

/* contact address */
footer .address p { color: #aeb9d6 !important; }
footer .address p a { color: #aeb9d6 !important; transition: color .3s ease; }
footer .address p a:hover { color: var(--fx-magenta) !important; }
footer .address span { color: #fff; }

/* copyright divider row */
footer .copyright {
    margin-top: 50px;
    padding-top: 26px;
    border-top: 1px solid rgba(120, 150, 230, 0.14);
    color: #8794b4 !important;
    font-size: 13.5px;
    text-align: center;
}

/* ---------------- Scroll reveal ----------------
   Content is visible by default; JS adds .fx-pre to hide it only
   while it can guarantee to reveal again (observer + timeout backstop).
   This keeps everything visible if JS is disabled or fails. */
.fx-reveal {
    transition: opacity .8s cubic-bezier(.2,.7,.3,1), transform .8s cubic-bezier(.2,.7,.3,1);
    will-change: transform, opacity;
}
.fx-reveal.fx-pre { opacity: 0; transform: translateY(36px); }
.fx-reveal.fx-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .header-area .main-nav .header-buttons li .btn-nav-primary,
    .btn-primary-line, .email-box .input button { animation: none !important; }
    .fx-reveal.fx-pre { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 991px) {
    .header-area .main-nav .nav { background: rgba(12,13,20,0.9); }
    .welcome-area .header-text .col-lg-5 h1 { font-size: clamp(32px, 9vw, 48px) !important; }
}

/* ---------------- Reduced body type scale ---------------- */
html, body { font-size: 15px; }
.welcome-area .header-text .col-lg-5 p { font-size: 15px !important; }
.section .col-lg-12 > .team-item p { font-size: 14px !important; }
#our-services .col-lg-12 > .team-item p { font-size: 14px !important; }
#our-services .col-lg-12 > .team-item p:first-of-type { font-size: 14.5px !important; }
#features .col-lg-6 .team-item p { font-size: 14px !important; }
.section .col-lg-3 .team-item p { font-size: 13.5px !important; }
.parallax .parallax-content p { font-size: 14.5px !important; }
.contact-bottom .contact-text p,
.contact-bottom .col-lg-4 .contact-text p { font-size: 13.5px !important; }
.contact-bottom .contact-form input,
.contact-bottom .contact-form textarea,
.contact-bottom select,
select.select-class { font-size: 14px !important; }
footer .text,
footer .address p,
footer .address p a,
footer .footer-nav li a span { font-size: 13px !important; }

/* ---------------- First-visit registration modal ---------------- */
.fx-modal { position: fixed; inset: 0; z-index: 1035; display: none; }
.fx-modal.is-open { display: block; }
.fx-modal__overlay {
    position: absolute; inset: 0;
    background: rgba(6, 10, 25, 0.62);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    animation: fxFade .3s ease;
}
.fx-modal__dialog {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 32px);
    max-width: 880px;
    animation: fxPop .45s cubic-bezier(.2,.7,.3,1);
}
.fx-modal__body {
    max-height: 90vh;
    overflow: auto;
    border-radius: 24px;
    box-shadow: 0 40px 110px rgba(6, 10, 25, 0.55);
    -webkit-overflow-scrolling: touch;
}
.fx-modal__body .contact-bottom {
    margin: 0 !important;
    border-radius: 24px;
}
.fx-modal__close {
    position: absolute;
    top: -18px; right: -18px;
    z-index: 5;
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1px solid var(--fx-line);
    background: #fff;
    color: var(--fx-ink);
    font-size: 24px; line-height: 40px;
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(6, 10, 25, 0.35);
    transition: transform .3s ease, background .3s ease, color .3s ease, border-color .3s ease;
}
.fx-modal__close:hover {
    background: var(--fx-grad);
    color: #fff;
    border-color: transparent;
    transform: rotate(90deg);
}
@keyframes fxFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes fxPop {
    from { opacity: 0; transform: translate(-50%, -46%) scale(.95); }
    to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
@media (max-width: 600px) {
    .fx-modal__close { top: 8px; right: 8px; box-shadow: 0 4px 12px rgba(0,0,0,.4); }
    .fx-modal__body { max-height: 92vh; }
    .fx-modal__body .contact-bottom { padding: 28px 20px !important; }
}

/* ---------------- SweetAlert2 themed (OTP / messages) ---------------- */
.swal2-container { z-index: 1200 !important; }
.swal2-container.swal2-backdrop-show { background: rgba(6, 10, 25, 0.55); }
.swal2-popup {
    border-radius: 24px !important;
    padding: 36px 32px 30px !important;
    font-family: "Manrope", sans-serif !important;
    border: 1px solid var(--fx-line);
    box-shadow: 0 40px 110px rgba(6, 10, 25, 0.45);
}
.swal2-title {
    font-family: "Sora", sans-serif !important;
    font-weight: 800 !important;
    color: var(--fx-ink) !important;
    font-size: 23px !important;
    padding-top: 6px !important;
}
.swal2-html-container {
    color: var(--fx-ink-soft) !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
}
.swal2-actions { gap: 12px; margin-top: 1.6em !important; }
.swal2-styled.swal2-confirm {
    background: var(--fx-grad) !important;
    background-size: 180% 180% !important;
    border: none !important;
    border-radius: 100px !important;
    padding: 13px 34px !important;
    font-family: "Manrope", sans-serif !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    box-shadow: 0 14px 30px rgba(47, 107, 255, 0.4) !important;
    transition: transform .25s ease, box-shadow .25s ease !important;
}
.swal2-styled.swal2-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(33, 193, 255, 0.5) !important;
}
.swal2-styled.swal2-cancel {
    background: var(--fx-bg-2) !important;
    color: var(--fx-ink) !important;
    border: 1px solid var(--fx-line) !important;
    border-radius: 100px !important;
    padding: 13px 30px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
}
.swal2-styled:focus { box-shadow: 0 0 0 4px rgba(47, 107, 255, 0.18) !important; }

/* success icon → brand blue */
.swal2-icon.swal2-success {
    border-color: rgba(47, 107, 255, 0.28) !important;
}
.swal2-icon.swal2-success .swal2-success-ring { border-color: rgba(47, 107, 255, 0.28) !important; }
.swal2-icon.swal2-success [class^='swal2-success-line'],
.swal2-icon.swal2-success .swal2-success-line-tip,
.swal2-icon.swal2-success .swal2-success-line-long { background-color: #2f6bff !important; }

/* toast progress bar */
.swal2-timer-progress-bar { background: var(--fx-grad) !important; }

/* ================= Animations & effects ================= */

/* scroll progress bar */
.fx-progress {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--fx-grad);
    transform: scaleX(0);
    transform-origin: left;
    z-index: 2000;
    transition: transform .12s linear;
    box-shadow: 0 0 12px rgba(47, 107, 255, 0.6);
    pointer-events: none;
}

/* hero staggered entrance */
@keyframes fxUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: none; }
}
.welcome-area .header-text .col-lg-5 > * { animation: fxUp .9s both; }
.welcome-area .header-text .col-lg-5 > *:nth-child(1) { animation-delay: .15s; }
.welcome-area .header-text .col-lg-5 > *:nth-child(2) { animation-delay: .30s; }
.welcome-area .header-text .col-lg-5 > *:nth-child(3) { animation-delay: .45s; }
.welcome-area .header-text .col-lg-5 > *:nth-child(4) { animation-delay: .60s; }

/* hero scroll-down cue */
.fx-scrolldown {
    position: absolute;
    bottom: 26px; left: 50%;
    transform: translateX(-50%);
    width: 26px; height: 44px;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-radius: 14px;
    z-index: 3;
    display: block;
    animation: fxUp 1s .9s both;
}
.fx-scrolldown span {
    position: absolute;
    left: 50%; top: 8px;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: #fff;
    transform: translateX(-50%);
    animation: fxScroll 1.8s ease-in-out infinite;
}
@keyframes fxScroll {
    0%   { opacity: 0; top: 8px; }
    30%  { opacity: 1; }
    60%  { opacity: 1; top: 26px; }
    100% { opacity: 0; top: 26px; }
}

/* floating particles (dark sections) */
.fx-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}
.fx-particles span {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, #7db0ff, rgba(125, 176, 255, 0));
    animation-name: fxDrift;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}
@keyframes fxDrift {
    0%, 100% { transform: translateY(0) translateX(0); }
    50%      { transform: translateY(-34px) translateX(16px); }
}
.parallax .parallax-content { position: relative; z-index: 2; }

/* pulsing primary CTA */
@keyframes fxPulse {
    0%, 100% { box-shadow: 0 12px 28px rgba(47, 107, 255, 0.45); }
    50%      { box-shadow: 0 12px 34px rgba(47, 107, 255, 0.7), 0 0 0 6px rgba(47, 107, 255, 0.10); }
}
.header-area .main-nav .header-buttons li .btn-nav-primary {
    animation: fxGradShift 7s ease infinite, fxPulse 3s ease-in-out infinite;
}

/* service icon hover pulse-ring */
.section .col-lg-3 .team-item .fx-svc-icon { z-index: 1; }
.section .col-lg-3 .team-item .fx-svc-icon:before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    z-index: -1;
    box-shadow: 0 0 0 0 rgba(47, 107, 255, 0);
}
.section .col-lg-3 .team-item:hover .fx-svc-icon:before {
    animation: fxRing 1.6s ease-out infinite;
}
@keyframes fxRing {
    0%   { box-shadow: 0 0 0 0 rgba(47, 107, 255, 0.45); }
    70%, 100% { box-shadow: 0 0 0 16px rgba(47, 107, 255, 0); }
}

/* animated sheen across section-title & card gradient bars */
.section .col-lg-12 > .team-item .user-name:after,
.section .col-lg-3 .team-item::before,
.parallax .parallax-content .team-info .user-name:after {
    background-size: 200% 100%;
    animation: fxGradShift 5s ease infinite;
}

/* gentle float for the story media frame */
@keyframes fxFloatSoft {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}
.fx-story-media { animation: fxFloatSoft 6s ease-in-out infinite; }
.fx-story-media:hover { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
    .welcome-area .header-text .col-lg-5 > *,
    .header-area .main-nav .header-buttons li .btn-nav-primary,
    .fx-story-media,
    .fx-scrolldown, .fx-scrolldown span,
    .section .col-lg-12 > .team-item .user-name:after,
    .section .col-lg-3 .team-item::before,
    .parallax .parallax-content .team-info .user-name:after { animation: none !important; }
    .fx-progress { display: none; }
}

/* ==================== Mobile / responsive ==================== */
@media (max-width: 991px) {
    body { overflow-x: hidden; }

    /* ---- Header: solid light frosted bar + dark dropdown menu ---- */
    .header-area,
    .header-area.header-sticky {
        background: rgba(248, 249, 251, 0.95) !important;
        -webkit-backdrop-filter: blur(16px) saturate(1.3);
        backdrop-filter: blur(16px) saturate(1.3);
        height: 64px !important;
        box-shadow: 0 6px 24px rgba(12, 20, 45, 0.08) !important;
        border-bottom: 1px solid var(--fx-line);
    }
    .header-area .container { padding: 0 12px !important; }
    .header-area .main-nav { display: block !important; position: relative !important; }
    .header-area .main-nav .logo { float: left; margin: 12px 0 0 4px !important; }
    .header-area .main-nav .logo img { width: 128px !important; filter: none !important; }
    .header-area .main-nav .menu-trigger {
        display: block !important;
        position: absolute !important;
        top: 20px !important;
        right: 8px !important;
        width: 30px !important;
        height: 22px !important;
        z-index: 6 !important;
    }
    .header-area .main-nav .menu-trigger span,
    .header-area .main-nav .menu-trigger span:before,
    .header-area .main-nav .menu-trigger span:after,
    .header-area.header-sticky .main-nav .menu-trigger span,
    .header-area.header-sticky .main-nav .menu-trigger span:before,
    .header-area.header-sticky .main-nav .menu-trigger span:after { background-color: var(--fx-ink) !important; }

    .header-area .main-nav .nav,
    .header-area.header-sticky .main-nav .nav {
        background: #ffffff !important;
        border: none !important;
        border-radius: 0 0 18px 18px !important;
        box-shadow: 0 24px 44px rgba(12, 20, 45, 0.16) !important;
        padding: 6px 0 10px !important;
        margin-top: 64px !important;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }
    .header-area .main-nav .nav li {
        width: 100%;
        background: transparent !important;
        border-bottom: 1px solid var(--fx-line) !important;
        padding: 0 !important;
    }
    .header-area .main-nav .nav li:last-child { border-bottom: none !important; }
    .header-area .main-nav .nav li a,
    .header-area.header-sticky .main-nav .nav li a {
        color: var(--fx-ink) !important;
        background: transparent !important;
        height: 52px !important;
        line-height: 52px !important;
        padding: 0 22px !important;
        border-radius: 0 !important;
        font-weight: 600;
        text-shadow: none !important;
    }
    .header-area .main-nav .nav li a::after { display: none !important; }
    .header-area .main-nav .nav li a:hover {
        background: rgba(47, 107, 255, 0.08) !important;
        color: var(--fx-purple) !important;
        box-shadow: none !important;
    }

    /* ---- Hero ---- */
    .welcome-area { min-height: clamp(500px, 86vh, 760px); }
    .welcome-area .header-text .container { max-width: 100% !important; padding-left: 0 !important; padding-right: 0 !important; }
    .welcome-area .header-text .row { margin-left: 0 !important; margin-right: 0 !important; }
    .welcome-area .header-text .col-lg-5 {
        max-width: 100% !important;
        width: 100% !important;
        flex: 0 0 100% !important;
        min-width: 0 !important;
        padding: 0 22px !important;
        margin: 0 !important;
        box-sizing: border-box;
    }
    .welcome-area .header-text .col-lg-5 h1,
    .welcome-area .header-text .col-lg-5 p,
    .welcome-area .header-text .col-lg-5 .email-box span {
        overflow-wrap: anywhere;
        word-break: break-word;
    }
    .welcome-area .header-text .col-lg-5 h1 {
        font-size: clamp(28px, 8.5vw, 42px) !important;
        max-width: 100% !important;
        margin: 16px auto 14px !important;
    }
    .welcome-area .header-text .col-lg-5 p { font-size: 14px !important; max-width: 100% !important; }
    .welcome-area .header-text .email-box { width: 100% !important; max-width: 400px !important; }
    .welcome-area .header-text .email-box span {
        white-space: normal !important;
        font-size: 11px !important;
        line-height: 1.4;
        padding: 7px 14px;
    }

    /* ---- Our Story ---- */
    #features .fx-story-col .fx-story-media {
        display: inline-block !important;
        width: 100% !important;
        max-width: 440px !important;
        margin: 14px auto 38px !important;
    }
    .fx-story-media::before { left: -8px; top: -8px; width: 62px; height: 62px; }
    .fx-story-media::after { inset: 18px -6px -12px 14px; }
    .fx-story-media .fx-story-badge { left: 4px; bottom: 10px; font-size: 12px; padding: 8px 13px; }
    #features .col-lg-6 .team-item .team-content,
    #features .col-lg-6 .team-item p { text-align: left !important; }

    /* ---- Services intro / cards ---- */
    #our-services .col-lg-12 > .team-item p { text-align: left !important; }
    #our-services .col-lg-12 > .team-item p:first-of-type { text-align: left; padding: 20px 18px; }
    .section .col-lg-3 .team-item { margin-bottom: 18px; }

    /* ---- Register / contact card ---- */
    .contact-bottom { padding: 26px 18px !important; }
    .contact-bottom .contact-form .otp_email button.btn-primary-line { max-width: none; }
    .fx-modal__body .contact-bottom .row > div { margin-bottom: 2px; }

    /* ---- Section padding trim ---- */
    .section { padding-top: 64px; padding-bottom: 48px; }
    .parallax .parallax-content { padding: 40px 6px; }
}

/* very small phones */
@media (max-width: 400px) {
    .welcome-area .header-text .col-lg-5 h1 { font-size: 30px !important; }
    .contact-bottom { padding: 22px 14px !important; }
    .fx-story-media .fx-story-badge { font-size: 11px; padding: 7px 11px; }
}

/* ---- Trading-chart line in the Commitment band ---- */
.parallax { overflow: hidden; }
/* layer above the dark ::before overlay (z-index:2) but below the text */
.parallax .fx-chart { z-index: 3; }
.parallax .fx-particles { z-index: 3; }
.parallax .parallax-content { position: relative; z-index: 4; }
.fx-chart {
    position: absolute;
    inset: 0;
    z-index: 3;
    overflow: hidden;
    pointer-events: none;
}
.fx-chart svg { width: 100%; height: 100%; display: block; }
.fx-chart-line {
    fill: none;
    stroke: rgba(255, 255, 255, 0.42);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.35));
}
.fx-chart-area {
    fill: url(#fxCommitArea);
    opacity: 0;
    transition: opacity 1.4s ease 1s;
}
.fx-chart.fx-drawn .fx-chart-area { opacity: 1; }

/* ---- Hero headline: word entrance + blue shimmer sweep ---- */
.welcome-area .header-text .col-lg-5 h1[data-fx-split] {
    animation: none !important;   /* words handle the entrance */
    opacity: 1 !important;
    transform: none !important;
}
.welcome-area .header-text .col-lg-5 h1 .fx-word {
    display: inline-block;
    background: linear-gradient(100deg, #ffffff 0%, #ffffff 40%, #a9d0ff 50%, #ffffff 60%, #ffffff 100%);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(26px) rotate(1.5deg);
    animation: fxWordIn .85s cubic-bezier(.2,.7,.3,1) forwards, fxHeadingShine 5s linear infinite;
    will-change: transform, opacity, background-position;
}
@keyframes fxWordIn { to { opacity: 1; transform: none; } }
@keyframes fxHeadingShine {
    0%   { background-position: 130% 0; }
    100% { background-position: -30% 0; }
}
@media (prefers-reduced-motion: reduce) {
    .welcome-area .header-text .col-lg-5 h1 .fx-word {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
        -webkit-text-fill-color: #fff !important;
    }
}
