* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  /* font-family: "rajdhani", sans-serif; */
}

.navbar {
  background-color: #141414;
}

.nav-link {
  color: #ffffff !important;
  margin: 0 10px;
}


.btn-register {
  background-color: #a600ff;
  color: #fff;
  border: none;
}

.btn-register:hover {
  background-color: #a600ff;
}

.toggle-switch {
  width: 50px;
  height: 25px;
  background-color: #333;
  border-radius: 50px;
  position: relative;
  cursor: pointer;
  margin-right: 15px;
}

.toggle-circle {
  width: 20px;
  height: 20px;
  background-color: #0ff;
  border-radius: 50%;
  position: absolute;
  top: 2.5px;
  left: 2.5px;
  transition: all 0.3s ease;
}

.toggle-switch.active .toggle-circle {
  left: 27.5px;
  background-color: #f0f;
}

.navbar-nav {
  flex-direction: row;
}

@media (max-width: 991.98px) {
  .navbar-nav {
    flex-direction: column !important;
  }

  .centered-nav {
    justify-content: start !important;
  }
}

.border-custom {
  border: 1px solid #262626 !important;
  background-color: #0f0f0f;
  padding-top: 8px;
  padding-right: 30px;
  padding-bottom: 8px;
  padding-left: 30px;
}

.loginborder {
  border: 1px solid var(--Border-Color, #262626) !important;
  color: #ffffff;
  background-color: #0f0f0f;
}

/* === Fix nav links hover shake === */
.navbar-nav .nav-link {
  transition: color 0.3s ease;
  padding: 0.5rem 1rem;
  display: inline-block;
}

.navbar-nav .nav-link:hover {
  color: #fff !important;
  text-decoration: none;
}

/* === Border custom color (#262626) === */
.border-custom {
  border-color: #262626 !important;
}

/* === Toggle Switch (existing) === */
.toggle-switch {
  width: 50px;
  height: 25px;
  background-color: #333;
  border-radius: 50px;
  position: relative;
  cursor: pointer;
  margin-right: 15px;
}

.toggle-circle {
  width: 20px;
  height: 20px;
  background-color: #0ff;
  border-radius: 50%;
  position: absolute;
  top: 2.5px;
  left: 2.5px;
  transition: all 0.3s ease;
}

.toggle-switch.active .toggle-circle {
  left: 27.5px;
  background-color: #f0f;
}

/* === Responsive nav and button center (SMALL SCREEN) === */
@media (max-width: 991.98px) {
  .navbar-nav {
    flex-direction: column !important;
    /* align-items: center !important; */
  }

  .navbar-nav .nav-item {
    margin-bottom: 0.5rem;
  }

  /* .navbar-collapse .d-flex {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  } */

  .toggle-switch {
    margin: 10px 0;
  }
}

/* darkmode */

/* Default Light Mode */
body {
  background-color: #fff;
  color: #000;
  transition: all 0.3s ease;
}

/* Dark Mode */
body.dark-mode {
  background-color: #121212;
  color: #f0f0f0;
}

/* Navbar Dark Mode */
body.dark-mode .navbar {
  background-color: #1f1f1f;
}

body.dark-mode .nav-link {
  color: #f0f0f0 !important;
}

/* Change logo on dark mode */
.logo-light {
  display: inline;
}

.logo-dark {
  display: none;
}

body.dark-mode .logo-light {
  display: none;
}

body.dark-mode .logo-dark {
  display: inline;
}

/* banner */

.banner-section {
  min-height: calc(100vh - 96px);
}

.banner-img {
  /* height: calc(100vh - 96px); */
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 40px;
}

.left-banner {
  background-image: url("../images/dubai1.png");
  position: relative;
}

/* Optional: responsive text */
.banner-img h2 {
  font-size: 2.75rem;
  font-weight: 700;

}

.banner-img p {
  font-size: 1rem;
  max-width: 80%;
}

/* Common styles */
.right-banner {
  background-image: url("../images//dubai2.png");
  position: relative;
}

/* Button is hidden by default */
.continue-btn {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* Show button on hover of right-banner */
.right-banner:hover .continue-btn {
  opacity: 1;
  visibility: visible;
  cursor: pointer;
}

.left-banner:hover .continue-btn {
  opacity: 1;
  visibility: visible;
  cursor: pointer;
}

.btnclr {
  /* background-color: #a600ff !important; */
  color: white !important;
  border-radius: 8px;
  padding-top: 16px;
  padding-right: 40px;
  padding-bottom: 16px;
  padding-left: 40px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));

}

/* model */

.bgimg1,
.bgimg2,
.bgimg3,
.bgimg4 {
  position: relative;
}

.bgimg1 img,
.bgimg2 img,
.bgimg3 img,
.bgimg4 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  
  height: 100vh;
}

.model__banner {
  min-height: calc(100vh - 96px);
}

.modelimg {
  height: calc(100vh - 96px);
  /* width: 330px; */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: all 0.5s ease;
  position: relative;
}

/* Default: Show heading, hide links */
.creative-text {
  transition: all 0.4s ease;
  z-index: 3;
  color: #fff;
}

.anchor-stack {
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s ease;
  z-index: 4;
}

.anchor-stack anchor {
  color: #fff !important;

}

/* On hover: Move heading down, show links */
.modelimg:hover .creative-text {
  top: 90% !important;
  /* move to bottom */
  transform: translate(-50%, -50%);
}

.modelimg:hover .anchor-stack {
  opacity: 1;
  pointer-events: auto;
  z-index: 5;
  text-decoration: none;
}

.anchor {
  text-decoration: none !important;
  color: #fff;
  font-size: 32px;
}

.text-info {
  color: var(--text-color) !important;
}

/* Loading Spinner Styles */
.spinner-border {
  width: 1.5rem;
  height: 1.5rem;
  border-width: 0.15em;
}

.spinner-border-sm {
  width: 1rem;
  height: 1rem;
  border-width: 0.1em;
}

/* Livewire Loading States */
[wire\:loading] {
  opacity: 0.7;
  pointer-events: none;
}

[wire\:loading\.remove] {
  display: block !important;
}

[wire\:loading\.flex] {
  display: flex !important;
}

/* Filter Loading Animation */
.filter__checkbox[wire\:loading] {
  opacity: 0.5;
}

/* Button Loading State */
.casting-card__load-more:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Fade in animation for new content */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.casting-card {
  animation: fadeIn 0.3s ease-in-out;
}

/* Loading overlay for better UX */
.loading-overlay {
  position: relative;
}

.loading-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  z-index: 10;
  border-radius: inherit;
}

/* Dark theme loading overlay */
.dark-theme .loading-overlay::before {
  background: rgba(0, 0, 0, 0.5);
}