
/* 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;
}

/* Menu utama 60% */
.bottom-nav1 {
  flex: 0 0 100%;
  background-color: #10243E;
  border-radius: 5px;
  padding: 5px 0;
  box-shadow: 0 0 10px rgba(0, 191, 255, 0.2);
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-top: 2px solid #003366;
}

/* Link menu */
.bottom-nav1 a {
  color: #fff;
  text-decoration: none;
  text-align: center;
  font-size: 0.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Kotak melingkar di ikon */
.bottom-nav1 a i {
  font-size: 22px;
  margin-bottom: 3px;
  transition: transform 0.3s, border-color 0.3s, color 0.3s;
}

/* Hover efek */
.bottom-nav1 a:hover i {
  transform: scale(1.2);
  border-color: #00BFFF;    /* garis berubah biru */
  color: #FFD700;           /* ikon berubah emas */
}


/* Media sosial 40% */
.bottom-mediasosial {
  flex: 0 0 38%;
}

.sosial-card {
  background-color: #10243E;
  border-radius: 5px;
  padding: 20px 0;
  box-shadow: 0 0 10px rgba(0, 191, 255, 0.2);
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-top: 2px solid #003366;
}

/* Ikon besar dengan lingkaran */
.sosial-card a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;              /* ukuran lingkaran */
  height: 50px;
  border: 2px solid #fff;   /* garis melingkar */
  border-radius: 50%;       /* bentuk lingkaran */
  transition: transform 0.3s, border-color 0.3s;
}

.sosial-card a i {
  font-size: 25px;
  transition: transform 0.3s, color 0.3s;
}

/* Warna khas platform */
.sosial-card a i.bi-facebook { color: #1877F2; }
.sosial-card a i.bi-instagram { color: #E4405F; }
.sosial-card a i.bi-tiktok { color: #69C9D0; }
.sosial-card a i.bi-youtube { color: #FF0000; }
.sosial-card a i.bi-twitter { color: #1DA1F2; }
.sosial-card a i.bi-linkedin { color: #0A66C2; }

/* Hover efek */
.sosial-card a:hover {
  transform: scale(1.1);
  border-color: #00BFFF; /* glow biru saat hover */
}
.sosial-card a:hover i {
  transform: scale(1.2);
}

/* Mobile: hanya media sosial */
@media (max-width: 768px) {
  .bottom-nav1 {
    display: none;
  }

  .bottom-wrapper {
    justify-content: center;
  }

  .bottom-mediasosial {
    flex: 0 0 100%;
  }

  .sosial-card {
    justify-content: space-around;
    flex-wrap: wrap;
  }
}



/* Responsive untuk mobile */
@media (max-width: 768px) {
  .fasilitas-card {
    flex-direction: column;     /* gambar di atas teks */
    align-items: center;
    text-align: center;
  }
  .fasilitas-card img {
    margin: 0 0 15px 0;         /* beri jarak bawah gambar */
    width: 100%;
    height: auto;
    max-height: 220px;
  }
  .fasilitas-content {
    text-align: left;           /* teks tetap rata kiri */
    width: 100%;
  }
}



/* 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-table {
  width: 100%;
  font-size: 0.9rem;
  color: #ddd;
  border-collapse: collapse;
}
.profil-table td {
  padding: 4px 0;
  background: transparent !important; /* hilangkan background putih */
}
.profil-table .label {
  width: 40%;
  text-align: left;
  vertical-align: top;
}
.profil-table .colon {
  width: 5%;
  text-align: center;
}

.profil-cardkepsek {
  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: center; /* semua isi card rata tengah */
}
.profil-cardkepsek:hover {
  box-shadow: 0 0 20px rgba(255,255,255,0.3);
  transform: translateY(-5px);
}

.profil-cardkepsek h5, 
.profil-cardkepsek h6, 
.profil-cardkepsek p {
  text-align: center; /* pastikan judul, nama, dan detail rata tengah */
}

.kepsek-photo img {
  width: 230px;
  height: 230px;
  object-fit: cover;
  border: 4px solid #00BFFF;
  margin: 10px auto;
  transition: transform 0.3s ease;
}
.kepsek-photo img:hover {
  transform: scale(1.08);
}

.profil-cardkepsek h6 {
  font-weight: 600;
}




.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);
}

