body {
  overflow-x: hidden;
}

.nav-bg {
  height: 160px;
  background-color: rgba(255, 255, 255, 0);
}

.modal-content {
  margin-top: 8rem;
}

@media (min-width: 1200px) {
  .navmenu li:hover > a.imp-btn::before {
    visibility: hidden !important;
    width: 100%;
  }
}

.imp-btn,
.imp-btn:focus {
  background: var(--accent-color);
  color: var(--contrast-color) !important;
  padding: 10px 15px !important;
  border-radius: 30px;
}

.imp-btn:hover,
.imp-btn:focus:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

/* small screen size */
@media screen and (max-width: 768px) {
  .imp-btn,
  .imp-btn:focus {
    margin-top: 5px;
    margin-left: 10px;
    margin-right: 10px;
    text-align: center;
  }
}

/* Progress Bar Container */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background-color: transparent;
  z-index: 9999;
}

/* Actual Progress Fill */
.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(to right, #3b82f6, #13417d, #3b82f6);
  transition: width 0.3s ease;
}

/* Optional animation (auto-loading simulation) */
@keyframes simulateHalfLoad {
  0% {
    width: 0%;
  }
  100% {
    width: 10%;
  }
}

@keyframes simulateFullLoad {
  0% {
    width: 10%;
  }
  20% {
    width: 30%;
  }
  50% {
    width: 50%;
  }
  70% {
    width: 70%;
  }
  99% {
    width: 100%;
  }
  100% {
    width: 0%;
  }
}

.simulate-half {
  animation: simulateHalfLoad 1s ease-in-out forwards;
}

.simulate-full {
  animation: simulateFullLoad 1s ease-in-out forwards;
}

#main,
#footer {
  transition: opacity 0.3s ease-in-out;
  opacity: 1;
}

#main.fade-out,
#footer.fade-out {
  opacity: 0;
}

/* Enquiry Button */
.sticky-vertical-button {
  position: fixed;
  top: 340px;
  left: 6px;
  z-index: 999;
  transform-origin: 0 50%;
  transform: rotate(-90deg) translate(-50%, 50%);
  transition: all 0.2s;
}

.sticky-vertical-button:hover {
  left: 6px;
}

.sticky-vertical-button a {
  background: #326cb8;
  color: #fff !important;
  font-size: 13px;
  box-shadow: #333 0px 2px 5px;
  border-radius: 4px;
  padding: 10px 10px 10px 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: "Karla", sans-serif;
  font-weight: 900;
  transform: rotate(-90deg);
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
  transition: background-color 0.5s ease;
}

.sticky-vertical-button a:hover {
  color: #fff;
  box-shadow: none;
  box-shadow: #333 0px 2px 5px;
  background: #13417d;
  text-decoration: none;
}
