/* :root {
  --primary-color: #ff5722;
  --secondary-color: #ffffff;
  --tertiary-color: #000000;
} */
/* Slider Styles */
.header-8{
   font-family: 'Rajdhani', sans-serif!important;
}

.header-8 .carousel {
  position: relative;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}
.header-8 .logo {
    max-width: 125px!important;
  }
.header-8 .carousel-inner {
  display: flex;
  transition: transform 1s ease-in-out;
}

.header-8 .bg-dark {
    background-color: #b13c66!important;
}

.header-8 .carousel-item {
  min-width: 100%;
  position: relative;
}

.header-8 .carousel-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Darker for fitness theme */
  z-index: 1;
}

.header-8 .carousel-caption {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 3em;
  font-weight: 800;
  text-align: center;
  z-index: 2;
  text-transform: uppercase;
}

.header-8 .carousel-caption span {
  color: var(--primary-color);
}

.header-8 .btn-teo-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 24px;
  background-color: var(--primary-color);
  color: var(--tertiary-color);
  font-weight: bold;
  border: 3px solid var(--secondary-color);
  border-radius: 50px;
  text-align: center;
  text-decoration: none;
  font-size: 1em;
  z-index: 2;
}

.header-8 .btn-teo-caption:hover {
  cursor: pointer;
  background-color: var(--tertiary-color);
  color: var(--secondary-color);
  border: 3px solid var(--primary-color);
  transition: all 1s ease;
}

.header-8 .carousel-buttons {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 3;
}

.header-8 .prev,
.header-8 .next {
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 2em;
  padding: 10px;
  cursor: pointer;
}

.header-8 .carousel-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  list-style: none;
  padding: 0;
  z-index: 3;
}

.header-8 .carousel-indicators li {
  background-color: #666;
  border-radius: 50%;
  width: 15px;
  height: 15px;
  margin: 0 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.header-8 .carousel-indicators li.active {
  background-color: white;
}

/* Tablet Responsive */
@media (max-width: 768px) {
  .header-8 .carousel-caption {
    font-size: 2em;
    top: 20%;
  }

  .header-8 .btn-teo-caption {
    font-size: 0.9em;
    padding: 10px 20px;
    top: 45%;
  }

  .header-8 .carousel-buttons .prev,
  .header-8 .carousel-buttons .next {
    font-size: 1.5em;
  }

  .header-8 .carousel-indicators li {
    width: 12px;
    height: 12px;
  }
}

/* Mobile Responsive */
@media (max-width: 480px) {
  .header-8 .carousel-caption {
    font-size: 1.2em;
    top: 15%;
  }

  .header-8 .btn-teo-caption {
    font-size: 0.8em;
    padding: 8px 16px;
    top: 40%;
  }

  .header-8 .carousel-buttons .prev,
  .header-8 .carousel-buttons .next {
    font-size: 1.2em;
  }

  .header-8 .carousel-indicators li {
    width: 10px;
    height: 10px;
  }

  .header-8 .carousel-item img {
    width: 100%;
    height: auto;
  }
}
  .header-8 #nav .navbar-collapse {
  z-index: 999;
}