/* Minimalist reset and centering */
        body, html {
            margin: 0;
            padding: 0;
            width: 100%;
            height: 100%;
            justify-content: center;
            align-items: center;
            font-family: Candara, sans-serif;
            background-image: url(space.jpg);
            background-size: cover;
        }
.centerback{
    position: fixed;
    top: 15%;
    left: 40%;
    text-align: center;
    align-items: center;
    color: snow;
}
        /* Container to frame your 3D cube */
        .model-container {
            width: 100%;
            height: 100vh; /* Takes up 70% of the viewport height */
            overflow: hidden;
            display: flex;
        }
        /* Essential model-viewer styling */
        model-viewer {
            width: 100%;
            height: 100%;
            
            /* 💡 FORCE BACK-FACING HOTSPOTS TO ZERO OPACITY */
    --min-hotspot-opacity: 0;
        }

header{
    top:0px;
    width: 100%;
    background: rgba( 0, 0, 0, 0.5);
    color: snow;
    text-align: center;
    padding: 10px;
    position: fixed;
    z-index: 2
}

/* The active dot on the cube surface */
.hotspot-card {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    background-color: #4CAF50; /* Clean Android Green */
    cursor: pointer;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

/* The popup box (hidden by default) */
.annotation-box {
    display: none; /* Hide until hovered */
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7); /* Slate dark mode background */
    border: 1px solid black;
    border-radius: 12px;
    padding: 16px;
    width: 220px;
    text-align: center;
    color: yellow; /* Vibrant green accent */
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    font-family: Candara, sans-serif;
}

/* 🌟 Show the full card when the user hovers over the dot */
.hotspot-card:hover .annotation-box {
    display: block;
}

/* Styling elements inside your hotspot */
.annotation-box h4 {
    margin: 0 0 6px 0;
    font-size: 20px;
    font-family: Candara, sans-serif;
}

.pop-image {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 12px;
    border: 1px groove black;
}

/* Button link formatting */
.pop-link {
    display: block;
    text-align: center;
    background-color: #2196F3; /* App link blue */
    color: white;
    text-decoration: none;
    padding: 8px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.2s ease;
}

.pop-link:hover {
    background-color: #1976D2;
}

/* Hide everything when the face rotates away behind the model */
.hotspot-card:not([data-visible]) .annotation-box {
    display: none;
    opacity: 0 !important;
    pointer-events: none; /* Prevents users from accidentally clicking invisible buttons */
    transform: scale(0);  /* Shrinks it out of existence */
}

footer{
    bottom: 0px;
    width: 100%;
    padding: 10px;
    background: rgba( 0, 0, 0, 0.5);
    color: snow;
    text-align: center;
    position: fixed;
}
footer a {
    color: yellow
}
.ppolicy{
    margin: 0px 20px;
    padding: 30px;
    color: white;
    text-align: center;
}
.progress-bar {
  display: block;
  width: 33%;
  height: 10%;
  max-height: 2%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate3d(-50%, -50%, 0);
  border-radius: 25px;
  box-shadow: 0px 3px 10px 3px rgba(0, 0, 0, 0.5), 0px 0px 5px 1px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.9);
  background-color: rgba(0, 0, 0, 0.5);
}

.progress-bar.hide {
  visibility: hidden;
  transition: visibility 0.3s;
    opacity: 0;
    pointer-events: none;
    display: none;
}

.update-bar {
  background-color: yellow;
  width: 0%;
  height: 100%;
  border-radius: 25px;
  float: left;
  transition: width 0.3s;
}