/* ==========================================================================
   Global Styles
   ========================================================================== */

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Roboto:wght@300;400;500&display=swap');

/* CSS Variables */
:root {
  --primary-blue: #1E90FF; /* Modern blue accent */
  --accent-red: #FF3B3F; /* Red accent */
  --gray-light: #1B263B; /* Dark gray background */
  --gray-dark: #2D3748; /* Dark gray text */
  --white: #FFFFFF; /* Clean white */
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.5); /* Subtle shadow */
  --transition: all 0.3s ease; /* Smooth transition */
  --gradient-header: linear-gradient(135deg, #1B263B 30%, #2A3F5F 100%); /* Header gradient */
  --nav-bg: #003844; /* Sama dengan primary untuk kohesi */
  --teamshadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  --primary-color: #002B36; /* Biru tua kehijauan gelap */
  --accent-color: #D4A017; /* Emas lembut */
  --text-color: #1A2A2F; /* Abu-abu gelap untuk teks kartu */
  --secondary-text: #B8C7CC; /* Abu-abu kebiruan */
  --card-bg: #F7FAFB; /* Abu-abu sangat terang */
}


  
/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

/* Body */
body {
  background-color: var(--gray-light);
  color: var(--gray-dark);
}

/* Container */
.container {
  max-width: 1500px;
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
}

/* ==========================================================================
   Header
   ========================================================================== */

header {
  position: sticky;
  top: 0;
  z-index: 999;
  width: 100%;
  background: var(--gradient-header);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
}

.header-container {
  max-width: 1500px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1px 0;
  position: relative;
  z-index: 999;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  z-index: 1002;
}

.logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  transform: translateY(20%);
  transition: var(--transition);
}

.logo-container:hover {
  transform: translateY(30%);
}

.logo-container img {
  width: 100px;
  height: auto;
  margin-bottom: 0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.4));
  transition: var(--transition);
  border-radius: 0;
}

.logo-container img:hover {
  transform: scale(1.05);
}

.logo-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: #F5F5F5;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
  letter-spacing: 1px;
}

.logo-text h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 1.1rem;
  font-weight: 300;
  color: #FFD700;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.5px;
}

/* Navigation */
.nav-container {
  display: flex;
  align-items: center;
}

#nav {
  display: flex;
  margin: 0;
  padding: 0;
}

#nav > ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

#nav li {
  position: relative;
  margin: 0 10px;
}

#nav li a {
  display: block;
  padding: 10px 18px;
  color: #E0E0E0;
  text-decoration: none;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 0.75rem;
  border-radius: 25px;
  transition: var(--transition);
  white-space: nowrap;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

#nav li a:hover,
#nav li a:focus,
#nav li a.active {
  color: #FFD700;
  background-color: rgba(255, 215, 0, 0.2);
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

/* Dropdown Menu */
.dropdown {
  position: relative;
  z-index: 1003;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1002;
  display: none;
  min-width: 220px;
  padding: 10px 0;
  margin: 4px 0 0;
  background-color: #2A3F5F;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  animation: slideDown 0.3s ease;
  transform: translateY(-10px);
}

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

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  padding: 10px 20px;
  color: #E0E0E0;
  font-family: 'Roboto', sans-serif;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: var(--transition);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.dropdown-menu a:hover {
  background-color: rgba(255, 215, 0, 0.1);
  color: #FFD700;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* Mobile Navigation Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #E0E0E0;
  cursor: pointer;
  padding: 10px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   Main Content
   ========================================================================== */

main {
  width: calc(100% * 4/4);
  max-width: 1500px;
  margin: 0;
  padding: 20px 20px;
  position: relative;
  z-index: 1;
  background-color: var(--gray-light);
  border-radius: 0px;
}



main.container {
    padding-top: 23px; /* Ruang untuk logo dan tulisan yang menjuntai */
}

/* Main Content Layout */
.main-section {
    
    background-color: var(--white);
    padding: 30px;  
    border-radius: 30px 30px 0 0;
}


/* Main Content Section Link */
.main-section-link {
    margin-bottom: 20px;
    background-color: var(--white);
    border-radius: 0px;
    padding: 30px;
    border-radius: 0 0  45px 45px;
}

.section-title {
  position: relative;
  margin-bottom: 25px;
  padding-bottom: 12px;
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--gray-dark);
  align-items: center;
}



.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 4px;
  background-color: var(--accent-red);
}

/* Flex Container */
.flex-container {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  margin-bottom: 20px;
  align-items: stretch;
  background-color: var(--white);
}

.flex-box {
  flex: 1;
  min-width: 280px;
  background-color: var(--white);
  padding: 20px;
  border-radius: 10px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  min-height: 300px;
}

/* Video Container */
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #000;
  box-shadow: var(--shadow);
  flex: 1;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Tab Container */
.tab-container {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tab-nav {
  display: flex;
  border-bottom: 0 solid var(--gray-light);
  margin-bottom: 15px;
  flex-shrink: 0;
    gap: 10px;
}

.tab-nav button {
  padding: 10px 20px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--gray-dark);
  transition: var(--transition);
  transition: all 0.3s ease;
}

.tab-nav button:hover {
  color: var(--primary-blue);
}

.tab-nav button.active {
  color: var(--accent-red);
  border-bottom-color: var(--accent-red);
}

.tab-content {
  display: none;
  animation: fadeIn 0.5s ease;
  overflow-y: auto;
  flex: 1;
  padding: 10px;
}

.tab-content.active {
  display: block;
}

.tab-content img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}


/* Main Content Layout */
.main-section-news {
    max-width: 1500px;
  margin-bottom: 20px;
  background-color: var(--white);
  padding: 30px;
  border-radius: 12px;
  display: flex; /* Jadikan flex container */
  flex-wrap: wrap; /* Izinkan pembungkusan */
  gap: 24px; /* Jarak antar kartu */
  align-items:center;
}



/* News Grid */
.news-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.news-card {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  flex: 1 1 calc(25% - 24px); /* Empat kartu per baris */
  max-width: calc(25% - 24px);
  box-sizing: border-box; /* Pastikan padding/border tidak menambah lebar */
}


/* Pastikan wadah tombol memusatkan konten */
.text-center {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* Gaya tombol */
#load-more-btn {
  display: inline-block;
  margin: 0 auto;
}

/* Untuk layar besar */
@media (min-width: 600px) {
  .text-center {
    display: flex;
    justify-content: center;
  }
  #load-more-btn {
    display: inline-block;
    margin: 0 auto;
  }
}



/* Media Query untuk layar <900px */
@media (max-width: 900px) {
  .main-section-news {
    flex-direction: column; /* Kartu menumpuk vertikal */
  }
  .news-card {
    flex: 1 1 100%; /* Kartu mengambil lebar penuh */
    max-width: 100%; /* Hapus batas max-width */
  }
}

.news-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.news-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 16px;
}

.news-title {
  font-size: 18px;
  margin-bottom: 8px;
  font-weight: bold;
}

.news-text {
  flex-grow: 1;
  font-size: 14px;
  margin-bottom: 16px;
}

.read-more-btn {
  margin-top: auto;
  align-self: flex-start;
}

/* News Grid Horizontal */
.news-grid-horizontal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.6); /* Background transparan */
}

.news-card-horizontal {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  max-width: 100%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
  background-color: #fff;
  margin: 10px 0;
}

.news-img-horizontal {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-right: 15px;
  border-radius: 8px;
}

.news-body-horizontal {
  flex: 1;
  padding: 15px;
}

.news-text small {
  font-size: 12px;
}


/* Section Agenda */
.agenda-section {
    border-radius: 10px;
    padding: 20px;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    min-height: 300px; /* Pastikan section cukup tinggi untuk ilustrasi */
}

/* Judul Section dengan Ikon */

.agenda-icon {
    font-size: 28px;
    color: #007bff; /* Warna ikon */
}

/* Gambar Ilustrasi */
.agenda-illustration {
    position: absolute;
    left: 30px; /* Posisi di luar section, sesuaikan sesuai kebutuhan */
    top: 50%;
    transform: translateX(-50%);
    transform: translateY(-50%); /* Posisi vertikal tengah */
    width: 500px; /* Ukuran ilustrasi */
    height: auto;
    z-index: -1; /* Di belakang section */
}

/* Grid untuk Agenda */
.news-grid-horizontal-agenda {
    
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: rgba(255, 255, 255, 0.8) !important; /* Background transparan */
}

/* Card Agenda */
.news-card-horizontal-agenda {
    display: flex;
    gap: 15px;
    align-items: center;
    background: rgba(255, 255, 255, 0.8) !important; /* Background transparan */
}
.news-img-horizontal-agenda {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
}
.news-body-horizontal-agenda {
    flex: 1;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Efek shadow untuk estetika */
    padding:10px;
    background: rgba(255, 255, 255, 0.8) !important; /* Background transparan */
}
.news-title-agenda {
    font-size: 18px;
    margin-bottom: 10px;
}
.news-text-agenda {
    font-size: 14px;
    color: #555;
}
.btn-primary-agenda {
    background-color: #007bff;
    border: none;
    padding: 8px 15px;
    font-size: 14px;
}



@media (max-width: 1024px) {
    

    
   .row-sejajar {
    flex-direction: column; /* Section menumpuk vertikal */
  }
  .row-sejajar > * {
    flex: none; /* Nonaktifkan flex-grow */
    width: 100%; /* Section mengambil lebar penuh */
    min-width: 0; /* Hapus batas minimal lebar */
  }
  
     .row-sejajar-team-foto {
    flex-direction: column; /* Section menumpuk vertikal */
  }
  .row-sejajar-team-foto > * {
    flex: none; /* Nonaktifkan flex-grow */
    width: 100%; /* Section mengambil lebar penuh */
    min-width: 0; /* Hapus batas minimal lebar */
  }
  
    .agenda-section {
        padding: 15px;
    }
    .section-title {
        font-size: 20px;
    }
    .agenda-icon {
        font-size: 24px;
    }
    .agenda-illustration {
        display: none; /* Sembunyikan ilustrasi di mobile untuk ruang */
    }
  .news-body-horizontal {
    padding: 10px; /* Kurangi padding untuk ruang lebih */
    flex: 1;
  }
  .news-img-horizontal {
    width: 100px; /* Kurangi ukuran gambar agar teks punya lebih banyak ruang */
    height: 100px;
    margin-right: 10px;
  }
  .news-body-horizontal h3 {
    font-size: 1.1rem; /* Kurangi ukuran judul */
    margin-bottom: 8px;
  }
  .news-body-horizontal p {
    font-size: 0.9rem; /* Kurangi ukuran teks */
  }
  .news-body-horizontal button {
    font-size: 0.9rem; /* Sesuaikan ukuran tombol */
    padding: 8px 12px; /* Kurangi padding tombol */
    white-space: nowrap; /* Cegah teks tombol membungkus */
  }
}

/* Sidebar */
.sidebar-section {
  background-color: var(--white);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: var(--shadow);
}

.sidebar-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--gray-dark);
  padding-bottom: 10px;
  border-bottom: 3px solid var(--primary-blue);
}

.sidebar-item {
  margin-bottom: 20px;
}

.sidebar-item:last-child {
  margin-bottom: 0;
}

.sidebar-img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 12px;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 15px;
}

.gallery-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  transition: var(--transition);
}

.gallery-img:hover {
  transform: scale(1.08);
  box-shadow: var(--shadow);
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 24px;
  justify-items: center;
  margin-bottom: 20px;
  padding: 20px; /* Opsional: ruang dalam */
}

.link-item {
  display: block;
  width: 100%;
  max-width: 120px;
  transition: transform 0.3s ease;
}

.link-item:hover {
  transform: scale(1.05);
}

.link-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.link-item:hover .link-image {
  transform: scale(1.1);
}

.no-links {
  color: #888;
  font-style: italic;
  grid-column: 1 / -1;
}

/* Row Sejajar */
.row-sejajar {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: stretch;
  margin-bottom: 20px;
}

/* Atur lebar section agar sejajar secara horizontal */
.row-sejajar > * {
  flex: 1; /* Membuat section mengambil ruang yang sama */
  min-width: 250px; /* Minimal lebar untuk mencegah section terlalu kecil */
  box-sizing: border-box; /* Pastikan padding/margin tidak menambah lebar */
}

.box {
  flex: 1 1 48%;
  display: flex;
  flex-direction: column;
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

/* Row Sinkron */
.row-sinkron {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 40px;
}

.col-equal {
  flex: 1 1 48%;
  display: flex;
  flex-direction: column;
}

.sidebar-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
  background-color: #2b3a50;
  color: #fff;
  padding: 40px 20px 20px;
  font-family: 'Segoe UI', Tahoma, sans-serif;
  
}

.footer-atas {
  background: #005566;
  color: #fff;
  padding: 40px 20px 20px;
  font-family: 'Segoe UI', Tahoma, sans-serif;
  border-radius:0 0 45px 45px;
  box-shadow: var(--shadow); /* Terapkan bayangan */
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  gap: 30px;
}

.footer-column {
  flex: 1 1 220px;
  min-width: 200px;
}

.footer-column h3 {
  font-size: 18px;
  margin-bottom: 10px;
  border-bottom: 2px solid #4e9cff;
  padding-bottom: 4px;
  color: #fff;
}

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

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  color: #a8d0ff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.container.text-center {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
}

.container.text-center a {
  color: #4e9cff;
  text-decoration: none;
}

.container.text-center a:hover {
  text-decoration: underline;
}

/* Load More Button */
#load-more-btn {
  background: #005566;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 5px;
  transition: background 0.3s ease;
}

#load-more-btn:hover {
  background: #f28c38;
}

#load-more-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

@media (max-width: 1000px) {
  .mobile-nav-toggle {
    display: block;
    color: #F1C40F;
  }

  #nav {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: #2A3F5F;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    padding: 20px;
    display: none;
    animation: slideIn 0.3s ease;
    overflow-y: auto;
    max-height: calc(100vh - 80px);
    z-index: 1002;
  }

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

  #nav.active {
    display: flex;
    flex-direction: column;
  }

  #nav > ul {
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
  }

  #nav li {
    margin: 10px 0;
    width: 100%;
  }

  #nav li a {
    width: 100%;
    text-align: left;
    font-weight: 400;
    border-radius: 8px;
    color: #F1C40F;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  }

  #nav li a:hover,
  #nav li a:focus,
  #nav li a.active {
    color: #FFFFFF;
    background-color: rgba(241, 196, 15, 0.2);
  }

  .dropdown-menu {
    position: static;
    display: none;
    width: 100%;
    box-shadow: none;
    border: none;
    padding-left: 20px;
    background-color: #3E5C76;
    z-index: 1003;
  }

  .dropdown-menu a {
    color: #F1C40F;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  }

  .dropdown-menu a:hover {
    color: #FFFFFF;
    background-color: rgba(241, 196, 15, 0.1);
  }

  .dropdown:hover .dropdown-menu {
    display: none;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }

  .dropdown-toggle::after {
    color: #F1C40F;
  }

  .dropdown:hover .dropdown-toggle::after,
  .dropdown.active .dropdown-toggle::after {
    color: #FFFFFF;
  }

  .header-container {
    flex-wrap: wrap;
  }

  .logo-container {
    top: 10px;
  }

  .logo-container img {
    width: 100px;
  }

  .logo-text h1 {
    font-size: 1.6rem;
  }

  .logo-text h2 {
    font-size: 0.9rem;
  }

  main {
    width: 100%;
    padding: 30px 15px;
  }

  main.container {
    padding-top: 140px;
  }

  .flex-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .flex-box {
    min-height: auto;
    width: 100%;
  }

  .video-container {
    max-height: 300px;
  }

  .tab-container {
    max-height: none;
  }

  .tab-content {
    max-height: none;
  }
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-column {
    width: 100%;
  }

  .row-sinkron {
    flex-direction: column;
  }

  .col-equal {
    flex: 1 1 100%;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 10px;
  }

  .header-container {
    padding: 10px 0;
  }

  .logo-container {
    top: 10px;
  }

  .logo-container img {
    width: 80px;
  }

  .logo-text h1 {
    font-size: 1.4rem;
  }

  .logo-text h2 {
    font-size: 0.8rem;
  }

  .mobile-nav-toggle {
    font-size: 1.5rem;
    padding: 8px;
  }

  #nav li a {
    font-size: 0.9rem;
  }

  .dropdown-menu a {
    font-size: 0.85rem;
  }

  main {
    padding: 20px 10px;
  }

  main.container {
    padding-top: 110px;
  }

  .flex-box {
    padding: 15px;
  }

  .video-container {
    max-height: 200px;
  }

  .tab-nav button {
    font-size: 0.85rem;
    padding: 8px 15px;
  }

  .news-grid .news-card {
    flex: 1 1 calc(100% - 24px);
    max-width: calc(100% - 24px);
  }

  .news-img {
    height: 200px;
  }
}



.post-image-halaman img {
            max-width: 100%;
            height: auto;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.post-meta-halaman {
            font-size: 0.9em;
            color: #666;
            margin-bottom: 20px;
 }

.content-section-halaman {
            background: #fff;
            padding: 30px;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
 }





/* Font modern */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

.box {
    max-width: 100%; 
    overflow:auto;
    
}

/* Row sejajar untuk tata letak horizontal */
/* .row-sejajar-team-foto { */
/*  display: flex; */
/*  flex-wrap: nowrap; /* Pastikan kolom tetap sejajar horizontal */
/*  align-items: stretch; /* Kolom memiliki tinggi yang sama */
/*  gap: 20px; */
/*  max-width: 100%; */
/*  margin: 0 auto; */
/* } */



.team-section, .sidebar-section {
  background: #Fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 40px;
  display: flex;
  flex-direction: column;
  margin-bottom:20px;
}

.sidebar-title {
  font-family: 'Inter', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.sidebar-title::after {
  content: '';
  width: 80px;
  height: 3px;
  background: var(--accent-color);
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.team-container {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.team-carousel {
  background: white;
  border-radius: 0 0 16px 16px;
  box-shadow: var(--shadow);
  padding: 30px;
  flex-grow: 1;
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--card-bg);
  border-radius: 12px;
  margin: 0 auto;
  max-width: 650px;
  padding: 20px;
  transition: box-shadow 0.3s ease;
}

.team-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.team-img-wrapper {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin-bottom: 20px;
}

.team-img {
  width: 100%;
  height: 300px; /* Rasio 4:3 */
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--card-bg);
}

.team-body {
  text-align: center;
  font-family: 'Inter', sans-serif;
}

.team-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0 0 10px;
}

.team-position {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--gray-light);
  margin: 10px;
  max-width:450px;
}

.team-divider {
  width: 40px;
  height: 2px;
  background: var(--gray-light);
  margin: 0 auto 10px;
}

.team-text {
  font-size: 1rem;
  color: var(--text-color);
  line-height: 1.6;
}

/* Navigasi Foto Kecil */
.team-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
  gap: 15px;
  padding: 15px 0;
  max-width: 650px;
  margin: 0 auto;
}

.team-nav-item {
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.team-nav-item:hover {
  opacity: 0.8;
}

.team-nav-item.active {
  position: relative;
}

.team-nav-item.active::after {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border: 2px solid var(--accent-color);
  border-radius: 50%;
  z-index: -1;
}

.team-nav-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--card-bg);
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
  width: 8%;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: var(--accent-color);
  border-radius: 50%;
  width: 36px;
  height: 36px;
}

/* Galeri Foto */
.sidebar-section {
  display: flex;
  flex-direction: column;
}

.gallery-grid-home {
  display: grid;
   grid-template-columns: repeat(3, 1fr);  /* 4 foto per baris */
  /*grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); */
  gap: 10px;
  flex-grow: 1;
  height:auto;
  padding:20px;
}

.gallery-grid-video {
  display: grid;
  grid-template-columns: repeat(3, 1fr);  /* 4 foto per baris */
  /*grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); */
  gap: 20px;
  flex-grow: 1;
  height:auto;
  padding:40px;
}

.gallery-img-home {
  width: 100%;
  height:100%;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease;
}


.gallery-img-home:hover {
  transform: scale(1.05);
}


.gallery-item-home {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    animation: fadeIn 0.5s ease forwards;
    animation-delay: calc(0.1s * var(--index));
    height:auto;
}



/* Responsivitas */
@media (max-width: 992px) {
  .row-sejajar {
    flex-wrap: wrap; /* Kolom menjadi vertikal jika ruang tidak cukup */
  }

  .team-section, .sidebar-section {
    min-height: auto; /* Lepaskan batasan tinggi pada layar kecil */
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 foto per baris */
  }
}



/* Responsivitas */
@media (max-width: 800px) {
  .row-sejajar-team-foto {
    flex-wrap: wrap; /* Vertikal pada layar <800px */
  }

  .team-section, .sidebar-section {
    width:auto;
    min-height: auto; /* Lepaskan batasan tinggi */
  }

}

@media (max-width: 576px) {
  .team-section, .sidebar-section {
    padding: 20px;
  }
  .team-card {
    max-width: 100%;
    padding: 15px;
  }
  .team-img {
    height: 200px;
  }
  .team-title {
    font-size: 1.5rem;
  }
  .team-position {
    font-size: 1.2rem;
  }
  .team-text {
    font-size: 0.9rem;
  }
  .team-nav-img {
    width: 50px;
    height: 50px;
  }
  .gallery-grid {
    grid-template-columns: 1fr; /* 1 foto per baris */
  }
  .gallery-img {
    height: 120px;
  }
  
}




/* styles untuk widget translator */

.translate-widget {
  position: fixed;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  z-index: 999;
}

.translate-btn {
  background: linear-gradient(135deg, #6e8efb, #a777e3);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}

.translate-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.language-panel {
  display: none;
  position: absolute;
  left: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px;
  animation: slideIn 0.3s ease;
}

.language-panel.active {
  display: block;
}

.language-panel h3 {
  margin: 0 0 10px;
  font-size: 16px;
  color: #333;
}

.language-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.language-panel li {
  padding: 10px;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.2s;
}

.language-panel li:hover {
  background: #e9ecef;
}

.language-panel li.active {
  background: #6e8efb;
  color: white;
}

/* Animasi slide-in */
@keyframes slideIn {
  from { opacity: 0; transform: translateY(-50%) translateX(-20px); }
  to { opacity: 1; transform: translateY(-50%) translateX(0); }
}

/* Responsif */
@media (max-width: 768px) {
  .translate-widget {
    top: 100px;
    left: 10px;
    z-index:900;
  }

  .translate-btn {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .language-panel {
    min-width: 150px;
    left: 60px;
    padding: 10px;
  }

  .language-panel h3 {
    font-size: 14px;
  }

  .language-panel li {
    padding: 8px;
    font-size: 14px;
  }
}






.translate-widget {
    position: fixed;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    z-index: 2000;
}

.translate-btn {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s, width 0.3s;
    width: 50px;
    height: 50px;
    justify-content: center;
}

.translate-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    width: 120px;
}

.translate-btn:hover span {
    display: inline;
}

.translate-btn span {
    display: none;
    font-size: 14px;
}

.language-panel {
    display: none;
    position: absolute;
    left: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-width: 180px;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
}

.language-panel.active {
    display: block;
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.language-panel h3 {
    margin: 0 0 10px;
    font-size: 14px;
    color: #333;
    font-weight: 600;
}

.language-panel ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.language-panel li {
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 14px;
    transition: background 0.2s, color 0.2s;
}

.language-panel li:hover {
    background: #e7f1ff;
    color: #007bff;
}

.language-panel li.active {
    background: #007bff;
    color: white;
}


    .translate-container {
      display: flex;
      align-items: center;
      gap: 8px;
      margin: 20px;
    }

    .translate-button {
      background-color: #f2f2f2;
      border: 1px solid #ccc;
      border-radius: 4px;
      padding: 6px 12px;
      cursor: pointer;
      font-size: 14px;
    }

    /* Secara visual tersembunyi tapi tetap dirender */
    #google_translate_element {
      display: hidden !important;
      position: absolute;
      left: -9999px !important;
      top: -9999px !important;
      width: 0px !important;
      height: 0px !important;
      overflow: hidden;
      z-index: -99999 !important;
    }
    
    #google_translate_element table{
      display: hidden;
      position: absolute;
      left: -9999px !important;
      top: -9999px !important;
      width: 0px !important;
      height: 0px !important;
      overflow: hidden;
      z-index: -99999 !important;
    }
    
        #google_translate_element tr{
      display: hidden;
      position: absolute;
      left: -9999px !important;
      top: -9999px !important;
      width: 0px !important;
      height: 0px !important;
      overflow: hidden;
      z-index: -99999 !important;
    }
    
        #google_translate_element td{
      display: hidden;
      position: absolute;
      left: -9999px !important;
      top: -9999px !important;
      width: 0px !important;
      height: 0px !important;
      overflow: hidden;
      z-index: -99999 !important;
    }
    
        #google_translate_element div{
      display: hidden;
      position: absolute;
      left: -9999px !important;
      top: -9999px !important;
      width: 0px !important;
      height: 0px !important;
      overflow: hidden;
      z-index: -99999 !important;
    }
    
        #google_translate_element p {
      display: hidden;
      position: absolute;
      left: -9999px !important;
      top: -9999px !important;
      width: 0px !important;
      height: 0px !important;
      overflow: hidden;
      z-index: -99999 !important;
    }

    /* Secara visual tersembunyi tapi tetap dirender */
    .google_translate_element {
      display: hidden;
      position: absolute;
      left: -9999px;
      top: -9999px;
      width: 0px;
      height: 0px;
      overflow: hidden;
      z-index: -99999;
    }
    
    /* Fallback peringatan Firefox */
    .translate-warning {
      display: none;
      color: red;
      margin-top: 10px;
    }
    
@media (max-width: 768px) {
    .translate-widget {
        left: 15px;
    }
    .translate-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    .translate-btn:hover {
        width: 100px;
    }
    .language-panel {
        left: 60px;
        min-width: 160px;
        padding: 12px;
    }
}





/* Translator 2 */

#google_translate_element {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}


    .ct-topbar {
  text-align: right;
  background: #eee;
}
.ct-topbar__list {
  margin-bottom: 0px;
}
.ct-language__dropdown{
	padding-top: 8px;
	max-height: 0;
	overflow: hidden;
	position: absolute;
	top: 110%;
	left: -3px;
	-webkit-transition: all 0.25s ease-in-out;
	transition: all 0.25s ease-in-out;
	width: 100px;
	text-align: center;
	padding-top: 0;
  z-index:200;
}
.ct-language__dropdown li{
	background: #222;
	padding: 5px;
}
.ct-language__dropdown li a{
	display: block;
}
.ct-language__dropdown li:first-child{
	padding-top: 10px;
	border-radius: 3px 3px 0 0;
}
.ct-language__dropdown li:last-child{
	padding-bottom: 10px;
	border-radius: 0 0 3px 3px;
}
.ct-language__dropdown li:hover{
	background: #444;
}
.ct-language__dropdown:before{
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	margin: auto;
	width: 8px;
	height: 0;
	border: 0 solid transparent;
	border-right-width: 8px;
	border-left-width: 8px;
	border-bottom: 8px solid #222;
}
.ct-language{
	position: relative;
  background: #00aced;
  color: #fff;
  padding: 10px 0;
}
.ct-language:hover .ct-language__dropdown{
	max-height: 200px;
	padding-top: 8px;
}
.list-unstyled {
    padding-left: 0;
    list-style: none;
}

.navbar-brand>img {
  padding-top: 11px;
  width: 130px;
  margin-left: 15px;
}
.navbar-brand {
    height: auto;
    margin: 0;
    padding: 0;
    margin-right: 20px;
}
.navbar {
  background-color: #000000;
}
.navbar-default .navbar-nav > .active > a {
  padding: 8px 19px 9px !important;
}
.navbar-nav > li.active {
  padding: 8px 0px 9px 0;
}
.navbar-right {
  padding-top: 0;
}
.navbar-default .navbar-nav > li > a::after {
  background-color: transparent;
  border-bottom: 3px solid #d2282e;
}
.navbar-default .navbar-nav>li {
  display: inline-block;
  text-align: center;
  float: none;
}
.navbar-default .navbar-nav>li>a {
    color: #fff;
}
.navbar-default .navbar-nav>li>a:hover {
    color: #fff;
    background-color: #0392CC;
}



/* Tab Styling */
.tab-nav {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.tab-btn {
    padding: 12px 24px;
    background: #e6e6e6;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tab-btn.active, .tab,` .tab-btn:hover {
    background: #1e88e5;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Modal Styling */
.modal {
    width:100%;
    display: none;
    position: fixed;
    z-index: 10010; /* Lebih tinggi dari header dan header-container */
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    transform: scale(1);
    padding: 20px;
}

.modal[aria-hidden="false"] {
    opacity: 1;
    transform: scale(1.0);
}

.modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px;
}


.close {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
    z-index: 10011; /* Tertinggi */
    pointer-events: auto;
}

.close:hover, .close:focus {
    background: rgba(255, 255, 255, 0.4);
}

.close svg {
    color: red;
    width: 34px;
    height: 34px;
}

/* Swiper Styling */
.swiper-container {
    width: 100vw;
    height: 100vh;
    max-width: 100%;
    max-height: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: #fff;
    position: relative;
    z-index: 10009; /* Di bawah tombol close */
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.swiper-slide-active {
    opacity: 1;
}

.no-banner {
    color: #fff;
    font-size: 20px;
    text-align: center;
    padding: 20px;
}

.swiper-slide-active {
    opacity: 1;
}

.no-banner {
    color: #000;
    font-size: 20px;
    text-align: center;
    padding: 20px;
}
/* Swiper Navigation */
.swiper-button-next, .swiper-button-prev {
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    transition: background 0.3s ease;
    z-index: 10010;
    padding: 40px;
    
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.8);
}

.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 20px;
}

.swiper-pagination {
    bottom: 20px;
    z-index: 10010;
}

.swiper-pagination-bullet {
    background: #fff;
    opacity: 0.7;
    width: 10px;
    height: 10px;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #1e88e5;
}

/* Responsif */
@media (max-width: 768px) {
    .swiper-container {
        width: 100vw;
        height: 80vh;
    }

    .close {
        width: 40px;
        height: 40px;
        top: 15px;
        right: 15px;
    }

    .close svg {
        width: 20px;
        height: 20px;
    }

    .tab-nav {
        flex-direction: column;
        gap: 8px;
    }

    .tab-btn {
        width: 100%;
        padding: 10px;
        font-size: 14px;
        
    }

    .swiper-button-next, .swiper-button-prev {
        width: 32px;
        height: 32px;
        padding: 10px;
        margin:20px;
    }



    .swiper-button-next::after, .swiper-button-prev::after {
        font-size: 16px;
    }
}