/* ===== Reset ===== */
body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Montserrat', sans-serif;
  color: #fff;
  overflow-x: hidden;
}

#bg-video {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -1;
}

/* ===== Top Bar ===== */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0,0,50,0.5);
  padding: 12px 25px;
  position: fixed; top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(8px);
}

.left-panel { display: flex; align-items: center; gap: 15px; }

.profile-container { position: relative; }
.profile-pic {
  width: 50px;           
  height: 50px;          
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #fff;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}
.profile-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 55px; left: 0;
  background: rgba(0,0,30,0.95);
  border-radius: 10px;
  min-width: 180px;
  padding: 10px 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}
.dropdown-content a {
  display: block;
  padding: 10px 16px;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
}
.dropdown-content a:hover {
  background: rgba(255,255,255,0.15);
}

.home-title { font-size: 1.2rem; font-weight: bold; color: cyan; }

.search-alert-container {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  left: -50px;
}

/* Search bar */
.search-bar {
  display: flex; align-items: center;
  background: rgba(255,255,255,0.15);
  border-radius: 25px;
  padding: 5px 12px;
}
.search-bar input {
  border: none; outline: none;
  background: transparent;
  color: #fff;
  padding: 5px;
  width: 180px;
}
.search-bar button {
  border: none;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

/* Alert button */
.alert-button {
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #ff4e50, #f9d423);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}
.alert-button:hover {
  transform: scale(1.15);
  box-shadow: 0 6px 12px rgba(0,0,0,0.5);
}

/* ===== Info Boxes ===== */
.info-boxes {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 90px;
}
.info-box {
  background: rgba(255,255,255,0.12);
  padding: 15px 25px;
  border-radius: 15px;
  text-align: center;
  backdrop-filter: blur(6px);
}
.info-number {
  font-size: 1.6rem;
  font-weight: bold;
  color: #00eaff;
}
.info-text {
  font-size: 0.9rem;
  color: #ddd;
}

/* ===== Main Content ===== */
.main-content {
  margin: 20px auto;
  padding: 20px;
  text-align: center;
  max-width: 900px;
}

#intro-section { margin-top: 40px; }
#intro-heading {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.2rem;
  margin-bottom: 10px;
}
#intro-subheading { font-size: 1rem; margin-bottom: 20px; }

#rocket { font-size: 2.5rem; margin: 15px 0; }

/* ===== Grid Buttons (Dark Gradient Version) ===== */
.grid-main {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.nav-box {
  padding: 30px 25px;
  border-radius: 25px;
  font-weight: bold;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s, background 0.5s;
  background: linear-gradient(145deg, #1a1a1a, #333333); /* dark gradient */
  font-size: 1.1rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.6);
}

.nav-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.7);
  background: linear-gradient(145deg, #2b2b2b, #4d4d4d);
}

/* ===== Fun Fact ===== */
.fun-fact-bar {
  margin-top: 30px;
  background: rgba(0,0,0,0.6);
  padding: 12px;
  border-radius: 10px;
  font-size: 0.95rem;
  color: #ffde59;
}

/* ===== Floating Icons (Right-Center with Hover) ===== */
#chatbot-icon, #globe-icon {
  position: fixed;
  right: 20px;
  font-size: 4rem;       /* bigger icons */
  cursor: pointer;
  z-index: 1000;
  display: block;
  transition: transform 0.3s, text-shadow 0.3s;
}

/* Stack vertically & center */
#chatbot-icon {
  top: 45%;              /* center stacking */
}

#globe-icon {
  top: 55%;              /* below chatbot */
}

/* Hover effect: scale + glow */
#chatbot-icon:hover, #globe-icon:hover {
  transform: scale(1.3);
  text-shadow: 0 0 20px #00eaff, 0 0 30px #00eaff;
}

/* ===== Globe modal ===== */
#globe-modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,20,0.95);
  justify-content: center;
  align-items: center;
  z-index: 10000;
}
#globe-container { width: 90%; height: 90%; }
#globe-close {
  position: absolute;
  top: 20px; right: 30px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

/* ===== Responsive ===== */
@media (max-width: 650px) {
  .info-boxes { flex-direction: column; gap: 12px; margin-top: 110px; }
  .grid-main { grid-template-columns: 1fr; }
  .dropdown-content { left: 50px; }
  .search-alert-container { left: -20px; }
  .search-bar input { width: 130px; }
}
