/* Reset dan Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2px;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

/* Main Navigation Styles */
.main-navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  padding: 0;
  height: 60px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

/* Navbar Transparent State (at top) */
.main-navbar.navbar-transparent {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  box-shadow: none;
  height: 70px;
}

/* Navbar Transparent - White Text */
.main-navbar.navbar-transparent .navbar-brand .website-name,
.main-navbar.navbar-transparent .navbar-nav .nav-link {
  color: white !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.main-navbar.navbar-transparent .navbar-nav .nav-link:hover {
  color: #007bff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.main-navbar.navbar-transparent .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.5);
}

.main-navbar.navbar-transparent .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.main-navbar.navbar-transparent .navbar-brand .brand-text {
  color: white;
}

.main-navbar.navbar-transparent .dropdown-menu {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.main-navbar.navbar-transparent .dropdown-item {
  color: #333 !important;
}

.main-navbar.navbar-transparent .dropdown-item:hover {
  background: rgba(0, 123, 255, 0.1);
  color: #007bff !important;
}

/* Mobile Menu Transparent State - Gray Text */
@media (max-width: 991.98px) {
  .main-navbar.navbar-transparent .navbar-nav .nav-link {
    color: #6c757d !important;
    text-shadow: none;
  }

  .main-navbar.navbar-transparent .navbar-nav .nav-link:hover {
    color: #495057 !important;
    text-shadow: none;
  }

  .main-navbar.navbar-transparent .navbar-nav .nav-link.active {
    color: #007bff !important;
    text-shadow: none;
  }

  .main-navbar.navbar-transparent .dropdown-menu {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-top: 5px;
  }

  .main-navbar.navbar-transparent .dropdown-item {
    color: #6c757d !important;
    padding: 12px 20px;
    border-radius: 6px;
    margin: 2px 5px;
  }

  .main-navbar.navbar-transparent .dropdown-item:hover {
    background: rgba(0, 123, 255, 0.1);
    color: #007bff !important;
  }

  .main-navbar.navbar-transparent .dropdown-submenu .dropdown-menu {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
  }

  .main-navbar.navbar-transparent .dropdown-submenu .dropdown-item {
    color: #6c757d !important;
    padding: 10px 25px;
  }

  .main-navbar.navbar-transparent .dropdown-submenu .dropdown-item:hover {
    background: rgba(0, 123, 255, 0.1);
    color: #007bff !important;
  }
}

/* Navbar Scrolled State */
.main-navbar.navbar-scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
  height: 60px;
}

/* Navbar Scrolled - Dark Theme */
.main-navbar.navbar-scrolled-dark {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(15px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  height: 60px;
}

/* Navbar Scrolled - Dark Theme Text */
.main-navbar.navbar-scrolled-dark .navbar-brand .website-name,
.main-navbar.navbar-scrolled-dark .navbar-nav .nav-link {
  color: white !important;
}

.main-navbar.navbar-scrolled-dark .navbar-nav .nav-link:hover {
  color: #007bff !important;
}

.main-navbar.navbar-scrolled-dark .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.3);
}

.main-navbar.navbar-scrolled-dark .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.main-navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 0px;
  position: relative;
}

/* Brand/Logo Styles */
.navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #2c3e50;
  font-weight: 600;
  gap: 15px;
  padding: 10px 0;
  transition: all 0.3s ease;
}

/* Utility Classes */
.d-flex {
  display: flex;
}

.align-items-center {
  align-items: center;
}

.me-3 {
  margin-right: 1rem;
}

.ms-auto {
  margin-left: auto;
}

.navbar-brand:hover {
  text-decoration: none;
  color: #007bff;
  transform: translateY(-1px);
}

.logo-img {
  height: 40px;
  width: auto;
  transition: transform 0.3s ease;
}

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

.brand-text .website-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #2c3e50;
  line-height: 1.2;
  margin: 0;
  letter-spacing: 0.5px;
}

/* Navigation Menu */
.navbar-collapse {
  display: flex;
  flex-basis: auto;
  flex-grow: 1;
  align-items: center;
}

.navbar-nav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
  flex-direction: row;
  margin-left: auto;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-link {
  color: #2c3e50;
  text-decoration: none;
  padding: 15px 20px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  border-radius: 8px;
  margin: 0 3px;
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 123, 255, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.nav-link:hover::before {
  left: 100%;
}

.nav-link:hover,
.nav-link:focus {
  color: #007bff;
  text-decoration: none;
  background: rgba(0, 123, 255, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.2);
}

.nav-link.dropdown-toggle {
  position: relative;
}

.dropdown-toggle::after {
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-left: 8px;
  transition: transform 0.3s ease;
  display: inline-block;
}

.dropdown:hover .dropdown-toggle::after,
.dropdown.show .dropdown-toggle::after {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none !important;
  min-width: 250px;
  padding: 12px 0;
  margin: 0;
  background-color: white;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.dropdown-menu.show {
  display: block !important;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown {
  position: relative;
}

.dropdown-item {
  display: block;
  width: 100%;
  padding: 15px 25px;
  clear: both;
  font-weight: 500;
  color: #2c3e50;
  text-decoration: none;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
  position: relative;
}

.dropdown-item:hover,
.dropdown-item:focus {
  color: #007bff;
  background-color: rgba(0, 123, 255, 0.08);
  text-decoration: none;
  border-left-color: #007bff;
  transform: translateX(5px);
}

.dropdown:hover .dropdown-menu {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Ensure dropdown menu is visible on hover */
.dropdown:hover .dropdown-menu {
  display: block !important;
}

/* Bootstrap compatibility for dropdowns */
.dropdown-menu.show {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

/* Dropdown animation for better UX */
.dropdown-menu {
  animation: dropdownFadeIn 0.3s ease;
}

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

/* Mobile Navigation Styles */
@media (max-width: 991.98px) {
  .main-navbar {
    height: 55px;
  }

  .navbar-nav {
    flex-direction: column;
    gap: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    background: white;
  }

  .nav-item {
    width: 100%;
    border-bottom: 1px solid #e9ecef;
    margin: 0;
    list-style: none;
    background: white;
  }

  .nav-item:last-child {
    border-bottom: none;
  }

  .nav-item.dropdown {
    border-bottom: none;
  }

  .nav-link {
    padding: 15px 20px;
    border-radius: 0;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    background: white;
    position: relative;
  }

  .nav-link:hover {
    background: rgba(0, 123, 255, 0.05);
    color: #007bff;
  }

  .nav-link.dropdown-toggle {
    position: relative;
    cursor: pointer;
  }

  .nav-link.dropdown-toggle::after {
    margin-left: auto;
    transition: transform 0.3s ease;
    font-size: 0.8rem;
    display: inline-block;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
  }

  .nav-link.dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
  }

  .navbar-collapse {
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e9ecef;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
  }

  .navbar-collapse.show {
    max-height: 80vh;
    overflow-y: auto;
    display: flex !important;
    padding: 20px 0;
    opacity: 1;
    visibility: visible;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    pointer-events: auto;
    transform: translateY(0);
  }

  .navbar-collapse.collapsing {
    max-height: 80vh;
    overflow-y: auto;
    display: flex !important;
    padding: 20px 0;
    opacity: 1;
    visibility: visible;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    pointer-events: auto;
    transform: translateY(0);
  }

  .dropdown-menu {
    position: static;
    display: none !important;
    box-shadow: none;
    border: none;
    background: #f8f9fa;
    margin: 0;
    border-radius: 0;
    min-width: auto;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 3px solid #007bff;
    margin-left: 20px;
    list-style: none;
    background: #f8f9fa;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
  }

  .dropdown-menu.show {
    max-height: 500px;
    overflow: visible;
    display: block !important;
    padding: 15px 0;
    background: #f8f9fa;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }

  .dropdown-item {
    padding: 15px 35px;
    border-bottom: 1px solid #e9ecef;
    color: #2c3e50;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    list-style: none;
    background: #f8f9fa;
    border-left: 3px solid transparent;
    position: relative;
  }

  .dropdown-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
  }

  .dropdown-item:hover {
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
    text-decoration: none;
    transform: translateX(8px);
    border-left-color: #007bff;
  }

  .dropdown-item.dropdown-toggle {
    cursor: pointer;
  }

  .dropdown-item.dropdown-toggle::after {
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: auto;
    transition: transform 0.3s ease;
    font-size: 0.8rem;
    display: inline-block;
  }

  .dropdown-item.dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
  }

  /* Nested dropdown styling */
  .dropdown-menu .dropdown-menu {
    position: static;
    display: none !important;
    box-shadow: none;
    border: none;
    background: #e9ecef;
    margin: 0;
    border-radius: 0;
    min-width: auto;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 3px solid #007bff;
    margin-left: 20px;
    list-style: none;
    background: #e9ecef;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
  }

  .dropdown-menu .dropdown-menu.show {
    max-height: 500px;
    overflow: visible;
    display: block !important;
    padding: 10px 0;
    background: #e9ecef;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }

  .dropdown-menu .dropdown-item {
    padding: 12px 30px;
    border-bottom: 1px solid #dee2e6;
    color: #2c3e50;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    list-style: none;
    background: #e9ecef;
    border-left: 3px solid transparent;
    position: relative;
  }

  .dropdown-menu .dropdown-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
  }

  .dropdown-menu .dropdown-item:hover {
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
    text-decoration: none;
    transform: translateX(8px);
    border-left-color: #007bff;
  }

  .navbar-toggler {
    display: block !important;
    border: none;
    background: none;
    padding: 8px;
    cursor: pointer;
    z-index: 1001;
    position: relative;
    min-width: 40px;
    min-height: 40px;
    background-color: transparent;
    transition: all 0.3s ease;
    outline: none;
    background: transparent;
    order: 2;
  }

  .navbar-toggler:hover {
    background-color: rgba(0, 123, 255, 0.1);
    border-radius: 6px;
    transform: scale(1.05);
  }

  .navbar-toggler:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.3);
    transform: scale(1.05);
  }

  .navbar-toggler-icon {
    display: block !important;
    width: 24px;
    height: 2px;
    background-color: #333;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1px;
    margin: 0 auto;
    pointer-events: none;
  }

  .navbar-toggler-icon::before,
  .navbar-toggler-icon::after {
    content: "";
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: #333;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1px;
    left: 0;
    pointer-events: none;
  }

  .navbar-toggler-icon::before {
    top: -8px;
  }

  .navbar-toggler-icon::after {
    bottom: -8px;
  }

  /* Animated hamburger icon */
  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-color: transparent;
  }

  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    top: 0;
    transform: rotate(45deg);
  }

  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    bottom: 0;
    transform: rotate(-45deg);
  }

  /* Ensure proper positioning for animation */
  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before,
  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    top: 0;
    bottom: 0;
    margin: auto;
    left: 0;
    right: 0;
  }

  /* Prevent body scroll when menu is open */
  body.menu-open {
    overflow: hidden;
  }

  /* Smooth scrollbar for mobile menu */
  .navbar-collapse::-webkit-scrollbar {
    width: 4px;
  }

  .navbar-collapse::-webkit-scrollbar-track {
    background: transparent;
  }

  .navbar-collapse::-webkit-scrollbar-thumb {
    background: rgba(0, 123, 255, 0.3);
    border-radius: 2px;
  }

  .navbar-collapse::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 123, 255, 0.5);
  }

  /* Improved mobile menu animations */
  .navbar-collapse.show .nav-item {
    animation: slideInFromTop 0.3s ease forwards;
    opacity: 0;
  }

  .navbar-collapse.show .nav-item:nth-child(1) {
    animation-delay: 0.1s;
  }
  .navbar-collapse.show .nav-item:nth-child(2) {
    animation-delay: 0.15s;
  }
  .navbar-collapse.show .nav-item:nth-child(3) {
    animation-delay: 0.2s;
  }
  .navbar-collapse.show .nav-item:nth-child(4) {
    animation-delay: 0.25s;
  }
  .navbar-collapse.show .nav-item:nth-child(5) {
    animation-delay: 0.3s;
  }
  .navbar-collapse.show .nav-item:nth-child(6) {
    animation-delay: 0.35s;
  }

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

  /* Better focus states for accessibility */
  .nav-link:focus,
  .dropdown-item:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
    background: rgba(0, 123, 255, 0.1);
  }

  /* Improved touch targets */
  .nav-link,
  .dropdown-item {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  /* Better visual feedback for active states */
  .nav-link.active {
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
    border-left: 3px solid #007bff;
  }
}

/* Desktop Navigation Styles */
@media (min-width: 992px) {
  .navbar-collapse {
    display: flex !important;
    position: static;
    max-height: none;
    overflow: visible;
    box-shadow: none;
    border-top: none;
    padding: 0;
    width: auto;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .navbar-toggler {
    display: none !important;
  }

  .dropdown-menu {
    min-width: 220px;
    margin-top: 5px;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none !important;
    padding: 12px 0;
    margin: 0;
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
  }

  .nav-link {
    padding: 18px 20px;
  }

  /* Enhanced desktop dropdown behavior */
  .dropdown:hover .dropdown-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
  }

  .dropdown-menu:hover {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
  }

  /* Nested dropdown behavior for desktop */
  .dropdown-menu .dropdown:hover .dropdown-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
  }

  .dropdown-item {
    display: block;
    width: 100%;
    padding: 15px 25px;
    clear: both;
    font-weight: 500;
    color: #2c3e50;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    position: relative;
  }

  .dropdown-item:hover,
  .dropdown-item:focus {
    color: #007bff;
    background-color: rgba(0, 123, 255, 0.08);
    text-decoration: none;
    border-left-color: #007bff;
    transform: translateX(5px);
  }

  /* Nested dropdown styling for desktop */
  .dropdown-menu .dropdown-menu {
    position: absolute;
    top: 0;
    left: 100%;
    z-index: 1001;
    display: none !important;
    min-width: 200px;
    padding: 8px 0;
    margin: 0;
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s ease;
  }

  .dropdown-menu .dropdown-menu.show {
    display: block !important;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }

  .dropdown-menu .dropdown-item {
    padding: 12px 20px;
    font-size: 0.9rem;
    border-bottom: 1px solid #f8f9fa;
  }

  .dropdown-menu .dropdown-item:last-child {
    border-bottom: none;
  }
}

/* Infografis Section Styles */
.infografis-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.infografis-section .section-header {
  margin-bottom: 60px;
}

.infografis-section .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 15px;
}

.infografis-section .section-subtitle {
  font-size: 1.1rem;
  color: #6c757d;
  max-width: 600px;
  margin: 0 auto;
}

.infografis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.infografis-item {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.infografis-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.thumbnail-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 100%; /* 1:1 Aspect Ratio */
  overflow: hidden;
}

.thumbnail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 0.3s ease;
}

.infografis-item:hover .thumbnail-img {
  transform: scale(1.1);
}

.video-thumbnail {
  position: relative;
  width: 100%;
  height: 100%;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(255, 0, 0, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  transition: all 0.3s ease;
  z-index: 2;
}

.play-button:hover {
  background: rgba(255, 0, 0, 1);
  transform: translate(-50%, -50%) scale(1.1);
}

.thumbnail-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 30px 20px 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.infografis-item:hover .thumbnail-overlay {
  transform: translateY(0);
}

.thumbnail-info h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 10px 0;
  color: white;
}

.thumbnail-info p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 15px 0;
  line-height: 1.4;
}

.click-hint {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

.click-hint i {
  font-size: 1rem;
  color: #ff0000;
}

.slide-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.media-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slide-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 40px 30px 30px;
  transform: translateY(100%);
  transition: transform 0.5s ease;
}

.infografis-slide:hover .slide-overlay {
  transform: translateY(0);
}

.infografis-slide:hover .slide-media {
  transform: scale(1.05);
}

.slide-info h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: white;
}

.slide-info p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  line-height: 1.5;
}

/* Infografis Modal Styles */
.infografis-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
}

.modal-content {
  position: relative;
  background-color: white;
  margin: 2% auto;
  padding: 0;
  width: 90%;
  max-width: 1000px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  color: #aaa;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1000;
  transition: color 0.3s ease;
}

.close-modal:hover {
  color: #000;
}

.modal-body {
  position: relative;
}

.modal-media-container {
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  position: relative;
  background: #000;
}

.modal-media-container img,
.modal-media-container video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: absolute;
  top: 0;
  left: 0;
}

.modal-info {
  padding: 30px;
  background: white;
}

.modal-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2c3e50;
  margin: 0 0 15px 0;
}

.modal-description {
  font-size: 1.1rem;
  color: #6c757d;
  line-height: 1.6;
  margin: 0;
}

.modal-navigation {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  pointer-events: none;
}

.modal-nav {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #2c3e50;
  transition: all 0.3s ease;
  pointer-events: auto;
}

.modal-nav:hover {
  background: white;
  transform: scale(1.1);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.modal-nav.prev {
  left: 20px;
}

.modal-nav.next {
  right: 20px;
}

.modal-nav i {
  transition: transform 0.3s ease;
}

.modal-nav:hover i {
  transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .infografis-section {
    padding: 60px 0;
  }

  .infografis-section .section-title {
    font-size: 2rem;
  }

  .infografis-section .section-subtitle {
    font-size: 1rem;
  }

  .infografis-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 0 15px;
  }

  .infografis-item {
    border-radius: 15px;
  }

  .thumbnail-info h3 {
    font-size: 1.1rem;
  }

  .thumbnail-info p {
    font-size: 0.8rem;
  }

  .click-hint {
    font-size: 0.8rem;
  }

  .play-button {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .modal-content {
    width: 95%;
    margin: 5% auto;
  }

  .modal-info {
    padding: 20px;
  }

  .modal-title {
    font-size: 1.5rem;
  }

  .modal-description {
    font-size: 1rem;
  }

  .modal-nav {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .modal-nav.prev {
    left: 15px;
  }

  .modal-nav.next {
    right: 15px;
  }
}

/* Breadcrumb Styles */
.breadcrumb-section {
  background: #f8f9fa;
  padding: 20px 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb a {
  color: #007bff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: #003366;
}

.breadcrumb span {
  color: #666;
}

.breadcrumb i {
  color: #999;
  font-size: 0.8rem;
}

/* Footer Styles */
.footer {
  background: linear-gradient(to right, #003366, #007bff);
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 50px;
}

.footer-logo-text h3 {
  font-size: 1.4rem;
  margin-bottom: 5px;
}

.footer-logo-text p {
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-description {
  line-height: 1.6;
  opacity: 0.9;
}

.contact-info {
  list-style: none;
  padding: 0;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.contact-item i {
  width: 20px;
  color: #ffd700;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
}

.footer-info {
  text-align: left;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  align-items: center;
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #007bff 0%, #003366 100%);
  /* Height will be set dynamically by JavaScript based on media aspect ratio */
  min-height: 60vh;
  max-height: 100vh;
}

/* Hero Carousel Container */
.hero-carousel-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* Hero Image Styles */
.hero-image {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image img {
  width: 100%;
  height: auto;
  max-height: 100vh;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Hero Video Only Styles */
.hero-video-only {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video-only iframe {
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover;
}

/* Hero Carousel Controls */
.hero-carousel-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 10;
  pointer-events: none; /* Allow clicks to pass through to buttons */
}

.hero-carousel-btn {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto; /* Re-enable pointer events for buttons */
  opacity: 0.8;
}

.hero-carousel-btn:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-carousel-btn:active {
  transform: scale(0.95);
}

/* Hero Carousel Dots Container */
.hero-carousel-dots-container {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.hero-carousel-dots {
  display: flex;
  gap: 10px;
}

.hero-carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-carousel-dot.active {
  background: white;
  transform: scale(1.2);
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
}

/* Dynamic height classes for different aspect ratios */
.hero.aspect-16-9 {
  aspect-ratio: 16/9;
  height: auto;
}

.hero.aspect-4-3 {
  aspect-ratio: 4/3;
  height: auto;
}

.hero.aspect-21-9 {
  aspect-ratio: 21/9;
  height: auto;
}

.hero.aspect-1-1 {
  aspect-ratio: 1/1;
  height: auto;
}

/* Desktop and large screen optimizations */
@media (min-width: 1200px) {
  .hero {
    min-height: 70vh;
    max-height: 100vh;
  }

  .hero.aspect-16-9 {
    height: 56.25vw;
    max-height: 100vh;
  }

  .hero.aspect-4-3 {
    height: 75vw;
    max-height: 100vh;
  }

  .hero.aspect-21-9 {
    height: 42.86vw;
    max-height: 100vh;
  }

  .hero.aspect-1-1 {
    height: 100vw;
    max-height: 100vh;
  }

  /* Hero Carousel Desktop Styles */
  .hero-carousel-controls {
    padding: 0 30px;
  }

  .hero-carousel-btn {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .hero-carousel-dots-container {
    bottom: 30px;
  }
}

/* Fallback for browsers that don't support aspect-ratio */
@supports not (aspect-ratio: 16/9) {
  .hero.aspect-16-9 {
    height: 56.25vw; /* 16:9 aspect ratio */
    max-height: 100vh;
  }

  .hero.aspect-4-3 {
    height: 75vw; /* 4:3 aspect ratio */
    max-height: 100vh;
  }

  .hero.aspect-21-9 {
    height: 42.86vw; /* 21:9 aspect ratio */
    max-height: 100vh;
  }

  .hero.aspect-1-1 {
    height: 100vw; /* 1:1 aspect ratio */
    max-height: 100vh;
  }
}

.hero-video:not([src]),
.hero-video[src=""],
.hero-video[src*="placeholder"] {
  display: none;
}

.hero:has(.hero-video[style*="display: none"]) {
  background: linear-gradient(135deg, #007bff 0%, #003366 100%);
}

.hero-video-backup {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
  display: none;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 51, 102, 0.3);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 0 20px;
  margin: 0 auto;
  word-wrap: break-word;
  hyphens: auto;
}

.hero-logo {
  margin-bottom: 30px;
  max-height: 120px;
}

.hero-title-small {
  font-size: 1.1rem;
  margin-bottom: 10px;
  opacity: 0.9;
  font-weight: 400;
}

.hero-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.1rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.hero-buttons .btn {
  min-height: 44px; /* Minimum touch target size */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  outline: none;
}

.hero-buttons .btn:focus {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: white;
  font-size: 1.5rem;
  animation: bounce 2s infinite;
  opacity: 0.8;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.scroll-indicator:hover {
  opacity: 1;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: #003366;
  margin-bottom: 5px;
  font-weight: 700;
}

.section-header p {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* ========================================
   SAMBUTAN PIMPINAN SECTION
   ======================================== */

.sambutan {
  padding: 30px 0;
  background: white;
  position: relative;
}

.sambutan::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #007bff, transparent);
}

.sambutan-content {
  display: flex;
  flex-direction: column;
  gap: 50px;
  align-items: center;
}

/* Two Column Grid */
.sambutan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

/* Leader Columns */
.sambutan-column {
  background: white;
  border-radius: 20px;
  padding: 20px;
  /*text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 123, 255, 0.1);*/
  position: relative;
  overflow: hidden;
}

.sambutan-column::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #007bff, #003366);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.sambutan-column:hover::before {
  transform: scaleX(1);
}

.sambutan-column:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  border-color: rgba(0, 123, 255, 0.2);
}

.sambutan-column img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  margin-bottom: 0px;
  box-shadow: none;
  transition: transform 0.3s ease;
  border: none;
}

.sambutan-column:hover img {
  transform: scale(1.02);
}

/* Text Column */
.sambutan-text-column {
  background: white;
  border-radius: 20px;
  padding: 20px;
  /*box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 123, 255, 0.1);*/
  position: relative;
  overflow: hidden;
}

.sambutan-text-column::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #007bff, #003366);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.sambutan-text-column:hover::before {
  transform: scaleX(1);
}

.sambutan-text-column:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  border-color: rgba(0, 123, 255, 0.2);
}

.leader-info h3 {
  font-size: 1.4rem;
  color: #003366;
  margin-bottom: 8px;
  font-weight: 700;
  line-height: 1.3;
}

.leader-info h4 {
  font-size: 1rem;
  color: #007bff;
  margin: 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Text Column Styling */
.sambutan-text-column .border-accent {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #007bff, #003366);
  margin: 0 auto 30px;
  border-radius: 2px;
}

.sambutan-text-column p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #2c3e50;
  margin: 0;
  text-align: justify;
  text-indent: 2rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .sambutan-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .sambutan {
    padding: 40px 0;
  }

  .sambutan-content {
    gap: 35px;
  }

  .sambutan-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 100%;
  }

  .sambutan-column {
    padding: 25px;
  }

  .sambutan-text-column {
    padding: 25px;
    margin-top: 0;
  }

  .sambutan-column img {
    max-width: 100%;
    height: auto;
  }

  .leader-info h3 {
    font-size: 1.2rem;
  }

  .leader-info h4 {
    font-size: 0.9rem;
  }

  .sambutan-text-column p {
    font-size: 1rem;
    text-indent: 1.5rem;
  }
}

@media (max-width: 480px) {
  .sambutan {
    padding: 30px 0;
  }

  .sambutan-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    max-width: 100%;
  }

  .sambutan-column {
    padding: 15px;
  }

  .sambutan-text-column {
    padding: 20px;
  }

  .sambutan-column img {
    max-width: 100%;
    height: auto;
  }

  .leader-info h3 {
    font-size: 1.1rem;
  }

  .leader-info h4 {
    font-size: 0.85rem;
  }
}

/* ========================================
   INFORMASI PUBLIK DIGITAL SECTION
   ======================================== */

/* Informasi Publik Digital */
.informasi-publik-digital {
  padding: 50px 0;
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #007bff 100%);
  position: relative;
}

.informasi-publik-digital::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 20% 80%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    );
}

.informasi-publik-digital .container {
  position: relative;
}

.informasi-publik-digital .section-header h2 {
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.informasi-publik-digital .section-header p {
  color: rgba(255, 255, 255, 0.9);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.modal-content {
  background-color: white;
  margin: 5% auto;
  padding: 40px;
  border-radius: 15px;
  width: 90%;
  max-width: 800px;
  max-height: 90%;
  overflow-y: auto;
  position: relative;
  animation: modalSlideIn 0.3s ease;
}

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

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
}

.close:hover {
  color: #007bff;
}

#modal-title {
  color: #003366;
  margin-bottom: 30px;
  font-size: 1.8rem;
}

/* Berita Terbaru */
/* Akses Digital Section */
.akses-digital {
  padding: 30px 0;
  background: #ffffff;
}

.akses-digital-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.akses-digital-item {
  background: white;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.akses-digital-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.akses-digital-item.active {
  border-color: #ffffff;
}

.akses-digital-item.inactive {
  border-color: #007bff;
  opacity: 0.7;
}

.akses-digital-item.inactive::before {
  content: "NONAKTIF";
  position: absolute;
  top: 15px;
  right: 15px;
  background: #dc3545;
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  z-index: 1;
}

.akses-digital-image {
  text-align: center;
  margin-bottom: 20px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.akses-img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
  border-radius: 10px;
}

.akses-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 30px;
}

.akses-digital-content {
  text-align: center;
}

.akses-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #2c3e50;

  line-height: 1.4;
}

.akses-title-link {
  color: #2c3e50;
  text-decoration: none;
  transition: color 0.3s ease;
}

.akses-title-link:hover {
  color: #007bff;
  text-decoration: none;
}

.akses-description {
  color: #6c757d;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 15px;
  min-height: 40px;
}

.akses-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: #6c757d;
}

.akses-status {
  background: #e9ecef;
  padding: 4px 8px;
  border-radius: 15px;
  font-weight: 500;
}

.akses-status:contains("Aktif") {
  background: #d4edda;
  color: #155724;
}

.akses-order {
  background: #e9ecef;
  padding: 4px 8px;
  border-radius: 15px;
  font-weight: 500;
}

.akses-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 25px;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.akses-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
  color: white;
  text-decoration: none;
}

.no-data {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: #6c757d;
}

.no-data p {
  font-size: 1.1rem;
}

/* Responsive Design for Akses Digital */
@media (max-width: 768px) {
  .akses-digital-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .akses-digital-item {
    padding: 20px;
  }

  .akses-digital-image {
    height: 60px;
  }

  .akses-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }

  .akses-title {
    font-size: 1.1rem;
  }

  .akses-meta {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }

  .akses-status,
  .akses-order {
    text-align: center;
  }
}

.berita-terbaru {
  padding: 30px 0;
  background: #f8f9fa;
}

/* Berita Header */
.berita-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 30px;
  align-items: center;
  margin-bottom: 50px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e9ecef;
}

.berita-title h2 {
  font-size: 2.5rem;
  color: #003366;
  margin: 0;
  font-weight: 700;
}

.berita-nav {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.nav-tab {
  padding: 12px 25px;
  border: 2px solid #007bff;
  background: transparent;
  color: #007bff;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nav-tab:hover {
  background: rgba(0, 123, 255, 0.1);
}

.nav-tab.active {
  background: #007bff;
  color: white;
}

.btn-all-news {
  background: linear-gradient(to right, #007bff, #003366);
  color: white;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.btn-all-news:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 123, 255, 0.3);
  text-decoration: none;
  color: white;
}

/* Berita Content Grid */
.berita-content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 10px;
  align-items: start;
}

.berita-main {
  display: block;
}

/* Featured News */
.featured-news {
  margin-bottom: 40px;
}

.featured-image {
  position: relative;
  margin-bottom: 30px;
  border-radius: 15px;
  overflow: hidden;
}

.featured-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.featured-news:hover .featured-image img {
  transform: scale(1.05);
}

.news-overlay {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.news-date,
.news-source {
  background: rgba(0, 51, 102, 0.9);
  color: white;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.85rem;
}

.featured-content h3 {
  font-size: 1.8rem;
  color: #003366;
  margin-bottom: 15px;
  line-height: 1.3;
  text-align: justify;
}

.featured-content p {
  color: #666;
  line-height: 1.6;
  font-size: 1rem;
  text-align: justify;
}

/* Small News Grid */
.small-news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.small-news-item {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.small-news-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.small-news-image {
  position: relative;
}

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

.small-news-content {
  padding: 10px;
}

.small-news-content h4 {
  font-size: 1.1rem;
  color: #003366;
  line-height: 1.4;
  margin: 0 0 10px 0;
  text-align: justify;
}

.small-news-content h4 a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.small-news-content h4 a:hover {
  color: #007bff;
}

.small-news-content p {
  text-align: justify;
  line-height: 1.5;
  color: #666;
  font-size: 0.9rem;
}

/* Sidebar */
.berita-sidebar {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  height: fit-content;
  position: sticky;
  top: 100px;
}

.sidebar-widget {
  margin-bottom: 30px;
}

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

.berita-sidebar h3 {
  color: #003366;
  margin-bottom: 15px;
  font-size: 1.5rem;
  position: relative;
  padding-bottom: 10px;
  border-bottom: 2px solid #007bff;
}

.latest-news-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.latest-news-item {
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
  transition: all 0.3s ease;
}

.latest-news-item:last-child {
  border-bottom: none;
}

.latest-news-item h4 {
  font-size: 1rem;
  color: #003366;
  line-height: 1.4;
  margin-bottom: 10px;
  cursor: pointer;
  transition: color 0.3s ease;
  text-align: justify;
}

.latest-news-item h4 a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.latest-news-item h4:hover {
  color: #007bff;
}

.latest-news-item h4 a:hover {
  color: #007bff;
}

.news-meta {
  display: flex;
  gap: 15px;
  font-size: 0.85rem;
  color: #999;
  flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
  .berita-terbaru {
    padding-left: 5px;
    padding-right: 5px;
  }

  .berita-header {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }

  .berita-nav {
    order: 2;
    flex-wrap: wrap;
  }

  .berita-content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .small-news-grid {
    grid-template-columns: 1fr;
  }

  .featured-image img {
    height: 200px;
  }

  .featured-content h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .berita-title h2 {
    font-size: 2rem;
  }

  .nav-tab {
    padding: 10px 15px;
    font-size: 0.9rem;
  }

  .featured-image img {
    height: 180px;
  }

  .featured-content h3 {
    font-size: 1.3rem;
  }
}

/* Aplikasi Pendukung */
.aplikasi-pendukung {
  padding: 100px 0;
  background: #f8f9fa;
}

/* App Carousel Styles */
.app-carousel-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.app-carousel-wrapper {
  overflow: hidden;
  border-radius: 15px;
  position: relative;
}

.app-carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: 20px;
  flex-wrap: nowrap;
  width: 100%;
  transform: translateX(0);
}

.app-carousel .app-item {
  flex: 0 0 calc(33.333% - 14px); /* 3 items per view with gap */
  min-width: 0;
  transition: transform 0.3s ease;
}

/* Large desktop - 3 items per view */
@media (min-width: 1200px) {
  .app-carousel .app-item {
    flex: 0 0 calc(33.333% - 14px); /* 3 items per view */
  }
}

/* Medium desktop - 3 items per view */
@media (min-width: 992px) and (max-width: 1199px) {
  .app-carousel .app-item {
    flex: 0 0 calc(33.333% - 14px); /* 3 items per view */
  }
}

/* Small desktop - 2 items per view */
@media (min-width: 768px) and (max-width: 991px) {
  .app-carousel .app-item {
    flex: 0 0 calc(50% - 10px); /* 2 items per view */
  }
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.carousel-btn {
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #007bff, #003366);
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.carousel-btn:hover {
  background: linear-gradient(135deg, #0056b3, #002244);
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
}

.carousel-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.carousel-btn:disabled:hover {
  background: linear-gradient(135deg, #007bff, #003366);
  transform: none;
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.carousel-dots {
  display: flex;
  gap: 10px;
  align-items: center;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background: white;
  transform: scale(1.2);
}

.carousel-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

/* Legacy app-grid styles for backward compatibility */
.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.app-item {
  background: white;
  padding: 10px;
  border-radius: 12px;
  text-decoration: none;
  color: #2c3e50;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 5px;
  position: relative;
  overflow: hidden;
  height: 220px;
  justify-content: space-between;
}

.app-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(135deg, #007bff, #003366);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.app-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 123, 255, 0.2);
  border-color: #007bff;
  text-decoration: none;
  color: #2c3e50;
}

.app-item:hover::before {
  transform: scaleY(1);
}

.app-item:hover .app-icon {
  background: linear-gradient(135deg, #007bff, #003366);
  color: white;
  transform: scale(1.1);
}

.app-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #007bff;
  flex-shrink: 0;
  transition: all 0.3s ease;
  border: 2px solid #e9ecef;
}

.app-content {
  flex: 1;
}

.app-content h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 4px 0;
  color: #2c3e50;
  line-height: 1.3;
}

.app-content p {
  font-size: 0.8rem;
  color: #666;
  margin: 0 0 6px 0;
  line-height: 1.4;
}

.app-url {
  font-size: 0.75rem;
  color: #007bff;
  font-weight: 500;
  opacity: 0.8;
}

.app-badge {
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, #007bff, #003366);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.8rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.app-badge.coming-soon {
  background: linear-gradient(135deg, #ffc107, #fd7e14);
}

.app-item:hover .app-badge {
  transform: scale(1.1);
}

.app-item:hover .app-badge.coming-soon {
  background: linear-gradient(135deg, #fd7e14, #dc3545);
}

.app-item img {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.app-item img:not([src]),
.app-item img[src=""],
.app-item img[src*="placeholder"] {
  background: linear-gradient(135deg, #007bff, #003366);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.8rem;
  text-align: center;
}

.app-item img:not([src])::after,
.app-item img[src=""]::after,
.app-item img[src*="placeholder"]::after {
  content: "📱";
  font-size: 1.5rem;
}

.app-item:hover img {
  transform: scale(1.1);
}

/* App Image Styling */
.app-item .app-image {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  background: #f8f9fa;
}

.app-item .app-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
  transition: all 0.3s ease;
  background: #f8f9fa;
  padding: 8px;
}

.app-item:hover .app-image {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
}

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

/* App Item Content Styling */
.app-item .app-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c3e50;
  margin: 15px 0 8px 0;
  line-height: 1.3;
  text-align: center;
}

.app-item .app-description {
  font-size: 0.9rem;
  color: #666;
  margin: 0 0 10px 0;
  line-height: 1.4;
  text-align: center;
  height: 2.8em; /* Fixed height for consistency */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.app-item .app-url {
  font-size: 0.8rem;
  color: #007bff;
  text-align: center;
  display: block;
  margin-bottom: 10px;
  word-break: break-all;
}

.app-item span {
  color: #666;
  font-size: 0.9rem;
  display: block;
  margin-top: 5px;
}

.website-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-height: 400px;
  overflow-y: auto;
  padding-right: 10px;
}

.website-link {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 20px;
  background: #f8f9fa;
  border-radius: 10px;
  text-decoration: none;
  color: #2c3e50;
  transition: all 0.3s ease;
  border-left: 4px solid #007bff;
}

.website-link:hover {
  background: rgba(0, 123, 255, 0.1);
  transform: translateX(5px);
  text-decoration: none;
  color: #007bff;
}

.website-link i {
  color: #007bff;
  font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content {
    max-width: 90%;
    padding: 0 15px;
    margin: 0 auto;
  }

  .hero-logo {
    max-height: 80px;
    margin-bottom: 20px;
  }

  .hero-title-small {
    font-size: 0.9rem;
    margin-bottom: 8px;
  }

  .hero-title {
    font-size: 1.6rem;
    margin-bottom: 15px;
    line-height: 1.3;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.4;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .scroll-indicator {
    bottom: 20px;
    font-size: 1.3rem;
  }
}

@media (max-width: 991.98px) {
  .layanan-grid {
    grid-template-columns: 1fr;
  }

  /* Carousel responsive styles */
  .app-carousel .app-item {
    flex: 0 0 calc(33.333% - 14px); /* 3 items per view on tablet */
  }

  .carousel-btn {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }

  /* Tablet responsive for hero images and videos */
  .hero-image img {
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: cover;
  }

  .hero-video-only iframe {
    width: 100%;
    height: 100%;
  }

  /* Tablet hero height adjustments */
  .hero {
    min-height: 60vh;
    max-height: 90vh;
  }

  .hero.aspect-16-9 {
    height: 56.25vw;
    max-height: 90vh;
  }

  .hero.aspect-4-3 {
    height: 75vw;
    max-height: 90vh;
  }

  .hero.aspect-21-9 {
    height: 42.86vw;
    max-height: 90vh;
  }

  .hero.aspect-1-1 {
    height: 100vw;
    max-height: 90vh;
  }

  /* Hero content for tablet */
  .hero-content {
    max-width: 85%;
    padding: 0 20px;
    margin: 0 auto;
  }

  .hero-logo {
    max-height: 100px;
    margin-bottom: 25px;
  }

  .hero-title-small {
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .hero-title {
    font-size: 1.8rem;
    margin-bottom: 18px;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .hero-buttons {
    gap: 15px;
  }

  .hero-buttons .btn {
    padding: 12px 24px;
    font-size: 0.95rem;
  }

  .carousel-dot {
    width: 10px;
    height: 10px;
  }

  /* Hero Carousel Tablet Styles */
  .hero-carousel-controls {
    padding: 0 25px;
  }

  .hero-carousel-btn {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }

  .hero-carousel-dots-container {
    bottom: 25px;
  }

  /* Legacy app-grid styles for backward compatibility */
  .app-grid {
    grid-template-columns: 1fr;
  }

  .app-item {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    padding: 15px;
    height: 200px;
    justify-content: space-between;
  }

  .app-icon {
    width: 60px;
    height: 60px;
    font-size: 1.2rem;
  }

  .app-item .app-image {
    width: 60px;
    height: 60px;
  }

  .app-content h4 {
    font-size: 0.9rem;
  }

  .app-content p {
    font-size: 0.75rem;
  }

  .app-badge {
    width: 25px;
    height: 25px;
    font-size: 0.7rem;
  }

  /* Hero Carousel Mobile Styles */
  .hero-carousel-controls {
    padding: 0 15px;
  }

  .hero-carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .hero-carousel-dots-container {
    bottom: 20px;
  }

  /* Hide carousel buttons on very small screens if needed */
  @media (max-width: 480px) {
    .hero-carousel-controls {
      padding: 0 10px;
    }

    .hero-carousel-btn {
      width: 35px;
      height: 35px;
      font-size: 0.9rem;
    }

    /* Hero content for very small screens */
    .hero-content {
      max-width: 95%;
      padding: 0 10px;
    }

    .hero-logo {
      max-height: 60px;
      margin-bottom: 15px;
    }

    .hero-title-small {
      font-size: 0.8rem;
      margin-bottom: 6px;
    }

    .hero-title {
      font-size: 1.4rem;
      margin-bottom: 12px;
      line-height: 1.2;
    }

    .hero-subtitle {
      font-size: 0.85rem;
      margin-bottom: 20px;
      line-height: 1.3;
    }

    .hero-buttons {
      gap: 10px;
    }

    .hero-buttons .btn {
      max-width: 250px;
      padding: 10px 16px;
      font-size: 0.85rem;
    }

    .scroll-indicator {
      bottom: 18px;
      font-size: 1.25rem;
    }
  }

  /* Extra small screens (landscape mobile) */
  @media (max-width: 360px) {
    .hero-content {
      max-width: 98%;
      padding: 0 8px;
    }

    .hero-logo {
      max-height: 50px;
      margin-bottom: 12px;
    }

    .hero-title-small {
      font-size: 0.75rem;
      margin-bottom: 5px;
    }

    .hero-title {
      font-size: 1.2rem;
      margin-bottom: 10px;
      line-height: 1.1;
    }

    .hero-subtitle {
      font-size: 0.8rem;
      margin-bottom: 18px;
      line-height: 1.2;
    }

    .hero-buttons {
      gap: 8px;
    }

    .hero-buttons .btn {
      max-width: 220px;
      padding: 8px 14px;
      font-size: 0.8rem;
    }

    .scroll-indicator {
      bottom: 15px;
      font-size: 1.2rem;
    }
  }

  .hero-carousel-dot {
    width: 10px;
    height: 10px;
  }

  /* Mobile responsive for images and videos */
  .hero-image img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: cover;
  }

  .hero-video-only iframe {
    width: 100%;
    height: 100%;
  }

  /* Mobile hero height adjustments */
  .hero {
    min-height: 50vh;
    max-height: 80vh;
  }

  .hero.aspect-16-9 {
    height: 56.25vw;
    max-height: 80vh;
  }

  .hero.aspect-4-3 {
    height: 75vw;
    max-height: 80vh;
  }

  .hero.aspect-21-9 {
    height: 42.86vw;
    max-height: 80vh;
  }

  .hero.aspect-1-1 {
    height: 100vw;
    max-height: 80vh;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

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

  .hero-title {
    font-size: 1.6rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .modal-content {
    margin: 10% auto;
    padding: 20px;
    width: 95%;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  /* Mobile carousel styles */
  .app-carousel .app-item {
    flex: 0 0 calc(50% - 10px); /* 2 items per view on mobile */
  }

  .carousel-controls {
    gap: 15px;
    margin-top: 25px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .carousel-dot {
    width: 8px;
    height: 8px;
  }
}

/* Smooth scrolling for older browsers */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Sambutan Page Styles */
.perangkat-hero {
  background:
    linear-gradient(
      135deg,
      rgba(0, 123, 255, 0.8) 0%,
      rgba(0, 51, 102, 0.8) 100%
    ),
    url("uploads/bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  position: relative;
}

.perangkat-hero .hero-content {
  position: relative;
  z-index: 2;
}

.perangkat-hero .hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.perangkat-hero .hero-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
}

.sambutan-detail-section {
  padding: 60px 0;
  background: #f8f9fa;
}

.sambutan-detail-container {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0 20px;
}

.sambutan-main-content {
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  padding: 40px;
}

.sambutan-header {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 2px solid #e9ecef;
}

.sambutan-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #007bff, #003366);
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 600;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.sambutan-title {
  font-size: 2.2rem;
  color: #003366;
  margin-bottom: 15px;
  font-weight: 700;
}

.sambutan-subtitle p {
  font-size: 1.1rem;
  color: #666;
  margin: 0;
}

.sambutan-profile {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 40px;
}

.profile-image {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.profile-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.profile-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 51, 102, 0.9));
  color: white;
  padding: 30px 20px 20px;
}

.profile-overlay h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.profile-overlay p {
  font-size: 1rem;
  margin-bottom: 5px;
  opacity: 0.9;
}

.profile-overlay span {
  font-size: 0.9rem;
  opacity: 0.8;
}

.profile-card {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 25px;
  border-left: 4px solid #007bff;
}

.profile-card h4 {
  color: #003366;
  margin-bottom: 20px;
  font-size: 1.3rem;
  font-weight: 600;
}

.profile-info-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.info-item i {
  color: #007bff;
  font-size: 1.1rem;
  width: 20px;
}

.sambutan-content-wrapper {
  margin-top: 40px;
}

.content-divider {
  display: flex;
  align-items: center;
  margin: 40px 0;
  gap: 20px;
}

.divider-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, transparent, #007bff, transparent);
}

.divider-icon {
  background: #007bff;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.lead-highlight {
  background: linear-gradient(135deg, #fff3cd, #d4edda);
  border-radius: 12px;
  padding: 25px;
  margin: 30px 0;
  border-left: 5px solid #ffc107;

  align-items: flex-start;
  gap: 20px;
}

.highlight-icon {
  font-size: 1.5rem;
  color: #ffc107;
  margin-top: 5px;
}

.lead-highlight p {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: #2c3e50;
  line-height: 1.6;
}

.content-section {
  margin: 30px 0;
}

.ajakan-section .ajakan-content {
  background: #e8f4f8;
  padding: 25px;
  border-radius: 12px;
  border-left: 5px solid #17a2b8;
}

.ajakan-content p {
  margin: 0;
  font-size: 1.1rem;
  color: #2c3e50;
  font-weight: 500;
}

.sambutan-closing {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 2px solid #e9ecef;
}

.signature-section {
  text-align: center;
  margin-top: 40px;
}

.signature {
  display: inline-block;
  text-align: center;
  position: relative;
  padding: 30px 50px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 15px;
  border: 2px solid #007bff;
}

.signature-line {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 2px;
  background: linear-gradient(to right, #007bff, #003366);
}

.signature-content {
  margin-top: 10px;
}

.signature-name {
  font-size: 1.2rem;
  color: #003366;
  margin: 0 0 5px 0;
  font-weight: 700;
}

.signature-title {
  font-size: 1rem;
  color: #666;
  margin: 0;
  font-weight: 600;
}

.signature-seal {
  position: absolute;
  top: -15px;
  right: -15px;
  background: #007bff;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.sambutan-share {
  margin-top: 40px;
  padding: 30px;
  background: #f8f9fa;
  border-radius: 12px;
  text-align: center;
}

.sambutan-share h4 {
  color: #003366;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.share-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.share-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 25px;
  text-decoration: none;
  color: white;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.share-btn.facebook {
  background: #1877f2;
}

.share-btn.twitter {
  background: #1da1f2;
}

.share-btn.whatsapp {
  background: #25d366;
}

.share-btn.telegram {
  background: #0088cc;
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
  .sambutan-profile {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .profile-image {
    max-width: 300px;
    margin: 0 auto;
  }

  .sambutan-detail-container {
    padding: 0 25px;
  }

  .sambutan-main-content {
    padding: 25px;
  }

  .sambutan-title {
    font-size: 1.8rem;
  }

  .greeting-card {
    flex-direction: column;
    text-align: center;
  }

  .lead-highlight {
    flex-direction: column;
    text-align: center;
  }

  .share-buttons {
    flex-direction: column;
    align-items: center;
  }

  .share-btn {
    width: 200px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .sambutan-detail-section {
    padding: 30px 0;
  }

  .sambutan-detail-container {
    padding: 0 15px;
  }

  .sambutan-main-content {
    padding: 20px;
  }

  .sambutan-title {
    font-size: 1.6rem;
  }

  .perangkat-hero .hero-title {
    font-size: 2rem;
  }

  .greeting-card {
    padding: 20px;
  }

  .lead-highlight {
    padding: 20px;
  }
}

/* Visi Misi Page Styles */
.visi-misi-detail-section {
  padding: 60px 0;
  background: #f8f9fa;
}

.visi-misi-detail-container {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 60px;
  max-width: 1600px;
  margin: 0 auto;
  align-items: start;
}

.visi-misi-main-content {
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  padding: 40px;
}

.visi-section,
.misi-section {
  padding: 40px 0;
}

.visi-section:first-child {
  padding-top: 0;
}

.section-title {
  font-size: 2.2rem;
  color: #003366;
  margin-bottom: 15px;
  font-weight: 700;
}

.section-accent {
  width: 60px;
  height: 4px;
  background: linear-gradient(to right, #007bff, #003366);
  margin-bottom: 30px;
}

.visi-quote {
  background: linear-gradient(135deg, #e3f2fd, #f1f8e9);
  border-radius: 15px;
  padding: 40px;
  text-align: center;
  margin-bottom: 30px;
  border-left: 5px solid #007bff;
}

.visi-quote h3 {
  font-size: 2.5rem;
  color: #003366;
  margin: 0;
  font-weight: 700;
  position: relative;
}

.visi-quote h3::before,
.visi-quote h3::after {
  content: '"';
  font-size: 3rem;
  color: #007bff;
  opacity: 0.3;
}

.visi-makna {
  background: #fff3cd;
  border-radius: 12px;
  padding: 25px;
  border-left: 5px solid #ffc107;
}

.visi-makna h4 {
  color: #003366;
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.visi-makna p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #2c3e50;
  margin: 0;
  font-weight: 500;
}

.misi-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.misi-item {
  background: #f8f9fa;
  border-radius: 15px;
  padding: 25px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all 0.3s ease;
  border-left: 5px solid #007bff;
}

.misi-item:hover {
  transform: translateX(5px);
  box-shadow: 0 10px 25px rgba(0, 123, 255, 0.1);
}

.misi-number {
  background: linear-gradient(135deg, #007bff, #003366);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
}

.misi-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
  margin: 0;
}

.visi-misi-sidebar {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  height: fit-content;
  position: sticky;
  top: 100px;
}

.sidebar-widget {
  margin-bottom: 40px;
}

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

.widget-title {
  color: #003366;
  margin-bottom: 20px;
  font-size: 1.3rem;
  font-weight: 600;
  position: relative;
  padding-bottom: 10px;
  border-bottom: 2px solid #007bff;
}

.quick-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quick-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  background: #f8f9fa;
  border-radius: 8px;
  text-decoration: none;
  color: #2c3e50;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.quick-link:hover {
  background: rgba(0, 123, 255, 0.1);
  border-left-color: #007bff;
  transform: translateX(5px);
  text-decoration: none;
  color: #007bff;
}

.quick-link i {
  color: #007bff;
  font-size: 1rem;
  width: 16px;
}

.document-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.document-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  text-decoration: none;
  color: #2c3e50;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.document-link:hover {
  background: rgba(0, 123, 255, 0.1);
  border-left-color: #007bff;
  transform: translateX(5px);
  text-decoration: none;
  color: #007bff;
}

.document-link i {
  color: #dc3545;
  font-size: 1.2rem;
  width: 20px;
}

.doc-title {
  font-weight: 600;
  margin-bottom: 4px;
}

.doc-size {
  font-size: 0.85rem;
  color: #666;
}

/* Website Perangkat Daerah Styles */
.perangkat-section {
  padding: 60px 0;
  background: #f8f9fa;
}

.perangkat-controls {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
  align-items: end;
}

.perangkat-main-content {
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  padding: 50px;
}

.search-box {
  position: relative;
  display: flex;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.search-box input {
  flex: 1;
  padding: 15px 20px;
  border: none;
  outline: none;
  font-size: 1rem;
  background: transparent;
}

.search-box button {
  padding: 15px 20px;
  border: none;
  background: linear-gradient(135deg, #007bff, #003366);
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-box button:hover {
  background: linear-gradient(135deg, #0056b3, #002244);
}

.filter-controls select {
  padding: 15px 20px;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  background: white;
  font-size: 1rem;
  cursor: pointer;
  outline: none;
  transition: all 0.3s ease;
}

.filter-controls select:focus {
  border-color: #007bff;
}

.category-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.tab-btn {
  padding: 12px 25px;
  border: 2px solid #007bff;
  background: transparent;
  color: #007bff;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.tab-btn:hover {
  background: rgba(0, 123, 255, 0.1);
}

.tab-btn.active {
  background: linear-gradient(135deg, #007bff, #003366);
  color: white;
}

.website-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
  margin-bottom: 60px;
}

.website-item {
  background: white;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border-left: 5px solid #007bff;
}

.website-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 123, 255, 0.15);
}

.website-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #007bff, #003366);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.website-content h3 {
  color: #003366;
  margin-bottom: 10px;
  font-size: 1.3rem;
  font-weight: 600;
}

.website-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.website-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #007bff, #003366);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.website-link:hover {
  background: linear-gradient(135deg, #0056b3, #002244);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
  text-decoration: none;
  color: white;
}

.perangkat-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  padding: 40px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-item {
  text-align: center;
  padding: 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #007bff;
  margin-bottom: 10px;
}

.stat-label {
  color: #666;
  font-weight: 500;
}

/* Berita Page Styles */
.berita-section {
  padding: 10px 0;
  background: #f8f9fa;
}

.pengumuman-section {
  padding: 60px 0;
  background: #f8f9fa;
}

/* Berita Detail Page Styles */
.berita-featured-image {
  margin-bottom: 30px;
}

.berita-featured-image img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.berita-content {
  margin-top: 30px;
  margin-bottom: 40px;
  line-height: 1.8;
  font-size: 1.1rem;
  color: #333;
}

.berita-footer {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 2px solid #e9ecef;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.berita-tags {
  margin-bottom: 20px;
}

.berita-share {
  margin-bottom: 20px;
}

/* No news message */
.no-news {
  text-align: center;
  padding: 60px 20px;
  color: #666;
}

.no-news i {
  font-size: 4rem;
  color: #ddd;
  margin-bottom: 20px;
}

.no-news h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #333;
}

.no-news p {
  font-size: 1rem;
  color: #666;
}

.berita-header {
  margin-bottom: 20px;
}

/* Berita Detail Page - Remove Grid Layout */
.berita-detail-header {
  margin-bottom: 30px;
  display: block;
  width: 100%;
}

.berita-detail-header .berita-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #003366;
  line-height: 1.3;
  margin-bottom: 20px;
  width: 100%;
}

.berita-detail-header .berita-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-top: 15px;
  width: 100%;
}

/* Hero Subtitle for Berita Detail Page */
.hero-section .hero-subtitle {
  font-size: 1.2rem;
  font-weight: 400;
  color: #ffffff;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.5;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.berita-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #003366;
  line-height: 1.3;
  margin-bottom: 20px;
  width: 100%;
}

.berita-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-top: 15px;
}

.berita-meta .meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: #666;
}

.berita-meta .meta-item i {
  color: #007bff;
  width: 16px;
}

.berita-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 10px;
  align-items: start;
}

.berita-main {
  background: white;
  border-radius: 15px;
  padding: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pengumuman-layout {
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: start;
}

.pengumuman-main {
  background: white;
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pengumuman-controls {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
  align-items: end;
}

/* Agenda Page Styles */
.agenda-section {
  padding: 60px 0;
  background: #f8f9fa;
}

.agenda-layout {
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: start;
}

.agenda-main {
  background: white;
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.agenda-controls {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
  align-items: end;
}

.agenda-item {
  border-left: 4px solid #28a745;
}

.agenda-category {
  background: #28a745;
  color: white;
}

.agenda-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.agenda-meta span {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  color: #6c757d;
}

.agenda-meta i {
  margin-right: 8px;
  width: 16px;
  color: #007bff;
}

.agenda-icon {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.agenda-icon-small {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

/* Infografis Page Styles */
.infografis-section {
  padding: 60px 0;
  background: #f8f9fa;
}

.infografis-layout {
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: start;
}

.infografis-main {
  background: white;
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.infografis-controls {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
  align-items: end;
}

.infografis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.infografis-item {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.infografis-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.infografis-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.infografis-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.infografis-item:hover .infografis-overlay {
  opacity: 1;
}

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

.infografis-category {
  background: #ff6b35;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  align-self: flex-start;
}

.infografis-actions {
  display: flex;
  gap: 10px;
  align-self: flex-end;
}

.btn-view,
.btn-download {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #333;
}

.btn-view:hover,
.btn-download:hover {
  background: white;
  transform: scale(1.1);
}

.infografis-content {
  padding: 25px;
}

.infografis-content h3 {
  color: #003366;
  margin-bottom: 15px;
  font-size: 1.3rem;
  line-height: 1.4;
}

.infografis-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.infografis-meta {
  display: flex;
  gap: 20px;
  font-size: 0.9rem;
  color: #999;
}

.infografis-meta span {
  display: flex;
  align-items: center;
}

.infografis-meta i {
  margin-right: 8px;
  color: #ff6b35;
}

.no-infografis {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  color: #999;
}

.no-infografis i {
  font-size: 4rem;
  margin-bottom: 20px;
  color: #ddd;
}

.no-infografis h3 {
  margin-bottom: 15px;
  color: #666;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.modal-content {
  position: relative;
  background-color: white;
  margin: 5% auto;
  padding: 0;
  border-radius: 15px;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.close {
  position: absolute;
  top: 15px;
  right: 20px;
  color: white;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 2001;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.close:hover {
  background: rgba(0, 0, 0, 0.8);
}

.modal-body {
  display: flex;
  flex-direction: column;
}

.modal-body img {
  width: 100%;
  max-height: 60vh;
  object-fit: contain;
  background: #f8f9fa;
}

.modal-info {
  padding: 30px;
}

.modal-info h3 {
  color: #003366;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.modal-info p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.modal-meta {
  font-size: 0.9rem;
  color: #999;
}

.modal-meta i {
  margin-right: 8px;
  color: #ff6b35;
}

/* Pengumuman Overlay Styles */
.pengumuman-item .news-image {
  position: relative;
  overflow: hidden;
}

.pengumuman-item .news-image img {
  transition: transform 0.3s ease;
}

.pengumuman-item:hover .news-image img {
  transform: scale(1.1);
}

.news-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pengumuman-item:hover .news-overlay {
  opacity: 1;
}

.news-overlay .news-category {
  background: #007bff;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  align-self: flex-start;
}

.news-overlay .news-actions {
  display: flex;
  gap: 10px;
  align-self: flex-end;
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.news-overlay .btn-view,
.news-overlay .btn-download {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #333;
}

.news-overlay .btn-view:hover,
.news-overlay .btn-download:hover {
  background: white;
  transform: scale(1.1);
}

.pengumuman-icon {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
}

/* Agenda Overlay Styles */
.agenda-item .news-image {
  position: relative;
  overflow: hidden;
}

.agenda-item .news-image img {
  transition: transform 0.3s ease;
}

.agenda-item:hover .news-image img {
  transform: scale(1.1);
}

.agenda-item .news-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.agenda-item:hover .news-overlay {
  opacity: 1;
}

.agenda-item .news-overlay .news-category {
  background: #28a745;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  align-self: flex-start;
}

.agenda-item .news-overlay .news-actions {
  display: flex;
  gap: 10px;
  align-self: flex-end;
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.agenda-item .news-overlay .btn-view,
.agenda-item .news-overlay .btn-download {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #333;
}

.agenda-item .news-overlay .btn-view:hover,
.agenda-item .news-overlay .btn-download:hover {
  background: white;
  transform: scale(1.1);
}

.agenda-icon {
  background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
}

/* Modal Media Styles */
.modal-media {
  margin-bottom: 20px;
}

.modal-media img {
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.berita-controls {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
  align-items: end;
}

.featured-news h2 {
  color: #003366;
  margin-bottom: 25px;
  font-size: 1.8rem;
  font-weight: 700;
}

.featured-news-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 50px;
  padding-bottom: 30px;
  border-bottom: 2px solid #e9ecef;
}

.featured-image {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
}

.featured-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.featured-news-item:hover .featured-image img {
  transform: scale(1.05);
}

.featured-category {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(0, 123, 255, 0.9);
  color: white;
  padding: 8px 15px;
  border-radius: 15px;
  font-size: 0.85rem;
  font-weight: 600;
}

.featured-content h3 {
  font-size: 1.5rem;
  color: #003366;
  margin-bottom: 15px;
  line-height: 1.4;
}

.featured-content h3 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.featured-content h3 a:hover {
  color: #007bff;
}

.featured-content p {
  color: #666;
  line-height: 1.7;
  margin-bottom: 20px;
}

.featured-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: #999;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.news-item {
  background: #f8f9fa;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.news-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.news-image {
  position: relative;
}

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

.news-category {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 123, 255, 0.9);
  color: white;
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

.news-content {
  padding: 20px;
}

.news-content h3 {
  font-size: 1.1rem;
  color: #003366;
  margin-bottom: 12px;
  line-height: 1.4;
}

.news-content h3 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.news-content h3 a:hover {
  color: #007bff;
}

.news-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.news-meta {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #999;
}

.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
}

.pagination-btn {
  padding: 12px 20px;
  border: 2px solid #007bff;
  background: transparent;
  color: #007bff;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pagination-btn:hover:not(:disabled) {
  background: #007bff;
  color: white;
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination-numbers {
  display: flex;
  gap: 10px;
  align-items: center;
}

.pagination-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  background: #f8f9fa;
  color: #666;
}

.pagination-number:hover {
  background: #007bff;
  color: white;
}

.pagination-number.active {
  background: #007bff;
  color: white;
}

.pagination-dots {
  color: #999;
  font-weight: 600;
}

.berita-sidebar {
  background: white;
  border-radius: 15px;
  padding: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  height: fit-content;
  position: sticky;
  top: 100px;
}

.popular-news-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.popular-news-item {
  display: flex;
  gap: 15px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.popular-news-item:last-child {
  border-bottom: none;
}

.popular-image {
  width: 80px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.popular-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.popular-content h4 {
  font-size: 0.95rem;
  color: #003366;
  margin-bottom: 8px;
  line-height: 1.4;
}

.popular-content h4 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.popular-content h4 a:hover {
  color: #007bff;
}

.popular-date {
  font-size: 0.8rem;
  color: #999;
}

.category-list {
  list-style: none;
  padding: 0;
}

.category-list li {
  margin-bottom: 12px;
}

.category-list li:last-child {
  margin-bottom: 0;
}

.category-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  background: #f8f9fa;
  border-radius: 8px;
  text-decoration: none;
  color: #2c3e50;
  transition: all 0.3s ease;
}

.category-list a:hover {
  background: rgba(0, 123, 255, 0.1);
  color: #007bff;
}

.category-list span {
  color: #999;
  font-size: 0.85rem;
}

.archive-list {
  list-style: none;
  padding: 0;
}

.archive-list li {
  margin-bottom: 12px;
}

.archive-list li:last-child {
  margin-bottom: 0;
}

.archive-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  background: #f8f9fa;
  border-radius: 8px;
  text-decoration: none;
  color: #2c3e50;
  transition: all 0.3s ease;
}

.archive-list a:hover {
  background: rgba(0, 123, 255, 0.1);
  color: #007bff;
}

.archive-list span {
  color: #999;
  font-size: 0.85rem;
}

.tag-cloud {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag {
  padding: 6px 12px;
  background: #f8f9fa;
  border-radius: 15px;
  text-decoration: none;
  color: #666;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.tag:hover {
  background: #007bff;
  color: white;
  text-decoration: none;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .visi-misi-detail-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .perangkat-controls {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .berita-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pengumuman-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pengumuman-controls {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .agenda-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .agenda-controls {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .infografis-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .infografis-controls {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .infografis-grid {
    grid-template-columns: 1fr;
  }

  .modal-content {
    width: 95%;
    margin: 10% auto;
  }

  .modal-body img {
    max-height: 50vh;
  }
}

@media (max-width: 768px) {
  .visi-misi-main-content,
  .sambutan-main-content,
  .berita-main {
    padding: 15px;
  }

  .visi-quote h3 {
    font-size: 2rem;
  }

  .featured-news-item {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .website-grid {
    grid-template-columns: 1fr;
  }

  .perangkat-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-tabs {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .pagination {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .visi-misi-detail-section,
  .perangkat-section,
  .berita-section {
    padding: 40px 0;
  }

  .visi-quote {
    padding: 25px;
  }

  .visi-quote h3 {
    font-size: 1.8rem;
  }

  .misi-item {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .perangkat-stats {
    grid-template-columns: 1fr;
  }
}

/* Statistics Page Styles */
.statistik-detail-section {
  padding: 60px 0;
  background: #f8f9fa;
}

.stats-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-bottom: 50px;
}

.stats-card {
  background: white;
  border-radius: 15px;
  padding: 30px 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease;
  border-left: 5px solid #007bff;
}

.stats-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 123, 255, 0.15);
}

.stats-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #007bff, #003366);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin: 0 auto 20px;
}

.stats-content h3 {
  font-size: 2.2rem;
  color: #003366;
  margin-bottom: 8px;
  font-weight: 700;
}

.stats-content p {
  color: #666;
  margin-bottom: 10px;
  font-weight: 500;
}

.stats-change {
  font-size: 0.9rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 12px;
}

.stats-change.positive {
  background: #d4edda;
  color: #155724;
}

.stats-change.negative {
  background: #f8d7da;
  color: #721c24;
}

.chart-controls {
  background: white;
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: end;
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.control-group label {
  font-weight: 600;
  color: #003366;
  font-size: 0.9rem;
}

.control-group select {
  padding: 12px 15px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  background: white;
  font-size: 0.95rem;
  cursor: pointer;
  outline: none;
  transition: all 0.3s ease;
  min-width: 150px;
}

.control-group select:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.btn-refresh {
  padding: 12px 20px;
  background: linear-gradient(135deg, #007bff, #003366);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-refresh:hover {
  background: linear-gradient(135deg, #0056b3, #002244);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
}

.charts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.chart-container {
  background: white;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.chart-container:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.chart-container.full-width {
  grid-column: 1 / -1;
}

.chart-header {
  margin-bottom: 20px;
  text-align: center;
}

.chart-header h3 {
  color: #003366;
  margin-bottom: 8px;
  font-size: 1.3rem;
  font-weight: 600;
}

.chart-header p {
  color: #666;
  font-size: 0.9rem;
  margin: 0;
}

.chart-wrapper {
  position: relative;
  height: 300px;
}

.chart-container.full-width .chart-wrapper {
  height: 400px;
}

.data-source {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}

.source-info {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.source-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #007bff, #003366);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.source-content h4 {
  color: #003366;
  margin-bottom: 10px;
  font-size: 1.3rem;
  font-weight: 600;
}

.source-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.source-content a {
  color: #007bff;
  text-decoration: none;
  font-weight: 600;
}

.source-content a:hover {
  text-decoration: underline;
}

.download-section h4 {
  color: #003366;
  margin-bottom: 15px;
  font-size: 1.1rem;
  font-weight: 600;
}

.download-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.download-btn:hover {
  background: linear-gradient(135deg, #218838, #17a2b8);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(40, 167, 69, 0.3);
  text-decoration: none;
  color: white;
}

.download-btn i {
  font-size: 1rem;
}

/* Responsive Design for Statistics */
@media (max-width: 1200px) {
  .charts-grid {
    grid-template-columns: 1fr;
  }

  .chart-container.full-width {
    grid-column: 1;
  }
}

@media (max-width: 768px) {
  .stats-overview {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .stats-card {
    padding: 20px 15px;
  }

  .stats-icon {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }

  .chart-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .control-group {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .control-group select {
    min-width: 120px;
  }

  .btn-refresh {
    align-self: center;
  }

  .chart-wrapper {
    height: 250px;
  }

  .chart-container.full-width .chart-wrapper {
    height: 300px;
  }

  .data-source {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .source-info {
    flex-direction: column;
    text-align: center;
  }

  .download-buttons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .stats-overview {
    grid-template-columns: 1fr;
  }

  .stats-card {
    padding: 15px;
  }

  .stats-content h3 {
    font-size: 1.8rem;
  }

  .chart-controls {
    padding: 20px;
  }

  .chart-header {
    margin-bottom: 15px;
  }

  .chart-header h3 {
    font-size: 1.1rem;
  }

  .chart-wrapper {
    height: 220px;
  }

  .chart-container.full-width .chart-wrapper {
    height: 280px;
  }

  .data-source {
    padding: 20px;
  }

  .download-buttons {
    flex-direction: column;
  }
}

/* Hubungi Kami Page Styles */
.kontak-section {
  padding: 60px 0;
  background: #f8f9fa;
}

.kontak-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.kontak-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease;
  border-left: 5px solid #007bff;
}

.kontak-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 123, 255, 0.15);
}

.kontak-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #007bff, #003366);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  margin: 0 auto 20px;
}

.kontak-card h3 {
  color: #003366;
  margin-bottom: 20px;
  font-size: 1.3rem;
  font-weight: 600;
}

.kontak-info {
  text-align: left;
}

.kontak-info p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

.kontak-info i {
  color: #007bff;
  width: 16px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  font-family: "Poppins", sans-serif;
}

.btn-primary {
  background: linear-gradient(135deg, #007bff, #003366);
  color: white;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0056b3, #002244);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
}

.peta-section {
  padding: 60px 0;
  background: #f8f9fa;
}

.peta-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
  align-items: start;
}

.peta-info h3 {
  color: #003366;
  margin-bottom: 15px;
  font-size: 1.4rem;
  font-weight: 600;
}

.peta-info > p {
  color: #666;
  margin-bottom: 30px;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.peta-info > p i {
  color: #007bff;
  font-size: 1.2rem;
}

.peta-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.detail-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.detail-item i {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #007bff, #003366);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.detail-item h4 {
  color: #003366;
  margin-bottom: 5px;
  font-size: 1.1rem;
  font-weight: 600;
}

.detail-item p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.peta-embed {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.peta-embed iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* Responsive Design for Hubungi Kami */
@media (max-width: 1200px) {
  .peta-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .kontak-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .kontak-card {
    padding: 25px;
  }

  .kontak-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .kontak-section,
  .peta-section {
    padding: 40px 0;
  }

  .kontak-card {
    padding: 20px;
  }

  .btn {
    padding: 12px 20px;
  }
}

/* Lambang Page Specific Styles */
.lambang-detail-section {
  padding: 60px 0;
  background: #f8f9fa;
}

.lambang-content-wrapper {
  max-width: 1000px;
  margin: 0 auto;
}

.lambang-main-content {
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  padding: 50px;
}

.lambang-logo-container {
  text-align: center;
  margin: 40px 0;
  padding: 40px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 20px;
  border: 3px solid #dee2e6;
}

.lambang-logo {
  max-width: 350px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

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

.lambang-explanation-section {
  margin-top: 40px;
}

.lambang-explanation-section h4 {
  color: #2c3e50;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 30px;
  text-align: center;
  padding-bottom: 15px;
  border-bottom: 3px solid #007bff;
}

.lambang-explanation {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.explanation-item {
  padding: 25px;
  background: #f8f9fa;
  border-radius: 15px;
  border-left: 5px solid #007bff;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.explanation-item:hover {
  background: #e9ecef;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.explanation-item h5 {
  color: #007bff;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.explanation-item h5 i {
  color: #28a745;
  font-size: 1.3rem;
}

.explanation-item p {
  margin-bottom: 12px;
  line-height: 1.8;
  color: #495057;
  font-size: 1rem;
}

.catur-karsa-list {
  margin: 20px 0;
  padding-left: 25px;
}

.catur-karsa-list li {
  margin-bottom: 10px;
  color: #495057;
  font-weight: 500;
  font-size: 1rem;
}

.catur-karsa-list li strong {
  color: #007bff;
  font-weight: 600;
}

/* Responsive Design for Lambang Page */
@media (max-width: 768px) {
  .lambang-detail-section {
    padding: 40px 0;
  }

  .lambang-main-content {
    padding: 30px;
  }

  .lambang-logo {
    max-width: 280px;
  }

  .lambang-logo-container {
    padding: 30px;
    margin: 30px 0;
  }

  .lambang-explanation {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .explanation-item {
    padding: 20px;
  }

  .explanation-item h5 {
    font-size: 1.1rem;
  }

  .explanation-item h5 i {
    font-size: 1.2rem;
  }

  .lambang-explanation-section h4 {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .lambang-main-content {
    padding: 20px;
  }

  .lambang-logo {
    max-width: 220px;
  }

  .lambang-logo-container {
    padding: 20px;
    margin: 20px 0;
  }

  .explanation-item {
    padding: 15px;
  }

  .explanation-item h5 {
    font-size: 1rem;
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .lambang-explanation-section h4 {
    font-size: 1.2rem;
  }
}

/* Geografis Demografis Page Specific Styles */
.data-section {
  margin-bottom: 40px;
  background: #f8f9fa;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.data-header {
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 3px solid #007bff;
}

.data-header h3 {
  color: #2c3e50;
  font-size: 1.4rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}

.data-header h3 i {
  color: #007bff;
  font-size: 1.3rem;
}

.data-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #495057;
  margin-bottom: 20px;
}

.highlight-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 25px;
}

.highlight-item {
  background: white;
  padding: 25px;
  border-radius: 12px;
  border-left: 5px solid #28a745;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.highlight-item:hover {
  transform: translateY(-3px);
}

.highlight-item h4 {
  color: #28a745;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.highlight-item h4 i {
  font-size: 1.2rem;
}

.highlight-item p {
  margin: 0;
  font-size: 1rem;
  color: #495057;
}

.coastline-data {
  margin-top: 25px;
}

.coastline-data h4 {
  color: #2c3e50;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.coastline-list {
  display: grid;
  gap: 15px;
}

.coastline-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  padding: 20px;
  border-radius: 10px;
  border-left: 4px solid #17a2b8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.coastline-item:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.coastline-item .kecamatan {
  font-weight: 600;
  color: #2c3e50;
  font-size: 1rem;
}

.coastline-item .panjang {
  font-weight: 700;
  color: #17a2b8;
  font-size: 1.1rem;
}

.boundary-data {
  margin-top: 25px;
}

.boundary-data h4 {
  color: #2c3e50;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.boundary-list {
  display: grid;
  gap: 15px;
}

.boundary-item {
  display: flex;
  align-items: center;
  background: white;
  padding: 20px;
  border-radius: 10px;
  border-left: 4px solid #dc3545;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.boundary-item:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.boundary-item .direction {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 150px;
  font-weight: 600;
  color: #dc3545;
}

.boundary-item .direction i {
  font-size: 1.2rem;
}

.boundary-item .boundary-content {
  flex: 1;
}

.boundary-item .boundary-content p {
  margin: 0;
  font-size: 1rem;
  color: #495057;
}

.summary-stats {
  margin-top: 40px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 20px;
  padding: 40px;
  color: white;
}

.summary-stats h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 30px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.summary-stats h3 i {
  font-size: 1.3rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
}

.stat-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.stat-item .stat-icon {
  margin-bottom: 15px;
}

.stat-item .stat-icon i {
  font-size: 2.5rem;
  color: #fff;
}

.stat-item .stat-content h4 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.stat-item .stat-content p {
  font-size: 1rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

/* Responsive Design for Geografis Demografis Page */
@media (max-width: 768px) {
  .data-section {
    padding: 20px;
    margin-bottom: 30px;
  }

  .data-header h3 {
    font-size: 1.2rem;
  }

  .highlight-box {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .highlight-item {
    padding: 20px;
  }

  .coastline-item {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .boundary-item {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .boundary-item .direction {
    min-width: auto;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .summary-stats {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .data-section {
    padding: 15px;
  }

  .data-header h3 {
    font-size: 1.1rem;
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .highlight-item {
    padding: 15px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .stat-item {
    padding: 20px;
  }

  .stat-item .stat-content h4 {
    font-size: 1.8rem;
  }
}

/* Sejarah Page Specific Styles */
.history-highlight {
  margin-top: 30px;
}

.history-timeline {
  position: relative;
  padding-left: 30px;
}

.history-timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, #007bff, #28a745, #ffc107, #dc3545);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding-left: 40px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 8px;
  width: 16px;
  height: 16px;
  background: #007bff;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 0 3px #007bff;
}

.timeline-item:nth-child(2)::before {
  background: #28a745;
  box-shadow: 0 0 0 3px #28a745;
}

.timeline-item:nth-child(3)::before {
  background: #ffc107;
  box-shadow: 0 0 0 3px #ffc107;
}

.timeline-item:nth-child(4)::before {
  background: #dc3545;
  box-shadow: 0 0 0 3px #dc3545;
}

.timeline-icon {
  position: absolute;
  left: -50px;
  top: 0;
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  border: 2px solid #e9ecef;
}

.timeline-icon i {
  font-size: 1.2rem;
  color: #007bff;
}

.timeline-item:nth-child(2) .timeline-icon i {
  color: #28a745;
}

.timeline-item:nth-child(3) .timeline-icon i {
  color: #ffc107;
}

.timeline-item:nth-child(4) .timeline-icon i {
  color: #dc3545;
}

.timeline-content {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border-left: 4px solid #007bff;
  transition: transform 0.3s ease;
}

.timeline-item:nth-child(2) .timeline-content {
  border-left-color: #28a745;
}

.timeline-item:nth-child(3) .timeline-content {
  border-left-color: #ffc107;
}

.timeline-item:nth-child(4) .timeline-content {
  border-left-color: #dc3545;
}

.timeline-content:hover {
  transform: translateY(-3px);
}

.timeline-content h4 {
  color: #2c3e50;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.timeline-content p {
  color: #495057;
  line-height: 1.7;
  margin: 0;
}

.document-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 25px;
}

.document-item {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
  text-align: center;
}

.document-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.document-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.document-icon i {
  font-size: 2rem;
  color: white;
}

.document-content h4 {
  color: #2c3e50;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.document-content p {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 20px;
}

.document-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #007bff;
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.document-link:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.document-info {
  margin-top: 40px;
}

.info-box {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 15px;
  padding: 30px;
  border-left: 5px solid #17a2b8;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.info-box h4 {
  color: #2c3e50;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-box h4 i {
  color: #17a2b8;
}

.info-box p {
  color: #495057;
  line-height: 1.7;
  margin-bottom: 20px;
}

.info-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-box li {
  color: #495057;
  line-height: 1.6;
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.info-box li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #28a745;
  font-weight: bold;
  font-size: 1.1rem;
}

.heritage-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 25px;
}

.heritage-item {
  display: flex;
  align-items: center;
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  border-left: 4px solid #17a2b8;
  transition: all 0.3s ease;
}

.heritage-item:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.heritage-icon {
  width: 50px;
  height: 50px;
  background: #17a2b8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}

.heritage-icon i {
  font-size: 1.3rem;
  color: white;
}

.heritage-content h4 {
  color: #2c3e50;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.heritage-content p {
  color: #6c757d;
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
}

.figure-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 25px;
}

.figure-item {
  background: white;
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.figure-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.figure-avatar {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
}

.figure-avatar i {
  font-size: 1.5rem;
  color: white;
}

.figure-content h4 {
  color: #2c3e50;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.figure-content p {
  color: #6c757d;
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
}

/* Responsive Design for Sejarah Page */
@media (max-width: 768px) {
  .history-timeline {
    padding-left: 20px;
  }

  .timeline-item {
    padding-left: 30px;
  }

  .timeline-icon {
    left: -40px;
    width: 35px;
    height: 35px;
  }

  .timeline-icon i {
    font-size: 1rem;
  }

  .timeline-content {
    padding: 20px;
  }

  .document-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .document-item {
    padding: 25px;
  }

  .heritage-list {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .heritage-item {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .heritage-icon {
    margin-right: 0;
  }

  .figure-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .history-timeline {
    padding-left: 15px;
  }

  .timeline-item {
    padding-left: 25px;
  }

  .timeline-icon {
    left: -35px;
    width: 30px;
    height: 30px;
  }

  .timeline-content {
    padding: 15px;
  }

  .document-item {
    padding: 20px;
  }

  .document-icon {
    width: 60px;
    height: 60px;
  }

  .document-icon i {
    font-size: 1.5rem;
  }

  .figure-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

/* Struktur Pemerintahan Page Specific Styles */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 30px;
  align-items: start;
}

.leadership-card {
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.leadership-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #007bff, #28a745);
}

.bupati-card::before {
  background: linear-gradient(90deg, #dc3545, #fd7e14);
}

.wakil-card::before {
  background: linear-gradient(90deg, #28a745, #20c997);
}

.sekda-card::before {
  background: linear-gradient(90deg, #6f42c1, #e83e8c);
}

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

.leadership-image {
  position: relative;
  margin-bottom: 25px;
}

.leader-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: contain;
  object-position: center;
  border: 5px solid #f8f9fa;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  background-color: #ffffff;
}

.leadership-card:hover .leader-photo {
  transform: scale(1.05);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.leadership-badge {
  position: absolute;
  bottom: 10px;
  right: 50%;
  transform: translateX(50%);
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 3px solid white;
}

.bupati-card .leadership-badge {
  background: linear-gradient(135deg, #dc3545 0%, #fd7e14 100%);
}

.wakil-card .leadership-badge {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.sekda-card .leadership-badge {
  background: linear-gradient(135deg, #6f42c1 0%, #e83e8c 100%);
}

.leadership-badge i {
  font-size: 1.2rem;
  color: white;
}

.leadership-info {
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.leader-name {
  color: #2c3e50;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.leader-position {
  color: #6c757d;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
  padding: 8px 16px;
  background: #f8f9fa;
  border-radius: 20px;
  display: inline-block;
}

.leader-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.detail-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #495057;
  font-size: 0.95rem;
}

.detail-item i {
  color: #007bff;
  width: 16px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 25px;
}

.info-card {
  background: white;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border-left: 4px solid #17a2b8;
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.info-icon {
  width: 60px;
  height: 60px;
  background: #17a2b8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.info-icon i {
  font-size: 1.5rem;
  color: white;
}

.info-content h4 {
  color: #2c3e50;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.info-content p {
  color: #6c757d;
  line-height: 1.6;
  margin: 0;
}

/* Responsive Design for Struktur Pemerintahan Page */
@media (max-width: 1024px) {
  .leadership-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .leadership-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .leadership-card {
    padding: 25px;
  }

  .leader-photo {
    width: 120px;
    height: 120px;
  }

  .leader-name {
    font-size: 1.2rem;
  }

  .leader-position {
    font-size: 1rem;
  }

  .info-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .info-card {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .leadership-card {
    padding: 20px;
  }

  .leader-photo {
    width: 100px;
    height: 100px;
  }

  .leadership-badge {
    width: 35px;
    height: 35px;
  }

  .leadership-badge i {
    font-size: 1rem;
  }

  .leader-name {
    font-size: 1.1rem;
  }

  .leader-position {
    font-size: 0.9rem;
    padding: 6px 12px;
  }

  .detail-item {
    font-size: 0.9rem;
  }

  .info-card {
    padding: 15px;
  }

  .info-icon {
    width: 50px;
    height: 50px;
  }

  .info-icon i {
    font-size: 1.2rem;
  }
}

/* Program Unggulan Page Specific Styles */
.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.program-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.program-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #007bff, #28a745);
}

.program-card:nth-child(1)::before {
  background: linear-gradient(90deg, #dc3545, #fd7e14);
}

.program-card:nth-child(2)::before {
  background: linear-gradient(90deg, #28a745, #20c997);
}

.program-card:nth-child(3)::before {
  background: linear-gradient(90deg, #6f42c1, #e83e8c);
}

.program-card:nth-child(4)::before {
  background: linear-gradient(90deg, #ffc107, #fd7e14);
}

.program-card:nth-child(5)::before {
  background: linear-gradient(90deg, #17a2b8, #20c997);
}

.program-card:nth-child(6)::before {
  background: linear-gradient(90deg, #6c757d, #495057);
}

.program-card:nth-child(7)::before {
  background: linear-gradient(90deg, #fd7e14, #dc3545);
}

.program-card:nth-child(8)::before {
  background: linear-gradient(90deg, #20c997, #17a2b8);
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.program-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.program-card:nth-child(1) .program-icon {
  background: linear-gradient(135deg, #dc3545 0%, #fd7e14 100%);
}

.program-card:nth-child(2) .program-icon {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.program-card:nth-child(3) .program-icon {
  background: linear-gradient(135deg, #6f42c1 0%, #e83e8c 100%);
}

.program-card:nth-child(4) .program-icon {
  background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
}

.program-card:nth-child(5) .program-icon {
  background: linear-gradient(135deg, #17a2b8 0%, #20c997 100%);
}

.program-card:nth-child(6) .program-icon {
  background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
}

.program-card:nth-child(7) .program-icon {
  background: linear-gradient(135deg, #fd7e14 0%, #dc3545 100%);
}

.program-card:nth-child(8) .program-icon {
  background: linear-gradient(135deg, #20c997 0%, #17a2b8 100%);
}

.program-icon i {
  font-size: 1.8rem;
  color: white;
}

.program-content h4 {
  color: #2c3e50;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.program-subtitle {
  color: #6c757d;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 15px;
  font-style: italic;
  background: #f8f9fa;
  padding: 4px 12px;
  border-radius: 15px;
  display: inline-block;
}

.program-description {
  color: #495057;
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
}

/* Responsive Design for Program Unggulan Page */
@media (max-width: 768px) {
  .program-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .program-card {
    padding: 25px;
  }

  .program-icon {
    width: 60px;
    height: 60px;
  }

  .program-icon i {
    font-size: 1.5rem;
  }

  .program-content h4 {
    font-size: 1.2rem;
  }

  .program-description {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .program-card {
    padding: 20px;
  }

  .program-icon {
    width: 50px;
    height: 50px;
  }

  .program-icon i {
    font-size: 1.3rem;
  }

  .program-content h4 {
    font-size: 1.1rem;
  }

  .program-subtitle {
    font-size: 0.9rem;
    padding: 3px 10px;
  }

  .program-description {
    font-size: 0.85rem;
  }
}

/* Pengumuman Page Styles */
.file-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 200px;
  background: #f8f9fa;
  border: 2px dashed #dee2e6;
  border-radius: 8px;
  color: #6c757d;
  font-size: 2rem;
}

.file-preview i {
  margin-bottom: 10px;
  color: #dc3545;
}

.file-preview span {
  font-size: 0.9rem;
  font-weight: 600;
  color: #495057;
}

.no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-size: 3rem;
  border-radius: 8px;
}

.file-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #dc3545;
  color: white;
  border-radius: 8px;
  font-size: 1.5rem;
}

.no-image-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 8px;
  font-size: 1.5rem;
}

.quick-links {
  list-style: none;
  padding: 0;
}

.quick-links li {
  margin-bottom: 10px;
}

.quick-links a {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  background: #f8f9fa;
  border-radius: 8px;
  text-decoration: none;
  color: #495057;
  transition: all 0.3s ease;
  font-weight: 500;
}

.quick-links a:hover {
  background: #e9ecef;
  transform: translateX(5px);
  color: #007bff;
}

.quick-links a i {
  margin-right: 10px;
  width: 20px;
  text-align: center;
}

.contact-info {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #007bff;
}

.contact-info p {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  color: #495057;
  font-size: 0.95rem;
}

.contact-info p:last-child {
  margin-bottom: 0;
}

.contact-info i {
  margin-right: 10px;
  width: 20px;
  color: #007bff;
}

/* Responsive Design for Pengumuman Page */
@media (max-width: 768px) {
  .file-preview {
    height: 150px;
    font-size: 1.5rem;
  }

  .no-image {
    height: 150px;
    font-size: 2rem;
  }

  .file-icon,
  .no-image-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .quick-links a {
    padding: 8px 12px;
    font-size: 0.9rem;
  }

  .contact-info {
    padding: 15px;
  }

  .contact-info p {
    font-size: 0.9rem;
  }
}
