@font-face {
  font-family: 'MistralD';
  src: url('../fonts/MISTRAL.TTF') format('truetype');
}
*{
  font-family: 'apple-system-ui', 'Segoe UI', sans-serif;
}
/* Fixed Tradebar */
.tradebar {
  height: 40px;
  min-height: 30px;
  padding: 0;
  position: fixed !important;
  top: 0;
  left: 0;
  width: 215px;
  z-index: 9998;
  transition: transform 0.6s cubic-bezier(0.5, 1.5, 0.5, 1),
              filter 0.1s ease-out,
              background-color 0.5s ease-in-out;
  margin-top: -10px;
}

/* Trade Links */
.trade-link {
  display: block;
  padding: 0.5rem 1rem;
  text-decoration: none;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: white;
  margin: 0 5px;
  transition: transform 0.3s ease-in-out, color 0.5s ease-in-out;
  background-color: rgba(0, 0, 0, 0.25);
}

/* Navbar */
.navbar {
  height: 60px;
  min-height: 30px;
  padding: 0;
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999 !important;
  transition: transform 0.1s ease-out, filter 0.1s ease-out, background-color 0.5s ease-in-out;
  background-color: black !important; /* Ensure solid background */
}

/* Navbar Item */
.nav-item {
  height: 30px;
}

/* Navbar Title */
.navbar-title {
  font-size: 30px !important;
}
@media (max-width: 340px) {
  .navbar-title {
    font-size: 27px !important;
  }
  .navbar-toggler {
    margin-right: 0px !important;
  }
  .navbar-logo {
    height: 35px; /* Bigger for small screens */
    max-width: 200px;
  }
}

@media (max-width: 768px) {
  .navbar-logo {
    height: 40px; /* Bigger for mobile */
    max-width: 220px;
  }
}
/* Navbar Brand */
.navbar-brand {
  font-family: Mistral, cursive;
  color: rgb(255, 153, 0);
  font-weight: bold;
  display: flex;
  align-items: center;
}

/* Navbar Logo */
.navbar-logo {
  height: 45px; /* Much bigger size */
  width: auto; /* Maintains aspect ratio */
  max-width: 250px; /* Larger max width */
  object-fit: contain; /* Ensures the image fits properly */
  transition: all 0.3s ease; /* Smooth hover effects */
}

.navbar-logo:hover {
  transform: scale(1.05); /* Slight hover effect */
  filter: brightness(1.1); /* Slight brightness increase on hover */
}

/* Navbar Toggler */
.navbar-toggler {
  border: none;
  padding: 0.25rem 0.75rem;
  margin-right: 1rem;
  background: transparent !important;
  position: relative;
  z-index: 10000 !important; /* Highest z-index to stay on top */
}

.navbar-toggler:focus {
  box-shadow: none;
  outline: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  width: 1.5em;
  height: 1.5em;
  position: relative;
  z-index: 10001 !important; /* Even higher z-index for the icon */
  display: block !important; /* Force display */
}

.navbar-toggler:hover .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 153, 0, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Navbar Collapse */
.navbar-collapse {
  background-color: black;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.95);
    display: none;
    transition: all 0.15s ease-in-out;
    z-index: 9999;
  }

  .navbar-collapse.show {
    display: block;
  }

  .navbar-collapse.collapsing {
    display: none;
    height: 0;
    transition: none;
  }

  /* Force proper display behavior for hamburger menu */
  .navbar-collapse:not(.show) {
    display: none;
  }

  .navbar-collapse.show {
    display: block;
    opacity: 1;
    visibility: visible;
  }

  .navbar-nav {
    text-align: center;
    width: 100%;
  }

  .navbar-nav .nav-link {
    text-align: center;
    display: block;
    padding: 10px 0;
  }
}

/* Hamburger Icon */
.navbar-white .navbar-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  transition: color 0.3s ease-in-out;
}

/* Navbar Links */
.navbar-nav .nav-link {
  text-align: left;
  padding: 0 10px;
  height: 30px;
  line-height: 30px;
  font-size: 20px;
  font-weight: 600;
  color: white;
  margin: 0 5px;
  transition: transform 0.3s ease-in-out;
  background-color: rgba(0, 0, 0, 0.25);
}

.navbar-nav .nav-link:hover {
  color: #ff9900 !important;
}

/* Video Background */
.video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  object-fit: fill;
  z-index: -1;
  pointer-events: none;
  border-radius: 0;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

/* Hero Section */
.hero-section {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  color: white;
  transition: opacity 0.5s ease-in-out;
}

/* Scrollable Content */
.content-section {
  background: #fff;
  padding: 60px 20px;
  text-align: center;
}

/* Reveal Effect */
.new-content {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.new-content.show {
  opacity: 1;
}

/* Blurred Video Effect */
.video-bg.blur {
  filter: blur(10px);
  transition: filter 1s ease;
}

/* Padding to Avoid Navbar Overlap */
.padding-top {
  padding-top: 80px;
}

/* Language Selector */
.custom-select-wrapper {
  position: relative;
  display: inline-block;
  background-color: #000;
  border-radius: 8px;
  padding: 2px 10px;
}

.lang-icon {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 16px;
  color: white;
  z-index: 2;
}

.lang-select {
  font-size: 20px;
  height: 35px;
  padding: 4px 10px;
  font-weight: bold;
  color: white;
  background-color: #000;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: none !important;
  outline: none;
}

.lang-select:focus {
  box-shadow: none;
  outline: none;
  background-color: #111;
}

/* Custom Select Arrow */
.custom-select-wrapper::after {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  color: white;
  pointer-events: none;
}

/* Hover Effect */
.custom-select-wrapper:hover,
.lang-select:hover {
  background-color: #333;
}

.lang-select:focus {
  outline: none;
  background-color: #444;
}

/* Form Select */
.navbar .form-select {
  background-color: black;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 4px 8px;
}

.navbar .form-select:focus {
  outline: none;
  box-shadow: none;
  background-color: #222;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #ff6b35, #ff9500);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #ff9500, #ffb347);
}
