:root {
  --primary-font: "Poppins", system-ui, -apple-system, "Roboto";
  --text-color: #424242;
  --text-color-rgb: 66, 66, 66;
  --heading-color: #000000;
  --primary-color-rgb: 166, 96, 48;
  --primary-color: #a66030;
  scroll-behavior: smooth;
}

.dark-theme {
  --background-color: #08005e;
  --text-color: #ffffff;
  --text-color-rgb: 255, 255, 255;
  --heading-color: #ffffff;
}

body {
  color: var(--text-color);
  background-color: #ffffff;
  font-family: var(--primary-font);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--primary-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--primary-font);
}

/*  */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 4;
  overflow: hidden;
  background: #ffffff;
  transition: all 0.6s ease-out;
}

.preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: rgb(var(--primary-color-rgb)) transparent
    rgb(var(--primary-color-rgb)) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: ani-preloader 1.5s linear infinite;
}

@keyframes ani-preloader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*  */
.main-header {
  color: #ffffff;
  background-color: transparent;
  padding: 1rem 0;
  transition-duration: 0.4s;
  display: flex;
  align-items: center;
}

.main-header .logo {
  line-height: 1;
}

.main-header .logo img {
  max-height: 50px;
  max-width: 200px;
  margin-right: 8px;
}

.main-header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.page-scroll .main-header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

.page-scroll .main-header {
  background-color: #ffcd00;
}

/*  */
@media (min-width: 1200px) {
  .main-header .logo img {
    max-height: 70px;
    max-width: 100%;
  }

  .navbar-main-header {
    padding: 0;
  }

  .navbar-main-header ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navbar-main-header li {
    position: relative;
  }

  .navbar-main-header > ul > li {
    white-space: nowrap;
    padding: 15px 14px;
  }

  .navbar-main-header > ul > li:last-child {
    padding-right: 0;
  }

  .navbar-main-header a,
  .navbar-main-header a:focus {
    color: #000000;
    font-size: 18px;
    font-weight: 400;
    padding: 0 2px;
    font-family: var(--primary-font);
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
  }

  .navbar-main-header a i,
  .navbar-main-header a:focus i {
    font-size: 16px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navbar-main-header > ul > li > a:before {
    content: "";
    position: absolute;
    height: 4px;
    bottom: -6px;
    left: 0;
    background-color: #a66030;
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }

  .navbar-main-header a:hover:before,
  .navbar-main-header li:hover > a:before,
  .navbar-main-header .active:before {
    visibility: visible;
    width: 50px;
  }

  .navbar-main-header li:hover > a,
  .navbar-main-header .active,
  .navbar-main-header .active:focus {
    color: #000000;
  }

  .navbar-main-header .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: #ffffff;
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 1;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navbar-main-header .dropdown ul li {
    min-width: 200px;
  }

  .navbar-main-header .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: #424242;
  }

  .navbar-main-header .dropdown ul a i {
    font-size: 12px;
  }

  .navbar-main-header .dropdown ul a:hover,
  .navbar-main-header .dropdown ul .active:hover,
  .navbar-main-header .dropdown ul li:hover > a {
    color: #a66030;
  }

  .navbar-main-header .dropdown:hover > ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navbar-main-header .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navbar-main-header .dropdown .dropdown:hover > ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}
@media (max-width: 1200px) {
  .navbar-mobile-toggle {
    color: #ffffff;
    font-size: 24px;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navbar-main-header {
    padding: 0;
    z-index: 1;
  }

  .navbar-main-header ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: #ffffff;
    border: 1px solid color-mix(in srgb, var(--text-color), transparent 90%);
    box-shadow: none;
    overflow-y: auto;
    transition: 0.3s;
    z-index: 2;
  }

  .navbar-main-header a,
  .navbar-main-header a:focus {
    color: #424242;
    padding: 10px 20px;
    font-family: var(--primary-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navbar-main-header a i,
  .navbar-main-header a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--primary-color), transparent 90%);
  }

  .navbar-main-header a i:hover,
  .navbar-main-header a:focus i:hover {
    background-color: var(--primary-color);
    color: #ffffff;
  }

  .navbar-main-header a:hover,
  .navbar-main-header .active,
  .navbar-main-header .active:focus {
    color: #a66030;
  }

  .navbar-main-header .active i,
  .navbar-main-header .active:focus i {
    background-color: var(--primary-color);
    color: #ffffff;
  }

  .navbar-main-header .dropdown ul {
    position: static;
    display: none;
    z-index: 2;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: #ffffff;
    transition: all 0.5s ease-in-out;
  }

  .navbar-main-header .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navbar-main-header .dropdown > .dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .navbar-mobile-active {
    overflow: hidden;
  }

  .navbar-mobile-active .navbar-mobile-toggle {
    color: #fff;
    position: absolute;
    font-size: 24px;
    top: 15px;
    right: 20px;
    margin-right: 0;
    z-index: 1;
  }

  .navbar-mobile-active .navbar-main-header {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .navbar-mobile-active .navbar-main-header > ul {
    display: block;
  }
}

/*  */
.jumbotron {
  width: 100%;
  min-height: 80vh;
  position: relative;
  padding: 120px 0 120px 0;
  display: flex;
  align-items: center;
}

.jumbotron .jumbotron-bg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.jumbotron:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 10%);
  background: color-mix(in srgb, #ffd900, transparent 10%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.jumbotron .container {
  position: relative;
  z-index: 3;
}

.jumbotron h1 {
  margin: 0 0 20px 0;
  font-weight: 700;
  line-height: 56px;
  color: color-mix(in srgb, var(--heading-color), transparent 30%);
  /* color: #ffffff; */
}

.jumbotron .header-jumbotron-1 {
  font-size: 47px;
}
.jumbotron .header-jumbotron-2 {
  font-size: 42px;
}

.jumbotron h1 span {
  color: var(--heading-color);
  border-bottom: 4px solid var(--primary-color);
}

.jumbotron p {
  color: color-mix(in srgb, #ffffff, transparent 10%);
  /* color: #00000088; */
  margin: 5px 0 30px 0;
  font-size: 22px;
  font-weight: 400;
}

.jumbotron .animated {
  animation: naik-turun 2s ease-in-out infinite alternate-reverse both;
}

.jumbotron .img-jumbotron {
  max-width: 430px;
}

@media (max-width: 640px) {
  .jumbotron h1 {
    font-size: 28px;
    line-height: 38px;
  }

  .jumbotron .header-jumbotron-1 {
    font-size: 38px;
  }
  .jumbotron .header-jumbotron-2 {
    font-size: 30px;
  }

  .jumbotron p {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 30px;
  }

  .jumbotron .btn-get-started,
  .jumbotron .btn-watch-video {
    font-size: 13px;
  }

  .jumbotron .img-jumbotron {
    max-width: 100%;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
}

.jumbotron .jumbotron-waves {
  display: block;
  width: 100%;
  height: 60px;
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 3;
}

.jumbotron .gelombang1 use {
  animation: ani-gelombang1 10s linear infinite;
  animation-delay: -2s;
  fill: #ffffff;
  opacity: 0.6;
}

.jumbotron .gelombang2 use {
  animation: ani-gelombang2 8s linear infinite;
  animation-delay: -2s;
  fill: #ffffff;
  opacity: 0.4;
}

.jumbotron .gelombang3 use {
  animation: ani-gelombang3 6s linear infinite;
  animation-delay: -2s;
  fill: #ffffff;
}

@keyframes ani-gelombang1 {
  0% {
    transform: translate(85px, 0%);
  }
  100% {
    transform: translate(-90px, 0%);
  }
}

@keyframes ani-gelombang2 {
  0% {
    transform: translate(-90px, 0%);
  }
  100% {
    transform: translate(85px, 0%);
  }
}

@keyframes ani-gelombang3 {
  0% {
    transform: translate(-90px, 0%);
  }
  100% {
    transform: translate(85px, 0%);
  }
}

@keyframes naik-turun {
  0% {
    transform: translateY(10px);
  }
  100% {
    transform: translateY(-10px);
  }
}

/*  */
.section {
  color: var(--text-color);
  background-color: #ffffff;
  padding: 4rem 0;
  scroll-margin-top: 4rem;
}

.section-title {
  padding-bottom: 4rem;
  position: relative;
}

.section-title h2 {
  font-size: 17px;
  font-weight: 500;
  padding: 0;
  line-height: 1px;
  margin: 0;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--text-color), transparent 50%);
  position: relative;
}

.section-title h2::after {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: var(--primary-color);
  margin: 4px 10px;
}

.section-title div {
  color: var(--heading-color);
  margin: 0;
  margin: 0;
  font-size: 31px;
  font-weight: 700;
  text-transform: uppercase;
  font-family: var(--primary-font);
}

@media (max-width: 1200px) {
  .section {
    scroll-margin-top: 1rem;
  }
}

/*  */
.section.contact {
  position: relative;
  z-index: 1;
  scroll-margin-top: 5rem;
}

.section.contact::before {
  position: absolute;
  display: block;
  width: 100%;
  height: 500px;
  content: "";
  background-image: url("../img/angle-grid-bg.svg");
  background-size: 1068px 580px;
  background-repeat: no-repeat;
  /* transform: rotate(180deg); */
  transform: scaleX(-1);
  bottom: 0%;
  right: 0;
  opacity: 0.04;
  z-index: -1;
}

/*  */
.scrollto-top {
  position: fixed;
  opacity: 0;
  right: 1rem;
  bottom: 1rem;
  z-index: 3;
  /* background-color: rgb(var(--primary-color-rgb)); */
  background-color: #ffcd00;
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  transition-duration: 0.4s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scrollto-top i {
  font-size: 1.25rem;
  color: #ffffff;
}

.scrollto-top:hover {
  /* background-color: rgba(var(--primary-color-rgb), 0.8); */
  background-color: rgba(255, 205, 0, 0.8);
  color: #ffffff;
}

.scrollto-top.active {
  visibility: visible;
  opacity: 1;
}

/*  */
.footer {
  color: var(--text-color);
  background-color: var(--background-color);
  background-image: url("../img/polda.webp");
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  background-position-x: center;
  position: relative;
  z-index: 1;
  border-top: 3px solid #ffcd00;
}

.footer::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  content: "";
  background-color: #000000;
  opacity: 0.75;
}

.footer .footer-atas {
  padding-top: 50px;
}

.footer .footer-detail .logo {
  margin-bottom: 0.5rem;
}

.footer .footer-detail .logo img {
  max-width: 100%;
  max-height: 8rem;
  display: block;
}

.footer .footer-detail p {
  font-size: 14px;
  font-family: var(--primary-font);
}

.footer .link-media-footer a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid rgba(var(--text-color-rgb), 0.5);
  font-size: 16px;
  color: rgba(var(--text-color-rgb), 0.8);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .link-media-footer a:hover {
  color: #ffffff;
  border-color: #ffcd00;
  background-color: #ffcd00;
}

.footer .footer-links {
  margin-bottom: 30px;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul i {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: rgba(var(--text-color-rgb), 0.7);
  display: inline-block;
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: var(--primary-color);
}

.footer .copyright {
  padding: 1rem 0;
  border-top: 1px solid rgba(var(--text-color-rgb), 0.1);
  background-color: rgba(0, 0, 0, 0.5);
}

.footer .copyright p {
  margin-bottom: 0;
  font-size: 0.8rem;
}

@media (min-width: 1200px) {
  .footer {
    background-position-y: 200px;
  }
}

/* Bootstrap Custom */
.form-control-custom-1,
.form-select-custom-1 {
  padding: 0.75rem 1.25rem;
}

.form-uppercase {
  text-transform: uppercase;
}

.form-uppercase::placeholder {
  text-transform: none;
}

.btn-size-custom-1 {
  padding: 0.75rem;
}

.btn-custom-1 {
  --bs-btn-color: #fff;
  --bs-btn-bg: #ffcd00;
  --bs-btn-border-color: #ffcd00;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #e2b502;
  --bs-btn-hover-border-color: #c79f00;
  --bs-btn-focus-shadow-rgb: 49, 132, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #c79f00;
  --bs-btn-active-border-color: #d4ab04;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #ffcd00;
  --bs-btn-disabled-border-color: #ffcd00;
}

/*  */
.bg-transparent {
  background-color: transparent !important;
}

.bg-light-1 {
  background-image: linear-gradient(
    180deg,
    #fff,
    #f4f5fe 5%,
    #f4f5fe 100%,
    #fff
  );
}

.text-dark-1 {
  color: #000000;
}

.custom-fieldset {
  border: 1px solid #dee2e6;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 0.375rem;
  position: relative;
}

.custom-legend {
  float: none;
  width: auto;
  padding: 0 0.5rem;
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 0;
  position: relative;
}

.swal-custom-1 {
  min-width: 700px;
  max-width: 90%;
}

.fs-8 {
  font-size: 0.75rem;
}

.tr-bg-custom-1 th {
  background-color: #ffcd00;
  color: #000000;
}

@media (min-width: 768px) {
  .mw-md-custom-1 {
    min-width: 8.5rem;
  }
}
