/* ============================================================
   CARDI — Modern Redesign 2026

   ============================================================ */

/* ─── Fonts ────────────────────────────────────────────────── */
@font-face {
  font-family: 'Moul';
  src: url('font/Moul/Moul-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Siemreap';
  src: url('font/Siemreap/Siemreap-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ─── Variables ───────────────────────────────────────────── */
:root {
  --primary:       #006B35;
  --primary-dark:  #004D24;
  --primary-mid:   #008040;
  --primary-light: #00963A;
  --primary-pale:  #E8F5ED;
  --primary-50:    #F0FAF3;
  --gold:          #F5A623;
  --gold-dark:     #D4890C;
  --gold-light:    #FFF3DC;
  --white:         #FFFFFF;
  --gray-50:       #F8FAFC;
  --gray-100:      #F1F5F1;
  --gray-200:      #E2E8E2;
  --gray-300:      #C9D3C9;
  --gray-400:      #9CAF9C;
  --gray-500:      #6B7F6B;
  --gray-600:      #4B5E4B;
  --gray-700:      #374337;
  --gray-800:      #1E2B1E;
  --text:          #1A2F1A;
  --text-muted:    #5A6E5A;
  --border:        #DDE8DD;
  --shadow-xs:     0 1px 3px rgba(0,50,10,.06);
  --shadow-sm:     0 2px 10px rgba(0,50,10,.08);
  --shadow-md:     0 6px 24px rgba(0,50,10,.12);
  --shadow-lg:     0 16px 48px rgba(0,50,10,.16);
  --radius-sm:     6px;
  --radius:        10px;
  --radius-lg:     16px;
  --radius-xl:     24px;
  --t:             .25s ease;
  --nav-h:         72px;
}

/* ─── Reset / Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,h5,h6 {
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}
a { color: var(--primary); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--primary-mid); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ─── Khmer ───────────────────────────────────────────────── */
.locale-km,
.locale-km h1,.locale-km h2,.locale-km h3,.locale-km h4,.locale-km h5,.locale-km h6,
.locale-km p,.locale-km li,.locale-km span,.locale-km a,.locale-km label,
.locale-km input,.locale-km textarea,.locale-km select {
  font-family: 'Siemreap', 'Noto Serif Khmer', serif;
  letter-spacing: 0;
  line-height: 2;
}

/* ─── Utilities ───────────────────────────────────────────── */
.section     { padding: 5rem 0; }
.section-lg  { padding: 7rem 0; }
.section-sm  { padding: 3rem 0; }
.text-green  { color: var(--primary) !important; }
.text-gold   { color: var(--gold) !important; }
.bg-pale     { background: var(--primary-pale) !important; }
.bg-50       { background: var(--gray-50) !important; }

/* ─── Eyebrow label ───────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--primary-50);
  color: var(--primary);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .38em 1.1em;
  border-radius: 50px;
  margin-bottom: 1.15rem;
  border: 1px solid rgba(0,107,53,.15);
}

/* ─── Section heading ─────────────────────────────────────── */
.section-title { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: .4rem; }
.section-line {
  width: 44px; height: 4px;
  background: var(--gold);
  border-radius: 2px;
  margin-top: .55rem;
}
.section-line.center { margin-left: auto; margin-right: auto; }
.section-subtitle { color: var(--text-muted); font-size: 1rem; max-width: 580px; }

/* ─── Buttons ─────────────────────────────────────────────── */
.btn-cardi {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--primary); color: var(--white);
  border: 2px solid var(--primary); border-radius: var(--radius);
  padding: .62rem 1.65rem; font-size: .9rem; font-weight: 600;
  cursor: pointer; transition: all var(--t); white-space: nowrap;
}
.btn-cardi:hover {
  background: var(--primary-dark); border-color: var(--primary-dark);
  color: var(--white); transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,107,53,.3);
}
.btn-cardi-outline {
  display: inline-flex; align-items: center; gap: .5rem;
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,.8); border-radius: var(--radius);
  padding: .62rem 1.65rem; font-size: .9rem; font-weight: 600;
  cursor: pointer; transition: all var(--t); white-space: nowrap;
}
.btn-cardi-outline:hover { background: rgba(255,255,255,.15); border-color: var(--white); color: var(--white); }
.btn-gold {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--gold); color: var(--text);
  border: 2px solid var(--gold); border-radius: var(--radius);
  padding: .62rem 1.65rem; font-size: .9rem; font-weight: 700;
  cursor: pointer; transition: all var(--t); white-space: nowrap;
}
.btn-gold:hover {
  background: var(--gold-dark); border-color: var(--gold-dark);
  color: var(--white); transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(212,137,12,.35);
}
.btn-link-cardi {
  display: inline-flex; align-items: center; gap: .4rem;
  color: var(--primary); font-weight: 600; font-size: .88rem;
  border: none; background: transparent; padding: 0;
  transition: gap var(--t), color var(--t);
}
.btn-link-cardi:hover { color: var(--primary-mid); gap: .7rem; }

/* ─── Badges ──────────────────────────────────────────────── */
.badge-cat {
  display: inline-block;
  background: var(--primary-50); color: var(--primary);
  font-size: .7rem; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; padding: .24em .8em;
  border-radius: 4px; border-left: 3px solid var(--primary);
}
.badge-green {
  background: var(--primary-50); color: var(--primary);
  border-radius: 50px; padding: .3em .85em;
  font-size: .75rem; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════
   TOPBAR
═══════════════════════════════════════════ */
.topbar {
  background: var(--primary-dark);
  font-size: .76rem;
  color: rgba(255,255,255,.7);
  padding: .45rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar a { color: rgba(255,255,255,.7); transition: color var(--t); }
.topbar a:hover { color: var(--white); }
.topbar .topbar-social { display: flex; align-items: center; gap: .5rem; }
.topbar .topbar-social a {
  width: 22px; height: 22px;
  border-radius: 50%; background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.7); font-size: .68rem;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--t), color var(--t);
}
.topbar .topbar-social a:hover { background: var(--gold); color: var(--primary-dark); }
.topbar-sep { width: 1px; height: 13px; background: rgba(255,255,255,.2); flex-shrink: 0; }
.locale-pill {
  display: inline-flex;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 4px;
  overflow: hidden;
}
.locale-pill a {
  padding: .14rem .55rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .04em;
  color: rgba(255,255,255,.55);
  transition: background var(--t), color var(--t);
}
.locale-pill a:hover,
.locale-pill a.lp-active { background: var(--gold); color: var(--primary-dark); }

/* ═══════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════ */
#mainNav {
  background: var(--white);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1030;
  border-bottom: 1px solid var(--border);
  padding: 0;
  transition: box-shadow var(--t);
}
#mainNav.scrolled { box-shadow: var(--shadow-md); }
#mainNav .container,
#mainNav .container > .navbar { width: 100%; padding: 0; }
#mainNav .navbar-brand {
  display: flex; align-items: center; gap: 10px;
  padding: 0; flex-shrink: 0;
}
.brand-logo-wrap {
  width: auto; height: 40px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.brand-logo-wrap svg { width: 30px; height: 30px; }
.brand-logo-wrap img.brand-logo { 
  height: 40px; 
  width: auto; 
  object-fit: contain; 
  max-width: 200px;
}
.brand-name { 
  display: flex; 
  flex-direction: column; 
  line-height: 1.2;
  gap: 2px;
}
.brand-name .abbr {
  font-family: 'Moul', serif;
  font-size: 0.85rem; 
  font-weight: 600;
  color: var(--primary-dark); 
  letter-spacing: 0; 
  line-height: 1.2;
}
.brand-name .full {
  font-family: 'Inter', sans-serif;
  font-size: 0.62rem; 
  color: var(--gray-500); 
  font-weight: 500;
  max-width: 280px; 
  line-height: 1.3; 
  letter-spacing: 0.01em;
  text-transform: uppercase;
  font-weight: 600;
}

/* Responsive brand */
@media (max-width: 575px) {
  #mainNav .navbar-brand {
    gap: 8px;
  }
  .brand-logo-wrap {
    height: 36px;
  }
  .brand-logo-wrap img.brand-logo {
    height: 36px;
    max-width: 160px;
  }
  .brand-name .abbr {
    font-size: 0.75rem;
  }
  .brand-name .full {
    font-size: 0.55rem;
    max-width: 200px;
  }
}

@media (min-width: 768px) {
  .brand-logo-wrap {
    height: 50px;
  }
  .brand-logo-wrap img.brand-logo {
    height: 50px;
    max-width: 240px;
  }
  .brand-name .abbr {
    font-size: 1rem;
  }
  .brand-name .full {
    font-size: 0.7rem;
    max-width: 320px;
  }
}

@media (min-width: 992px) {
  .brand-logo-wrap {
    height: 56px;
  }
  .brand-logo-wrap img.brand-logo {
    height: 56px;
    max-width: 280px;
  }
  .brand-name .abbr {
    font-size: 1.1rem;
  }
  .brand-name .full {
    font-size: 0.75rem;
  }
}

@media (min-width: 1200px) {
  #mainNav .navbar-brand {
    gap: 14px;
  }
  .brand-logo-wrap {
    height: 60px;
  }
  .brand-logo-wrap img.brand-logo {
    height: 60px;
    max-width: 320px;
  }
  .brand-name .abbr {
    font-size: 1.2rem;
  }
  .brand-name .full {
    font-size: 0.8rem;
    max-width: 360px;
  }
}
/* Nav links */
#mainNav .nav-link {
  color: var(--gray-700) !important;
  font-size: .86rem; font-weight: 500;
  padding: .45rem .8rem !important;
  border-radius: var(--radius-sm);
  transition: color var(--t), background var(--t);
  position: relative;
}
#mainNav .nav-link:hover { color: var(--primary) !important; background: var(--primary-50); }
#mainNav .nav-link.active {
  color: var(--primary) !important; font-weight: 600;
}
#mainNav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -1px; left: .8rem; right: .8rem;
  height: 2px; background: var(--primary); border-radius: 1px;
}
/* Dropdown */
#mainNav .dropdown-menu {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: .5rem; margin-top: .35rem; min-width: 210px;
}
#mainNav .dropdown-item {
  border-radius: var(--radius-sm);
  font-size: .85rem; color: var(--gray-700);
  padding: .48rem .85rem;
  transition: background var(--t), color var(--t);
}
#mainNav .dropdown-item:hover { background: var(--primary-50); color: var(--primary); }
#mainNav .dropdown-divider { margin: .3rem .4rem; border-color: var(--border); }
/* Nav actions */
.nav-actions { display: flex; align-items: center; gap: .45rem; flex-shrink: 0; }
.nav-lang-btn {
  display: flex; align-items: center; gap: .3rem;
  background: var(--gray-50); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: .36rem .7rem;
  font-size: .78rem; font-weight: 600; color: var(--gray-700); cursor: pointer;
  transition: all var(--t);
}
.nav-lang-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-50); }
.nav-cta-btn {
  background: var(--primary); color: var(--white);
  border: none; border-radius: var(--radius-sm);
  padding: .42rem 1.05rem; font-size: .8rem; font-weight: 600;
  transition: all var(--t); white-space: nowrap;
}
.nav-cta-btn:hover { background: var(--primary-dark); color: var(--white); }
/* Hamburger */
#mainNav .navbar-toggler {
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: .32rem .52rem;
}
#mainNav .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23374337' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
@media (max-width: 991px) {
  #mainNav .navbar-collapse {
    background: var(--white); border-top: 1px solid var(--border);
    padding: .85rem; margin-top: .2rem;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: var(--shadow-md);
  }
  #mainNav .nav-link.active::after { display: none; }
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h) - 41px);
  background: var(--primary-dark);
  overflow: hidden;
  display: flex; align-items: center;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 70% 50%, rgba(0,150,58,.3) 0%, transparent 55%),
    linear-gradient(160deg, var(--primary-dark) 0%, rgba(0,77,36,.95) 65%, rgba(0,50,20,1) 100%);
  z-index: 0;
}
.hero-dots {
  position: absolute; inset: 0; z-index: 0; opacity: .1;
  background-image: radial-gradient(circle, rgba(255,255,255,.7) 1px, transparent 1px);
  background-size: 28px 28px;
}
.hero-glow {
  position: absolute; top: -30%; right: -8%;
  width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,150,58,.2) 0%, transparent 65%);
  z-index: 0; pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; padding: 5rem 0; }
.hero-tag {
  display: inline-flex; align-items: center; gap: .45rem;
  background: rgba(245,166,35,.15); border: 1px solid rgba(245,166,35,.3);
  color: var(--gold); font-size: .7rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  padding: .38em 1.1em; border-radius: 50px; margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(1.9rem, 4.8vw, 3.3rem);
  color: var(--white); line-height: 1.22;
  margin-bottom: 1.35rem; font-weight: 700;
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-lead {
  font-size: 1.05rem; color: rgba(255,255,255,.78);
  max-width: 550px; line-height: 1.82; margin-bottom: 2.2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
/* Stats card */
.hero-stats-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.13);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius-xl); padding: 1.75rem 1.75rem 1.25rem;
  width: 100%; max-width: 320px;
}
.h-stat-item {
  display: flex; align-items: center; gap: .9rem;
  padding: .8rem 0; border-bottom: 1px solid rgba(255,255,255,.1);
}
.h-stat-item:last-child { border-bottom: none; padding-bottom: 0; }
.h-stat-icon {
  width: 42px; height: 42px;
  background: rgba(245,166,35,.18); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.h-stat-val {
  font-family: 'Merriweather', serif;
  font-size: 1.5rem; font-weight: 700; color: var(--gold); line-height: 1;
}
.h-stat-label { font-size: .75rem; color: rgba(255,255,255,.58); margin-top: .12rem; }
.hero-scroll-cue {
  position: absolute; bottom: 1.75rem; left: 50%;
  transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: .35rem;
  color: rgba(255,255,255,.4); font-size: .65rem;
  letter-spacing: .1em; text-transform: uppercase;
  animation: cue-bounce 2s infinite;
}
@keyframes cue-bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(5px); }
}
.clean-city-label {
    width: 100%;
    height: 180px;
    object-fit: contain;
}

/* ═══════════════════════════════════════════
   QUICK ACCESS BAR
═══════════════════════════════════════════ */
.quick-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}
.quick-item {
  display: flex; align-items: center; gap: .65rem;
  padding: 1rem 0; color: var(--gray-700);
  font-size: .83rem; font-weight: 500;
  border-right: 1px solid var(--border); padding-right: 1.5rem;
  transition: color var(--t);
}
.quick-item:last-child { border-right: none; }
.quick-item:hover { color: var(--primary); }
.quick-icon {
  width: 34px; height: 34px;
  background: var(--primary-50); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: .9rem; flex-shrink: 0;
  transition: background var(--t), color var(--t);
}
.quick-item:hover .quick-icon { background: var(--primary); color: var(--white); }

/* ═══════════════════════════════════════════
   ABOUT SECTION
═══════════════════════════════════════════ */
.about-img-box {
  width: 100%; aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--primary-50) 0%, var(--primary-pale) 100%);
  border-radius: var(--radius-xl);
  display: flex; align-items: center; justify-content: center;
  font-size: 6rem; overflow: hidden; position: relative;
}
.about-img-box::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.about-badge {
  position: absolute; bottom: -1.25rem; right: -1.25rem;
  background: var(--primary); color: var(--white);
  border-radius: var(--radius-lg); padding: 1.2rem 1.35rem;
  text-align: center; box-shadow: var(--shadow-md); min-width: 105px;
}
.about-badge .num {
  font-family: 'Merriweather', serif;
  font-size: 1.85rem; font-weight: 700; color: var(--gold); line-height: 1;
}
.about-badge .lbl { font-size: .7rem; color: rgba(255,255,255,.75); margin-top: .2rem; line-height: 1.35; }
.about-feature {
  display: flex; gap: .85rem;
  padding: 1rem; background: var(--gray-50);
  border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: .75rem; transition: border-color var(--t), box-shadow var(--t);
}
.about-feature:hover { border-color: var(--primary); box-shadow: var(--shadow-xs); }
.about-feature-icon {
  width: 40px; height: 40px;
  background: var(--primary-50); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--primary); flex-shrink: 0;
}
.about-feature h6 { font-size: .87rem; font-weight: 600; margin-bottom: .15rem; }
.about-feature p  { font-size: .81rem; color: var(--text-muted); margin: 0; line-height: 1.6; }

/* ═══════════════════════════════════════════
   STATS BAR
═══════════════════════════════════════════ */
.stats-bar { background: var(--primary); padding: 2.8rem 0; }
.stat-block { text-align: center; padding: 0 .75rem; position: relative; }
.stat-block::after {
  content: ''; position: absolute;
  right: 0; top: 20%; bottom: 20%;
  width: 1px; background: rgba(255,255,255,.2);
}
.stat-block:last-child::after { display: none; }
.stat-block .stat-num {
  font-family: 'Merriweather', serif;
  font-size: 2.3rem; font-weight: 700; color: var(--gold); display: block; line-height: 1.1;
}
.stat-block .stat-label {
  font-size: .76rem; color: rgba(255,255,255,.68);
  letter-spacing: .06em; text-transform: uppercase;
  margin-top: .35rem; display: block;
}

/* ═══════════════════════════════════════════
   PROGRAMS
═══════════════════════════════════════════ */
.program-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.85rem 1.65rem;
  height: 100%; display: flex; flex-direction: column;
  transition: all var(--t); position: relative; overflow: hidden;
}
.program-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.program-card::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(to bottom, var(--primary), var(--gold));
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  transform: scaleY(0); transform-origin: bottom; transition: transform var(--t);
}
.program-card:hover::before { transform: scaleY(1); }
.program-icon {
  width: 54px; height: 54px; background: var(--primary-50);
  border-radius: var(--radius); display: flex; align-items: center;
  justify-content: center; font-size: 1.6rem; margin-bottom: 1.15rem;
  transition: background var(--t), transform var(--t);
}
.program-card:hover .program-icon { background: var(--primary); transform: scale(1.06); }
.program-card h5 { font-size: .97rem; font-weight: 700; margin-bottom: .6rem; line-height: 1.4; }
.program-card p { font-size: .84rem; color: var(--text-muted); flex: 1; margin-bottom: 1.1rem; line-height: 1.7; }
.program-card .card-arrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .83rem; font-weight: 600; color: var(--primary);
  margin-top: auto; transition: gap var(--t);
}
.program-card:hover .card-arrow { gap: .7rem; }
/* Legacy alias */
.research-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.85rem 1.65rem; height: 100%; transition: all var(--t); }
.research-card:hover { box-shadow: var(--shadow-md); border-color: var(--primary); }
.research-icon { width: 54px; height: 54px; background: var(--primary-50); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1.1rem; }
.research-card .learn-more { font-size: .85rem; font-weight: 600; color: var(--primary); display: flex; align-items: center; gap: .4rem; }

/* ═══════════════════════════════════════════
   NEWS CARDS
═══════════════════════════════════════════ */
.news-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column; height: 100%;
  transition: all var(--t);
}
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(0,107,53,.2); }
.news-card-img,
.news-card-img-placeholder,
.news-card-thumb {
  width: 100%; aspect-ratio: 16/9; object-fit: cover;
  background: linear-gradient(135deg, var(--primary-50), var(--primary-pale));
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; overflow: hidden; flex-shrink: 0;
}
.news-card-img-placeholder { font-size: 3rem; min-height: 180px; }
.news-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.news-meta,.news-card-meta {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: .45rem; margin-bottom: .55rem; font-size: .76rem; color: var(--text-muted);
}
.news-card-body h5 {
  font-size: .96rem; margin-bottom: .55rem; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.news-card-body h5 a { color: var(--text); }
.news-card-body h5 a:hover { color: var(--primary); }
.news-card-body p {
  font-size: .83rem; color: var(--text-muted); line-height: 1.65; flex: 1;
  margin-bottom: .85rem;
}
.news-card-footer {
  padding: .75rem 1.25rem; background: var(--gray-50);
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; font-size: .78rem;
}
/* Featured horizontal */
.news-featured {
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t);
}
.news-featured:hover { box-shadow: var(--shadow-md); }
.news-featured-img {
  background: linear-gradient(135deg, var(--primary-pale), var(--primary-50));
  min-height: 280px; display: flex; align-items: center;
  justify-content: center; font-size: 6rem; overflow: hidden; position: relative;
}
.news-featured-img img { object-fit: cover; width: 100%; height: 100%; position: absolute; inset: 0; }
.news-featured-body {
  padding: 2.25rem 2.25rem 1.75rem;
  display: flex; flex-direction: column; justify-content: center;
}
.news-featured-body h3 { font-size: 1.3rem; margin-bottom: .8rem; line-height: 1.4; }
.news-featured-body h3 a { color: var(--text); }
.news-featured-body h3 a:hover { color: var(--primary); }
.news-featured-body p { font-size: .88rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 1.35rem; }
@media (max-width: 767px) { .news-featured { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════
   CTA BANNER
═══════════════════════════════════════════ */
.cta-banner { background: var(--primary-dark); position: relative; overflow: hidden; }
.cta-banner::before {
  content: '';
  position: absolute; top: -50%; right: -5%;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,166,35,.1) 0%, transparent 65%);
}
.cta-banner .cta-inner { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2rem); }
.cta-banner p  { color: rgba(255,255,255,.72); max-width: 520px; }

/* ═══════════════════════════════════════════
   PARTNERS
═══════════════════════════════════════════ */
.partners-strip { background: var(--gray-50); border-top: 1px solid var(--border); padding: 2.5rem 0; }
.partner-item { display: flex; flex-direction: column; align-items: center; gap: .4rem; opacity: .55; transition: opacity var(--t), transform var(--t); }
.partner-item:hover { opacity: 1; transform: translateY(-2px); }
.partner-logo-box {
  height: 46px; padding: 0 1rem;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-sm); display: flex; align-items: center;
  justify-content: center; font-size: .78rem; color: var(--gray-500);
  font-weight: 700; letter-spacing: .05em; min-width: 80px;
}
.partner-name { font-size: .68rem; color: var(--text-muted); font-weight: 500; }

/* ═══════════════════════════════════════════
   AOS ANIMATIONS
═══════════════════════════════════════════ */
[data-aos] { opacity: 0; transform: translateY(22px); transition: opacity .5s ease, transform .5s ease; }
[data-aos].aos-animate { opacity: 1; transform: none; }
[data-aos="fade-left"]  { transform: translateX(22px); }
[data-aos="fade-right"] { transform: translateX(-22px); }
[data-aos="fade-left"].aos-animate,
[data-aos="fade-right"].aos-animate { transform: none; }

/* ═══════════════════════════════════════════
   PAGE HEADER (inner pages)
═══════════════════════════════════════════ */
.page-hero, .page-header {
  background: var(--primary-dark); padding: 3.5rem 0 2.75rem;
  position: relative; overflow: hidden;
}
.page-hero::before, .page-header::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, rgba(0,77,36,.9) 100%); opacity: .97;
}
.page-hero .container, .page-header .container { position: relative; z-index: 1; }
.page-hero h1, .page-header h1 { color: var(--white); font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
.breadcrumb-cardi { background: transparent; padding: 0; margin: 0; }
.breadcrumb-cardi .breadcrumb-item { font-size: .8rem; }
.breadcrumb-cardi .breadcrumb-item a { color: rgba(255,255,255,.65); }
.breadcrumb-cardi .breadcrumb-item a:hover { color: var(--gold); }
.breadcrumb-cardi .breadcrumb-item.active { color: rgba(255,255,255,.82); }
.breadcrumb-cardi .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.35); }
/* Bootstrap default breadcrumb in page-header */
.page-hero .breadcrumb, .page-header .breadcrumb { background: transparent; padding: 0; margin: 0; }
.page-hero .breadcrumb-item a, .page-header .breadcrumb-item a { color: rgba(255,255,255,.65); }
.page-hero .breadcrumb-item.active, .page-header .breadcrumb-item.active { color: rgba(255,255,255,.82); }
.page-hero .breadcrumb-item + .breadcrumb-item::before,
.page-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.38); }

/* ═══════════════════════════════════════════
   NEWS INDEX
═══════════════════════════════════════════ */
.filter-bar { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; padding: 1rem 0; }
.filter-pill {
  display: inline-flex; align-items: center; gap: .3rem;
  background: var(--white); border: 1px solid var(--border);
  color: var(--gray-600); font-size: .79rem; font-weight: 500;
  padding: .36rem 1rem; border-radius: 50px;
  cursor: pointer; transition: all var(--t); text-decoration: none;
}
.filter-pill:hover,.filter-pill.active {
  background: var(--primary); border-color: var(--primary); color: var(--white);
}
.search-box { position: relative; }
.search-box input {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: .4rem 1rem .4rem 2.35rem;
  font-size: .83rem; outline: none; width: 210px;
  transition: border-color var(--t), box-shadow var(--t);
  font-family: inherit; color: var(--text);
}
.search-box input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,107,53,.1); }
.search-box .si { position: absolute; left: .72rem; top: 50%; transform: translateY(-50%); color: var(--gray-400); font-size: .8rem; pointer-events: none; }

/* ═══════════════════════════════════════════
   SIDEBAR
═══════════════════════════════════════════ */
.sidebar-widget, .widget {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.4rem;
  margin-bottom: 1.4rem;
}
.sidebar-widget-title, .widget-title {
  font-size: .78rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--gray-700);
  margin-bottom: 1rem; padding-bottom: .65rem;
  border-bottom: 2px solid var(--primary-50); position: relative;
}
.sidebar-widget-title::before, .widget-title::before {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 28px; height: 2px; background: var(--primary);
}
.cat-list { list-style: none; padding: 0; margin: 0; }
.cat-list li a, .widget .category-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: .48rem 0; font-size: .84rem; color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100); transition: color var(--t), padding-left var(--t);
  text-decoration: none;
}
.cat-list li:last-child a, .widget .category-link:last-child { border-bottom: none; }
.cat-list li a:hover, .widget .category-link:hover { color: var(--primary); padding-left: .25rem; }
.cat-list .cnt, .widget .cnt {
  background: var(--primary-50); color: var(--primary);
  font-size: .68rem; font-weight: 700; padding: .12em .6em; border-radius: 50px;
}
.tag-cloud { display: flex; flex-wrap: wrap; gap: .38rem; }
.tag-cloud a {
  background: var(--gray-50); border: 1px solid var(--border);
  color: var(--gray-600); font-size: .75rem; padding: .24rem .72rem;
  border-radius: 50px; transition: all var(--t);
}
.tag-cloud a:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }

/* ═══════════════════════════════════════════
   ARTICLE (news show)
═══════════════════════════════════════════ */
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; font-size: .8rem; color: var(--text-muted); margin-bottom: 1.2rem; }

/* Article / CMS Content Typography */
.article-body,
.cms-content {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text);
}
.article-body h1, .article-body h2, .article-body h3, .article-body h4, .article-body h5, .article-body h6,
.cms-content h1, .cms-content h2, .cms-content h3, .cms-content h4, .cms-content h5, .cms-content h6 {
  color: var(--primary-dark);
  font-weight: 700;
  line-height: 1.35;
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.article-body h2, .cms-content h2 { font-size: 1.6rem; }
.article-body h3, .cms-content h3 { font-size: 1.3rem; }
.article-body h4, .cms-content h4 { font-size: 1.1rem; }
.article-body p, .cms-content p {
  margin-bottom: 1.2rem;
}
.article-body ul, .article-body ol,
.cms-content ul, .cms-content ol {
  margin-bottom: 1.2rem;
  padding-left: 1.8rem;
}
.article-body li, .cms-content li {
  margin-bottom: .5rem;
}
.article-body strong, .cms-content strong { font-weight: 700; color: var(--primary-dark); }
.article-body em, .cms-content em { font-style: italic; }
.article-body a, .cms-content a {
  color: var(--primary);
  text-decoration: underline;
  transition: var(--t);
}
.article-body a:hover, .cms-content a:hover {
  color: var(--primary-dark);
  text-decoration: none;
}
.article-body blockquote,
.cms-content blockquote {
  border-left: 4px solid var(--gold);
  background: var(--gold-light);
  padding: 1.2rem 1.6rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.8rem 0;
  color: var(--gray-700);
  font-style: italic;
}
.article-body img, .cms-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin: 1.6rem 0;
  display: block;
}
.article-body code, .cms-content code {
  background: var(--gray-100);
  padding: .2rem .4rem;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: .88rem;
  color: var(--primary-dark);
}
.article-body pre, .cms-content pre {
  background: var(--gray-100);
  padding: 1rem 1.2rem;
  border-radius: var(--radius);
  overflow-x: auto;
  margin: 1.4rem 0;
  border: 1px solid var(--border);
}
.article-body pre code, .cms-content pre code {
  background: none;
  padding: 0;
}
.article-body table, .cms-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.6rem 0;
  font-size: .92rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.article-body th, .cms-content th {
  background: var(--primary-50);
  color: var(--primary-dark);
  padding: .75rem 1rem;
  font-size: .88rem;
  font-weight: 600;
  text-align: left;
}
.article-body td, .cms-content td {
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--border);
}
.article-body tr:last-child td, .cms-content tr:last-child td {
  border-bottom: none;
}
.article-body tr:nth-child(even), .cms-content tr:nth-child(even) {
  background: var(--gray-50);
}
.article-body hr, .cms-content hr {
  border: none;
  border-top: 2px solid var(--border);
  margin: 2rem 0;
}

/* share */
.share-btn {
  display: inline-flex; align-items: center; gap: .38rem;
  font-size: .79rem; font-weight: 600; padding: .36rem .82rem;
  border-radius: var(--radius-sm); border: none; cursor: pointer;
  transition: all var(--t); color: var(--white);
}
.share-btn.fb { background: #1877F2; }
.share-btn.tw { background: #1DA1F2; }
.share-btn.tg { background: #0088CC; }
.share-btn:hover { opacity: .88; transform: translateY(-1px); }

/* ═══════════════════════════════════════════
   CONTACT PAGE
═══════════════════════════════════════════ */
.contact-info-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem;
  transition: border-color var(--t), box-shadow var(--t);
}
.contact-info-card:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.contact-icon {
  width: 46px; height: 46px; background: var(--primary-50);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 1.2rem; margin-bottom: .75rem;
}
.contact-form-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 2.25rem; box-shadow: var(--shadow-sm);
}
.form-control-cardi {
  display: block; width: 100%; padding: .58rem 1rem;
  font-size: .87rem; font-family: inherit; color: var(--text);
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); outline: none;
  transition: border-color var(--t), box-shadow var(--t); line-height: 1.6;
}
.form-control-cardi:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,107,53,.1); }
.form-control-cardi.is-invalid { border-color: #dc3545; }

/* ═══════════════════════════════════════════
   PAGINATION
═══════════════════════════════════════════ */
.pagination .page-item.active .page-link { background-color: var(--primary) !important; border-color: var(--primary) !important; color: #fff !important; }
.pagination .page-link { color: var(--primary); border-radius: var(--radius-sm) !important; margin: 0 2px; border-color: var(--border); font-size: .87rem; }
.pagination .page-link:hover { background: var(--primary-50); color: var(--primary-dark); }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.site-footer { background: var(--gray-800); color: rgba(255,255,255,.7); }
.footer-top { padding: 4.25rem 0 2.5rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .abbr { font-family: 'Merriweather', serif; font-size: 1.5rem; font-weight: 700; color: var(--white); letter-spacing: .05em; }
.footer-brand .tagline { font-size: .72rem; color: rgba(255,255,255,.5); margin-top: .2rem; line-height: 1.5; }
.footer-desc { font-size: .83rem; line-height: 1.8; color: rgba(255,255,255,.58); margin: 1.1rem 0 1.25rem; }
.social-links { display: flex; gap: .45rem; flex-wrap: wrap; }
.social-links a {
  width: 32px; height: 32px; background: rgba(255,255,255,.1);
  border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.62); font-size: .8rem; transition: background var(--t), color var(--t);
}
.social-links a:hover { background: var(--gold); color: var(--primary-dark); }
.footer-heading {
  color: var(--white); font-size: .76rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1.1rem;
  padding-bottom: .65rem; position: relative;
}
.footer-heading::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 26px; height: 2px; background: var(--gold); border-radius: 1px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { font-size: .83rem; color: rgba(255,255,255,.58); transition: color var(--t), padding-left var(--t); }
.footer-links a:hover { color: var(--white); padding-left: .35rem; }
.footer-contact-item { display: flex; gap: .7rem; margin-bottom: .8rem; font-size: .82rem; color: rgba(255,255,255,.58); align-items: flex-start; }
.footer-contact-item i { color: var(--gold); margin-top: .22rem; flex-shrink: 0; width: 13px; text-align: center; }
.footer-contact-item a { color: rgba(255,255,255,.58); }
.footer-contact-item a:hover { color: var(--white); }
.footer-bottom { padding: 1.35rem 0; font-size: .77rem; color: rgba(255,255,255,.38); }

/* ═══════════════════════════════════════════
   BACK TO TOP
═══════════════════════════════════════════ */
#backToTop {
  position: fixed; bottom: 1.85rem; right: 1.85rem;
  width: 40px; height: 40px; background: var(--primary); color: var(--white);
  border: none; border-radius: var(--radius); display: flex; align-items: center;
  justify-content: center; font-size: .88rem; cursor: pointer;
  opacity: 0; transform: translateY(8px);
  transition: opacity var(--t), transform var(--t), background var(--t);
  z-index: 1000; box-shadow: var(--shadow-md);
}
#backToTop.visible { opacity: 1; transform: translateY(0); }
#backToTop:hover { background: var(--primary-dark); }

/* ═══════════════════════════════════════════
   ADMIN EDIT BAR
═══════════════════════════════════════════ */
.admin-edit-bar {
  position: fixed; bottom: 5rem; right: 1.5rem;
  display: flex; flex-direction: column; gap: .38rem; z-index: 1001;
}
.admin-edit-bar a {
  background: var(--primary-dark); color: var(--gold);
  border: none; border-radius: var(--radius); padding: .48rem .88rem;
  font-size: .77rem; font-weight: 600; display: flex; align-items: center; gap: .38rem;
  transition: background var(--t); box-shadow: var(--shadow-sm);
}
.admin-edit-bar a:hover { background: var(--primary); color: var(--white); }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 991px) {
  .hero-stats-col { display: none; }
}
@media (max-width: 767px) {
  :root { --nav-h: 62px; }
  .section { padding: 3.25rem 0; }
  .footer-top { padding: 2.75rem 0 1.5rem; }
  .hero h1 { font-size: 1.9rem; }
  .stat-block::after { display: none !important; }
  .about-badge { bottom: -.85rem; right: -.85rem; padding: .9rem; }
  .about-badge .num { font-size: 1.55rem; }
  .hero-inner { padding: 3.25rem 0; }
}
@media (max-width: 575px) {
  .quick-bar .quick-item { border-right: none; padding-right: .75rem; font-size: .78rem; }
}