*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --emerald-50: #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-200: #a7f3d0;
    --emerald-400: #34d399;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --emerald-800: #065f46;
    --emerald-900: #064e3b;
    --gold-400: #fbbf24;
    --gold-500: #f59e0b;
    --gold-600: #d97706;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --white: #ffffff;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
    --shadow-md: 0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.06);
    --shadow-lg: 0 12px 40px rgba(0,0,0,.1), 0 4px 12px rgba(0,0,0,.06);
  }

  html { scroll-behavior: smooth; font-size: 16px; }

  body {
    font-family: 'Sarabun', sans-serif;
    background: var(--slate-50);
    color: var(--slate-800);
    line-height: 1.7;
    overflow-x: hidden;
  }

  /* ─── NAV ─── */
  .navbar {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--slate-200);
    padding: 0 1.5rem;
  }
  .nav-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    height: 68px; gap: 1rem;
  }
  .nav-brand {
    display: flex; align-items: center; gap: 12px;
    text-decoration: none; flex-shrink: 0;
  }
  .nav-logo {
    width: 42px; height: 42px; border-radius: 10px;
    background: linear-gradient(135deg, var(--emerald-600), var(--emerald-800));
    display: flex; align-items: center; justify-content: center;
    font-family: 'Noto Serif Thai', serif;
    font-weight: 700; font-size: 16px; color: #fff;
    box-shadow: var(--shadow-sm);
  }
  .nav-title { line-height: 1.2; }
  .nav-title .t1 { font-size: 15px; font-weight: 700; color: var(--emerald-800); }
  .nav-title .t2 { font-size: 11.5px; color: var(--slate-500); font-weight: 400; }
  .nav-links { display: flex; gap: 0.25rem; align-items: center; }
  .nav-links a {
    text-decoration: none; font-size: 14px; font-weight: 500;
    color: var(--slate-600); padding: 6px 14px; border-radius: 8px;
    transition: all .2s;
  }
  .nav-links a:hover { background: var(--emerald-50); color: var(--emerald-700); }
  .nav-cta {
    background: var(--emerald-600); color: #fff !important;
    padding: 8px 18px !important; border-radius: 10px !important;
    box-shadow: var(--shadow-sm);
  }
  .nav-cta:hover { background: var(--emerald-700) !important; color: #fff !important; }
  .nav-burger { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
  .nav-burger span {
    display: block; width: 22px; height: 2px;
    background: var(--slate-700); border-radius: 2px; margin: 5px 0;
    transition: .3s;
  }

  /* ─── HERO ─── */
  .hero {
    background: linear-gradient(150deg, var(--emerald-900) 0%, var(--emerald-700) 55%, var(--emerald-500) 100%);
    padding: 5rem 1.5rem 4rem;
    position: relative; overflow: hidden;
  }
  .hero::before {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  }
  .hero::after {
    content: '';
    position: absolute; bottom: -2px; left: 0; right: 0;
    height: 80px;
    background: var(--slate-50);
    clip-path: ellipse(55% 100% at 50% 100%);
  }
  .hero-inner {
    max-width: 1200px; margin: 0 auto;
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
  }
  .hero-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,.15); backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.25);
    color: #fff; font-size: 13px; font-weight: 500;
    padding: 6px 14px; border-radius: 999px; margin-bottom: 1.25rem;
  }
  .hero-badge-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--gold-400); animation: pulse-dot 2s infinite;
  }
  @keyframes pulse-dot {
    0%,100% { opacity: 1; transform: scale(1); }
    50% { opacity: .6; transform: scale(1.3); }
  }
  .hero h1 {
    font-family: 'Noto Serif Thai', serif;
    font-size: clamp(2rem, 4vw, 3rem); font-weight: 700;
    color: #fff; line-height: 1.35; margin-bottom: 1.25rem;
  }
  .hero h1 span { color: var(--gold-400); }
  .hero-desc { color: rgba(255,255,255,.82); font-size: 17px; line-height: 1.8; margin-bottom: 2rem; }
  .hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
  .btn-primary {
    background: var(--gold-500); color: var(--slate-900);
    font-weight: 700; font-size: 15px; padding: 12px 28px;
    border-radius: var(--radius-md); border: none; cursor: pointer;
    text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
    box-shadow: 0 4px 20px rgba(251,191,36,.4);
    transition: all .25s;
  }
  .btn-primary:hover { background: var(--gold-600); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(251,191,36,.5); }
  .btn-outline {
    background: rgba(255,255,255,.12); color: #fff;
    font-weight: 600; font-size: 15px; padding: 12px 28px;
    border-radius: var(--radius-md); border: 1px solid rgba(255,255,255,.3); cursor: pointer;
    text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
    transition: all .25s; backdrop-filter: blur(8px);
  }
  .btn-outline:hover { background: rgba(255,255,255,.22); transform: translateY(-2px); }
  .hero-visual { display: flex; justify-content: center; }
  .hero-card-stack { position: relative; width: 360px; height: 300px; }
  .hcard {
    position: absolute; background: rgba(255,255,255,.12);
    backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.2);
    border-radius: var(--radius-lg); padding: 1.5rem;
    color: #fff; transition: transform .4s;
  }
  .hcard-1 { width: 280px; top: 20px; left: 0; transform: rotate(-3deg); }
  .hcard-2 { width: 300px; top: 60px; right: 0; transform: rotate(2deg); }
  .hcard-main {
    position: absolute; width: 320px; bottom: 0; left: 20px;
    background: rgba(255,255,255,.18); transform: rotate(0);
    z-index: 2;
  }
  .hcard-icon {
    width: 40px; height: 40px; border-radius: 10px;
    background: rgba(251,191,36,.25); display: flex; align-items: center;
    justify-content: center; margin-bottom: 10px; font-size: 20px;
  }
  .hcard-label { font-size: 11px; opacity: .7; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 3px; }
  .hcard-val { font-size: 22px; font-weight: 700; }
  .hcard-sub { font-size: 12px; opacity: .75; margin-top: 2px; }

  /* ─── SECTION COMMON ─── */
  section { padding: 4.5rem 1.5rem; }
  .section-inner { max-width: 1200px; margin: 0 auto; }
  .section-tag {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--emerald-50); color: var(--emerald-700);
    font-size: 13px; font-weight: 600; padding: 5px 14px;
    border-radius: 999px; border: 1px solid var(--emerald-200);
    margin-bottom: .75rem;
  }
  .section-tag svg { width: 14px; height: 14px; }
  .section-heading {
    font-family: 'Noto Serif Thai', serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700;
    color: var(--slate-900); line-height: 1.35; margin-bottom: .75rem;
  }
  .section-sub { font-size: 16px; color: var(--slate-500); max-width: 560px; line-height: 1.8; }

  /* ─── STATS ─── */
  .stats-section { background: #fff; border-top: 1px solid var(--slate-200); border-bottom: 1px solid var(--slate-200); }
  .stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
  .stat-item {
    padding: 2.5rem 2rem; text-align: center;
    border-right: 1px solid var(--slate-200); transition: background .2s;
  }
  .stat-item:last-child { border-right: none; }
  .stat-item:hover { background: var(--emerald-50); }
  .stat-icon {
    width: 52px; height: 52px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem; font-size: 24px;
  }
  .stat-num {
    font-family: 'Noto Serif Thai', serif;
    font-size: 2.4rem; font-weight: 700; color: var(--emerald-700);
    line-height: 1;
  }
  .stat-unit { font-size: 1rem; color: var(--emerald-600); font-weight: 600; }
  .stat-label { font-size: 14px; color: var(--slate-500); margin-top: 6px; }
/* เพิ่มตรงนี้ */
.stat-icon{
    width:52px;
    height:52px;
    border-radius:14px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:0 auto 1rem;
    font-size:24px;
    line-height:1;
}
  /* ─── PILLARS ─── */
  .pillars-section { background: var(--slate-50); }
  .pillars-header { margin-bottom: 3rem; }
  .pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .pillar-card {
    background: #fff; border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg); padding: 2rem;
    transition: all .3s; position: relative; overflow: hidden;
  }
  .pillar-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 4px; border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    background: var(--emerald-500); transform: scaleX(0); transition: transform .3s;
    transform-origin: left;
  }
  .pillar-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
  .pillar-card:hover::before { transform: scaleX(1); }
  .pillar-icon-wrap {
    width: 56px; height: 56px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; margin-bottom: 1.25rem;
  }
  .pillar-card h3 {
    font-size: 17px; font-weight: 700; color: var(--slate-800);
    margin-bottom: .5rem; line-height: 1.4;
  }
  .pillar-card p { font-size: 14.5px; color: var(--slate-500); line-height: 1.75; }
  .pillar-link {
    display: inline-flex; align-items: center; gap: 5px;
    margin-top: 1.25rem; font-size: 14px; font-weight: 600;
    color: var(--emerald-600); text-decoration: none;
    transition: gap .2s;
  }
  .pillar-link:hover { gap: 8px; }

  /* ─── NEWS ─── */
  .news-section { background: #fff; }
  .news-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 2.5rem; flex-wrap: wrap; gap: 1rem; }
  .news-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.5rem; }
  .news-card {
    background: var(--slate-50); border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg); overflow: hidden; transition: all .3s;
    text-decoration: none; color: inherit; display: block;
  }
  .news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--emerald-200); }
  .news-thumb {
    height: 200px;
    background: linear-gradient(135deg, var(--emerald-600), var(--emerald-800));
    display: flex; align-items: center; justify-content: center;
    font-size: 48px; position: relative; overflow: hidden;
  }
  .news-thumb-sm { height: 120px; }
  .news-thumb .label-overlay {
    position: absolute; bottom: 12px; left: 12px;
    background: rgba(0,0,0,.45); color: #fff; font-size: 11px; font-weight: 600;
    padding: 4px 10px; border-radius: 6px;
  }
  .news-body { padding: 1.25rem 1.5rem; }
  .news-meta { display: flex; gap: 10px; align-items: center; margin-bottom: .6rem; flex-wrap: wrap; }
  .news-cat {
    font-size: 11.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px;
    background: var(--emerald-100); color: var(--emerald-700);
  }
  .news-date { font-size: 12px; color: var(--slate-400); }
  .news-title {
    font-size: 16px; font-weight: 700; color: var(--slate-800);
    line-height: 1.5; margin-bottom: .5rem;
  }
  .news-card.featured .news-title { font-size: 19px; }
  .news-card p { font-size: 14px; color: var(--slate-500); line-height: 1.7; }
  .news-side { display: flex; flex-direction: column; gap: 1rem; }
  .news-sm { display: grid; grid-template-columns: 100px 1fr; gap: 0; }
  .news-sm .news-thumb { height: 100%; min-height: 90px; border-radius: 0; }
  .news-sm .news-thumb-sm { width: 100px; height: auto; min-height: 100px; }

  /* ─── COMMITTEE ─── */
  .committee-section { background: var(--slate-50); }
  .committee-header { margin-bottom: 3rem; }
  .committee-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
  .member-card {
    background: #fff; border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg); padding: 1.75rem 1.25rem;
    text-align: center; transition: all .3s;
  }
  .member-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
  .member-avatar {
    width: 72px; height: 72px; border-radius: 50%;
    background: linear-gradient(135deg, var(--emerald-400), var(--emerald-700));
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; margin: 0 auto 1rem; color: #fff; font-weight: 700;
    font-family: 'Noto Serif Thai', serif;
    box-shadow: 0 4px 16px rgba(16,185,129,.25);
  }
  .member-name { font-size: 15px; font-weight: 700; color: var(--slate-800); margin-bottom: 4px; }
  .member-role { font-size: 13px; color: var(--emerald-600); font-weight: 600; margin-bottom: 6px; }
  .member-dept { font-size: 12px; color: var(--slate-400); }

  /* ─── ACTIVITIES ─── */
  .activities-section { background: #fff; }
  .timeline { position: relative; margin-top: 2.5rem; padding-left: 2rem; }
  .timeline::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0;
    width: 2px; background: linear-gradient(to bottom, var(--emerald-300), var(--emerald-600), var(--emerald-300));
    border-radius: 2px;
  }
  .timeline-item { position: relative; margin-bottom: 2.5rem; padding-left: 1.75rem; }
  .timeline-item::before {
    content: ''; position: absolute; left: -2.35rem; top: 6px;
    width: 12px; height: 12px; border-radius: 50%;
    background: var(--emerald-500); border: 3px solid #fff;
    box-shadow: 0 0 0 3px var(--emerald-200);
  }
  .tl-date { font-size: 12px; color: var(--emerald-600); font-weight: 700; margin-bottom: 4px; text-transform: uppercase; letter-spacing: .06em; }
  .tl-title { font-size: 16px; font-weight: 700; color: var(--slate-800); margin-bottom: 6px; }
  .tl-desc { font-size: 14px; color: var(--slate-500); line-height: 1.7; }
  .tl-tag {
    display: inline-block; margin-top: 8px; font-size: 12px;
    background: var(--emerald-50); color: var(--emerald-700);
    padding: 3px 10px; border-radius: 999px; font-weight: 600;
  }

  /* ─── CTA BAND ─── */
  .cta-band {
    background: linear-gradient(135deg, var(--emerald-800), var(--emerald-600));
    padding: 4rem 1.5rem; text-align: center; position: relative; overflow: hidden;
  }
  .cta-band::before {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='1.5' fill='%23ffffff' fill-opacity='0.07'/%3E%3C/svg%3E");
  }
  .cta-band-inner { max-width: 680px; margin: 0 auto; position: relative; z-index: 1; }
  .cta-band h2 {
    font-family: 'Noto Serif Thai', serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem); color: #fff;
    font-weight: 700; margin-bottom: 1rem;
  }
  .cta-band p { color: rgba(255,255,255,.8); font-size: 17px; margin-bottom: 2rem; line-height: 1.8; }
  .cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

  /* ─── PARTNERS ─── */
  .partners-section { background: var(--slate-50); padding: 3rem 1.5rem; }
  .partners-inner { max-width: 1200px; margin: 0 auto; }
  .partners-title { text-align: center; font-size: 14px; color: var(--slate-400); font-weight: 600; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 2rem; }
  .partners-row { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; align-items: center; }
  .partner-chip {
    background: #fff; border: 1px solid var(--slate-200);
    border-radius: var(--radius-md); padding: .75rem 1.75rem;
    font-size: 14px; font-weight: 600; color: var(--slate-600);
    transition: all .2s; display: flex; align-items: center; gap: 8px;
  }
  .partner-chip:hover { border-color: var(--emerald-300); color: var(--emerald-700); box-shadow: var(--shadow-sm); }
  .partner-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald-400); }

  /* ─── FOOTER ─── */
  footer {
    background: var(--slate-900);
    color: rgba(255,255,255,.65); padding: 3.5rem 1.5rem 2rem;
  }
  .footer-inner { max-width: 1200px; margin: 0 auto; }
  .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 3rem; margin-bottom: 3rem; }
  .footer-brand .nav-logo { background: linear-gradient(135deg, var(--emerald-500), var(--emerald-700)); margin-bottom: .75rem; }
  .footer-brand p { font-size: 14px; line-height: 1.8; color: rgba(255,255,255,.5); margin-top: .5rem; max-width: 260px; }
  .footer-col h4 { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 1rem; letter-spacing: .03em; }
  .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
  .footer-col ul li a {
    font-size: 14px; color: rgba(255,255,255,.5); text-decoration: none;
    transition: color .2s;
  }
  .footer-col ul li a:hover { color: var(--emerald-400); }
  .footer-contact-item { display: flex; gap: 10px; align-items: flex-start; margin-bottom: .75rem; font-size: 14px; }
  .footer-contact-item svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: var(--emerald-400); }
  .footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 1.5rem;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 1rem; font-size: 13px;
  }

  /* ─── MOBILE NAV ─── */
  @media (max-width: 900px) {
    .nav-links { display: none; }
    .nav-burger { display: block; }
    .nav-links.open {
      display: flex; flex-direction: column; align-items: stretch;
      position: absolute; top: 68px; left: 0; right: 0;
      background: #fff; border-bottom: 1px solid var(--slate-200);
      padding: .75rem 1rem; box-shadow: var(--shadow-md); gap: 4px;
    }
    .nav-links.open a { padding: 10px 14px; }
    .navbar { position: sticky; }
    .hero-inner { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2) { border-right: none; }
    .stat-item:nth-child(3), .stat-item:nth-child(4) { border-top: 1px solid var(--slate-200); }
    .stat-item:nth-child(4) { border-right: none; }
    .pillars-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .committee-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 600px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .committee-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .hero { padding: 3.5rem 1.25rem 3rem; }
    section { padding: 3rem 1.25rem; }
    .news-sm { grid-template-columns: 1fr; }
    .news-sm .news-thumb-sm { width: 100%; height: 120px; }
    .footer-grid { gap: 2rem; }
  }

  /* ─── ANIMATIONS ─── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .fade-up { opacity: 0; animation: fadeUp .6s ease forwards; }
  .delay-1 { animation-delay: .1s; }
  .delay-2 { animation-delay: .2s; }
  .delay-3 { animation-delay: .3s; }
  .delay-4 { animation-delay: .4s; }
  .delay-5 { animation-delay: .5s; }

  .btn-link {
    font-size: 14px; font-weight: 700;
    color: var(--emerald-600); text-decoration: none;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 0; transition: gap .2s;
  }
  .btn-link:hover { gap: 9px; }

  .text-em { color: var(--emerald-600); font-weight: 700; }
