@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes popIn { 0% { transform:scale(0.8); opacity:0; } 100% { transform:scale(1); opacity:1; } }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }

/* Popup Modal (Perfectly Centered) */
#fbise-modal-bg {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,40,60,0.25);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(.4,0,.2,1);
}
#fbise-modal-bg.show {
  opacity: 1;
  pointer-events: auto;
}
#fbise-modal-box {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.92);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.22), 0 2px 8px rgba(0,0,0,0.10);
  padding: 2.5rem 2rem;
  max-width: 420px;
  width: 90vw;
  text-align: center;
  opacity: 0;
  transition: transform 0.45s cubic-bezier(.4,0,.2,1), opacity 0.45s cubic-bezier(.4,0,.2,1);
}
#fbise-modal-bg.show #fbise-modal-box {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}
#fbise-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
}
#fbise-modal-box h2 { color:#0a4d6e;font-weight:700; }
#fbise-modal-box p { margin:1rem 0 0.5rem 0; }
@media (max-width: 600px) {
  #fbise-modal-box { padding: 1.2rem 0.5rem; max-width: 98vw; }
}

/* Navbar */
.navbar { background: #0a4d6e; border-radius: 0 0 12px 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.07); padding: 0.5rem 2rem; display: flex; align-items: center; justify-content: flex-end; position: sticky; top: 0; z-index: 100; }
.navbar ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.5rem; }
.navbar li { display: inline; }
.navbar a { color: #fff; font-weight: 500; text-decoration: none; padding: 0.5rem 1rem; border-radius: 6px; transition: background 0.2s, color 0.2s; }
.navbar a:hover, .navbar a.active { background: #e0f7fa; color: #0a4d6e; }
@media (max-width: 600px) { .navbar { padding: 0.5rem 0.5rem; } }

/* Cookie Banner */
#cookie-banner { position: fixed; left: 0; bottom: 0; width: 100vw; background: #0a4d6e; color: #fff; padding: 1.2rem 1rem 1.2rem 1.5rem; display: flex; align-items: center; justify-content: space-between; z-index: 9998; box-shadow: 0 -2px 12px rgba(0,0,0,0.08); animation: slideUp 0.7s; }
#cookie-banner button { background: #e0f7fa; color: #0a4d6e; border: none; border-radius: 6px; padding: 0.5rem 1.2rem; margin-left: 0.7rem; font-weight: 600; cursor: pointer; transition: background 0.2s, color 0.2s; }
#cookie-banner button:hover { background: #fff; color: #0a4d6e; }
#cookie-banner a { color: #fff; text-decoration: underline; }
@media (max-width: 600px) { #cookie-banner { flex-direction: column; align-items: flex-start; } } 