/* Body */
body {
  padding-top: 70px;
  scroll-behavior: smooth;
}

/* NAVBAR */
#mainNavbar {
  background-color: #001A66;
  transition: all 0.3s ease;
  padding: 15px 0;
}
#mainNavbar.scrolled {
  background-color: #0040FF;
  padding: 8px 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
.navbar-brand span {
  font-size: 1.3rem;
}

/* HERO */
.hero {
  background: url("/img/iq.jpg") center/cover no-repeat;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(13, 71, 161, 0.4);
}
.hero .container {
  position: relative;
  z-index: 2;
}

/* CARD BERITA */
.card {
  transition: all 0.3s ease;
  border: none;
  border-radius: 10px;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}
.card-img-top {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.card:hover .card-img-top {
  transform: scale(1.05);
}

/* BUTTON RIPPLE EFFECT */
.ripple {
  position: relative;
  overflow: hidden;
}
.ripple::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: scale(0);
  width: 100px;
  height: 100px;
  opacity: 0;
  transition: transform 0.5s, opacity 0.8s;
}
.ripple:active::after {
  transform: scale(4);
  opacity: 1;
  transition: 0s;
}

/* BAGIAN KONTAK */
#kontak {
  background-color: #001A66;
  color: #fff;
}
#kontak h2 { color: #fff; }
#kontak .form-control {
  border: none;
  border-radius: 8px;
  padding: 12px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}
#kontak .form-control:focus {
  border: 2px solid #0040FF;
  box-shadow: 0 0 10px rgba(0, 64, 255, 0.3);
}
#kontak button {
  background-color: #0040FF;
  border: none;
  font-weight: 600;
  transition: 0.3s ease-in-out;
}
#kontak button:hover {
  background-color: #0066FF;
  transform: scale(1.05);
}

/* FOOTER */
footer {
  background-color: #001A66;
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* News Card Hover */
.news-card {
  transition: all 0.3s ease-in-out;
  border-radius: 10px;
}
.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

/* Sidebar List Hover */
.list-hover {
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}
.list-hover:hover {
  background-color: #f1f5ff;
  transform: translateX(5px);
  color: #0040ff;
  font-weight: bold;
}

/* Timeline Agenda */
.timeline {
  border-left: 3px solid #0040ff;
  padding-left: 15px;
}
.timeline-item {
  position: relative;
  margin-bottom: 15px;
}
.timeline-item .date {
  font-weight: bold;
  color: #0040ff;
}
.timeline-item .title {
  margin: 0;
  font-size: 0.95rem;
}


/* AOS Animation */
[data-aos] {
  transition: all 0.8s ease-in-out;
}

/* Responsive Media Queries */
@media (max-width: 575.98px) {
  .hero { height: 60vh; padding: 0 15px; }
  .hero h1 { font-size: 1.8rem; }
  .hero p { font-size: 1rem; }
  .hero .btn { font-size: 0.9rem; padding: 8px 15px; }
  .card-img-top { height: 180px; }
  #kontak .form-control { padding: 10px; }
  .navbar-brand span { font-size: 1rem; }
  #mainNavbar .nav-link { font-size: 0.9rem; }
}
