/* Local overrides: hero без декоративных PNG (убирает «шахматку» и артефакты параллакса) */

/* ── Dark page background (#001222 brand theme) ── */
html,
body,
.page-wrapper,
.content-wrapper,
.Login-wrap,
.breadcrumb-wrap.bg-f {
  background-color: #001222 !important;
  color: #eef4fa !important;
}

.bg-whisper,
.feature-wrap.bg-whisper,
.blog-wrap.bg-whisper {
  background-color: #001d3a !important;
}

.exchange-marquee-section {
  background: linear-gradient(180deg, #001d3a 0%, #001222 100%) !important;
  border-top-color: rgba(255, 255, 255, 0.09) !important;
  border-bottom-color: rgba(255, 255, 255, 0.09) !important;
}

html.theme-dark body,
html.theme-dark .page-wrapper,
html.theme-dark .content-wrapper,
.theme-dark body,
.theme-dark .page-wrapper,
.theme-dark .content-wrapper,
.theme-dark .bg-whisper,
.theme-dark .hero-wrap.style2,
.theme-dark .hero-wrap.style3,
.theme-dark .exchange-marquee-section,
.theme-dark .footer-wrap {
  background-color: #001222 !important;
}

.theme-dark .hero-wrap.style2 {
  background: #001222 !important;
}

.hero-wrap.style2 {
  background: #001222 !important;
}

.hero-wrap.style2 .hero-shape {
  display: none !important;
}
@media (min-width: 992px) {
  .hero-wrap.style2 .hero-img-wrap {
    min-height: 420px;
    transform: scale(1.06);
    transform-origin: center right;
  }
  .hero-wrap.style2 .hero-img-wrap .hero-img-one img,
  .hero-wrap.style2 .hero-img-wrap .hero-img-two img {
    width: 100%;
    height: auto;
    display: block;
  }
  .hero-wrap.style2 .hero-img-wrap .hero-img-two {
    margin-top: 96px;
  }
  .hero-wrap.style2 .hero-img-wrap .hero-promo-text {
    padding: 22px 26px 22px 28px !important;
  }
  .hero-wrap.style2 .hero-img-wrap .hero-promo-text span i {
    font-size: 56px !important;
  }
  .hero-wrap.style2 .hero-img-wrap .hero-promo-text h6 {
    font-size: 28px !important;
  }
  .hero-wrap.style2 .hero-img-wrap .hero-promo-text h6 span {
    font-size: 17px !important;
  }
}

@media (min-width: 1200px) {
  .hero-wrap.style2 .hero-img-wrap {
    transform: scale(1.1);
    min-height: 460px;
  }
  .hero-wrap.style2 .hero-img-wrap .hero-img-two {
    margin-top: 110px;
  }
}

/* Header: make logo bigger */
.header-wrap.style2,
.header-wrap.style2 .header-bottom {
  background: #001222 !important;
}

.header-wrap.style2 .navbar-brand img,
.theme-light .navbar-brand .logo-light,
.theme-dark .navbar-brand .logo-light {
  display: block !important;
  max-width: 280px !important;
  max-height: 72px !important;
  width: auto;
  height: auto;
  object-fit: contain;
}

.theme-dark .navbar-brand .logo-dark,
.theme-dark .footer-logo .logo-dark {
  display: none !important;
}

.theme-dark .footer-logo .logo-light {
  display: block !important;
}

@media only screen and (max-width: 991px) {
  .header-wrap.style2 .navbar-brand img,
  .theme-light .navbar-brand .logo-light,
  .theme-dark .navbar-brand .logo-light {
    max-width: 220px !important;
    max-height: 56px !important;
  }
}

@media only screen and (max-width: 767px) {
  .header-wrap.style2 .navbar-brand img,
  .theme-light .navbar-brand .logo-light,
  .theme-dark .navbar-brand .logo-light {
    max-width: 190px !important;
    max-height: 48px !important;
  }
}

/* Full-width infinite logo marquee (global exchanges & partners) */
.exchange-marquee-section {
  background: linear-gradient(180deg, #001d3a 0%, #001222 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.theme-dark .exchange-marquee-section {
  background: linear-gradient(180deg, #001d3a 0%, #001222 100%);
  border-top-color: rgba(255, 255, 255, 0.09);
  border-bottom-color: rgba(255, 255, 255, 0.09);
}

.exchange-marquee-caption {
  font-family: "Source Sans 3", "Montserrat", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7b8ca3;
  margin-bottom: 1.25rem !important;
}

.theme-dark .exchange-marquee-caption {
  color: #a8b6c9;
}

.exchange-marquee-outer {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.exchange-marquee-inner {
  display: flex;
  width: max-content;
  animation: exchange-marquee-scroll 55s linear infinite;
  will-change: transform;
}

.exchange-marquee-inner:hover {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .exchange-marquee-inner {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
    row-gap: 1.25rem;
  }
  .exchange-marquee-group {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@keyframes exchange-marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.exchange-marquee-group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  padding: 0.85rem 2rem;
}

.exchange-marquee-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
}

.exchange-marquee-item img {
  display: block;
  max-height: 44px;
  width: auto;
  max-width: min(140px, 22vw);
  object-fit: contain;
  opacity: 0.94;
  filter: grayscale(0.15);
  transition: opacity 0.2s ease, filter 0.2s ease, transform 0.2s ease;
}

.exchange-marquee-item img:hover {
  opacity: 1;
  filter: none;
  transform: scale(1.04);
}

@media only screen and (max-width: 767px) {
  .exchange-marquee-item {
    height: 46px;
  }
  .exchange-marquee-item img {
    max-height: 36px;
  }
}

/* ── Brand theme: #001222 + #F6DC2A ─────────────────────────────────────── */
:root,
[data-bs-theme=light] {
  --bs-primary: #F6DC2A;
  --bs-primary-rgb: 246, 220, 42;
  --bs-link-color: #F6DC2A;
  --bs-link-hover-color: #E8CB1A;
}

.btn.style1,
.btn.style1:hover,
.btn.style1:focus {
  background-color: #F6DC2A !important;
  border-color: #F6DC2A !important;
  color: #001222 !important;
}

.btn.style1:hover {
  background-color: #E8CB1A !important;
  border-color: #E8CB1A !important;
}

.page-wrapper,
.content-wrapper {
  background-color: #001222 !important;
}

.breadcrumb-wrap.bg-f {
  background: #001d3a !important;
}

.breadcrumb-wrap .breadcrumb-title h2,
.breadcrumb-title h2 {
  color: #eef4fa !important;
}

/* Dark theme typography & components */
.hero-wrap.style2 .hero-content h1,
.hero-wrap.style2 .hero-content p,
.content-title h2,
.content-title p,
.section-title h2,
.section-title p,
.about-content p,
.feature-card.style3,
.feature-card.style3 p,
.feature-card.style3 h3,
.wh-content p,
.blog-card .blog-info h3 a,
.footer-wrap,
.footer-wrap .copyright-text,
.main-menu li a,
.navbar-nav .nav-link {
  color: #eef4fa !important;
}

.hero-wrap.style2 .hero-content span,
.content-title span,
.section-title span {
  color: #F6DC2A !important;
}

.feature-card.style3 {
  background: #001d3a !important;
  border: 1px solid #2a4d76 !important;
}

.about-wrap.style2,
.wh-wrap.style2,
.blog-wrap {
  background-color: #001222 !important;
}

.footer-wrap {
  background: #001222 !important;
  border-top: 1px solid #2a4d76 !important;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
  color: #F6DC2A !important;
}

.contact-us-wrap,
.contact-form,
.contact-form .form-group input,
.contact-form .form-group textarea {
  color: #eef4fa !important;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
  background: #002847 !important;
  border-color: #2a4d76 !important;
}

.contact-form .form-group label {
  color: #eef4fa !important;
}

.testimonial-wrap,
.counter-wrap,
.about-wrap.style1 {
  background-color: #001222 !important;
}

.blog-card {
  background: #001d3a !important;
  border-color: #2a4d76 !important;
}

.blog-card .blog-info h3 a,
.blog-card .blog-info p {
  color: #eef4fa !important;
}

.lang-switch-btn.active {
  background: #F6DC2A !important;
  color: #001222 !important;
  border-color: #F6DC2A !important;
}

.lang-switch-btn {
  color: #eef4fa !important;
  background: #001d3a !important;
  border-color: #2a4d76 !important;
}

.login-form-wrap .login-body .form-group select {
  border-radius: 5px;
  background: #002847;
  width: 100%;
  height: 54px;
  padding: 10px 15px;
  border: 1px solid #2a4d76;
  font-size: 16px;
  color: #eef4fa;
  appearance: auto;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s;
}
.login-form-wrap .login-body .form-group select:focus {
  border-color: #F6DC2A;
  box-shadow: 0 0 0 3px rgba(246, 220, 42, 0.22);
}
.login-form-wrap .login-body .form-group select.m-error,
.login-form-wrap .login-body .form-group select + .country-error-hint.m-error {
  border-color: red !important;
}
/* Show red border on the select when the hint-div next to it gets m-error */
.login-form-wrap .login-body .form-group .country-error-hint.m-error ~ select,
.login-form-wrap .login-body .form-group select:has(+ .country-error-hint.m-error) {
  border-color: red !important;
}

/* optgroup visual separator */
.login-form-wrap .login-body .form-group select optgroup {
  font-style: normal;
  color: #999;
  font-size: 12px;
}

/* ── Registration error box ─────────────────────────────────────────── */
#register-error-box br { display: block; margin-bottom: 4px; content: ""; }

