.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Responsive 3D Effects */
.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.9s cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 20px;
  overflow: hidden;
  opacity: 0;
}

.slide.active {
  opacity: 1;
  box-shadow: inset 0 0 20px rgba(34, 197, 94, 0.2);
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
  user-select: none;
  pointer-events: none;
  display: block;
}

/* Dots – responsive size */
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: all 0.4s ease;
  border: none;
  cursor: pointer;
  padding: 0;
}

.dot:focus-visible {
  outline: 2px solid #22c55e;
  outline-offset: 2px;
}

@media (min-width: 640px) {
  .dot {
    width: 14px;
    height: 14px;
  }
}

/* Floating phone animation (your original) */
@media (min-width: 768px) {
  .float-parent-md { animation: float 9s ease-in-out infinite; }
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotateZ(0deg); }
  50% { transform: translateY(-36px) rotateZ(1.6deg); }
}

/* ==================== FINAL WORKING CSS (NO ERRORS) ==================== */

/* Floating phone animation (your original) */
@media (min-width: 768px) {
  .float-parent-md {
    animation: float 9s ease-in-out infinite;
  }
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotateZ(0deg); }
  50%      { transform: translateY(-36px) rotateZ(1.6deg); }
}

/* 2D Orbiting Symbols — Perfect Circle + Gravity */

/* Container */
.symbols-orbit {
  position: absolute;
  /* Adjust this variable to nudge the orbit up or down */
  --v-offset: 400px; 
  
  top: calc(50% + var(--v-offset));
  left: 50%;
  width: 640px; 
  height: 640px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: rotate-orbit 40s linear infinite;
  z-index: 50;
}

/* Positioning Wrapper */
.symbol-position-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  /* --r: 320px is the radius (distance from phone) */
  transform: rotate(var(--a)) translateY(calc(-1 * var(--r)));
}

/* The Vertical Fix Wrapper (Gravity) */
.symbol-upright-wrapper {
  animation: counter-rotate-all 40s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* The Glowing Glass Circle */
.symbol {
  width: 86px;
  height: 86px;
  margin-left: -43px; 
  margin-top: -43px;
  
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  font-size: 40px;
  border-radius: 50%;
  backdrop-filter: blur(12px);
  
  border: 2px solid rgba(34, 197, 94, 0.8);
  box-shadow: 0 0 15px rgba(34, 197, 94, 0.5), 
              0 0 30px rgba(34, 197, 94, 0.2);
  
  display: flex;
  align-items: center;
  justify-content: center;
  
  animation: symbol-pulse 4s ease-in-out infinite;
}

/* --- ANIMATIONS --- */

@keyframes rotate-orbit {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes counter-rotate-all {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}

@keyframes symbol-pulse {
  0%, 100% { 
    transform: scale(1); 
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.4);
  }
  50% { 
    transform: scale(1.08); 
    box-shadow: 0 0 30px rgba(34, 197, 94, 0.8);
  }
}
.symbol-upright-wrapper {
  animation: counter-rotate-icon 40s linear infinite;
}
/* Carousel slides */
#carousel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}
#carousel img.active { opacity: 1; }

/* Dots */
.dot {
  width: 14px; height: 14px;
  background: rgba(255,255,255,0.4);
  border-radius: 50%;
  transition: all 0.4s;
}
.dot.active {
  background: #22c55e;
  transform: scale(1.6);
  box-shadow: 0 0 20px #22c55e99;
}
/* PREVENT PHONE FROM GOING ABOVE NAVBAR */
section {
  overflow: hidden;        /* Add this line */
  position: relative;
  z-index: 1;
}

/* Make sure navbar stays on top */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999 !important;   /* Navbar always highest */
}