:root {
  --primary-blue: #0d6efd;
  --primary-green: #198754;
  --bg-light: #f0f4f8; 
  --text-main: #1e293b; 
  --text-muted: #64748b; 
  --glass-bg: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(255, 255, 255, 0.8);
  --font-main: 'Poppins', sans-serif;
}

body {
  font-family: var(--font-main);
  background: var(--bg-light);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  margin: 0;
}

/* === HEADER BACKGROUND SLIDER === */
#home {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg-slide {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.5s ease-in-out, transform 6s linear;
  transform: scale(1.05);
  z-index: 0;
}
.hero-bg-slide.active { opacity: 1; transform: scale(1); }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.75); z-index: 1; }
.hero-content { position: relative; z-index: 2; }

/* === RUNNING TEXT (MARQUEE) === */
.marquee-container {
  width: 100%;
  background: var(--primary-blue);
  color: white;
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  position: relative;
  z-index: 10;
}
.marquee-content {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 25s linear infinite;
  font-weight: 500;
  letter-spacing: 0.5px;
  font-size: 0.95rem;
}
@keyframes marquee {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-100%, 0); }
}

.glass-panel { background: var(--glass-bg); backdrop-filter: blur(16px); border: 1px solid var(--glass-border); border-radius: 1.5rem; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); }
.glass-card { background: rgba(255, 255, 255, 0.5); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.7); border-radius: 1rem; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(0,0,0,0.03); }
.glass-card:hover { transform: translateY(-8px); background: rgba(255, 255, 255, 0.8); border-color: rgba(255, 255, 255, 1); box-shadow: 0 15px 30px rgba(0,0,0,0.08); }
.glass-navbar { background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(15px); border-bottom: 1px solid rgba(255, 255, 255, 0.5); box-shadow: 0 4px 20px rgba(0,0,0,0.02); }

.animate-fade-up { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.animate-fade-up.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.15s; } .delay-2 { transition-delay: 0.3s; } .delay-3 { transition-delay: 0.45s; }

.text-gradient { background: linear-gradient(to right, #005bea 0%, #00c6fb 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.text-gradient-green { background: linear-gradient(to right, #0ba360 0%, #3cba92 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.bap-logo-text { font-weight: 800; letter-spacing: 1px; }
.bap-b { color: var(--primary-blue); } .bap-p { color: var(--primary-green); }

.btn-glass { background: rgba(255, 255, 255, 0.1); color: #fff; border: 1px solid rgba(255, 255, 255, 0.3); backdrop-filter: blur(5px); transition: all 0.3s; }
.btn-glass:hover { background: rgba(255, 255, 255, 0.25); color: #fff; border-color: #fff; transform: translateY(-2px); }
.btn-wa { background: #25D366; color: #fff; border: none; font-weight: 600; box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);}
.btn-wa:hover { background: #1ebe5d; color: #fff; transform: scale(1.05); }

.form-control, .form-select { background: rgba(255, 255, 255, 0.8); border: 1px solid rgba(0, 0, 0, 0.1); color: var(--text-main); }
.form-control:focus, .form-select:focus { background: #fff; color: var(--text-main); border-color: var(--primary-blue); box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15); }
.table-glass th { background: rgba(0,0,0,0.02); color: var(--text-muted); border-bottom: 2px solid rgba(0,0,0,0.05); font-weight: 600;}
.table-glass td { border-bottom: 1px solid rgba(0,0,0,0.05); vertical-align: middle; }

.admin-sidebar { width: 250px; height: 100vh; position: fixed; left: 0; top: 0; background: rgba(255, 255, 255, 0.9); border-right: 1px solid rgba(0,0,0,0.05); box-shadow: 4px 0 15px rgba(0,0,0,0.02); padding: 20px; z-index: 1040; transition: 0.3s; }
.admin-content { margin-left: 250px; padding: 20px; transition: 0.3s; min-height: 100vh; }
.nav-item-custom { display: block; padding: 12px 15px; color: var(--text-muted); text-decoration: none; border-radius: 8px; margin-bottom: 5px; transition: 0.2s; font-weight: 500; }
.nav-item-custom:hover, .nav-item-custom.active { background: rgba(13, 110, 253, 0.08); color: var(--primary-blue); }

@media (max-width: 991px) {
  .admin-sidebar { transform: translateX(-100%); } .admin-sidebar.active { transform: translateX(0); } .admin-content { margin-left: 0; }
  .sidebar-overlay.active { display: block; position: fixed; inset: 0; background: rgba(0,0,0,0.3); z-index: 1030; backdrop-filter: blur(3px); }
}

.placeholder-glow .placeholder { background: linear-gradient(90deg, rgba(0,0,0,0.05) 25%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.05) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: 4px; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.gallery-img-wrapper { position: relative; overflow: hidden; border-radius: 0.8rem; aspect-ratio: 4/3; box-shadow: 0 4px 15px rgba(0,0,0,0.1); cursor: zoom-in; }
.gallery-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-img-wrapper:hover img { transform: scale(1.1); }

.hero-logo-box { width: 100%; max-width: 350px; aspect-ratio: 1/1; border-radius: 50%; padding: 15px; background: rgba(255,255,255,0.7); box-shadow: 0 15px 35px rgba(0,0,0,0.08); display: flex; align-items: center; justify-content: center; }
.hero-logo-box img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }