    html {
      scroll-behavior: smooth;
    }
    body {
      margin: 0;
      font-family: sans-serif;
      background: #000066;
    }
    header {
      height: 60px;
      max-width: 900px;
      width: 90%;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 0px;
    }
    .logo-group img {
      height: 50px;
    }

    .right-icons {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .right-icons .logopage {
      height: 40px;
    }
    .header-container {
      background: linear-gradient(to left, #007BFF, #a8ddff);
      position: sticky;
      top: 0;
      z-index: 1000;
    }
    .menu-toggle {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      width: 30px;
      height: 22px;
      cursor: pointer;
    }

    .menu-toggle span {
      height: 4px;
      background: white;
      border-radius: 2px;
    }

    nav {
      position: fixed;
      top: 60px;
      right: 0;
      width: 250px;
      background: #00CCFF;
      box-shadow: -2px 0 10px rgba(0,0,0,0.2);
      transform: translateX(100%);
      transition: transform 0.3s ease;
      z-index: 999;
    }

    nav.active {
      transform: translateX(0%);
    }

    nav ul {
      list-style: none;
      margin: 0;
      padding: 0;
    }

    nav li {
      padding: 10px;
      border-bottom: 1px solid #eee;
      cursor: pointer;
      position: relative;
    }

    nav li:hover,
    nav li.active {
      background: #007BFF;
      color: white;
    }

    nav li a {
      text-decoration: none;
      color: #000 !important;
      display: inline-block;
      width: 100%;
    }

    nav li .submenu {
      display: none;
      flex-direction: column;
      background: #f9f9f9;
      border: 1px solid #ccc;
      border-radius: 6px;
      margin-top: 8px;
      padding: 10px;
    }

    nav li.dropdown:hover .submenu,
    nav li.dropdown.open .submenu {
      display: flex;
    }
.submenu li {
  display: flex;
  align-items: center;
  padding: 10px;
  color: #000 !important;
  border-bottom: 1px solid #eee;
  gap: 8px; /* ระยะห่างระหว่างไอคอนกับข้อความ */
}
.submenu li:last-child {
  border-bottom: none;
}

.submenu li:hover {
  background: #e0f4ff;
  color: #000 !important;
  border-radius: 4px;
}

.submenu li::before {
  content: '';
  display: inline-block;
  width: 1em;
  text-align: center;
}

/* ไอคอน */
.submenu li:nth-child(1)::before { content: '✍️'; }
.submenu li:nth-child(2)::before { content: '🔗'; }
.submenu li:nth-child(3)::before { content: '📰'; }
    .banner,
    .section,
    .table-box,
    .table-h3,
    .footer {
      max-width: 900px;
      width: 90%;
      margin: 20px auto;
    }
    .banner img {
      width: 100%;
      max-width: 500px;
      border-radius: 12px;
      display: block;
      margin: auto;
    }

    .section {
      background: linear-gradient(to top, #00CCFF , #FFFFFF);
      padding: 20px;
      border-radius: 12px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    .table-box {
      background: linear-gradient(to bottom, #00CCFF , #FFFFFF);
      padding: 20px;
      border-radius: 12px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }
    .table-h3 {
      background: linear-gradient(to bottom, #00CCFF, #FFFFFF, #00CCFF);
      padding: 20px;
      border-radius: 12px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);      
    }           
    .desc {
      color: #000;
    }
    .footer {
      text-align: center;
      font-size: 14px;
      color: #00CCFF;
    }
    
.share-banner-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  padding: 12px 15px;
  background: linear-gradient(135deg, #000066, #003366);
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  animation: pulse 2s infinite;
  margin: 20px auto;
  max-width: 100%;
  color: #00CCFF;
  font-size: 16px;
  font-weight: bold;
}

.share-text {
  white-space: nowrap;
  flex-shrink: 1;
  font-size: 16px;
}

.share-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.share-buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 16px;
  color: white;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.share-buttons a:hover {
  transform: scale(1.1);
}

.facebook { background: #3b5998; }
.twitter  { background: #1da1f2; }
.line     { background: #00c300; }

@keyframes pulse {
  0%   { transform: scale(1); box-shadow: 0 6px 14px rgba(0,0,0,0.2); }
  50%  { transform: scale(1.02); box-shadow: 0 8px 18px rgba(0,0,0,0.3); }
  100% { transform: scale(1); box-shadow: 0 6px 14px rgba(0,0,0,0.2); }
}

/* 🟡 Responsive ปรับขนาดเฉพาะมือถือ */
@media (max-width: 480px) {
  .share-text {
    font-size: 14px;
  }

  .share-buttons a {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
}