body {
    font-family: Arial, sans-serif,Stratum;
    background-color: #000;
    color: #fff;
}

.hero {
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 100vh;
}

.hero video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.hero h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: #fff;
    z-index: 1;
}

.paths {
    padding: 50px 0;
    text-align: center;
}

.paths h2 {
    margin-bottom: 30px;
}

/* FOOTER WEBSITE */
.footer {
    background-color: #000;
    color: #fff;
    padding: 40px 0;
}

.footer a {
    color: #fff;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer .left,
.footer .right {
    flex: 1;
}

.footer .left {
    display: flex;
    flex-direction: column;
}

.footer .left a {
    margin: 5px 0;
}

.footer .right {
    text-align: right;
}


/* Add font-face declarations */
@font-face {
    font-family: 'Stratum';
    src: url('/fonts/stratum-no1-5.woff2') format('woff2'),
         url('/fonts/stratum-no1-5.woff') format('woff'),
         url('/fonts/stratum-no1-5.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Stratum';
    src: url('/fonts/stratum-no1-2.woff2') format('woff2'),
         url('/fonts/stratum-no1-2.woff') format('woff'),
         url('/fonts/stratum-no1-2.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

/* Apply the Stratum font to the body */
body {
    font-family: 'Stratum', Arial, sans-serif;
    background-color: #000;
    color: #fff;
    margin: 0;
    padding: 0;
}

.navbar-nav .nav-link {
    font-family: 'Stratum', Arial, sans-serif;
    color: #000000;
    font-size: 18px;
    font-weight: bold;
    padding: 10px 20px;
    transition: color 0.3s;
}

/* Ensure other elements use the Stratum font */
.navbar-collapse-custom .collapse-nav .nav-link {
    font-family: 'Stratum', Arial, sans-serif;
    color: #fff;
    font-size: 24px;
    text-decoration: none;
}

/* Add other relevant CSS rules to ensure the font is used throughout */
h1, h2, h3, h4, h5, h6, p, a, li {
    font-family: 'Stratum', Arial, sans-serif;
}

/* public/css/app.css */

/* pejabat css */

body.pejabat-page {
    background-color: #ffffff; /* Full green background */
    padding-top: 70px; /* Ensure content starts below the navbar */
}

.pejabat-container {
    text-align: center;
    padding: 50px 0;
}

.pejabat-list {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pejabat-row {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.pejabat-item {
    background-color: #fff;
    color: #000;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin: 0 10px;
    padding: 20px;
    text-align: center;
    width: 200px;
}

.pejabat-item img {
    width: 100%;
    height: 60%;
    border-radius: 5%;
    margin-bottom: 10px;
    
}

.pejabat-item h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.pejabat-item p {
    font-size: 14px;
    color: #555;
}

/* Different background colors for different levels */
.pejabat-level-1 .pejabat-item {
    background-color: #ffffff;
}

.pejabat-level-2 .pejabat-item {
    background-color: #ffffff;
}

.pejabat-level-3 .pejabat-item {
    background-color: #ffffff;
}

.pejabat-level-4 .pejabat-item {
    background-color: #ffffff;
}



/* profil */

body.profil-page {
    background-color: #F6F6F6; /* Green background */
    color: #000;
}

.profil-container {
    padding-top: 100px;
}

.profil-section {
    margin-bottom: 50px;
}

.profil-section h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.profil-section p {
    font-size: 1.2rem;
}

.btn-primary {
    background-color: #fff;
    color: #0c0e1a;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #ccc;
    color: #0c6c8a;
}

.btn-success:hover {
    background-color: #ccc;
    color: #0c6c8a;
}

.mission-section {
    background: #fff; /* White background */
    color: #000; /* Black text */
    padding: 50px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);

}

.mission-section .mission-intro {
    font-size: 1.5rem;
    margin-bottom: 20px;
    
}

.mission-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    border-radius: 10px;

}

.vision-section .core-functions {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.vision-section .function-item {
    flex: 1 1 calc(50% - 20px);
    margin: 10px;
    background: #fff; /* White background */
    color: #000; /* Black text */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.vision-section .function-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.vision-section .function-item p {
    font-size: 1rem;
}

.history-section .history-background {
    position: relative;
    padding: 100px 0;
    text-align: center;
    color: #fff; /* Text color */
}

.history-section .history-background .background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    border-radius: 20px;

}

.history-section .history-background .history-content {
    position: relative;
    z-index: 2;
    border-radius: 10px;

}

.history-section .history-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay for better text readability */
    z-index: 1;
    border-radius: 10px;

}

.history-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    border-radius: 10px;

}

.history-section p {
    font-size: 1.5rem;
    margin-bottom: 20px;
    border-radius: 10px;

}

.btn-primary {
    background-color: #fff;
    color: #1b5e20;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #ccc;
    color: #0c6c8a;
}
.history-section {
    position: relative;
    height: 30vh; /* Atur sesuai kebutuhan Anda */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white; /* Warna teks */
    border-radius: 10px;
}

.history-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background-image: url('{{ asset('images/sejarah.jpg') }}');*/
    background-size: cover;
    background-position: center;
    z-index: 1;
    border-radius: 10px;

}

.history-content {
    position: relative;
    z-index: 2;
    text-align: center;
    border-radius: 10px;

}

.history-content h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.2rem;
    border-radius: 10px;

}

.history-content h1 {
    font-size: 3rem;
    font-weight: bold;
    letter-spacing: 0.3rem;
    border-radius: 10px;

}

.profil-utama {
    background: #fff; /* White background */
    color: #000; /* Black text */
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}


.paths {
    padding: 60px 0;
    text-align: center;
    background-color: #fff; /* Dark background color */
    color: #000000; /* White text color */
}

.paths h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 40px;
}

.path-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.path-card {
    background-color: rgba(0, 0, 0, 0.63);
    color: #ffffff; /* White text color */
    font-weight: bold;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.path-card img {
    height: 100px;
    margin-bottom: 20px;
}

.path-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.path-card p {
    font-size: 16px;
    margin-bottom: 20px;
}

.path-card .btn-primary {
    background-color: #0d83a7;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    color: #fff;
    text-decoration: none;
}

.path-card .btn-primary:hover {
    background-color: #0c6c8a;
    color: #fff;
}

.related-institutions {
    padding: 80px 0;
    text-align: center;
    background-color: #fff; /* Light background color */
    color: #000; /* Dark text color */
    font-weight:bold;
}

.related-institutions h2 {
    font-size: 50px;
    margin-bottom: 20px;
}

.institutions-logos {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.institutions-logos img {
    height: 100px;
}

/* tambahkan ini di file app.css atau stylesheet anda */
.hero .tagline {
    position: absolute;
    top: 67%;
    left: 0;
    width: 100%;
    background-color: #004d40;
    padding: 10px 20px;
    color: white;
    font-size: 1.5rem;
    z-index: 1;
    text-align: center;
}

/* Pop-up styles */
/* Pop-up styles */
.popup {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.popup-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 10px;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

table, th, td {
    border: 1px solid #ddd;
}

th, td {
    padding: 8px;
    text-align: left;
}

th {
    background-color: #f2f2f2;
}


/* css untuk website subdis */

.fungsi-utama, .bagian-subdis {
    padding: 50px 0;
    text-align: center;
}

.fungsi-utama h2, .bagian-subdis h2 {
    margin-bottom: 30px;
    font-size: 2.5rem;
}

.content-section {
    margin-bottom: 50px;
}

.content-section h2 {
    margin-bottom: 20px;
    font-size: 2rem;
    text-align: left;
}

.card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.card:hover {
    transform: translateY(-10px);
}

/* Styles for sidebar */
/* Styles for sidebar */
.nav-pills {
    background-color: #1a1d2e; /* Ubah latar belakang sidebar menjadi biru */
    padding: 10px;
    border-radius: 5px;
}

.nav-pills .nav-link {
    color: #fff; /* Warna teks menjadi putih */
    font-weight: bold;
}

.nav-pills .nav-link.active {
    background-color: #1a1d2e; /* Biru gelap untuk tab aktif */
    color: #000000;
}

/* Styles for card */
.card-header {
    background-color: #1a1d2e !important; /* Warna baru untuk header kartu dengan !important */
    color: #000000;
}

.card-body {
    font-size: 1rem;
    color: #000000;
}

.pejabat-image {
    width: auto;
    max-height: 700px; /* Sesuaikan tinggi maksimum yang diinginkan */
    margin: 0 auto; /* Pusatkan gambar */
}
.carousel-item {
    text-align: center; /* Pusatkan konten dalam item carousel */
}

/* berita */

.sidebar h4 {
    border-bottom: 2px solid #1a1d2e;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.media-body a {
    color: #1a1d2e;
    text-decoration: none;
    font-weight: bold;
}

.media-body a:hover {
    color: #f0a500;
}


/* tampilan berita */

.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s;
    height: 500px;
}

.card:hover {
    transform: translateY(-10px);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-title {
    font-size: 1.25rem;
    font-weight: bold;
}

.card-text {
    font-size: 1rem;
    color: #6c757d;
}

.hero-section {
    position: relative;
    text-align: center;
    overflow: hidden;
}

.hero {
    position: relative;
    text-align: center;
    overflow: hidden;
}

#heroVideo {
    width: 100%;
    height: auto;
    opacity: 0.7;
}

.hero h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 4rem;
    z-index: 1;
}

.tagline {
    position: absolute;
    top: 97%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #1a1d2e;
    padding: 10px 20px;
    color: white;
    font-size: 1.5rem;
    z-index: 1;
    font-weight: bold;
}


    .lightboxOverlay {
        background-color: rgba(0, 0, 0, 0.8) !important;
    }
    .lb-close {
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M6 6L18 18M6 18L18 6'%3E%3C/path%3E%3C/svg%3E") no-repeat center center !important;
        width: 40px !important;
        height: 40px !important;
    }

/* slide home */

.carousel-caption {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.carousel-caption h1 {
    color: #fff;
    font-weight: bold;
}

.carousel-caption p {
    color: #fff;
    margin: 15px 0;
}

.carousel-caption .btn {
    background-color: #0d83a7;
    border: none;
    padding: 10px 20px;
    font-size: 1.25rem;
}

.carousel-caption .btn:hover {
    background-color: #0c6c8a;
    
}

.carousel-item img {
    max-height: 700px; /* Adjust the height as needed */
    object-fit: cover;
}
