
/* Background dengan efek jaringan */
    body {
      background-color: #02121d;
      color: #fff;
      font-family: 'Poppins', sans-serif;
      padding-bottom: 70px;
      margin: 0;
      overflow-x: hidden;
    }

    #particles-js {
      position: fixed;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      z-index: -1; /* di belakang konten */
    }





/* Carousel */
.carousel-item img {
  width: 90%;          /* gambar penuh lebar */
  height: auto;         /* tinggi otomatis agar tidak terpotong */
  object-fit: cover;    /* gambar tetap proporsional */
  border-radius: 5px;
}

/* Responsif untuk mobile */
@media (max-width: 768px) {
  .carousel-item img {
    max-height: 300px;  /* batasi tinggi agar tidak terlalu besar di HP */
    object-fit: contain;/* tampil penuh tanpa crop */
  }
}

    .header-logo img { width: 80px; }
    .hero-box {
      background: linear-gradient(180deg, #003366, #0A0A0F);
      border-radius: 12px;
      padding: 15px;
      margin-top: 20px;
    }
    .menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 15px;
  margin-top: 25px;
}

.menu-item {
  background-color: #10243E;
  border-radius: 12px;
  text-align: center;
  padding: 15px 10px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.menu-item a {
  color: #fff;                  /* default putih */
  text-decoration: none;
  display: block;
  transition: color 0.3s ease;
}

.menu-item i {
  font-size: 28px;
  color: #00BFFF;               /* default biru untuk ikon */
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.menu-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px rgba(0, 191, 255, 0.5); /* glow biru */
}

.menu-item:hover a {
  color: #00BFFF;               /* teks berubah biru */
}

.menu-item:hover i {
  color: #00BFFF;               /* ikon ikut biru */
}

    .banner {
      background-color: #10243E;
      border-radius: 12px;
      margin-top: 30px;
      padding: 20px;
      text-align: center;
    }
    .banner h5 {
      color: #00BFFF;
      font-weight: 700;
    }

/* Bottom Navigation (Mobile Only) */
.bottom-nav {
  position: fixed;       /* tetap diam di bawah layar */
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #10243E;
  display: flex;
  justify-content: space-around;
  padding: 10px 0;
  border-top: 2px solid #003366;
  border-radius: 12px 12px 0 0; /* sudut atas melengkung */
  z-index: 999;          /* pastikan di atas konten lain */
}

/* Link menu */
.bottom-nav a {
  color: #fff;
  text-decoration: none;
  text-align: center;
  font-size: 0.8rem;
  flex: 1;               /* tiap menu bagi rata */
}

/* Icon menu */
.bottom-nav i {
  display: block;
  font-size: 22px;
  margin-bottom: 3px;
}

/* Desktop/laptop: sembunyikan */
@media (min-width: 992px) {
  .bottom-nav { display: none; }
}

/* Tambahkan padding bawah ke body agar konten tidak tertutup */
body {
  padding-bottom: 70px; /* sesuaikan tinggi bottom-nav */
}


/* Wrapper kiri‑kanan */
.bottom-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
}

/* Card umum dengan outline melingkar */
.card-menu {
  background-color: rgba(255,255,255,0.05);
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 25px;
  padding: 10px 15px;
  box-shadow: 0 0 10px rgba(255,255,255,0.1);
}

/* Card Home tetap sederhana */
.home-card {
  flex: 1;
  text-align: center;
}

/* Card grup menu kapsul */
.menu-group {
  flex: 2;
  justify-content: flex-end;
}

/* Tombol umum */
.nav-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.25);
  background: transparent;
  box-shadow: inset 0 0 8px rgba(255,255,255,0.1);
  transition: all 0.3s ease;
}

/* Home tetap polos */
.nav-btn.home {
  background: none;
  border: none;
  color: #fff;
}

/* Warna merah untuk Struktur Organisasi */
.nav-btn.red {
  background: linear-gradient(145deg, #8b0000, #5c0000);
  border-color: #ffffff;
  box-shadow: 0 0 10px rgba(255,0,0,0.3);
}

.nav-btn.blue {
  background: linear-gradient(145deg, #01329e, #022a82);
  border-color: #ffffff;
  box-shadow: 0 0 10px rgba(1, 37, 86, 0.3);
}

.nav-btn.yellow {
  background: linear-gradient(145deg, #dac800, #615902);
  border-color: #ffffff;
  box-shadow: 0 0 10px rgba(117, 117, 1, 0.3);
}

.nav-btn.blue2 {
  background: linear-gradient(145deg, #027da5, #01394b);
  border-color: #ffffff;
  box-shadow: 0 0 10px rgba(1, 95, 149, 0.3);
}

.nav-btn.blue3 {
  background: linear-gradient(145deg, #0199ad, #01515c);
  border-color: #ffffff;
  box-shadow: 0 0 10px rgba(2, 139, 134, 0.3);
}

.nav-btn.blue4 {
  background: linear-gradient(145deg, #00ffa6, #07452f);
  border-color: #ffffff;
  box-shadow: 0 0 10px rgba(1, 126, 88, 0.3);
}


/* Badge angka */
.badge-count {
  background-color: rgba(255,255,255,0.15);
  border-radius: 50%;
  padding: 2px 8px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
}

/* Hover efek */
.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 12px rgba(255,255,255,0.3);
}

/* Responsif mobile */
@media (max-width: 768px) {
  .bottom-wrapper {
    flex-direction: column;
    align-items: stretch;
  }
  .menu-group {
    justify-content: center;
    flex-wrap: wrap;
  }
}


/* Card dengan outline melingkar */
.profil-card.outline-card {
  background-color: rgba(255,255,255,0.05);
  border: 2px solid rgba(129, 127, 127, 0.2);
  border-radius: 25px;
  box-shadow: 0 0 12px rgba(255,255,255,0.2);
  transition: all 0.3s ease;
}

/* Hover efek glow */
.profil-card.outline-card:hover {
  box-shadow: 0 0 20px rgba(255,255,255,0.4);
  transform: translateY(-3px);
}

/* Header profil */
.profil-header h3 {
  font-weight: 600;
  color: #fff;
}

.profil-header p {
  font-size: 0.9rem;
  color: #ddd;
}

/* Badge */
.profil-header .badge {
  border-radius: 20px;
  font-weight: 600;
  box-shadow: 0 0 8px rgba(255,215,0,0.4);
}

/* Ikon bergetar */
.vibrate-1 {
  animation: vibrate-1 2s linear infinite both;
}

@keyframes vibrate-1 {
  0%, 100% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(-2px, -2px); }
  60% { transform: translate(2px, 2px); }
  80% { transform: translate(2px, -2px); }
}



/* Modal container */
.modal-login {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4);   /* sedikit lebih transparan */
  display: none;                 /* default sembunyi */
  justify-content: center;
  align-items: center;
  z-index: 999;

  /* Efek blur latar belakang */
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px); /* untuk Safari */
}

/* Card modal */
.modal-content {
  background-color: #0E1A2B;
  color: #fff;
  border-radius: 12px;
  padding: 20px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 0 15px rgba(0,191,255,0.3);
}

/* Header */
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}
.modal-header i {
  font-size: 28px;
  color: #00BFFF;
}
.modal-header h3 {
  font-weight: 700;
  margin-left: 10px;
}
.close-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

/* Form */
.login-form .form-group {
  margin-bottom: 15px;
  text-align: left;
}
.login-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 5px;
}
.login-form input {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #003366;
  background-color: #132A45;
  color: #fff;
}
.login-form input:focus {
  outline: none;
  border-color: #00BFFF;
}


/* Tombol login */
.btn-login {
  width: 100%;
  background-color: #00BFFF;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}
.btn-login:hover {
  background-color: #0099CC;
}

/* Footer */
.modal-footer {
  text-align: center;
  margin-top: 10px;
}
.modal-footer a {
  color: #FFD700;
  text-decoration: none;
}
.modal-footer a:hover {
  color: #00BFFF;
}

/* Responsif mobile */
@media (max-width: 768px) {
  .modal-content {
    width: 90%;
    padding: 20px;
  }
}






/* Awal Animasi */
  .bounce-top {
	-webkit-animation: bounce-top 4s;
	        animation: bounce-top 4s;
		}

			@-webkit-keyframes bounce-top {
			0% {
				-webkit-transform: translateY(-45px);
						transform: translateY(-45px);
				-webkit-animation-timing-function: ease-in;
						animation-timing-function: ease-in;
				opacity: 1;
			}
			24% {
				opacity: 1;
			}
			40% {
				-webkit-transform: translateY(-24px);
						transform: translateY(-24px);
				-webkit-animation-timing-function: ease-in;
						animation-timing-function: ease-in;
			}
			65% {
				-webkit-transform: translateY(-12px);
						transform: translateY(-12px);
				-webkit-animation-timing-function: ease-in;
						animation-timing-function: ease-in;
			}
			82% {
				-webkit-transform: translateY(-6px);
						transform: translateY(-6px);
				-webkit-animation-timing-function: ease-in;
						animation-timing-function: ease-in;
			}
			93% {
				-webkit-transform: translateY(-4px);
						transform: translateY(-4px);
				-webkit-animation-timing-function: ease-in;
						animation-timing-function: ease-in;
			}
			25%,
			55%,
			75%,
			87% {
				-webkit-transform: translateY(0px);
						transform: translateY(0px);
				-webkit-animation-timing-function: ease-out;
						animation-timing-function: ease-out;
			}
			100% {
				-webkit-transform: translateY(0px);
						transform: translateY(0px);
				-webkit-animation-timing-function: ease-out;
						animation-timing-function: ease-out;
				opacity: 1;
			}
			}
			@keyframes bounce-top {
			0% {
				-webkit-transform: translateY(-45px);
						transform: translateY(-45px);
				-webkit-animation-timing-function: ease-in;
						animation-timing-function: ease-in;
				opacity: 1;
			}
			24% {
				opacity: 1;
			}
			40% {
				-webkit-transform: translateY(-24px);
						transform: translateY(-24px);
				-webkit-animation-timing-function: ease-in;
						animation-timing-function: ease-in;
			}
			65% {
				-webkit-transform: translateY(-12px);
						transform: translateY(-12px);
				-webkit-animation-timing-function: ease-in;
						animation-timing-function: ease-in;
			}
			82% {
				-webkit-transform: translateY(-6px);
						transform: translateY(-6px);
				-webkit-animation-timing-function: ease-in;
						animation-timing-function: ease-in;
			}
			93% {
				-webkit-transform: translateY(-4px);
						transform: translateY(-4px);
				-webkit-animation-timing-function: ease-in;
						animation-timing-function: ease-in;
			}
			25%,
			55%,
			75%,
			87% {
				-webkit-transform: translateY(0px);
						transform: translateY(0px);
				-webkit-animation-timing-function: ease-out;
						animation-timing-function: ease-out;
			}
			100% {
				-webkit-transform: translateY(0px);
						transform: translateY(0px);
				-webkit-animation-timing-function: ease-out;
						animation-timing-function: ease-out;
				opacity: 1;
			}
			}

			.reno{
				background-color:rgb(21, 82, 82);
			}

/* Akir Animasi */


.profil-section {
  background: linear-gradient(135deg, #1a1f25, #003366);
  color: #fff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

.profil-header h3 {
  font-weight: 600;
  text-align: left; /* judul rata kiri */
}

.profil-card {
  background-color: rgba(1, 24, 38, 0.05);
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 0 10px rgba(255,255,255,0.1);
  transition: 0.3s;
  margin-bottom: 15px; /* jarak antar card */
  text-align: left;    /* isi card rata kiri */
}
.profil-card:hover {
  box-shadow: 0 0 20px rgba(255,255,255,0.3);
  transform: translateY(-5px);
}

.profil-card h5 {
  font-weight: 600;
  margin-bottom: 15px;
  text-align: left; /* judul card rata kiri */
}

.profil-card p {
  font-size: 0.9rem;
  color: #ddd;
  text-align: justify; /* paragraf rata kiri-kanan */
}

.profil-card ul {
  font-size: 0.9rem;
  color: #ddd;
  padding-left: 20px;
  text-align: justify; /* list juga justify */
}

.badge {
  border-radius: 10px;
  font-weight: 600;
}



.vibrate-1 {
	-webkit-animation: vibrate-1 2s linear infinite both;
	        animation: vibrate-1 2s linear infinite both;
}

@-webkit-keyframes vibrate-1 {
  0% {
    -webkit-transform: translate(0);
            transform: translate(0);
  }
  20% {
    -webkit-transform: translate(-2px, 2px);
            transform: translate(-2px, 2px);
  }
  40% {
    -webkit-transform: translate(-2px, -2px);
            transform: translate(-2px, -2px);
  }
  60% {
    -webkit-transform: translate(2px, 2px);
            transform: translate(2px, 2px);
  }
  80% {
    -webkit-transform: translate(2px, -2px);
            transform: translate(2px, -2px);
  }
  100% {
    -webkit-transform: translate(0);
            transform: translate(0);
  }
}
@keyframes vibrate-1 {
  0% {
    -webkit-transform: translate(0);
            transform: translate(0);
  }
  20% {
    -webkit-transform: translate(-2px, 2px);
            transform: translate(-2px, 2px);
  }
  40% {
    -webkit-transform: translate(-2px, -2px);
            transform: translate(-2px, -2px);
  }
  60% {
    -webkit-transform: translate(2px, 2px);
            transform: translate(2px, 2px);
  }
  80% {
    -webkit-transform: translate(2px, -2px);
            transform: translate(2px, -2px);
  }
  100% {
    -webkit-transform: translate(0);
            transform: translate(0);
  }
}





.profil-jurusan {
  background-color: rgba(1, 24, 38, 0.05);
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 0 10px rgba(255,255,255,0.1);
  transition: 0.3s;
  margin-bottom: 15px;
  text-align: left;
}
.profil-jurusan:hover {
  box-shadow: 0 0 20px rgba(255,255,255,0.3);
  transform: translateY(-5px);
}

.profil-jurusan h5 {
  font-weight: 600;
  margin-bottom: 15px;
  text-align: left;
}

.jurusan-list {
  list-style-type: none;
  padding-left: 0;
  margin: 0;
}
.jurusan-list li {
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 8px;
  transition: 0.3s;
}
.jurusan-list li:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-3px);
}


