:root {
    --primary: #4caf50;
    --secondary: #4caf50;
    --accent: #93C572;
    --light: #f5f5f5;
    --dark: #212121;
    --success: #4caf50;
    --warning: #ff9800;
    --danger: #f44336;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #f0f2f5;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}

.judul-halaman-wrapper {
  position: relative;
  background-image: url("/images/sekolah.jpg");
  /* Ganti dengan gambar background kamu */
  background-size: cover;
  background-position: center;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;  
}

.judul-halaman-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  /* overlay gelap agar teks lebih jelas */
  z-index: 1;
}

.judul-halaman-konten {
  position: relative;
  z-index: 2;
}

.judul-halaman-konten h1 {
  font-size: 36px;
  font-family: "Poppins", sans-serif;
  margin-bottom: 10px;
}

.judul-halaman-konten h2{
  font-family: "Poppins", sans-serif;
  margin-bottom: 10px;
}

.judul-halaman-konten p {
  font-size: 16px;
  color: #eee;
}

.judul-halaman-konten a {
  color: #f8f8f8;
  text-decoration: none;
  font-weight: bold;
}

.judul-halaman-konten a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .judul-halaman-wrapper {
      height: 200px;
  }

  .judul-halaman-konten h1 {
      font-size: 24px;
  }

  .judul-halaman-konten p {
      font-size: 14px;
  }

  .judul-halaman-konten h1 {
    font-size: 36px;
    font-family: "Poppins", sans-serif;
    margin-bottom: 10px;
  }

  .judul-halaman-konten h2 {
    font-size: 14px;
    font-family: "Poppins", sans-serif;
    margin-bottom: 10px;
  }
}

.judul-halaman {
  text-align: center;
  color: #2e7d32;
  margin-bottom: 25px;
  font-weight: bold;
  font-family: "Poppins", sans-serif;
}


.judul-program {
    font-size: 36px;
    font-weight: 700;
    color: #00796b; /* hijau gelap */
    text-align: center;
    margin-bottom: 20px;
}

.deskripsi-program {
    font-size: 12px;
    text-align: justify;
    color: #555;
}

.subjudul {
    font-size: 22px;
    font-weight: bold;
    color: #00695c;
    margin-top: 30px;
}

@media (prefers-reduced-motion: reduce) {
    .btn {
      transition: none;
    }
  }
  
  .btn:hover {
    color: #858796;
    text-decoration: none;
  }
  
  .btn:focus, .btn.focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.25);
  }
  
  .btn.disabled, .btn:disabled {
    opacity: 0.65;
  }
  
  .btn:not(:disabled):not(.disabled) {
    cursor: pointer;
  }
  
  a.btn.disabled,
  fieldset:disabled a.btn {
    pointer-events: none;
  }
  
  .btn-primary {
    color: #fff;
    background-color: #4e73df;
    border-color: #4e73df;
  }
  
  .btn-primary:hover {
    color: #fff;
    background-color: #2e59d9;
    border-color: #2653d4;
  }
  
  .btn-primary:focus, .btn-primary.focus {
    color: #fff;
    background-color: #2e59d9;
    border-color: #2653d4;
    box-shadow: 0 0 0 0.2rem rgba(105, 136, 228, 0.5);
  }
  
  .btn-primary.disabled, .btn-primary:disabled {
    color: #fff;
    background-color: #4e73df;
    border-color: #4e73df;
  }
  
  .btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active,
  .show > .btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #2653d4;
    border-color: #244ec9;
  }
  
  .btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled).active:focus,
  .show > .btn-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(105, 136, 228, 0.5);
  }
  
  .btn-secondary {
    color: #fff;
    background-color: #858796;
    border-color: #858796;
  }
  
  .btn-secondary:hover {
    color: #fff;
    background-color: #717384;
    border-color: #6b6d7d;
  }
  
  .btn-secondary:focus, .btn-secondary.focus {
    color: #fff;
    background-color: #717384;
    border-color: #6b6d7d;
    box-shadow: 0 0 0 0.2rem rgba(151, 153, 166, 0.5);
  }
  
  .btn-secondary.disabled, .btn-secondary:disabled {
    color: #fff;
    background-color: #858796;
    border-color: #858796;
  }
  
  .btn-secondary:not(:disabled):not(.disabled):active, .btn-secondary:not(:disabled):not(.disabled).active,
  .show > .btn-secondary.dropdown-toggle {
    color: #fff;
    background-color: #6b6d7d;
    border-color: #656776;
  }
  
  .btn-secondary:not(:disabled):not(.disabled):active:focus, .btn-secondary:not(:disabled):not(.disabled).active:focus,
  .show > .btn-secondary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(151, 153, 166, 0.5);
  }
  
  .btn-success {
    color: #fff;
    background-color: #1cc88a;
    border-color: #1cc88a;
  }
  
  .btn-success:hover {
    color: #fff;
    background-color: #17a673;
    border-color: #169b6b;
  }
  
  .btn-success:focus, .btn-success.focus {
    color: #fff;
    background-color: #17a673;
    border-color: #169b6b;
    box-shadow: 0 0 0 0.2rem rgba(62, 208, 156, 0.5);
  }
  
  .btn-success.disabled, .btn-success:disabled {
    color: #fff;
    background-color: #1cc88a;
    border-color: #1cc88a;
  }
  
  .btn-success:not(:disabled):not(.disabled):active, .btn-success:not(:disabled):not(.disabled).active,
  .show > .btn-success.dropdown-toggle {
    color: #fff;
    background-color: #169b6b;
    border-color: #149063;
  }
  
  .btn-success:not(:disabled):not(.disabled):active:focus, .btn-success:not(:disabled):not(.disabled).active:focus,
  .show > .btn-success.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(62, 208, 156, 0.5);
  }
  
  .btn-info {
    color: #fff;
    background-color: #36b9cc;
    border-color: #36b9cc;
  }
  
  .btn-info:hover {
    color: #fff;
    background-color: #2c9faf;
    border-color: #2a96a5;
  }
  
  .btn-info:focus, .btn-info.focus {
    color: #fff;
    background-color: #2c9faf;
    border-color: #2a96a5;
    box-shadow: 0 0 0 0.2rem rgba(84, 196, 212, 0.5);
  }
  
  .btn-info.disabled, .btn-info:disabled {
    color: #fff;
    background-color: #36b9cc;
    border-color: #36b9cc;
  }
  
  .btn-info:not(:disabled):not(.disabled):active, .btn-info:not(:disabled):not(.disabled).active,
  .show > .btn-info.dropdown-toggle {
    color: #fff;
    background-color: #2a96a5;
    border-color: #278c9b;
  }
  
  .btn-info:not(:disabled):not(.disabled):active:focus, .btn-info:not(:disabled):not(.disabled).active:focus,
  .show > .btn-info.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(84, 196, 212, 0.5);
  }
  
  .btn-warning {
    color: #fff;
    background-color: #f6c23e;
    border-color: #f6c23e;
  }
  
  .btn-warning:hover {
    color: #fff;
    background-color: #f4b619;
    border-color: #f4b30d;
  }
  
  .btn-warning:focus, .btn-warning.focus {
    color: #fff;
    background-color: #f4b619;
    border-color: #f4b30d;
    box-shadow: 0 0 0 0.2rem rgba(247, 203, 91, 0.5);
  }
  
  .btn-warning.disabled, .btn-warning:disabled {
    color: #fff;
    background-color: #f6c23e;
    border-color: #f6c23e;
  }
  
  .btn-warning:not(:disabled):not(.disabled):active, .btn-warning:not(:disabled):not(.disabled).active,
  .show > .btn-warning.dropdown-toggle {
    color: #fff;
    background-color: #f4b30d;
    border-color: #e9aa0b;
  }
  
  .btn-warning:not(:disabled):not(.disabled):active:focus, .btn-warning:not(:disabled):not(.disabled).active:focus,
  .show > .btn-warning.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(247, 203, 91, 0.5);
  }
  
  .btn-danger {
    color: #fff;
    background-color: #e74a3b;
    border-color: #e74a3b;
  }
  
  .btn-danger:hover {
    color: #fff;
    background-color: #e02d1b;
    border-color: #d52a1a;
  }
  
  .btn-danger:focus, .btn-danger.focus {
    color: #fff;
    background-color: #e02d1b;
    border-color: #d52a1a;
    box-shadow: 0 0 0 0.2rem rgba(235, 101, 88, 0.5);
  }
  
  .btn-danger.disabled, .btn-danger:disabled {
    color: #fff;
    background-color: #e74a3b;
    border-color: #e74a3b;
  }
  
  .btn-danger:not(:disabled):not(.disabled):active, .btn-danger:not(:disabled):not(.disabled).active,
  .show > .btn-danger.dropdown-toggle {
    color: #fff;
    background-color: #d52a1a;
    border-color: #ca2819;
  }
  
  .btn-danger:not(:disabled):not(.disabled):active:focus, .btn-danger:not(:disabled):not(.disabled).active:focus,
  .show > .btn-danger.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(235, 101, 88, 0.5);
  }
  
  .btn-light {
    color: #3a3b45;
    background-color: #f8f9fc;
    border-color: #f8f9fc;
  }
  
  .btn-light:hover {
    color: #3a3b45;
    background-color: #dde2f1;
    border-color: #d4daed;
  }
  
  .btn-light:focus, .btn-light.focus {
    color: #3a3b45;
    background-color: #dde2f1;
    border-color: #d4daed;
    box-shadow: 0 0 0 0.2rem rgba(220, 221, 225, 0.5);
  }
  
  .btn-light.disabled, .btn-light:disabled {
    color: #3a3b45;
    background-color: #f8f9fc;
    border-color: #f8f9fc;
  }
  
  .btn-light:not(:disabled):not(.disabled):active, .btn-light:not(:disabled):not(.disabled).active,
  .show > .btn-light.dropdown-toggle {
    color: #3a3b45;
    background-color: #d4daed;
    border-color: #cbd3e9;
  }
  
  .btn-light:not(:disabled):not(.disabled):active:focus, .btn-light:not(:disabled):not(.disabled).active:focus,
  .show > .btn-light.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(220, 221, 225, 0.5);
  }
  
  .btn-dark {
    color: #fff;
    background-color: #5a5c69;
    border-color: #5a5c69;
  }

  .btn-dark:hover {
    color: #fff;
    background-color: #484a54;
    border-color: #42444e;
  }
  
  .btn-dark:focus, .btn-dark.focus {
    color: #fff;
    background-color: #484a54;
    border-color: #42444e;
    box-shadow: 0 0 0 0.2rem rgba(115, 116, 128, 0.5);
  }
  
  .btn-dark.disabled, .btn-dark:disabled {
    color: #fff;
    background-color: #5a5c69;
    border-color: #5a5c69;
  }
  
  .btn-dark:not(:disabled):not(.disabled):active, .btn-dark:not(:disabled):not(.disabled).active,
  .show > .btn-dark.dropdown-toggle {
    color: #fff;
    background-color: #42444e;
    border-color: #3d3e47;
  }
  
  .btn-dark:not(:disabled):not(.disabled):active:focus, .btn-dark:not(:disabled):not(.disabled).active:focus,
  .show > .btn-dark.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(115, 116, 128, 0.5);
  }
  
  .btn-outline-primary {
    color: #4e73df;
    border-color: #4e73df;
  }
  
  .btn-outline-primary:hover {
    color: #fff;
    background-color: #4e73df;
    border-color: #4e73df;
  }
  
  .btn-outline-primary:focus, .btn-outline-primary.focus {
    box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.5);
  }
  
  .btn-outline-primary.disabled, .btn-outline-primary:disabled {
    color: #4e73df;
    background-color: transparent;
  }
  
  .btn-outline-primary:not(:disabled):not(.disabled):active, .btn-outline-primary:not(:disabled):not(.disabled).active,
  .show > .btn-outline-primary.dropdown-toggle {
    color: #fff;
    background-color: #4e73df;
    border-color: #4e73df;
  }
  
  .btn-outline-primary:not(:disabled):not(.disabled):active:focus, .btn-outline-primary:not(:disabled):not(.disabled).active:focus,
  .show > .btn-outline-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.5);
  }
  
  .btn-outline-secondary {
    color: #858796;
    border-color: #858796;
  }
  
  .btn-outline-secondary:hover {
    color: #fff;
    background-color: #858796;
    border-color: #858796;
  }
  
  .btn-outline-secondary:focus, .btn-outline-secondary.focus {
    box-shadow: 0 0 0 0.2rem rgba(133, 135, 150, 0.5);
  }
  
  .btn-outline-secondary.disabled, .btn-outline-secondary:disabled {
    color: #858796;
    background-color: transparent;
  }
  
  .btn-outline-secondary:not(:disabled):not(.disabled):active, .btn-outline-secondary:not(:disabled):not(.disabled).active,
  .show > .btn-outline-secondary.dropdown-toggle {
    color: #fff;
    background-color: #858796;
    border-color: #858796;
  }
  
  .btn-outline-secondary:not(:disabled):not(.disabled):active:focus, .btn-outline-secondary:not(:disabled):not(.disabled).active:focus,
  .show > .btn-outline-secondary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(133, 135, 150, 0.5);
  }
  
  .btn-outline-success {
    color: #1cc88a;
    border-color: #1cc88a;
  }
  
  .btn-outline-success:hover {
    color: #fff;
    background-color: #1cc88a;
    border-color: #1cc88a;
  }
  
  .btn-outline-success:focus, .btn-outline-success.focus {
    box-shadow: 0 0 0 0.2rem rgba(28, 200, 138, 0.5);
  }
  
  .btn-outline-success.disabled, .btn-outline-success:disabled {
    color: #1cc88a;
    background-color: transparent;
  }
  
  .btn-outline-success:not(:disabled):not(.disabled):active, .btn-outline-success:not(:disabled):not(.disabled).active,
  .show > .btn-outline-success.dropdown-toggle {
    color: #fff;
    background-color: #1cc88a;
    border-color: #1cc88a;
  }
  
  .btn-outline-success:not(:disabled):not(.disabled):active:focus, .btn-outline-success:not(:disabled):not(.disabled).active:focus,
  .show > .btn-outline-success.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(28, 200, 138, 0.5);
  }
  
  .btn-outline-info {
    color: #36b9cc;
    border-color: #36b9cc;
  }
  
  .btn-outline-info:hover {
    color: #fff;
    background-color: #36b9cc;
    border-color: #36b9cc;
  }
  
  .btn-outline-info:focus, .btn-outline-info.focus {
    box-shadow: 0 0 0 0.2rem rgba(54, 185, 204, 0.5);
  }
  
  .btn-outline-info.disabled, .btn-outline-info:disabled {
    color: #36b9cc;
    background-color: transparent;
  }
  
  .btn-outline-info:not(:disabled):not(.disabled):active, .btn-outline-info:not(:disabled):not(.disabled).active,
  .show > .btn-outline-info.dropdown-toggle {
    color: #fff;
    background-color: #36b9cc;
    border-color: #36b9cc;
  }
  
  .btn-outline-info:not(:disabled):not(.disabled):active:focus, .btn-outline-info:not(:disabled):not(.disabled).active:focus,
  .show > .btn-outline-info.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(54, 185, 204, 0.5);
  }
  
  .btn-outline-warning {
    color: #f6c23e;
    border-color: #f6c23e;
  }
  
  .btn-outline-warning:hover {
    color: #fff;
    background-color: #f6c23e;
    border-color: #f6c23e;
  }
  
  .btn-outline-warning:focus, .btn-outline-warning.focus {
    box-shadow: 0 0 0 0.2rem rgba(246, 194, 62, 0.5);
  }
  
  .btn-outline-warning.disabled, .btn-outline-warning:disabled {
    color: #f6c23e;
    background-color: transparent;
  }
  
  .btn-outline-warning:not(:disabled):not(.disabled):active, .btn-outline-warning:not(:disabled):not(.disabled).active,
  .show > .btn-outline-warning.dropdown-toggle {
    color: #fff;
    background-color: #f6c23e;
    border-color: #f6c23e;
  }
  
  .btn-outline-warning:not(:disabled):not(.disabled):active:focus, .btn-outline-warning:not(:disabled):not(.disabled).active:focus,
  .show > .btn-outline-warning.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(246, 194, 62, 0.5);
  }
  
  .btn-outline-danger {
    color: #e74a3b;
    border-color: #e74a3b;
  }
  
  .btn-outline-danger:hover {
    color: #fff;
    background-color: #e74a3b;
    border-color: #e74a3b;
  }
  
  .btn-outline-danger:focus, .btn-outline-danger.focus {
    box-shadow: 0 0 0 0.2rem rgba(231, 74, 59, 0.5);
  }
  
  .btn-outline-danger.disabled, .btn-outline-danger:disabled {
    color: #e74a3b;
    background-color: transparent;
  }
  
  .btn-outline-danger:not(:disabled):not(.disabled):active, .btn-outline-danger:not(:disabled):not(.disabled).active,
  .show > .btn-outline-danger.dropdown-toggle {
    color: #fff;
    background-color: #e74a3b;
    border-color: #e74a3b;
  }
  
  .btn-outline-danger:not(:disabled):not(.disabled):active:focus, .btn-outline-danger:not(:disabled):not(.disabled).active:focus,
  .show > .btn-outline-danger.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(231, 74, 59, 0.5);
  }
  
  .btn-outline-light {
    color: #f8f9fc;
    border-color: #f8f9fc;
  }
  
  .btn-outline-light:hover {
    color: #3a3b45;
    background-color: #f8f9fc;
    border-color: #f8f9fc;
  }
  
  .btn-outline-light:focus, .btn-outline-light.focus {
    box-shadow: 0 0 0 0.2rem rgba(248, 249, 252, 0.5);
  }
  
  .btn-outline-light.disabled, .btn-outline-light:disabled {
    color: #f8f9fc;
    background-color: transparent;
  }
  
  .btn-outline-light:not(:disabled):not(.disabled):active, .btn-outline-light:not(:disabled):not(.disabled).active,
  .show > .btn-outline-light.dropdown-toggle {
    color: #3a3b45;
    background-color: #f8f9fc;
    border-color: #f8f9fc;
  }
  
  .btn-outline-light:not(:disabled):not(.disabled):active:focus, .btn-outline-light:not(:disabled):not(.disabled).active:focus,
  .show > .btn-outline-light.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(248, 249, 252, 0.5);
  }
  
  .btn-outline-dark {
    color: #5a5c69;
    border-color: #5a5c69;
  }
  
  .btn-outline-dark:hover {
    color: #fff;
    background-color: #5a5c69;
    border-color: #5a5c69;
  }
  
  .btn-outline-dark:focus, .btn-outline-dark.focus {
    box-shadow: 0 0 0 0.2rem rgba(90, 92, 105, 0.5);
  }
  
  .btn-outline-dark.disabled, .btn-outline-dark:disabled {
    color: #5a5c69;
    background-color: transparent;
  }
  
  .btn-outline-dark:not(:disabled):not(.disabled):active, .btn-outline-dark:not(:disabled):not(.disabled).active,
  .show > .btn-outline-dark.dropdown-toggle {
    color: #fff;
    background-color: #5a5c69;
    border-color: #5a5c69;
  }
  
  .btn-outline-dark:not(:disabled):not(.disabled):active:focus, .btn-outline-dark:not(:disabled):not(.disabled).active:focus,
  .show > .btn-outline-dark.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(90, 92, 105, 0.5);
  }
  
  .btn-link {
    font-weight: 400;
    color: #4e73df;
    text-decoration: none;
  }
  
  .btn-link:hover {
    color: #224abe;
    text-decoration: underline;
  }
  
  .btn-link:focus, .btn-link.focus {
    text-decoration: underline;
  }
  
  .btn-link:disabled, .btn-link.disabled {
    color: #858796;
    pointer-events: none;
  }
  
  .btn-lg, .btn-group-lg > .btn {
    padding: 0.5rem 1rem;
    font-size: 1.25rem;
    line-height: 1.5;
    border-radius: 0.3rem;
  }
  
  .btn-sm, .btn-group-sm > .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 0.2rem;
  }
  
  .btn-block {
    display: block;
    width: 100%;
  }
  
  .btn-block + .btn-block {
    margin-top: 0.5rem;
  }
  
  input[type="submit"].btn-block,
  input[type="reset"].btn-block,
  input[type="button"].btn-block {
    width: 100%;
  }

  .fade {
    transition: opacity 0.15s linear;
  }

.tabel-wrapper {
    max-width: 960px;
    margin: 20px auto;
    padding: 20px;
    /* background-color: #f8f9fa;
    border-radius: 12px; */
    text-align: center;
    /* box-shadow: 0 0 15px rgba(76, 175, 80, 0.3); */
  }

  .judul-tabel {
    color: #2e7d32;
    font-weight: bold;
    font-size: 24px;
    background: linear-gradient(to right, #d1ffd1, #d1ffd1);
    display: inline-block;
    padding: 5px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }

/* Header Styles */
.top-header {
    background-color: var(--primary);
    color: white;
    padding: 15px 0;
    position: relative;
    overflow: hidden;
}

.logo-container {
    display: flex;
    align-items: center;
    z-index: 2;
}

.logo {
    width: 150px;
    height: 80px;
    border-radius: 0%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.logo img {
    width: 120px;
    height: 70px;
    object-fit: cover;
}

.school-name h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.school-name p {
    font-size: 14px;
    opacity: 0.9;
}

.header-right {
    display: flex;
    align-items: center;
    z-index: 2;
}

.search-box {
    position: relative;
    margin-right: 20px;
}

.search-box input {
    padding: 8px 15px;
    padding-right: 40px;
    border-radius: 20px;
    border: none;
    width: 220px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    width: 250px;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.search-box button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
}

.social-icons a {
    color: white;
    margin-left: 15px;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: var(--warning);
    transform: scale(1.1);
}

.header-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(45deg, rgba(0, 0, 0, 0.1) 25%, transparent 25%, transparent 50%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.1) 75%, transparent 75%, transparent);
    background-size: 10px 10px;
    opacity: 0.3;
}

/* Navigation Styles */
.main-nav {
    background-color: var(--secondary);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.menu {
    display: flex;
    list-style: none;
}

.menu li {
    position: relative;
}

.menu a {
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    display: block;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
}

.menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background-color: var(--warning);
    bottom: 0;
    right: 100%;
    transform: translateX(100%);
    transition: width 0.5s ease;
}

.menu a:hover::after,
.menu a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
}


.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide.active {
    opacity: 1;
}

.slide-1 {
    background-image: url('/api/placeholder/1200/500');
}

.slide-2 {
    background-image: url('/api/placeholder/1200/500');
}

.slide-3 {
    background-image: url('/api/placeholder/1200/500');
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
}

.slide-content h2 {
    font-size: 32px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content p {
    font-size: 16px;
    max-width: 600px;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    /* background-color: var(--primary); */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn:hover {
    /* background-color: var(--accent); */
    /* transform: translateY(-2px); */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.slider-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background-color: white;
    transform: scale(1.2);
}

/* Announcement Banner */
.announcement-banner {
    background-color: var(--warning);
    color: white;
    padding: 10px 0;
    overflow: hidden;
}

.announcement-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.announcement-label {
    background-color: white;
    color: var(--warning);
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: 700;
    margin-right: 15px;
    font-size: 14px;
    text-transform: uppercase;
}

.announcements {
    flex: 1;
    white-space: nowrap;
    animation: scroll 20s linear infinite;
}

.announcement-item {
    display: inline-block;
    margin-right: 50px;
}

.announcement-item a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.announcement-item a:hover {
    text-decoration: underline;
}

@keyframes scroll {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

/* Featured Section */
.featured-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.featured-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.featured-image {
    height: 200px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.featured-card:hover .featured-image img {
    transform: scale(1.1);
}

.featured-content {
    padding: 20px;
}

.featured-content .badge {
    display: inline-block;
    padding: 5px 10px;
    background-color: var(--accent);
    color: white;
    border-radius: 3px;
    font-size: 12px;
    margin-bottom: 10px;
}

.featured-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--dark);
}

.featured-content p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.featured-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
    color: #888;
    font-size: 12px;
}

/* Latest News Section */
.section-title {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.section-title h2 {
    color: var(--primary);
    font-weight: 700;
    font-size: 24px;
    position: relative;
    padding-left: 15px;
}

.section-title h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background-color: var(--primary);
    border-radius: 5px;
}

.section-title h3 {
    color: var(--primary);
    font-weight: 700;
    font-size: 24px;
    position: relative;
    padding-left: 15px;
}

.section-title h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background-color: var(--primary);
    border-radius: 5px;
}

.news-list {
    margin-bottom: 30px;
}

.news-item {
    display: flex;
    margin-bottom: 20px;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.news-image {
    width: 180px;
    min-width: 180px;
    height: 140px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    padding: 15px;
    flex: 1;
}

.news-content .badge {
    display: inline-block;
    padding: 3px 8px;
    background-color: var(--accent);
    color: white;
    border-radius: 3px;
    font-size: 12px;
    margin-bottom: 8px;
}

.news-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--dark);
}

.news-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    color: #888;
    font-size: 12px;
}

/* Timeline Section */
.timeline-section {
    margin-bottom: 30px;
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 0;
    width: 3px;
    background-color: var(--secondary);
}

.timeline-item {
    position: relative;
    margin-bottom: 25px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -36px;
    top: 10px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: white;
    border: 3px solid var(--secondary);
    z-index: 1;
}

.timeline-date {
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--secondary);
    color: white;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 10px;
}

.timeline-content {
    background-color: white;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--dark);
}

.timeline-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.widget {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.widget-header {
    background-color: var(--primary);
    color: white;
    padding: 15px;
    font-weight: 700;
}

.widget-content {
    padding: 15px;
}

.tab-buttons {
    display: flex;
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
}

.tab-btn {
    flex: 1;
    padding: 10px;
    text-align: center;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
    color: #666;
    transition: all 0.3s ease;
}

.tab-btn.active {
    color: var(--primary);
    box-shadow: inset 0 -3px 0 var(--primary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.quick-links ul {
    list-style: none;
}

.quick-links li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.quick-links li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.quick-links a {
    color: var(--dark);
    text-decoration: none;
    display: block;
    padding: 5px 0;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 25px;
}

.quick-links a::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    transition: all 0.3s ease;
}

.quick-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.quick-links a:hover::before {
    left: 5px;
}

.upcoming-events .event {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.upcoming-events .event:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.event-date {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background-color: var(--accent);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    margin-right: 15px;
}

.event-date .day {
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

.event-date .month {
    font-size: 12px;
    text-transform: uppercase;
}

.event-details h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--dark);
}

.event-details p {
    font-size: 12px;
    color: #888;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.gallery-item {
    height: 100%;
    align-items: center;
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    background-color: white;
}

.gallery-item img {
    justify-content: center; /* Memusatkan secara horizontal */
    height: 100%;
}

/* Footer */
.footer {
    background-color: var(--dark);
    color: white;
    padding: 50px 0 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-widget h3 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent);
}

.footer-about p {
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 14px;
    color: #bbb;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-links a::before {
    content: '→';
    margin-right: 10px;
    color: var(--accent);
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    font-size: 14px;
    color: #bbb;
}

.footer-contact p span {
    margin-right: 10px;
    color: var(--accent);
}

.footer-newsletter p {
    margin-bottom: 15px;
    font-size: 14px;
    color: #bbb;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
}

.newsletter-form input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px 0 0 5px;
    font-size: 14px;
}

.newsletter-form button {
    padding: 10px 15px;
    background-color: var(--accent);
    color: white;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background-color: var(--primary);
}

.footer-bottom {
    background-color: #111;
    padding: 20px 0;
    margin-top: 30px;
    text-align: center;
    font-size: 14px;
    color: #bbb;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--accent);
    transform: translateY(-5px);
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeIn 0.5s ease forwards;
}

/* Media Queries */
@media (max-width: 992px) {
    .main-content {
        grid-template-columns: 1fr;
    }

    .hero {
        height: 400px;
    }

    .logo {
        width: 60px;
        height: 60px;
    }

    .logo img {
        width: 50px;
        height: 50px;
    }

    .school-name h1 {
        font-size: 24px;
    }

    .search-box {
        display: none;
    }
}

@media (max-width: 768px) {
    
    body {
        padding-top: 100px; /* biasanya navbar di HP lebih tinggi */
      }

    .menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--secondary);
        position: absolute;
        top: 60px;
        left: 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    }

    .menu.active {
        display: flex;
    }

    .menu ul {
      position: static;
      width: 93%;
      box-shadow: none;
      /* border-left: 2px solid var(--warning); */
      margin-left: 20px;
      opacity: 1;
      visibility: visible;
      display: none;
      /* Sembunyikan submenu default di mobile */
  }

    .menu li {
        width: 100%;
    }

    .menu li a {
        padding: 10px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .menu li a::after {
        display: none; /* Hilangkan garis bawah hover di mobile */
    }

    .menu li.has-submenu > a {
        position: relative;
        padding-right: 30px; /* Ruang untuk ikon */
    }

    .menu li.has-submenu > a::after {
        content: '\25BE'; /* Unicode untuk panah ke bawah (▼) */
        font-size: 14px;
        position: absolute;
        top: 50%;
        right: 10px;
        transform: translateY(-50%);
        transition: transform 0.3s ease;
    }

    .menu li.show-submenu > a::after {
        transform: translateY(-50%) rotate(180deg); /* Rotasi saat submenu aktif */
    }


    .menu li:hover > ul,
    .menu li.show-submenu > ul {
        display: block;
    }

    .menu-toggle {
        display: block;
    }

    .nav-container {
        padding: 10px 20px;
    }

    .menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 86%;
        height: 100vh;
        background-color: var(--primary);
        flex-direction: column;
        padding-top: 10px;
        transition: all 0.3s ease;
        z-index: 999;
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.2);
    }

    .menu.active {
        left: 0;
    }

    .menu-toggle {
        display: block;
        z-index: 1000;
    }

    .menu a {
        padding: 15px 30px;
        font-size: 16px;
    }

    .hero {
        height: 350px;
    }

    .slide-content h2 {
        font-size: 24px;
    }

    .featured-section {
        grid-template-columns: 1fr;
    }

    .news-image {
        width: 120px;
        min-width: 120px;
        height: 100px;
    }

    .news-content h3 {
        font-size: 16px;
    }

    .timeline::before {
        left: 15px;
    }

    .timeline-item::before {
        left: -21px;
    }

    .timeline {
        padding-left: 15px;
    }
}

@media (max-width: 576px) {
    .school-name h1 {
        font-size: 20px;
    }

    .logo {
        width: 50px;
        height: 50px;
        margin-right: 10px;
    }

    .logo img {
        width: 40px;
        height: 40px;
    }

    .header-right {
        display: none;
    }

    .slide-content h2 {
        font-size: 20px;
    }

    .slide-content p {
        font-size: 14px;
    }

    .news-item {
        flex-direction: column;
    }

    .news-image {
        width: 100%;
        height: 180px;
    }
}

nav ul li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #4caf50;
    min-width: 220px;
}

nav ul li:hover>ul {
    display: block;
}

nav ul li ul li a {
    font-weight: normal;
    color: #fff;
}

nav ul li ul li a::after {
    content: ' ▸';
    float: right;
}

nav ul li ul li:last-child a::after {
    content: '';
}




