#nprogress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: #007bff;
  z-index: 9999;
  transition: width 0.4s ease;
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
}

#nprogress-bar::after {
  content: "";
  position: absolute;
  right: 0;
  width: 100px;
  height: 100%;
  box-shadow:
    0 0 10px #007bff,
    0 0 5px #007bff;
  opacity: 1;
  transform: rotate(3deg) translate(0px, -4px);
}

body {
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  padding-bottom: env(safe-area-inset-bottom);
  padding-top: env(safe-area-inset-top);
}

body {
  background-color: #fff;
  margin: 0;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  opacity: 0;
  animation: fadeInUp 1s forwards;
}
.animate-fade-in-up.delay {
  animation-delay: 0.5s;
}

.card {
  transition:
    box-shadow 0.3s,
    background-color 0.3s;
}
.card:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  background-color: #f8f9fa;
}

.navbar-toggler {
  transition: box-shadow 0.3s;
}
.navbar-toggler:hover {
  box-shadow: 0 0 20px 5px rgba(204, 255, 0, 0.7);
  border-color: #ccff00;
}

.glow-text {
  color: #666666 !important;
  transition: color 0.3s ease;
  text-decoration: none !important;
}
.glow-text:hover {
  color: #111111 !important;
  cursor: pointer;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.pulse-btn {
  position: fixed;
  bottom: 65px;
  right: 20px;
  width: 110px;
  height: 110px;
  padding: 15px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.2;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background-color: #ccff00;
  color: #000 !important;
  cursor: pointer;
  animation: pulse-neon 2s infinite;
  z-index: 1000;
  text-decoration: none;
  transition: transform 0.3s ease;
}

@keyframes pulse-neon {
  0% {
    box-shadow: 0 0 0 0 rgba(204, 255, 0, 0.7);
    transform: scale(1);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(204, 255, 0, 0);
    transform: scale(1.05);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(204, 255, 0, 0);
    transform: scale(1);
  }
}

.pulse-btn:hover {
  transform: scale(1.1);
  background-color: #dfff4f;
}

.top-strip {
  width: 100%;
  background-color: #0066cc;
  padding: 10px 20px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}

.content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: flex-start;
}

.title {
  color: white;
  font-size: 24px;
  font-weight: bold;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.job-card {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  height: 100%;
}

#filtersSection {
  background: #fff;
  padding: 20px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  position: relative;
}

#searchButton {
  width: 100%;
}

#jobsSection {
  padding-bottom: 50px;
}

#noResultsMsg {
  display: none;
  text-align: center;
  font-size: 1.2em;
  color: #777;
  margin-top: 30px;
}

.fade-in {
  opacity: 0;
  animation: fadeIn 0.8s forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.modal-header {
  background-color: #007bff;
  color: #fff;
}

.small-padding {
  padding: 2px 0;
  margin: 0;
}

.service-ultra-card {
  border: none;
  border-radius: 24px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  position: relative;
}
.service-ultra-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.bg-gradient-dark {
  background: linear-gradient(135deg, #121212 0%, #2d2d2d 100%);
}

.bg-gradient-blue {
  background: linear-gradient(135deg, #0052cc 0%, #002d70 100%);
}

.icon-box {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 20px;
}

.btn-neon {
  border: none;
  border-radius: 12px;
  padding: 16px 32px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: 0.3s;
}

.btn-neon-yellow {
  background: #ccff00;
  color: #000;
  border: 2px solid #ccff00;
  transition: all 0.3s ease-in-out;
}
.btn-neon-yellow:hover {
  background: transparent;
  color: #ccff00;
  transform: scale(1.05) translateY(-3px);
  box-shadow: 0 0 30px rgba(204, 255, 0, 0.6);
  border-color: #ccff00;
}

.btn-white {
  background: #fff;
  color: #000;
}
.btn-white:hover {
  background: #ffffff;
  color: #0052cc;
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
}

.noise-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.04;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.fw-black {
  font-weight: 900 !important;
}

h2.display-4 {
  color: #0f172a;
  letter-spacing: -2px !important;
}

.text-primary-custom {
  font-style: italic;
  color: #0062ff;
}

#downloadToast {
  background: linear-gradient(135deg, #121212 0%, #1a1a1a 100%) !important;
  border-bottom: 3px solid #ccff00 !important;
  min-width: 320px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.toast.showing {
  transform: translateY(-20px);
  opacity: 0;
  transition: all 0.3s ease-out;
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
}
.toast {
  opacity: 1 !important;
}

.search-input-custom {
  background-color: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  border-radius: 10px !important;
  transition: all 0.3s ease;
}
.search-input-custom:focus {
  background-color: rgba(255, 255, 255, 0.1) !important;
  border-color: #ccff00 !important;
  box-shadow: 0 0 15px rgba(204, 255, 0, 0.2) !important;
}
.search-input-custom::placeholder {
  color: rgba(255, 255, 255, 0.6) !important;
  font-weight: 400;
}
.search-input-custom::-webkit-input-placeholder {
  color: rgba(255, 255, 255, 0.6) !important;
}
.search-input-custom::-moz-placeholder {
  color: rgba(255, 255, 255, 0.6) !important;
  opacity: 1;
}

.btn-search-neon {
  background-color: #ccff00;
  color: #000;
  font-weight: 800;
  border-radius: 10px;
  border: none;
  padding: 10px 25px;
  transition: all 0.3s ease;
}
.btn-search-neon:hover {
  background-color: #e6ff80;
  box-shadow: 0 0 20px rgba(204, 255, 0, 0.4);
  transform: translateY(-2px);
}

#jobsAnchor {
  scroll-margin-top: 55px;
}

@keyframes fadeInLeft {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  0% {
    opacity: 0;
    transform: translateX(50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.anim-left {
  opacity: 0;
  animation: fadeInLeft 1.2s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
}

.anim-right {
  opacity: 0;
  animation: fadeInRight 1.2s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
}

.delay-200 {
  animation-delay: 0.2s;
}

.fw-black {
  font-family: "Unbounded", sans-serif !important;
  font-weight: 900 !important;
}

@keyframes fadeInLeftHero {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRightHero {
  0% {
    opacity: 0;
    transform: translateX(50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.anim-left {
  opacity: 0;
  animation: fadeInLeftHero 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.anim-right {
  opacity: 0;
  animation: fadeInRightHero 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.delay-200 {
  animation-delay: 0.2s;
}

.btn-hero-main {
  padding: 18px 35px;
  font-size: 1.1rem;
  font-weight: 800;
  border-radius: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-neon-yellow {
  background-color: #ccff00;
  color: #000;
  border: none;
}
.btn-neon-yellow:hover {
  background-color: #dfff4f;
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 15px 30px rgba(204, 255, 0, 0.4);
  color: #000;
}

.backdrop-blur {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.shadow-2xl {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.ad-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.2) 60%,
    transparent 100%
  );
  z-index: 1;
}

.carousel-caption {
  z-index: 2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.ad-img {
  height: 450px;
  object-fit: cover;
  filter: brightness(0.8);
}

.carousel-indicators [button] {
  width: 30px;
  height: 4px;
  border-radius: 2px;
  background-color: #ccff00;
}

@media (max-width: 768px) {
  .ad-img {
    height: 300px;
  }
  .carousel-caption h2 {
    font-size: 1.5rem;
  }
  .carousel-caption p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
  }
}

.carousel-item .btn {
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

#cookie-banner {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  padding: 15px 25px;
  z-index: 9999;
  display: flex;
  align-items: center;
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
  width: 90%;
  max-width: 550px;
  border: 1px solid #f0f0f0;
}

.cookie-banner-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(20px) !important;
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.cookie-content p {
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
  color: #333;
}

.cookie-content p a {
  color: #007bff;
  text-decoration: underline;
}

#cookie-accept {
  background: #ffcc00;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  margin-left: 15px;
  font-weight: bold;
  white-space: nowrap;
  transition: background 0.3s;
}

#cookie-accept:hover {
  background: #e6b800;
}

@media (max-width: 600px) {
  #cookie-banner {
    bottom: 100px;
    padding: 15px;
  }
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  #cookie-accept {
    margin-left: 0;
    margin-top: 12px;
    width: 100%;
  }
}

.hover-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.05) !important;
}

.hover-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1) !important;
    border-color: #ccff00 !important;
}

.company-logo-container {
    flex-shrink: 0;
    width: 54px;
    height: 54px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.letter-avatar {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-weight: 700;
    font-size: 22px;
    color: #fff;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.3s ease;
}

.avatar-scheme-1 { background: linear-gradient(135deg, #212529 0%, #343a40 100%); color: #ccff00; border-color: rgba(204, 255, 0, 0.3); }
.avatar-scheme-2 { background: linear-gradient(135deg, #007bff 0%, #0056b3 100%); }
.avatar-scheme-3 { background: linear-gradient(135deg, #6c757d 0%, #495057 100%); }

.job-card:hover .letter-avatar {
    transform: scale(1.08);
}

.company-name-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.company-logo-box {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, #212529 0%, #343a40 100%);
    color: #ccff00;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-weight: bold;
    font-size: 22px;
    border: 1px solid rgba(204, 255, 0, 0.3);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    flex-shrink: 0;
    text-transform: uppercase;
}
