/* Hero Section */
.hero-section {
  position: relative;
  height: 65vh; /* pas untuk layar */
  background: url('https://res.cloudinary.com/dsvym6npv/image/upload/v1713283877/IMG-20240416-WA0007_lcwa2a.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.45); /* overlay agar teks tetap jelas */
}

.hero-section .container {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-section h1 {
  font-size: 2.2rem;
  font-weight: 700;
}

.hero-section p.lead {
  font-size: 1rem;
  margin-bottom: 1rem;
}


/* Card efek hover */
.card:hover {
  transform: translateY(-5px);
  transition: 0.3s;
}


/* Footer selalu di bawah */
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
}


/* Tombol back-to-top */
#btnTop {
  width: 50px;
  height: 50px;
  justify-content: center;
  align-items: center;
  display: none;
}
.container:last-of-type {
  margin-bottom: 80px;
}
/* Navbar lebih ramping */
.navbar {
  padding-top: 0.25rem !important;
  padding-bottom: 0.25rem !important;
  min-height: 45px; /* tinggi maksimal */
}

.navbar-brand {
  font-size: 0.95rem !important;
}

.nav-link {
  font-size: 0.9rem !important;
  padding: 0.25rem 0.6rem !important;
}

.btn-sm {
  padding: 0.2rem 0.6rem;
  font-size: 0.85rem;
}

/* Running Text (Announcement Bar) */
.announcement-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 128, 0, 0.8); /* hijau transparan */
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  overflow: hidden;
  white-space: nowrap;
  padding: 6px 0;
}

.announcement-bar p {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 18s linear infinite;
}

@keyframes marquee {
  0%   { transform: translateX(0%); }
  100% { transform: translateX(-100%); }
}

/* Jam Digital */
.clock-bar {
  margin-top: 55px;  /* beri jarak di bawah navbar */
  font-size: 0.95rem;
  font-weight: 500;
  color: #333;
}

/* Modal Login Styling */
.modal-content {
  border-radius: 15px;
  overflow: hidden;
}

.modal-header {
  border-bottom: none;
}

.modal-body {
  padding: 25px;
}

.input-group-text {
  background-color: #198754;
  color: white;
} apakah css nya yang bermasalah 




.btn-login {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #4e54c8, #8f94fb); /* biru ke ungu */
  color: #fff;
  font-weight: bold;
  border-radius: 50px;
  padding: 0.4rem 1rem;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 3px 5px rgba(0,0,0,0.2);
}

.btn-login:hover {
  background: linear-gradient(135deg, #8f94fb, #4e54c8);
  transform: translateY(-2px);
  box-shadow: 0 5px 8px rgba(0,0,0,0.25);
}

.btn-login i {
  transition: transform 0.3s;
}

.btn-login:hover i {
  transform: translateX(4px);
}


