/* FONT */
@font-face {
  font-family: open-sans;
  src: url('../font/Open_Sans/static/OpenSans-Regular.ttf');
}

@font-face {
  font-family: open-sans-bold;
  src: url('../font/Open_Sans/static/OpenSans-Bold.ttf');
}

@font-face {
  font-family: open-sans-semi-bold;
  src: url('../font/Open_Sans/static/OpenSans-SemiBold.ttf');
}

/* GENERAL STYLES */
#main {
  position: relative;
}

.grecaptcha-badge {
  display: none !important;
}

/* MESSAGES */
.message {
  position: fixed;
  width: 50px;
  height: 50px;
  background-color: #fff;
  border-radius: 100%;
  bottom: 5%;
  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);
}

/* BACK TO TOP */
.back-to-top {
  position: fixed;
  bottom: 5%;
  left: 5%;
  width: 50px;
  height: 50px;
  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;
}

/* HEADER */
#header {
  height: 100vh;
  box-sizing: border-box;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 96px;
  background-color: transparent;
  z-index: 1000;
  transition: background-color 0.3s ease;
}

.navbar-mobile {
  display: none;
}

.active-nav-mobile {
  background-color: var(--primary-color-100);
  color: black !important;
}

.navbar-mobile-list a {
  color: var(--neutral-color-900);
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%;
  text-transform: capitalize;
}

.navbar-brand {
  width: 188px;
  height: 48px;
}

.navbar-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar-menu li {
  display: flex;
  justify-content: center;
  align-items: center;
}

.navbar-menu li:not(:last-child) {
  margin-right: 16px;
  padding: 10px;
}

.navbar-menu li:last-child {
  margin-left: 16px;
}

.navbar-menu a {
  color: #000;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 17.6px;
  text-decoration: none;
}

.navbar-menu a.active {
  color: var(--primary-color-500) !important;
}

.btn-login {
  display: flex;
  padding: 7px 24px;
  justify-content: center;
  align-items: center;
  border-radius: 6px;
  background: var(--primary-color-500);
  color: #ffffff !important;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  height: 100%;
}

.btn-login:hover {
  background: #ffffff;
  color: var(--primary-color-500) !important;
  border: 1px solid var(--primary-color-500);
}

.navbar-menu a:hover {
  color: var(--primary-color-400);
}

/* DROPDOWN */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 180px;
  border-radius: 0;
  border: 0px;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.dropdown-menu .dropdown-menu {
  top: 0;
  left: 100%;
}

.dropdown-menu li {
  position: relative;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  justify-content: start;
}

.dropdown-menu a {
  display: flex;
  justify-content: space-between !important;
  width: 100%;
  padding: 10px;
  color: var(--primary-color-500);
}

.dropdown-menu a:hover {
  background-color: var(--primary-color-500);
  color: #ffffff !important;
}

.dropdown-menu .dropdown-child a {
  font-size: 14px;
  font-style: normal;
  font-weight: bold;
  line-height: 120%;
  min-height: 40px;
  align-items: center;
}

.dropdown:hover > .dropdown-menu {
  display: block;
}

/* FOOTER */
#footer {
  height: 96px;
  background-color: var(--primary-color-500);
  box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#footer span {
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 150%;
  color: #f0f5ff;
  text-align: center;
}

#footer span a {
  text-decoration: none;
  color: var(--primary-color-200);
}

/* 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: #003da9;
  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;
  }
}

/* OUTLINE 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);
}

/* FORM STYLES */
.form-control:focus,
.form-select:focus,
textarea.form-control:focus {
  border-color: var(--primary-color-100);
  box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.4);
}

.form-check-input:focus,
.form-check-input[type='radio']:focus {
  outline: none;
  border-color: var(--primary-color-100);
  box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.4);
  background-color: var(--primary-color-400);
}

.form-check-input:checked,
.form-check-input[type='radio']:checked {
  background-color: var(--primary-color-400);
  border: none;
}

.btn-inquiry {
  background-color: var(--primary-color-400);
  color: white;
}

/* MODAL INQUIRY */
.modal-title {
  font-weight: 600;
  color: var(--primary-color-300);
}

/* MEDIA QUERIES */
@media only screen and (max-width: 1025px) {
  #footer span {
    font-size: 12px;
  }

  .navbar {
    display: none;
  }

  .offcanvas {
    width: 70% !important;
  }

  .navbar-mobile {
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    padding: 24px 32px;
    color: var(--primary-color-500);
  }

  .navbar-mobile-list ul {
    box-shadow: none;
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
  }

  .dropdown-content {
    display: none;
    flex-direction: column;
    background-color: #ffffff;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
  }
  .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%;
  }
  .head-nav-mobile img {
    height: 38px;
    background-repeat: no-repeat;
  }
  .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 {
    margin-top: 48px;
  }
  .login-btn a {
    width: 100%;
    padding-block: 12px;
  }
  .navbar-mobile-list ul li {
    float: left;
  }
  .navbar-mobile-list ul li a,
  .dropbtn {
    display: inline-block;
    width: 100%;
    padding: 8px 16px;
    text-decoration: none;
    color: var(--neutral-color-900);
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
  }
  .dropdown {
    display: inline-block;
  }
  .dropdown-content a {
    padding: 8px 32px !important;
    text-decoration: none;
    display: block;
    text-align: left;
    color: var(--neutral-color-900) !important;
    font-size: 12px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 150% !important;
  }
  .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: #ffffff;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  }
  .dropdown-submenu.active .dropdown-submenu-content {
    display: block;
  }
  .offcanvas-header img {
    height: 38px;
  }
  .offcanvas-header {
    margin-top: 24px;
    padding: 0px 16px;
  }
  .offcanvas-header .btn-close {
    margin: 0px;
    height: 38px;
    width: 38px;
    padding: 0;
  }
  .offcanvas-body {
    padding: 0px 16px;
    margin-top: 24px;
  }
}

@media (min-width: 1024px) and (max-width: 1280px) {
  .navbar {
    padding: 24px 80px;
  }

  .navbar-menu li:not(:last-child) {
    margin-right: 8px;
  }

  .navbar-menu li:last-child {
    margin-left: 16px;
  }
}

@media only screen and (max-width: 768px) {
  .navbar-mobile {
    padding-inline: 20px;
  }
  .offcanvas {
    width: 80% !important;
  }
}

@media only screen and (max-width: 575px) {
  .login-btn a {
    width: 100%;
    padding-block: 8px;
  }
  .offcanvas {
    width: 80% !important;
  }
}
