header {
  background-color: #004dc9;
  color: #fff;
  position: relative;
  padding: 20px 0;
  opacity: 1;
}

main {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

body {
  background-color: #9561cd;
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0%;
  box-sizing: border-box;
}

.Webpageaboutme,
.WebpageGuru,
.WebPageDua,
.Webpage,
.WebPageProject {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    min-height: 100%;
    min-width: 100%;
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.8;
    pointer-events: none;
}

.Webpageaboutme   { background-image: url('https://tugassemesterganjil.fahrialmaalik.my.id/tes1/satuphp/gambar/WebpageAboutme.png'); }
.WebpageGuru      { background-image: url('https://tugassemesterganjil.fahrialmaalik.my.id/tes1/satuphp/gambar/WebpageGuru.png'); }
.WebPageDua       { background-image: url('https://tugassemesterganjil.fahrialmaalik.my.id/tes1/satuphp/gambar/WebPageDua.png'); }
.Webpage          { background-image: url('https://tugassemesterganjil.fahrialmaalik.my.id/tes1/satuphp/gambar/Webpage.png'); }
.WebPageProject   { background-image: url('https://tugassemesterganjil.fahrialmaalik.my.id/tes1/satuphp/gambar/Webpageproject.png'); }

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 1000;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
}

.logos {
  display: flex;
  gap: 50px;
  max-width: 200px;
  margin-left: 20px;
}

.logo {
  height: 50px;
  width: 50px;
  object-fit: fill;
  border-radius: 50%;
  border: 1px solid #fff;
}

img {
  width: 150px;
  height: auto;
  border-radius: 10px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #fff;
  z-index: 1100;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
    position: fixed;
    top: 20px;
    left: 20px;
    background: #004dc9;
    color: #fff;
    border: none;
    font-size: 2rem;
    border-radius: 8px;
    padding: 8px 14px;
    cursor: pointer;
    z-index: 1301;
    transition: background 0.2s, left 0.3s cubic-bezier(.23,1.02,.64,1);
  }
}

.header-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);  
}

.nav-list {
  list-style: none;
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-list li {
  display: flex;
}

.nav-list li a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  transition: all 0.3s ease;
  outline: none;
  min-width: 60px;
  text-align: center;
}

.nav-list li a:hover,
.nav-list li a:focus {
  background-color: #001db1a6;
  border-radius: 50px;
  box-shadow: 0 4px 8px rgba(30, 30, 30, 0.2);
  text-decoration-line: underline;
}

.nav-list li a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.header-right {
  width: 50px;
}

@media (max-width: 700px) {
  .header-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 10px;
  }

  .logos {
    margin-left: 0;
    gap: 20px;
    max-width: 100%;
  }

  .menu-toggle {
    display: block;
    position: absolute;
    right: 20px;
    top: 20px;
  }

  .header-center {
    display: none;
    position: static;
    left: 0;
    transform: none;
    width: 100%;
    margin-top: 10px;
    background: #003b89c2;
  }

  .header-center.active {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
    width: 100%;
    background: #0040c0ab;
  }

  .nav-list li {
    width: 100%;
  }

  .nav-list li a {
    display: block;
    width: 100%;
    text-align: left;
    padding: 12px 20px;
    border-radius: 0;
    border-bottom: 1px solid #0038b1a8;
  }

  .header-right {
    width: 100%;
    margin-top: 10px;
  }
}

.ucapan-selamat {
  width: 100%;
  margin: 32px auto 0 auto;
  padding: 24px 0;
  background: rgba(7, 141, 156, 0.4);
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 160, 178, 0.477);
  backdrop-filter: blur(2px);
}

.ucapan-selamat h1 {
  font-size: 2.6rem;
  color: #007c89;
  margin: 0;
  font-weight: 800;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px #fff, 0 1px 4px #b2e4ea;
}

.beranda-row {
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
  align-items: center;
  margin: 40px 0;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.beranda-col {
  color: #007c89;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 24px 20px;
  flex: 1 1 250px;
  min-width: 350px;
  max-width: 800px;
  margin: 8px 0;
  transform: translateY(40px);
  animation: fadeInUp 0.8s cubic-bezier(.23,1.02,.64,1) forwards;
  transition: box-shadow 0.3s, background 0.3s, filter 0.3s;
}

.beranda-col h2 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 28px;
  line-height: 1.3;
  text-align: center;
  opacity: 1.5;
}

.beranda-col p {
  margin: 0;
  font-size: 20px;
  line-height: 1.6;
  text-align: center;
  opacity: 1.5;
}


@media (max-width: 900px) {
  .beranda-row {
    flex-direction: column;
    align-items: stretch;
  }
  .beranda-col {
    max-width: 100%;
  }
}



.beranda-col:nth-child(2) {
  animation-delay: 0.2s;
}
.beranda-col:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.beranda-col:hover {
  background: rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  filter: brightness(1.05);
  transform: translateY(0);
  cursor: pointer;
}

.sejarah-row {
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
  align-items: center;
  margin: 40px 0;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.sejarah-col {
  color: #007c89;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 24px 20px;
  flex: 1 1 250px;
  min-width: 350px;
  max-width: 800px;
  margin: 8px 0;
  transform: translateY(40px);
  animation: fadeInUp 0.8s cubic-bezier(.23,1.02,.64,1) forwards;
  transition: box-shadow 0.3s, background 0.3s, filter 0.3s;
}

.sejarah-col h2 {
  color: #005a5a;
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 28px;
  line-height: 1.3;
  text-align: center;
  opacity: 1;
  text-shadow: 0 2px 8px #fff, 0 1px 4px #007c89, 0 0 2px #0003;
}

.sejarah-col p {
  color: #005a5a;
  margin: 0;
  font-size: 20px;
  line-height: 1.6;
  text-align: center;
  opacity: 1;
  text-shadow: 0 2px 8px #fff, 0 1px 4px #007c89, 0 0 2px #0003;
}

@media (max-width: 900px) {
  .sejarah-row {
    flex-direction: column;
    align-items: stretch;
  }
  .sejarah-col {
    max-width: 100%;
  }
}

.sejarah-col:nth-child(2) {
  animation-delay: 0.2s;
}
.sejarah-col:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sejarah-col:hover {
  background: rgba(255, 255, 255, 0.90);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.552);
  filter: brightness(1.05);
  transform: translateY(0);
  opacity: 1;
  cursor: pointer;
}

.prospek-card-list {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin: 48px 0 32px 0;
}

.prospek-card {
  background: rgba(230, 230, 230, 0.9);
  border-radius: 22px;
  box-shadow: 0 4px 18px rgba(0,124,137,0.13);
  padding: 48px 80px 36px 80px;
  min-width: 220px;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  position: relative;
  cursor: pointer;
}

.prospek-card:hover {
  background: rgba(230, 230, 230, 0.9);
  box-shadow: 0 12px 32px rgba(0,124,137,0.22);
  transform: translateY(-14px) scale(1.06);
}

.prospek-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 18px;
  filter: drop-shadow(0 2px 8px #b2e4ea);
}

.prospek-card span {
  font-size: 1.18rem;
  color: #007c89;
  font-weight: 600;
  text-align: center;
}

.guru-row {
  display: flex;
  justify-content: center;
  margin: 48px 0;
}

.guru-card-list {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}

.guru-card {
  background: rgba(255,255,255,0.7);
  border-radius: 24px;
  box-shadow: 0 2px 12px rgba(0,124,137,0.10);
  padding: 36px 56px 28px 56px;
  min-width: 260px;                
  max-width: 320px;                
  min-height: 290px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  position: relative;
  cursor: pointer;
  opacity: 0.98;
  backdrop-filter: blur(4px);
}

.guru-card:hover {
  background: rgba(230, 230, 230, 0.98);
  box-shadow: 0 8px 24px rgba(0,124,137,0.18);
  transform: translateY(-10px) scale(1.04);
}

.guru-foto {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 14px;
  border: 3px solid #b2e4ea;
  background: #e0f7fa;
}

.guru-nama {
  font-size: 20px;
  color: #007c89;
  font-weight: 700;
  margin-bottom: 4px;
  text-align: center;
  text-shadow: 0 2px 8px #fff, 0 1px 4px #b2e4ea;
}

.guru-mapel {
  font-size: 16px;
  color: #004d60;
  text-align: center;
  text-decoration-line: underline;
  font-weight: 600;
}

.guru-keahlian-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 18px;
}

.guru-keahlian {
  background: #007c89;
  color: #ffffff;
  border-radius: 12px;
  padding: 8px 20px;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 2px 8px #b2e4ea33;
  display: inline-block;
  min-width: 110px;
  text-align: center;
  border: 2px solid #fff;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.guru-keahlian:hover {
  background: #00b4d5;
  color: #fff;
  box-shadow: 0 4px 12px #007c89;
}

.aboutme-row {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  margin-top: 40px;
}

.aboutme-col {
  background: rgba(255,255,255,0.92);
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(0,124,137,0.10);
  padding: 36px 48px 28px 48px;
  min-width: 320px;
  max-width: 420px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.6s cubic-bezier(.23,1.02,.64,1), transform 0.6s cubic-bezier(.23,1.02,.64,1);
  cursor: pointer;
}

.aboutme-row:hover .aboutme-col,
.aboutme-col:hover {
  opacity: 1;
  transform: translateY(0);
  box-shadow: 0 8px 32px rgba(0,124,137,0.18);
}

.aboutme-foto {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #e0f7fa;
  margin-bottom: 18px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.aboutme-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aboutme-nama {
  font-size: 20px;
  color: #007c89;
  font-weight: 700;
  margin-bottom: 8px;
  text-align: center;
}

.aboutme-desc {
  font-size: 16px;
  color: #007c89;
  margin-bottom: 18px;
  text-align: center;
  background: #e0f7fa;
  color: #007c89;
  border-radius: 14px;
  padding: 5px 16px;
  font-size: 0.98rem;
  font-weight: 600;
  box-shadow: 0 1px 4px #b2e4ea33;
  display: inline-block;
}

.aboutme-info-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.aboutme-info {
  background: #e0f7fa;
  color: #007c89;
  border-radius: 14px;
  padding: 5px 16px;
  font-size: 0.98rem;
  font-weight: 600;
  box-shadow: 0 1px 4px #b2e4ea33;
  display: inline-block;
}

.aboutme-desk {
  background: #e0f7fa;
  color: #007c89;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0,124,137,0.10);
  margin-top: 20px;
}

.aboutme-pendidikan-list {
  margin-top: 18px;
}

.aboutme-pendidikan-title {
  font-weight: 700;
  color: #007c89;
  margin-bottom: 8px;
  display: block;
  flex-direction: column;
  text-align: center;
}

.aboutme-pendidikan-ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.aboutme-pendidikan {
  background: rgba(0,124,137,0.08);
  color: #007c89;
  border-radius: 12px;
  padding: 7px 18px;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 1px 4px #b2e4ea33;
  min-width: 180px;
  display: inline-block;
}

.footer {
  width: 100%;
  background: rgba(10, 23, 209, 0.2);
  color: #fff;
  padding: 40px 0 28px 0;
  margin-top: 48px;
  box-shadow: 0 -2px 12px rgba(0,124,137,0.10);
  position: relative;
  z-index: 10;
}

.footer-container {
  max-width: 1400px; 
  margin: 0 auto;
  padding: 0 48px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;         
}

.footer-left {
  font-size: 1.1rem;
  font-weight: 500;
  padding: 8px 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  text-align: left;
}

.footer-center {
  font-size: 1.1rem;
  font-weight: 500;
  padding: 8px 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.footer-right {
  font-size: 1.1rem;
  font-weight: 500;
  padding: 8px 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  text-align: right;
}

.footer-link {
  color: #004dc9;
  text-decoration: underline;
  transition: color 0.2s;
}
.footer-link:hover {
  color: #0038a0;
}

.aboutme-sosmed-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: flex-start;
  align-items: center;
  margin: 24px 0 0 0;
  padding: 0;
  list-style: none;
}

.aboutme-sosmed-list li a {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 8px;
  background: #7af0ff;
  color: #007c89;
  border-radius: 16px;
  padding: 8px 20px;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 1px 4px #b2e4ea33;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.aboutme-sosmed-list li a:hover {
  background: #007c89;
  color: #fff;
}

.aboutme-sosmed-list i {
  font-size: 1.2em;
}

.sidebar {
  width: 200px;
  height: 100vh;
  position: fixed;
  top: 0;
  left: -240px;
  background: rgba(58, 79, 105, 0.97);
  padding: 32px 18px 24px 18px;
  color: #fff;
  box-shadow: 2px 0 8px rgba(0,0,0,0.13);
  transition: left 0.3s cubic-bezier(.23,1.02,.64,1);
  backdrop-filter: blur(6px);
  z-index: 1200;
  overflow-y: auto;
}

.sidebar.side-open {
  left: 0;
}

.sidebar h2 {
  text-align: center;
  flex-direction: column;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 100px;
  font-size: 1.35rem;
  color: #ecf0f1;
  font-weight: 800;
  letter-spacing: 1.5px;
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
}

.sidebar h2 li {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 1.2rem;
  transition: background 0.2s, color 0.2s;
}

.sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
  margin-bottom: 28px;
  font-size: 1.08rem;
  color: #ffffff;
  font-weight: 500;
  letter-spacing: 0.5px;
  line-height: 1.7;
  padding: 0;
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
}

.sidebar-list li {
  background: rgba(255, 255, 255, 0.6);
  border-radius: 10px;
  padding: 10px 0;
  transition: background 0.2s, color 0.2s;
  text-align: center;
  font-weight: 600;
  text-decoration: none;
}

.sidebar-list li:hover,
.sidebar-list li:focus-within {
  background: #007c89;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
}

.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar ul li {
  color: #fff;
}

.sidebar ul li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}

.sidebar ul li a:hover,
.sidebar ul li a:focus {
  background: #007c89;
  color: #fff;
}

.sidebar-list li .icon {
  display: flex;
  align-items: center;
  width: 24px;
  height: 24px;
  object-fit: contain;
  margin-right: 8px;
  transition: transform 0.2s;
}


.menu-toggle {
  position: fixed;
  margin-left: 10px;
  top: 20px;
  left: 20px;
  background: #004dc9;
  color: #fff;
  border: none;
  font-size: 2rem;
  border-radius: 8px;
  padding: 8px 14px;
  cursor: pointer;
  z-index: 1301;
  transition: background 0.2s, left 0.3s cubic-bezier(.23,1.02,.64,1);
  display: block;
}

body.sidebar-open .menu-toggle {
  left: 240px;
  transition: left 0.3s cubic-bezier(.23,1.02,.64,1);
}

.menu-toggle:hover,
.menu-toggle:focus {
  background: #0038a0;
}

.menu-icon {
  width: 32px;
  height: 32px;
  margin-right: 2%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  transition: background 0.2s, transform 0.2s;
}
.menu-icon img, .menu-icon svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.sidebar-open {
  margin-left: 200px;
  transition: margin-left 0.3s cubic-bezier(.23,1.02,.64,1);
}

@media (max-width: 900px) {
  .sidebar {
    width: 160px;
    left: -160px;
    padding: 24px 10px 18px 10px;
  }
  body.sidebar-open {
    margin-left: 160px;
  }
  .sidebar.side-open {
    left: 0;
  }
  body.sidebar-open .menu-toggle {
    left: 160px;
  }
}

@media (max-width: 700px) {
  .sidebar {
    width: 100vw;
    left: -100vw;
    top: 0;
    height: 100vh;
    padding: 32px 10vw 24px 10vw;
    box-shadow: none;
    border-radius: 0 0 18px 18px;
  }
  .sidebar.side-open {
    left: 0;
  }
  body.sidebar-open {
    margin-left: 0;
  }
  .menu-toggle {
    left: 16px;
    top: 16px;
    font-size: 2rem;
    padding: 8px 16px;
  }
  body.sidebar-open .menu-toggle {
    left: 0;
  }
}

body.sidebar-open .WebPageDua,
body.sidebar-open .WebPageProject,
body.sidebar-open .Webpageaboutme,
body.sidebar-open .WebpageGuru,
body.sidebar-open .Webpage {
  left: 200px;
  width: calc(100vw - 200px);
  transition: left 0.3s, width 0.3s;
}
@media (max-width: 800px) {
  body.sidebar-open .WebPageDua,
  body.sidebar-open .WebPageProject,
  body.sidebar-open .Webpageaboutme,
  body.sidebar-opeen .WebpageGuru,
  body.sidebar-open .Webpage {
    left: 180px;
    width: calc(100vw - 160px);
  }
}
@media (max-width: 700px) {
  body.sidebar-open .WebPageDua,
  body.sidebar-open .WebPageProject,
  body.sidebar-open .Webpageaboutme
  body.sidebar-open .WebpageGuru,
  body.sidebar-open .Webpage {
    left: 0;
    width: 100vw;
  }
}

