#main {
  position: relative;
}

.grecaptcha-badge {
  display: none !important;
}

/* styleing button hover */
.btn-hover {
  background: linear-gradient(140.14deg, #ec540e 15.05%, #d6361f 114.99%)
      padding-box,
    linear-gradient(142.51deg, #ff9465 8.65%, #af1905 88.82%) border-box;
  border-radius: 7px;
  border: 2px solid transparent;
  text-shadow: 1px 1px 1px #00000040;
  padding: 10px 40px;
  line-height: 20px;
  cursor: pointer;
  transition: all 0.3s;
  color: white;
  font-size: 18px;
  font-weight: 500;
}

.btn-hover:hover {
  opacity: 90%;
}

/* MESSAGES */
.message {
  position: fixed;
  width: 50px;
  height: 50px;
  background-color: #fff;
  border-radius: 100%;
  bottom: 4%;
  right: 5%;
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: box-shadow 0.3s ease-in-out;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.message:hover {
  box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.4);
}

/* END MESSAGE */

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 4%;
  left: 5%;
  width: 50px;
  height: 50px;
  display: none;
  color: var(--primary-color-400);
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  cursor: pointer;
  z-index: 100;
  transition: opacity 0.3s ease;
  background: none;
  font-size: xx-large;
}
/* End Back To Top */

/* HEADER */
#header {
  height: 100vh;
  box-sizing: border-box;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: var(--primary-color-900);
  z-index: 1000;
}

.navbar-mobile {
  display: none;
}

.active-nav-mobile {
  background-color: var(--primary-color-500);
  color: #fff !important;
}

.navbar-brand {
  color: white;
  font-size: 24px;
  text-decoration: none;
}

.navbar-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar-active a {
  position: relative;
  text-decoration: none;
  color: black;
  background: transparent;
}

.navbar-active a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 2px;
  background-color: orange;
  transition: width 0.3s ease-in-out;
}

.navbar-active a:hover::after {
  width: 100%;
}

/* Styling for the active state */
.navbar-active a.active::after {
  width: 100%;
  transition: none;
}

.navbar-menu li {
  position: relative;
  font-weight: bold;
  padding-left: 10px;
  padding-right: 10px;
}

.navbar-menu .log-btn {
  padding-right: 0;
}

.navbar-menu a {
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  display: block;
}

/* .navbar-menu a:hover {
    background-color: #575757;
} */

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 20%;
  background-color: var(--primary-color-900);
  list-style: none;
  margin: 0;
  padding: 0;
  width: 220px;
  box-sizing: border-box;
}

.drop-3 {
  width: 180px;
}

.dropdown-menu li {
  position: relative;
}

.dropdown-menu a {
  padding: 10px 20px;
}

.dropdown:hover > .dropdown-menu {
  display: block;
}

/* Ensure third-level dropdowns are off-screen initially */
.dropdown-menu .dropdown-menu {
  top: 0;
  left: 100%;
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.navbar-toggle .bar {
  height: 3px;
  width: 25px;
  background-color: white;
  margin: 4px 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .navbar-menu {
    display: none;
    flex-direction: column;
    width: 100%;
  }

  .navbar-menu li {
    width: 100%;
  }

  .navbar-toggle {
    display: flex;
  }

  .navbar-menu.active {
    display: flex;
  }

  .dropdown-menu {
    position: static;
  }

  .navbar-menu a {
    padding: 10px 0;
  }
}

/* END NAVBAR */

/* FOOTER */
#footer {
  height: 10vh;
  background-color: var(--primary-color-900);
  display: flex;
  align-items: center;
  position: relative;
}

#footer p {
  color: white;
  font-size: smaller;
  margin: 0;
}
/* END FOOTER */

/* LOADING */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fff;
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
}
.three-body {
  --uib-size: 55px;
  --uib-speed: 0.8s;
  --uib-color: #ff7200;
  position: relative;
  display: inline-block;
  height: var(--uib-size);
  width: var(--uib-size);
  animation: spin78236 calc(var(--uib-speed) * 2.5) infinite linear;
}

.three-body__dot {
  position: absolute;
  height: 100%;
  width: 30%;
}

.three-body__dot:after {
  content: '';
  position: absolute;
  height: 0%;
  width: 100%;
  padding-bottom: 100%;
  background-color: var(--uib-color);
  border-radius: 50%;
}

.three-body__dot:nth-child(1) {
  bottom: 5%;
  left: 0;
  transform: rotate(60deg);
  transform-origin: 50% 85%;
}

.three-body__dot:nth-child(1)::after {
  bottom: 0;
  left: 0;
  animation: wobble1 var(--uib-speed) infinite ease-in-out;
  animation-delay: calc(var(--uib-speed) * -0.3);
}

.three-body__dot:nth-child(2) {
  bottom: 5%;
  right: 0;
  transform: rotate(-60deg);
  transform-origin: 50% 85%;
}

.three-body__dot:nth-child(2)::after {
  bottom: 0;
  left: 0;
  animation: wobble1 var(--uib-speed) infinite calc(var(--uib-speed) * -0.15)
    ease-in-out;
}

.three-body__dot:nth-child(3) {
  bottom: -5%;
  left: 0;
  transform: translateX(116.666%);
}

.three-body__dot:nth-child(3)::after {
  top: 0;
  left: 0;
  animation: wobble2 var(--uib-speed) infinite ease-in-out;
}

@keyframes spin78236 {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes wobble1 {
  0%,
  100% {
    transform: translateY(0%) scale(1);
    opacity: 1;
  }

  50% {
    transform: translateY(-66%) scale(0.65);
    opacity: 0.8;
  }
}

@keyframes wobble2 {
  0%,
  100% {
    transform: translateY(0%) scale(1);
    opacity: 1;
  }

  50% {
    transform: translateY(66%) scale(0.65);
    opacity: 0.8;
  }
}

/* END LOADING */

/* Outlibe button */
.outline-button {
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  color: var(--primary-color-500);
  background-color: transparent;
  border: 2px solid var(--primary-color-500);
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.outline-button:hover {
  background-color: var(--primary-color-500);
  color: #fff;
  box-shadow: 0 0 10px rgba(52, 152, 219, 0.5);
}

#footer {
  justify-content: center;
}

/* Ganti warna border dan box shadow pada input boostrap */
.form-control:focus,
.form-select:focus,
textarea.form-control:focus {
  border-color: var(--primary-color-100);
  box-shadow: 0 0 0 0.2rem rgba(255, 165, 0, 0.4);
}

/* Checkbox */
.form-check-input:focus {
  outline: none;
  border-color: var(--primary-color-100);
  box-shadow: 0 0 0 0.2rem rgba(255, 165, 0, 0.4);
  /* background-color: #ff7200; */
}

.form-check-input:checked {
  background-color: var(--primary-color-500);
  border: none;
}

/* Radio Button */
.form-check-input[type='radio']:focus {
  outline: none;
  border-color: var(--primary-color-100);
  box-shadow: 0 0 0 0.2rem rgba(255, 165, 0, 0.4);
  background-color: var(--primary-color-500);
}

.form-check-input[type='radio']:checked {
  background-color: var(--primary-color-500);
  border: none;
}

.btn-inquiry {
  background-color: var(--primary-color-400);
  color: white;
}

/* MODAL INQUIRY */
.modal-title {
  font-weight: 600;
  color: var(--primary-color-300);
}
/* END MODAL INQUIRY */

/* TABLET VERSION */
@media (max-width: 1024px) {
  .navbar {
    display: none;
  }

  .offcanvas {
    width: 60% !important;
  }

  .navbar-mobile {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--primary-color-900);
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .navbar-mobile-list ul {
    list-style: none;
    box-shadow: none;
  }

  .dropdown-content {
    display: none;
    flex-direction: column;
  }

  .dropdown-content li {
    margin: 0 10px;
  }

  .dropdown-toggle-mobile {
    position: relative;
  }

  .dropdown-toggle-mobile i {
    transition: transform 0.3s ease;
  }

  .dropdown-toggle-mobile.active i {
    transform: rotate(90deg);
  }

  .navbar-mobile .head-nav-mobile {
    display: flex;
    align-items: end;
    justify-content: space-between;
    position: relative;
    width: 100%;
    display: flex;
    padding: 0 20px;
  }

  .navbar-mobile .head-nav-mobile img {
    width: 20%;
  }

  .offcanvas-header img {
    width: 30%;
  }

  .navbar-mobile .head-nav-mobile button {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
  }

  .navbar-mobile .head-nav-mobile button i {
    color: #fff;
    font-size: xx-large;
  }

  /* Mengatur tombol burger */
  .navbar-toggler {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: none;
  }

  .navbar-toggler-icon {
    width: 30px;
    height: 3px;
    background-color: #fff;
    display: block;
    position: relative;
  }

  .navbar-toggler-icon::before,
  .navbar-toggler-icon::after {
    content: '';
    width: 30px;
    height: 3px;
    background-color: #fff;
    position: absolute;
    left: 0;
  }

  .navbar-toggler-icon::before {
    top: -8px;
  }

  .navbar-toggler-icon::after {
    top: 8px;
  }

  .navbar-mobile-list {
    width: 100%;
    height: 90%;
    overflow-x: hidden;
    overflow-y: scroll;
    box-sizing: border-box;
  }

  .login-btn {
    box-sizing: border-box;
    height: 8%;
    display: flex;
    align-items: center;
  }

  .navbar-mobile-list ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
  }

  .navbar-mobile-list ul li {
    float: left;
  }

  .navbar-mobile-list ul li a,
  .dropbtn {
    display: inline-block;
    width: 100%;
    color: white;
    padding: 14px 16px;
    text-decoration: none;
    color: black;
    font-weight: bold;
  }

  .dropdown {
    display: inline-block;
  }
  .dropdown-content {
    display: none;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
  }
  .dropdown-content a {
    color: black;
    padding: 5px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
  }
  .dropdown-content a:hover {
    background-color: #f1f1f1;
  }
  .dropdown.active .dropdown-content {
    display: block;
  }
  .dropdown-submenu {
    position: relative;
  }
  .dropdown-submenu .dropdown-submenu-content {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  }
  .dropdown-submenu.active .dropdown-submenu-content {
    display: block;
  }

  /* HEADER */
  #header {
    height: 90vh;
  }
}

/* Link WEB */
.link-web {
  text-decoration: none;
  color: var(--primary-color-500);
  font-weight: bold;
  transition: .1s linear;
}

.link-web:hover {
  color: var(--primary-color-300);
}

/* MOBILE VERSION */
@media (max-width: 767px) {
  .navbar-mobile .head-nav-mobile img {
    width: 40%;
  }

  .offcanvas {
    width: 80% !important;
  }

  .offcanvas-header img {
    width: 60%;
  }

  /* HEADER */
  #header {
    height: 100vh;
  }
}
