#scrollUpButton {
  display: none; /* Initially hide the button */
  opacity: 0; /* Start with opacity 0 */
  transition: opacity 0.5s ease; /* Smooth transition for opacity */
}

#scrollUpButton.show {
  display: block; /* Show the button */
  opacity: 1; /* Fully visible */
}

.scroll-up.active-scroll {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-up {
  cursor: pointer;
  display: block;
  border-radius: 50px;
  box-shadow: inset 0 0 0 2px #0033a0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  position: fixed;
  right: 1.5rem;
  bottom: 2rem;
  height: 50px;
  width: 50px;
  transition: all 0.3s ease-in-out;
}

.scroll-up::after {
  position: absolute;
  font-family: "Font Awesome 5 Free";
  content: "\f176";
  text-align: center;
  line-height: 50px;
  font-weight: 700;
  font-size: 18px;
  color: #f7a231;
  left: 0;
  top: 0;
  height: 50px;
  width: 50px;
  cursor: pointer;
  display: block;
  z-index: 1;
  transition: all 0.3s ease-in-out;
}

.loader-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0033a0; /* Blue background */
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.loader-container img {
  width: 50%;
  height: auto;
  max-width: 600px;
}

.loader-container.hidden {
  opacity: 0;
  pointer-events: none;
}

#loader {
  width: 600px;
  height: 600px;
}

*::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: #f7a231;
  border-radius: 10px;
}

*::-webkit-scrollbar {
  width: 5px;
  background-color: #f5f5f5;
}

*::-webkit-scrollbar-thumb {
  background-color: #0033a0;
  border-radius: 20px;
  background-image: -webkit-linear-gradient(
    90deg,
    #f7a231 25%,
    transparent 25%,
    transparent 50%,
    #f7a231 50%,
    #f7a231 75%,
    transparent 75%,
    transparent
  );
}

.partners-section .partner-card {
  transition: transform 0.3s;
}

.partners-section .partner-card:hover {
  transform: scale(1.05);
}

.navbar-logo {
  width: 300px;
  max-width: 100%;
  height: auto;
}

.social-icon {
  width: 24px;
  height: 24px;
}

@media (max-width: 767.98px) {
  .navbar-social {
    display: none !important;
  }

  .navbar-collapse {
    max-height: 80vh;
    overflow-y: auto;
  }
}
video::-webkit-media-controls-panel {
  display: none !important;
  opacity: 1 !important;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
  .navbar-logo {
    width: 150px;
  }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
  .navbar-logo {
    width: 150px;
  }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
  .navbar-logo {
    width: 300px;
  }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
  .navbar-logo {
    width: 300px;
  }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
  .navbar-logo {
    width: 300px;
  }
}
