/* ====================
   Global & Base Styles
   ==================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
}

:root {
    --primary-color: #213368;
    --dark-color: #213368;
    --secondary-color: #e51d20;
    --red-line-color: #e54c5c;
    --text-light: #fff;
}

body {
    background-color: var(--bs-light);
    color: var(--bs-dark);
    line-height: 1.6;
}

/* ====================
   Header & Navbar
   ==================== */
header {
    min-height: 50vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 5rem;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(41, 56, 108, 0.7);
    z-index: 1;
}

.nav-container {
    background-color: rgba(41, 56, 108, 0.7);
    transition: background-color 0.3s ease;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.scrolled .nav-container {
    background-color: var(--primary-color);
}

.navbar-brand img {
    max-width: 150px;
    height: auto;
}

.navbar-nav .nav-item {
    margin-right: 1.5rem;
}

.nav-link {
    text-decoration: none !important;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

.main-nav .nav-link {
    color: var(--bs-white);
    font-weight: 300;
    font-size: 12px;
    text-transform: uppercase;
}

.main-nav .nav-link:hover {
    color: var(--bs-danger);
    text-decoration: underline;
}

.dropdown-item {
    color: var(--bs-dark);
    font-weight: 300;
    font-size: 14px;
    padding: 8px 16px;
}

.dropdown-item:hover {
    background-color: var(--bs-light);
    color: var(--bs-danger);
}

.navbar-toggler {
    border: none;
}

.header-content {
    position: relative;
    z-index: 2;
    padding: 80px 20px;
    color: var(--bs-white);
}

.header-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

.header-content p {
    font-size: 1.5rem;
    font-weight: 500;
}

/* ====================
   Local Nav
   ==================== */
.local-nav .nav-link {
    text-transform: uppercase;
    font-weight: 400;
    color: var(--primary-color);
    position: relative;
    text-decoration: none !important;
    padding-bottom: 5px;
    transition: color 0.3s ease-in-out;
}

.local-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0%;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease-in-out, left 0.3s ease-in-out;
}

.local-nav .nav-link:hover,
.local-nav .nav-link.active {
    color: var(--secondary-color);
}

.local-nav .nav-link:hover::after,
.local-nav .nav-link.active::after {
    width: 50px;
    left: 50%;
    transform: translateX(-50%);
}

/* ====================
   Card
   ==================== */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.info-card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    margin-bottom: 90px;
    margin-top: 50px;
}

.info-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 300px;
    min-height: 180px;
    padding: 20px;
    border: 3px solid #dee2e6;
    border-radius: 10px;
    text-align: left;
    text-decoration: none;
    color: #343a40;
    position: relative;
    transition: all 0.3s ease-in-out;
}

.info-card:hover {
    border-color: transparent;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.info-card h4 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    max-width: 190px;
    color: var(--primary-color);
    margin-left: 10px;
    margin-bottom: 30px;
}

.info-card::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background-color: var(--red-line-color);
    position: absolute;
    bottom: 50px;
    left: 30px;
    transition: width 0.3s ease-in-out;
}

.info-card:hover::after {
    width: 100px;
}

/* ====================
   H2 & .content-title
   ==================== */
h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
}

h2::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background-color: var(--red-line-color);
    position: absolute;
    bottom: 0;
    left: 0;
}

.content-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 30px;
}

.content-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--red-line-color);
    position: absolute;
    bottom: 0;
    left: 0;
}

/* ====================
   Sidebar & List
   ==================== */
.sidebar {
    min-height: 100%;
    background-color: #fff;
    border-right: 1px solid #ddd;
    padding-top: 50px;
}

.sidebar a {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
}

.sidebar a:hover {
    color: var(--secondary-color);
}

/* Styling untuk daftar utama dropdown */
.custom-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Styling untuk setiap item dropdown yang bisa diklik */
.custom-list .dropdown-toggle {
  cursor: pointer;
  padding: 15px 20px;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  color: #333;
  transition: background-color 0.3s ease;
}

/* Efek hover untuk item dropdown */
.custom-list .dropdown-toggle:hover {
  background-color: #f5f5f5;
}

/* Styling untuk teks link di dalam item dropdown */
.custom-list .dropdown-toggle a {
  text-decoration: none;
  color: inherit;
  flex-grow: 1;
}

/* Styling untuk panah ikon */
.arrow-icon {
  width: 24px;
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
}

.arrow-icon svg {
  width: 15px;
  height: 15px;
  fill: #888;
}

/* Memutar panah saat dropdown dalam keadaan aktif (terbuka) */
.dropdown-toggle.active .arrow-icon {
  transform: rotate(180deg);
}

/* Menyembunyikan konten dropdown secara default */
/* CSS lama: */
.dropdown-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out; /* Hapus baris ini */
  padding-left: 20px;
  background-color: #f9f9f9;
}

/* CSS baru: */
.dropdown-content.show {
  max-height: 1000px; /* Atur nilai yang sangat besar agar semua konten terlihat */
  overflow-y: auto;
  padding: 20px 20px 20px 40px;
}

/* ====================
   Breadcrumb
   ==================== */
.breadcrumb-nav a {
    color: #000;
    text-decoration: none;
}

.breadcrumb-nav a:hover {
    text-decoration: underline;
}

.breadcrumb-nav {
    color: #555;
    font-size: 16px;
}




.profil-container2 {
    max-width: 960px;
    margin: auto;
}

.profile-container {
    display: flex; /* Menggunakan Flexbox untuk mensejajarkan foto dan info-container */
    align-items: flex-start;
    gap: 30px; /* Jarak antara foto dan konten */
}

.profile-photo {
    width: 250px; /* Ukuran foto yang lebih besar agar konten muat di samping */
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.info-container {
    flex-grow: 1; /* Konten info akan mengisi sisa ruang */
}

a h2 {
    font-size: 18px; /* Atau ukuran lain yang Anda inginkan */
    font-weight: 700; /* Opsional: jika ingin menghilangkan efek tebal bawaan h2 */
    margin-bottom: 5px; /* Sesuaikan jarak bawah jika diperlukan */
}

.bio h1 {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 700;
}

.bio .title {
    margin: 0;
    font-size: 16px;
    color: #555;
}

.content {
    margin-top: 20px; /* Jarak antara bio dan bagian konten lainnya */
}

.content .section {
    margin-bottom: 20px;
}

.content h3 {
    font-size: 16px;
    padding-bottom: 5px;
    margin-bottom: 10px;
    font-weight: 700;
}

.content ul {
    list-style-type: disc;
    padding-left: 20px;
}

.content ul li {
    margin-bottom: 5px;
}

a h2 {
  margin-top: 20px; /* Ganti nilai 10px sesuai kebutuhan Anda */
}

/* Atau, menambahkan jarak di atas setiap paragraf */
p, ul {
  margin-top: 10px; /* Ganti nilai 10px sesuai kebutuhan Anda */
}
/* ====================
   Footer Section
   ==================== */
#footer {
    background-color: var(--primary-color);
}

/* Styling untuk Footer secara keseluruhan */
#footer {
    background-color: #213368; /* Warna latar belakang gelap */
    color: #fff; /* Warna teks putih */
    padding-top: 5rem;
}

/* Garis merah di bawah logo */
#footer .widget hr {
    background-color: #e54c5c !important; /* Menggunakan warna merah */
    height: 3px; /* Ketebalan garis */
    border: none;
    opacity: 1; /* Agar garis terlihat jelas */
}

/* Styling untuk daftar kontak (alamat, telepon, email) */
#footer .widget ul.list-unstyled li {
    font-size: 14px;
}

/* Mengatur jarak dan perataan ikon dengan teks */
#footer .widget ul.list-unstyled li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

#footer .widget ul.list-unstyled li a:hover {
    color: #e51d20; /* Warna merah saat di-hover */
}

/* Gaya untuk ikon media sosial */
#footer .social-media-icons a {
    margin-right: 10px; /* Jarak antar ikon */
}

#footer .social-media-icons img {
    width: 30px;
    height: 30px;
}

/* Gaya untuk menu navigasi di sisi kanan */
#footer .col-lg-6 ul li a {
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s;
}

#footer .col-lg-6 ul li a:hover {
    color: #e51d20; /* Warna merah saat di-hover */
}

/* Garis di atas bagian copyright */
#footer .copyright-content {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

#footer .copyright-content .text-center {
    font-size: 12px;
    color: #ccc;
    padding-top: 15px;
    padding-bottom: 15px;
}

.custom-container {
    max-width: 1900px; /* Atur lebar maksimal container sesuai keinginan Anda */
    margin: 0 auto;    /* Membuat container berada di tengah */
    padding: 0 15px;   /* Menambah sedikit jarak di sisi kiri dan kanan */
}

/* Anda dapat menimpa gaya Bootstrap dengan menambahkan selector yang lebih spesifik */
.col-md-9 h2,
.col-md-9 p {
    text-align: left !important; /* !important akan memastikan gaya ini diprioritaskan */
}

/* Efek hover icon */
.social-icons-slider a img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 50%;
}

.social-icons-slider a img:hover {
    transform: scale(1.2) rotate(10deg);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* Posisi icon di pojok kanan bawah */
.social-icons-slider {
    position: center;
    bottom: 20px;
    right: 30px;
    z-index: 10;
}
