
/* Header styling extracted from header.php */
:root {
  --nav-glass: rgba(255, 255, 255, 0.93);
  --nav-glass-strong: rgba(255, 255, 255, 0.98);
  --nav-border: rgba(12, 27, 33, 0.08);
  --nav-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
  --nav-text: #0b2731;
  --nav-muted: #3c4b55;
  --nav-height-desktop: 76px;
  --nav-height-tablet: 66px;
  --nav-height-mobile: 60px;
  --nav-blur: 8px;
}

html {
  height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: var(--nav-height-desktop);
}

main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.navbar.animate-modern {
  background: linear-gradient(120deg, var(--nav-glass), var(--nav-glass-strong));
  backdrop-filter: blur(var(--nav-blur));
  -webkit-backdrop-filter: blur(var(--nav-blur));
  border-bottom: 1px solid var(--nav-border);
  box-shadow: var(--nav-shadow);
  transition: box-shadow 160ms ease, background 160ms ease, transform 160ms ease;
  padding: 7px 0;
}

.navbar.animate-modern:hover {
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

.navbar.animate-modern .container {
  gap: 10px;
}

.navbar.animate-modern .navbar-brand img {
  width: 116px;
  transition: transform 140ms ease, filter 140ms ease;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.14));
}

.navbar.animate-modern .navbar-brand:hover img {
  transform: translateY(-1px) scale(1.01);
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.18));
}

.navbar.animate-modern .nav-link {
  position: relative;
  color: var(--nav-text);
  font-weight: 700;
  letter-spacing: 0.2px;
  padding: 8px 11px;
  border-radius: 10px;
  transition: color 140ms ease, background 140ms ease;
}

.navbar.animate-modern .nav-link.dropdown-toggle::after {
  display: none;
}

.navbar.animate-modern .nav-link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 2px;
  background: linear-gradient(90deg, rgba(11, 39, 49, 0), rgba(11, 39, 49, 0.6), rgba(11, 39, 49, 0));
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 140ms ease, transform 140ms ease;
}

.navbar.animate-modern .nav-link:hover {
  background: rgba(11, 39, 49, 0.06);
  color: var(--nav-text);
}

.navbar.animate-modern .nav-link:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.navbar-nav {
  gap: 5px;
}

.navbar.animate-modern .dropdown-menu {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--nav-border);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  border-radius: 14px;
}

.navbar.animate-modern .dropdown-item {
  color: var(--nav-text);
  font-weight: 600;
}

.navbar.animate-modern .dropdown-item:hover {
  background: rgba(11, 39, 49, 0.06);
  color: var(--nav-text);
}

.navbar.animate-modern .dropdown-divider {
  border-color: rgba(11, 39, 49, 0.08);
}

.navbar.animate-modern .navbar-toggler {
  border: 1px solid var(--nav-border);
  border-radius: 10px;
  padding: 6px 9px;
  background: rgba(255, 255, 255, 0.8);
}

.navbar.animate-modern .navbar-toggler:focus {
  box-shadow: 0 0 0 0.15rem rgba(11, 39, 49, 0.18);
}

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}



main.content-page {
  margin-top: 12px;
}

@media (max-width: 992px) {
  body { padding-top: var(--nav-height-tablet); }
  .navbar.animate-modern {
    padding: 6px 0;
    background: var(--nav-glass-strong);
  }
  .navbar.animate-modern .navbar-brand img {
    width: 106px;
  }
  .navbar.animate-modern .navbar-collapse {
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    margin-top: 0;
  }
  .navbar.animate-modern .nav-link {
    padding: 8px 12px;
    width: 100%;
  }
  .navbar-nav {
    gap: 3px;
  }
}

@media (max-width: 576px) {
  body { padding-top: var(--nav-height-mobile); }
  .navbar.animate-modern {
    padding: 5px 0;
  }
  .navbar.animate-modern .navbar-brand img {
    width: 94px;
  }
  .navbar.animate-modern .nav-link {
    padding: 7px 10px;
    border-radius: 9px;
    font-size: 0.95rem;
  }
  .navbar.animate-modern .navbar-collapse {
    padding: 9px 9px 11px;
  }
}
