



    /* Collapsible Floor Map styles */
  #floorMapContainer {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: #fff;
    border: 1px solid #ccc;
    max-height: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    width: 450px;
    height: 350px;
  }
  #floorMapContainer.expanded {
    max-height: 350px; /* adjust as needed */
    opacity: 1;
  }
  #floorMap {
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: pointer;
  }
  #mapMarker {
    position: absolute;
    width: 15px;
    height: 15px;
    background: red;
    border-radius: 50%;
    transform: translate(-50%, -50%);
  }

   #floorMapOverlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
  }
  #floorMapOverlay img {
    max-width: 90%;
    max-height: 90%;
  }
  #toggleFloorMap2 {
    position: fixed;
    top: 180px;
    right: 5px;
    padding: 8px 12px;
    border: none;
    background: #007bff;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
  }

#vrbtn{
    position: fixed;
    top: 260px;
    right: 5px;
    padding: 8px 12px;
    border: none;
    background: #007bff;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
}

  #vrButton {
  position: absolute;
  bottom: 20px;
  right: 20px;
  padding: 10px 15px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
}

  #floorBar {
      position: absolute;
      bottom: 10px;
      right: 10px;
      width: 300px;
      height: 200px;
      background: rgba(255, 255, 255, 0.8);
      border: 1px solid #ccc;
      z-index: 1000;
    }
    #mapid { width: 100%; height: 100%; }
    
.hotspot-button2 {
            background: #080808;
            float: right;
            width: 100px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            border: 2px solid rgb(8, 8, 8);
            box-shadow: 0 0 5px rgba(0,0,0,0.5);
            position: relative;
            border-radius: 5%;
            color:#00ffff;
            margin-top: 200px;
        }
        
.hotspot-button2:hover {
            background: #ff6666;
        }

.hotspot-button {
            background: #080808;
            float: right;
            width: 100px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            border: 2px solid rgb(8, 8, 8);
            box-shadow: 0 0 5px rgba(0,0,0,0.5);
            position: relative;
            border-radius: 5%;
            color:#00ffff;
            margin-top: 3px;
        }
        
.hotspot-button:hover {
            background: #ff6666;
        }

.hotspot-button:hover::after {
            content: "Click here to view Virtual Tour Of Building";
            position: absolute;
            top: -40px;
            left: 50%;
            transform: translateX(-50%);
            background: #333;
            color: white;
            padding: 5px 10px;
            border-radius: 5px;
            font-size: 12px;
            white-space: nowrap;
            z-index: 1001;
        }

#enterTourBtn{
           margin-bottom: 30px;
        }
 #popupOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    display: none;
    animation: stampIn 1.5s ease-out;
}

#popupContent {
    background: rgba(12, 12, 12, 0);
    padding: 20px 30px;
    text-align: center;
    border-radius: 10px;
    max-width: 90%;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    animation: stampPop 0.4s ease-out;
}

@keyframes stampIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes stampPop {
    0%   { transform: scale(1.2); opacity: 0; }
    70%  { transform: scale(0.95); opacity: 1; }
    100% { transform: scale(1); }
}

#popupContent h2 {
            margin-bottom: 20px;
        }

#popupContent img {
            width: 100%;
            max-width: 400px;
            height: auto;
            border-radius: 8px;
            margin-bottom: 0px;
        }

#popupContent button {
            padding: 8px 17px;
            font-size: 13px;
            background-color: #0066cc;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            position: relative;
        }

#popupContent button:hover {
            background-color: #004d99;
        }

 h1 {
            background-color: white;
            color: #fa6603;
            padding: 20px 0;
            margin: 0;
            text-align: center;
        }

#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: linear-gradient(135deg, #f36b0a00, #d3540000);
    color: white;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 10px;
    z-index: 1000;
    text-align: left;
    margin-top: 5px;
    flex-wrap: wrap;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.logo-container img {
    height: 100%;
    width: auto;
    border-radius: 0%;
    object-fit: cover;
}

.institute-name {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.2;
}

.department-name {
    font-size: 1rem;
    opacity: 0.9;
}

@media (max-width: 992px) {
    #header {
        height: auto;
        padding: 10px;
    }

    .logo-container img {
        height: 35%;
        width: auto;
    }

    .institute-name {
        font-size: 1.5rem;
    }

    .department-name {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    #header {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 8px;
    }

    .logo-container {
        flex-direction: column;
        gap: 5px;
        align-items: center;
    }

    .logo-container img {
        height: 35%;
        width: 100%;
    }

    .institute-name {
        font-size: 1.2rem;
    }

    .department-name {
        font-size: 0.8rem;
    }
}


@keyframes hotspot-bounce {
  0% {
    transform: translateY(0);
    background-color: blue; /* Starting color */
    border-radius: 100%;
  }
  50% {
    transform: translateY(-10px);
    background-color: rgb(17, 0, 255); /* Color at the peak of the bounce */
    border-radius: 100%;
  }
  100% {
    transform: translateY(0);
    background-color: blue; /* Ending color (back to start) */
    border-radius: 100%;
  }
}

.link-hotspot-icon {
  animation: hotspot-bounce 1.5s infinite;
}

 .dropdown {
      position: relative;
      display: inline-block;
    }

    .dropbtn {
      background-color: #0277fc;
      color: white;
      padding: 5px 15px;
      font-size: 16px;
      border: none;
      cursor: pointer;
      border-radius: 6px;
      position: fixed;
      top: 170px;
      right: 5px;
    }

        .dropbtn2 {
      background-color: #0277fc;
      color: white;
      padding: 5px 15px;
      font-size: 16px;
      border: none;
      cursor: pointer;
      border-radius: 6px;
      position: fixed;
      top: 220px;
      right: 5px;
    }

    .dropdown-content {
      display: none;
      position: fixed;
      background-color: #f9f9f9;
      min-width: 200px;
      box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
      z-index: 1;
      border-radius: 6px;
      top: 200px;
      right: 5px;
    }

    .dropdown-content a {
      color: black;
      padding: 15px;
      text-decoration: none;
      display: block;
    }

    .dropdown-content a:hover {
      background-color: #f1f1f1;
    }

    .dropdown:hover .dropdown-content {
      display: block;
    }

.dropdown-content2 {
      display: none;
      position: fixed;
      background-color: #f9f9f9;
      min-width: 200px;
      box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
      z-index: 1;
      border-radius: 6px;
      top: 250px;
      right: 5px;
    }

    .dropdown-content2 a {
      color: black;
      padding: 15px;
      text-decoration: none;
      display: block;
    }

    .dropdown-content2 a:hover {
      background-color: #f1f1f1;
    }

    .dropdown:hover .dropdown-content2 {
      display: block;
    }

.curtain {
    position: fixed;
    top: 0;
    width: 50%;
    height: 100vh;
    background: #111;
    z-index: 999;
    transition: transform 2s ease-in-out;
  }

  .curtain.left {
    left: 0;
    transform: translateX(0);
  }

  .curtain.right {
    right: 0;
    transform: translateX(0);
  }

.open.left {
    transform: translateX(-100%);
  }

.open.right {
    transform: translateX(100%);
  }


  .external-hotspot button {
  background: rgba(255, 99, 71, 0.9);
  border: none;
  border-radius: 10px;
  color: white;
  font-weight: bold;
  padding: 8px 12px;
  cursor: pointer;
  transition: transform 0.2s, background 0.3s;
}

.external-hotspot button:hover {
  transform: scale(1.1);
  background: rgba(255, 69, 0, 1);
}


/* ---------- Project Hotspot Button ---------- */
.project-button {
  background: linear-gradient(135deg, #ff7043, #ff5722);
  border-radius: 12px;
  padding: 10px 16px;
  color: white;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(255,87,34,0.8);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.3s, background 0.3s;
}

.project-button:hover {
  transform: scale(1.1);
  background: linear-gradient(135deg, #ff8a65, #ff7043);
}

.hand-anim {
  animation: handMove 1.5s infinite alternate;
  font-size: 20px;
}

@keyframes handMove {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-4px) rotate(-10deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

/* ---------- Popup ---------- */
.popup-overlay {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0);
  justify-content: center;
  align-items: center;
  
}

.popup-content {
  background: #fff;
  width: 70%;
  max-height: 80%;
  border-radius: 15px;
  overflow-y: auto;
  padding: 20px;
  box-shadow: 0 0 20px rgba(255,87,34,0.6);
  animation: fadeIn 0.4s ease;
}

.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #ff5722;
  margin-bottom: 10px;
}

.popup-header h2 { margin: 0; color: #ff5722; }
.popup-header button { background: none; border: none; font-size: 20px; cursor: pointer; }
.popup-body { font-size: 16px; color: #444; line-height: 1.5; }
.popup-image { width: 25%;height: 25%; border-radius: 10px; margin: 10px 0; box-shadow: 0 2px 10px rgba(0,0,0,0.2); }

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}





