/* ===== NAVBAR WRAPPER ===== */
.navbar-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed; /* ✅ place navbar ON TOP of hero bg */
  top: 0;
  left: 0;
  z-index: 1000;
  background: transparent; /* ✅ transparent to blend with hero image */
}

/* ===== NAVBAR ===== */
.navbar {
  display: flex;
  align-items: center;
  position:sticky;
  justify-content: space-between;
  width: 85%;
  max-width: 1150px;
  background: rgba(15, 15, 15, 0.45); /* semi-transparent overlay */
  backdrop-filter: blur(25px);
  border-radius: 16px;
  padding: 14px 35px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
/*===== */
.logo img {
  height: 38px;
  width: auto;
}

/* ===== NAV LINKS ===== */
.nav-links {
  display: flex;
  align-items: center;
  gap: 35px;
}

.nav-links a {
  text-decoration: none;
  color: #bcbcbc;
  font-weight: 400;
  font-size: 15px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #1ea5fc;
  border-bottom: 2px solid #1ea5fc;
}

/* ===== BUTTON ===== */
.glass-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 28px;
  font-size: 18px;
  font-weight: 500;
  color: #e6f0ff;
  background: rgba(0, 82, 255, 0.15);
  border: 1px solid rgba(80, 180, 255, 0.3);
  border-radius: 10px;
  backdrop-filter: blur(10px);
  text-decoration: none;
  box-shadow: 0 0 20px rgba(80, 180, 255, 0.3),
              inset 0 0 15px rgba(0, 82, 255, 0.2);
  transition: all 0.3s ease;
  position: relative;
}

/* glowing bottom blue light */
.glass-button::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 40%;
  background: radial-gradient(circle at center, rgba(0, 150, 255, 0.8), transparent 70%);
  filter: blur(10px);
  opacity: 0.8;
  border-radius: 50%;
  z-index: -1;
}

/* Hover Effect */
.glass-button:hover {
  box-shadow: 0 0 25px rgba(0, 150, 255, 0.7),
              inset 0 0 25px rgba(0, 82, 255, 0.4);
  transform: translateY(-2px);
  color: #fff;
}


/* Button */
.demo-btn {
  background: #5c7ce6;
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s;
}
.demo-btn:hover {
  background: #4b68c4;
}

/* Overlay */
.demo-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(3px);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Popup box */
.demo-popup {
  background: #fff;
  width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 10px;
  padding: 30px 35px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.25);
  position: relative;
}

.demo-popup h2 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #333;
}

.demo-popup p {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.5;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  color: #555;
  cursor: pointer;
}

.demo-form .form-group {
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
}

.demo-form label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #333;
}

.demo-form input,
.demo-form select,
.demo-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  outline: none;
  transition: 0.2s;
}

.demo-form input:focus,
.demo-form select:focus,
.demo-form textarea:focus {
  border-color: #5c7ce6;
}

.demo-form textarea {
  resize: vertical;
  min-height: 80px;
}

.checkboxes {
  margin: 15px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: #444;
}

.data-info {
  font-size: 12px;
  color: #666;
  margin-bottom: 15px;
  line-height: 1.5;
}

.submit-btn {
  display: block;
  margin-left: auto; /* pushes only the button to the right */
  padding: 12px 35px;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(90deg, #0072ff 0%, #00c6ff 100%);
  transition: all 0.3s ease;
  box-shadow: 0 3px 8px rgba(0, 114, 255, 0.3);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 114, 255, 0.4);
}



/* Scrollbar inside popup */
.demo-popup::-webkit-scrollbar {
  width: 6px;
}
.demo-popup::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}
