/* Global CSS */
.custom-navbar {
    background-color: #0a1679;
  }
  
  .custom-logo {
    width: 50px;
    height: 50px;
  }
  
  .custom-highlight {
    font-weight: bold;
    color: #ffffff;
    margin-left: 10px;
  }
  
  .custom-navbar .nav-link {
    color: #ffffff; 
  }
  
  .custom-navbar .navbar-toggler {
    border-color: #ffffff;
    color: #ffffff;
    margin: 10px;
  }
  
*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', 'Righteous', sans-serif; 
    box-sizing: border-box;
}
body{
	background: #1e1f21;
    color: #fff;
}
/* Header Start */
.header-text {
    position: relative;
    text-align: center;
    color: white;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1; 
}

.text-content {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-top: 150px; 
}
.text-content h1 {
    font-size: 36px;
    margin: 10px 0;
}

.text-content a {
    background-color: #007bff;
    color: white;
    text-decoration: none;
    padding: 10px 70px;
    border-radius: 100px;
    margin-top: 20px;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.text-content a:hover {
    background-color: #0056b3;
}

.logo-bnn img {
    width: 15%;
    height: auto;
    margin-bottom: 20px;
    margin-top: 20px; 
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(30%);
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}
/* End Header */

/* Menu Title Start */
.menu-title {
    text-align: center;
    padding: 20px 0;
    background-color: #233C58;
}

.menu-title h2 {
    font-size: 25px;
    color: #fff;
    margin: 0;
}
/* Menu Title End */

/* Card Start */
#card-area {
    padding: 50px 0;
}

.wrapper {
    width: 90%;
    margin: auto;
}

.box-area .box {
    position: relative;
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 10px;
    filter: brightness(95%);
}


.box-area .box img {
    width: 100%;
    display: block;
    transition: transform 0.5s;
    filter: brightness(70%);
}

.box-area .box .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 1; 
    transition: opacity 0.5s;
}

.box-area .box:hover img {
    transform: scale(1.1);
}

.box-area .box:hover .overlay {
    background: linear-gradient(transparent,#1c1c1c 80%);
}

.box-area .box .overlay h3 {
    color: white;
    font-size: 23px;
    margin-bottom: 15px;
    text-align: center;
}

.box-area .box .overlay .btn {
    margin: 5px;
    display: inline-block; 
    border-radius: 50px;
    padding: 5px 70px;
    text-align: center; 
    opacity: 0; 
    transform: translateY(20px); 
    transition: opacity 0.5s, transform 0.5s;
}

.box-area .box:hover .overlay .btn {
    display: inline-block;
    opacity: 1; 
    transform: translateY(0); 
}
.overlay h3{
    margin-top: 40px;
}
/* Card-End */

/* Responsive Styles */
@media (max-width: 767px) {
    .logo-bnn img {
        width: 30%;
        height: auto;
        margin-bottom: 20px;
        margin-top: 20px; /* Tambahkan margin atas untuk logo */
    }
    .single-box {
        margin-bottom: 50px;
    }
    .box-area .box:hover img {
        transform: none;
    }
    .box-area .box .overlay {
        background: rgba(0, 0, 0, 0.5); 
        opacity: 1; 
    }
    .box-area .box .overlay .btn {
        display: inline-block;
        opacity: 1; /* Tampilkan tombol */
        transform: translateY(0); /* Pastikan tombol berada di posisi normal */
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .box-area .row {
        display: flex;
        flex-wrap: wrap;
        gap: 30px; /* Jarak antar card */
    }
    .box-area .col-md-3 {
        flex: 1 1 calc(50% - 30px); /* Dua card per baris dengan jarak 30px */
        box-sizing: border-box;
    }
    .box-area .box {
        margin-bottom: 30px; /* Jarak bawah card */
    }
    .box-area .box:hover img {
        transform: none;
    }
    .box-area .box .overlay {
        background: rgba(0, 0, 0, 0.5); 
        opacity: 1; 
    }
    .box-area .box .overlay .btn {
        display: inline-block;
        opacity: 1; 
        transform: translateY(0); 
    }
}
@media (max-width:360px){
    .logo-bnn img {
        width: 15%;
        height: auto;
        margin-bottom: 20px;
        margin-top: 20px; 
    }
}
@media (max-width: 767px) {
    .logo-bnn img {
        width: 30%;
        height: auto;
        margin-bottom: 20px;
        margin-top: 20px; /* Tambahkan margin atas untuk logo */
    }
    .single-box {
        margin-bottom: 50px;
    }
    .box-area .box:hover img {
        transform: none;
    }
    .box-area .box .overlay {
        background: rgba(0, 0, 0, 0.5); 
        opacity: 1; 
    }
    .box-area .box .overlay .btn {
        display: inline-block;
        opacity: 1; /* Tampilkan tombol */
        transform: translateY(0); /* Pastikan tombol berada di posisi normal */
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .single-box {
        margin-bottom: 50px;
    }
    .box-area .box:hover img {
        transform: none;
    }
    .box-area .box .overlay {
        background: rgba(0, 0, 0, 0.5); 
        opacity: 1; 
    }
    .box-area .box .overlay .btn {
        display: inline-block;
        opacity: 1; 
        transform: translateY(0); 
    }
}
/* Responsive Style Ends */



.section-with-image {
    position: relative;
    color: white;
    padding-top: 200px; 
    padding-bottom: 100px; 
    overflow: hidden; 
}

.section-with-image .background-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.5; 
}

.section-with-image .text-content {
    position: relative;
    z-index: 1;
    text-align: center;
}
.text-content{
    margin-bottom: 150px;
}

.section-with-image .section-title, 
.section-with-image .section-description {
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
}

/* Footer */
.satuan-kerja-title {
    margin-top: -40px; 
}
footer {
	background: #233C58;
	padding: 86px 0;
}
footer .container {
    padding: 20px;
}

footer h2 {
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: bold;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin-bottom: 10px;
}

footer ul li a {
    color: #fff;
    text-decoration: none;
}

footer .socials i {
    margin-right: 10px;
    font-size: 20px;
}

.single-content {
	text-align: center;
	padding: 115px 0;
}
.single-box p {
	color: #fff;
	line-height: 1.9;
}
.single-box h3 {
	font-size: 16px;
	font-weight: 700;
	color: #fff;
}
.single-box .card-area i {
	color: #ffffff;
	font-size: 20px;
	margin-right: 10px;
}
.single-box ul {
	list-style: none;
	padding: 0;
}
.single-box ul li a {
	text-decoration: none;
	color: #fff;
	line-height: 2.5;
	font-weight: 100;
}
.single-box h2 {
	color: #fff;
	font-size: 20px;
	font-weight: 700;
}
#basic-addon2 {
	background: #fe1e4f;
	color: #fff;
}
.socials a {
    text-decoration: none;
    color: inherit;
    margin: 0 10px;
    display: inline-block;
    cursor: pointer;
}

.socials i {
    font-size: 24px;
}
.fa-solid {
    margin-right: 8px; 
    font-size: 1.2em;  
    color: #ffffff;    
}

.footer {
    background-color: #343a40; 
    color: #ffffff; 
    padding: 20px 0; 
}
/* Footer-End */


/*Navbar*/
.custom-navbar {
    background-color: #082C46;
  }
  
.text-logo {
    color: white;
    line-height: 0.85; 
    margin: 0;
    padding: 0; 
    font-weight: 300;
    margin-bottom: 4.25px;
}

.text-logo span {
    display: block;
    margin: 0;
    padding: 0;
}

.text-logo small {
    font-size: 0.8rem;
    margin: 0;
    padding: 0;
    font-family: "Righteous" !important;
}

.nav-item a {
    font-family: "Righteous" !important;
    color: white;
    font-size: 0.87rem;
    margin-top: 10px;
    margin-bottom: 0;
}

.custom-toggler {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-toggler svg {
    width: 24px;
    height: 24px;
    fill: #ffff;
}

.navbar .navbar-nav a:hover {
    color: #4679A8;
}

.navbar .navbar-nav a:hover::after {
    transform: scaleX(0.5);
}

.navbar .navbar-nav a::after {
    content: '';
    display: block;
    padding-bottom: 0.5rem;
    border-bottom: 0.1rem solid #4679A8;;
    transform: scaleX(0);
}

.container-fluid {
    justify-content: center;
}

.custom-navbar .collapse.navbar.collapse {
    width: auto !important;
}

.custom-navbar .navbar-toggler {
    border: none;
    outline: none;
}

.navbar-nav .nav-link {
    text-align: center;
    width: fit-content;
}
/* Navbar End */