/********** Template CSS **********/
:root {
    --primary: #2124b1;
    --secondary: #4777f5;
    --light: #f7faff;
    --dark: #1d1d27;
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity 0.5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.back-to-wa {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

/*** Heading ***/
h1,
h2,
h3,
.fw-bold {
    font-weight: 700 !important;
}

h4,
h5,
h6,
.fw-medium {
    font-weight: 500 !important;
}

/*** Button ***/
.btn {
    font-weight: 500;
    transition: 0.5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}

/* search-box */
.search-box {
    background-color: rgba(
        72,
        122,
        230,
        0.568
    ); /* Warna latar belakang transparan */
    border-radius: 25px; /* Sudut bulat */
    padding: 4px 15px; /* Padding */
    width: 500px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1); /* Bayangan */
}

.search-box form {
    display: flex;
    align-items: center;
}

.search-box input[type="search"] {
    flex: 1;
    border: none;
    outline: none;
    background: none;
    padding: 8px;
    font-size: 16px;
    border-radius: 25px;
    color: rgb(255, 255, 255);
}

.search-box input[type="search"]::placeholder {
    color: rgb(255, 255, 255); /* Warna placeholder */
}

.search-box button {
    border: none;
    background: rgba(0, 0, 0, 0.1); /* Warna latar belakang transparan */
    outline: none;
    cursor: pointer;
    padding: 8px 12px; /* Padding */
    border-radius: 25px; /* Sudut bulat */
    color: rgb(255, 255, 255);
    transition: background-color 0.3s; /* Animasi perubahan warna latar belakang */
}

.search-box button:hover {
    background: rgba(0, 0, 0, 0.3); /* Warna latar belakang saat hover */
}
/* Pengaturan untuk tampilan mobile */
@media (max-width: 768px) {
    .search-box {
        width: 100%; /* Mengubah lebar menjadi 100% agar sesuai dengan lebar layar */
        padding: 2px 10px; /* Menyesuaikan padding */
    }

    .search-box input[type="search"] {
        font-size: 14px; /* Mengurangi ukuran font untuk tampilan mobile */
    }
}

/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-left: 25px;
    padding: 35px 0;
    color: var(--light) !important;
    outline: none;
    transition: 0.5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark) !important;
}

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

.navbar-light .dropdown .nav-link.dropdown-toggle {
    color: var(--light) !important; /* Atur warna teks */
}
.sticky-top.navbar-light .dropdown .nav-link.dropdown-toggle {
    color: var(--dark) !important; /* Atur warna teks */
}
.sticky-top.navbar-light .dropdown .nav-link.dropdown-toggle:hover {
    color: var(--secondary) !important; /* Atur warna teks */
}
.navbar-light .dropdown {
    color: var(--light) !important; /* Atur warna teks */
}
.dropdown-menu a.dropdown-item {
    color: var(--dark) !important; /* Atur warna teks */
}

.dropdown-menu a.dropdown-item:hover {
    background-color: var(
        --secondary
    ); /* Atur warna latar belakang saat hover */
}
/* Atur warna teks nama pengguna menjadi hitam pada tampilan mobile */
@media (max-width: 768px) {
    #navbarDropdown.nav-link {
        color: black !important; /* Set warna teks menjadi hitam */
    }
    .dropdown-menu {
        max-width: fit-content !important; /* Atur lebar dropdown agar menyesuaikan dengan konten */
    }
}
.dropdown-menu {
    right: 0;
    max-width: fit-content !important;
}

.navbar-light .navbar-brand h1 {
    color: #ffffff;
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: 0.5s;
}

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

@media (max-width: 991.98px) {
    .sticky-top.navbar-light {
        position: relative;
        background: #ffffff;
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #dddddd;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--dark) !important;
    }

    .navbar-light .navbar-brand h1 {
        color: var(--primary);
    }

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

@media (min-width: 992px) {
    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(256, 256, 256, 0.1);
        z-index: 999;
    }

    .sticky-top.navbar-light {
        position: fixed;
        background: #ffffff;
    }

    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--secondary);
        transition: 0.5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

    .navbar-light .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }

    .sticky-top.navbar-light .navbar-brand h1 {
        color: var(--primary);
    }
}

/*** Hero Header ***/
.hero-header {
    background: url(../img/bg-dot.png), url(../img/bg-dot.png),
        url(../img/bg-round.png), url(../img/bg-tree.png), url(../img/wave.png);
    background-position: 10px 10px, bottom 190px right 10px, left 55% top -1px,
        left 45% bottom -1px, center bottom -1px;
    background-repeat: no-repeat;
    background-size: auto, auto, auto, auto, cover;
}

/* .hero-header .bg-bottom-hero{
    background:         
    url(../img/bg-bottom-hero.png);
    background-position:
    absolute;
    background-repeat: no-repeat;
    background-size: cover;
} */

/*** Section Title ***/
.section-title::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 4px;
    bottom: 0;
    left: 0;
    background: var(--dark);
}

.section-title::after {
    position: absolute;
    content: "";
    width: 4px;
    height: 4px;
    bottom: 0;
    left: 50px;
    background: var(--dark);
}

.section-title.text-center::before {
    left: 50%;
    margin-left: -25px;
}

.section-title.text-center::after {
    left: 50%;
    margin-left: 25px;
}

.section-title h6::before,
.section-title h6::after {
    position: absolute;
    content: "";
    width: 10px;
    height: 10px;
    top: 2px;
    left: 0;
    background: rgba(33, 66, 177, 0.5);
}

.section-title h6::after {
    top: 5px;
    left: 3px;
}

/*** Service ***/
.service-item {
    position: relative;
    height: 350px;
    padding: 30px 25px;
    background: #ffffff;
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
    transition: 0.5s;
}

.service-item:hover {
    background: var(--primary);
}

.service-item .service-icon {
    margin: 0 auto 20px auto;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    background: url(../img/icon-shape-primary.png) center center no-repeat;
    transition: 0.5s;
}

.service-item:hover .service-icon {
    color: var(--primary);
    background: url(../img/icon-shape-white.png);
}

.service-item h5,
.service-item p {
    transition: 0.5s;
}

.service-item:hover h5,
.service-item:hover p {
    color: var(--light);
}

.service-item a.btn {
    position: relative;
    display: flex;
    color: var(--primary);
    transition: 0.5s;
    z-index: 1;
}

.service-item:hover a.btn {
    color: var(--primary);
}

.service-item a.btn::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 35px;
    top: 0;
    left: 0;
    border-radius: 35px;
    background: #dddddd;
    transition: 0.5s;
    z-index: -1;
}

.service-item:hover a.btn::before {
    width: 100%;
    background: var(--light);
}

/*** Project Portfolio ***/
#portfolio-flters .btn {
    position: relative;
    display: inline-block;
    margin: 10px 4px 0 4px;
    transition: 0.5s;
}

#portfolio-flters .btn::after {
    position: absolute;
    content: "";
    right: -1px;
    bottom: -1px;
    border-left: 20px solid transparent;
    border-right: 0 solid transparent;
    border-bottom: 50px solid #ffffff;
}

#portfolio-flters .btn:hover,
#portfolio-flters .btn.active {
    color: var(--light);
    background: var(--primary);
}

.portfolio-overlay {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 30px;
    top: 0;
    left: 0;
    background: var(--primary);
    transition: 0.5s;
    z-index: 1;
    opacity: 0;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item .btn {
    position: absolute;
    width: 90px;
    height: 90px;
    top: 0px;
    right: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url(../img/icon-shape-white.png) center center no-repeat;
    border: none;
    transition: 0.5s;
    opacity: 0;
    z-index: 2;
}

.portfolio-item:hover .btn {
    opacity: 1;
    transition-delay: 0.15s;
}

/*** Footer ***/
.footer {
    background: url(../img/footer.png) center center no-repeat;
    background-size: contain;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid rgba(256, 256, 256, 0.1);
    border-radius: 40px;
    transition: 0.3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    transition: 0.3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 14px;
    border-top: 1px solid rgba(256, 256, 256, 0.1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}
/* Custom Scrollbar CSS */
/* Mengatur keseluruhan scrollbar */
::-webkit-scrollbar {
    height: auto; /* Atur tinggi scrollbar */
    background-color: transparent; /* Warna latar belakang scrollbar */
}

/* Mengatur thumb scrollbar (bagian yang bisa digeser) */
::-webkit-scrollbar-thumb {
    background: #8888887f; /* Warna thumb scrollbar */
    border-radius: 10px; /* Membuat tepian thumb menjadi bulat */
}

/* Mengatur efek hover pada thumb scrollbar */
::-webkit-scrollbar-thumb:hover {
    background: #555; /* Warna thumb saat di-hover */
}
.info-item {
    margin-bottom: 20px; /* Atur jarak antar item */
}

.info-item i {
    display: block;
    text-align: left;
    margin-bottom: 5px; /* Atur jarak antara ikon dan teks */
}

.info-text {
    text-align: left; /* Teks di tengah di bawah ikon */
}
