/*!
 * Horizon Component Styles — Phase 1 Design Harmonization
 * Extracted from partials/design-tokens.blade.php
 * All hz-* component classes, section overrides, keyframes, and widget styles
 */

/* ── partials/site/* components and sections ── */

/* ══ SHARED PARTIAL COMPONENT CLASSES ══ */
.hz-section {
    padding: var(--hz-section-pad);
    background: var(--hz-bg-page);
    position: relative;
    overflow: hidden;
}
.hz-section-alt {
    padding: var(--hz-section-pad);
    background: var(--hz-bg-card);
    position: relative;
}
.hz-section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
    color: var(--hz-gold);
    letter-spacing: 3px;
    margin-bottom: 60px;
}
.hz-gold-text {
    background: var(--hz-gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hz-card {
    background: var(--hz-bg-card);
    border: 1px solid var(--hz-border);
    padding: 40px;
    border-radius: var(--hz-card-radius);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(.22,1,.36,1), box-shadow 0.4s, border-color 0.3s;
}
.hz-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 24px 60px rgba(0,0,0,0.3);
    border-color: var(--hz-gold);
}
.hz-card-icon {
    font-size: 2.5rem;
    color: var(--hz-gold);
    margin-bottom: 20px;
    display: block;
}
.hz-btn-gold {
    background: var(--hz-gold-gradient);
    padding: 16px 40px;
    border-radius: 50px;
    color: #000 !important;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    font-family: inherit;
}
.hz-btn-gold:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px var(--hz-glow);
    color: #000 !important;
}
.hz-btn-ghost {
    padding: 14px 36px;
    border-radius: 50px;
    color: var(--hz-gold) !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 1.5px solid var(--hz-gold);
    background: transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s;
    font-family: inherit;
}
.hz-btn-ghost:hover {
    background: var(--hz-gold);
    color: #000 !important;
    box-shadow: 0 0 20px var(--hz-glow);
}
.hz-navbar-themed {
    background: var(--hz-bg-nav);
    backdrop-filter: blur(var(--hz-nav-blur));
    -webkit-backdrop-filter: blur(var(--hz-nav-blur));
    border-bottom: 1px solid var(--hz-border);
}
.hz-navbar-themed .nav-link {
    color: var(--hz-text-main) !important;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    font-size: 0.82rem;
    transition: color 0.25s;
}
.hz-navbar-themed .nav-link:hover {
    color: var(--hz-gold) !important;
    text-shadow: 0 0 8px var(--hz-glow);
}
.hz-logo-text {
    font-size: 1.6rem;
    font-weight: 900;
    background: var(--hz-gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 4px;
}
.hz-footer-themed {
    background: var(--hz-bg-footer);
    border-top: 2px solid var(--hz-gold);
    padding: 80px 10% 40px;
}
.hz-reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.hz-reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}
.hz-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.hz-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.hz-grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.hz-stat-block { text-align: center; padding: 20px; }
.hz-stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    background: var(--hz-gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    line-height: 1;
    margin-bottom: 8px;
}
.hz-stat-label { color: var(--hz-text-sub); font-size: 0.9rem; letter-spacing: 1px; }
.hz-index-card {
    padding: 28px 20px;
    border: 1px solid var(--hz-border);
    border-radius: 20px;
    background: var(--hz-bg-card);
    text-align: center;
    font-weight: 700;
    color: var(--hz-text-main);
    transition: border-color 0.3s;
}
.hz-index-card:hover { border-color: var(--hz-gold); }
.hz-index-card .up { color: #2ecc71; }
.hz-index-card .down { color: #e74c3c; }
.hz-team-member { text-align: center; }
.hz-team-member img {
    width: 140px; height: 140px;
    border-radius: 50%;
    border: 4px solid var(--hz-gold);
    object-fit: cover;
    margin-bottom: 16px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.hz-team-member:hover img {
    transform: scale(1.06);
    box-shadow: 0 0 20px var(--hz-glow);
}
.hz-team-member h4 { color: var(--hz-text-main); font-weight: 700; }
.hz-team-member p  { color: var(--hz-gold); font-size: 0.85rem; letter-spacing: 1px; }
.hz-ticker-bar {
    background: var(--hz-bg-footer);
    border-bottom: 1px solid var(--hz-border);
    padding: 10px 0;
    overflow: hidden;
}
.hz-ticker-track {
    display: flex; gap: 56px;
    width: max-content;
    animation: hzTickerSlide 40s linear infinite;
}
@keyframes hzTickerSlide {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
[dir="rtl"] .hz-ticker-track { animation-direction: reverse; }
.hz-cta-section {
    background: var(--hz-bg-card);
    border: 1px solid var(--hz-border);
    border-radius: var(--hz-card-radius);
    padding: 80px 60px;
    text-align: center;
    margin: 0 5%;
    position: relative;
    overflow: hidden;
}
.hz-cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, var(--hz-glow) 0%, transparent 70%);
    pointer-events: none;
}
@media (max-width: 768px) {
    .hz-section, .hz-section-alt { padding: 70px 5%; }
    .hz-section-title { font-size: 1.8rem; letter-spacing: 1px; margin-bottom: 40px; }
    .hz-card { padding: 28px 24px; }
    .hz-cta-section { padding: 50px 24px; margin: 0; border-radius: 0; }
    .hz-grid-2 { grid-template-columns: 1fr; }
    .hz-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* Scroll reveal JS hook — supports both class names */
.hz-reveal-up, .hz-reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.hz-reveal-up.visible, .hz-reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ══ SECTION HEADER — reusable across all partials ══ */
.hz-section-header { text-align: center; margin-bottom: 60px; }
.hz-section-eyebrow {
    font-size: 0.72rem; font-weight: 800; letter-spacing: 3px;
    text-transform: uppercase; color: var(--hz-gold); margin-bottom: 12px; display: block;
}
.hz-section-heading {
    font-size: clamp(2rem, 4vw, 3rem); font-weight: 900;
    color: var(--hz-text-main); margin-bottom: 16px; line-height: 1.1;
}
.hz-section-heading.gradient {
    background: var(--hz-gold-gradient);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hz-section-sub {
    color: var(--hz-text-sub); font-size: 1rem;
    max-width: 520px; margin: 0 auto; line-height: 1.7;
}
.hz-divider {
    width: 60px; height: 3px; background: var(--hz-gold-gradient);
    border-radius: 2px; margin: 16px auto 0;
}
.hz-header-line {
    height: 2px; flex: 1;
    background: linear-gradient(90deg, transparent, var(--hz-gold));
}
.hz-header-line.reverse { background: linear-gradient(90deg, var(--hz-gold), transparent); }

/* ══ FEATURE CARDS (homepage mini cards) ══ */
.hz-feature-card {
    background: var(--hz-bg-card);
    border: 1px solid var(--hz-border);
    border-top: 3px solid var(--hz-gold);
    border-radius: 12px;
    color: var(--hz-text-main);
    transition: transform 0.25s, box-shadow 0.25s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.hz-feature-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.hz-feature-card h5 { color: var(--hz-text-main); }
.hz-icon-box {
    width: 42px; height: 42px; border-radius: 10px;
    background: var(--hz-glow-sm); color: var(--hz-gold);
    display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
    flex-shrink: 0;
}
.hz-market-badge {
    display: flex; justify-content: space-between; align-items: center;
    padding: 6px 10px; border-radius: 8px;
    background: var(--hz-bg-page); margin-bottom: 6px;
    font-size: 0.875rem; color: var(--hz-text-sub);
    border: 1px solid var(--hz-border);
}
.hz-market-badge strong { color: var(--hz-text-main); }
.hz-up   { color: #2ecc71 !important; }
.hz-down { color: #e74c3c !important; }
.hz-alert-box {
    background: var(--hz-glow-xs); border: 1px solid var(--hz-border);
    border-radius: 8px; padding: 12px; text-align: center;
}
.hz-btn-subtle {
    background: var(--hz-bg-page); border: 1px solid var(--hz-border);
    color: var(--hz-text-main); border-radius: 8px;
    padding: 10px 14px; text-align: start; text-decoration: none;
    display: flex; align-items: center; gap: 10px;
    transition: background 0.2s, border-color 0.2s; font-size: 0.9rem;
}
.hz-btn-subtle:hover { background: var(--hz-glow-sm); border-color: var(--hz-gold); color: var(--hz-gold); }
.hz-btn-subtle i { color: var(--hz-text-sub); flex-shrink: 0; }

/* ══ TESTIMONIALS SECTION ══ */
.hz-testimonials { background: var(--hz-bg-page); padding: 100px 0; position: relative; overflow: hidden; }
.hz-testimonials::before {
    content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
    width: 600px; height: 600px; border-radius: 50%;
    background: radial-gradient(circle, var(--hz-glow-xs) 0%, transparent 70%); pointer-events: none;
}

/* ══ TESTIMONIAL CARDS ══ */
.hz-tcard {
    background: var(--hz-bg-card); border: 1px solid var(--hz-border);
    border-radius: 20px; padding: 32px; height: 100%;
    display: flex; flex-direction: column; position: relative; overflow: hidden;
    transition: transform 0.35s cubic-bezier(.22,1,.36,1), box-shadow 0.35s, border-color 0.3s;
}
.hz-tcard::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at top left, var(--hz-glow-xs) 0%, transparent 60%);
    pointer-events: none;
}
.hz-tcard:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0,0,0,0.3); border-color: var(--hz-gold); }
.hz-tcard-quote { color: var(--hz-gold); font-size: 2.5rem; line-height: 1; opacity: 0.3; margin-bottom: 16px; }
.hz-tcard-text { color: var(--hz-text-sub); font-size: 0.95rem; line-height: 1.8; flex: 1; font-style: italic; }
.hz-tcard-stars { display: flex; gap: 3px; margin: 16px 0 12px; }
.hz-tcard-stars i { color: var(--hz-gold); font-size: 0.85rem; }
.hz-tcard-stars i.empty { color: var(--hz-border); }
.hz-tcard-author { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--hz-border); padding-top: 16px; margin-top: 8px; }
.hz-tcard-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--hz-gold); flex-shrink: 0; }
.hz-tcard-avatar-placeholder {
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--hz-glow-sm); border: 2px solid var(--hz-gold);
    display: flex; align-items: center; justify-content: center; color: var(--hz-gold); font-size: 1.1rem; flex-shrink: 0;
}
.hz-tcard-name { font-weight: 700; color: var(--hz-text-main); font-size: 0.95rem; }
.hz-tcard-verified { font-size: 0.78rem; color: #4CAF50; display: flex; align-items: center; gap: 4px; }
.hz-tcard-readmore { background: none; border: none; color: var(--hz-gold); font-size: 0.82rem; cursor: pointer; padding: 0; text-decoration: underline; font-family: inherit; }

/* ══ TEAM SECTION ══ */
.hz-team { background: var(--hz-bg-page); padding: 100px 0; position: relative; overflow: hidden; }
.hz-team::before {
    content: ''; position: absolute; bottom: -100px; left: 50%; transform: translateX(-50%);
    width: 700px; height: 400px; border-radius: 50%;
    background: radial-gradient(circle, var(--hz-glow-xs) 0%, transparent 70%);
    filter: blur(60px); pointer-events: none;
}

/* ══ TEAM CARDS ══ */
.hz-team-card {
    background: var(--hz-bg-card); border: 1px solid var(--hz-border);
    border-radius: 20px; padding: 36px 24px 28px; text-align: center;
    height: 100%; display: flex; flex-direction: column;
    transition: transform 0.4s cubic-bezier(.22,1,.36,1), box-shadow 0.4s, border-color 0.3s;
    position: relative; overflow: hidden;
}
.hz-team-card::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--hz-gold-gradient); transform: scaleX(0); transform-origin: left; transition: transform 0.4s;
}
.hz-team-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(0,0,0,0.3); border-color: var(--hz-gold); }
.hz-team-card:hover::after { transform: scaleX(1); }
.hz-team-photo {
    width: 110px; height: 110px; border-radius: 50%; object-fit: cover;
    border: 3px solid var(--hz-gold); background: var(--hz-glow-sm);
    margin: 0 auto 20px; display: block;
    box-shadow: 0 0 20px var(--hz-glow-xs);
    transition: transform 0.3s, box-shadow 0.3s;
}
.hz-team-card:hover .hz-team-photo { transform: scale(1.06); box-shadow: 0 0 30px var(--hz-glow); }
.hz-team-photo-placeholder {
    width: 110px; height: 110px; border-radius: 50%;
    background: var(--hz-glow-sm); border: 3px solid var(--hz-gold);
    margin: 0 auto 20px; display: flex; align-items: center; justify-content: center;
    color: var(--hz-gold); font-size: 2.5rem; box-shadow: 0 0 20px var(--hz-glow-xs);
}
.hz-team-name { font-size: 1.05rem; font-weight: 800; color: var(--hz-text-main); margin-bottom: 4px; }
.hz-team-role { font-size: 0.8rem; color: var(--hz-gold); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; }
.hz-team-desc { font-size: 0.88rem; color: var(--hz-text-sub); line-height: 1.7; flex: 1; margin-bottom: 18px; }
.hz-team-socials { display: flex; justify-content: center; gap: 8px; margin-bottom: 20px; }
.hz-team-social {
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--hz-glow-xs); border: 1px solid var(--hz-border);
    display: flex; align-items: center; justify-content: center;
    color: var(--hz-text-sub); font-size: 0.8rem; text-decoration: none; transition: all 0.3s;
}
.hz-team-social:hover { background: var(--hz-gold); color: #000; border-color: var(--hz-gold); transform: translateY(-3px); }

/* ══ STATS / FIGURES ══ */
.hz-stat-card {
    background: var(--hz-bg-card); border: 1px solid var(--hz-border);
    border-radius: 16px; padding: 24px;
    display: flex; align-items: center; gap: 16px; height: 100%;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.hz-stat-card:hover { border-color: var(--hz-gold); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.hz-stat-icon {
    width: 52px; height: 52px; border-radius: 12px;
    background: var(--hz-glow-xs); border: 1px solid var(--hz-border);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.2rem;
}
.hz-stat-info-label { font-size: 0.8rem; color: var(--hz-text-sub); margin-bottom: 4px; }
.hz-stat-info-value { font-size: 1.3rem; font-weight: 800; color: var(--hz-text-main); margin-bottom: 2px; }
.hz-stat-info-sub { font-size: 0.76rem; color: #4CAF50; }
.hz-figures-card {
    background: var(--hz-bg-card); border: 1px solid var(--hz-border);
    border-top: 4px solid var(--hz-gold); border-radius: 12px;
    padding: 32px 20px; text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}
.hz-figures-card:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(0,0,0,0.2); }
.hz-figures-value { font-size: 2.8rem; font-weight: 900; background: var(--hz-gold-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; margin-bottom: 8px; display: block; }
.hz-figures-label { color: var(--hz-text-sub); font-size: 0.9rem; letter-spacing: 0.5px; }

/* ══ SERVICES SECTION ══ */
.hz-services-section { background: var(--hz-bg-page); }
.hz-service-card {
    background: var(--hz-bg-card); border: 1px solid var(--hz-border);
    border-radius: var(--hz-card-radius); padding: 36px 28px; text-align: center;
    height: 100%; display: flex; flex-direction: column;
    transition: transform 0.35s cubic-bezier(.22,1,.36,1), box-shadow 0.35s, border-color 0.3s;
    cursor: pointer;
}
.hz-service-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(0,0,0,0.3); border-color: var(--hz-gold); }
.hz-service-icon {
    width: 70px; height: 70px; border-radius: 50%;
    background: var(--hz-glow-sm); border: 2px solid var(--hz-border);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px; font-size: 1.8rem; color: var(--hz-gold);
    transition: background 0.3s, border-color 0.3s;
}
.hz-service-card:hover .hz-service-icon { background: var(--hz-gold); color: #000; border-color: var(--hz-gold); }
.hz-service-title { font-size: 1.1rem; font-weight: 800; color: var(--hz-text-main); margin-bottom: 12px; }
.hz-service-desc { color: var(--hz-text-sub); font-size: 0.9rem; line-height: 1.7; flex: 1; margin-bottom: 20px; }
.hz-service-link { color: var(--hz-gold); font-size: 0.85rem; font-weight: 700; text-decoration: none; letter-spacing: 0.5px; }
.hz-service-link:hover { text-decoration: underline; }

/* ══ HOW IT WORKS STEPS ══ */
.hz-steps-connector {
    position: absolute; top: 36px;
    left: calc(16.66% + 36px); right: calc(16.66% + 36px);
    height: 1px; background: var(--hz-border); z-index: 0;
}
[dir="rtl"] .hz-steps-connector { left: calc(16.66% + 36px); right: calc(16.66% + 36px); }
.hz-step-circle {
    width: 72px; height: 72px; border-radius: 50%;
    background: var(--hz-bg-card); border: 2px solid var(--hz-border);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; font-weight: 900; color: var(--hz-gold);
    margin: 0 auto 24px; box-shadow: 0 0 0 10px var(--hz-bg-page);
    transition: all 0.35s;
}
.hz-step:hover .hz-step-circle { background: var(--hz-gold); color: #000; border-color: var(--hz-gold); box-shadow: 0 0 0 10px var(--hz-glow-xs); }
.hz-step { text-align: center; padding: 20px 16px; position: relative; z-index: 1; }
.hz-step h4 { color: var(--hz-text-main); font-weight: 700; margin-bottom: 12px; }
.hz-step p  { color: var(--hz-text-sub); font-size: 0.9rem; line-height: 1.8; }

/* ══ SERVICES SLIDER ══ */
.hz-slider-wrap { position: relative; overflow: hidden; padding: 0 56px; max-width: 1200px; margin: 0 auto; }
.hz-slider {
    display: flex; gap: 24px; overflow-x: auto; overflow-y: hidden;
    scroll-behavior: smooth; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; -ms-overflow-style: none; padding: 20px 0;
}
.hz-slider::-webkit-scrollbar { display: none; }
.hz-slider-item { flex: 0 0 280px; min-width: 280px; max-width: 280px; }
.hz-slider-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--hz-glow-sm); border: 1px solid var(--hz-border);
    color: var(--hz-gold); display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.3s; z-index: 2;
}
.hz-slider-nav:hover { background: var(--hz-gold); color: #000; border-color: var(--hz-gold); }
.hz-slider-nav.prev { left: 0; }
.hz-slider-nav.next { right: 0; }
@media (max-width: 768px) {
    .hz-slider-wrap { padding: 0 44px; }
    .hz-slider-item { flex: 0 0 260px; min-width: 260px; max-width: 260px; }
}

/* ══ FORMS (dark) ══ */
.hz-form-control {
    background: var(--hz-bg-card) !important; border: 1px solid var(--hz-border) !important;
    color: var(--hz-text-main) !important; border-radius: 8px; padding: 10px 14px;
    font-family: inherit; font-size: 0.9rem; width: 100%; outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.hz-form-control:focus { border-color: var(--hz-gold) !important; box-shadow: 0 0 0 3px var(--hz-glow-xs) !important; }
.hz-form-control::placeholder { color: var(--hz-text-sub) !important; }
.hz-form-label { color: var(--hz-gold); font-size: 0.82rem; font-weight: 700; margin-bottom: 6px; letter-spacing: 0.5px; display: block; }

/* ══ TICKER BAR ══ */
.hz-ticker-bar {
    background: var(--hz-bg-footer);
    border-top: 1px solid var(--hz-border); border-bottom: 1px solid var(--hz-border);
    padding: 10px 0; overflow: hidden; position: relative;
}
.hz-ticker-track {
    display: flex; gap: 48px; width: max-content;
    animation: hzTickerMove 40s linear infinite;
}
[dir="rtl"] .hz-ticker-track { animation-direction: reverse; }
@keyframes hzTickerMove { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.hz-ticker__item { display: flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 0.78rem; font-weight: 600; }
.hz-ticker__name  { color: var(--hz-text-sub); letter-spacing: 0.5px; }
.hz-ticker__price { color: var(--hz-text-main); font-weight: 700; }
.hz-ticker__change--up   { color: #2ecc71; }
.hz-ticker__change--down { color: #e74c3c; }
.hz-ticker__sep { color: var(--hz-gold); font-size: 0.5rem; opacity: 0.5; }

/* ══ MARKET OVERVIEW ══ */
.market-data { background: var(--hz-bg-page) !important; color: var(--hz-text-main) !important; }
.market-data h6, .market-data h5, .market-data p { color: var(--hz-text-main) !important; }
.market-data .text-muted { color: var(--hz-text-sub) !important; }
.market-data .market-card {
    background: var(--hz-bg-card) !important; border: 1px solid var(--hz-border) !important;
    transition: border-color 0.3s, transform 0.3s; border-radius: 12px;
}
.market-data .market-card:hover { border-color: var(--hz-gold) !important; transform: translateY(-6px); }
.market-data .market-card h6 { color: var(--hz-text-sub) !important; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1px; }
.market-data .market-card .price { color: var(--hz-text-main) !important; font-weight: 900; }
.market-data .egx-details-card { background: var(--hz-bg-card) !important; border: 1px solid var(--hz-border) !important; border-radius: 16px; padding: 20px; }
.market-data .nav-tabs { border-bottom: 1px solid var(--hz-border) !important; }
.market-data .nav-link.market-tab {
    color: var(--hz-text-sub) !important; background: transparent !important;
    border: 1px solid transparent !important; border-radius: 50px !important;
    padding: 8px 18px !important; font-size: 0.82rem; font-weight: 700; transition: all 0.25s;
}
.market-data .nav-link.market-tab:hover { color: var(--hz-gold) !important; }
.market-data .nav-link.market-tab.active { color: #000 !important; background: var(--hz-gold) !important; border-color: var(--hz-gold) !important; }
.market-data .carousel-control-prev-icon,
.market-data .carousel-control-next-icon { filter: invert(0) sepia(1) saturate(3) hue-rotate(10deg) brightness(1.2); }

/* ══ MARKET NEWS ══ */
#market-news { background: var(--hz-bg-page); color: var(--hz-text-main); padding: 80px 0; }
#market-news .text-muted { color: var(--hz-text-sub) !important; }
#market-news .glass-effect {
    background: var(--hz-bg-card) !important; border: 1px solid var(--hz-border) !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2) !important; border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
#market-news .glass-effect:hover { background: var(--hz-glow-xs) !important; border-color: var(--hz-gold) !important; transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.3) !important; }
#market-news .list-group-item { background: var(--hz-bg-card) !important; border-color: var(--hz-border) !important; color: var(--hz-text-main) !important; }
#market-news .section-title h4 { color: var(--hz-gold) !important; font-size: clamp(1.8rem,3.5vw,3rem) !important; font-weight: 900 !important; text-transform: uppercase; letter-spacing: 2px; }
#market-news .section-title p { color: var(--hz-text-sub) !important; }
#market-news a { color: var(--hz-gold); }
#market-news a:hover { color: var(--hz-text-main); }

/* ══ GLOBAL DARK SAFETY NET ══ */
canvas { background: transparent !important; }

.modal-content {
    background: var(--hz-bg-card, rgba(20,20,20,0.98)) !important;
    border: 1px solid var(--hz-border, rgba(212,175,55,0.2)) !important;
    color: var(--hz-text-main, #f4f4f4) !important;
}
.modal-header { border-bottom-color: var(--hz-border, rgba(212,175,55,0.2)) !important; }
.modal-footer { border-top-color: var(--hz-border, rgba(212,175,55,0.2)) !important; }

.accordion-button, .accordion-item {
    background: var(--hz-bg-card, rgba(255,255,255,0.04)) !important;
    color: var(--hz-text-main, #f4f4f4) !important;
    border-color: var(--hz-border, rgba(212,175,55,0.2)) !important;
}
.accordion-button:not(.collapsed) { color: var(--hz-gold, #D4AF37) !important; }


/* ── from style block 2 ── */


/* ══ INVESTOR / INVESTMENT COMPARISON SECTION ══ */
.bg-success-soft { background-color: rgba(39,174,96,0.1) !important; }
.bg-info-soft { background-color: rgba(13,110,253,0.1) !important; }
.bg-warning-soft { background-color: var(--hz-glow-sm) !important; }
.text-gradient { background: linear-gradient(90deg, #27AE60 0%, #2D9CDB 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.slider-success::-webkit-slider-thumb { background: var(--hz-gold); border: 3px solid var(--hz-bg-card); box-shadow: 0 2px 4px rgba(0,0,0,0.2); }
.slider-success::-moz-range-thumb { background: var(--hz-gold); border: 3px solid var(--hz-bg-card); box-shadow: 0 2px 4px rgba(0,0,0,0.2); }
.dashboard-stats .stat-card { transition: all 0.3s ease; }
.dashboard-stats .stat-card:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.result-card { display: flex; flex-direction: column; height: 100%; min-height: 320px; transition: all 0.3s ease; cursor: pointer; border-radius: 8px; }
.result-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.2) !important; }
.result-card.active { box-shadow: 0 5px 15px var(--hz-glow-sm) !important; }
.chart-container canvas, .allocation-chart-container canvas, .mini-chart canvas { max-width:100%!important; height:auto!important; display:block!important; -webkit-transform:translateZ(0)!important; transform:translateZ(0)!important; }
.chart-container, .allocation-chart-container, .mini-chart { -webkit-transform:translate3d(0,0,0)!important; transform:translate3d(0,0,0)!important; position:relative!important; overflow:hidden!important; }
#investmentChart, #allocationChart { width:100%!important; height:100%!important; min-height:250px!important; }
@supports (-webkit-touch-callout: none) {
    .chart-container, .allocation-chart-container { -webkit-overflow-scrolling:touch!important; will-change:transform!important; }
    canvas { -webkit-user-select:none!important; touch-action:manipulation!important; }
}
@media (max-width:768px) {
    .dashboard-stats .col-md-4 { margin-bottom:1rem; }
    .results-grid > div { margin-bottom:1rem; }
    .chart-container, .allocation-chart-container { min-height:200px!important; height:250px!important; }
    .mini-chart { height:50px!important; }
}
@media (max-width:576px) {
    .chart-container { height:200px!important; }
    .allocation-chart-container { height:180px!important; }
}

/* ══ ABOUT SECTION ══ */
.hz-about-section { background: var(--hz-bg-page); padding: 100px 0; }
.hz-about-image-wrap { position: relative; border-radius: 20px; overflow: visible; }
.hz-about-image { width: 100%; border-radius: 20px; object-fit: cover; max-height: 520px; border: 1px solid var(--hz-border); }
.hz-about-image-placeholder { width: 100%; min-height: 380px; border-radius: 20px; background: var(--hz-bg-card); border: 1px solid var(--hz-border); display: flex; align-items: center; justify-content: center; color: var(--hz-gold); font-size: 4rem; opacity: 0.4; }
.hz-about-badge { position: absolute; background: var(--hz-bg-card); border: 1px solid var(--hz-gold); border-radius: 12px; padding: 12px 18px; box-shadow: 0 8px 24px var(--hz-glow-sm); text-align: center; min-width: 100px; z-index: 2; }
.hz-about-badge--tl { top: -16px; left: -16px; }
.hz-about-badge--br { bottom: -16px; right: -16px; }
.hz-about-badge-value { font-size: 1.3rem; font-weight: 900; color: var(--hz-gold); line-height: 1; }
.hz-about-badge-label { font-size: 0.7rem; color: var(--hz-text-sub); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }
.hz-about-features { display: flex; flex-direction: column; gap: 20px; }
.hz-about-feature { display: flex; align-items: flex-start; gap: 16px; }
.hz-about-feature-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--hz-glow-sm); border: 1px solid var(--hz-border); display: flex; align-items: center; justify-content: center; color: var(--hz-gold); font-size: 1rem; flex-shrink: 0; }
.hz-about-feature-title { font-weight: 700; color: var(--hz-text-main); font-size: 0.95rem; margin-bottom: 2px; }
.hz-about-feature-sub { font-size: 0.82rem; color: var(--hz-text-sub); line-height: 1.5; }
@media (max-width: 768px) {
    .hz-about-badge--tl { top: -10px; left: 8px; }
    .hz-about-badge--br { bottom: -10px; right: 8px; }
}

/* ══ FAQ SECTION ══ */
.hz-faq-section { background: var(--hz-bg-page); padding: 100px 0; }
.hz-faq-accordion { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.hz-faq-item { border: 1px solid var(--hz-border); border-radius: 14px; overflow: hidden; background: var(--hz-bg-card); transition: border-color 0.3s; }
.hz-faq-item:hover { border-color: var(--hz-gold); }
.hz-faq-question { width: 100%; background: transparent; border: none; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--hz-text-main); font-size: 1rem; font-weight: 700; font-family: inherit; cursor: pointer; text-align: start; transition: color 0.2s; }
.hz-faq-question:hover, .hz-faq-question.active { color: var(--hz-gold); }
.hz-faq-icon { font-size: 0.8rem; color: var(--hz-gold); flex-shrink: 0; transition: transform 0.3s; }
.hz-faq-question.active .hz-faq-icon { transform: rotate(180deg); }
.hz-faq-answer { border-top: 1px solid var(--hz-border); }
.hz-faq-answer-body { padding: 20px 24px; color: var(--hz-text-sub); font-size: 0.95rem; line-height: 1.8; }

/* ===== Floating Action Stack ===== */
.hz-fab-stack {
    position: fixed;
    bottom: 24px;
    inset-inline-end: 24px; /* RTL/LTR aware: right in LTR, left in RTL */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 9999;
    pointer-events: none; /* container ignores clicks; buttons re-enable */
}

.hz-fab {
    pointer-events: auto;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    position: relative;
}

.hz-fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

/* Variants — tuned to your dark-luxe gold theme */
.hz-fab--ai {
    background: linear-gradient(135deg, #c9a13b 0%, #f0c850 100%);
    color: #1a1a1a;
}
.hz-fab--notifications {
    background: #ffffff;
    color: #1a1a1a;
    border: 1px solid rgba(0, 0, 0, 0.06);
}
.hz-fab--top {
    background: #ffffff;
    color: #555;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Notification badge */
.hz-fab__badge {
    position: absolute;
    top: -4px;
    inset-inline-end: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: #d63031;
    color: #fff;
    border-radius: 9px;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Switch to a horizontal row ("same line") on wider screens */
@media (min-width: 992px) {
    .hz-fab-stack {
        flex-direction: row-reverse; /* AI ends up nearest the corner */
    }
}

/* Mobile — keep them above the OS gesture bar */
@media (max-width: 480px) {
    .hz-fab-stack {
        bottom: 16px;
        inset-inline-end: 16px;
        gap: 10px;
    }
    .hz-fab {
        width: 46px;
        height: 46px;
        font-size: 16px;
    }
}

/* Optional: hide back-to-top until user scrolls */
.hz-fab--top { opacity: 0; visibility: hidden; transform: translateY(10px); }
.hz-fab--top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* ===== Panels and Modals for FABs ===== */
.hz-chatbot-panel{position:fixed;top:auto;bottom:90px;right:24px;width:380px;height:550px;background:var(--hz-bg-page,#05080a);border:1px solid var(--hz-border,rgba(255,255,255,.12));border-radius:20px;overflow:hidden;box-shadow:0 24px 80px rgba(0,0,0,.4),0 0 40px var(--hz-glow-xs,rgba(212,175,55,.07));transform:scale(0.8) translateY(20px);opacity:0;visibility:hidden;transition:all .3s cubic-bezier(.4,0,.2,1);transform-origin:bottom right;z-index:9998;}
[dir="rtl"] .hz-chatbot-panel{transform-origin:bottom left; right: auto; left: 24px;}
.hz-chatbot-panel--open{transform:scale(1) translateY(0);opacity:1;visibility:visible;}
.hz-chatbot-panel-header{padding:.75rem 1rem;display:flex;align-items:center;justify-content:space-between;background:var(--hz-bg-nav,rgba(5,8,10,.88));border-bottom:1px solid var(--hz-border,rgba(255,255,255,.12));font-size:.85rem;font-weight:600;color:var(--hz-text-main,#f4f4f4);}
.hz-chatbot-close{background:none;border:none;color:var(--hz-text-sub,#888);font-size:1rem;cursor:pointer;transition:color .2s;padding:0 .25rem;}
.hz-chatbot-close:hover{color:var(--hz-text-main,#f4f4f4);}
.hz-chatbot-iframe{width:100%;height:calc(100% - 50px);border:none;background:var(--hz-bg-page,#05080a);}
.hz-modal-content{background:var(--hz-bg-card,rgba(255,255,255,.04))!important;color:var(--hz-text-main,#f4f4f4);border:1px solid var(--hz-border,rgba(212,175,55,.2));}
.hz-modal-header,.hz-modal-footer{border-color:var(--hz-border,rgba(212,175,55,.2))!important;}
.hz-notif-date-sep{padding:.4rem 1rem;font-size:.68rem;font-weight:700;color:var(--hz-text-sub,#888);background:var(--hz-bg-page,#05080a);text-transform:uppercase;letter-spacing:.05em;}
.hz-notif-item{padding:.65rem 1rem;border-bottom:1px solid var(--hz-border,rgba(255,255,255,.08));transition:background .15s;}
.hz-notif-item:hover{background:var(--hz-glow-xs,rgba(212,175,55,.07));}
.hz-notif-item--unread{border-left:3px solid var(--hz-gold,#D4AF37);}
[dir="rtl"] .hz-notif-item--unread{border-left:none;border-right:3px solid var(--hz-gold,#D4AF37);}
.hz-notif-link{display:flex;align-items:flex-start;gap:.65rem;text-decoration:none;color:inherit;}
.hz-notif-icon{color:var(--hz-gold,#D4AF37);margin-top:.2rem;flex-shrink:0;}
.hz-notif-title{font-size:.82rem;color:var(--hz-text-main,#f4f4f4);font-weight:500;}
.hz-notif-time{font-size:.68rem;color:var(--hz-text-sub,#888);margin-top:.15rem;}
.hz-notif-new-badge{background:var(--hz-danger,#dc2626);color:#fff;font-size:.55rem;padding:.1rem .35rem;border-radius:3px;font-weight:700;margin-left:.35rem;}
.hz-btn-ghost{background:transparent;border:1px solid var(--hz-border,rgba(255,255,255,.15));color:var(--hz-text-sub,#888);font-size:.78rem;padding:.25rem .65rem;border-radius:6px;cursor:pointer;transition:all .2s;}
.hz-btn-ghost:hover{border-color:var(--hz-gold,#D4AF37);color:var(--hz-gold,#D4AF37);}
@media(max-width:575px){.hz-chatbot-panel{width:calc(100vw - 16px);height:70vh;right:8px!important;left:8px!important;bottom:90px;border-radius:16px;}}

/* ══ PARTNERS SECTION ══ */
.hz-partners-section { background: var(--hz-bg-page); padding: 80px 0; border-top: 1px solid var(--hz-border); border-bottom: 1px solid var(--hz-border); overflow: hidden; }
.hz-partners-track-wrap { position: relative; overflow: hidden; mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%); -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%); }
.hz-partners-track { display: flex; gap: 32px; width: max-content; animation: hz-partners-scroll 30s linear infinite; padding: 16px 0; }
.hz-partners-track:hover { animation-play-state: paused; }
@keyframes hz-partners-scroll { from { transform: translateX(0); } to { transform: translateX(-33.333%); } }
.hz-partner-item { display: flex; align-items: center; justify-content: center; min-width: 160px; height: 72px; background: var(--hz-bg-card); border: 1px solid var(--hz-border); border-radius: 12px; padding: 0 20px; transition: border-color 0.3s, box-shadow 0.3s; flex-shrink: 0; }
.hz-partner-item:hover { border-color: var(--hz-gold); box-shadow: 0 0 20px var(--hz-glow-xs); }
.hz-partner-item img { max-height: 40px; max-width: 120px; object-fit: contain; filter: grayscale(1) brightness(0.9); transition: filter 0.3s; }
.hz-partner-item:hover img { filter: grayscale(0) brightness(1); }
.hz-partner-abbr { font-size: 0.85rem; font-weight: 800; color: var(--hz-text-sub); letter-spacing: 1px; white-space: nowrap; transition: color 0.3s; }
.hz-partner-item:hover .hz-partner-abbr { color: var(--hz-gold); }
.hz-trust-badges { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.hz-trust-badge { display: flex; align-items: center; gap: 14px; background: var(--hz-bg-card); border: 1px solid var(--hz-border); border-radius: 14px; padding: 18px 24px; min-width: 220px; flex: 1; max-width: 280px; transition: border-color 0.3s, transform 0.3s; }
.hz-trust-badge:hover { border-color: var(--hz-gold); transform: translateY(-4px); }
.hz-trust-badge > i { font-size: 1.6rem; color: var(--hz-gold); flex-shrink: 0; }
.hz-trust-badge-title { font-size: 0.9rem; font-weight: 800; color: var(--hz-text-main); margin-bottom: 2px; }
.hz-trust-badge-sub { font-size: 0.75rem; color: var(--hz-text-sub); }

/* ══ NEWSLETTER SECTION ══ */
.hz-newsletter-section { background: var(--hz-bg-page); padding: 80px 0; }
.hz-newsletter-card { background: var(--hz-bg-card); border: 1px solid var(--hz-border); border-radius: 24px; padding: 60px; position: relative; overflow: hidden; }
.hz-newsletter-bg-deco { position: absolute; top: -60px; right: -60px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, var(--hz-glow-sm) 0%, transparent 70%); pointer-events: none; }
.hz-newsletter-features { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-direction: column; gap: 8px; }
.hz-newsletter-features li { display: flex; align-items: center; gap: 10px; color: var(--hz-text-sub); font-size: 0.9rem; }
.hz-newsletter-features li i { color: #4CAF50; font-size: 0.85rem; }
.hz-newsletter-form { display: flex; flex-direction: column; }
.hz-newsletter-input-group { display: flex; flex-direction: column; }
.hz-newsletter-success { text-align: center; padding: 40px 20px; border: 1px solid var(--hz-gold); border-radius: 16px; background: var(--hz-glow-xs); }
@media (max-width: 768px) {
    .hz-newsletter-card { padding: 32px 24px; }
    .hz-trust-badge { max-width: 100%; }
}

/* ══ INVESTMENT COMPARISON SECTION ══ */
.investment-comparison { background: var(--hz-bg-page); color: var(--hz-text-main); }
.investment-comparison .text-success { color: #4CAF50 !important; }
.investment-comparison .text-muted { color: var(--hz-text-sub) !important; }
.investment-comparison .text-warning { color: var(--hz-gold) !important; }
.investment-comparison .bg-white,
.investment-comparison .bg-light { background: var(--hz-bg-card) !important; color: var(--hz-text-main) !important; }
.investment-comparison .border-warning { border-color: var(--hz-gold) !important; }
.investment-comparison .border-success { border-color: #4CAF50 !important; }
.investment-comparison .border-info { border-color: #4a7abf !important; }
.investment-comparison .btn-outline-success { color: var(--hz-gold); border-color: var(--hz-gold); }
.investment-comparison .btn-outline-success:hover,
.investment-comparison .btn-outline-success.active { background: var(--hz-gold); color: var(--hz-bg-card); border-color: var(--hz-gold); }
.investment-comparison .btn-success { background: var(--hz-gold); border-color: var(--hz-gold); color: var(--hz-bg-card); font-weight: 600; }
.investment-comparison .btn-success:hover { background: var(--hz-bg-page); border-color: var(--hz-gold); color: var(--hz-gold); }
.investment-comparison .card-header.bg-light { background: var(--hz-bg-card) !important; border-bottom: 1px solid var(--hz-border) !important; }
.investment-comparison .alert-info { background: var(--hz-glow-sm); border-color: var(--hz-gold); color: var(--hz-gold); }
.investment-comparison h2 { color: var(--hz-gold) !important; }
.investment-comparison .bg-success-soft { background-color: rgba(22,163,74,0.1) !important; }
.investment-comparison .bg-info-soft { background-color: rgba(74,122,191,0.12) !important; }
.investment-comparison .bg-warning-soft { background-color: var(--hz-glow-sm) !important; }
.investment-comparison .legend-item { background: var(--hz-glow-xs) !important; border-color: var(--hz-glow) !important; color: var(--hz-text-main) !important; }
.investment-comparison .slider-success::-webkit-slider-thumb { background: var(--hz-gold); }
.investment-comparison .slider-success::-moz-range-thumb { background: var(--hz-gold); }
.investment-comparison .result-card.active { box-shadow: 0 5px 15px var(--hz-glow-sm) !important; }

/* ══ SOCIALS SECTION ══ */
.social-icons { position: relative; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; list-style: none; gap: 20px; max-width: 90%; }
.social-icons li { list-style: none; }
.social-icons li a { position: relative; width: 60px; height: 60px; display: block; text-align: center; border-radius: 50%; padding: 6px; box-sizing: border-box; text-decoration: none; box-shadow: 0 5px 15px rgba(0,0,0,0.1); background: var(--hz-bg-card); border: 1px solid var(--hz-border); transition: all 0.3s ease; }
.social-icons li a:hover { box-shadow: 0 2px 10px rgba(0,0,0,0.2); transform: translateY(-5px); }
.social-icons li a i { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: var(--hz-glow-xs); border-radius: 50%; font-size: 24px; color: var(--hz-gold); transition: all 0.3s ease; }
.social-icons li a[data-platform="facebook"]:hover i { color: #3b5998; }
.social-icons li a[data-platform="twitter"]:hover i { color: #1da1f2; }
.social-icons li a[data-platform="youtube"]:hover i { color: #ff0000; }
.social-icons li a[data-platform="linkedin"]:hover i { color: #0077b5; }
.social-icons li a[data-platform="instagram"]:hover i { color: #e4405f; }
.social-icons li a[data-platform="tiktok"]:hover i { color: #000; }
.wave-divider { height: 150px; width: 100%; overflow: hidden; position: absolute; left: 0; z-index: 1; }
.wave-divider svg { height: 100%; width: 100%; }
@media (max-width: 768px) {
    .social-icons { gap: 15px; }
    .social-icons li a { width: 50px; height: 50px; }
    .social-icons li a i { font-size: 20px; }
    .wave-divider { height: 100px; }
}

/* ══ BRANDS / CLIENTS SECTION ══ */
.clients { position: relative; padding: 50px 0; background: var(--hz-bg-page); }
.clients .section-title h2 { font-size: 2.5rem; color: var(--hz-gold); text-transform: uppercase; margin-bottom: 10px; }
.clients .section-title p { font-size: 1.1rem; color: var(--hz-text-sub); }
.glass-card { background: var(--hz-bg-card); backdrop-filter: blur(15px); border: 1px solid var(--hz-border); border-radius: 20px; padding: 40px 20px; text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease; box-shadow: 0 8px 24px rgba(0,0,0,0.2); max-width: 320px; margin: auto; }
.glass-card:hover { transform: translateY(-10px); box-shadow: 0 20px 30px var(--hz-glow-sm); border-color: var(--hz-gold); }
.glass-card h5 { font-size: 1.3rem; font-weight: bold; color: var(--hz-text-main); }
.glass-card p { font-size: 1rem; color: var(--hz-text-sub); }
.image-container { width: 150px; height: 150px; border-radius: 50%; overflow: hidden; margin: 0 auto 20px; border: 3px solid var(--hz-gold); box-shadow: 0 0 20px var(--hz-glow-xs); }
.glass-image { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 768px) { .glass-card { padding: 30px; } .image-container { width: 120px; height: 120px; } }
@media (max-width: 480px) { .glass-card { padding: 20px; } .image-container { width: 100px; height: 100px; } }

/* ══ CALLTOACTION / NEWSLETTER CARD ══ */
.newsletter-section { position: relative; overflow: hidden; }
.newsletter-card { position: relative; overflow: hidden; border: 1px solid var(--hz-border) !important; background: var(--hz-bg-card); }
.newsletter-card::before { content: ''; position: absolute; top: -50%; right: -50%; width: 100%; height: 200%; background: radial-gradient(circle, var(--hz-glow-xs) 0%, transparent 70%); transform: rotate(30deg); pointer-events: none; }

/* ══ DRAGON NEWSLETTER / COMBINED CONTACT ══ */
.premium-newsletter-card { border-radius: 16px; overflow: hidden; position: relative; isolation: isolate; border: 1px solid var(--hz-border); transition: all 0.3s ease; box-shadow: 0 5px 15px var(--hz-glow-sm); }
.premium-newsletter-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px var(--hz-glow); }
.premium-newsletter-card::after { content: ''; position: absolute; top: -50px; right: -50px; width: 200px; height: 200px; background: radial-gradient(circle, var(--hz-glow-xs) 0%, transparent 70%); border-radius: 50%; z-index: -1; }
.brand-section { display: flex; align-items: center; gap: 12px; }
.brand-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--hz-gold-gradient); color: #000; font-size: 1.2rem; flex-shrink: 0; }
.brand-text h3 { margin: 0; font-size: 1.1rem; font-weight: 700; color: var(--hz-text-main); }
.brand-text p { margin: 4px 0 0; font-size: 0.85rem; color: var(--hz-text-sub); }
.subscribe-form .form-group { display: flex; gap: 10px; }
.input-wrapper { flex: 1; position: relative; }
.email-icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--hz-gold); }
.form-input { width: 100%; height: 45px; padding: 0 15px 0 40px; border-radius: 50px; font-size: 0.9rem; background: var(--hz-bg-card) !important; border: 1px solid var(--hz-border) !important; color: var(--hz-text-main) !important; transition: all 0.3s ease; }
.form-input:focus { border-color: var(--hz-gold) !important; box-shadow: 0 0 0 3px var(--hz-glow-sm) !important; }
.privacy-note { font-size: 0.78rem; color: var(--hz-text-sub); }
.submit-btn { background: var(--hz-gold-gradient) !important; border: none !important; color: #000 !important; padding: 0 20px; border-radius: 50px; font-weight: 700; cursor: pointer; height: 45px; white-space: nowrap; transition: all 0.3s; }
.submit-btn:hover { opacity: 0.9; transform: translateY(-1px); }
@media (max-width: 768px) { .subscribe-form .form-group { flex-direction: column !important; gap: 1rem !important; } }

/* ══ CONTACT SECTION ══ */
#contact.hz-contact-override { background: var(--hz-bg-page) !important; color: var(--hz-text-main); --accent-orange: var(--hz-gold); --accent-loly: var(--hz-gold); --accent-light: var(--hz-gold); --glass-bg: var(--hz-bg-card); --glass-border: var(--hz-border); }
#contact.hz-contact-override h2, #contact.hz-contact-override h4 { color: var(--hz-gold) !important; }
#contact.hz-contact-override p { color: var(--hz-text-sub) !important; }
#contact.hz-contact-override .form-label { color: var(--hz-gold) !important; }
#contact.hz-contact-override .form-control { background: var(--hz-glow-xs) !important; border-color: var(--hz-border) !important; color: var(--hz-text-main) !important; }
#contact.hz-contact-override .form-control:focus { background: var(--hz-glow-sm) !important; border-color: var(--hz-gold) !important; box-shadow: 0 0 0 0.2rem var(--hz-glow-sm) !important; color: var(--hz-text-main) !important; }
#contact.hz-contact-override .form-control::placeholder { color: var(--hz-text-sub) !important; }
#contact.hz-contact-override .btn-primary { background: var(--hz-gold-gradient) !important; border: none !important; color: #000 !important; }
.contact-info-card, .contact-form-card { transition: all 0.3s ease; box-shadow: 0 5px 20px var(--hz-glow-sm); display: flex; flex-direction: column; height: 100%; min-height: 500px; }
.contact-info-card:hover, .contact-form-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px var(--hz-glow); }
.contact-form .form-control:focus { background: var(--hz-glow-sm) !important; border-color: var(--hz-gold) !important; box-shadow: 0 0 0 0.25rem var(--hz-glow-sm); color: var(--hz-text-main) !important; }
.contact-form .btn-primary:hover { background: var(--hz-gold-gradient) !important; transform: translateY(-2px); box-shadow: 0 5px 15px var(--hz-glow); }
[dir="rtl"] .contact-item { text-align: right; }
[dir="rtl"] .icon-wrapper { margin-right: 0 !important; margin-left: 0.75rem !important; }
@media (max-width: 768px) {
    .contact-info-card, .contact-form-card { padding: 1.5rem !important; }
    .map-container { height: 200px !important; }
}
@media (max-width: 576px) {
    .contact-info-card, .contact-form-card { padding: 1rem !important; }
    .contact-item h4 { font-size: 1rem !important; }
    .map-container { height: 180px !important; margin-top: 1rem !important; }
}

/* ══ UNIFIED NEWS SECTION (#sus) ══ */
#unified-news-section { background: var(--hz-bg-page) !important; color: var(--hz-text-main); }
#unified-news-section h2.text-secondary,
#unified-news-section .text-secondary { color: var(--hz-gold) !important; }
#unified-news-section .text-success { color: #4CAF50 !important; }
#unified-news-section .btn-outline-success { color: var(--hz-gold) !important; border-color: var(--hz-gold) !important; }
#unified-news-section .btn-outline-success:hover { background: var(--hz-gold) !important; color: var(--hz-bg-card) !important; }
#unified-news-section .card,
#unified-news-section .card-header,
#unified-news-section .card-body { background: var(--hz-bg-card) !important; border-color: var(--hz-border) !important; color: var(--hz-text-main) !important; }
#unified-news-section .bg-light { background: var(--hz-bg-card) !important; color: var(--hz-text-main) !important; }
#unified-news-section .nav-link { color: var(--hz-text-sub) !important; }
#unified-news-section .nav-link.active { color: var(--hz-gold) !important; border-bottom: 2px solid var(--hz-gold) !important; }
#unified-news-section .text-muted { color: var(--hz-text-sub) !important; }
#unified-news-section .text-dark { color: var(--hz-text-main) !important; }
#unified-news-section .text-secondary:not(h2) { color: var(--hz-text-sub) !important; }
#unified-news-section .badge.bg-light { background: var(--hz-bg-card) !important; color: var(--hz-text-sub) !important; border: 1px solid var(--hz-border) !important; }
#unified-news-section .badge.bg-secondary { background: var(--hz-glow-sm) !important; color: var(--hz-gold) !important; }
#unified-news-section .badge.bg-warning,
#unified-news-section .badge.bg-warning.text-dark { background: var(--hz-glow-sm) !important; color: var(--hz-gold) !important; border: 1px solid var(--hz-border) !important; }
#unified-news-section .border-top,
#unified-news-section .border { border-color: var(--hz-border) !important; }
#unified-news-section .category-badge { background: var(--hz-bg-card) !important; color: var(--hz-gold) !important; border: 1px solid var(--hz-border) !important; }
#unified-news-section .nav-tabs { -webkit-overflow-scrolling: touch; overflow-x: auto; white-space: nowrap; scrollbar-width: none; display: flex; flex-wrap: nowrap; }
#unified-news-section .nav-tabs::-webkit-scrollbar { display: none; }
#unified-news-section .nav-tabs .nav-link { border: none; padding: 0.4rem 1rem; font-size: 0.85rem; color: var(--hz-text-sub); white-space: nowrap; transition: all 0.3s ease; }
#unified-news-section .nav-tabs .nav-link:hover,
#unified-news-section .nav-tabs .nav-link.active { background-color: var(--hz-glow-xs); color: var(--hz-gold); font-weight: 600; }
#newsCategoryTabs { background-color: var(--hz-bg-card); margin: 0; }
#newsCategoryTabs .nav-link { border-bottom: 2px solid transparent; }
#newsCategoryTabs .nav-link.active { border-bottom-color: var(--hz-gold); }
.d-contents { display: contents; }
.news-item { background: var(--hz-bg-card); color: var(--hz-text-main); transition: all 0.3s ease; }
.news-item:hover { background-color: var(--hz-glow-xs) !important; box-shadow: 0 2px 6px var(--hz-glow-sm); border-color: var(--hz-gold) !important; transform: translateY(-2px); }
.source-badge { font-size: 0.65rem; padding: 0.15rem 0.4rem; border-radius: 3px; }
.source-badge.egx { background: linear-gradient(135deg, #3498db, #2980b9); color: #fff; }
.source-badge.admin { background: linear-gradient(135deg, #27ae60, #229954); color: #fff; }
.news-item.featured { border-left: 3px solid var(--hz-gold) !important; background: linear-gradient(90deg, var(--hz-glow-xs), transparent); }
.text-truncate-multiline { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
[dir="rtl"] .news-item { text-align: right; }
[dir="rtl"] .news-item.featured { border-left: none !important; border-right: 3px solid var(--hz-gold) !important; }
[dir="rtl"] .icon-wrapper { margin-left: 12px; margin-right: 0; }
#newsTabsContent { scrollbar-width: thin; scrollbar-color: var(--hz-gold) transparent; max-height: 450px; overflow-y: auto; }
#newsTabsContent::-webkit-scrollbar { width: 6px; }
#newsTabsContent::-webkit-scrollbar-track { background: transparent; }
#newsTabsContent::-webkit-scrollbar-thumb { background-color: var(--hz-gold); border-radius: 3px; }
#refresh-news-btn.refreshing #refresh-news-icon { animation: spin 1s linear infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.category-badge { font-size: 0.75rem; padding: 0.25rem 0.5rem; }
.news-image { width: 80px; height: 60px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
#newsDetailModal .modal-content { animation: modalSlideIn 0.3s ease-out; }
@keyframes modalSlideIn { from { opacity: 0; transform: translateY(-20px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } }
#newsDetailModal .news-modal-icon { width: 32px; height: 32px; background: var(--hz-glow-xs); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
#newsDetailModal #newsModalContent { scrollbar-width: thin; scrollbar-color: var(--hz-gold) transparent; }
#newsDetailModal #newsModalContent::-webkit-scrollbar { width: 4px; }
#newsDetailModal #newsModalContent::-webkit-scrollbar-track { background: transparent; }
#newsDetailModal #newsModalContent::-webkit-scrollbar-thumb { background-color: var(--hz-gold); border-radius: 2px; }
#newsDetailModal #newsModalContent p { margin-bottom: 0.75rem; }
#newsDetailModal #newsModalContent p:last-child { margin-bottom: 0; }
#newsModalSourceBadge.egx-source { background: rgba(255,255,255,0.25); color: #fff; backdrop-filter: blur(4px); }
#newsModalSourceBadge.admin-source { background: var(--hz-glow-sm); color: var(--hz-gold); }
#newsDetailModal .news-share-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px var(--hz-glow-sm); }
[dir="rtl"] #newsDetailModal .modal-header { flex-direction: row-reverse; }
[dir="rtl"] #newsDetailModal .btn-close { margin-left: 0; margin-right: auto; }
[dir="rtl"] #newsDetailModal #newsModalContent { text-align: right; }
@media (max-width: 576px) {
    #newsDetailModal .modal-dialog { margin: 0.5rem; max-width: calc(100% - 1rem); }
    #newsDetailModal #newsModalContent { max-height: 200px; }
    #newsDetailModal .modal-footer { flex-direction: column; gap: 0.5rem; }
    #newsDetailModal .modal-footer .btn { width: 100%; }
}
@keyframes fadeInUp { from { opacity: 0; transform: translate(-50%, 20px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes fadeOutDown { from { opacity: 1; transform: translate(-50%, 0); } to { opacity: 0; transform: translate(-50%, 20px); } }

/* ══ MARKET OVERVIEW ══ */
.market-data { background: var(--hz-bg-page); color: var(--hz-text-main); }
.market-data h6, .market-data h5 { color: var(--hz-text-main) !important; }
.market-data .text-muted { color: var(--hz-text-sub) !important; }
.market-data p.lead { color: var(--hz-text-sub); }
.market-tabs-container { overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
.market-tabs-container::-webkit-scrollbar { display: none; }
.market-tab { background: var(--hz-glow-xs); border: 2px solid var(--hz-border) !important; border-bottom: none !important; color: var(--hz-text-sub) !important; transition: all 0.3s ease; margin-right: 5px; white-space: nowrap; padding: 0.75rem 1.5rem; border-radius: 10px 10px 0 0; }
.market-tab:hover { background: var(--hz-glow-sm); border-color: var(--hz-gold) !important; color: var(--hz-gold) !important; transform: translateY(-2px); }
.market-tab.active { background: var(--hz-gold-gradient) !important; border-color: var(--hz-gold) !important; color: #000 !important; box-shadow: 0 4px 15px var(--hz-glow); }
.market-card { background: var(--hz-bg-card); border: 2px solid var(--hz-border); transition: all 0.3s ease; height: 100%; cursor: pointer; position: relative; overflow: hidden; }
.market-card::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, var(--hz-glow-xs), transparent); transition: left 0.5s ease; }
.market-card:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 15px 30px var(--hz-glow-sm); border-color: var(--hz-gold); }
.market-card:hover::before { left: 100%; }
.market-card .price { font-size: 1.1rem; font-weight: 700; transition: color 0.3s ease; }
.market-card .change { font-size: 0.9rem; transition: all 0.3s ease; }
.market-card.loading .price { animation: pulse 1.5s ease-in-out infinite; }
@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.5; } 100% { opacity: 1; } }
.market-data .tab-content { background: var(--hz-bg-card); border-radius: 0 10px 10px 10px; padding: 2rem; border: 1px solid var(--hz-border); min-height: 200px; }
.market-card[data-market*="gold"] .price { color: var(--hz-gold); }
.market-card[data-market*="silver"] .price { color: #c0c0c0; }
.market-card[data-market*="oil"] .price { color: var(--hz-text-sub); }
.market-card[data-market*="egx"] .price { color: #e74c3c; }
@media (max-width: 768px) {
    .market-tab { padding: 0.5rem 1rem; font-size: 0.9rem; }
    .market-data .tab-content { padding: 1rem; }
    .market-card:hover { transform: none; }
}

/* ══ EGX DETAILS CARDS ══ */
.egx-details-card { background: var(--hz-bg-card); border: 1px solid var(--hz-border); border-radius: 12px; padding: 1.5rem; box-shadow: 0 2px 15px rgba(0,0,0,0.2); transition: all 0.3s ease; height: 100%; }
.egx-details-card:hover { transform: translateY(-3px); box-shadow: 0 5px 25px var(--hz-glow-sm); border-color: var(--hz-gold); }
.egx-list { max-height: 300px; overflow-y: auto; }
.egx-stock-item { border: 1px solid var(--hz-border); transition: all 0.2s ease; }
.egx-stock-item:hover { background: var(--hz-glow-xs) !important; border-color: var(--hz-gold); transform: scale(1.02); }
.egx-investor-stats { font-size: 0.9rem; }
.investor-stat-row { padding: 0.75rem; background: var(--hz-glow-xs); border-radius: 8px; border: 1px solid var(--hz-border); }
@media (max-width: 768px) { .egx-details-card { padding: 1rem; } }
@media (max-width: 576px) { .egx-details-card { padding: 0.8rem; } }

/* ══ MARKET NEWS LIST ══ */
.glass-effect { background: var(--hz-bg-card); backdrop-filter: blur(8px); border-radius: 15px; padding: 15px; transition: background 0.3s ease; border: 1px solid var(--hz-border); }
.glass-effect:hover { background: var(--hz-glow-xs); }
.img-circle { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; border: 2px solid var(--hz-border); }
#market-news .list-group-item { border: none; border-radius: 15px; background: var(--hz-bg-card); box-shadow: 0 4px 8px rgba(0,0,0,0.2); transition: transform 0.3s ease, box-shadow 0.3s ease; color: var(--hz-text-main); }
#market-news .list-group-item:hover { transform: translateY(-5px); box-shadow: 0 8px 16px rgba(0,0,0,0.3); border-color: var(--hz-gold) !important; }
#market-news .list-group-item-action { display: flex; align-items: center; text-decoration: none; color: var(--hz-text-main); }
#market-news .list-group-item-action:hover { background: var(--hz-glow-xs); }
#market-news .card-img-top { height: 180px; object-fit: cover; }
#market-news .card { height: 100%; transition: transform 0.3s ease, box-shadow 0.3s ease; }
#market-news .card:hover { transform: translateY(-10px); box-shadow: 0 8px 16px var(--hz-glow-sm); }
#market-news .card-body { padding: 20px; }
#market-news .card-footer { padding: 10px 20px; border-top: none; }

/* ══ LEGACY TOKEN ALIASES ══ */
/* Maps old CSS variable names → hz-* tokens so legacy partials work without full migration */
:root {
    --text-light: var(--hz-text-main);
    --text-body: var(--hz-text-main);
    --text-muted: var(--hz-text-sub);
    --accent-color: var(--hz-gold);
    --accent-green: var(--hz-gold);
    --accent-loly: var(--hz-gold);
    --primary-dark: var(--hz-bg-page);
    --primary-light: color-mix(in srgb, var(--hz-bg-page) 80%, var(--hz-gold) 20%);
    --spacing-xxl: 6rem;
    --spacing-xl: 4rem;
    --spacing-lg: 3rem;
    --spacing-md: 1.5rem;
    --spacing-sm: 0.75rem;
    --font-accent: 'Cairo', 'Segoe UI', Arial, sans-serif;
    --shadow-card: 0 4px 20px rgba(0,0,0,0.3);
    --shadow-hover: 0 15px 40px rgba(0,0,0,0.4);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.2);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.3);
    --transition-normal: 0.3s ease;
    --glass-bg: var(--hz-bg-card);
    --glass-border: var(--hz-border);
    --glass-backdrop: blur(10px);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 50px;
    --radius-round: 50%;
}

/* ══ NAVBAR DARK OVERRIDES ══ */
#mainNavbar { background-color: var(--hz-bg-card) !important; box-shadow: 0 2px 10px rgba(0,0,0,0.3) !important; }
#mainNavbar .navbar-nav .nav-link { color: var(--hz-text-main) !important; }
#mainNavbar .navbar-nav .nav-link:hover, #mainNavbar .navbar-nav .nav-link:focus { color: var(--hz-gold) !important; }
.navbar-logo-container { background: var(--hz-bg-card) !important; border-color: var(--hz-gold) !important; }
.dropdown-menu { background: var(--hz-bg-card) !important; border: 1px solid var(--hz-border) !important; }
.dropdown-item { color: var(--hz-text-main) !important; }
.dropdown-item:hover { background: var(--hz-glow-xs) !important; color: var(--hz-gold) !important; }
.mobile-menu-content { background: var(--hz-bg-card) !important; }
.mobile-menu-item { background: var(--hz-bg-card) !important; }
.menu-card, .quick-access-card { background: var(--hz-bg-card) !important; color: var(--hz-text-main) !important; border-color: var(--hz-border) !important; }
.menu-card:hover, .quick-access-card:hover { border-color: var(--hz-gold) !important; }
.submenu-card { background: var(--hz-glow-xs) !important; color: var(--hz-text-main) !important; }
.submenu-card:hover { background: var(--hz-glow-sm) !important; border-color: var(--hz-gold) !important; }
.card-content p, .menu-content small, .card-content small { color: var(--hz-text-sub) !important; }
.zoom-control { background: var(--hz-bg-card) !important; border: 1px solid var(--hz-border) !important; }
.zoom-btn, .zoom-display { color: var(--hz-text-sub) !important; }
.btn-quick-access, .btn-mobile-menu { background: var(--hz-bg-card) !important; color: var(--hz-text-main) !important; border: 1px solid var(--hz-border) !important; }
.offcanvas-header { background: var(--hz-glow-xs) !important; border-bottom-color: var(--hz-gold) !important; }

/* ══ CHATBOT WIDGET ══ */
.chatbot-widget { position: fixed; bottom: 20px; left: 20px; z-index: 10000; font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; display: block !important; visibility: visible !important; opacity: 1 !important; }
.chatbot-widget * { box-sizing: border-box; }
/* Font Awesome icon fix */
.chatbot-widget .fas, .chatbot-widget .far, .chatbot-widget .fab, .chatbot-widget .fa,
.chatbot-widget i[class^="fa"], .chatbot-widget i[class*=" fa"],
.chatbot-widget [class^="fa-"], .chatbot-widget [class*=" fa-"] {
    font-family: "Font Awesome 6 Free","Font Awesome 6 Pro","Font Awesome 6 Brands","Font Awesome 5 Free","Font Awesome 5 Pro","FontAwesome" !important;
    font-style: normal !important; font-variant: normal !important; font-weight: 900 !important;
    text-rendering: auto !important; -webkit-font-smoothing: antialiased !important; display: inline-block !important;
}
.chatbot-toggle { display: flex !important; width: 60px; height: 60px; border-radius: 50%; background: var(--hz-gold-gradient); border: none; color: #000; font-size: 24px; cursor: pointer; box-shadow: 0 4px 20px rgba(250,174,64,0.4); transition: all 0.3s ease; position: relative; align-items: center; justify-content: center; }
.chatbot-toggle:hover { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(250,174,64,0.6); }
.pulse-ring { position: absolute; width: 100%; height: 100%; border: 2px solid rgba(250,174,64,0.5); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.3); opacity: 0; } }
.chatbot-container { position: absolute; bottom: 80px; left: 0; width: 380px; height: 500px; background: var(--hz-bg-card); border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,0.4); display: none; flex-direction: column; overflow: hidden; border: 1px solid var(--hz-border); }
.chatbot-container.open { display: flex; animation: slideUp 0.3s ease-out; }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.chatbot-header { background: var(--hz-gold-gradient); color: #000; padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; }
.chatbot-title { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; }
.chatbot-actions { display: flex; gap: 8px; }
.btn-icon { background: rgba(0,0,0,0.15); border: none; color: #000; width: 30px; height: 30px; border-radius: 6px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.btn-icon:hover { background: rgba(0,0,0,0.25); }
.chatbot-status { padding: 8px 20px; background: var(--hz-bg-page); border-bottom: 1px solid var(--hz-border); display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--hz-text-sub); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #10b981; animation: blink 2s infinite; }
@keyframes blink { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0.3; } }
.chatbot-messages { flex: 1; overflow-y: auto; padding: 15px; display: flex; flex-direction: column; gap: 12px; }
.chatbot-messages::-webkit-scrollbar { width: 4px; }
.chatbot-messages::-webkit-scrollbar-track { background: transparent; }
.chatbot-messages::-webkit-scrollbar-thumb { background: var(--hz-border); border-radius: 2px; }
.chatbot-messages::-webkit-scrollbar-thumb:hover { background: var(--hz-text-sub); }
.message { display: flex; gap: 10px; max-width: 85%; }
.bot-message { align-self: flex-start; }
.user-message { align-self: flex-end; flex-direction: row-reverse; }
.message-avatar { width: 35px; height: 35px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.bot-message .message-avatar { background: var(--hz-gold-gradient); color: #000; }
.user-message .message-avatar { background: var(--hz-border); color: var(--hz-text-sub); }
.message-content { flex: 1; }
.message-bubble { padding: 12px 16px; border-radius: 16px; font-size: 14px; line-height: 1.4; word-wrap: break-word; }
.bot-message .message-bubble { background: var(--hz-bg-page); color: var(--hz-text-main); border-bottom-left-radius: 6px; }
.user-message .message-bubble { background: var(--hz-gold-gradient); color: #000; border-bottom-right-radius: 6px; }
.message-bubble ul { margin: 8px 0; padding-left: 20px; }
.message-bubble li { margin: 4px 0; }
.message-bubble a { color: var(--hz-gold); text-decoration: none; font-weight: 500; border-bottom: 1px solid rgba(250,174,64,0.3); transition: all 0.2s ease; }
.message-bubble a:hover { color: var(--hz-gold); border-bottom-color: var(--hz-gold); background-color: var(--hz-glow-xs); padding: 2px 4px; border-radius: 4px; }
.message-time { font-size: 11px; color: var(--hz-text-sub); margin-top: 4px; padding: 0 16px; }
.user-message .message-time { text-align: right; }
.chatbot-quick-actions { padding: 10px 15px; border-top: 1px solid var(--hz-border); display: flex; gap: 8px; overflow-x: auto; }
.quick-action { background: var(--hz-bg-card); border: 1px solid var(--hz-border); border-radius: 20px; padding: 8px 12px; font-size: 12px; cursor: pointer; white-space: nowrap; display: flex; align-items: center; gap: 6px; transition: all 0.2s; color: var(--hz-text-sub); }
.quick-action:hover { background: var(--hz-glow-xs); border-color: var(--hz-gold); color: var(--hz-text-main); }
.chatbot-input { padding: 15px; border-top: 1px solid var(--hz-border); background: var(--hz-bg-card); }
.input-container { display: flex; gap: 10px; align-items: center; }
#chatbot-message-input { flex: 1; border: 1px solid var(--hz-border); border-radius: 20px; padding: 10px 16px; font-size: 14px; outline: none; transition: border-color 0.2s; background: var(--hz-bg-page); color: var(--hz-text-main); }
#chatbot-message-input:focus { border-color: var(--hz-gold); }
.send-button { width: 40px; height: 40px; border-radius: 50%; background: var(--hz-gold-gradient); border: none; color: #000; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.send-button:disabled { background: var(--hz-border); color: var(--hz-text-sub); cursor: not-allowed; }
.send-button:not(:disabled):hover { transform: scale(1.05); }
.input-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-size: 11px; color: var(--hz-text-sub); }
.typing-indicator { padding: 0 15px 15px; }
.typing-dots { padding: 12px 16px; background: var(--hz-bg-page); border-radius: 16px; border-bottom-left-radius: 6px; display: flex; gap: 4px; }
.typing-dots span { width: 6px; height: 6px; background: var(--hz-text-sub); border-radius: 50%; animation: typing 1.4s infinite; }
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-10px); } }
@media (max-width: 768px) {
    .chatbot-widget { bottom: 100px; left: 15px; z-index: 10001; }
    .chatbot-toggle { width: 56px; height: 56px; font-size: 22px; }
    .chatbot-container { width: calc(100vw - 30px); height: calc(100vh - 140px); bottom: 75px; left: 15px; right: 15px; border-radius: 12px; max-height: calc(100vh - 140px); }
    .chatbot-header { padding: 12px 16px; }
    .chatbot-title { font-size: 15px; }
    .btn-icon { width: 28px; height: 28px; }
    .chatbot-messages { padding: 12px; gap: 10px; }
    .message-bubble { padding: 10px 14px; font-size: 14px; max-width: 100%; }
    .quick-action { font-size: 12px; padding: 8px 12px; border-radius: 16px; }
    .chatbot-input { padding: 12px; }
    #chatbot-message-input { padding: 10px 14px; font-size: 14px; }
    .send-button { width: 38px; height: 38px; }
    .chatbot-toggle { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
    .btn-icon, .quick-action, .send-button { touch-action: manipulation; -webkit-tap-highlight-color: transparent; min-height: 44px; min-width: 44px; }
    .chatbot-widget { isolation: isolate; }
}
@media (max-width: 480px) {
    .chatbot-widget { bottom: 90px; left: 12px; }
    .chatbot-toggle { width: 52px; height: 52px; font-size: 20px; }
    .chatbot-container { width: calc(100vw - 24px); height: calc(100vh - 120px); bottom: 65px; left: 12px; right: 12px; border-radius: 10px; }
    .chatbot-header { padding: 10px 12px; }
    .chatbot-title { font-size: 14px; gap: 8px; }
    .chatbot-messages { padding: 10px; }
    .message-bubble { padding: 8px 12px; font-size: 13px; }
    .quick-action { font-size: 11px; padding: 6px 10px; border-radius: 14px; }
    .chatbot-input { padding: 10px; }
    #chatbot-message-input { padding: 8px 12px; font-size: 13px; }
    .send-button { width: 36px; height: 36px; font-size: 14px; }
    .input-footer { font-size: 10px; }
}
@media (max-width: 768px) and (orientation: landscape) {
    .chatbot-widget { bottom: 80px; }
    .chatbot-container { height: calc(100vh - 100px); bottom: 55px; max-height: calc(100vh - 100px); }
}

/* ══ HORIZON BANNER (hero) ══ */
.horizon-hero-section { background: var(--hz-bg-page); position: relative; overflow: hidden; }
.horizon-hero-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.04)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>'); opacity: 0.5; }
.horizon-hero-content { position: relative; z-index: 10; padding: 80px 0; }
.horizon-logo { width: 80px; height: 80px; margin-bottom: 1.5rem; }
.horizon-title { font-size: 3.5rem; font-weight: 700; color: var(--hz-text-main); margin-bottom: 0.5rem; }
.horizon-title span { background: var(--hz-gold-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.horizon-subtitle { font-size: 1.5rem; color: var(--hz-text-sub); margin-bottom: 1.5rem; }
.horizon-tagline { font-size: 1.1rem; color: var(--hz-text-sub); margin-bottom: 2rem; max-width: 600px; }
.btn-horizon-gold { background: var(--hz-gold-gradient); color: var(--hz-bg-page); font-weight: 700; padding: 1rem 2.5rem; border-radius: 50px; border: none; font-size: 1.1rem; transition: all 0.3s ease; box-shadow: 0 10px 30px rgba(212,175,55,0.3); }
.btn-horizon-gold:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(212,175,55,0.4); color: var(--hz-bg-page); }
.btn-horizon-outline { background: transparent; color: var(--hz-gold); font-weight: 600; padding: 1rem 2.5rem; border-radius: 50px; border: 2px solid var(--hz-gold); font-size: 1.1rem; transition: all 0.3s ease; }
.btn-horizon-outline:hover { background: var(--hz-glow-xs); color: var(--hz-gold); border-color: var(--hz-gold); }
.horizon-stats { margin-top: 3rem; display: flex; gap: 3rem; }
.horizon-stat-item { text-align: center; }
.horizon-stat-value { font-size: 2.5rem; font-weight: 700; color: var(--hz-gold); display: block; }
.horizon-stat-label { color: var(--hz-text-sub); font-size: 0.9rem; }
.horizon-hero-image { position: relative; z-index: 5; }
.horizon-hero-image img { max-width: 100%; filter: drop-shadow(0 20px 60px rgba(0,0,0,0.5)); }
.floating-card { position: absolute; background: var(--hz-bg-card); border-radius: 15px; padding: 1rem 1.5rem; box-shadow: 0 10px 40px rgba(0,0,0,0.2); animation: float 3s ease-in-out infinite; }
.floating-card-1 { top: 20%; right: -10%; animation-delay: 0s; }
.floating-card-2 { bottom: 20%; left: -5%; animation-delay: 1.5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
.gold-accent-line { width: 80px; height: 4px; background: linear-gradient(90deg, var(--hz-gold), transparent); margin-bottom: 1.5rem; border-radius: 2px; }
[dir="rtl"] .horizon-stats { flex-direction: row-reverse; }
[dir="rtl"] .gold-accent-line { background: linear-gradient(-90deg, var(--hz-gold), transparent); }
@media (max-width: 991px) { .horizon-title { font-size: 2.5rem; } .horizon-subtitle { font-size: 1.25rem; } .horizon-stats { gap: 2rem; flex-wrap: wrap; justify-content: center; } .horizon-hero-image { margin-top: 3rem; } .floating-card { display: none; } }
@media (max-width: 576px) { .horizon-title { font-size: 2rem; } .horizon-hero-content { padding: 50px 0; } .horizon-stats { gap: 1.5rem; } .horizon-stat-value { font-size: 1.8rem; } }

/* ══ HORIZON FEATURES ══ */
.horizon-features-section { background: var(--hz-bg-page); position: relative; overflow: hidden; padding: 80px 0; }
.horizon-features-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(ellipse at top right, var(--hz-glow), transparent 50%), radial-gradient(ellipse at bottom left, rgba(27,79,114,0.1), transparent 50%); pointer-events: none; }
.section-title-gold { font-size: 2.5rem; font-weight: 800; color: var(--hz-gold); margin-bottom: 16px; }
.section-subtitle { color: var(--hz-text-sub); font-size: 1.1rem; margin-bottom: 50px; }
.feature-card-horizon { background: var(--hz-bg-card); border: 1px solid var(--hz-border); border-radius: 16px; padding: 32px; text-align: center; transition: all 0.4s cubic-bezier(0.4,0,0.2,1); position: relative; overflow: hidden; height: 100%; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.feature-card-horizon::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--hz-gold-gradient); transform: scaleX(0); transition: transform 0.3s ease; }
.feature-card-horizon:hover::before { transform: scaleX(1); }
.feature-card-horizon:hover { border-color: var(--hz-gold); transform: translateY(-8px); box-shadow: 0 15px 40px var(--hz-glow-sm); }
.feature-icon-horizon { width: 80px; height: 80px; background: var(--hz-glow-sm); border-radius: 20px; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; font-size: 32px; color: var(--hz-gold); }
.feature-title-horizon { font-size: 1.25rem; font-weight: 700; color: var(--hz-gold); margin-bottom: 12px; }
.feature-description-horizon { color: var(--hz-text-sub); font-size: 0.95rem; line-height: 1.7; }
.badge-new-feature { background: var(--hz-gold-gradient); color: #0a0a12; font-size: 0.65rem; padding: 4px 10px; border-radius: 20px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; position: absolute; top: 16px; right: 16px; animation: badgePulse 2s infinite; }
.badge-ai-feature { background: linear-gradient(135deg, #8B5CF6, #6366F1); color: white; }
@keyframes badgePulse { 0%, 100% { box-shadow: 0 0 0 0 var(--hz-glow); } 50% { box-shadow: 0 0 0 8px transparent; } }
.cta-button-horizon { background: var(--hz-gold); color: var(--hz-bg-page); border: none; padding: 14px 40px; border-radius: 50px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; transition: all 0.3s ease; text-decoration: none; display: inline-block; }
.cta-button-horizon:hover { transform: translateY(-2px); box-shadow: 0 8px 30px var(--hz-glow-sm); color: var(--hz-bg-page); }
.fade-in-up { opacity: 0; transform: translateY(30px); animation: fadeInUp 0.6s ease forwards; }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }
.fade-in-up:nth-child(1) { animation-delay: 0.1s; } .fade-in-up:nth-child(2) { animation-delay: 0.2s; } .fade-in-up:nth-child(3) { animation-delay: 0.3s; } .fade-in-up:nth-child(4) { animation-delay: 0.4s; } .fade-in-up:nth-child(5) { animation-delay: 0.5s; } .fade-in-up:nth-child(6) { animation-delay: 0.6s; }
[dir="rtl"] .badge-new-feature { right: auto; left: 16px; }

/* ══ HOW IT WORKS ══ */
.portfolio { padding: 50px 0; }
.info-step { background: var(--hz-bg-card); border-left: 5px solid var(--hz-gold); padding: 20px; margin-bottom: 20px; border-radius: 8px; box-shadow: 0 6px 10px rgba(0,0,0,0.2); transition: 0.3s; flex: 1 0 30%; max-height: 150px; }
.info-step:hover { transform: translateY(-5px); }
.info-step h4 { color: var(--hz-gold); margin-bottom: 10px; font-size: 14px; }
.info-step p { margin-left: 25px; color: var(--hz-text-sub); }
.step-icon { color: var(--hz-gold); margin-right: 10px; }

/* ══ WHY US / FEATURE BOXES ══ */
.feature-box { background: var(--hz-bg-card); padding: 2rem; border-radius: var(--hz-card-radius); height: 100%; box-shadow: 0 4px 6px rgba(0,0,0,0.1); transition: transform 0.3s ease; text-align: center; display: flex; flex-direction: column; justify-content: center; }
.feature-box:hover { transform: translateY(-5px); }
.feature-box i { font-size: 2.5rem; color: var(--hz-gold); margin-bottom: 1rem; }
.feature-box h5 { color: var(--hz-text-main); font-weight: 600; margin-bottom: 1rem; }
.feature-box p { color: var(--hz-text-sub); }

/* ══ TESTIMONIALS ══ */
.testimonial-card { transition: all 0.3s ease; box-shadow: 1px 1px 2px 3px var(--hz-gold); }
.testimonial-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.2); border-color: var(--hz-gold) !important; }
.default-avatar { transition: all 0.3s ease; position: relative; overflow: hidden; }
.default-avatar:hover { transform: scale(1.05); }
.client-avatar { display: inline-block; }
.testimonial-text { position: relative; padding-left: 20px; }
.testimonial-text::before { content: ''; position: absolute; left: 0; top: 0; height: 100%; width: 3px; background: var(--hz-gold); border-radius: 3px; }
@media (max-width: 768px) { .testimonial-card { padding: 2rem 1.5rem; } }

/* ══ SERVICES (MODERN SLIDER) ══ */
.services-section { padding: 80px 0; background: var(--hz-bg-page); }
.services-slider-container { position: relative; overflow: hidden; padding: 0 60px; }
.services-slider-wrapper { overflow: hidden; }
.services-slider { display: flex !important; gap: 24px; transition: transform 0.5s ease; padding: 20px 0; }
.service-card-modern { flex: 0 0 280px; min-width: 280px; background: var(--hz-bg-card); border-radius: 16px; padding: 40px 30px; text-align: center; cursor: pointer; transition: all 0.4s cubic-bezier(0.175,0.885,0.32,1.275); box-shadow: 0 4px 12px rgba(0,0,0,0.08); border: 2px solid transparent; }
.service-card-modern:hover { transform: translateY(-10px); box-shadow: 0 12px 28px rgba(0,0,0,0.15); border-color: var(--hz-gold); }
.icon-wrapper-modern { width: 80px; height: 80px; margin: 0 auto 24px; background: var(--hz-gold-gradient); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; }
.service-card-modern:hover .icon-wrapper-modern { transform: rotate(360deg) scale(1.1); }
.icon-wrapper-modern i { font-size: 36px; color: #000; }
.service-title-modern { font-size: 20px; font-weight: 700; color: var(--hz-text-main); margin-bottom: 16px; min-height: 60px; display: flex; align-items: center; justify-content: center; }
.service-description-modern { font-size: 15px; color: var(--hz-text-sub); line-height: 1.6; min-height: 70px; }
.service-link-modern { display: inline-flex; align-items: center; gap: 8px; color: var(--hz-gold); font-weight: 600; text-decoration: none; font-size: 15px; transition: all 0.3s ease; }
.service-link-modern:hover { color: var(--hz-gold); gap: 12px; }
.service-link-modern i { transition: transform 0.3s ease; }
.service-card-modern:hover .service-link-modern i { transform: translateX(5px); }
[dir="rtl"] .service-card-modern:hover .service-link-modern i { transform: translateX(-5px); }
[dir="rtl"] .services-slider { direction: ltr; }
[dir="rtl"] .service-card-modern { direction: rtl; }
.slider-nav-modern { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; background: var(--hz-bg-card); border: 2px solid var(--hz-gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s ease; z-index: 10; }
.slider-nav-modern:hover { background: var(--hz-gold); transform: translateY(-50%) scale(1.1); }
.slider-nav-modern i { font-size: 20px; color: var(--hz-gold); transition: color 0.3s ease; }
.slider-nav-modern:hover i { color: #000; }
.slider-nav-modern.prev { left: 0; }
.slider-nav-modern.next { right: 0; }
@media (max-width: 768px) { .services-slider-container { padding: 0 50px; } .service-card-modern { flex: 0 0 260px; min-width: 260px; padding: 30px 20px; } .slider-nav-modern { width: 40px; height: 40px; } .slider-nav-modern i { font-size: 16px; } }
@media (max-width: 480px) { .services-slider-container { padding: 0 40px; } .service-card-modern { flex: 0 0 240px; min-width: 240px; } }

/* ══ HERO BANNER (legacy) ══ */
.hero { background: var(--hz-bg-page); padding: 100px 0; position: relative; overflow: hidden; }
.hero:before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url('/assets/img/des.png') no-repeat center center; background-size: cover; opacity: 0.1; z-index: 0; }
.banner-row { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.hero-image-col { flex: 0 0 45%; max-width: 45%; position: relative; z-index: 5; text-align: center; }
.hero-image-col img { max-width: 320px; width: 100%; height: auto; }
.hero-text-col { flex: 0 0 50%; max-width: 50%; position: relative; z-index: 10; }
.hero-content-box { background: var(--hz-bg-card); border-radius: var(--hz-card-radius); padding: 30px 35px; box-shadow: 0 10px 40px rgba(0,0,0,0.2); position: relative; z-index: 10; min-height: 180px; display: flex; flex-direction: column; justify-content: center; margin-left: auto; max-width: 100%; }
.hero-content-box h1 { font-size: 1.8rem; font-weight: 700; color: var(--hz-text-main); margin-bottom: 15px; line-height: 1.3; }
.hero-content-box p { font-size: 1rem; color: var(--hz-text-sub); line-height: 1.6; margin-bottom: 0; }
.hero-image-text { text-align: center; margin-top: 15px; padding: 10px 20px; }
.hero-image-text p { font-size: 0.95rem; color: var(--hz-text-sub); line-height: 1.5; margin: 0; }
.btn-orange { background: var(--hz-gold-gradient); border: none; color: #000; font-weight: 600; }
.btn-orange:hover { filter: brightness(1.1); color: #000; }
[dir="rtl"] .banner-row { flex-direction: row-reverse; }
[dir="rtl"] .hero-content-box { margin-left: 0; margin-right: auto; }
@media (max-width: 991px) { .banner-row { flex-direction: column; text-align: center; } .hero-image-col, .hero-text-col { flex: 0 0 100%; max-width: 100%; } .hero-image-col { order: 1; margin-bottom: 20px; } .hero-text-col { order: 2; } .hero-content-box { margin: 0 auto; max-width: 500px; } [dir="rtl"] .hero-content-box { margin: 0 auto; } }
@media (max-width: 768px) { .hero { padding: 60px 0; } .hero-content-box { padding: 20px 25px; } .hero-content-box h1 { font-size: 1.4rem; } .hero-content-box p { font-size: 0.9rem; } .hero-image-col img { max-width: 200px; } }
@media (max-width: 576px) { .hero-image-col { display: none; } .hero-text-col { flex: 0 0 100%; max-width: 100%; } .hero-content-box { margin: 0 15px; max-width: calc(100% - 30px); } }

/* ══ HORIZON OVERLAP CARDS ══ */
.horizon-overlap-section { position: relative; }
.overlap-card { background: var(--hz-bg-card); border: 1px solid var(--hz-border) !important; border-radius: var(--hz-card-radius); box-shadow: 0 10px 30px rgba(0,0,0,0.15); border-top: 4px solid var(--hz-gold) !important; transition: all 0.3s ease; color: var(--hz-text-main); }
.overlap-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0,0,0,0.25); border-color: var(--hz-gold) !important; }
.overlap-icon-box { width: 50px; height: 50px; background: var(--hz-glow-sm); color: var(--hz-gold); display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 1.2rem; border: 1px solid var(--hz-border); }
.overlap-market-badge { font-size: 0.9rem; padding: 10px 12px; border-radius: 8px; background: var(--hz-bg-page); border: 1px solid var(--hz-border); margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; border-left: 3px solid var(--hz-gold); }
[dir="rtl"] .overlap-market-badge { border-left: 1px solid var(--hz-border); border-right: 3px solid var(--hz-gold); }
.overlap-text-gold { color: var(--hz-gold) !important; }
.overlap-link { color: var(--hz-gold) !important; text-decoration: none; }
.overlap-link:hover { color: var(--hz-primary) !important; }
.overlap-range::-webkit-slider-thumb { background: var(--hz-gold); }
.overlap-range::-moz-range-thumb { background: var(--hz-gold); }
.why-horizon-section { background: var(--hz-bg-page); }
.why-horizon-section h6 { color: var(--hz-gold); }
.why-horizon-section h2, .why-horizon-section h4 { color: var(--hz-text-main); }
.why-horizon-section p { color: var(--hz-text-sub); }
.why-horizon-section .fa-3x { color: var(--hz-gold); }
@media (max-width: 991px) { .horizon-overlap-section { margin-top: 30px !important; } }
@media (max-width: 576px) { .overlap-card { padding: 1.25rem !important; } }

/* ══ LAYOUT STRUCTURAL STYLES ══ */
body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
.footer, footer, section[id*="footer"] { margin-top: auto; }
.main-content { margin-top: 70px; min-height: calc(100vh - 70px); }
.skip-to-content { position: absolute; top: -40px; left: 6px; background: var(--hz-gold); color: #000; padding: 8px; text-decoration: none; border-radius: var(--radius-sm); z-index: 10000; transition: top 0.3s ease; }
.skip-to-content:focus { top: 6px; }
.back-to-top { position: fixed; bottom: 20px; right: 20px; width: 50px; height: 50px; background: var(--hz-gold); color: #000; border: none; border-radius: var(--radius-full); display: none; align-items: center; justify-content: center; cursor: pointer; z-index: 1000; transition: all 0.3s ease; box-shadow: 0 4px 20px rgba(0,0,0,0.3); }
.back-to-top:hover { background: var(--hz-gold); transform: scale(1.1); }
.back-to-top.show { display: flex; }
.theme-toggle { position: fixed; top: 100px; right: 20px; width: 50px; height: 50px; background: var(--hz-bg-card); color: var(--hz-text-main); border: 1px solid var(--hz-border); border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 1000; transition: all 0.3s ease; box-shadow: 0 4px 20px rgba(0,0,0,0.3); }
.theme-toggle:hover { background: var(--hz-glow-xs); transform: scale(1.1); }
.rtl-layout { direction: rtl; text-align: right; }
.rtl-layout .back-to-top, .rtl-layout .theme-toggle { right: auto; left: 20px; }
@media (max-width: 768px) { .main-content { margin-top: 60px; min-height: calc(100vh - 60px); } .back-to-top, .theme-toggle { width: 45px; height: 45px; } .theme-toggle { top: 80px; right: 15px; } .back-to-top { bottom: 15px; right: 15px; } .rtl-layout .back-to-top, .rtl-layout .theme-toggle { right: auto; left: 15px; } }
@media print { .skip-to-content, .back-to-top, .theme-toggle { display: none !important; } .main-content { margin-top: 0; } }

/* ══ GLOBAL FONT AWESOME FIX ══ */
i.fas, i.far, i.fab, i.fa, span.fas, span.far, span.fab, span.fa,
.fas, .far, .fab, .fa, [class^="fa-"], [class*=" fa-"],
.fa:before, .fas:before, .far:before, .fab:before,
[class^="fa-"]:before, [class*=" fa-"]:before,
html body * .fas, html body * .far, html body * .fab, html body * .fa,
html body * [class^="fa-"], html body * [class*=" fa-"],
html body * i[class^="fa"], html body * i[class*=" fa"],
html * .fas:before, html * .far:before, html * .fab:before, html * .fa:before,
html * [class^="fa-"]:before, html * [class*=" fa-"]:before {
    font-family: "Font Awesome 6 Free","Font Awesome 6 Pro","Font Awesome 6 Brands","Font Awesome 5 Free","Font Awesome 5 Pro","FontAwesome" !important;
    font-style: normal !important; font-variant: normal !important; text-rendering: auto !important;
    -webkit-font-smoothing: antialiased !important; speak: none !important;
    display: inline-block !important; text-transform: none !important; line-height: 1 !important;
    font-weight: 900 !important;
}
html * .far, html * .far:before, html * .fa-regular:before { font-weight: 400 !important; }
html * .fab, html * .fab:before, html * .fa-brands:before { font-weight: 400 !important; }
html * .fas, html * .fas:before, html * .fa-solid:before { font-weight: 900 !important; }
html * .fal, html * .fal:before, html * .fa-light:before { font-weight: 300 !important; }

/* ══ THEME SWITCHER WIDGET ══ */
.theme-switcher-widget { position: fixed; top: 50%; right: 20px; transform: translateY(-50%); z-index: 1000; font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; }
.theme-switcher-toggle { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); border: none; color: white; width: 50px; height: 50px; border-radius: 25px; cursor: pointer; box-shadow: 0 4px 15px rgba(102,126,234,0.3); transition: all 0.3s ease; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.theme-switcher-toggle:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(102,126,234,0.4); width: 80px; }
.theme-switcher-toggle:hover .switcher-label { opacity: 1; transform: translateX(0); }
.theme-switcher-toggle i { font-size: 18px; margin-bottom: 2px; }
.switcher-label { font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; opacity: 0; transform: translateX(10px); transition: all 0.3s ease; line-height: 1; }
.theme-switcher-panel { position: absolute; right: 60px; top: 50%; transform: translateY(-50%); width: 280px; background: #1e1e2e; border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,0.4); display: none; border: 1px solid var(--hz-border); overflow: hidden; }
.theme-switcher-panel.show { display: block; animation: slideInRight 0.3s ease-out; }
@keyframes slideInRight { from { transform: translateY(-50%) translateX(20px); opacity: 0; } to { transform: translateY(-50%) translateX(0); opacity: 1; } }
.panel-header { padding: 16px 20px; border-bottom: 1px solid var(--hz-border); display: flex; justify-content: space-between; align-items: center; background: var(--hz-bg-page); }
.panel-header h6 { margin: 0; font-size: 14px; font-weight: 600; color: var(--hz-text-main); }
.close-panel { background: none; border: none; color: var(--hz-text-sub); cursor: pointer; padding: 4px; border-radius: 4px; transition: all 0.2s ease; }
.close-panel:hover { background: var(--hz-glow-xs); color: var(--hz-text-main); }
.themes-grid { padding: 16px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; max-height: 300px; overflow-y: auto; background: var(--hz-bg-card); }
.theme-option { border: 2px solid var(--hz-border); border-radius: 12px; padding: 10px; cursor: pointer; transition: all 0.3s ease; position: relative; background: var(--hz-bg-card); }
.theme-option:hover { border-color: var(--hz-gold); transform: translateY(-2px); box-shadow: 0 4px 12px var(--hz-glow-sm); }
.theme-option.active { border-color: #28a745; background: var(--hz-glow-xs); }
.theme-preview-mini { width: 100%; height: 60px; border-radius: 8px; overflow: hidden; margin-bottom: 8px; border: 1px solid var(--hz-border); }
.preview-header { height: 20px; width: 100%; }
.preview-content { padding: 6px; height: 40px; background: var(--hz-bg-page); display: flex; flex-direction: column; gap: 3px; }
.preview-bar { height: 4px; border-radius: 2px; width: 100%; }
.preview-bar.short { width: 70%; }
.preview-button { width: 30px; height: 8px; border-radius: 4px; margin-top: 2px; }
.theme-name { font-size: 11px; font-weight: 600; color: var(--hz-text-main); text-align: center; line-height: 1.2; }
.active-indicator { position: absolute; top: 6px; right: 6px; background: #28a745; color: white; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; }
.panel-footer { padding: 12px 20px; border-top: 1px solid var(--hz-border); background: var(--hz-bg-page); text-align: center; }
.panel-footer small { font-size: 11px; color: var(--hz-text-sub); }
.themes-grid::-webkit-scrollbar { width: 4px; }
.themes-grid::-webkit-scrollbar-track { background: var(--hz-bg-page); border-radius: 2px; }
.themes-grid::-webkit-scrollbar-thumb { background: var(--hz-border); border-radius: 2px; }
.themes-grid::-webkit-scrollbar-thumb:hover { background: var(--hz-text-sub); }
.theme-switching { opacity: 0.7; pointer-events: none; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@media (max-width: 768px) { .theme-switcher-widget { right: 10px; } .theme-switcher-panel { right: 10px; width: 260px; transform: translateY(-50%) translateX(70px); } .theme-switcher-panel.show { transform: translateY(-50%) translateX(0); } .theme-switcher-toggle { width: 45px; height: 45px; border-radius: 22.5px; } .theme-switcher-toggle:hover { width: 45px; } .switcher-label { display: none; } }

/* ══ AINOVA CHATBOT WIDGET ══ */
@keyframes ainova-pulse { 0%,100% { box-shadow: 0 8px 32px var(--hz-glow); } 50% { box-shadow: 0 8px 48px var(--hz-glow), 0 0 0 8px var(--hz-glow); } }
#ainova-toggle:hover { transform: scale(1.1) !important; box-shadow: 0 12px 40px var(--hz-glow) !important; }
@media (max-width: 480px) { #ainova-panel { width: calc(100vw - 40px); } }

/* ══ TIMELINE ══ */
.timeline { position: relative; padding: 20px 0; }
.timeline-item { display: flex; align-items: flex-start; margin-bottom: 30px; }
.timeline-year { font-size: 24px; font-weight: bold; background: var(--hz-gold-gradient); color: #000; padding: 10px 15px; border-radius: 5px; min-width: 100px; text-align: center; }
.timeline-content { display: flex; flex-wrap: wrap; align-items: center; margin-left: 20px; background: var(--hz-bg-card); color: var(--hz-text-main); padding: 15px; border-radius: 8px; flex-grow: 1; border: 1px solid var(--hz-border); }
.timeline-image img { max-width: 150px; border-radius: 8px; margin-right: 15px; }
.timeline-text { flex-grow: 1; }
@media (max-width: 768px) { .timeline-item { flex-direction: column; align-items: center; } .timeline-year { margin-bottom: 10px; } .timeline-content { margin-left: 0; text-align: center; } .timeline-image img { margin: 0 auto 10px; } }

/* ══ PWA INSTALL BUTTON ══ */
.pwa-install-button { position: fixed; bottom: 220px; z-index: 998; background: linear-gradient(135deg, #667eea, #764ba2); color: white; border: none; border-radius: 50px; padding: 12px 20px; box-shadow: 0 4px 12px rgba(102,126,234,0.4); cursor: pointer; display: flex; align-items: center; gap: 8px; transition: all 0.3s ease; font-weight: 600; font-size: 14px; animation: pulseInstall 2s infinite; }
.pwa-install-button:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(102,126,234,0.5); }
.pwa-install-button i { font-size: 18px; }
@keyframes pulseInstall { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
.pwa-install-button.collapsed { width: 50px; height: 50px; padding: 0; border-radius: 50%; justify-content: center; }
.pwa-install-button.collapsed .install-text { display: none; }
@media (max-width: 768px) { .pwa-install-button { bottom: 200px; padding: 10px 16px; font-size: 13px; } }

/* ══ NEWS TICKER (async) ══ */
.news-ticker-section { background: var(--hz-bg-page); padding: 10px 0; border-bottom: 1px solid var(--hz-border); position: relative; z-index: 100; }
.news-ticker-wrapper { display: flex; align-items: center; overflow: hidden; }
.ticker-label { background: var(--hz-gold-gradient); color: var(--hz-bg-page); padding: 8px 20px; font-weight: bold; white-space: nowrap; margin-right: 20px; flex-shrink: 0; }
[dir="rtl"] .ticker-label { margin-right: 0; margin-left: 20px; }
.ticker-items { display: inline-flex; white-space: nowrap; animation: scroll-news 60s linear infinite; padding-left: 100%; }
.ticker-items:hover { animation-play-state: paused; }
@keyframes scroll-news { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
[dir="rtl"] .ticker-items { animation: scroll-news-rtl 60s linear infinite; }
@keyframes scroll-news-rtl { 0% { transform: translateX(0); } 100% { transform: translateX(50%); } }

/* ══ POSTS / BLOG LIST ══ */
.card-img-top { height: 180px; object-fit: cover; }
.posts-glass-effect { background: var(--hz-bg-card); backdrop-filter: blur(8px); border-radius: 15px; padding: 15px; border: 1px solid var(--hz-border); }

/* ══ STOCK TICKER ══ */
.stock-ticker-fixed { background: var(--hz-gold); position: fixed; top: 0; left: 0; right: 0; z-index: 9999; padding: 6px 0; box-shadow: 0 2px 4px var(--hz-glow); }
.ticker-wrapper { width: 100%; overflow: hidden; position: relative; }
.ticker-content { display: inline-flex; white-space: nowrap; animation: scroll 90s linear infinite; gap: 40px; padding-left: 100%; }
.ticker-content:hover { animation-play-state: paused; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.ticker-item { display: inline-block; color: #000; font-size: 14px; font-weight: 500; padding: 0 15px; white-space: nowrap; cursor: default; }
.ticker-item strong { font-weight: 700; color: #000; }
.ticker-item .text-success { color: #0d6f0d !important; font-weight: 600; }
.ticker-item .text-danger { color: #c82333 !important; font-weight: 600; }
[dir="rtl"] .ticker-content { animation: scroll-rtl 90s linear infinite; }
@keyframes scroll-rtl { 0% { transform: translateX(0); } 100% { transform: translateX(50%); } }
body { padding-top: 32px; }
@media (max-width: 768px) { .stock-ticker-fixed { padding: 4px 0; } .ticker-item { font-size: 12px; padding: 0 10px; } .ticker-content { gap: 25px; } body { padding-top: 28px; } }
@media (max-width: 480px) { .ticker-item { font-size: 11px; padding: 0 8px; } .ticker-content { gap: 20px; } }
@media (prefers-reduced-motion: reduce) { .ticker-content { animation: none; } }

/* ══ NOTIFICATION BELL ══ */
.notification-container { position: fixed; bottom: 100px; right: 30px; z-index: 9999; }
.notification-bell { position: relative; cursor: pointer; transition: all 0.3s ease; }
.notification-bell:hover { transform: scale(1.1); }
.bell-icon { position: relative; width: 60px; height: 60px; background: linear-gradient(135deg, #4e73df, #224abe); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,0.15); transition: all 0.3s ease; }
.bell-icon i { color: white; font-size: 40px; }
.notification-badge { position: absolute; top: -10px; left: -10px; background-color: #e74a3b; color: white; border-radius: 50%; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: bold; box-shadow: 0 4px 8px rgba(0,0,0,0.2); }
.pulse { animation: pulse-notif 1.5s infinite; }
@keyframes pulse-notif { 0% { transform: scale(1); } 50% { transform: scale(1.1); } 100% { transform: scale(1); } }
.bell-wave { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 50%; background: rgba(78,115,223,0.4); transform: scale(0); opacity: 0; }
.notification-bell.active .bell-wave { animation: wave-notif 1s ease-out; }
@keyframes wave-notif { 0% { transform: scale(0); opacity: 0.4; } 100% { transform: scale(2); opacity: 0; } }
#notificationModal .modal-dialog { max-width: 600px; }
#notificationModal .modal-content { border: none; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.2); }
#notificationModal .modal-content.rtl { direction: rtl; text-align: right; }
#notificationModal .modal-header { background: linear-gradient(135deg, #4e73df, #224abe); color: white; border-bottom: none; padding: 30px 40px; }
#notificationModal .modal-title { font-weight: 600; font-size: 24px; }
#notificationModal .modal-title i { font-size: 28px; }
.notification-item { padding: 30px 40px; border-bottom: 1px solid var(--hz-border); transition: all 0.2s ease; }
.notification-item .notification-message { font-size: 18px; margin-bottom: 10px; }
.notification-item .notification-time { font-size: 16px; }
.mark-all-read { font-size: 16px; padding: 8px 16px; }
.empty-state i { font-size: 48px; }
.empty-state h5 { font-size: 24px; }
.notification-date-header { padding: 20px 40px; font-size: 18px; }
#notificationModal .modal-footer { padding: 20px 40px; }
#notificationModal .modal-footer button { font-size: 16px; padding: 8px 16px; }
#notificationModal .modal-footer small { font-size: 14px; }

/* ══ OK LOADER (game intro) ══ */
.game-intro { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: radial-gradient(circle at center, #0a0a12 0%, #000000 100%); display: flex; justify-content: center; align-items: center; z-index: 9999; color: #0ff; overflow: hidden; }
#starfield { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -2; }
.game-intro-container { text-align: center; position: relative; z-index: 2; max-width: 600px; padding: 2rem; }
.game-logo-container { position: relative; margin-bottom: 2rem; }
.game-logo { width: 120px; filter: drop-shadow(0 0 20px rgba(0,150,255,0.6)); animation: logoFloat 3s ease-in-out infinite; }
.logo-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 180px; height: 180px; background: radial-gradient(circle, rgba(0,150,255,0.3) 0%, transparent 70%); border-radius: 50%; animation: glowPulse 4s infinite alternate; z-index: -1; }
.game-progress-container { margin: 2rem 0; }
.game-progress-bar { width: 100%; height: 8px; background: rgba(255,255,255,0.1); border-radius: 4px; overflow: hidden; position: relative; margin-bottom: 0.5rem; }
.progress-fill { height: 100%; width: 0%; background: linear-gradient(90deg, #0066ff, #00ccff); border-radius: 4px; transition: width 0.5s ease-out; box-shadow: 0 0 10px rgba(0,150,255,0.5); }
.game-progress-text { font-size: 0.9rem; letter-spacing: 2px; color: rgba(255,255,255,0.7); text-transform: uppercase; }
.game-hud { display: flex; justify-content: space-between; gap: 1rem; margin: 2rem 0; }
.hud-stat { background: rgba(0,0,0,0.3); border: 1px solid rgba(0,150,255,0.2); border-radius: 6px; padding: 0.5rem 1rem; flex: 1; text-align: center; }
.stat-label { display: block; font-size: 0.7rem; color: rgba(255,255,255,0.6); margin-bottom: 0.3rem; }
.stat-value { font-size: 1.1rem; font-weight: bold; color: #00ccff; }
.game-messages { height: 80px; position: relative; margin: 2rem 0; }
.game-message { position: absolute; width: 100%; text-align: center; font-size: 1.1rem; letter-spacing: 1px; opacity: 0; transform: translateY(20px); transition: all 0.5s ease-out; }
.game-message.active { opacity: 1; transform: translateY(0); }
.game-start-button { background: linear-gradient(90deg, #0066ff, #00aaff); border: none; color: white; padding: 0.8rem 2rem; font-size: 1rem; font-weight: bold; letter-spacing: 2px; border-radius: 50px; cursor: pointer; opacity: 0; transform: scale(0.9); transition: all 0.5s ease-out; box-shadow: 0 0 20px rgba(0,150,255,0.5); text-transform: uppercase; }
.game-start-button:hover { transform: scale(1.05); box-shadow: 0 0 30px rgba(0,150,255,0.8); }
.game-start-button.active { opacity: 1; transform: scale(1); }
.cosmic-particles { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; background: repeating-radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 2px); background-size: 40px 40px; animation: particleMove 100s linear infinite; }
@keyframes logoFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes glowPulse { 0% { opacity: 0.3; transform: translate(-50%,-50%) scale(1); } 50% { opacity: 0.6; transform: translate(-50%,-50%) scale(1.1); } 100% { opacity: 0.3; transform: translate(-50%,-50%) scale(1); } }
@keyframes particleMove { 0% { background-position: 0 0; } 100% { background-position: 40px 40px; } }

/* ══ CLIENT LAYOUT (public-facing client pages) ══ */
* { text-rendering: optimizeLegibility; }
.navbar-brand img { height: 40px; }
.nav-link { font-weight: 500; transition: color 0.2s; }
.nav-link:hover { color: var(--hz-gold) !important; }
.nav-link.active { color: var(--hz-gold) !important; border-bottom: 2px solid var(--hz-gold); }
.btn-golden { background: var(--hz-gold-gradient); border: none; color: var(--hz-bg-page); font-weight: 600; }
.btn-golden:hover { background: var(--hz-gold-gradient); color: var(--hz-bg-page); }
.golden-nav-item { background: var(--hz-gold-gradient); border-radius: 20px; padding: 0.5rem 1rem !important; color: var(--hz-bg-page) !important; }
.golden-nav-item:hover { background: var(--hz-gold-gradient); }
.dropdown-menu { border: none; box-shadow: 0 5px 20px rgba(0,0,0,0.15); border-radius: 10px; background: var(--hz-bg-card); }
.dropdown-item:hover { background-color: var(--hz-glow-xs); }
[dir="rtl"] body, [dir="rtl"] .card, [dir="rtl"] .btn, [dir="rtl"] input, [dir="rtl"] textarea, [dir="rtl"] select, [dir="rtl"] .nav-link, [dir="rtl"] .dropdown-item { font-family: 'Cairo', 'Segoe UI', Tahoma, Arial, sans-serif !important; unicode-bidi: embed; }
@media (max-width: 768px) { .navbar-nav { padding: 1rem 0; } }

/* ══ MOBILE WRAPPER LAYOUT ══ */
.mobile-header { position: fixed; top: 0; left: 0; right: 0; height: 60px; background: var(--hz-bg-card); box-shadow: 0 2px 8px rgba(0,0,0,0.1); display: flex; align-items: center; justify-content: space-between; padding: 0 15px; z-index: 1000; }
.mobile-header img { height: 45px; width: auto; }
.header-btn { background: none; border: none; font-size: 20px; color: var(--hz-text-main); cursor: pointer; padding: 8px; }
.bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; height: 70px; background: var(--hz-bg-card); box-shadow: 0 -2px 8px rgba(0,0,0,0.1); display: flex; justify-content: space-around; align-items: center; z-index: 1000; padding-bottom: env(safe-area-inset-bottom); }
.bottom-nav .nav-item { display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; color: var(--hz-text-sub); font-size: 11px; padding: 8px 12px; transition: all 0.2s; }
.bottom-nav .nav-item.active { color: var(--hz-gold); }
.nav-icon { font-size: 24px; margin-bottom: 4px; }
.nav-label { font-weight: 600; }
.web-content-wrapper { min-height: calc(100vh - 130px); overflow-x: hidden; }
.web-content-wrapper img { max-width: 100%; height: auto; }
.web-content-wrapper table { width: 100%; overflow-x: auto; display: block; }

/* ══ APP LAYOUT (auth pages: login, register) ══ */
.navbar-horizon { background: var(--hz-bg-nav); backdrop-filter: blur(10px); border-bottom: 1px solid var(--hz-border); padding: 0.75rem 0; }
.navbar-horizon .navbar-brand img { height: 45px; }
.navbar-horizon .nav-link { color: var(--hz-text-sub); font-weight: 500; padding: 0.5rem 1rem; transition: color 0.2s; }
.navbar-horizon .nav-link:hover { color: var(--hz-gold); }
.btn-gold { background: var(--hz-gold-gradient); border: none; color: var(--hz-bg-page); font-weight: 600; padding: 0.5rem 1.5rem; border-radius: 25px; transition: all 0.3s; cursor: pointer; display: inline-block; }
.btn-gold:hover { opacity: 0.9; color: var(--hz-bg-page); transform: translateY(-2px); box-shadow: 0 5px 20px var(--hz-glow); }
.main-content { flex: 1; display: flex; align-items: center; justify-content: center; padding: 2rem 1rem; }
.auth-card { background: var(--hz-bg-card); border-radius: 20px; box-shadow: 0 25px 50px rgba(0,0,0,0.3); overflow: hidden; max-width: 450px; width: 100%; border: 1px solid var(--hz-border); }
.auth-card .card-header { background: var(--hz-bg-page); color: var(--hz-text-main); text-align: center; padding: 2rem; border-bottom: 3px solid var(--hz-gold); }
.auth-card .card-header h4 { margin: 0; font-weight: 600; }
.auth-card .card-body { padding: 2rem; }
.auth-card .form-control { border-radius: 10px; padding: 0.75rem 1rem; border: 2px solid var(--hz-border); transition: border-color 0.2s, box-shadow 0.2s; background: var(--hz-bg-page); color: var(--hz-text-main); }
.auth-card .form-control:focus { border-color: var(--hz-gold); box-shadow: 0 0 0 0.2rem var(--hz-glow-xs); }
.auth-card .btn-primary { background: var(--hz-gold-gradient); border: none; color: var(--hz-bg-page); font-weight: 600; padding: 0.75rem; border-radius: 10px; width: 100%; transition: all 0.3s; }
.auth-card .btn-primary:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 5px 20px var(--hz-glow); }
.auth-card .btn-link { color: var(--hz-gold); text-decoration: none; font-weight: 500; }
.auth-card .btn-link:hover { opacity: 0.8; text-decoration: underline; }
.footer-horizon { background: var(--hz-bg-nav); color: var(--hz-text-main); padding: 1.5rem 0; border-top: 1px solid var(--hz-border); }
.footer-horizon a { color: var(--hz-gold); text-decoration: none; font-weight: 600; }
.footer-horizon a:hover { opacity: 0.8; }
.rtl { direction: rtl; text-align: right; }
.rtl .text-md-end { text-align: start !important; }
@media (max-width: 768px) { .auth-card { margin: 1rem; border-radius: 15px; } .auth-card .card-header { padding: 1.5rem; } .auth-card .card-body { padding: 1.5rem; } }

/* ══ NEWS-TICKER PARTIAL (async, full-width bottom bar) ══ */
.news-ticker-wrapper { background: var(--hz-gold-gradient); color: #333; font-size: 14px; position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000; box-shadow: 0 -2px 10px var(--hz-glow); overflow: hidden; margin-top: 0; border-top: 1px solid var(--hz-border); transition: transform 0.3s ease, opacity 0.3s ease; }
.news-ticker-container { display: flex; align-items: center; min-height: 45px; position: relative; }
[dir="rtl"] .news-ticker-container { direction: rtl; }
.ticker-label { background: rgba(255,255,255,0.15); padding: 12px 20px; font-weight: 600; white-space: nowrap; display: flex; align-items: center; gap: 8px; min-width: 140px; border-right: 2px solid rgba(255,255,255,0.2); backdrop-filter: blur(10px); }
[dir="rtl"] .ticker-label { border-right: none; border-left: 2px solid rgba(255,255,255,0.2); }
.ticker-label i { font-size: 16px; color: #fff; }
.ticker-content { flex: 1; overflow: hidden; position: relative; height: 45px; }
[dir="ltr"] .ticker-scroll { animation: scroll-left 120s linear infinite; }
[dir="rtl"] .ticker-scroll { animation: scroll-right 120s linear infinite; }
.ticker-scroll { display: flex; align-items: center; white-space: nowrap; height: 100%; }
.ticker-scroll:hover, .ticker-scroll.paused { animation-play-state: paused; }
.ticker-loading { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 0 30px; color: #fff; font-weight: 500; }
.ticker-loading i { font-size: 16px; }
.ticker-item { display: inline-flex; align-items: center; gap: 10px; padding: 0 30px 0 20px; white-space: nowrap; }
[dir="rtl"] .ticker-item { direction: rtl; text-align: right; }
.breaking-badge { background: #dc3545; color: white; padding: 2px 8px; border-radius: 12px; font-size: 11px; font-weight: bold; animation: pulse 2s infinite; }
.news-text { font-weight: 500; color: #fff; cursor: pointer; transition: all 0.3s ease; border-bottom: 1px solid transparent; }
.news-text:hover { color: #FFE082 !important; text-shadow: 0 0 5px rgba(255,224,130,0.5); border-bottom-color: rgba(255,224,130,0.7); }
.news-time { color: rgba(255,255,255,0.7); font-size: 12px; font-style: italic; }
.ticker-separator { color: rgba(255,255,255,0.5); font-weight: bold; margin: 0 15px; }
.ticker-controls { display: flex; align-items: center; gap: 5px; padding: 0 15px; border-left: 2px solid rgba(255,255,255,0.2); }
[dir="rtl"] .ticker-controls { border-left: none; border-right: 2px solid rgba(255,255,255,0.2); }
.ticker-control-btn { background: rgba(255,255,255,0.15); border: none; color: white; padding: 8px; border-radius: 50%; cursor: pointer; transition: all 0.3s ease; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; }
.ticker-control-btn:hover { background: rgba(255,255,255,0.25); transform: scale(1.1); }
.ticker-control-btn i { font-size: 12px; }
.ticker-control-btn.refreshing i { animation: spin 1s linear infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.speed-control-dropdown { position: relative; display: inline-block; }
.speed-options { display: none; position: absolute; bottom: 100%; right: 0; background: var(--hz-bg-card); backdrop-filter: blur(10px); border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); min-width: 120px; z-index: 1001; margin-bottom: 8px; border: 1px solid var(--hz-border); }
[dir="rtl"] .speed-options { right: auto; left: 0; }
.speed-options.show { display: block; }
.speed-option { display: flex; align-items: center; gap: 8px; padding: 10px 12px; cursor: pointer; color: var(--hz-text-main); font-size: 11px; font-weight: 500; transition: all 0.2s ease; border-radius: 6px; margin: 4px; }
.speed-option:hover { background: var(--hz-glow-xs); color: var(--hz-gold); }
.speed-option.active { background: var(--hz-gold); color: #000; }
.speed-option i { font-size: 10px; width: 12px; }
@keyframes scroll-left { 0% { transform: translateX(100%); } 100% { transform: translateX(-100%); } }
@keyframes scroll-right { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.news-detail-title { color: var(--hz-text-main); font-size: 1.1rem; font-weight: 600; margin-bottom: 15px; line-height: 1.4; }
.news-detail-meta { color: var(--hz-text-sub); font-size: 0.9rem; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.news-detail-content { color: var(--hz-text-main); font-size: 1rem; line-height: 1.8; margin-bottom: 20px; }
[dir="rtl"] .news-detail-content { text-align: right; }
.news-actions { border-top: 1px solid var(--hz-border); padding-top: 15px; }
.news-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.modal-title-container { flex: 1; display: flex; flex-direction: column; gap: 8px; }
@media (max-width: 768px) { .ticker-label { min-width: 50px; padding: 10px 15px; font-size: 13px; } .ticker-label span { display: none; } .news-ticker-wrapper { font-size: 13px; } .ticker-item { padding: 0 20px 0 15px; } .news-time { display: none; } .ticker-controls { padding: 0 10px; } }

/* ══ STOCK-TICKER PARTIAL (async, full-width top bar — .stock-ticker-wrapper) ══ */
.stock-ticker-wrapper { background: var(--hz-gold-gradient); color: #1a1a2e; font-size: 14px; position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1400; box-shadow: 0 2px 10px var(--hz-glow); overflow: hidden; border-bottom: 2px solid var(--hz-border); }
.stock-ticker-container { display: flex; align-items: center; min-height: 45px; position: relative; }
[dir="rtl"] .stock-ticker-container { direction: rtl; }
.ticker-label-stock { background: rgba(0,0,0,0.1); padding: 12px 20px; font-weight: 600; white-space: nowrap; display: flex; align-items: center; gap: 8px; min-width: 120px; border-right: 2px solid rgba(0,0,0,0.1); backdrop-filter: blur(10px); }
[dir="rtl"] .ticker-label-stock { border-right: none; border-left: 2px solid rgba(0,0,0,0.1); }
.ticker-label-stock i { font-size: 16px; color: #333; }
.ticker-content-stock { flex: 1; overflow: hidden; position: relative; height: 45px; }
[dir="ltr"] .ticker-scroll-stock { animation: scroll-left 60s linear infinite; }
[dir="rtl"] .ticker-scroll-stock { animation: scroll-right 60s linear infinite; direction: rtl; }
.ticker-scroll-stock { display: flex; align-items: center; white-space: nowrap; height: 100%; }
.ticker-scroll-stock:hover, .ticker-scroll-stock.paused { animation-play-state: paused; }
.stock-item { display: inline-flex; align-items: center; gap: 8px; padding: 6px 15px; white-space: nowrap; background: rgba(0,0,0,0.1); margin-right: 15px; border-radius: 20px; backdrop-filter: blur(5px); }
.stock-symbol { font-weight: 700; color: #333; font-size: 13px; }
.stock-price { font-weight: 600; color: #333; font-size: 14px; }
.currency { font-size: 11px; opacity: 0.8; margin-left: 2px; }
.stock-change { font-weight: 600; font-size: 12px; display: flex; align-items: center; gap: 3px; }
.stock-change.positive { color: #4CAF50; }
.stock-change.negative { color: #f44336; }
.stock-change i { font-size: 10px; }
.ticker-separator { color: rgba(0,0,0,0.5); font-weight: bold; margin: 0 10px; }
.ticker-controls-stock { display: flex; align-items: center; gap: 5px; padding: 0 15px; border-left: 2px solid rgba(0,0,0,0.1); }
[dir="rtl"] .ticker-controls-stock { border-left: none; border-right: 2px solid rgba(0,0,0,0.1); }
.ticker-control-btn-stock { background: rgba(0,0,0,0.1); border: none; color: #333; padding: 8px; border-radius: 50%; cursor: pointer; transition: all 0.3s ease; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; }
.ticker-control-btn-stock:hover { background: rgba(0,0,0,0.2); transform: scale(1.1); }
.ticker-control-btn-stock i { font-size: 12px; }
@media (max-width: 768px) { .ticker-label-stock { min-width: 90px; padding: 8px 12px; font-size: 12px; } .ticker-label-stock span { display: none; } .stock-ticker-wrapper { font-size: 12px; } .stock-item { padding: 4px 10px; margin-right: 10px; gap: 6px; } .stock-symbol { font-size: 11px; } .stock-price { font-size: 12px; } .stock-change { font-size: 11px; } .ticker-controls-stock { padding: 0 8px; } .ticker-scroll-stock { animation-duration: 120s !important; } }



/* ══════════════════════════════════════════════════════════════ */

/* ══ NAVIGATION-NEW PARTIAL (.main-navigation, .nav-*, .dropdown-*, .search-overlay, .quick-access-panel) ══ */

/* Main Navigation Styles */
.main-navigation {
    background: var(--hz-bg-nav);
    border-bottom: 1px solid var(--hz-border);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    z-index: 1000;
}

.main-navigation.scrolled {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-backdrop);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

/* Logo Section */
.nav-logo {
    flex-shrink: 0;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
    color: var(--text-primary);
    transition: opacity var(--transition-fast);
}

.logo-link:hover {
    opacity: 0.8;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-accent);
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--primary-color);
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.nav-items {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-md);
    color: var(--text-primary);
    text-decoration: none;
    font-family: var(--font-secondary);
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
    background: var(--bg-secondary);
}

.nav-link.active {
    color: var(--primary-color);
    background: var(--bg-secondary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.dropdown-icon {
    font-size: 0.8em;
    margin-left: var(--spacing-xs);
    transition: transform var(--transition-fast);
}

.nav-item.has-dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: var(--spacing-sm) 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-fast);
    z-index: 1001;
}

.nav-item.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    color: var(--text-primary);
    text-decoration: none;
    font-size: var(--font-size-sm);
    transition: all var(--transition-fast);
}

.dropdown-item:hover {
    background: var(--bg-secondary);
    color: var(--primary-color);
    padding-left: var(--spacing-lg);
}

.dropdown-item i {
    width: 16px;
    text-align: center;
}

/* Navigation Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.nav-action button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.nav-action button:hover {
    background: var(--bg-secondary);
    color: var(--primary-color);
}

.btn-language {
    gap: var(--spacing-xs);
    width: auto !important;
    padding: 0 var(--spacing-sm) !important;
}

.language-form {
    margin: 0;
}

/* Mobile Menu Toggle */
.mobile-only {
    display: none;
}

.btn-mobile-menu {
    flex-direction: column;
    gap: 3px;
    width: 30px !important;
    height: 30px !important;
}

.hamburger-line {
    width: 18px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-fast);
}

.btn-mobile-menu:hover .hamburger-line {
    background: var(--primary-color);
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 1002;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-container {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.search-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-lg);
}

.search-header h3 {
    margin: 0;
    color: var(--text-primary);
    font-family: var(--font-accent);
}

.btn-close-search {
    background: none;
    border: none;
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    cursor: pointer;
    padding: var(--spacing-sm);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.btn-close-search:hover {
    background: var(--bg-secondary);
    color: var(--primary-color);
}

.search-input-group {
    display: flex;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: var(--spacing-lg);
}

.search-input {
    flex: 1;
    padding: var(--spacing-md);
    border: none;
    font-size: var(--font-size-md);
    background: transparent;
    color: var(--text-primary);
}

.search-input:focus {
    outline: none;
}

.search-input-group:focus-within {
    border-color: var(--primary-color);
}

.btn-search-submit {
    padding: var(--spacing-md);
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.btn-search-submit:hover {
    background: var(--primary-dark);
}

/* Quick Access Panel */
.quick-access-panel {
    position: fixed;
    top: 70px;
    right: -350px;
    width: 350px;
    height: calc(100vh - 70px);
    background: var(--bg-primary);
    border-left: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    transition: right var(--transition-normal);
    z-index: 1001;
    overflow-y: auto;
}

.quick-access-panel.active {
    right: 0;
}

.quick-access-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.quick-access-header h4 {
    margin: 0;
    color: var(--text-primary);
    font-family: var(--font-accent);
}

.btn-close-quick {
    background: none;
    border: none;
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    cursor: pointer;
    padding: var(--spacing-sm);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.btn-close-quick:hover {
    background: var(--bg-primary);
    color: var(--primary-color);
}

.quick-access-content {
    padding: var(--spacing-lg);
}

.quick-access-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.quick-access-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-lg);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--text-primary);
    transition: all var(--transition-normal);
}

.quick-access-item:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.quick-access-item i {
    font-size: 1.5rem;
}

.quick-access-item span {
    font-size: var(--font-size-sm);
    font-weight: 500;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 992px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-only {
        display: block;
    }
    
    .nav-menu.mobile-active {
        display: block;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-primary);
        padding: var(--spacing-lg);
        z-index: 1001;
    }
    
    .nav-items {
        flex-direction: column;
        align-items: stretch;
        gap: var(--spacing-sm);
    }
    
    .nav-link {
        justify-content: space-between;
        padding: var(--spacing-lg);
        border-radius: var(--radius-md);
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: var(--bg-secondary);
        margin-top: var(--spacing-sm);
        border-radius: var(--radius-md);
    }
    
    .quick-access-panel {
        width: 100%;
        right: -100%;
    }
    
    .quick-access-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .nav-container {
        padding: 0 var(--spacing-md);
    }

    .nav-content {
        height: 60px;
    }

    .logo-img {
        width: 35px;
        height: 35px;
    }

    .logo-text {
        font-size: var(--font-size-md);
    }

    .search-container {
        padding: var(--spacing-lg);
    }

    .quick-access-panel {
        top: 60px;
        height: calc(100vh - 60px);
    }
}

/* Navbar Themed Overrides */
.hz-navbar-themed {
    background: var(--hz-bg-nav) !important;
    backdrop-filter: blur(var(--hz-nav-blur));
    -webkit-backdrop-filter: blur(var(--hz-nav-blur));
    border-bottom: 1px solid var(--hz-border) !important;
}



/* ══════════════════════════════════════════════════════════════ */

/* ══ FOOTER-NEW PARTIAL (.main-footer, .footer-*, .newsletter-*, .social-links) ══ */

/* Footer Styles */
.main-footer {
    background: var(--hz-bg-footer);
    color: var(--text-light);
    position: relative;
    margin-top: var(--spacing-xxl);
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
    overflow: hidden;
}

.footer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--hz-bg-footer);
    opacity: 0.9;
    z-index: 1;
}

.footer-content {
    position: relative;
    z-index: 2;
}

.footer-top {
    padding-bottom: var(--spacing-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: var(--spacing-xl);
}

.footer-widget {
    height: 100%;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.footer-logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.company-name {
    font-family: var(--font-accent);
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--text-light);
    margin: 0;
}

.footer-description {
    font-size: var(--font-size-sm);
    line-height: var(--line-height-loose);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-lg);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.8);
}

.contact-item i {
    color: var(--accent-color);
    width: 16px;
    text-align: center;
}

.footer-title {
    font-family: var(--font-accent);
    font-size: var(--font-size-md);
    font-weight: 600;
    color: var(--hz-gold);
    margin-bottom: var(--spacing-lg);
    position: relative;
    padding-bottom: var(--spacing-sm);
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--hz-gold);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: var(--font-size-sm);
    transition: color var(--transition-fast);
    position: relative;
}

.footer-links a:hover {
    color: var(--hz-gold);
    padding-left: var(--spacing-sm);
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 1px;
    background: var(--hz-gold);
    transition: width var(--transition-fast);
}

.footer-links a:hover::before {
    width: 8px;
}

.newsletter-text {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-lg);
}

.newsletter-form .input-group {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 2px;
}

.newsletter-form .form-control {
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: var(--font-size-sm);
    padding: var(--spacing-sm);
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form .form-control:focus {
    background: transparent;
    border: none;
    box-shadow: none;
    color: var(--text-light);
}

.newsletter-form .btn {
    background: var(--accent-color);
    border: none;
    border-radius: var(--radius-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    transition: all var(--transition-fast);
}

.newsletter-form .btn:hover {
    background: var(--accent-green);
    transform: scale(1.05);
}

.footer-social {
    padding-bottom: var(--spacing-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: var(--spacing-lg);
}

.social-title {
    font-family: var(--font-accent);
    font-size: var(--font-size-md);
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
    justify-content: flex-end;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(250, 174, 64, 0.4);
}

.social-links a i {
    font-size: var(--font-size-lg);
}

/* Platform-specific hover colors */
.social-links a[data-platform="facebook"]:hover { background: #3b5998; }
.social-links a[data-platform="twitter"]:hover { background: #1da1f2; }
.social-links a[data-platform="instagram"]:hover { background: #e4405f; }
.social-links a[data-platform="linkedin"]:hover { background: #0077b5; }
.social-links a[data-platform="youtube"]:hover { background: #ff0000; }
.social-links a[data-platform="tiktok"]:hover { background: #000000; }

.footer-bottom {
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--hz-border);
}

.copyright {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: flex-end;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: var(--font-size-sm);
    transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
    color: var(--hz-gold);
}

/* Hz Footer Themed Overrides */
.main-footer.hz-footer-themed {
    background: var(--hz-bg-footer) !important;
    border-top: 2px solid var(--hz-gold);
}
.main-footer.hz-footer-themed .footer-overlay {
    background: var(--hz-bg-footer) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-footer {
        padding: var(--spacing-xl) 0 var(--spacing-md);
    }
    
    .footer-logo {
        justify-content: center;
        text-align: center;
    }
    
    .footer-widget {
        text-align: center;
        margin-bottom: var(--spacing-xl);
    }
    
    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-contact {
        align-items: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: var(--spacing-md);
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .footer-bottom .row > div {
        margin-bottom: var(--spacing-md);
    }
}

@media (max-width: 576px) {
    .footer-social .row {
        flex-direction: column;
        text-align: center;
    }
    
    .social-title {
        margin-bottom: var(--spacing-sm);
    }
}



/* ══════════════════════════════════════════════════════════════ */

/* ══ HEADER-NEW PARTIAL (.loading-screen, .loading-*, .back-to-top, .theme-toggle) ══ */

/* Loading Screen Styles */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-container {
    text-align: center;
    color: var(--text-light);
    max-width: 500px;
    padding: var(--spacing-xl);
}

.loading-logo {
    position: relative;
    margin-bottom: var(--spacing-xl);
    display: inline-block;
}

.logo-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
    animation: logoFloat 3s ease-in-out infinite;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    border-radius: var(--radius-full);
    animation: glowPulse 2s ease-in-out infinite alternate;
}

.loading-text h3 {
    font-family: var(--font-accent);
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.loading-message {
    font-size: var(--font-size-md);
    opacity: 0.9;
    margin-bottom: var(--spacing-xl);
}

.loading-progress {
    margin-bottom: var(--spacing-xl);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: var(--spacing-sm);
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-color), var(--text-light));
    border-radius: var(--radius-sm);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.progress-text {
    font-size: var(--font-size-sm);
    font-weight: 600;
    letter-spacing: 1px;
}

.loading-stats {
    display: flex;
    justify-content: space-between;
    gap: var(--spacing-md);
}

.stat-item {
    flex: 1;
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-label {
    display: block;
    font-size: var(--font-size-xs);
    opacity: 0.8;
    margin-bottom: var(--spacing-xs);
}

.stat-value {
    font-size: var(--font-size-md);
    font-weight: 600;
    color: var(--accent-color);
}

.loading-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 50px 50px;
    animation: particleMove 20s linear infinite;
}

/* Utility elements */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 8px;
    text-decoration: none;
    border-radius: var(--radius-sm);
    z-index: 10000;
    transition: top 0.3s ease;
}

.skip-to-content:focus {
    top: 6px;
}

.theme-toggle {
    position: fixed;
    top: 100px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.theme-toggle:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: var(--text-light);
    border: none;
    border-radius: var(--radius-full);
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.back-to-top:hover {
    background: var(--accent-green);
    transform: scale(1.1);
}

.back-to-top.show {
    display: flex;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .loading-container {
        padding: var(--spacing-lg);
    }
    
    .loading-stats {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .theme-toggle,
    .back-to-top {
        width: 45px;
        height: 45px;
    }
    
    .theme-toggle {
        top: 80px;
        right: 15px;
    }
    
    .back-to-top {
        bottom: 15px;
        right: 15px;
    }
}

/* Animations */
@keyframes logoFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

@keyframes glowPulse {
    0% { opacity: 0.2; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes particleMove {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(-50px) translateY(-50px); }
}

/* Navbar Themed Overrides */
.hz-navbar-themed {
    background: var(--hz-bg-nav) !important;
    backdrop-filter: blur(var(--hz-nav-blur));
    -webkit-backdrop-filter: blur(var(--hz-nav-blur));
    border-bottom: 1px solid var(--hz-border) !important;
}




/* ══════════════════════════════════════════════════════════════ */
/* ══ MENU PARTIAL (.btn-close-custom, .menu-parent, .floating-whatsapp, .zoom-control) ══ */

/* Custom close button */
.btn-close-custom {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.btn-close-custom:hover {
    background: rgba(255, 0, 0, 0.1);
    color: #ff0000;
    transform: rotate(90deg);
}

/* Menu parent for dropdown items */
.menu-parent {
    cursor: pointer !important;
    user-select: none;
}

.menu-parent:hover {
    background: rgba(250, 174, 64, 0.1);
}

/* Hide floating elements when offcanvas is showing */
body.offcanvas-showing .chatbot-wrapper,
body.offcanvas-showing .whatsapp-float,
body.offcanvas-showing .notification-bell,
body.offcanvas-showing #ai-chatbot-widget,
body.offcanvas-showing .floating-whatsapp {
    display: none !important;
}

/* CSS Variables for colors */
:root {
    --accent-orange: var(--hz-gold);
    --accent-green: var(--hz-gold);
    --primary-hover: var(--hz-gold);
    --text-dark: var(--hz-text-main);
    --bg-light: var(--hz-bg-page);
}

/* Zoom Control Styles */
.zoom-control {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 4px 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    gap: 6px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.zoom-btn {
    background: none;
    border: none;
    cursor: pointer;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: all 0.3s ease;
    font-size: 12px;
}

.zoom-btn:hover {
    background: var(--accent-orange);
    color: white;
    transform: scale(1.1);
}

.zoom-btn:active {
    transform: scale(0.95);
}

.zoom-display {
    font-size: 11px;
    font-weight: 600;
    color: #333;
    min-width: 35px;
    text-align: center;
    font-family: 'Segoe UI', monospace;
}

/* Base Styles */
body {
    padding-top: 95px;
}

/* Logo styling */
.navbar-logo-container {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border: 3px solid #aad52c;
    transition: all 0.3s ease;
}

.navbar-logo-container:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.navbar-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.navbar-brand {
    margin-right: 2rem !important;
    padding: 0.5rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none;
}

/* Quick Access Nav Item */
.quick-access-nav {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(245, 197, 66, 0.1));
    border: 2px solid transparent;
    position: relative;
}

.quick-access-nav::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-green));
    transition: width 0.3s ease;
}

.quick-access-nav:hover::after {
    width: 80%;
}

/* Quick Access Dropdown */
.quick-access-dropdown {
    min-width: 280px;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    padding: 0.5rem;
}

@media (min-width: 992px) {
    .dropdown:hover > .dropdown-menu {
        display: block;
        animation: fadeInDown 0.3s ease;
    }
    
    .quick-access-dropdown-container:hover .quick-access-dropdown {
        display: block;
        animation: fadeInDown 0.3s ease;
    }
}

.dropdown-menu {
    display: none;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-menu:hover {
    display: block;
}

@media (min-width: 992px) {
    .dropdown {
        position: relative;
    }
    
    .dropdown .dropdown-menu {
        margin-top: -1px;
    }
    
    .dropdown:hover::before {
        content: '';
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        height: 10px;
        z-index: 1049;
    }
}

.quick-access-dropdown .dropdown-item {
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border-radius: 8px;
    margin-bottom: 0.25rem;
}

.quick-access-dropdown .dropdown-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.quick-access-dropdown .dropdown-item:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(245, 197, 66, 0.08));
    transform: translateX(3px);
}

.quick-access-dropdown h6 {
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.quick-access-dropdown small {
    font-size: 0.75rem;
}

.icon-box {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.bg-orange {
    background: var(--hz-gold-gradient);
}

.bg-green {
    background: var(--hz-gold-gradient);
}

.bg-gradient {
    background: var(--hz-gold-gradient) !important;
}

.icon-box i {
    display: inline-block !important;
    font-size: 1.1rem !important;
    color: #fff !important;
    text-align: center !important;
    line-height: 1 !important;
}

/* Mobile Buttons */
.btn-quick-access,
.btn-mobile-menu {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    border: none;
    padding: 0.5rem 0.7rem;
    border-radius: 50%;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.btn-quick-access:hover,
.btn-mobile-menu:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 1);
}

.btn-quick-access i {
    color: #FAAE40 !important;
}

/* Quick Access Cards for Mobile */
.quick-access-mobile-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quick-access-card {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-decoration: none;
    color: var(--hz-text-main);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.quick-access-card:hover {
    transform: translateX(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    border-color: var(--accent-orange);
    color: var(--hz-text-main);
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.card-content h6 {
    margin: 0;
    font-weight: 600;
    color: var(--hz-text-main);
    font-family: 'Cairo', 'Segoe UI', Arial, sans-serif;
}

.card-content p {
    margin: 0;
    font-size: 0.85rem;
    color: #666;
    font-family: 'Cairo', 'Segoe UI', Arial, sans-serif;
}

/* Mobile Menu Styles */
.mobile-menu-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(20, 35, 51, 0.12);
}

.mobile-menu-item {
    margin-bottom: 0.5rem;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(249, 246, 238, 0.9));
    box-shadow: 0 11px 28px rgba(20, 35, 51, 0.08);
}

.menu-card {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-decoration: none;
    color: var(--hz-text-main);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    width: 100%;
    gap: 0.85rem;
}

.menu-card:hover {
    transform: translateX(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    border-color: var(--accent-orange);
    color: var(--hz-text-main);
    text-decoration: none;
}

.menu-card.menu-header {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(245, 197, 66, 0.1));
    border-color: var(--accent-orange);
    cursor: default;
}

.menu-card.menu-header:hover {
    transform: none;
    border-color: var(--accent-orange);
}

.menu-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    margin-right: 1rem;
    flex-shrink: 0;
    background: var(--hz-gold-gradient);
}

.menu-content {
    flex-grow: 1;
}

.menu-content h6 {
    margin: 0;
    font-weight: 600;
    color: var(--hz-text-main);
    font-family: 'Cairo', 'Segoe UI', Arial, sans-serif;
    font-size: 1rem;
}

.menu-content small {
    color: #666;
    font-size: 0.8rem;
}

.toggle-submenu {
    color: #666;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
    margin-left: 0.5rem;
}

.dropdown-item-mobile.expanded .toggle-submenu {
    transform: rotate(180deg);
    color: var(--accent-orange);
}

.submenu-items {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-top: 0.5rem;
    padding-left: 1rem;
}

.dropdown-item-mobile.expanded .submenu-items {
    max-height: 500px;
}

.submenu-card {
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    background: rgba(248, 249, 250, 0.8);
    border-radius: 8px;
    text-decoration: none;
    color: var(--hz-text-main);
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
    border: 1px solid transparent;
    gap: 0.65rem;
}

.submenu-card:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--accent-orange);
    color: var(--hz-text-main);
    text-decoration: none;
    transform: translateX(5px);
}

.submenu-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.9rem;
    margin-right: 0.8rem;
    flex-shrink: 0;
    background: linear-gradient(135deg, #6c757d, #495057);
}

.submenu-card span {
    font-size: 0.9rem;
    font-weight: 500;
    font-family: 'Cairo', 'Segoe UI', Arial, sans-serif;
}

/* Language switcher styling */
.lang-switcher {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem;
    font: inherit;
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.lang-switcher:hover {
    background: rgba(0,0,0,0.05);
}

.globe-icon {
    width: 16px;
    height: 16px;
    background: #333;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z'/%3E%3C/svg%3E") no-repeat center;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z'/%3E%3C/svg%3E") no-repeat center;
}

/* Hamburger menu */
.hamburger {
    display: inline-block;
    cursor: pointer;
    width: 24px;
    height: 24px;
    position: relative;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: #333;
    border-radius: 2px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.hamburger span:nth-child(1) { top: 4px; }
.hamburger span:nth-child(2), .hamburger span:nth-child(3) { top: 11px; }
.hamburger span:nth-child(4) { top: 18px; }

/* Navbar general */
#mainNavbar {
    background-color: #fff;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: fixed !important;
    top: 45px;
    left: 0;
    right: 0;
    z-index: 1040 !important;
}

#mainNavbar .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
    width: 100%;
    max-width: 100%;
}

#mainNavbar.nav-scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

.nav-link span, .dropdown-item span {
    font-family: 'Cairo', 'Segoe UI', Arial, sans-serif;
    display: inline-block;
    line-height: 1.3;
    white-space: nowrap;
}

/* Nav link styling */
.navbar-nav .nav-link {
    color: #333 !important;
    padding: 3px 6px;
    transition: all 0.3s ease;
    border-radius: 20px;
    display: flex;
    align-items: center;
    text-align: center;
    gap: 3px;
    margin: 0;
    font-family: 'Cairo', 'Segoe UI', Arial, sans-serif;
    position: relative;
    overflow: hidden;
    font-size: 0.9rem;
    white-space: nowrap;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary-hover);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::before {
    width: 80%;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    background: rgba(212, 175, 55, 0.1);
    color: var(--primary-hover) !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
    background: rgba(212, 175, 55, 0.15);
    color: var(--primary-hover) !important;
}

.navbar-nav .nav-link.active::before {
    width: 80%;
}

/* Dropdown */
.dropdown-menu {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    margin-top: 10px;
    animation: fadeInDown 0.3s ease;
    padding: 0.5rem;
    z-index: 1060 !important;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropdown-item {
    padding: 8px 16px !important;
    margin: 2px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.2s ease;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Cairo', 'Segoe UI', Arial, sans-serif;
    font-size: 0.9rem;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(245, 197, 66, 0.1));
    color: var(--primary-hover) !important;
    transform: translateX(5px);
}

/* Open Account button */
.btn-open-account {
    background: linear-gradient(135deg, #FF6B35, #FF8E53);
    color: white !important;
    border-radius: 25px;
    padding: 0.4rem 1rem;
    font-weight: 600;
    font-family: 'Cairo', 'Segoe UI', Arial, sans-serif;
    border: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    position: relative;
    overflow: hidden;
    font-size: 0.9rem;
}

.btn-open-account.btn-sm {
    padding: 0.3rem 0.8rem;
    font-size: 0.85rem;
}

.btn-open-account:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255,107,53,0.3);
    color: white !important;
}

/* Offcanvas Styles */
.offcanvas {
    max-width: 350px;
}

.offcanvas-header {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(245, 197, 66, 0.1));
    border-bottom: 2px solid var(--accent-orange);
}

/* Mobile Responsive */
@media (max-width: 991.98px) {
    body { padding-top: 85px; }
    
    .navbar-logo-container { width: 40px; height: 40px; border: 2px solid #aad52c; }
    .navbar-logo-img { width: 32px; height: 32px; }
    .navbar-brand { margin-right: 1rem !important; }
    
    #mainNavbar { padding-top: 0.5rem; padding-bottom: 0.5rem; top: 40px; }
    
    .navbar-collapse { display: none !important; }
    
    .btn-mobile-menu { padding: 0.4rem 0.6rem; }
    .hamburger { width: 20px; height: 20px; }
    .hamburger span { height: 2px; width: 100%; }
}

@media (min-width: 992px) {
    #mainNavbar { padding-top: 0.5rem; padding-bottom: 0.5rem; }
    .navbar-nav .nav-item { margin: 0 -2px; }
    .dropdown-menu { min-width: 220px; }
    .quick-access-mobile { display: none !important; }
}

/* RTL Support */
[dir="rtl"] .navbar-brand { margin-right: 0 !important; margin-left: 2rem !important; }
[dir="rtl"] .quick-access-card:hover { transform: translateX(5px); }
[dir="rtl"] .card-icon { margin-right: 0; margin-left: 1rem; }
[dir="rtl"] .icon-box { margin-right: 0; margin-left: 0.75rem; }

/* Fix for offcanvas backdrop issues */
.offcanvas-backdrop { z-index: 1045 !important; }
.offcanvas { z-index: 1050 !important; }

/* ══ THEME-AWARE CARD CONTRAST OVERRIDES ══ */

.hz-card, .hz-stat-block, .hz-step, .hz-index-card, .hz-news-card {
    background: rgba(255,255,255,0.07);
}

.hz-card, .hz-stat-block {
    background: rgba(255,255,255,0.08);
}

.hz-card {
    border-color: rgba(212,175,55,0.25);
}

.hz-card, .hz-stat-block, .hz-step, .hz-index-card, .hz-news-card {
    background: #ffffff;
    border-color: #e5e7eb;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    color: #1a1a1a;
}
.hz-card:hover, .hz-stat-block:hover, .hz-step:hover, .hz-index-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    border-color: var(--hz-gold);
}
.hz-stat-number { color: #1a1a1a; }
.hz-section-title, .hz-section-heading { -webkit-text-fill-color: unset; color: #1a1a1a; }




/* ══════════════════════════════════════════════════════════════════════
   PHASE 3 — CANONICAL CHROME PARTIALS
   partials/site/navbar, footer, ticker, preloader, floating-widgets
   Appended: 2026-04-16
══════════════════════════════════════════════════════════════════════ */

/* ── NAVBAR ─────────────────────────────────────────────────────── */


.hz-navbar-themed .nav-link {
    color: var(--hz-text-main, #f4f4f4) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.hz-navbar-themed .nav-link:hover,
.hz-navbar-themed .nav-link.active {
    color: var(--hz-gold, #D4AF37) !important;
    background: rgba(212,175,55,0.08);
}

.hz-navbar-themed {
    background: var(--hz-bg-nav, #0a0a12);
    backdrop-filter: blur(var(--hz-nav-blur, 12px));
    -webkit-backdrop-filter: blur(var(--hz-nav-blur, 12px));
    border-bottom: 1px solid var(--hz-border, rgba(212,175,55,0.2));
    transition: box-shadow 0.3s ease, background 0.3s ease;
    z-index: 1040;
}
.hz-navbar-themed.hz-navbar-scrolled {
    box-shadow: 0 4px 24px rgba(0,0,0,0.45);
    background: var(--hz-bg-nav, #0a0a12);
}
.hz-navbar-themed .nav-link {
    color: var(--hz-text-main, #f4f4f4);
    font-weight: 500;
    font-size: 0.88rem;
    padding: 0.45rem 0.65rem;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
}
.hz-navbar-themed .nav-link:hover,
.hz-navbar-themed .nav-link.active {
    color: var(--hz-gold, #D4AF37);
    background: rgba(212,175,55,0.08);
}
.hz-navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
/* extra specificity: .navbar-brand img (line ~1505) otherwise wins at 40px */
./* ==============================
   HORIZON NAVBAR LOGO
   ============================== */

.hz-navbar-themed .navbar-brand,
.hz-navbar-themed .hz-navbar-brand {
    display: flex !important;
    align-items: center !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.navbar-brand img.hz-navbar-logo-img,
.hz-navbar-logo-img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;

    height: 52px !important;
    width: auto !important;
    max-width: 190px !important;

    object-fit: contain;

    /* مهم جداً */
    mix-blend-mode: normal !important;

    /* يمنع أي تأثير من الثيم */
    filter: none !important;
}
.hz-logo-wordmark {
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: 3px;
    background: var(--hz-gold-gradient, linear-gradient(45deg,#BF953F,#FCF6BA,#B38728));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
/* Dropdown menus */
.hz-dropdown-menu {
    background: var(--hz-bg-card, #0f0f1e);
    border: 1px solid var(--hz-border, rgba(212,175,55,0.2));
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    padding: 6px;
    min-width: 220px;
}
/* Desktop: open nav dropdowns on hover (mouse only — touch still uses click) */
@media (hover: hover) and (min-width: 992px) {
    .hz-navbar-themed .nav-item.dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0; /* no gap so the pointer can travel into the menu */
    }
}
/* Active states for dropdown parents and items */
.hz-navbar-themed .nav-link.dropdown-toggle.active {
    color: var(--hz-gold, #D4AF37);
}
.hz-dropdown-item.active {
    background: rgba(212,175,55,0.14);
    color: var(--hz-gold, #D4AF37);
}
.hz-dropdown-item {
    color: var(--hz-text-main, #f4f4f4);
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 0.87rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.18s, color 0.18s;
}
.hz-dropdown-item:hover,
.hz-dropdown-item:focus {
    background: rgba(212,175,55,0.1);
    color: var(--hz-gold, #D4AF37);
}
/* Quick Access dropdown items */
.hz-qa-dropdown { min-width: 280px; }
.hz-qa-item { gap: 12px; }
.hz-qa-icon {
    width: 32px; height: 32px;
    border-radius: 8px;
    background: var(--hz-gold-gradient, linear-gradient(135deg,#BF953F,#B38728));
    display: flex; align-items: center; justify-content: center;
    color: #000; font-size: 0.85rem; flex-shrink: 0;
}
.hz-qa-icon--ai    { background: linear-gradient(135deg,#8B5CF6,#6366F1); color:#fff; }
.hz-qa-icon--green { background: linear-gradient(135deg,#059669,#10B981); color:#fff; }
.hz-badge-ai { background: linear-gradient(135deg,#8B5CF6,#6366F1); color:#fff; }
/* Language button */
.hz-lang-btn {
    background: transparent;
    border: 1px solid var(--hz-border, rgba(212,175,55,0.3));
    color: var(--hz-gold, #D4AF37);
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
    line-height: 1.6;
}
.hz-lang-btn:hover {
    background: var(--hz-gold, #D4AF37);
    color: #000;
}
/* Zoom control */
.hz-zoom-control { gap: 4px; }
.hz-zoom-btn {
    background: transparent;
    border: 1px solid var(--hz-border, rgba(212,175,55,0.2));
    color: var(--hz-text-main, #f4f4f4);
    border-radius: 6px;
    padding: 2px 7px;
    font-size: 0.78rem;
    cursor: pointer;
    transition: border-color 0.2s;
}
.hz-zoom-btn:hover { border-color: var(--hz-gold, #D4AF37); color: var(--hz-gold, #D4AF37); }
.hz-zoom-display {
    font-size: 0.78rem;
    color: var(--hz-text-sub, rgba(255,255,255,0.5));
    min-width: 36px;
    text-align: center;
}
/* Hamburger button */
.hz-hamburger-btn {
    background: transparent;
    border: 1px solid var(--hz-border, rgba(212,175,55,0.2));
    border-radius: 8px;
    padding: 6px 10px;
    cursor: pointer;
    line-height: 1;
    transition: border-color 0.2s;
}
.hz-hamburger-btn:hover { border-color: var(--hz-gold, #D4AF37); }
/* Offcanvas */
.hz-offcanvas {
    background: var(--hz-bg-nav, #0a0a12);
    color: var(--hz-text-main, #f4f4f4);
    max-width: 320px;
}
.hz-offcanvas-header {
    border-bottom: 1px solid var(--hz-border, rgba(212,175,55,0.2));
    padding: 1rem 1.25rem;
    background: rgba(212,175,55,0.05);
}
.hz-offcanvas-body { padding: 1rem 1.25rem; }
.hz-offcanvas-link {
    color: var(--hz-text-main, #f4f4f4);
    padding: 0.55rem 0.5rem;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: color 0.2s, background 0.2s;
    text-decoration: none;
    display: block;
}
.hz-offcanvas-link:hover { color: var(--hz-gold, #D4AF37); background: rgba(212,175,55,0.08); }
.hz-offcanvas-sublink {
    color: var(--hz-text-sub, rgba(255,255,255,0.6));
    font-size: 0.85rem;
    padding: 0.4rem 0.5rem;
    display: block;
    border-radius: 4px;
    transition: color 0.18s;
    text-decoration: none;
}
.hz-offcanvas-sublink:hover { color: var(--hz-gold, #D4AF37); }
.hz-offcanvas-qa-link { opacity: 0.9; }
.hz-mobile-toggle {
    background: transparent;
    border: none;
    color: var(--hz-text-main, #f4f4f4);
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.2s;
}
.hz-mobile-toggle:hover { color: var(--hz-gold, #D4AF37); }
.hz-chevron {
    font-size: 0.7rem;
    transition: transform 0.25s ease;
    color: var(--hz-gold, #D4AF37);
}
.hz-collapsed-open .hz-chevron { transform: rotate(180deg); }
/* CTA buttons */
.hz-btn-gold {
    background: var(--hz-gold-gradient, linear-gradient(135deg,#BF953F,#B38728));
    color: #000;
    border: none;
    border-radius: 24px;
    padding: 8px 20px;
    font-weight: 800;
    font-size: 0.85rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}
.hz-btn-gold:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px var(--hz-glow, rgba(212,175,55,0.3));
    color: #000;
}
.hz-btn-ghost {
    background: transparent;
    border: 1px solid var(--hz-border, rgba(212,175,55,0.3));
    color: var(--hz-text-main, #f4f4f4);
    border-radius: 24px;
    padding: 7px 18px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
    white-space: nowrap;
}
.hz-btn-ghost:hover {
    border-color: var(--hz-gold, #D4AF37);
    color: var(--hz-gold, #D4AF37);
    background: rgba(212,175,55,0.06);
}

/* ── FOOTER ──────────────────────────────────────────────────────── */
.hz-footer {
    background: var(--hz-bg-footer, #000000);
    /* Ensure footer stays visually distinct from page background even if tokens match */
    background-image: linear-gradient(180deg, rgba(0,0,0,0.28) 0%, rgba(0,0,0,0.08) 45%, rgba(0,0,0,0.00) 100%);
    border-top: 1px solid var(--hz-border, rgba(212,175,55,0.22));
    box-shadow: 0 -18px 46px rgba(0,0,0,0.18);
    color: var(--hz-text-main, #f4f4f4);
    position: relative;
    overflow: hidden;
}
.hz-footer-glow {
    position: absolute;
    top: -80px; right: 10%;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--hz-glow-xs, rgba(212,175,55,0.05)) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
}
.hz-footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 16px;
    filter: brightness(1.2);
}
.hz-footer-wordmark {
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: 4px;
    background: var(--hz-gold-gradient, linear-gradient(45deg,#BF953F,#FCF6BA,#B38728));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    margin-bottom: 16px;
}
.hz-footer-desc {
    color: var(--hz-text-sub, rgba(255,255,255,0.68));
    font-size: 0.87rem;
    line-height: 1.85;
    max-width: 300px;
    margin-bottom: 16px;
}
.hz-footer-reg-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(212,175,55,0.08);
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.75rem;
    color: var(--hz-text-sub, rgba(255,255,255,0.72));
}
/* Social icons */
.hz-footer-socials { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.hz-social-btn {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: var(--hz-bg-card, rgba(255,255,255,0.08));
    border: 1px solid var(--hz-border, rgba(255,255,255,0.18));
    display: flex; align-items: center; justify-content: center;
    color: var(--hz-text-main, rgba(255,255,255,0.75));
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(.34,1.56,.64,1);
}
.hz-social-btn:hover {
    background: var(--hz-social-hover, var(--hz-gold, #D4AF37));
    color: #fff;
    border-color: var(--hz-social-hover, var(--hz-gold, #D4AF37));
    transform: translateY(-4px) scale(1.1);
}
.hz-social-btn--placeholder {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}
/* Footer text */
.hz-footer-heading {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--hz-gold, #D4AF37);
    margin-bottom: 20px;
}
.hz-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.hz-footer-links li { margin-bottom: 10px; }
.hz-footer-link {
    color: var(--hz-text-sub, rgba(255,255,255,0.68));
    text-decoration: none;
    font-size: 0.87rem;
    transition: color 0.2s;
}
.hz-footer-link:hover { color: var(--hz-gold, #D4AF37); }
.hz-footer-link-static {
    color: var(--hz-text-sub, rgba(255,255,255,0.60));
    font-size: 0.87rem;
}
.hz-footer-contacts { display: flex; flex-direction: column; gap: 12px; }
.hz-footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--hz-text-sub, rgba(255,255,255,0.68));
    font-size: 0.87rem;
}
.hz-footer-contact-icon {
    color: var(--hz-gold, #D4AF37);
    width: 16px;
    text-align: center;
    flex-shrink: 0;
    margin-top: 3px;
}
/* Newsletter */
.hz-footer-newsletter-label {
    font-size: 0.8rem;
    color: var(--hz-text-sub, rgba(255,255,255,0.60));
    margin-bottom: 10px;
}
.hz-newsletter-form {
    display: flex;
    border-radius: 50px;
    overflow: hidden;
    border: 1px solid var(--hz-border, rgba(212,175,55,0.2));
}
.hz-newsletter-input {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border: none;
    padding: 10px 16px;
    color: var(--hz-text-main, #f4f4f4);
    font-size: 0.85rem;
    outline: none;
    font-family: inherit;
}
.hz-newsletter-input::placeholder { color: rgba(255,255,255,0.3); }
.hz-newsletter-btn {
    background: var(--hz-gold-gradient, linear-gradient(45deg,#BF953F,#B38728));
    color: #000;
    border: none;
    padding: 10px 20px;
    font-weight: 800;
    font-size: 0.82rem;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    transition: opacity 0.2s;
}
.hz-newsletter-btn:hover { opacity: 0.85; }
.hz-newsletter-feedback {
    margin-top: 8px;
    font-size: 0.82rem;
    padding: 6px 12px;
    border-radius: 6px;
}
.hz-newsletter-feedback--ok  { background: rgba(16,185,129,0.12); color: #10B981; }
.hz-newsletter-feedback--err { background: rgba(239,68,68,0.12);  color: #EF4444; }
/* Footer bottom */
.hz-footer-divider {
    border-color: var(--hz-border, rgba(255,255,255,0.12));
    margin: 40px 0 0;
}
.hz-footer-bottom {
    border-top: none;
}
.hz-footer-copyright {
    font-size: 0.8rem;
    color: var(--hz-text-sub, rgba(255,255,255,0.55));
}
.hz-footer-policy-link {
    font-size: 0.8rem;
    color: var(--hz-text-sub, rgba(255,255,255,0.55));
    text-decoration: none;
    transition: color 0.2s;
}
.hz-footer-policy-link:hover { color: var(--hz-gold, #D4AF37); }
.hz-footer-policy-sep {
    margin: 0 8px;
    color: var(--hz-border, rgba(255,255,255,0.24));
}

/* ── TICKER ──────────────────────────────────────────────────────── */
.hz-ticker-bar {
    display: flex;
    align-items: center;
    background: var(--hz-bg-nav, #0a0a12);
    border-bottom: 1px solid var(--hz-border, rgba(212,175,55,0.2));
    height: 38px;
    overflow: hidden;
    position: relative;
    user-select: none;
    z-index: 900;
}
.hz-ticker-label {
    flex-shrink: 0;
    padding: 0 14px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--hz-gold, #D4AF37);
    white-space: nowrap;
}
.hz-ticker-sep {
    width: 1px;
    height: 22px;
    background: var(--hz-border, rgba(212,175,55,0.2));
    flex-shrink: 0;
}
.hz-ticker-track-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
}
.hz-ticker-track {
    display: flex;
    align-items: center;
    gap: 0;
    will-change: transform;
    white-space: nowrap;
}
.hz-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 20px;
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
    border-right: 1px solid var(--hz-border, rgba(212,175,55,0.1));
}
[dir="rtl"] .hz-ticker-item { border-right: none; border-left: 1px solid var(--hz-border, rgba(212,175,55,0.1)); }
.hz-ticker-symbol { color: var(--hz-text-sub, rgba(255,255,255,0.55)); letter-spacing: 0.5px; }
.hz-ticker-price  { color: var(--hz-text-main, #f4f4f4); }
.hz-ticker-change { font-size: 0.78rem; display: inline-flex; align-items: center; gap: 3px; }
.hz-ticker-change--up { color: #10B981; }
.hz-ticker-change--dn { color: #EF4444; }
/* Speed controls */
.hz-ticker-controls {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 0 10px;
}
.hz-ticker-speed-btn {
    background: transparent;
    border: 1px solid var(--hz-border, rgba(212,175,55,0.15));
    color: var(--hz-text-sub, rgba(255,255,255,0.45));
    border-radius: 4px;
    font-size: 0.7rem;
    width: 22px;
    height: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.15s, color 0.15s;
}
.hz-ticker-speed-btn:hover { border-color: var(--hz-gold, #D4AF37); color: var(--hz-gold, #D4AF37); }

/* ── PRELOADER ───────────────────────────────────────────────────── */
.hz-preloader {
    position: fixed;
    inset: 0;
    background: var(--hz-bg-nav, #0a0a12);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    pointer-events: all;
}
.hz-preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}
/* Gold ring */
.hz-preloader-ring {
    position: relative;
    width: 72px;
    height: 72px;
}
.hz-preloader-ring-track {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 4px solid rgba(212,175,55,0.15);
}
.hz-preloader-ring-fill {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 4px solid transparent;
    border-top-color: var(--hz-gold, #D4AF37);
    animation: hz-spin 0.9s linear infinite;
}
@keyframes hz-spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.hz-preloader-logo {
    height: 48px;
    width: auto;
    filter: drop-shadow(0 0 12px var(--hz-glow-xs, rgba(212,175,55,0.2)));
}
.hz-preloader-wordmark {
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 4px;
    background: var(--hz-gold-gradient, linear-gradient(45deg,#BF953F,#FCF6BA,#B38728));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hz-preloader-brand { display: flex; align-items: center; justify-content: center; }
.hz-preloader-label {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.35);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
}

/* ── FLOATING WIDGETS ────────────────────────────────────────────── */
.hz-fab {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--hz-bg-card, #0f0f1e);
    border: 1px solid var(--hz-border, rgba(212,175,55,0.2));
    color: var(--hz-gold, #D4AF37);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    transition: transform 0.25s, box-shadow 0.25s, opacity 0.3s;
    text-decoration: none;
    font-size: 1rem;
}
.hz-fab:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4), 0 0 16px var(--hz-glow-xs, rgba(212,175,55,0.15));
    color: var(--hz-gold, #D4AF37);
}
/* Back-to-top: hidden until needed */
.hz-fab--btt {
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
}
.hz-fab--btt.hz-fab--visible {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}
/* Keep the stack anchored; avoid footer/link collisions */
.hz-fab-stack {
    right: 28px;
    left: auto;
    bottom: max(94px, env(safe-area-inset-bottom) + 86px);
    inset-inline-end: auto;
    z-index: 10000;
}
@media (max-width: 480px) {
    .hz-fab-stack {
        right: 16px;
        left: auto;
        bottom: max(82px, env(safe-area-inset-bottom) + 74px);
        inset-inline-end: auto;
    }
}
/* AI chatbot fab */
.hz-fab--ai {
    position: fixed;
    left: 28px;
    right: auto;
    bottom: max(30px, env(safe-area-inset-bottom) + 22px);
    z-index: 10020;
    width: 52px;
    height: 52px;
    font-size: 1.1rem;
    background: var(--hz-gold-gradient, linear-gradient(135deg,#BF953F,#B38728));
    color: #000;
    border: none;
    box-shadow: 0 8px 32px var(--hz-glow, rgba(212,175,55,0.3));
    animation: hz-ai-pulse 3s infinite;
}
@keyframes hz-ai-pulse {
    0%, 100% { box-shadow: 0 8px 32px var(--hz-glow, rgba(212,175,55,0.3)); }
    50%       { box-shadow: 0 8px 48px rgba(212,175,55,0.55); }
}
.hz-fab--ai:hover { color: #000; }
@media (max-width: 480px) {
    .hz-fab--ai {
        left: 16px;
        right: auto;
        bottom: max(20px, env(safe-area-inset-bottom) + 12px);
    }
}
/* Back-to-top should float independently with strong contrast */
.hz-fab--top {
    background: #1f6fff;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.22);
}
.hz-fab--top i {
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
.hz-fab--top-standalone {
    position: fixed;
    right: 28px;
    left: auto;
    bottom: max(30px, env(safe-area-inset-bottom) + 22px);
    inset-inline-end: auto;
    z-index: 10020;
}
@media (max-width: 480px) {
    .hz-fab--top-standalone {
        right: 16px;
        left: auto;
        bottom: max(20px, env(safe-area-inset-bottom) + 12px);
        inset-inline-end: auto;
    }
}
/* Notification FAB */
.hz-fab--notif {
    position: relative;
    width: 48px;
    height: 48px;
}
.hz-notif-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #EF4444;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    border-radius: 10px;
    padding: 1px 5px;
    min-width: 18px;
    text-align: center;
    line-height: 1.4;
}
/* Chatbot panel */
.hz-chatbot-panel {
    position: fixed;
    bottom: 98px;
    left: 24px;
    right: auto;
    inset-inline-end: auto;
    width: 380px;
    height: 520px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0,0,0,0.6), 0 0 40px var(--hz-glow-sm, rgba(212,175,55,0.15));
    display: flex;
    flex-direction: column;
    border: 1px solid var(--hz-border, rgba(212,175,55,0.2));
    background: var(--hz-bg-card, #0f0f1e);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.97);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    z-index: 10010;
}
.hz-chatbot-panel--open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}
[dir="rtl"] .hz-chatbot-panel {
    left: 24px;
    right: auto;
}
.hz-chatbot-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--hz-bg-nav, #0a0a12);
    border-bottom: 1px solid var(--hz-border, rgba(212,175,55,0.2));
    color: var(--hz-text-main, #f4f4f4);
    font-size: 0.87rem;
    font-weight: 600;
    flex-shrink: 0;
}
.hz-chatbot-close {
    background: transparent;
    border: none;
    color: var(--hz-text-sub, rgba(255,255,255,0.5));
    cursor: pointer;
    font-size: 0.9rem;
    padding: 2px 6px;
    transition: color 0.15s;
}
.hz-chatbot-close:hover { color: var(--hz-gold, #D4AF37); }
.hz-chatbot-iframe { flex: 1; border: none; width: 100%; height: 100%; }
/* Notification modal */
.hz-modal-content {
    background: var(--hz-bg-card, #0f0f1e);
    border: 1px solid var(--hz-border, rgba(212,175,55,0.2));
    border-radius: 16px;
    color: var(--hz-text-main, #f4f4f4);
}
.hz-modal-header {
    background: rgba(212,175,55,0.05);
    border-bottom: 1px solid var(--hz-border, rgba(212,175,55,0.2));
    padding: 1rem 1.25rem;
}
.hz-modal-footer {
    background: rgba(255,255,255,0.02);
    border-top: 1px solid var(--hz-border, rgba(212,175,55,0.1));
    padding: 0.75rem 1.25rem;
}
.hz-notif-date-sep {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--hz-gold, #D4AF37);
    padding: 8px 16px 4px;
    border-bottom: 1px solid var(--hz-border, rgba(212,175,55,0.1));
}
.hz-notif-item {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: background 0.15s;
}
.hz-notif-item:hover { background: rgba(255,255,255,0.03); }
.hz-notif-item--unread { background: rgba(212,175,55,0.05); }
.hz-notif-link {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-decoration: none;
    color: var(--hz-text-main, #f4f4f4);
}
.hz-notif-link:hover { color: var(--hz-text-main, #f4f4f4); }
.hz-notif-icon { color: var(--hz-gold, #D4AF37); flex-shrink: 0; margin-top: 3px; }
.hz-notif-title { font-size: 0.87rem; margin-bottom: 4px; }
.hz-notif-time  { font-size: 0.76rem; color: var(--hz-text-sub, rgba(255,255,255,0.45)); }
.hz-notif-new-badge {
    display: inline-block;
    background: var(--hz-gold, #D4AF37);
    color: #000;
    font-size: 0.62rem;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 4px;
    vertical-align: middle;
}

/* ── REVEAL ANIMATIONS (used by scripts-base.blade.php) ─────────── */
.hz-reveal,
.hz-reveal-up {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.hz-reveal    { transform: translateY(20px); }
.hz-reveal-up { transform: translateY(30px); }
.hz-reveal.hz-revealed,
.hz-reveal-up.hz-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ── RESPONSIVE ADJUSTMENTS ─────────────────────────────────────── */
@media (max-width: 991.98px) {
    .hz-navbar-themed { padding-top: 0.4rem; padding-bottom: 0.4rem; }
    .hz-chatbot-panel {
        width: calc(100vw - 32px);
        right: 0 !important;
        left: 0 !important;
        margin: 0 auto;
        bottom: 88px;
    }
    .hz-footer { padding-bottom: 0; }
}
@media (max-width: 575.98px) {
    .hz-ticker-controls { display: none; }
    .hz-chatbot-panel { height: 420px; width: calc(100vw - 16px); }
}

/* ── RTL ADJUSTMENTS ────────────────────────────────────────────── */
[dir="rtl"] .hz-navbar-brand { margin-right: 0 !important; margin-left: auto; }
[dir="rtl"] .hz-footer-socials { direction: ltr; }
[dir="rtl"] .hz-newsletter-form { direction: rtl; }

/* ── BOOTSTRAP 5 DROPDOWN VISIBILITY FIX ────────────────────────────────
   Earlier rules in this file set opacity:0; visibility:hidden on .dropdown-menu
   for a legacy CSS-hover pattern. Bootstrap 5 uses data-bs-toggle="dropdown"
   and adds .show — these overrides make that approach work correctly. */
.dropdown-menu.show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    display: block !important;
}

/* Desktop hover-open support (complements the JS initHoverDropdowns) */
@media (min-width: 992px) {
    .hz-main-nav-list .dropdown:hover > .dropdown-menu,
    #navbarDesktop .dropdown:hover > .dropdown-menu {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
        display: block !important;
    }
}

/* RTL: flip dropdown alignment */
[dir="rtl"] #navbarDesktop .dropdown-menu,
[dir="rtl"] .hz-dropdown-menu {
    left: auto !important;
    right: 0 !important;
}
[dir="rtl"] .hz-notif-badge { right: auto; left: -4px; }
