/* RESET DASAR */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: "Poppins", sans-serif;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: "Segoe UI", sans-serif;
	line-height: 1.6;
	color: #333;
	background-color: #fff;
}

a {
	text-decoration: none;
	color: inherit;
}

/* HEADER / NAVBAR */

.topbar {
	background-color: #f8f9fa;
	color: #333;
	/* font-size: 14px; */
	padding: 6px 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.topbar a {
	color: inherit;
	text-decoration: none;
	margin-right: 12px;
	transition: color 0.3s;
}

.topbar a:hover {
	color: #007bff;
}

.topbar-left i,
.topbar-right i {
	margin-right: 5px;
}

.topbar-left,
.topbar-right {
	display: flex;
	align-items: center;
}

header {
	background-color: #0058ba;
	border: none;
	color: #fff;
	padding: 11px 1rem;
	position: sticky;
	top: 0;
	z-index: 1000;
}

header.transparent {
	background-color: rgba(42, 42, 42, 0.619); /* Biru transparan */
	backdrop-filter: blur(5px); 
	transition: background-color 0.3s ease;
	color: #0058ba;

}

nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	position: relative;
	width: 100%;
}

.logo {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: row;
	gap: 10px;
}

/* NAVIGATION LINKS */
.nav-links {
	list-style: none;
	display: flex;
	gap: 1rem;
	transition: all 0.3s ease;
}

.nav-links li a {
	color: #fff;
	font-weight: 500;
	transition: color 0.3s ease;
}

.nav-links li a:hover {
	color: #ffe600;
}

/* HERO SECTION */
.hero {
	background: linear-gradient(to right, #b0b0b0, #acacac);
	color: #fff;

	text-align: center;
}

.bg-container {
	position: relative;
	width: 100%;
	overflow: hidden;
	height: 100vh;
}

.bg-full {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	animation: zoomIn 5s ease-in-out forwards;
	transform: scale(1);
}

@keyframes zoomIn {
	0% {
		transform: scale(1);
	}
	100% {
		transform: scale(1.2);
	}
}

.content-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	min-height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	text-align: center;
	padding: 2rem;
	color: white;
	background: rgba(0, 0, 0, 0.3);
	z-index: 999;
}

.hero h1 {
	font-size: 2.5rem;
	margin-bottom: 1rem;
}

.hero p {
	font-size: 1.2rem;
	margin-bottom: 2rem;
}

.cta-button {
	background-color: #fff;
	color: #007bff;
	padding: 0.75rem 1.5rem;
	border-radius: 5px;
	font-weight: bold;
	transition: background 0.3s ease;
}

.cta-button:hover {
	background-color: #ffe600;
	color: #000;
}

/* FITUR SECTION */
.features {
	padding: 3rem 2rem;
	text-align: center;
	background-color: #f8f9fa;
}

.feature-list {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	justify-content: center;
	margin-top: 2rem;
}

.feature-item {
	flex: 1 1 250px;
	background-color: #fff;
	padding: 1.5rem;
	border-radius: 8px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.feature-item h3 {
	margin-bottom: 0.5rem;
}

/* TENTANG */
.about {
	padding: 3rem 2rem;
	text-align: center;
}

/* KONTAK */
.contact {
	padding: 3rem 2rem;
	background-color: #f1f1f1;
}

.contact form {
	max-width: 500px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.contact input,
.contact textarea {
	padding: 0.75rem;
	border: 1px solid #ccc;
	border-radius: 5px;
	resize: vertical;
}

.contact button {
	padding: 0.75rem;
	border: none;
	background-color: #007bff;
	color: #fff;
	font-weight: bold;
	border-radius: 5px;
	cursor: pointer;
}

.contact button:hover {
	background-color: #0056b3;
}

/* FOOTER */
footer {
	background-color: #222;
	color: #fff;
	text-align: center;
	padding: 10px;
	margin-top: 2rem;
}

/* HAMBURGER MENU BUTTON */
.menu-toggle {
	display: none;
	font-size: 1.8rem;
	cursor: pointer;
	user-select: none;
	transition: transform 0.3s ease;
}

.menu-toggle::before {
	content: "☰";
}

.menu-toggle.open::before {
	content: "✖";
}

/* RESPONSIVE STYLES */

/* KARIR */

.careers {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 50px;
	width: 100%;
}
.career-card {
	margin-top: 20px;
	border: 1px solid #d9d9d9;
	border-radius: 8px;
	padding: 10px;
	margin-bottom: 20px;
	background-color: white;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
	width: 100%;
	font-family: "Segoe UI", sans-serif;
	transition: all 0.3s ease;
	cursor: pointer;
}

.career-card:hover {
	transform: translateY(-5px);
	border: 1px solid #0056b3;
	 box-shadow: 0 8px 20px rgba(0,0,0,0.1); /
}

.career-card-header {
	display: flex;
	gap: 16px;
	align-items: flex-start;
}

.company-logo {
	width: 50px;
	height: 50px;
	object-fit: contain;
}

.job-info h3 {
	font-size: 18px;
	margin: 0;
	color: #333;
}

.job-info h3 span {
	font-size: 14px;
	font-weight: normal;
	color: #777;
}

.job-info p {
	margin: 4px 0;
	font-size: 14px;
	color: #666;
}

.tags {
	margin-top: 8px;
}

.tag {
	background-color: #007bff;
	color: white;
	padding: 3px 10px;
	font-size: 12px;
	border-radius: 4px;
	margin-right: 6px;
	display: inline-block;
}

/* END KARIR */


.certificaton{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 50px;
	width: 100%;
}
.certificaton h2 {
	font-size: 24px;
	margin-bottom: 20px;
	color: #333;
}

.certificaton div {
	display: flex;
	flex-wrap: wrap;
	justify-content: center; /* tengah */
	gap: 20px;
	max-width: 600px; /* biar rapi, bisa disesuaikan */
	margin: 0 auto;   /* center container */
}

.certificaton img {
	flex: 1 1 calc(50% - 20px); /* 2 kolom */
	max-width: 250px;
	height: auto;
	border-radius: 8px;
	box-shadow: 0 4px 6px rgba(0,0,0,0.1);
	transition: transform 0.3s;
}

/* Kalau ada gambar ke-3, taruh di tengah */
.certificaton img:nth-child(3) {
	flex: 1 1 100%;
	max-width: 250px;
}
.certificaton div {
  	text-align: center;
}

.certificaton img:hover {
  	transform: scale(1.05);
}

@media (max-width: 768px) {
	.menu-toggle {
		display: block;
	}

	.nav-links {
		flex-direction: column;
		width: 100%;
		background-color: #007bff;
		position: absolute;
		top: 100%;
		left: 0;
		overflow: hidden;

		/* Animasi */
		max-height: 0;
		opacity: 0;
		transform: translateY(-10px);
		transition: max-height 0.4s ease, opacity 0.3s ease, transform 0.3s ease;
		pointer-events: none;
	}

	.nav-links.show {
		max-height: 300px;
		opacity: 1;
		transform: translateY(0);
		pointer-events: auto;
	}

	.nav-links li {
		text-align: center;
		padding: 0.5rem 0;
	}

	.feature-list {
		flex-direction: column;
		align-items: center;
	}

	.hero h1 {
		font-size: 2rem;
	}

	.hero p {
		font-size: 1rem;
	}
}

.mitra {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 20px;
	padding: 20px;
}



.mitra-logo {
	width: 200px;
	transition: width 0.3s ease, transform 0.3s ease;
	cursor: pointer;
}

.mitra-logo:hover {
	transform: scale(1.1);
}

.career-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between; /* seimbang kiri-kanan */
}

.career-card {
  flex: 1 1 calc(50% - 20px);
  min-width: calc(50% - 20px);  /* supaya konsisten */
  max-width: calc(50% - 20px);  /* jangan melebar */
  box-sizing: border-box;
}



.location {
	padding: 3rem 2rem !important;
	display: flex;
	justify-content: center;
	flex-direction: column;
	align-items: center;
	background-color: #f1f1f1;
}


.news-area {
    background-color: #F9F9F9;
    width: 100%;
    margin-top: 40px;
    padding: 100px;
}

.news-menu{
    display: flex;
    flex-direction: row;
    height: 40px;
    
}
.news-menu span{
    width: 140px;
    text-align: center;
    border-bottom: 1px solid #007bff;
    cursor: pointer;
    color: #989898;
}

.news-menu span:hover{
    border-bottom: 3px solid #007bff;
    cursor: pointer;
}

.news-content{
    display: flex;
    flex-direction: column;
}

.card-news {
    display: flex;
    flex-direction: row;
    padding: 10px;
    gap: 10px;
}

.card-news img {
  width: 350px;        
  border-radius: 5px;
  object-fit: cover;    
  object-position: center; 
}

.card-news .deskripsi-news{
    margin-top: -10px;
    display: flex;
    flex-direction: column;
	gap:10px;
}

.card-news .deskripsi-news h3{
    color: #007bff;
    font-weight: 500;
    margin-top: -5px;
}

.card-news .deskripsi-news p{
    text-align: justify;
    margin-top: -10px;
    font-size: 14px;
}

.deskripsi-news .news-title{
    display: flex;
    flex-direction: row;
    background-color: #e4e4e4;
    border-radius: 5px;
    height: 30px;
    width: auto;
    margin-top: 10px;
	align-items: center;
	justify-content: center;
	font-weight: bold;
}

.deskripsi-news .news-notif{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 30px;
    gap: 7px;
}


@media (max-width: 700px) {

	.card-news{
		display: flex;
		flex-direction: column;
		font-size: 10px;
	}

	.deskripsi-news{
		gap:20px;
	}

	.card-news .deskripsi-news p {
		font-size: 9px;
	}

	.career-card-header{
		display: flex;
		flex-direction: column;
	}

	.career-card-header p{
		font-size: 10px;		
	}

	.career-card-footer p, a{
		font-size: 10px;		
	}

	.career-container {
		display: flex;
		flex-direction: column;
	}

	.news-area {
    	padding: 50px;
	}

	.news-menu span {
		display: inline-block;   /* penting supaya width bisa jalan */
		font-size: 10px;
		height: 30px;
		text-align: center;
		width: 80px;             /* sesuaikan dengan kira-kira 8 huruf */
		white-space: nowrap;     /* jangan pindah ke baris baru */
		overflow: hidden;        /* sembunyikan sisa teks */
		text-overflow: ellipsis; /* kasih ... */
		vertical-align: middle;  /* biar rapi */
	}

}


@media (max-width: 500px) {
	.about {
		height: 600px !important;
	}
	.mitra-logo {
		width: 35%; /* agar pas 2 kolom dengan gap */
	}

	.bg-container {
		width: 100%; /* Full width di mobile */
		height: 60vh; /* Lebih pendek dari full screen biar teks muat di bawah */
	}

	.bg-full {
		width: 100%;
		height: 100%;
		object-fit: cover; /* Biar penuh tanpa ruang kosong */
		object-position: center top; /* Fokus di bagian atas wajah */
		animation: zoomIn 5s ease-in-out forwards;
	}


	.card-news{
		display: flex;
		flex-direction: column;
	}

	body{
		/* overflow: hidden; */
	}

	.ket-time{
		font-size: 18px;
	}


}
