body {
    font-family: "Roboto", sans-serif !important;
}

.navbar {
    transition: transform 0.5s ease-in-out;
}

.hidden {
    transform: translateY(-100%);
}

.small {
    display: block;
    font-size: 13px;
}

a {
    text-decoration: none;
    color: #505050;
}

a:hover {
    color: #000000;
}

.card {
    overflow: hidden;
    position: relative;
}

.img-container {
    overflow: hidden;
    position: relative;
    height: 100%;
}

.hvr-grow {
    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.7s;
    transition-duration: 0.7s;
    -webkit-transition-property: transform;
    transition-property: transform;
}

.hvr-grow:hover,
.hvr-grow:focus,
.hvr-grow:active {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.hvr-forward {
    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-forward:hover,
.hvr-forward:focus,
.hvr-forward:active {
    -webkit-transform: translateX(8px);
    transform: translateX(8px);
}

#btn-back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-100%);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

#btn-back-to-top.show {
    opacity: 1;
    transform: translateY(0);
}

.navbar-toggler span {
    width: 25px;
    height: 2px;
    border-radius: 5px;
    background: black;
    display: block;
    margin: 4.5px 0;
    transition: transform 0.5s ease, background-color 0.5s ease,
        opacity 0.5s ease;
}

.navbar-toggler.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 4px) !important;
    background: black;
}

.navbar-toggler.active span:nth-child(2) {
    opacity: 0;
}

.navbar-toggler.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -4px) !important;
    background: black;
}

#drop-down {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    z-index: 1;
    max-width: 170px;
}

.owl-carousel-1 div {
    position: relative;
    overflow: hidden;
    /* Agar gambar tidak keluar dari batas carousel */
}

.owl-carousel-1 img {
    width: 100%;
    /* Pastikan gambar selalu memenuhi lebar carousel */
    height: auto;
    filter: brightness(65%);
}

.owl-carousel-1 .title-slide {
    text-align: start;
    position: absolute;
    width: 70%;
    left: 5%;
    z-index: 1;
    top: 20%;
    padding: 10px;
}

.owl-carousel-1 .title-slide h1 {
    font-weight: 600;
    font-size: 26px;
    line-height: 35px;
    color: white;
}

.owl-carousel-1 .title-slide p {
    font-weight: 400;
    font-size: 18px;
    color: white;
}

.owl-carousel-1 .title-slide a {
    font-weight: 600;
    font-size: 18px;
}

.title {
    font-weight: 600 !important;
    font-size: 16px !important;
    line-height: 20px !important;
}

.excerpt {
    font-size: 16px !important;
    line-height: 20px !important;
}

.about img {
    width: 100%;
    /* Pastikan gambar selalu memenuhi lebar carousel */
    height: auto;
    filter: brightness(65%);
}

.about-title {
    text-align: start;
    position: absolute;
    width: 70%;
    left: 5%;
    z-index: 1;
    top: 9%;
    padding: 10px;
}

.about-title h1 {
    font-weight: 800;
    font-size: 40px;
    line-height: 43px;
    color: white;
    text-transform: uppercase;
}

.about-title h2 {
    font-weight: 600;
    font-size: 24px;
    color: white;
    text-transform: uppercase;
}

.about-title a {
    font-weight: 600;
    font-size: 18px;
}

@media (max-width: 768px) and (max-width: 1024px) {
    .owl-carousel-1 .title-slide {
        width: 80%;
        top: 10%;
    }

    .owl-carousel-1 .title-slide h1 {
        font-weight: 600;
        font-size: 16px;
        line-height: 20px;
    }

    .owl-carousel-1 .title-slide p {
        font-weight: 400;
        font-size: 12px;
    }

    .owl-carousel-1 .title-slide a {
        font-weight: 400;
        font-size: 12px;
    }

    .title {
        font-size: 14px !important;
        line-height: 18px !important;
    }

    .about-title {
        width: 70%;
        top: 4%;
    }

    .about-title h1 {
        font-weight: 600;
        font-size: 16px;
        line-height: 20px;
    }

    .about-title h2 {
        font-weight: 400;
        font-size: 14px;
    }

    .about-title a {
        font-weight: 400;
        font-size: 12px;
    }
}
