@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;500;600;700&display=swap');
:root {
  --bg-color-light: #f8f9fa;
  --surface-color: #FFFFFF;
  --text-color-muted: #6c757d;
  --border-color: #dee2e6;
  --primary-color: #00b5ff;
  --grad-blue: linear-gradient(135deg, #005bea 0%, #00c6fb 100%);
  --grad-purple: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --grad-orange: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
  --grad-green: linear-gradient(135deg, #42e695 0%, #3bb2b8 100%);
  --card-bg: #ffffff;
  --border-radius-lg: 20px;
  --border-radius-md: 15px;
  --text-primary: #2c3e50;
  --text-secondary: #64748b;
  --grad-book: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  --grad-media: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
  --grad-ebook: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
}
[data-theme="dark"] {
  --bg-color-light: #1a1a1a;
  --surface-color: #212529;
  --card-bg: #1e1e1e;
  --text-primary: #e9ecef;
  --text-secondary: #adb5bd;
  --border-color: #444;
}
html {
  font-size: 16px;
  box-sizing: border-box;
  height: 100%;
}
*, *::before, *::after {
  box-sizing: inherit;
}
body {
  font-family: 'Kanit', sans-serif;
  margin: 0;
  padding: 0;
}
.hero-slider {
  height: 70vh;
  min-height: 500px;
  max-height: 750px;
  position: relative;
  overflow: hidden;
}
.carousel-item {
  height: 70vh;
  min-height: 500px;
  max-height: 750px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
.carousel-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}
.carousel-caption img {
  max-height: 500px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin-bottom: -4rem;
}
@media (min-width: 1400px) {
  .hero-slider, .carousel-item {
    height: 70vh;
    max-height: 800px;
  }
}
.carousel-caption {
  z-index: 2;
  bottom: 50%;
  transform: translateY(50%);
  text-align: center;
}
.carousel-caption h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease-out;
}
.carousel-caption p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease-out 0.3s both;
}
.btn-hero {
  padding: 12px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  animation: fadeInUp 1s ease-out 0.6s both;
}
.btn-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}
.carousel-control-prev, .carousel-control-next {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s ease;
}
.carousel-control-prev {
  left: 30px;
}
.carousel-control-next {
  right: 30px;
}
.carousel-control-prev:hover, .carousel-control-next:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}
.carousel-control-prev-icon, .carousel-control-next-icon {
  width: 20px;
  height: 20px;
}
.carousel-indicators {
  bottom: 30px;
  z-index: 99;
}
.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 5px;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  padding: 0;
  opacity: 1;
  text-indent: -999px;
  transition: all 0.3s ease;
}
.carousel-indicators .active {
  background-color: #fff;
  transform: scale(1.2);
  opacity: 1;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 768px) {
  .carousel-caption h1 {
    font-size: 2.5rem;
  }
  .carousel-caption p {
    font-size: 1.1rem;
  }
  .hero-slider, .carousel-item {
    height: 60vh;
    min-height: 400px;
  }
  .carousel-control-prev, .carousel-control-next {
    width: 50px;
    height: 50px;
  }
  .carousel-control-prev {
    left: 15px;
  }
  .carousel-control-next {
    right: 15px;
  }
}
@media (max-width: 576px) {
  .carousel-caption h1 {
    font-size: 2rem;
  }
  .carousel-caption p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  .btn-hero {
    padding: 10px 25px;
    font-size: 1rem;
  }
}
.bg-slogan {
  background: url("../1-images/slogan.jpg") no-repeat center bottom;
  background-size: cover;
  padding-top: 5.9rem;
  padding-bottom: 0.3rem;
  padding-left: 1rem;
  padding-right: 1rem;
}
.province-vision {
  width: 100%;
  text-align: center;
  margin: 0 auto;
  font: 1.875rem/2rem 'Kanit', Arial, sans-serif;
  font-weight: bold;
  letter-spacing: 0.3125rem;
  color: #fff46e;
  text-shadow: 0 0 0.25rem rgba(0, 0, 0, 0.3);
}
@media screen and (max-width: 768px) {
  .bg-slogan {
    padding-top: 3.5rem;
    padding-bottom: 0.25rem;
  }
  .province-vision {
    font-size: 1.5rem;
    line-height: 1.75rem;
    letter-spacing: 0.125rem;
  }
}
.announce-tab {
  background: linear-gradient(to right, #009cff 0%, #00d8b2 80%);
  padding: 0.9375rem;
  border-bottom-right-radius: 1.25rem;
  text-align: right;
}
.announce-topic {
  font: 1.5rem/1.875rem 'Kanit', Arial, sans-serif;
  height: 100%;
  font-weight: 200;
  letter-spacing: 0.125rem;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}
.announce-topic .pc-icon {
  font-size: 1.4rem;
  display: inline-block;
}
.announce-topic .mobile-icon {
  display: none;
}
.announce-content {
  overflow: hidden;
  padding: 0.75rem 0 !important;
}
.marquee-wrapper {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
}
.announce-text {
  font: 1.125rem/1.875rem 'Kanit', Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0.125rem;
  color: black;
  display: inline-block;
  animation: marquee-scroll 20s linear infinite;
}
.marquee-wrapper:hover .announce-text {
  animation-play-state: paused;
}
@keyframes marquee-scroll {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}
[data-theme="dark"] .announce-content {
  background-color: #121212;
}
[data-theme="dark"] .announce-text {
  color: #e0e0e0;
}
@media (max-width: 767.98px) {
  .announce-tab {
    text-align: center;
    border-bottom-right-radius: 0;
  }
  .announce-topic {
    font-size: 1.25rem;
  }
  .announce-topic .pc-icon {
    display: none;
  }
  .announce-topic .mobile-icon {
    display: inline-block;
    font-size: 1.25rem;
  }
  .announce-text {
    font-size: 1rem;
    animation-duration: 15s;
  }
}
.infor-blog {
  padding: 3rem 0;
  background-color: var(--bg-color-light);
}
.g-custom {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 1.5rem;
}
.quick-menu-item {
  background: var(--surface-color);
  border-radius: 20px;
  padding: 2rem 1rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.02);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}
.quick-menu-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #00b5ff, #00d8b2);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}
.quick-menu-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 181, 255, 0.15);
}
.quick-menu-item:hover::after {
  transform: scaleX(1);
}
.quick-menu-item img {
  height: 4.5rem;
  width: auto;
  margin-bottom: 1.2rem;
  transition: transform 0.4s ease;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.1));
}
.quick-menu-item:hover img {
  transform: scale(1.15) rotate(3deg);
}
.quick-menu-text {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.4;
  transition: color 0.3s ease;
}
.quick-menu-item:hover .quick-menu-text {
  color: #00b5ff;
}
[data-theme="dark"] .quick-menu-item {
  background-color: #1e1e1e;
  border-color: #333;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
[data-theme="dark"] .quick-menu-text {
  color: #e0e0e0;
}
@media (max-width: 768px) {
  .quick-menu-item {
    padding: 1.5rem 0.5rem;
  }
  .quick-menu-item img {
    height: 3.5rem;
  }
  .quick-menu-text {
    font-size: 0.95rem;
  }
}
.bg-commander-section {
  padding-top: 5.9rem;
  padding-bottom: 1rem;
  background-image: url('../1-images/BG-commander.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
}
.bg-commander-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 20, 60, 0.3);
  z-index: 0;
}
.bg-commander-section .container {
  position: relative;
  z-index: 1;
}
.general-infor-blog {
  margin-top: 3.4375rem;
  text-align: left;
}
.general-infor-p {
  font-family: 'Kanit', Arial, sans-serif;
  font-size: 5.625rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
  background: linear-gradient(to bottom, #fff7ad 0%, #ffa700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 10px rgba(255, 167, 0, 0.5));
}
.general-infor-v {
  font-family: 'Kanit', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 300;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  letter-spacing: 1px;
  white-space: nowrap;
  font-size: clamp(0.8rem, 2vw, 1.25rem);
}
.stat-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  padding: 1.5rem 1rem;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}
.stat-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 20px 40px rgba(0, 181, 255, 0.3);
}
.stat-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #fff;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}
.stat-value {
  font-family: 'Kanit', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.2rem;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}
.stat-value a {
  text-decoration: none;
  color: inherit;
}
.stat-label, .stat-label a {
  font-family: 'Kanit', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}
.executive-blog {
  margin-top: 3rem !important;
}
.executive-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
}
.executive-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(240deg, #725dff, #009fff);
  z-index: 1;
}
.executive-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}
.executive-photo {
  width: 90%;
  height: 22rem;
  object-fit: cover;
  object-position: top;
  border-radius: 15px;
  background: linear-gradient(360deg, #725dff, #009fff);
  border: 5px solid #f8f9fa;
  margin: 1.5rem auto 0.5rem auto;
  display: block;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.card-body {
  padding: 0 1rem 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  flex-grow: 1;
}
.executive-name {
  font-size: 1.3rem;
  font-weight: 700;
  font-family: 'Kanit', Arial, sans-serif;
  color: #333;
  margin-bottom: 0.5rem;
  text-align: center;
}
.executive-position {
  font-size: 1rem;
  font-family: 'Kanit', Arial, sans-serif;
  color: #fff;
  font-weight: 500;
  text-align: center;
  background: linear-gradient(to right, #240073 0%, #0085bb 70%);
  padding: 6px 15px;
  border-radius: 50px;
  display: inline-block;
  width: 100%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
@media (max-width: 768px) {
  .bg-commander-section {
    padding-top: 3rem;
    padding-bottom: 2rem;
    background-attachment: scroll;
  }
  .general-infor-blog {
    margin-top: 1.5rem;
    text-align: center;
  }
  .general-infor-p {
    font-size: 3.5rem;
  }
  .col-6 {
    margin-bottom: 15px;
  }
  .stat-card {
    padding: 1rem 0.5rem;
  }
  .executive-photo {
    height: 18rem;
    width: 85%;
  }
}
[data-theme="dark"] .executive-card {
  background: #252525;
}
[data-theme="dark"] .executive-name {
  color: #fff;
}
[data-theme="dark"] .executive-photo {
  border-color: #333;
}
.cn-fluid-news {
  background: linear-gradient(180deg, #f0f4f8 0%, #ffffff 100%);
  position: relative;
  padding-bottom: 0;
}
[data-theme="dark"] .cn-fluid-news {
  background: linear-gradient(180deg, #121212 0%, #1a1a1a 100%) !important;
}
@media (max-width: 991px) {
  .cn-fluid-news {
    padding-bottom: 3rem;
  }
}
.news-topic {
  text-align: center;
  padding-top: 3.5rem;
  margin: 0 auto;
  font: 2.8rem/3rem 'Kanit', sans-serif;
  font-weight: bold;
  letter-spacing: 1px;
  background: linear-gradient(to right, #370099 0%, #00b5ff 70%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.news-subtopic {
  text-align: center;
  margin: 0.5rem auto 2rem auto;
  font-size: 1.5rem;
  letter-spacing: 2px;
  color: #555;
}
[data-theme="dark"] .news-subtopic {
  color: #e0e0e0;
}
.nav-tabs-header, .mobile-menu-toggle {
  display: none !important;
}
.nav-tabs {
  border-bottom: none;
  gap: 10px;
  padding: 0.6rem 0.8rem;
  background: #fff;
  border-radius: 50px;
  display: flex;
  justify-content: center;
  width: fit-content;
  margin: 0 auto 2.5rem auto;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 10;
}
[data-theme="dark"] .nav-tabs {
  background-color: #252525 !important;
}
.nav-tabs .nav-link {
  border: none !important;
  border-radius: 50px !important;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  color: #555;
  background: transparent;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.nav-tabs .nav-link:hover:not(.active) {
  background: #f0f0f0;
  color: #00b5ff;
}
[data-theme="dark"] .nav-tabs .nav-link {
  color: #bbb !important;
}
[data-theme="dark"] .nav-tabs .nav-link:hover:not(.active) {
  background-color: #333 !important;
  color: #fff !important;
}
.nav-tabs .nav-link.active {
  color: #fff !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transform: scale(1.05);
}
#pr-tab.active {
  background: var(--grad-blue);
}
#announce-tab.active {
  background: var(--grad-purple);
}
#jobs-tab.active {
  background: var(--grad-orange);
}
#bidding-tab.active {
  background: var(--grad-green);
}
.nav-tabs .nav-link.active .tab-icon-wrapper {
  color: #fff;
}
@media (max-width: 992px) {
  .nav-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    width: 100%;
    margin: 0 0 2rem 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 0 1rem 1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .nav-tabs::-webkit-scrollbar {
    display: none;
  }
  .nav-tabs .nav-link {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    margin-right: 10px;
  }
}
.slider-container {
  position: relative;
  overflow: hidden;
  cursor: grab;
  padding: 10px 0 20px 0;
}
.slider-wrapper {
  display: flex;
  will-change: transform;
}
.slider-item {
  flex-shrink: 0;
  flex-grow: 0;
  flex-basis: 100%;
  padding: 0 0.75rem;
}
@media (min-width: 576px) {
  .slider-item {
    flex-basis: 50%;
  }
}
@media (min-width: 768px) {
  .slider-item {
    flex-basis: 33.333%;
  }
}
@media (min-width: 992px) {
  .slider-item {
    flex-basis: 25%;
  }
}
@media (min-width: 1200px) {
  .slider-item {
    flex-basis: 20%;
  }
}
.news-modern-card {
  background: var(--surface-color);
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
  padding: 1.5rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top: 5px solid transparent;
}
.news-modern-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
[data-theme="dark"] .news-modern-card {
  background: #252525;
  border-color: #444;
}
.theme-blue {
  border-top-color: #00c6fb;
}
.theme-blue .news-date-badge {
  background: rgba(0, 198, 251, 0.1);
  color: #005bea;
}
.theme-blue .btn-download-modern {
  color: #005bea;
  border-color: #005bea;
}
.theme-blue .btn-download-modern:hover {
  background: var(--grad-blue);
  border-color: transparent;
  color: #fff;
}
.theme-purple {
  border-top-color: #764ba2;
}
.theme-purple .news-date-badge {
  background: rgba(118, 75, 162, 0.1);
  color: #667eea;
}
.theme-purple .btn-download-modern {
  color: #667eea;
  border-color: #667eea;
}
.theme-purple .btn-download-modern:hover {
  background: var(--grad-purple);
  border-color: transparent;
  color: #fff;
}
.theme-orange {
  border-top-color: #fda085;
}
.theme-orange .news-date-badge {
  background: rgba(253, 160, 133, 0.1);
  color: #e67e22;
}
.theme-orange .btn-download-modern {
  color: #e67e22;
  border-color: #e67e22;
}
.theme-orange .btn-download-modern:hover {
  background: var(--grad-orange);
  border-color: transparent;
  color: #fff;
}
.theme-green {
  border-top-color: #3bb2b8;
}
.theme-green .news-date-badge {
  background: rgba(59, 178, 184, 0.1);
  color: #10b981;
}
.theme-green .btn-download-modern {
  color: #10b981;
  border-color: #10b981;
}
.theme-green .btn-download-modern:hover {
  background: var(--grad-green);
  border-color: transparent;
  color: #fff;
}
.news-icon-bg {
  font-size: 4rem;
  color: rgba(0, 0, 0, 0.03);
  position: absolute;
  top: -10px;
  right: -10px;
  transition: all 0.3s ease;
  z-index: 0;
}
.news-modern-card:hover .news-icon-bg {
  transform: scale(1.2) rotate(15deg);
  opacity: 0.5;
}
.news-card-header {
  position: relative;
  z-index: 1;
  margin-bottom: 1rem;
}
.news-date-badge {
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
}
.news-card-body {
  position: relative;
  z-index: 1;
  flex-grow: 1;
}
.news-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 3.1rem;
}
.news-card-info {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.3;
  white-space: normal !important;
  word-wrap: break-word;
}
.news-card-actions {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
[data-theme="dark"] .news-card-actions {
  border-top-color: #444;
}
.btn-download-modern {
  background: transparent;
  border: 1px solid #ccc;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}
.news-views {
  font-size: 0.8rem;
  color: var(--text-secondary);
}
.btn-modern {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 1rem 2rem;
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  min-width: 250px;
}
[data-theme="dark"] .btn-modern {
  background-color: #252525 !important;
  border-color: #444 !important;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5) !important;
}
[data-theme="dark"] .btn-modern-title {
  color: #fff !important;
}
[data-theme="dark"] .btn-modern-subtitle {
  color: #aaa !important;
}
.btn-modern-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}
.btn-modern-icon {
  font-size: 1.5rem;
  color: #00b5ff;
  margin-right: 15px;
}
.btn-modern-text {
  text-align: left;
  flex-grow: 1;
}
.btn-modern-title {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
}
.btn-modern-arrow {
  font-size: 1.2rem;
  color: #ccc;
  transition: transform 0.3s ease;
  margin-left: 2rem;
}
[data-theme="dark"] .btn-modern-arrow {
  color: #aaa !important;
}
.btn-modern-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #370099 0%, #00b5ff 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}
.btn-modern:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 181, 255, 0.2);
  border-color: transparent;
}
.btn-modern:hover .btn-modern-bg {
  opacity: 1;
}
.btn-modern:hover .btn-modern-title, .btn-modern:hover .btn-modern-icon, .btn-modern:hover .btn-modern-arrow {
  color: #fff;
}
.btn-modern:hover .btn-modern-arrow {
  transform: translateX(5px);
}
.cn-fluid-news .text-center.mt-5 {
  margin-top: 1.5rem !important;
  margin-bottom: 1.5rem !important;
}
.top-none {
  top: 0px !important;
}
.main-container {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(15px);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  margin: 20px 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
  margin-top: 0 !important;
}
[data-theme="dark"] .main-container {
  background: rgba(30, 30, 30, 0.7);
  border-color: rgba(255, 255, 255, 0.05);
}
.column-container {
  background: var(--card-bg);
  border-radius: var(--border-radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  height: 48rem !important;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}
.column-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}
.section-header {
  flex-shrink: 0;
  padding: 1rem 1.5rem;
  color: white;
  border-radius: var(--border-radius-md) var(--border-radius-md) 0 0;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.section-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}
.news-section .section-header {
  background: var(--grad-book);
}
.multimedia-section .section-header {
  background: var(--grad-media);
}
.ebook-section .section-header {
  background: var(--grad-ebook);
}
.btn-view-all {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50px;
  padding: 5px 15px;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}
.btn-view-all:hover {
  background: white;
  color: #333;
  transform: scale(1.05);
}
.column-content {
  flex-grow: 1;
  overflow-y: auto;
  padding: 1.25rem;
  background: #fcfcfc;
}
[data-theme="dark"] .column-content {
  background: #121212;
}
.scrollbar-custom::-webkit-scrollbar {
  width: 6px;
}
.scrollbar-custom::-webkit-scrollbar-track {
  background: transparent;
}
.scrollbar-custom::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}
.scrollbar-custom::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
.book-card {
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-left: 5px solid #ccc;
  transition: all 0.2s ease;
}
[data-theme="dark"] .book-card {
  background: #252525;
}
.book-card:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.book-card.urgency-normal {
  border-left-color: #10b981;
  background: linear-gradient(to right, rgba(16, 185, 129, 0.05), transparent);
}
.book-card.urgency-urgent {
  border-left-color: #f59e0b;
  background: linear-gradient(to right, rgba(245, 158, 11, 0.05), transparent);
}
.book-card.urgency-most {
  border-left-color: #ef4444;
  background: linear-gradient(to right, rgba(239, 68, 68, 0.05), transparent);
}
.book-card.urgency-very {
  border-left: 4px solid #fd7e14;
}
.book-card.urgency-very:hover {
  background-color: rgba(253, 126, 20, 0.05);
}
.book-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
  gap: 5px;
}
.book-id-badge {
  font-size: 0.85rem;
  color: var(--text-primary);
  background: rgba(0, 0, 0, 0.05);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  border: 1px solid rgba(0, 0, 0, 0.1);
}
.book-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}
.book-details-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px dashed rgba(0, 0, 0, 0.1);
  padding-top: 0.75rem;
}
.book-date-info {
  font-size: 0.8rem;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
[data-theme="dark"] .book-date-info, [data-theme="dark"] .book-date-info .text-muted, [data-theme="dark"] .book-date-info span {
  color: #b0b3b8 !important;
}
[data-theme="dark"] .book-date-info i {
  color: #00b5ff !important;
}
.book-btn-detail {
  background: var(--text-primary);
  color: #fff;
  border-radius: 50px;
  padding: 4px 12px;
  font-size: 0.8rem;
  text-decoration: none;
  transition: 0.2s;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.book-btn-detail:hover {
  background: #000;
  color: #fff;
  transform: translateY(-2px);
}
[data-theme="dark"] .book-btn-detail {
  background-color: #00b5ff !important;
  color: #ffffff !important;
  box-shadow: 0 0 10px rgba(0, 181, 255, 0.3);
}
[data-theme="dark"] .book-btn-detail:hover {
  background-color: #009bc9 !important;
}
.media-card {
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.media-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-color: #833ab4;
}
.media-thumb {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  background: #000;
}
.media-body {
  padding: 1rem;
}
.media-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}
.media-channel {
  font-size: 0.8rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 5px;
}
.ebook-card {
  display: flex;
  background: var(--card-bg);
  border-radius: 12px;
  padding: 0.8rem;
  margin-bottom: 1rem;
  gap: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.2s;
  align-items: center;
  border-right: 4px solid transparent;
}
.ebook-card:hover {
  transform: translateX(3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-right-color: #00c6ff;
}
.ebook-img-wrapper {
  flex-shrink: 0;
  width: 70px;
  height: 100px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.15);
}
.ebook-img-wrapper img, .ebook-img-wrapper svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ebook-details {
  flex: 1;
}
.ebook-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}
.ebook-btn {
  background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
  color: #fff;
  border: none;
  font-size: 0.8rem;
  padding: 5px 12px;
  border-radius: 50px;
  font-weight: 500;
  transition: 0.2s;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 2px 5px rgba(0, 114, 255, 0.3);
}
.ebook-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 114, 255, 0.5);
  color: #fff;
}
.gallery-topic {
  text-align: center;
  padding-top: 1rem;
  margin: 0 auto 0 auto;
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #00c6fb 0%, #005bea 50%, #00f2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  filter: drop-shadow(0 2px 4px rgba(0, 181, 255, 0.2));
}
.gallery-subtopic {
  text-align: center;
  margin: 0.625rem auto 2rem auto;
  font-size: 1.6875rem;
  font-weight: 300;
  color: var(--text-secondary);
  letter-spacing: 2px;
  text-transform: uppercase;
}
#gallery-carousel {
  padding: 0 60px 20px 60px;
  position: relative;
}
.owl-carousel .card {
  background-color: #fff;
  border: none;
  border-radius: 24px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow: hidden;
  height: 100%;
  margin-bottom: 10px;
  position: relative;
}
[data-theme="dark"] .owl-carousel .card {
  background-color: #252525 !important;
  border: 1px solid #333 !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5) !important;
}
.owl-carousel .card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #00c6fb, #005bea);
  z-index: 2;
}
.owl-carousel .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 181, 255, 0.25);
}
.owl-carousel .card-img-top {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.6s ease;
  width: 100%;
}
.owl-carousel .card:hover .card-img-top {
  transform: scale(1.1);
}
.owl-carousel .card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.gallery-c {
  color: #333;
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s;
}
[data-theme="dark"] .gallery-c {
  color: #e0e0e0 !important;
}
.owl-carousel .card:hover .gallery-c {
  color: #005bea;
}
.owl-carousel .card-text small {
  background: rgba(0, 181, 255, 0.08);
  padding: 6px 14px;
  border-radius: 20px;
  color: #555;
  font-size: 0.8rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  justify-content: space-between;
}
[data-theme="dark"] .owl-carousel .card-text small {
  background-color: #151515 !important;
  color: #bbb !important;
}
.owl-carousel .card-text small i {
  color: #00b5ff;
  font-size: 0.9rem;
}
.btn-gallery-readmore {
  display: block;
  width: 100%;
  padding: 8px 0;
  text-align: center;
  background: transparent;
  color: #00b5ff;
  border: 1px solid #00b5ff;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none !important;
  transition: all 0.3s ease;
  margin-top: 10px;
}
.btn-gallery-readmore i {
  margin-left: 5px;
  transition: transform 0.3s;
}
.btn-gallery-readmore:hover {
  background: linear-gradient(135deg, #00c6fb 0%, #005bea 100%);
  color: white;
  border-color: transparent;
  box-shadow: 0 5px 15px rgba(0, 181, 255, 0.3);
  transform: translateY(-2px);
}
.btn-gallery-readmore:hover i {
  transform: translateX(4px);
}
[data-theme="dark"] .btn-gallery-readmore {
  color: #4dabf7;
  border-color: #4dabf7;
}
[data-theme="dark"] .btn-gallery-readmore:hover {
  color: white;
}
.owl-nav {
  display: block !important;
  height: 0;
}
.owl-nav button.owl-prev, .owl-nav button.owl-next {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff !important;
  color: #00b5ff !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(0, 181, 255, 0.1);
  transition: all 0.3s ease;
  display: flex !important;
  align-items: center;
  justify-content: center;
  z-index: 100;
}
.owl-nav button.owl-prev {
  left: 5px;
}
.owl-nav button.owl-next {
  right: 5px;
}
.owl-nav button.owl-prev:hover, .owl-nav button.owl-next:hover {
  background: linear-gradient(135deg, #00c6fb, #005bea) !important;
  color: #fff !important;
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 10px 25px rgba(0, 91, 234, 0.4);
  border-color: transparent;
}
.owl-nav button span {
  display: none;
}
.owl-nav button.owl-prev::after {
  content: "\f053";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 1.2rem;
}
.owl-nav button.owl-next::after {
  content: "\f054";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 1.2rem;
}
.owl-dots {
  text-align: center;
  margin-top: 10px;
}
.owl-dots button.owl-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e0e0e0 !important;
  margin: 0 5px;
  transition: all 0.3s;
}
.owl-dots button.owl-dot.active {
  background: #00b5ff !important;
  width: 25px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 181, 255, 0.5);
}
@media (max-width: 768px) {
  #gallery-carousel {
    padding: 0 15px;
  }
  .gallery-topic {
    font-size: 2rem;
  }
  .gallery-subtopic {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  .owl-nav button.owl-prev, .owl-nav button.owl-next {
    width: 35px;
    height: 35px;
    display: none !important;
  }
}
.title-section {
  text-align: center;
  padding-top: 3rem;
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
  position: relative;
}
.main-title {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 1px;
  background: linear-gradient(to right, #00c6fb 0%, #005bea 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  position: relative;
  padding-bottom: 20px;
}
.main-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 6px;
  background: linear-gradient(to right, #00c6fb, #005bea);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 91, 234, 0.4);
}
.banner-container {
  width: 100% !important;
  max-width: 100% !important;
  padding: 3rem 0;
  margin: 2rem 0 5rem 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.3) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0, 91, 234, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: visible;
}
.banner-container::before, .banner-container::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
}
.banner-container::before {
  top: 0;
  background: linear-gradient(90deg, transparent, rgba(0, 198, 251, 0.5), rgba(0, 91, 234, 0.5), transparent);
}
.banner-container::after {
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(0, 91, 234, 0.3), rgba(0, 198, 251, 0.3), transparent);
}
.banner-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 20px 0;
  margin: 0 auto;
  box-sizing: border-box;
}
.banner-track {
  display: flex;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  gap: 2rem;
  padding: 0 80px;
}
.banner-item {
  flex: 0 0 15rem;
  height: 6.5rem;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05), inset 0 1px 1px rgba(255, 255, 255, 1);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  z-index: 2;
}
.banner-image {
  width: 100%;
  height: 100%;
  object-fit: fill;
  transition: transform 0.6s ease, filter 0.6s ease;
}
.banner-item:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 25px 50px rgba(0, 181, 255, 0.3);
  border-color: rgba(0, 181, 255, 0.4);
  z-index: 10;
}
.banner-item:hover .banner-image {
  filter: brightness(1.05);
}
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(5px);
  color: #00b5ff;
  border: 2px solid rgba(0, 181, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  font-size: 1.6rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
}
.nav-btn.prev {
  left: 15px;
}
.nav-btn.next {
  right: 15px;
}
.nav-btn:hover {
  background: linear-gradient(135deg, #00c6fb 0%, #005bea 100%);
  color: #fff;
  border-color: transparent;
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 15px 30px rgba(0, 91, 234, 0.5);
}
.nav-btn i {
  stroke-width: 2px;
}
[data-theme="dark"] .banner-container {
  background: linear-gradient(180deg, rgba(30, 30, 30, 0.7) 0%, rgba(20, 20, 20, 0.4) 100%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.05);
}
[data-theme="dark"] .banner-container::before {
  background: linear-gradient(90deg, transparent, rgba(0, 198, 251, 0.3), rgba(0, 91, 234, 0.3), transparent);
}
[data-theme="dark"] .banner-container::after {
  background: linear-gradient(90deg, transparent, rgba(0, 91, 234, 0.2), rgba(0, 198, 251, 0.2), transparent);
}
[data-theme="dark"] .banner-item {
  background: rgba(40, 40, 40, 0.8);
  border-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}
[data-theme="dark"] .banner-item:hover {
  box-shadow: 0 25px 50px rgba(0, 181, 255, 0.2);
  border-color: rgba(0, 181, 255, 0.3);
}
[data-theme="dark"] .nav-btn {
  background: rgba(50, 50, 50, 0.7);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}
[data-theme="dark"] .nav-btn:hover {
  background: linear-gradient(135deg, #00c6fb 0%, #005bea 100%);
  border-color: transparent;
}
@media (max-width: 992px) {
  .banner-track {
    padding: 0 60px;
    gap: 1.5rem;
  }
  .banner-item {
    flex: 0 0 13rem;
    height: 5.5rem;
  }
}
@media (max-width: 768px) {
  .title-section {
    padding-top: 2rem;
    margin-bottom: 1rem;
  }
  .main-title {
    font-size: 2.2rem;
    padding-bottom: 15px;
  }
  .main-title::after {
    width: 70px;
    height: 5px;
  }
  .banner-container {
    padding: 2rem 0;
    margin-bottom: 3rem;
  }
  .banner-slider {
    padding: 15px 0;
  }
  .banner-track {
    padding: 0 45px;
    gap: 1rem;
  }
  .nav-btn {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }
  .nav-btn.prev {
    left: 5px;
  }
  .nav-btn.next {
    right: 5px;
  }
  .banner-item {
    flex: 0 0 11rem;
    height: 5rem;
    border-radius: 15px;
  }
}
@media (max-width: 576px) {
  .main-title {
    font-size: 1.8rem;
  }
  .banner-track {
    padding: 0 35px;
  }
  .nav-btn {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
  .banner-item {
    flex: 0 0 9rem;
    height: 4rem;
  }
}
    /* DESIGN NOTE: ใช้ดีไซน์แบบ "Smart Capsule" (แคปซูลรวม) 
       แทนการแยกปุ่ม 2 ก้อน เพื่อลดความรกของหน้าจอ (Visual Noise Reduction)
    */
    .page-scroll-nav {
        position: fixed;
        bottom: 110px; /* ปรับตำแหน่งให้สัมพันธ์กับ Chatbot */
        right: 35px;
        z-index: 999;
        
        /* Capsule Container Style */
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.6);
        border-radius: 30px; /* ทรงแคปซูลมน */
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        
        display: flex;
        flex-direction: column;
        padding: 6px;
        gap: 4px; /* ระยะห่างเล็กน้อยระหว่างปุ่ม */
        
        opacity: 0;
        visibility: hidden;
        transform: translateY(20px);
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    
    .page-scroll-nav.visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        bottom: 120px; /* Slide Up Effect */
    }

    .btn-page-scroll {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        border: none;
        background: transparent;
        color: #94a3b8; /* สีเทาอ่อนๆ เพื่อไม่ให้แย่งสายตา (Low visual weight) */
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    /* Hover State: ค่อยแสดงสีเมื่อเอาเมาส์ไปชี้ */
    .btn-page-scroll:hover {
        background: linear-gradient(135deg, #00c6fb 0%, #005bea 100%);
        color: white;
        box-shadow: 0 4px 12px rgba(0, 181, 255, 0.3);
    }
    
    /* Separator Line (เส้นขีดกลางบางๆ) */
    .scroll-separator {
        height: 1px;
        background: rgba(0,0,0,0.05);
        margin: 0 8px;
    }

    @media (max-width: 576px) {
        .page-scroll-nav { right: 15px; bottom: 90px; }
        .page-scroll-nav.visible { bottom: 100px; }
    }