.secpad-y {
  padding-top: 100px;
  padding-bottom: 100px;
}

/* HEADER */
html,
body {
  background: #0a0a0a !important;
  width: 100vw;
  overflow-x: hidden;
}

.custom-navbar {
  width: 100vw;
  position: fixed;
  top: 0;
  background: transparent;
  padding: 15px 0;
  z-index: 999;
  top: 0;
  padding: 15px 0;
  transition: all 0.4s ease;
}

.custom-navbar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(180deg, #00000090 0%, #00000070 50%, transparent 100%);
  z-index: 1;
}

/* Sticky state */
.custom-navbar.sticky {
  position: fixed;
  top: 0;
  left: 0;
  background: #111;
  padding: 10px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  animation: slideDown 0.5s forwards;
}

.custom-navbar .container {
  position: relative;
  z-index: 2;
}

.custom-navbar.sticky::before {
  display: none;
}

/* Slide-down animation only triggers when sticky */
@keyframes slideDown {
  0% {
    top: -80px;
  }

  100% {
    top: 0;
  }
}

.navbar-brand {
  font-size: 2rem;
}

.nav-link {
  color: #ddd !important;
}

.nav-link:hover {
  color: #fff !important;
}

.icon-btn i {
  font-size: 20px;
  color: #fff;
  margin-left: 18px;
  cursor: pointer;
}

.icon-btn i:hover {
  color: #0d6efd;
  /* Bootstrap blue effect */
}

/* Navbar links color for dark background */
.custom-navbar.sticky .nav-link,
.custom-navbar.sticky .navbar-brand {
  color: #fff;
}

.custom-navbar .nav-link {
  color: #ddd;
  transition: color 0.3s;
}

.custom-navbar .nav-link:hover {
  color: #0d6efd;
}

.custom-navbar .navbar-brand {
  color: #fff;
}

/* Mobile toggle icon color */
.navbar-toggler i {
  color: #fff;
}



/* ------------------------------------------------ */
/* FOOTER */
.footer-link {
  margin-right: 18px;
  color: #ccc;
  text-decoration: none;
  font-size: 16px;
  display: block;
  margin-bottom: 5px;
}

.footer-link:last-child {
  margin-bottom: 0;
}

.footer-link:hover {
  color: #fff;
}

.footer-bottom-link {
  color: #bbb;
  text-decoration: none;
  margin-right: 5px;
}

.footer-bottom-link:hover {
  color: #fff;
}

.footer-bottom-link:last-child {
  margin-right: 0px;
  margin-left: 5px;
}

#scrollTopBtn {
  display: none;
  /* Hidden by default */
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  background-color: #0d6efd;
  color: #fff;
  border: none;
  outline: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

#scrollTopBtn:hover {
  background-color: #0a58ca;
  transform: translateY(-3px);
}

@media(max-width: 767px) {

  .secpad-y {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .icon-btn i {
    margin-left: 0px;
    margin-right: 18px;
    margin-bottom: 20px;
  }

  #scrollTopBtn {
    bottom: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
  }

  div#mainNavbar {
    background: #111;
    padding: 0px 10px;
    border-radius: 15px;
    width: 100%;
  }
}