:root {
    --primary-color: #ff6b6b;
    --secondary-color: #f8f9fa;
    --text-color: #343a40;
    --background-color: #ffffff;
    --background-card-color: white;
}

* {
    font-family: "Kantumruy Pro", sans-serif;
}

.dark-mode{
    --primary-color: #ff6b6b;
    --secondary-color: #f8f9fa;
    --text-color: #f8f9fa;
    --background-color: #343a40;
    --background-card-color: black;
}
.bg {
    background-color: var(--background-color) !important;
}
.text{
    color: var(--text-color) !important;
}

/* Scroll to top button */
#myBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: darkred;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 4px;
}

#myBtn:hover {
    background-color: red;
}

/* Navbar */
.navbar {
    background-color: rgba(15, 23, 43, 0);
    transition: background-color 0.6s ease-in-out, padding 0.5s ease-in-out, max-height 0.5s ease-in-out;
}

.sticky-top {
    background-color: rgba(15, 23, 43, 0.9);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.navbar-dark .navbar-nav .nav-link {
    position: relative;
    margin-left: 25px;
    padding: 35px 0;
    font-size: 15px;
    color: var(--secondary-color) !important;
    font-weight: 500;
    transition: .5s;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

.navbar-dark .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top .navbar-nav .nav-link {
    padding: 20px 0;
}

.sticky-top .navbar-brand img {
    max-height: 45px;
}

.navbar-brand:hover span {
    color: var(--primary-color) !important;
}

/* Hero Banner */
.hero-header {
    background: linear-gradient(rgba(15, 23, 43, .9), rgba(15, 23, 43, .9)), url(../img/homePage/absara.jpg) !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}

.hero-header img {
    animation: rotateCircle 50s linear infinite;
}

@keyframes rotateCircle {
    100% {
        transform: rotate(360deg);
    }
}

/* Service */
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08) !important;
    border: none !important;
    background: var(--background-card-color)!important;
}

/* Video */
.video {
    /* https://youtu.be/RvoGScDDRvk?si=MG-GUPBZrZQR1pxU */
    position: relative;
    height: 100%;
    min-height: 500px;
    background: linear-gradient(rgba(15, 23, 43, .1), rgba(15, 23, 43, .1)), url(../img/homePage/absara.jpg) !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}

.video .btn-play {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-sizing: content-box;
    display: block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    outline: none;
    padding: 19px 20px 18px 20px;
}

.btn-play i {
    /* make it in the middle */
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary-color);
    font-size: 30px;
}

.video .btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: pulseBorder 1500ms ease-in-out infinite;
}

.video .btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 32px solid black;
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
}

@keyframes pulseBorder {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}





/* HOVER */

/* Shutter In Vertical */
.hvr-shutter-in-vertical {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  position: relative;
  background: goldenrod!important;
  color: var(--text-color)!important;  
  -webkit-transition-property: color;
  transition-property: color;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  cursor: pointer!important;
}
.hvr-shutter-in-vertical:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--background-card-color)!important;
  -webkit-transform: scaleY(1);
  transform: scaleY(1);
  -webkit-transform-origin: 50%;
  transform-origin: 50%;
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
  
}
.hvr-shutter-in-vertical:hover, .hvr-shutter-in-vertical:focus, .hvr-shutter-in-vertical:active {
  color: goldenrod!important;
  color: white!important;
  
}
.hvr-shutter-in-vertical:hover:before, .hvr-shutter-in-vertical:focus:before, .hvr-shutter-in-vertical:active:before {
  -webkit-transform: scaleY(0);
  transform: scaleY(0);
}

/* Shrink */
.hvr-shrink {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: transform;
  transition-property: transform;
}
.hvr-shrink:hover, .hvr-shrink:focus, .hvr-shrink:active {
  -webkit-transform: scale(0.9);
  transform: scale(0.9);
}