/* ------------------------------------------------ */
/* LOADER */
/* ------------------------------------------------ */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 9999;
}

.loader.active {
  opacity: 1;
  pointer-events: all;
}

.loader-icon {
  width: 100px;
  height: 100px;
  animation: spin 1.5s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.hidden {
  display: none !important;
}

/* ------------------------------------------------ */
/* NAVBAR */
/* ------------------------------------------------ */
.navbar {
  background-color: #ffffff;          /* solid white */
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
}

/* Optional: slightly stronger shadow after scroll */
.navbar.scrolled {
  background-color: #ffffff;          /* stay pure white */
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

/* Text + buttons */
.navbar a,
.navbar button {
  color: #000 !important;             /* true black text */
  outline: none !important;
  box-shadow: none !important;
}

/* Hover state (subtle, professional) */
.navbar a:hover,
.navbar button:hover {
  color: #000;
  opacity: 0.8;
}

/* ------------------------------------------------ */
/* CUSTOM NAVBAR TOGGLER — STATIC CLEAN VERSION */
/* ------------------------------------------------ */
.custom-toggler {
  border: none !important;              /* No border ever */
  background: transparent !important;   /* Always transparent */
  padding: 0.35rem 0.5rem !important;
  box-shadow: none !important;
  outline: none !important;
  transition: none !important;          /* Disable all hover/focus transitions */
  cursor: pointer;
}

/* Prevent any visual change on hover, focus, or click */
.custom-toggler:hover,
.custom-toggler:focus,
.custom-toggler:active {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  transform: none !important;
}

/* Keep logo completely static */
.custom-toggler img {
  width: 45px;
  height: 45px;
  object-fit: contain;
  pointer-events: none;
  transition: none !important;
}

/* ------------------------------------------------ */
/* BACK TO TOP BUTTON */
/* ------------------------------------------------ */
#back-to-top {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  border: 2px solid #000; /* thin black border */
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 22px;
  font-weight: bold;
  background-color: transparent; /* transparent by default */
  color: #000; /* black icon/text */
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

#back-to-top:hover,
#back-to-top:active {
  background-color: #000; /* solid black on hover or click */
  color: #fff; /* white icon/text */
  border-color: #000;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}

/* ------------------------------------------------ */
/* MOBILE CONTAINER FIX */
/* ------------------------------------------------ */
@media (max-width: 768px) {
  section .container {
    max-width: 100% !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }

  section.py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
}
