* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Montserrat", sans-serif;
    background-color: #f9faff;
}

ul {
    padding-left: 1rem;
}

.description-card-mini ul li {
    font-size: small;
}

.description-card-mini div {
    font-size: small;
}

.text-primary-color {
    color: #004376;
}

.custom-primary-color {
    background-color: #004376;
}

.custom-divider {
    width: calc(100% - 90%);
    border: 2px solid #004376;
}

.custom-divider-lg {
    width: calc(100% - 80%);
    border: 4px solid #004376;
}

.custom-divider-full {
    width: calc(100%);
    border: 1px solid #004376;
}

.custom-secondary-color {
    background-color: #fff;
}

.btn-custom-primary {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    color: #fff;
    background-color: #004376;
    text-decoration: none;
    /* transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease; */
}

.btn-custom-secondary {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    color: #004376;
    background-color: #fff;
    text-decoration: none;
    /* transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease; */
}

.btn-custom-primary:hover {
    color: #fff;
}

.btn-custom-outline-primary {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    border: 1px solid #004376;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    color: #004376;
    background-color: #ffffff;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease,
        border-color 0.3s ease;
}

.btn-custom-outline-primary:hover {
    background-color: #004376;
    color: #ffffff;
}

.home-background {
    background: url("../assets/images/home-bg-2.png");
    /* background-color: #f7f7f7; */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
}

.hero-background {
    background: linear-gradient(rgba(34, 23, 91, 0.5), rgba(13, 28, 80, 0.5)),
        url("../assets/images/global.jpg");
    background-position: center;
    background-color: #3498db;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 65vh;
}

.image-background {
    background: linear-gradient(rgba(34, 23, 91, 0.5), rgba(13, 28, 80, 0.5)),
        url("../assets/images/bg-prodain.jpg");
    background-position: center;
    background-color: #3498db;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 50vh;
    padding-bottom: 50px;
}

.relative-div {
    position: relative;
}

.absolute-div {
    position: absolute;
    top: 0;
    left: 0;
}

.space {
    height: 350px;
    /* background-color: #004376; */
}

.avatar {
    width: 150px;
    height: 150px;
    object-fit: cover;
}

.navbar-custom-color {
    background-color: transparent;
}

.card {
    transition: transform 0.2s; /* Animasi transform selama 0.2 detik */
}

.card:hover {
    transform: scale(1.05); /* Mengubah ukuran card saat dihover */
}

.logo-container {
    overflow: hidden;
    display: flex;
}

.logo {
    flex-shrink: 0;
    width: 100vw;
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    grid-auto-flow: column;
    padding-right: 40px;
    animation: infinite-scroll 30s linear infinite;
}

.logo-image-wrapper {
    padding: 20px;
}

/* Media query untuk tampilan tablet & mobile */
@media (max-width: 900px) {
    .relative-div,
    .absolute-div {
        display: block !important;
        position: static !important;
    }
    .space {
        height: 0px;
    }
    .home-background {
        background: none;
        background-color: #f7f7f7;
    }

    .avatar {
        width: 75px;
        height: 75px;
        object-fit: cover;
    }

    .navbar-custom-color {
        background-color: #114a86;
    }
    
    .logo {
        grid-template-rows: repeat(8, 1fr);
        padding-right: 20px;
    }
    
    .logo-image-wrapper {
        padding: 10px;
    }
}

@media (min-width: 900px) and (max-width: 1199.98px) {
    .space {
        height: 500px;
    }
}

@keyframes infinite-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%); 
    }
}
