body {
    background-image: url("../images/site/pinkcloud.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.nav-icon {
  position: relative;
}

/* Tooltip */
.nav-icon::after {
  content: attr(data-label);
  position: absolute;
  right: 120%;
  top: 50%;
  transform: translateY(-50%);
  background:  rgba(140, 184, 255, 0.1);
  padding: 6px 10px;
  border-radius: 8px;
  color: #fff;
  font-size: 0.75rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(180, 220, 255, 0.35);
  box-shadow: 0 0 10px rgba(159, 162, 255, 0.879);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Show on hover */
.nav-icon:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(-4px);
}

/* Floating Utility Bar */
.floating-nav-tools {
  position: fixed;
  right: 2rem;
  top: 40%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 9999;
}

.nav-icon {
  background: rgba(159, 207, 255, 0.2);
  border: 1px solid rgba(159, 207, 255, 0.2);
  backdrop-filter: blur(6px);
  box-shadow: 0 0 12px rgba(180, 200, 255, 0.55);
  color: #fff;
  padding: 0.6rem;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.25s ease;
}

.nav-icon:hover {
  background: rgba(140, 184, 255, 0.1);
  transform: scale(1.1);
}

/* Floating Navigation Panel */
.floating-nav {
  position: fixed;
  right: 5rem;
  top: 20%;
  width: 240px;
  padding: 1.5rem;
  background: rgba(140, 184, 255, 0.1);
  border: 1px solid rgba(180, 221, 255, 0.35);
  border-radius: 16px;
  backdrop-filter: blur(14px);
  box-shadow: 0 0 35px rgba(160, 203, 255, 0.35);
  color: #fff;
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transform: translateX(20px);
  transition: all 0.35s ease;
}

.floating-nav.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.floating-nav .nav-title {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
}

.floating-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.floating-nav li {
  margin-bottom: 0.75rem;
}

.floating-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  opacity: 0.85;
  transition: opacity 0.2s ease, text-shadow 0.2s ease;
}

.floating-nav a:hover,
.floating-nav a.active {
  opacity: 1;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

/* Mobile */
@media (max-width: 768px) {
  .floating-nav {
    right: 1rem;
    width: 80%;
    top: auto;
    bottom: 2rem;
  }

  .floating-nav-tools {
    right: 1rem;
  }
}

/* Darken nav toggle when active */
#navToggle.active {
  background: rgba(140, 184, 255, 0.1);
  border-color: rgba(80, 120, 160, 0.6);
}

.hero-diagram {
    max-width: 350px;
    width: 90%;
    height: auto;
    margin: 1.5rem auto;
    display: block;
}

.under-construction-img {
    max-width: 350px;
    width: 90%;
    height: auto;
    display: block;
    margin: 1.5rem auto;
}

.architecture-placeholder {
    max-width: 600px;
    width: 100%;
    height: auto;
    display: block;
    margin: 2rem auto;
}

.screenshot-placeholder {
    max-width: 500px;
    width: 100%;
    height: auto;
    display: block;
    margin: 1.5rem auto;
    border-radius: 8px; /* optional polish */
}

/* ===== Carousel Container ===== */
.carousel {
  position: relative;
  display: block;
  width: min(100%, 900px);
  margin: 2rem auto;
  border-radius: 14px;
  overflow: visible;
  box-shadow:
    0 0 24px rgba(120, 180, 255, 0.35),
    0 0 80px rgba(40, 60, 120, 0.7);
  border: 1px solid rgba(180, 210, 255, 0.25);
  background:rgba(5, 10, 30, 0.8)
}


/* ===== Slides ===== */
.carousel-track {
  position: relative;
  width: 100%;
  height: auto;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.carousel-slide.active {
  position: relative;
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  object-position: center bottom;  /* keeps the crop centered */
}

/* ===== Navigation Buttons ===== */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #e4f0ff;
  font-size: 2rem;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  cursor: pointer;
  z-index: 10;
  backdrop-filter: blur(4px);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  box-shadow:
    0 0 10px rgba(206, 178, 255, 1),
    0 0 20px rgba(206, 178, 255, 0.8);
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

/* ===== Dots ===== */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: .5rem 0;
}

.carousel-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(200, 230, 255, 0.4);
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease;
}

.carousel-dots button.active {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.3);
}

/* ===== Captions ===== */
.carousel .carousel-caption-below {
  text-align: center;
  font-size: 0.95rem;
  color: rgb(159, 207, 255);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Responsive ===== */
@media (max-width: 600px) {
  .carousel-btn {
    font-size: 1.4rem;
    padding: 0.3rem 0.6rem;
  }
}