* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: white;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #00c3ff;
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.menu {
  display: flex;
  align-items: center;
}

.menu a {
  text-decoration: none;
  color: white;
  margin: 0 15px;
  font-weight: bold;
  padding: 8px 12px;
}

.menu a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  transition: background-color 0.5s ease;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  height: 3px;
  width: 25px;
  background: white;
  margin-bottom: 5px;
  border-radius: 5px;
}

#toggle {
  display: none;
}

.logo img {
  height: 40px;
  border-radius: 50%;
}

@media (max-width: 768px) {
  nav {
    flex-wrap: wrap;
  }

  .menu {
    display: none;
    width: 100%;
    background-color: #00c3ff;
    position: absolute;
    top: 60px;
    left: 0;
    padding: 20px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }

  .menu a {
    display: block;
    margin: 10px 0;
    text-align: center;
    padding: 12px 20px;
  }

  #toggle:checked ~ .menu {
    display: flex;
    flex-direction: column;
  }

  .menu-toggle {
    display: flex;
  }

  .tugas-item {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .tugas-item img {
    width: 120px;
    height: 120px;
    margin: 0 0 15px 0;
  }

  .tugas-info h3,
  .tugas-info p {
    text-align: center;
  }
}

.tugas-kelas {
  background-color: #f0f0f0;
  padding: 40px 20px;
  text-align: center;
}

.tugas-kelas h2 {
  margin-bottom: 30px;
  color: #333;
}

.tugas-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.tugas-item {
  display: flex;
  align-items: center;
  background-color: white;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

.tugas-item:hover {
  transform: scale(1.01);
}

.tugas-item img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
  margin-right: 20px;
}

.tugas-info h3 {
  margin-bottom: 5px;
  font-size: 16px;
  color: #007acc;
  text-align: left;
}

.tugas-info p {
  font-size: 14px;
  color: #333;
  text-align: left;
}


.info-kelas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 150px 20px;
  gap: 40px;
  background-color: white;
}

.info-text {
  max-width: 500px;
}

.info-text h2 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #007acc;
}

.info-text p {
  font-size: 16px;
  margin-bottom: 10px;
  color: #333;
}

.info-image img {
  max-width: 300px;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .info-kelas {
    flex-direction: column;
    text-align: center;
  }

  .info-text, .info-image {
    max-width: 100%;
  }

  .info-image img {
    width: 80%;
  }
}


.struktur-kelas {
  text-align: center;
  padding: 40px 20px;
  background: #f0f0f0;
}

.struktur-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.struktur-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.struktur {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  padding: 10px;
  width: 120px;
  text-align: center;
}

.struktur img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
}

.jabatan {
  font-weight: bold;
}

.nama {
  font-size: 0.9em;
  color: #555;
}

.jadwal-piket {
  padding: 85px;
  background: #ffffff;
}

.jadwal-piket h2 {
  text-align: center;
  margin-bottom: 20px;
}

.hari {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.kolom {
  background: white;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  width: 200px;
}

.kolom h3 {
  color: #007bff;
  margin-bottom: 10px;
  text-align: center;
}

.kolom ul {
  list-style-type: none;
  padding-left: 0;
  margin: 0;
}

.kolom ul li {
  padding: 4px 0;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

@media (max-width: 768px) {
  .hari {
    flex-direction: column;
    align-items: center;
  }

  .kolom {
    width: 90%;
  }
}

.footer {
  background-color: #2c2c2c;
  color: white;
  padding: 40px 20px 20px;
  font-size: 14px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  max-width: 1000px;
  margin: auto;
}

.footer-section {
  flex: 1 1 200px;
  min-width: 200px;
}

.footer-section h3 {
  margin-bottom: 10px;
  font-size: 16px;
  color: #ffffff;
}

.footer-section p {
  line-height: 1.6;
  color: #cccccc;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 13px;
  color: #888;
}

/* Responsive: smartphone */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}


html, body {
  height: 100%;
  margin: 0;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page-wrapper > .footer {
  margin-top: auto;
}


.jadwal-piket h2 {
  color: rgb(47, 12, 155);
}