:root {
  --brand: #0f4c5c;
  --brand-dark: #0a3340;
  --accent: #e09f3e;
  --ink: #17202a;
  --muted: #667085;
  --surface: #ffffff;
  --soft: #f5f7f8;
}

html { scroll-behavior: smooth; }

body {
  background: var(--soft);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

img { max-width: 100%; }

.site-navbar {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(15, 76, 92, 0.12);
  box-shadow: 0 10px 30px rgba(15, 76, 92, 0.08);
  backdrop-filter: blur(14px);
}

.navbar-brand {
  color: var(--brand-dark);
  font-size: 1.12rem;
  font-weight: 800;
}

.navbar-brand img {
  border-radius: 8px;
  object-fit: cover;
}

.nav-link {
  color: #2f3a45;
  font-size: 1.05rem;
  font-weight: 600;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active { color: var(--brand); }

.dropdown-item {
  align-items: center;
  display: flex;
  gap: 0.65rem;
  min-height: 44px;
}

.dropdown-item img { height: 32px; object-fit: contain; width: 56px; }

.btn-primary {
  --bs-btn-bg: var(--brand);
  --bs-btn-border-color: var(--brand);
  --bs-btn-hover-bg: var(--brand-dark);
  --bs-btn-hover-border-color: var(--brand-dark);
  --bs-btn-focus-shadow-rgb: 15, 76, 92;
}

.hero-section {
  background:
    linear-gradient(180deg, rgba(7, 24, 31, 0.78), rgba(7, 24, 31, 0.68)),
    url("../images/optimized/fondsite-1600.jpg") center / cover no-repeat;
  min-height: 100vh;
  position: relative;
}

.project-hero .lead {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  line-height: 1.7;
  max-width: 720px;
}

.eyebrow {
  color: #f6d7a6;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-pad { padding-block: 4.5rem; }

.section-title {
  color: var(--brand-dark);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.promotion-block + .promotion-block { margin-top: 3rem; }

.promotion-heading {
  align-items: center;
  color: var(--brand-dark);
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.promotion-heading i {
  align-items: center;
  background: rgba(224, 159, 62, 0.16);
  border-radius: 8px;
  color: #9a5b00;
  display: inline-flex;
  font-size: 1.35rem;
  height: 2.75rem;
  justify-content: center;
  width: 2.75rem;
}

.promotion-heading h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0;
}

.project-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.project-card {
  align-items: center;
  background: var(--surface);
  border: 1px solid rgba(15, 76, 92, 0.12);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(20, 32, 42, 0.08);
  color: var(--ink);
  display: flex;
  gap: 0.75rem;
  min-height: 72px;
  padding: 1rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.project-card:hover,
.project-card:focus {
  border-color: rgba(15, 76, 92, 0.28);
  box-shadow: 0 24px 60px rgba(20, 32, 42, 0.12);
  color: var(--brand-dark);
  transform: translateY(-3px);
}

.project-card-icon {
  align-items: center;
  background: var(--brand);
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 1.35rem;
  height: 2.75rem;
  justify-content: center;
  width: 2.75rem;
}

.project-card-label {
  font-weight: 800;
  overflow-wrap: anywhere;
}

.site-footer {
  background: var(--brand-dark);
  color: rgba(255, 255, 255, 0.78);
  padding-block: 3.5rem 1.5rem;
}

.footer-title,
.site-footer h3 {
  color: #fff;
  font-weight: 800;
  margin-bottom: 0.85rem;
}

.footer-title { font-size: 1.45rem; }
.site-footer h3 { font-size: 1rem; }
.site-footer p { line-height: 1.7; margin: 0; }

.footer-links {
  display: grid;
  gap: 0.45rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  text-underline-offset: 0.18em;
}

.site-footer a:hover,
.site-footer a:focus {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.25rem;
}

@media (max-width: 991.98px) {
  .site-navbar .nav-link { font-size: 1.08rem; }
  .dropdown-menu { border: 0; box-shadow: none; }
}

@media (max-width: 575.98px) {
  .hero-section { min-height: 76vh; }
  .hero-section .display-4 { font-size: 2.35rem; }
  .project-hero .lead { font-size: 1.05rem; }
  .section-pad { padding-block: 3rem; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}
.nav-admin {
  color: #667085;
  font-size: 0.98rem;
}

.project-tools {
  align-items: stretch;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 260px);
  margin-bottom: 2rem;
}

.project-search .input-group-text {
  background: #fff;
  border-color: rgba(15, 76, 92, 0.16);
  color: var(--brand);
}

.project-tools .form-control,
.project-tools .form-select {
  border-color: rgba(15, 76, 92, 0.16);
  min-height: 48px;
}

.promotion-meta {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0.15rem 0 0;
}

.project-card-body {
  display: grid;
  flex: 1;
  gap: 0.45rem;
  min-width: 0;
}

.project-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.project-badge {
  background: rgba(15, 76, 92, 0.1);
  border-radius: 999px;
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
}

.project-badge-soft {
  background: rgba(224, 159, 62, 0.18);
  color: #7a4b07;
}

.project-card-open {
  color: var(--muted);
  flex: 0 0 auto;
}

.empty-state {
  background: #fff;
  border: 1px solid rgba(15, 76, 92, 0.12);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(20, 32, 42, 0.08);
  margin-inline: auto;
  max-width: 720px;
  padding: 2rem;
  text-align: center;
}

.empty-state i {
  align-items: center;
  background: rgba(15, 76, 92, 0.1);
  border-radius: 8px;
  color: var(--brand);
  display: inline-flex;
  font-size: 1.8rem;
  height: 3.25rem;
  justify-content: center;
  margin-bottom: 1rem;
  width: 3.25rem;
}

.empty-state h3 {
  color: var(--brand-dark);
  font-size: 1.35rem;
  font-weight: 800;
}

.empty-state p {
  color: var(--muted);
  margin: 0;
}

.empty-state-warning i {
  background: rgba(224, 159, 62, 0.18);
  color: #9a5b00;
}

@media (max-width: 767.98px) {
  .project-tools {
    grid-template-columns: 1fr;
  }
}
.site-navbar .nav-link,
.site-navbar .dropdown-toggle {
  align-items: center;
  display: inline-flex;
  gap: 0.25rem;
  min-height: 44px;
}

.site-navbar .nav-link i,
.site-navbar .dropdown-toggle::after {
  line-height: 1;
}


