html {
    scroll-behavior: smooth;
}

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

body{
    height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
	 line-height: 1.8;
}

.navbar-wrapper {
    position: relative;
}

.navbar-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0) 33%
    );
    pointer-events: none;
    z-index: 1;
}

.cover-navbar {
    width: 100%;
    height: 50vh;
    object-fit: cover;
    display: block;
}

.div-navbar {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    width: 100%;
    padding-left: 50px;
    padding-right: 50px;
    height: 50vh;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-shrink: 0;
}

.img-navbar {
    width: 50px;
    border-radius: 50%;
    animation: slideInLeft 1.2s ease;
    margin: 10px;
	 left: 50px;
	 position: absolute;
}

.ul-navbar {
    list-style-type: none;
    display: flex;
    justify-content: center;
    align-items: center; 
    animation: slideInDown 1.2s ease forwards;
    background-color: white;
    border-radius: 50px;
    margin: 0;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%)
}

.li-navbar {
    padding: 10px;
    margin: 5px; 
}

.li-navbar:hover {
	 background-color: gainsboro;
     border-radius: 50px;
     transition: 0.5s ease-in-out;
}

.a-navbar {
    color: black;
    text-decoration: none;
    border-radius: 50px;
}

.p-navbar {
    animation: slideInRight 1.2s ease;
    margin: 0;
    background-color: white;
    border-radius: 50px;
    padding: 15px;
    position: absolute;
    right: 50px;
	 top: 10px;
}

.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: white;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    cursor: pointer;
    z-index: 200;
    margin: 10px;
}

.hamburger-btn span {
    width: 22px;
    height: 3px;
    background-color: black;
    margin: 0 auto;
    transition: 0.3s ease;
}

.hamburger-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.div-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-top: 50px;
    margin-bottom: 50px;
    margin-left: 200px;
    margin-right: 200px;
    text-align: justify;
}

.p-content {
	 opacity: 0;
    transform: translateX(-50px);
    transition: opacity 1s ease, transform 1s ease;
}

.p-content.show {
    opacity: 1;
    transform: translateX(0px);
}

.j-content {
	 opacity: 0;
    transform: translateX(-50px);
    transition: opacity 1s ease, transform 1s ease;
}

.j-content.show {
    opacity: 1;
    transform: translateX(0px);
}

.p-jasa-content {
	 opacity: 0;
    transform: translateX(-50px);
    transition: opacity 1s ease, transform 1s ease;
	 display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px;
    width: 200px;
    height: 300px;
    background-color: #0000CD;
	color: white;
    text-align: center;
	margin: 20px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.p-jasa-content.show {
    opacity: 1;
    transform: translateX(0px);
}

.img-jasa {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.p-jasa-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 205, 0.55);
    z-index: 2;
}

.p-jasa-content h3,
.p-jasa-content p,
.p-jasa-content i {
    position: relative;
    z-index: 3;
}

.card-content1 {
    display: flex;
   justify-content: center;
}

.card-content2 {
    display: flex;
    justify-content: center;
}

.layanan-content {
	display: flex; 
	flex-direction: column; 
	align-items: center;
    justify-content: center;
}

.div-footer {
    height: auto;
    display: flex;
    justify-content: space-between;
    background-color: gainsboro;
    flex: 1;
    padding-left: 50px;
    padding-right: 50px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.p-footer {
    animation: slideInLeft 1.2s ease;
}

.a-footer {
    margin: 5px;
    color: black;
}

.a-footer:hover {
    color: blue;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0px);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes slideInDownMini {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0px);
    }
}

@media (max-width: 768px) {
	body {
        font-size: 15px;
    }
	
    .cover-navbar,
    .div-navbar {
        height: 32vh;
    }

    .div-navbar {
		flex-direction: column;
        flex-wrap: wrap;
        align-content: flex-start;
        padding: 15px 20px;
        row-gap: 10px;
    }

	.img-navbar {
		position: static; 
	}

    .hamburger-btn {
        display: flex;
    }

    .ul-navbar {
        display: none;
        flex-direction: column;
        justify-content: center;
        position: absolute;
        top: 70px;
        left: 50%;
        transform: translateX(-50%);
        width: 80%;
        border-radius: 15px;
        animation: none;
    }

    .ul-navbar.active {
        display: flex;
    }

	.p-navbar {
		display: none;
	}

    .div-navbar-mini {
        flex-wrap: wrap;
		padding: 0;
		overflow-x: auto;              /* aktifkan scroll horizontal */
		scrollbar-width: none;         /* sembunyikan scrollbar (Firefox) */
    }

	.ul-navbar-mini {
    	display: flex;
        width: max-content;
        justify-content: stretch;  
        flex-wrap: nowrap;
    	list-style-type: none;
    	animation: slideInLeft 1.2s ease;
		border: none;             
        border-radius: 0;
	}

	.li-navbar-mini {
    	flex: none;
    	padding: 10px;      
    	margin: 0;
    	text-align: center;
    	border: 1px solid #ccc;
    	border-radius: 0;
	}


	.li-navbar-mini:hover {
		background-color: gainsboro;
     	transition: 0.5s ease-in-out;
	}

    .div-content {
        margin-left: 15px;
        margin-right: 15px;
    }

    .card-content1,
    .card-content2 {
        flex-wrap: wrap;
        justify-content: center;
    }

	.div-footer {
		font-size: 10px;
		display: flex;
        flex-direction: column;
		justify-content: center;
        align-items: flex-start;
		height: 1vh;
		flex-wrap: wrap;
	}
}
    
