header {
  width: 100%;
  background: rgba(1, 17, 33, 0.9);
  padding: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #333;
  position: sticky;
  top: 0;
}

header h3 {
  font-size: 20px;
  font-weight: bold;
  color: rgba(1, 17, 33, 0.9);
}

header a {
  margin-left: 30px;
  color: white;
  text-decoration: none;
  font-size: 16px;
  transition: .2s;
}
header a:hover {
  color: #8b5cf6;
}



a {
  text-decoration: none;
  text-align: center;
}
  
nav {
    margin: 15px auto;
    width: 95%; /* Tidak full biar ada kesan melayang */
    height: 70px; /* Tinggi yang pas untuk navbar */
    background-color: rgba(1, 17, 33, 0.95);
    backdrop-filter: blur(10px); /* Efek kaca kekinian */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    border-radius: 15px; /* Radius lebih kotak tapi tetap soft */
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    position: sticky;
    top: 15px;
    z-index: 1000;
    animation: slideDown 0.8s ease forwards;
}

@keyframes slideDown {
    from { 
        transform: translateY(-100px); 
        opacity: 0; 
    }
    to { 
        transform: translateY(0); 
        opacity: 1; 
    }
}

.a-navbar {
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.a-navbar:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #8b5cf6; /* Warna aksen ungu */
    transform: translateY(-2px);
}

/* Untuk link yang sedang aktif */
.a-navbar.active {
    color: #8b5cf6;
    background-color: rgba(139, 92, 246, 0.1);
}

.colinter {
  place-items: center;
  justify-content: center;
  align-items: stretch;
  margin-top: 25px;
  display: grid;
  grid-template-columns: 2fr 1fr; 
  grid-template-rows: auto auto; 
  gap: 10px;
}

@media  screen and (max-width: 777px){
  .colinter{
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    place-items: center;
  }  
}

@keyframes fadeUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.slide-up {
  opacity: 0;
  transform: translateY(50px);
  animation: fadeUp 1s ease forwards;
}

.slide-up:nth-of-type(1) {
  animation-delay: 0.3s;
}

.slide-up:nth-of-type(2) {
  animation-delay: 0.6s;
}


.left {
  grid-row: 1 / span 2; /* kiri ambil 2 baris penuh */
  position: relative;
}

.left img,
.right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-effect {
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.4);
  transition: 0.3s;
}


.overlay {
  position: absolute;
  bottom: 33px;
  left: 20px;
  color: white;
  background: rgba(0,0,0,0.5);
  padding: 10px;
  border-radius:6px;
}

@keyframes fadeUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.a-content:hover {
    transform: scale(1.05);
    box-shadow: 15px 15px 10px 10px rgba(0,0,0,0.85);
}

.titit {
    max-width: 100px;
    word-wrap: break-word;
}

.ttt {
    max-width: 200px;
    word-wrap: break-word;
}

.subjdl {
    justify-content: center;
    justify-items: center;
    align-items: center;
    color: rgba(1, 17, 33, 0.9);
    margin-top: 15px;
    font-size: 26px;
    font-weight: bold;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 kolom sejajar */
  gap: 20px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.card {
  background: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: rgba(0,0,0,0.3) 0px 2px 6px;
  display: flex;
  flex-direction: column;
}

.card img {
  width: 100%;
  margin-top: 1px;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 15px;
  color: white;
}

.card-content h3 {
  margin: 0 0 10px;
}

.card-content p {
  font-size: 14px;
  line-height: 1.4;
}

.card-content a {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  color: #fff;
  text-decoration: none;
}
.card-content a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 900px) {
  .grid-container {
    grid-template-columns: repeat(2, 1fr); /* jadi 2 kolom di tablet */
  }
}
@media screen and (max-width: 600px) {
  .grid-container {
    grid-template-columns: 1fr; /* HP jadi 1 kolom */
  }
}

.subjdl1 {
    justify-content: center;
    justify-items: center;
    align-items: center;
    color: rgba(1, 17, 33, 0.9);
    margin-top: 12px;
    font-size: 26px;
    font-weight: bold;
}

.help-section {
  text-align: center;
  padding: 80px 0;
  color: #fff;
  font-family: 'Poppins', sans-serif;
}

.help-section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
}

.help-container {
  background-color: rgba(1, 17, 33, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  padding: 25px 40px;
  border-radius: 20px;
  width: 90%;
  max-width: 900px;
  margin: 0 auto;
}

.help-container button {
  background-color: #111;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 24px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.help-container button:hover {
  background-color: #222;
  transform: translateY(-3px);
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 kolom sejajar */
  gap: 20px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.card {
  background: rgba(1, 17, 33, 0.9);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: rgba(0,0,0,0.3) 0px 2px 6px;
  display: flex;
  flex-direction: column;
}

.card img {
  width: 100%;
  margin-top: 1px;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 15px;
  color: white;
}

.card-content h3 {
  margin: 0 0 10px;
}

.card-content p {
  font-size: 14px;
  line-height: 1.4;
}

.card-content a {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  color: #fff;
  text-decoration: none;
}
.card-content a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 900px) {
  .grid-container {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 600px) {
  .grid-container {
    grid-template-columns: 1fr;
  }
}

.hero-desc {
  font-size: 1.2rem;
  color: rgba(1, 17, 33, 0.9);
  margin-top: 16px;
  margin-bottom: 32px;
}

.materi1 {
  background: rgba(1, 17, 33, 0.9);
  border-radius: 50px;
  width: 30;
  height: 100;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  padding: 50px;
}
