:root {
  /* Warna Utama - Forest Green */
  --primary-color: #2d6a4f;     /* Hijau hutan yang dalam */
  --primary-dark: #1b4332;      /* Hijau gelap */
  --primary-light: #40916c;     /* Hijau cerah */
  
  /* Warna Sekunder - Sage */
  --secondary-color: #74c69d;   /* Hijau sage */
  --secondary-light: #95d5b2;   /* Hijau muda */
  --secondary-dark: #52b788;    /* Hijau medium */
  
  /* Warna Aksen - Earth */
  --accent-color: #b7b7a4;      /* Warna tanah muda */
  --accent-light: #ddbea9;      /* Warna kayu muda */
  --accent-dark: #a5a58d;       /* Warna tanah */
  
  /* Warna Background */
  --bg-light: #f8faf7;          /* Off-white kehijauan */
  --bg-white: #ffffff;
  --bg-gray: #e9ecef;
  
  /* Warna Text */
  --text-dark: #212529;         /* Hampir hitam */
  --text-medium: #495057;       /* Abu gelap */
  --text-light: #6c757d;        /* Abu medium */
  
  /* Warna Success/Info/Warning */
  --success-color: #40916c;     /* Hijau sukses */
  --info-color: #219ebc;        /* Biru info */
  --warning-color: #ee9b00;     /* Oranye warning */
  
  /* Warna Border & Shadow */
  --border-color: #e9ecef;
  --shadow-sm: 0 2px 4px rgba(45, 106, 79, 0.08);
  --shadow-md: 0 4px 6px rgba(45, 106, 79, 0.12);
  --shadow-lg: 0 8px 15px rgba(45, 106, 79, 0.15);
  
  /* Dark Mode Colors */
  --dark-bg: #1a1a1a;
  --dark-card-bg: #2a2a2a;
  --dark-border: #3a3a3a;
  --dark-text: #e0e0e0;
  --dark-text-muted: #aaaaaa;
  
  /* Spacing Scale */
  --space-xs: 0.5rem;   /* 8px */
  --space-sm: 1rem;     /* 16px */
  --space-md: 1.5rem;   /* 24px */
  --space-lg: 2rem;     /* 32px */
  --space-xl: 3rem;     /* 48px */
  --space-2xl: 4rem;    /* 64px */
  --space-3xl: 6rem;    /* 96px */
  --space-4xl: 8rem;    /* 128px */
  
  /* Section Spacing */
  --section-spacing-y: 6rem;      /* 96px - spacing antar section */
  --section-spacing-inner: 4rem;  /* 64px - spacing dalam section */
  --section-spacing-sm: 3rem;     /* 48px - spacing kecil */
  
  /* Container Max Widths */
  --container-narrow: 768px;
  --container-default: 1140px;
  --container-wide: 1320px;

  /* Typography Scale */
  --h1-size: 3.5rem;    /* 56px */
  --h2-size: 2.5rem;    /* 40px */
  --h3-size: 2rem;      /* 32px */
  --h4-size: 1.5rem;    /* 24px */
  --body-size: 1rem;    /* 16px */
  --small-size: 0.875rem; /* 14px */
  
  /* Animation Timings */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-circle: 50%;
}

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

/* General Styles */
body {
  font-family: "Poppins", "Roboto", sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Dark Mode Styles */
body.dark-mode {
  background-color: var(--dark-bg);
  color: var(--dark-text);
}

section {
  padding: var(--section-spacing-y) 0;
  position: relative;
}

/* Spacing khusus untuk section yang berdekatan */
section + section {
  padding-top: var(--section-spacing-y);
}

.section-header {
  margin-bottom: 48px;
  max-width: 720px;  /* Optimal reading width */
  margin-left: auto;
  margin-right: auto;
}

.section-header::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  border-radius: 3px;
}

.section-header h2 {
  font-size: var(--h2-size);
  margin-bottom: 16px;
  line-height: 1.2;
  font-weight: 700;
}

.section-subheading {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-medium);
  max-width: 600px;
  margin: 0 auto;
}

/* Navbar Base Styles */
.navbar {
  padding: 1rem 0;
  transition: all 0.3s ease;
  background: rgba(27, 67, 50, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1030;
}

.navbar-brand {
  color: var(--bg-white) !important;
  font-weight: 600;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

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

.nav-link {
  color: var(--bg-white) !important;
  font-weight: 500;
  padding: 0.8rem 1rem !important;
  transition: all 0.3s ease;
  position: relative;
}

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

.nav-item {
  margin: 0 0.3rem;
}

/* Theme Switch Styles */
.theme-switch-wrapper {
  display: flex;
  align-items: center;
  margin-left: 1rem;
}

.theme-switch {
  display: inline-block;
  height: 24px;
  position: relative;
  width: 48px;
}

.theme-switch input {
  display: none;
}

.slider {
  background-color: #ccc;
  bottom: 0;
  cursor: pointer;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: var(--transition-normal);
  border-radius: 34px;
}

.slider:before {
  background-color: white;
  bottom: 4px;
  content: "";
  height: 16px;
  left: 4px;
  position: absolute;
  transition: var(--transition-normal);
  width: 16px;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--secondary-color);
}

input:checked + .slider:before {
  transform: translateX(24px);
}

/* Mobile Navbar Styles */
@media (max-width: 991px) {
  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    margin: 0.5rem 1rem;
    padding: 1.25rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1020;
  }

  .navbar-nav .nav-item {
    margin: 0.25rem 0;
  }

  .navbar-nav .nav-item .nav-link {
    color: var(--text-dark) !important;
    padding: 0.9rem 1.2rem !important;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.5);
  }

  .navbar-nav .nav-item .nav-link:hover,
  .navbar-nav .nav-item .nav-link.active {
    color: var(--bg-white) !important;
    background: var(--primary-color);
    transform: translateX(5px);
  }

  .navbar-nav .nav-item .nav-link i {
    font-size: 1.1rem;
    opacity: 0.8;
  }
  
  /* Dark mode navbar */
  .dark-mode .navbar-collapse {
    background: rgba(42, 42, 42, 0.95);
  }
  
  .dark-mode .navbar-nav .nav-item .nav-link {
    color: var(--dark-text) !important;
    background: rgba(58, 58, 58, 0.5);
  }

  /* Mobile Menu Buttons */
  .navbar .btn {
    margin: 0.75rem 0;
    padding: 0.9rem 1.2rem;
    width: 100%;
    text-align: center;
    justify-content: center;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 12px;
    transition: all 0.3s ease;
  }

  .navbar .btn-success {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: none;
    box-shadow: 0 4px 15px rgba(45, 106, 79, 0.2);
  }

  .navbar .btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 106, 79, 0.3);
  }

  .navbar .btn-outline-light {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    background: transparent;
  }

  .navbar .btn-outline-light:hover {
    background: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-2px);
  }
}

/* Small Screen Adjustments */
@media (max-width: 576px) {
  .navbar {
    padding: 0.8rem 1rem;
  }

  .navbar-brand {
    font-size: 1.1rem;
  }

  .navbar-brand img {
    height: 35px;
  }

  .navbar-collapse {
    margin: 1rem -1rem ;
    border-radius: 0;
    max-height: calc(100vh - 70px);
  }

  .nav-link {
    padding: 1rem !important;
  }
}

/* Medium Screen Adjustments */
@media (min-width: 577px) and (max-width: 991px) {
  .navbar-brand {
    font-size: 1.2rem;
  }

  .navbar-collapse {
    margin: 1rem 0 0;
  }
}

/* Large Screen Adjustments */
@media (min-width: 992px) {
  .navbar-nav {
    gap: 0.5rem;
  }

  .nav-link {
    position: relative;
    padding: 0.6rem 1rem !important;
  }

  .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: var(--secondary-light);
    transform: scaleX(0);
    transition: transform 0.3s ease;
  }

  .nav-link:hover::after,
  .nav-link.active::after {
    transform: scaleX(1);
  }
}


/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 0 180px;
  margin-top: calc(-1 * var(--navbar-height));
}

/* Video Background */
.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(27, 67, 50, 0.7),
    rgba(27, 67, 50, 0.8)
  );
  z-index: 2;
}

#youtube-player {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* Hero Content */
.hero-content-wrapper {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--container-default);
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}

.hero-content {
  max-width: 800px;
  text-align: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 24px;
  padding: 3.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transform: translateY(0);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.hero-content:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-content p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
}

.hero-buttons .btn {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transition: all 0.3s ease;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.hero-buttons .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
  z-index: -1;
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.hero-buttons .btn:hover::before {
  transform: translateX(0);
}

.hero-buttons .btn-primary {
  background: var(--primary-color);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-buttons .btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.hero-buttons .btn-outline-light {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.hero-buttons .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.hero-buttons .btn i {
  transition: transform 0.3s ease;
}

.hero-buttons .btn:hover i {
  transform: translateX(4px);
}

/* Stats Section */
.stats-section {
  position: relative;
  margin-top: -100px;
  z-index: 10;
  padding: 0 var(--space-md);
  margin-bottom: 80px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: var(--container-default);
  margin: 0 auto;
}

.stat-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(45, 106, 79, 0.1);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.stat-card:hover::before {
  opacity: 1;
}

.stat-icon {
  width: 64px;
  height: 64px;
  background: rgba(45, 106, 79, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: all 0.3s ease;
}

.stat-icon i {
  font-size: 2rem;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
  background: var(--primary-color);
  transform: scale(1.1) rotate(10deg);
}

.stat-card:hover .stat-icon i {
  color: var(--bg-white);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-medium);
  margin: 0;
}

/* Responsive Stats */
@media (max-width: 1200px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    height: auto;
    min-height: 80vh;
    padding: 140px 0 160px;
  }

  .hero-content-wrapper {
    margin-top: 1rem;
  }

  .hero-content {
    padding: 2rem;
    margin: 0 1rem;
  }

  .stats-section {
    margin-top: -80px;
    padding: 0 1rem;
  }

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

  .stat-card {
    padding: 1.5rem;
  }

  .stat-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 1rem;
  }

  .stat-number {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding: 120px 0 140px;
  }

  .hero-content-wrapper {
    margin-top: 0.5rem;
  }

  .hero-content {
    padding: 1.5rem;
  }

  .stats-section {
    margin-top: -60px;
  }
}

/* Profile Section Styles */
.profile-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.profile-card {
  background: #fff;
  border-radius: 15px;
  padding: var(--space-xl);
  height: 100%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  margin-bottom: var(--space-lg);
}

.profile-card:hover {
  transform: translateY(-5px);
}

.card-header-custom {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--light-color);
}

.header-icon {
  width: 45px;
  height: 45px;
  background: var(--primary-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}

.header-icon i {
  font-size: 24px;
  color: var(--bg-white);
}

.card-header-custom h4 {
  margin: 0;
  color: var(--dark-color);
  font-weight: 600;
}

/* Wilayah List Styles */
.wilayah-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  padding: 10px;
  background: var(--light-color);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.wilayah-item:hover {
  background: var(--accent-color);
  color: white;
  transform: translateX(5px);
}

.wilayah-item i {
  color: var(--primary-color);
  margin-right: 10px;
  font-size: 16px;
}

.wilayah-item:hover i {
  color: white;
}

/* Map Styles */
.wilayah-map {
  height: 300px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* Struktur Organisasi Styles */
.struktur-organisasi {
  background-color: var(--bg-light);
  padding: var(--space-xl) 0;
}

.org-tree {
  max-width: 1000px;
  margin: 0 auto;
}

.org-level {
  display: flex;
  justify-content: center;
  position: relative;
  margin-bottom: 2rem;
}

.org-level::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 1rem;
  background-color: var(--border-color);
}

.org-level:last-child::after {
  display: none;
}

.org-item-wrapper {
  display: flex;
  gap: 2rem;
  justify-content: center;
  width: 100%;
  position: relative;
}

.org-item-wrapper::before {
  content: '';
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 2px;
  background-color: var(--border-color);
}

.org-box {
  background: var(--bg-white);
  border-radius: 12px;
  padding: 1.5rem;
  width: 100%;
  max-width: 280px;
  transition: all 0.3s ease;
  position: relative;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.org-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.org-icon {
  width: 56px;
  height: 56px;
  background: rgba(45, 106, 79, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition: all 0.3s ease;
}

.org-icon i {
  font-size: 28px;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.org-box:hover .org-icon {
  background: var(--primary-color);
}

.org-box:hover .org-icon i {
  color: var(--bg-white);
}

/* Primary Level */
.org-content.primary .org-icon {
  background: var(--bg-white);
  width: 64px;
  height: 64px;
}

.org-content.primary .org-icon i {
  font-size: 32px;
}

.org-content.primary .org-box:hover .org-icon {
  background: rgba(255, 255, 255, 0.9);
}

.org-content.primary .org-box:hover .org-icon i {
  color: var(--primary-color);
  transform: scale(1.1);
}

/* Mengubah ukuran dan style untuk icon spesifik */
.org-icon .ri-plant-line,
.org-icon .ri-seedling-line {
  font-size: 32px;
}

.org-icon .ri-file-paper-2-line,
.org-icon .ri-government-line {
  font-size: 30px;
}

.org-icon .ri-team-line,
.org-icon .ri-community-line {
  font-size: 32px;
}

.org-content {
  text-align: center;
}

.org-content h5 {
  color: var(--primary-color);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.org-content p {
  font-size: 0.875rem;
  color: var(--text-medium);
  margin: 0;
  line-height: 1.4;
}

/* Styling untuk setiap level */
.org-content.primary .org-box {
  background: linear-gradient(145deg, var(--primary-color), var(--primary-dark));
}

.org-content.primary .org-icon {
  background: var(--bg-white);
}

.org-content.primary .org-icon i {
  color: var(--primary-color);
}

.org-content.primary h5,
.org-content.primary p {
  color: var(--bg-white);
}

.org-content.secondary .org-box {
  background: var(--bg-white);
  border-top: 4px solid var(--secondary-color);
}

.org-content.tertiary .org-box {
  background: var(--bg-white);
  border-top: 4px solid var(--accent-color);
}

/* Responsive Design */
@media (max-width: 991px) {
  .org-box {
    max-width: 240px;
    padding: 1.25rem;
  }
  
  .org-icon {
    width: 48px;
    height: 48px;
  }
  
  .org-icon i {
    font-size: 24px;
  }
  
  .org-content.primary .org-icon {
    width: 56px;
    height: 56px;
  }
  
  .org-content.primary .org-icon i {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .org-item-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  
  .org-box {
    max-width: 100%;
  }
  
  .org-item-wrapper::before {
    width: 2px;
    height: 100%;
    top: -1.5rem;
  }
  
  .org-level::after {
    display: none;
  }
}

/* Publication Section */
.publication-section {
  background-color: #fff;
}

/* News Card */
.news-card {
  background: var(--bg-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: transform 0.3s ease;
  margin-bottom: var(--space-lg);
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

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

.news-content {
  padding: var(--space-lg);
}

.news-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--secondary-light);
  color: var(--primary-dark);
  border-radius: 4px;
  font-size: 13px;
  margin-bottom: 12px;
}

.news-content h5 {
  color: var(--text-dark);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.8rem;
}

.news-content p {
  color: var(--text-medium);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #6c757d;
}

.read-more {
  color: var(--primary-color);
  text-decoration: none;
}

.read-more:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Sidebar */
.sidebar-box {
  background: var(--bg-white);
  border-radius: 8px;
  padding: var(--space-lg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: var(--space-xl);
}

.sidebar-title {
  color: var(--primary-color);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}

/* Document List */
.doc-item {
  display: flex;
  align-items: center;
  padding: 12px;
  text-decoration: none;
  color: inherit;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.doc-item:hover {
  background: #f8f9fa;
}

.doc-icon {
  font-size: 20px;
  margin-right: 12px;
  color: var(--primary-color);
}

.doc-icon i {
  font-size: 24px;
  color: var(--primary-color);
}

.doc-info h6 {
  color: var(--text-dark);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.doc-meta {
  color: var(--text-light);
  font-size: 0.85rem;
}

/* Announcement List */
.announcement-item {
  padding: 15px 0;
  border-bottom: 1px solid #e9ecef;
}

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

.announcement-item h6 {
  margin: 0 0 8px;
  font-size: 15px;
}

.announcement-item p {
  font-size: 14px;
  color: #6c757d;
  margin: 0 0 8px;
}

.announcement-date {
  font-size: 12px;
  color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
  .news-image {
    height: 180px;
  }
}

/* Contact Section */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--space-lg);
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-right: 1rem;
  padding: 1rem;
  background: var(--light-color);
  border-radius: 50%;
}

.contact-icon i {
  font-size: 24px;
  color: var(--primary-color);
}

.contact-form-container {
  background: #fff;
  border-radius: 10px;
  padding: var(--space-xl);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Footer Styles */
.footer {
  background-color: var(--primary-dark);
  padding-top: var(--space-2xl);
  position: relative;
}

/* Footer Info */
.footer-info {
  margin-bottom: var(--space-xl);
}

.footer-info img {
  margin-bottom: var(--space-md);
}

.footer-info p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

/* Footer Headings */
.footer h5 {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer h5::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--secondary-color);
}

/* Footer Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-block;
  padding: 0.25rem 0;
}

.footer-links a:hover {
  color: var(--secondary-light);
  transform: translateX(5px);
}

/* Social Links */
.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-icon {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
}

.social-icon i {
  font-size: 20px;
  color: var(--bg-white);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-md) 0;
  margin-top: var(--space-2xl);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-size: 0.9rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: var(--secondary-light);
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer {
    padding-top: var(--space-xl);
  }

  .footer h5 {
    margin-top: 2rem;
    margin-bottom: 1rem;
  }

  .footer-info {
    text-align: center;
    margin-bottom: var(--space-lg);
  }

  .footer h5::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .social-links {
    justify-content: center;
  }

  .footer-bottom {
    text-align: center;
    margin-top: var(--space-xl);
  }

  .footer-bottom .text-md-end {
    text-align: center !important;
    margin-top: 1rem;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  .footer {
    background-color: var(--primary-dark);
  }

  .footer-links a,
  .footer-bottom p,
  .footer-bottom a {
    color: rgba(255, 255, 255, 0.8);
  }
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top.show {
  display: flex;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* Gallery Section */
.gallery-section {
  background-color: #fff;
}

.gallery-filter {
  margin-bottom: var(--space-xl);
}

.gallery-filter .btn {
  border-radius: 20px;
  padding: 8px 20px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.gallery-filter .btn.active {
  background-color: #198754;
  color: white;
}

.gallery-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  margin-bottom: var(--space-lg);
}

.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.gallery-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}

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

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay a {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #fff;
  color: #198754;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transform: scale(0);
  transition: all 0.3s ease;
}

.gallery-card:hover .gallery-overlay a {
  transform: scale(1);
}

.gallery-overlay i {
  font-size: 24px;
  color: var(--primary-color);
}

.gallery-title {
  font-size: 18px;
  margin-bottom: 8px;
  color: #2c3e50;
}

.gallery-text {
  font-size: 14px;
  line-height: 1.5;
}

.gallery-meta {
  font-size: 12px;
  color: #6c757d;
}

/* Program Image Slider */
.program-image-slider {
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
}

.program-image-slider .swiper-container {
  width: 100%;
  height: 300px;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 10px;
  font-size: 0.9rem;
}

/* Program Gallery */
.program-gallery {
  margin-top: 15px;
}

.gallery-thumbnail {
  position: relative;
  height: 100px;
  border-radius: 5px;
  overflow: hidden;
  cursor: pointer;
}

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

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

/* Modal untuk preview gambar */
.image-preview-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-content {
  max-width: 90%;
  max-height: 90vh;
}

.modal-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  color: white;
  font-size: 30px;
  cursor: pointer;
}

.modal-preview {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.modal-preview img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
  z-index: 10000;
}

.modal-close:hover {
  color: var(--accent-color);
}

/* Services Section Styles - Perbaikan */
.service-card {
  background: var(--bg-white);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(45, 106, 79, 0.08);
}

.service-header {
  padding: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}

.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(45, 106, 79, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.service-icon i {
  font-size: 28px;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(45, 106, 79, 0.12);
}

.service-card:hover .service-icon {
  background: var(--primary-color);
}

.service-card:hover .service-icon i {
  color: var(--bg-white);
}

.service-title h4 {
  color: var(--text-dark);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.service-title p {
  color: var(--text-medium);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.service-content {
  padding: 0 2rem 2rem;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
}

.service-list li:last-child {
  border-bottom: none;
}

.service-list li i {
  font-size: 16px;
  color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
  .service-header {
    padding: 1.5rem;
  }
  
  .service-content {
    padding: 0 1.5rem 1.5rem;
  }
  
  .service-icon {
    width: 48px;
    height: 48px;
  }
  
  .service-icon i {
    font-size: 24px;
  }
  
  .service-title h4 {
    font-size: 1.2rem;
  }
}

/* Monitoring Section Styles */
.monitoring-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--light-color) 0%, #ffffff 100%);
}

.monitoring-section .monitoring-card {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  height: 100%;
  transition: transform 0.3s ease;
}

.monitoring-section .monitoring-card:hover {
  transform: translateY(-5px);
}

.monitoring-section .card-header {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #eee;
}

.monitoring-section .icon-header {
  font-size: 24px;
  color: var(--primary-color);
  margin-right: 15px;
}

.monitoring-section .card-header h4 {
  margin: 0;
  color: var(--dark-color);
  font-weight: 600;
}

/* Statistics Styles */
.monitoring-section .stats-summary {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.monitoring-section .stat-item {
  display: flex;
  align-items: center;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.monitoring-section .stat-item:hover {
  background: var(--light-color);
  transform: translateY(-3px);
}

.monitoring-section .stat-icon {
  width: 45px;
  height: 45px;
  background: var(--primary-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}

.monitoring-section .stat-icon i {
  font-size: 22px;
  color: var(--bg-white);
}

.monitoring-section .stat-info {
  flex: 1;
}

.monitoring-section .stat-label {
  display: block;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 5px;
}

.monitoring-section .stat-value {
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark-color);
}

/* Progress Styles */
.monitoring-section .progress-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.monitoring-section .progress-item {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.monitoring-section .progress-item:hover {
  background: var(--light-color);
}

.monitoring-section .progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.monitoring-section .progress-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.monitoring-section .progress-icon {
  color: var(--primary-color);
}

.monitoring-section .progress-percentage {
  font-weight: 600;
  color: var(--primary-color);
}

.monitoring-section .progress {
  height: 12px;
  background-color: #e9ecef;
  border-radius: 6px;
  overflow: hidden;
}

.monitoring-section .progress-bar {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  position: relative;
  transition: width 1s ease;
  border-radius: 6px;
}

.monitoring-section .progress-glow {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 15px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.4) 100%
  );
  animation: glow 1.5s infinite;
}

@keyframes glow {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@media (max-width: 768px) {
  .monitoring-section .stats-summary {
    grid-template-columns: 1fr;
  }

  .monitoring-section .monitoring-card {
    padding: 20px;
  }
}

.program-card {
  transition: transform 0.3s ease;
}

.program-card:hover {
  transform: translateY(-5px);
}

.program-icon {
  display: inline-block;
}

.info-value {
  font-size: 1.5rem;
}

.program-image img {
  transition: transform 0.3s ease;
}

.program-card:hover .program-image img {
  transform: scale(1.05);
}

/* Typography */
.org-box h5 {
  font-size: 1.1rem;
  color: #212529;
}

.org-box p {
  font-size: 0.9rem;
  color: #6c757d;
}

/* Buttons */
.btn-success {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-success:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-outline-success {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-success:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

/* Typography Improvements */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  line-height: 1.3;
}

p, span, li {
  color: var(--text-medium);
  line-height: 1.6;
}

/* Section Headers */
.section-header h2 {
  color: var(--primary-color);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.section-subheading {
  color: var(--text-medium);
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Card Content */
.news-content h5 {
  color: var(--text-dark);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.8rem;
}

.news-content p {
  color: var(--text-medium);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Sidebar Typography */
.sidebar-title {
  color: var(--primary-color);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.doc-info h6 {
  color: var(--text-dark);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.doc-meta {
  color: var(--text-light);
  font-size: 0.85rem;
}

/* Button Typography */
.btn {
  font-weight: 500;
  letter-spacing: 0.3px;
}

.btn-success {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--bg-white);
  font-weight: 500;
}

.btn-success:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--bg-white);
}

.btn-outline-success {
  color: var(--primary-color);
  border-color: var(--primary-color);
  font-weight: 500;
}

.btn-outline-success:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--bg-white);
}

/* Footer Typography */
.footer {
  background-color: var(--primary-dark);
}

.footer h5 {
  color: var(--bg-white);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.footer-links a {
  color: var(--bg-gray);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--secondary-light);
}

/* Mobile Typography */
@media (max-width: 768px) {
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .section-subheading {
    font-size: 1rem;
  }
  
  .news-content h5 {
    font-size: 1.1rem;
  }
  
  .navbar-brand {
    font-size: 1.2rem;
  }
  
  .nav-link {
    font-size: 0.95rem;
  }
}

/* Navbar Mobile */
@media (max-width: 991px) {
  .navbar {
    background: var(--primary-dark);
  }

  .navbar-collapse {
    background: var(--bg-white);
    padding: 1rem;
    border-radius: 12px;
    margin-top: 1rem;
    box-shadow: var(--shadow-lg);
  }

  .navbar-nav {
    padding: 0.5rem;
  }

  .nav-item {
    margin: 0.5rem 0;
  }

  .nav-link {
    color: var(--text-dark) !important;
    padding: 0.8rem 1rem !important;
    border-radius: 8px;
    font-weight: 500;
  }

  .nav-link:hover,
  .nav-link.active {
    color: var(--primary-color) !important;
    background-color: rgba(45, 106, 79, 0.1);
  }

  /* Brand */
  .navbar-brand {
    color: var(--bg-white) !important;
  }

  /* Hamburger Menu */
  .navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 0.5rem;
    border-radius: 4px;
  }

  .navbar-toggler:focus {
    box-shadow: none;
    outline: none;
  }

  .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.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }

  /* Mobile Menu Items */
  .navbar .btn {
    margin: 0.5rem 1rem;
    width: calc(100% - 2rem);
    text-align: center;
    justify-content: center;
  }

  .navbar .btn-success {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border: none;
  }

  .navbar .btn-outline-light {
    color: var(--primary-color);
    border-color: var(--primary-color);
  }

  .navbar .btn-outline-light:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
  }
}

/* Additional Mobile Styles */
@media (max-width: 576px) {
  .navbar-brand {
    font-size: 1.2rem;
  }

  .navbar-brand img {
    height: 35px;
  }

  .navbar-collapse {
    margin: 1rem -1rem 0;
    border-radius: 12px;
  }
}

/* Program Section Styles */
.program-section {
  padding: var(--section-spacing-y) 0;
  background: var(--bg-light);
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.program-card {
  background: var(--bg-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.program-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.program-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

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

.program-card:hover .program-image img {
  transform: scale(1.05);
}

.program-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.program-category {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--primary-color);
  color: var(--bg-white);
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.program-content {
  padding: 2rem;
}

.program-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.program-icon {
  width: 48px;
  height: 48px;
  background: rgba(45, 106, 79, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.program-icon i {
  font-size: 24px;
  color: var(--primary-color);
}

.program-title h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.program-title p {
  font-size: 0.95rem;
  color: var(--text-medium);
  line-height: 1.5;
}

.program-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.program-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  color: var(--text-medium);
}

.program-list li i {
  color: var(--primary-color);
  font-size: 1.25rem;
  margin-top: 0.2rem;
}

/* Responsive */
@media (max-width: 991px) {
  .program-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .program-image {
    height: 200px;
  }

  .program-content {
    padding: 1.5rem;
  }

  .program-icon {
    width: 40px;
    height: 40px;
  }

  .program-icon i {
    font-size: 20px;
  }

  .program-title h4 {
    font-size: 1.1rem;
  }
}

.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
}

.service-card, .news-card, .stat-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Smooth Animations */
.animate-hover {
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.animate-hover:hover {
  transform: translateY(-5px);
}

.fade-in {
  animation: fadeIn 0.5s ease-in;
}

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

/* Modern Gradients */
.gradient-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-border {
  border: double 2px transparent;
  background-image: linear-gradient(white, white), 
                    linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  background-origin: border-box;
  background-clip: content-box, border-box;
}

/* Enhanced Hover Effects */
.hover-lift {
  transition: all 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.hover-scale {
  transition: all 0.3s ease;
}

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

/* Skeleton Loading Effect */
.skeleton {
  background: linear-gradient(90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0) 100%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Mobile Optimizations */
@media (max-width: 576px) {
  /* Reduce padding and margins on mobile */
  section {
    padding: 3rem 0;
  }
  
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Optimize font sizes for mobile */
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  /* Optimize touch targets */
  button, 
  .btn,
  .nav-link,
  a.card,
  .card-header button {
    min-height: 44px;
    min-width: 44px;
    padding: 10px 15px;
  }
  
  /* Improve form elements on mobile */
  input, 
  select, 
  textarea {
    font-size: 16px !important; /* Prevents iOS zoom on focus */
  }
  
  /* Optimize images for mobile */
  img {
    max-width: 100%;
    height: auto;
  }
  
  /* Optimize charts for mobile */
  canvas {
    max-height: 300px;
  }
  
  /* Optimize tables for mobile */
  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .back-to-top,
  .no-print {
    display: none !important;
  }
  
  body {
    padding-top: 0;
  }
  
  a[href]:after {
    content: " (" attr(href) ")";
  }
  
  abbr[title]:after {
    content: " (" attr(title) ")";
  }
  
  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }
  
  @page {
    margin: 2cm;
  }
  
  h2, h3 {
    page-break-after: avoid;
  }
  
  p, h2, h3 {
    orphans: 3;
    widows: 3;
  }
}

/* Statistik Section Styles */
.statistics-section {
  background-color: #f9f9f9;
  padding: 80px 0;
}

.statistics-filter {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  margin-bottom: 30px;
}

.statistic-card {
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.statistic-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.statistic-card .card-header {
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
  background-color: #f8f9fa;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.statistic-card .card-body {
  padding: 20px;
  height: 340px;
}

.chart-container {
  width: 100%;
  height: 100%;
}

.chart-controls .btn-group {
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.chart-controls .btn {
  font-size: 0.875rem;
  padding: 0.25rem 0.5rem;
}

.chart-controls .btn i {
  margin-right: 3px;
}

.btn-outline-primary.active {
  background-color: #0d6efd;
  color: white;
}

.btn-outline-primary:not(.active) {
  background-color: white;
  color: #0d6efd;
}