/* ============================================================
   Bitsafewallet — modern emerald theme with dark mode
   Light + dark variants via CSS variables.
   Loaded after style.css so these rules win where they overlap.
   ============================================================ */

/* ---------- Theme tokens (LIGHT) ---------- */
:root {
    --fl-primary: #10b981;       /* emerald-500 */
    --fl-primary-dark: #059669;  /* emerald-600 */
    --fl-primary-light: #34d399; /* emerald-400 */
    --fl-primary-soft: rgba(16, 185, 129, 0.12);
    --fl-primary-glow: rgba(16, 185, 129, 0.45);

    --fl-accent: #6366f1;        /* secondary indigo accent for variety */
    --fl-accent-soft: rgba(99, 102, 241, 0.12);

    --fl-text: #0f172a;
    --fl-text-muted: #64748b;
    --fl-heading: #0b1220;

    --fl-bg: #ffffff;
    --fl-bg-soft: #f8fafc;
    --fl-bg-elev: #ffffff;

    --fl-border: #e6ebf2;
    --fl-border-soft: #eef2f7;

    --fl-radius: 16px;
    --fl-radius-sm: 12px;
    --fl-radius-lg: 22px;

    --fl-shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.05);
    --fl-shadow:    0 14px 40px rgba(15, 23, 42, 0.08);
    --fl-shadow-lg: 0 26px 60px rgba(15, 23, 42, 0.14);
    --fl-shadow-glow: 0 18px 40px rgba(16, 185, 129, 0.28);

    --fl-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --fl-gradient-soft: linear-gradient(180deg, #ecfdf5 0%, #ffffff 75%);

    --fl-nav-bg: rgba(255, 255, 255, 0.85);
    --fl-nav-border: rgba(15, 23, 42, 0.06);

    --fl-card-bg: #ffffff;
    --fl-glass-bg: rgba(255, 255, 255, 0.65);
    --fl-glass-border: rgba(255, 255, 255, 0.55);

    --fl-footer-bg: #0a0f1c;
    --fl-footer-text: #cbd5e1;
}

/* ---------- Theme tokens (DARK) ---------- */
[data-fl-theme="dark"] {
    --fl-primary: #10b981;
    --fl-primary-dark: #059669;
    --fl-primary-light: #6ee7b7;
    --fl-primary-soft: rgba(16, 185, 129, 0.18);
    --fl-primary-glow: rgba(16, 185, 129, 0.55);

    --fl-accent: #818cf8;
    --fl-accent-soft: rgba(129, 140, 248, 0.16);

    --fl-text: #e5e7eb;
    --fl-text-muted: #9aa4b2;
    --fl-heading: #f8fafc;

    --fl-bg: #0a0f1c;
    --fl-bg-soft: #0f172a;
    --fl-bg-elev: #111a2e;

    --fl-border: rgba(255, 255, 255, 0.08);
    --fl-border-soft: rgba(255, 255, 255, 0.04);

    --fl-shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.35);
    --fl-shadow:    0 16px 40px rgba(0, 0, 0, 0.45);
    --fl-shadow-lg: 0 26px 60px rgba(0, 0, 0, 0.55);
    --fl-shadow-glow: 0 18px 40px rgba(16, 185, 129, 0.35);

    --fl-gradient: linear-gradient(135deg, #10b981 0%, #047857 100%);
    --fl-gradient-soft: linear-gradient(180deg, #0f172a 0%, #0a0f1c 75%);

    --fl-nav-bg: rgba(15, 23, 42, 0.85);
    --fl-nav-border: rgba(255, 255, 255, 0.08);

    --fl-card-bg: #111a2e;
    --fl-glass-bg: rgba(17, 26, 46, 0.65);
    --fl-glass-border: rgba(255, 255, 255, 0.08);

    --fl-footer-bg: #060914;
    --fl-footer-text: #94a3b8;
}

/* ---------- Base ---------- */
body.fl-home,
body.fl-home #main-wrapper {
    background: var(--fl-bg) !important;
    color: var(--fl-text) !important;
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    transition: background-color .3s ease, color .3s ease;
}

body.fl-home h1, body.fl-home h2, body.fl-home h3,
body.fl-home h4, body.fl-home h5, body.fl-home h6 {
    color: var(--fl-heading);
    letter-spacing: -0.02em;
}

body.fl-home p { color: var(--fl-text); }
body.fl-home .text-muted { color: var(--fl-text-muted) !important; }

body.fl-home ::selection { background: var(--fl-primary-soft); color: var(--fl-heading); }

/* page sections background overrides existing dark-card classes that come from style.css */
body.fl-home .header.landing,
body.fl-home .bottom,
body.fl-home .footer { background: transparent !important; }

/* ---------- Top navbar (glassmorphism) ---------- */
body.fl-home .header.landing {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1030;
    background: var(--fl-nav-bg) !important;
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--fl-nav-border);
    padding: 8px 0;
    transition: background-color .3s ease, border-color .3s ease;
}

body.fl-home .header.landing .navbar-nav .nav-link {
    color: var(--fl-text) !important;
    font-weight: 500;
    margin: 0 4px;
    padding: 10px 14px !important;
    border-radius: 10px;
    transition: color .2s ease, background-color .2s ease;
}

body.fl-home .header.landing .navbar-nav .nav-link:hover,
body.fl-home .header.landing .navbar-nav .nav-link.active {
    color: var(--fl-primary) !important;
    background: var(--fl-primary-soft);
}

body.fl-home .header.landing .signin-btn .btn {
    border-radius: 999px;
    padding: 9px 22px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: none;
    transition: all .25s ease;
}

body.fl-home .header.landing .signin-btn .btn-success {
    background: transparent !important;
    color: var(--fl-primary) !important;
    border: 1px solid var(--fl-primary) !important;
}

body.fl-home .header.landing .signin-btn .btn-info,
body.fl-home .header.landing .signin-btn .btn-danger {
    background: var(--fl-gradient) !important;
    color: #fff !important;
    border: 1px solid transparent !important;
    box-shadow: 0 8px 22px var(--fl-primary-glow);
}

body.fl-home .header.landing .signin-btn .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px var(--fl-primary-glow);
}

body.fl-home .header.landing .navbar-toggler { border-color: var(--fl-primary); }

body.fl-home .header.landing .dropdown-menu {
    border: 1px solid var(--fl-border);
    background: var(--fl-card-bg);
    box-shadow: var(--fl-shadow);
    border-radius: 14px;
    padding: 8px;
}

body.fl-home .header.landing .dropdown-item {
    color: var(--fl-text) !important;
    border-radius: 8px;
    padding: 8px 12px;
}

body.fl-home .header.landing .dropdown-item:hover {
    background: var(--fl-primary-soft);
    color: var(--fl-primary) !important;
}

/* ---- Theme switch (pill-style, sliding indicator) ---- */
.fl-theme-switch {
    --fl-sw-h: 40px;
    --fl-sw-pad: 4px;
    position: relative;
    display: inline-flex;
    align-items: center;
    height: var(--fl-sw-h);
    padding: var(--fl-sw-pad);
    margin: 0 12px;
    border: 1px solid var(--fl-border);
    border-radius: 999px;
    background: var(--fl-bg-soft);
    box-shadow: inset 0 2px 6px rgba(15, 23, 42, 0.06);
    cursor: pointer;
    user-select: none;
    transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease;
}

.fl-theme-switch:hover {
    border-color: var(--fl-primary);
    box-shadow: inset 0 2px 6px rgba(15, 23, 42, 0.06), 0 0 0 4px var(--fl-primary-soft);
}

.fl-theme-switch:focus-visible {
    outline: none;
    box-shadow: inset 0 2px 6px rgba(15, 23, 42, 0.06), 0 0 0 4px var(--fl-primary-soft);
    border-color: var(--fl-primary);
}

.fl-theme-thumb {
    position: absolute;
    top: var(--fl-sw-pad);
    left: var(--fl-sw-pad);
    width: calc(50% - var(--fl-sw-pad));
    height: calc(var(--fl-sw-h) - var(--fl-sw-pad) * 2);
    border-radius: 999px;
    background: var(--fl-gradient);
    box-shadow: var(--fl-shadow-glow);
    transition: transform .35s cubic-bezier(.4, .0, .2, 1);
    z-index: 1;
}

[data-fl-theme="dark"] .fl-theme-thumb {
    transform: translateX(100%);
}

.fl-theme-opt {
    position: relative;
    z-index: 2;
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--fl-text-muted);
    transition: color .25s ease;
    white-space: nowrap;
}

.fl-theme-opt i { font-size: 14px; }

/* Active option (which side the thumb sits on) */
:root:not([data-fl-theme="dark"]) .fl-theme-opt-light { color: #fff; }
[data-fl-theme="dark"]            .fl-theme-opt-dark  { color: #fff; }

@media (max-width: 1199px) {
    .fl-theme-label { display: none; }
    .fl-theme-opt   { padding: 0 12px; }
    .fl-theme-switch { --fl-sw-h: 36px; }
}

@media (max-width: 991px) {
    .fl-theme-switch { margin: 8px 0; }
}

/* push page content below fixed navbar */
body.fl-home #main-wrapper > .header.landing + * { margin-top: 90px; }

/* ---------- HERO ---------- */
.fl-hero {
    position: relative;
    background: var(--fl-gradient-soft);
    padding: 110px 0 220px;
    overflow: hidden;
    isolation: isolate;
}

.fl-hero::before,
.fl-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: .55;
}

.fl-hero::before {
    width: 480px; height: 480px;
    top: -120px; left: -160px;
    background: radial-gradient(closest-side, var(--fl-primary), transparent 70%);
}

.fl-hero::after {
    width: 520px; height: 520px;
    top: 60px; right: -180px;
    background: radial-gradient(closest-side, var(--fl-accent), transparent 70%);
    opacity: .35;
}

.fl-hero h1 {
    font-size: clamp(34px, 5vw, 60px);
    line-height: 1.05;
    font-weight: 800;
    margin-bottom: 22px;
    background: linear-gradient(135deg, var(--fl-heading) 0%, var(--fl-primary) 70%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.fl-hero p.fl-lead {
    font-size: 18px;
    color: var(--fl-text-muted);
    margin-bottom: 34px;
    max-width: 540px;
    line-height: 1.65;
}

.fl-hero-img { position: relative; }
.fl-hero-img img {
    width: 100%;
    max-width: 600px;
    filter: drop-shadow(0 30px 60px var(--fl-primary-glow));
    animation: fl-float 6s ease-in-out infinite;
}

@keyframes fl-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-14px); }
}

.fl-cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

.fl-btn-primary,
.fl-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 14px 24px;
    border-radius: 14px;
    text-decoration: none;
    transition: all .25s ease;
    border: 0;
    font-family: inherit;
}

.fl-btn-primary {
    background: var(--fl-gradient);
    color: #fff !important;
    box-shadow: 0 14px 30px var(--fl-primary-glow);
}

.fl-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px var(--fl-primary-glow);
    color: #fff !important;
}

.fl-btn-ghost {
    background: var(--fl-card-bg);
    color: var(--fl-text) !important;
    border: 1px solid var(--fl-border);
    box-shadow: var(--fl-shadow-sm);
}

.fl-btn-ghost:hover {
    color: var(--fl-primary) !important;
    border-color: var(--fl-primary);
    transform: translateY(-3px);
    box-shadow: var(--fl-shadow);
}

.fl-btn-icon {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 16px;
}

.fl-btn-ghost .fl-btn-icon { background: var(--fl-primary-soft); color: var(--fl-primary); }
.fl-btn-text small { display: block; font-size: 12px; opacity: .85; line-height: 1; }
.fl-btn-text strong { font-size: 15px; font-weight: 700; }

/* hero waves */
.fl-wave-area {
    position: absolute; left: 0; right: 0; bottom: 0;
    height: 180px;
    pointer-events: none; overflow: hidden;
}

.fl-wave-area .fl-wave {
    position: absolute;
    left: -25%; right: -25%; bottom: 0;
    height: 180px;
    background-repeat: repeat-x;
    background-size: 50% 100%;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 200' preserveAspectRatio='none'><path d='M0,100 C300,180 900,20 1200,100 L1200,200 L0,200 Z' fill='%2310b981' fill-opacity='0.10'/></svg>");
    animation: fl-wave-anim 14s linear infinite;
}

.fl-wave-area .fl-wave:nth-child(2) {
    animation-duration: 22s;
    animation-direction: reverse;
    opacity: .55;
    bottom: -10px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 200' preserveAspectRatio='none'><path d='M0,120 C300,40 900,180 1200,80 L1200,200 L0,200 Z' fill='%2310b981' fill-opacity='0.16'/></svg>");
}

@keyframes fl-wave-anim {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ---------- Section base ---------- */
.fl-section {
    padding: 100px 0;
    position: relative;
}

.fl-section.fl-bg-soft { background: var(--fl-bg-soft); }

.fl-section-header { text-align: center; max-width: 720px; margin: 0 auto 60px; }

.fl-eyebrow {
    display: inline-block;
    background: var(--fl-primary-soft);
    color: var(--fl-primary);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.fl-section-header h2 {
    font-size: clamp(26px, 3.5vw, 42px);
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.fl-section-header p {
    color: var(--fl-text-muted);
    font-size: 17px;
    line-height: 1.7;
}

/* ---------- 6-feature grid w/ phone center ---------- */
.fl-feature-block {
    display: flex;
    gap: 18px;
    margin-bottom: 32px;
    align-items: flex-start;
    padding: 18px;
    border-radius: var(--fl-radius);
    transition: background-color .25s ease, transform .25s ease;
}

.fl-feature-block:hover {
    background: var(--fl-bg-elev);
    box-shadow: var(--fl-shadow-sm);
    transform: translateY(-2px);
}

.fl-feature-block .fl-feature-icon {
    flex: 0 0 56px;
    width: 56px; height: 56px;
    border-radius: 14px;
    background: var(--fl-primary-soft);
    color: var(--fl-primary);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 24px;
}

.fl-feature-block h3 { font-size: 18px; font-weight: 700; margin: 0 0 6px; }
.fl-feature-block p { color: var(--fl-text-muted); font-size: 14px; line-height: 1.65; margin: 0; }

.fl-phone-img { text-align: center; position: relative; }

.fl-phone-img::before {
    content: "";
    position: absolute;
    inset: 10% 15%;
    background: var(--fl-gradient);
    filter: blur(60px);
    opacity: .25;
    border-radius: 50%;
    z-index: 0;
}

.fl-phone-img img {
    max-width: 100%;
    position: relative;
    z-index: 1;
    animation: fl-float 7s ease-in-out infinite;
}

/* ---------- 3-step how-it-works ---------- */
.fl-step-block {
    display: flex;
    gap: 18px;
    margin-bottom: 22px;
    padding: 24px;
    background: var(--fl-card-bg);
    border-radius: var(--fl-radius);
    border: 1px solid var(--fl-border-soft);
    box-shadow: var(--fl-shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.fl-step-block:hover {
    transform: translateY(-4px);
    box-shadow: var(--fl-shadow);
    border-color: var(--fl-primary);
}

.fl-step-num {
    flex: 0 0 56px;
    width: 56px; height: 56px;
    border-radius: 14px;
    background: var(--fl-gradient);
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 22px; font-weight: 700;
    box-shadow: var(--fl-shadow-glow);
}

.fl-step-block h3 { font-size: 18px; font-weight: 700; margin: 0 0 6px; }
.fl-step-block p  { color: var(--fl-text-muted); margin: 0; }

/* ---------- Security / non-custodial ---------- */
.fl-img-rounded {
    width: 100%;
    border-radius: var(--fl-radius-lg);
    box-shadow: var(--fl-shadow);
}

.fl-bullet-list { list-style: none; padding: 0; margin: 0 0 24px; }

.fl-bullet-list li {
    position: relative;
    padding: 8px 0 8px 36px;
    color: var(--fl-text);
}

.fl-bullet-list li::before {
    content: "\2713";
    font-weight: 900;
    position: absolute;
    left: 0; top: 8px;
    width: 24px; height: 24px;
    border-radius: 50%;
    background: var(--fl-primary-soft);
    color: var(--fl-primary);
    font-size: 13px;
    display: inline-flex; align-items: center; justify-content: center;
}

.fl-quote {
    font-style: italic;
    color: var(--fl-text-muted);
    border-left: 3px solid var(--fl-primary);
    padding: 4px 0 4px 18px;
}

/* accordion */
.fl-accordion .fl-acc-item {
    background: var(--fl-card-bg);
    border: 1px solid var(--fl-border-soft);
    border-radius: var(--fl-radius);
    box-shadow: var(--fl-shadow-sm);
    margin-bottom: 14px;
    overflow: hidden;
    transition: border-color .25s ease, box-shadow .25s ease;
}

.fl-accordion .fl-acc-item:hover { border-color: var(--fl-primary); }

.fl-accordion .fl-acc-btn {
    width: 100%;
    background: transparent;
    border: 0;
    text-align: left;
    padding: 18px 22px;
    font-weight: 600;
    color: var(--fl-heading);
    font-size: 16px;
    display: flex; justify-content: space-between; align-items: center;
    cursor: pointer;
}

.fl-accordion .fl-acc-btn::after {
    content: "+";
    font-size: 22px;
    color: var(--fl-primary);
    transition: transform .25s ease;
    line-height: 1;
}

.fl-accordion .fl-acc-btn[aria-expanded="true"]::after { content: "\2212"; }

.fl-accordion .fl-acc-body {
    padding: 0 22px 22px;
    color: var(--fl-text-muted);
    font-size: 14px;
    line-height: 1.7;
}

/* ---------- Testimonials ---------- */
.fl-reviews {
    background: var(--fl-gradient);
    color: #fff;
    border-radius: var(--fl-radius-lg);
    padding: 70px 30px;
    margin: 0 12px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--fl-shadow-lg);
}

.fl-reviews::before {
    content: "";
    position: absolute;
    inset: -50%;
    background: radial-gradient(ellipse at top right, rgba(255,255,255,0.18), transparent 60%);
    pointer-events: none;
}

.fl-reviews .fl-section-header h2,
.fl-reviews .fl-section-header p,
.fl-reviews p,
.fl-reviews h5 { color: #fff; }

.fl-reviews .fl-section-header p { opacity: .92; }

.fl-review-card {
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: var(--fl-radius);
    padding: 28px;
    backdrop-filter: blur(8px);
    height: 100%;
    transition: transform .25s ease, background-color .25s ease;
}

.fl-review-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.16);
}

.fl-review-card p {
    color: rgba(255, 255, 255, 0.94);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 18px;
}

.fl-review-card h5 {
    margin: 0;
    font-weight: 700;
    font-size: 15px;
}

.fl-review-card h5 small {
    display: block;
    font-weight: 400;
    opacity: .8;
    font-size: 12px;
    margin-top: 4px;
}

.fl-review-stars {
    color: #fbbf24;
    margin-bottom: 12px;
    font-size: 14px;
    letter-spacing: 2px;
}

/* ---------- Core features grid ---------- */
.fl-core-card {
    background: var(--fl-card-bg);
    border: 1px solid var(--fl-border-soft);
    border-radius: var(--fl-radius);
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--fl-shadow-sm);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.fl-core-card::before {
    content: "";
    position: absolute;
    top: -40%; right: -40%;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: var(--fl-primary-soft);
    opacity: 0;
    transition: opacity .3s ease;
}

.fl-core-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--fl-shadow);
    border-color: var(--fl-primary);
}

.fl-core-card:hover::before { opacity: 1; }
.fl-core-card > * { position: relative; z-index: 1; }

.fl-core-card .fl-core-icon {
    width: 68px; height: 68px;
    border-radius: 18px;
    margin: 0 auto 20px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 26px;
    color: #fff;
    background: var(--fl-gradient);
    box-shadow: var(--fl-shadow-glow);
}

.fl-core-card .fl-core-icon.c-2 { background: linear-gradient(135deg, #f43f5e, #ec4899); box-shadow: 0 14px 30px rgba(244, 63, 94, .35); }
.fl-core-card .fl-core-icon.c-3 { background: linear-gradient(135deg, #06b6d4, #3b82f6); box-shadow: 0 14px 30px rgba(59, 130, 246, .35); }
.fl-core-card .fl-core-icon.c-4 { background: linear-gradient(135deg, #f59e0b, #ef4444); box-shadow: 0 14px 30px rgba(245, 158, 11, .35); }
.fl-core-card .fl-core-icon.c-5 { background: linear-gradient(135deg, #8b5cf6, #6366f1); box-shadow: 0 14px 30px rgba(139, 92, 246, .35); }
.fl-core-card .fl-core-icon.c-6 { background: linear-gradient(135deg, #14b8a6, #10b981); box-shadow: 0 14px 30px rgba(20, 184, 166, .35); }

.fl-core-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.fl-core-card p  { color: var(--fl-text-muted); font-size: 14px; line-height: 1.65; margin: 0; }

/* ---------- Contact ---------- */
.fl-contact {
    position: relative;
    background: var(--fl-bg-soft);
    overflow: hidden;
}

.fl-bubbles { position: absolute; inset: 0; pointer-events: none; z-index: 0; }

.fl-bubble {
    position: absolute;
    bottom: -60px;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--fl-primary-soft);
    animation: fl-bubble-rise 18s linear infinite;
    opacity: .7;
}

.fl-bubble.b1 { left: 8%;  width: 30px; height: 30px; animation-duration: 16s; }
.fl-bubble.b2 { left: 20%; width: 60px; height: 60px; animation-duration: 22s; animation-delay: 2s; }
.fl-bubble.b3 { left: 38%; width: 24px; height: 24px; animation-duration: 14s; animation-delay: 4s; }
.fl-bubble.b4 { left: 60%; width: 80px; height: 80px; animation-duration: 26s; animation-delay: 1s; }
.fl-bubble.b5 { left: 78%; width: 34px; height: 34px; animation-duration: 18s; animation-delay: 3s; }
.fl-bubble.b6 { left: 90%; width: 50px; height: 50px; animation-duration: 24s; animation-delay: 5s; }

@keyframes fl-bubble-rise {
    0%   { transform: translateY(0)   scale(.8); opacity: 0; }
    10%  { opacity: .7; }
    90%  { opacity: .4; }
    100% { transform: translateY(-110vh) scale(1.1); opacity: 0; }
}

.fl-contact .container { position: relative; z-index: 1; }

.fl-contact-block {
    background: var(--fl-card-bg);
    border: 1px solid var(--fl-border-soft);
    border-radius: var(--fl-radius);
    padding: 22px;
    margin-bottom: 16px;
    box-shadow: var(--fl-shadow-sm);
    display: flex;
    gap: 16px;
    align-items: center;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.fl-contact-block:hover {
    transform: translateY(-2px);
    box-shadow: var(--fl-shadow);
    border-color: var(--fl-primary);
}

.fl-contact-block .fl-contact-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: var(--fl-primary-soft);
    color: var(--fl-primary);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 20px;
    flex: 0 0 48px;
}

.fl-contact-block h4 { margin: 0 0 4px; font-size: 13px; color: var(--fl-text-muted); font-weight: 500; }
.fl-contact-block p  { margin: 0; color: var(--fl-heading); font-weight: 600; font-size: 15px; }

.fl-contact-form {
    background: var(--fl-card-bg);
    border: 1px solid var(--fl-border-soft);
    border-radius: var(--fl-radius-lg);
    padding: 40px;
    box-shadow: var(--fl-shadow-lg);
}

.fl-contact-form h3,
.fl-contact-form .text-muted { color: var(--fl-heading); }

.fl-contact-form .form-control {
    background: var(--fl-bg-soft) !important;
    border: 1px solid var(--fl-border) !important;
    border-radius: 12px !important;
    padding: 14px 18px !important;
    margin-bottom: 14px;
    width: 100%;
    color: var(--fl-text) !important;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.fl-contact-form .form-control::placeholder { color: var(--fl-text-muted); }

.fl-contact-form .form-control:focus {
    border-color: var(--fl-primary) !important;
    box-shadow: 0 0 0 4px var(--fl-primary-soft) !important;
    outline: 0;
}

.fl-contact-form textarea { min-height: 120px; resize: vertical; }

/* ---------- Footer ---------- */
body.fl-home .bottom {
    background: var(--fl-footer-bg) !important;
    padding: 80px 0 40px;
    border-radius: 0;
}

body.fl-home .bottom .bottom-logo p,
body.fl-home .bottom ul li a {
    color: var(--fl-footer-text) !important;
}

body.fl-home .bottom .widget-title {
    color: #ffffff !important;
    font-weight: 700;
    margin-bottom: 18px;
    font-size: 16px;
}

body.fl-home .bottom ul { list-style: none; padding: 0; margin: 0; }
body.fl-home .bottom ul li { margin-bottom: 10px; }

body.fl-home .bottom ul li a {
    text-decoration: none;
    transition: color .2s ease, padding-left .2s ease;
    font-size: 14px;
    display: inline-block;
}

body.fl-home .bottom ul li a:hover {
    color: var(--fl-primary-light) !important;
    padding-left: 4px;
}

.fl-newsletter { display: flex; gap: 10px; margin-top: 16px; }

.fl-newsletter input {
    flex: 1;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 12px 16px;
    color: #fff;
}

.fl-newsletter input::placeholder { color: #94a3b8; }

.fl-newsletter button {
    background: var(--fl-gradient);
    color: #fff;
    border: 0;
    padding: 12px 22px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
    box-shadow: 0 8px 22px var(--fl-primary-glow);
}

.fl-newsletter button:hover { transform: translateY(-2px); }

body.fl-home .footer {
    background: var(--fl-footer-bg) !important;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

body.fl-home .footer .copyright p { color: var(--fl-footer-text) !important; margin: 0; }

body.fl-home .footer .footer-social ul {
    list-style: none; padding: 0; margin: 0;
    display: flex; gap: 10px; justify-content: flex-end;
}

body.fl-home .footer .footer-social ul li a {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--fl-footer-text);
    transition: all .25s ease;
}

body.fl-home .footer .footer-social ul li a:hover {
    background: var(--fl-gradient);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: var(--fl-shadow-glow);
}

/* ---------- Back-to-top ---------- */
.fl-back-top {
    position: fixed;
    right: 20px; bottom: 20px;
    width: 46px; height: 46px;
    border-radius: 50%;
    background: var(--fl-gradient);
    color: #fff;
    display: none;
    align-items: center; justify-content: center;
    z-index: 999;
    box-shadow: var(--fl-shadow-glow);
    cursor: pointer;
    text-decoration: none;
    transition: transform .25s ease;
}

.fl-back-top.show { display: inline-flex; }
.fl-back-top:hover { transform: translateY(-4px); color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .fl-hero { padding: 80px 0 160px; }
    .fl-section { padding: 70px 0; }
    body.fl-home #main-wrapper > .header.landing + * { margin-top: 75px; }
    .fl-theme-toggle { margin: 8px 0; }
}

@media (max-width: 767px) {
    .fl-hero p.fl-lead { font-size: 16px; }
    .fl-cta-row .fl-btn-primary,
    .fl-cta-row .fl-btn-ghost { width: 100%; justify-content: center; }
    .fl-reviews { padding: 50px 22px; }
    .fl-contact-form { padding: 28px; }
    body.fl-home .footer .footer-social ul { justify-content: center; margin-top: 12px; }
}

/* nicer scrollbar */
@media (min-width: 768px) {
    body.fl-home::-webkit-scrollbar { width: 10px; }
    body.fl-home::-webkit-scrollbar-track { background: var(--fl-bg-soft); }
    body.fl-home::-webkit-scrollbar-thumb {
        background: var(--fl-border);
        border-radius: 999px;
        border: 2px solid var(--fl-bg-soft);
    }
    body.fl-home::-webkit-scrollbar-thumb:hover { background: var(--fl-primary); }
}
