body {
  font-family: "Kanit", -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, "Helvetica Neue", Arial,
               "Noto Sans", sans-serif;
  background-color: #fff;
  height: 200vh;
  position: relative;
}

  body:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1; }
  body.offcanvas-menu:before {
    opacity: 1;
    z-index: 1002;
    visibility: visible; }

p {
  color: #b3b3b3;
  font-weight: 300; }

  h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6
.section-title {
  font-family: "Kanit", sans-serif;
  font-weight: 700;
}

a {
  -webkit-transition: .3s all ease;
  -o-transition: .3s all ease;
  transition: .3s all ease; }
  a, a:hover {
    text-decoration: none !important; }

.hero {
    width: 100%;
    height: 350px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero1 {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.Certificates-text {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #003366;
  font-size: 70px;
  font-weight: bold;
  text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.8);
  opacity: 0;
  animation: slideIn 1.5s ease-out forwards; 
  text-shadow:
  3px 3px 8px rgb(255, 255, 255),
  6px 6px 20px rgba(0, 0, 0, 0);

  margin: 0;
}


@keyframes slideIn {
  0% {
    transform: translate(50%, -50%); 
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%);
    opacity: 1;
  }
}

.image-row {
    display: flex;
    gap: 25px;
    justify-content: center;
    padding: 20px;
}

.img-box {
    width: 450px;
    height: 600px;

    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    margin: 100px;

    border: 2px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    background-color: white;
    transition: transform 0.3s ease;
}

.img-box:hover {
    transform: scale(1.40);
}

.image-row1 {
    display: flex;
    gap: 25px;
    justify-content: center;
    padding: 20px;
}
.image-row2 {
    display: flex;
    gap: 25px;
    justify-content: center;
    padding: 20px;
}

.image-row3 {
    display: flex;
    gap: 25px;
    justify-content: center;
    padding: 20px;
}

.img-box1 {
    width: 600px;
    height: 420px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;

    background-color: white;
    border: 2px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    transition: transform 0.3s;
}

.img-box1:hover {
    transform: scale(1.40);
}

.site-navbar-wrap {
  position: absolute;
  z-index: 99;
  width: 100%;
  left: 0; }
  .site-navbar-wrap a {
    color: #fff; }
  .site-navbar-wrap .site-navbar-top {
    font-size: 0.9rem; }

.site-navbar-top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.4); }

.site-navbar {
  margin-bottom: 0px;
  width: 100%; }
  .site-navbar .site-logo {
    font-weight: 200;
    line-height: 0;
    top: -7px;
    position: relative; }
    .site-navbar .site-logo a {
      font-weight: 200;
      color: #fff;
      font-size: 35px;
      font-weight: bold;
      text-transform: uppercase; }
  .site-navbar .site-navigation .site-menu {
    margin-bottom: 0; }
    .site-navbar .site-navigation .site-menu a {
      text-decoration: none !important;
      display: inline-block;
      font-weight: 200; }
    .site-navbar .site-navigation .site-menu > li {
      display: inline-block;
      padding: 10px 5px; }
      .site-navbar .site-navigation .site-menu > li > a {
        padding: 20px 10px;
        color: rgba(255, 255, 255, 0.6);
        font-size: 19px;
        text-decoration: none !important; }
        .site-navbar .site-navigation .site-menu > li > a.active {
          color: #fff; }
        .site-navbar .site-navigation .site-menu > li > a:hover {
          color: #fff; }
      .site-navbar .site-navigation .site-menu > li:last-child {
        padding-right: 0; }
        .site-navbar .site-navigation .site-menu > li:last-child > a {
          padding-right: 0; }
    .site-navbar .site-navigation .site-menu .has-children {
      position: relative; }
      .site-navbar .site-navigation .site-menu .has-children > a {
        position: relative;
        padding-right: 20px; }
        .site-navbar .site-navigation .site-menu .has-children > a:before {
          position: absolute;
          content: "\e313";
          font-size: 16px;
          top: 50%;
          right: 0;
          -webkit-transform: translateY(-50%);
          -ms-transform: translateY(-50%);
          transform: translateY(-50%);
          font-family: 'icomoon'; }
      .site-navbar .site-navigation .site-menu .has-children .dropdown {
        visibility: hidden;
        opacity: 0;
        top: 100%;
        position: absolute;
        text-align: left;
        -webkit-box-shadow: 0 0px 4px 0px rgba(0, 0, 0, 0.25);
        box-shadow: 0 0px 4px 0px rgba(0, 0, 0, 0.25);
        padding: 0px 0;
        margin-top: 20px;
        margin-left: 0px;
        background: #fff;
        -webkit-transition: 0.2s 0s;
        -o-transition: 0.2s 0s;
        transition: 0.2s 0s;
        border-radius: 4px; }
        .site-navbar .site-navigation .site-menu .has-children .dropdown.arrow-top {
          position: absolute; }
          .site-navbar .site-navigation .site-menu .has-children .dropdown.arrow-top:before {
            bottom: 100%;
            left: 20%;
            border: solid transparent;
            content: " ";
            height: 0;
            width: 0;
            position: absolute;
            pointer-events: none; }
          .site-navbar .site-navigation .site-menu .has-children .dropdown.arrow-top:before {
            border-color: rgba(136, 183, 213, 0);
            border-bottom-color: #fff;
            border-width: 10px;
            margin-left: -10px; }
        .site-navbar .site-navigation .site-menu .has-children .dropdown a {
          font-size: 14px;
          text-transform: none;
          letter-spacing: normal;
          -webkit-transition: 0s all;
          -o-transition: 0s all;
          transition: 0s all;
          color: #343a40; }
          .site-navbar .site-navigation .site-menu .has-children .dropdown a.active {
            color: #007bff; }
        .site-navbar .site-navigation .site-menu .has-children .dropdown .active > a {
          color: #fff !important; }
        .site-navbar .site-navigation .site-menu .has-children .dropdown > li {
          list-style: none;
          padding: 0;
          margin: 0;
          min-width: 200px; }
          .site-navbar .site-navigation .site-menu .has-children .dropdown > li:first-child > a {
            border-top-left-radius: 4px;
            border-top-right-radius: 4px; }
          .site-navbar .site-navigation .site-menu .has-children .dropdown > li:last-child > a {
            border-bottom-left-radius: 4px;
            border-bottom-right-radius: 4px; }
          .site-navbar .site-navigation .site-menu .has-children .dropdown > li > a {
            padding: 9px 20px;
            display: block; }
            .site-navbar .site-navigation .site-menu .has-children .dropdown > li > a:hover {
              background: #ebeef0;
              color: #212529; }
          .site-navbar .site-navigation .site-menu .has-children .dropdown > li.has-children > a:before {
            content: "\e315";
            right: 20px; }
          .site-navbar .site-navigation .site-menu .has-children .dropdown > li.has-children > .dropdown, .site-navbar .site-navigation .site-menu .has-children .dropdown > li.has-children > ul {
            left: 100%;
            top: 0; }
          .site-navbar .site-navigation .site-menu .has-children .dropdown > li.has-children:hover > a, .site-navbar .site-navigation .site-menu .has-children .dropdown > li.has-children:active > a, .site-navbar .site-navigation .site-menu .has-children .dropdown > li.has-children:focus > a {
            background: #ebeef0;
            color: #212529; }
      .site-navbar .site-navigation .site-menu .has-children:hover > a, .site-navbar .site-navigation .site-menu .has-children:focus > a, .site-navbar .site-navigation .site-menu .has-children:active > a {
        color: #fff; }
      .site-navbar .site-navigation .site-menu .has-children:hover, .site-navbar .site-navigation .site-menu .has-children:focus, .site-navbar .site-navigation .site-menu .has-children:active {
        cursor: pointer; }
        .site-navbar .site-navigation .site-menu .has-children:hover > .dropdown, .site-navbar .site-navigation .site-menu .has-children:focus > .dropdown, .site-navbar .site-navigation .site-menu .has-children:active > .dropdown {
          -webkit-transition-delay: 0s;
          -o-transition-delay: 0s;
          transition-delay: 0s;
          margin-top: 0px;
          visibility: visible;
          opacity: 1; }

.site-mobile-menu {
  width: 300px;
  position: fixed;
  right: 0;
  z-index: 2000;
  padding-top: 20px;
  background: #fff;
  height: calc(100vh);
  -webkit-transform: translateX(110%);
  -ms-transform: translateX(110%);
  transform: translateX(110%);
  -webkit-box-shadow: -10px 0 20px -10px rgba(0, 0, 0, 0.1);
  box-shadow: -10px 0 20px -10px rgba(0, 0, 0, 0.1);
  -webkit-transition: .3s all ease-in-out;
  -o-transition: .3s all ease-in-out;
  transition: .3s all ease-in-out; }
  .offcanvas-menu .site-mobile-menu {
    -webkit-transform: translateX(0%);
    -ms-transform: translateX(0%);
    transform: translateX(0%); }
  .site-mobile-menu .site-mobile-menu-header {
    width: 100%;
    float: left;
    padding-left: 20px;
    padding-right: 20px; }
    .site-mobile-menu .site-mobile-menu-header .site-mobile-menu-close {
      float: right;
      margin-top: 8px; }
      .site-mobile-menu .site-mobile-menu-header .site-mobile-menu-close span {
        font-size: 30px;
        display: inline-block;
        padding-left: 10px;
        padding-right: 0px;
        line-height: 1;
        cursor: pointer;
        -webkit-transition: .3s all ease;
        -o-transition: .3s all ease;
        transition: .3s all ease; }
        .site-mobile-menu .site-mobile-menu-header .site-mobile-menu-close span:hover {
          color: #dee2e6; }
    .site-mobile-menu .site-mobile-menu-header .site-mobile-menu-logo {
      float: left;
      margin-top: 10px;
      margin-left: 0px; }
      .site-mobile-menu .site-mobile-menu-header .site-mobile-menu-logo a {
        display: inline-block;
        text-transform: uppercase; }
        .site-mobile-menu .site-mobile-menu-header .site-mobile-menu-logo a img {
          max-width: 70px; }
        .site-mobile-menu .site-mobile-menu-header .site-mobile-menu-logo a:hover {
          text-decoration: none; }
  .site-mobile-menu .site-mobile-menu-body {
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    position: relative;
    padding: 20px;
    height: calc(100vh - 52px);
    padding-bottom: 150px; }
  .site-mobile-menu .site-nav-wrap {
    padding: 0;
    margin: 0;
    list-style: none;
    position: relative; }
    .site-mobile-menu .site-nav-wrap a {
      padding: 10px 20px;
      display: block;
      position: relative;
      color: #212529; }
      .site-mobile-menu .site-nav-wrap a.active, .site-mobile-menu .site-nav-wrap a:hover {
        color: #007bff; }
    .site-mobile-menu .site-nav-wrap li {
      position: relative;
      display: block; }
      .site-mobile-menu .site-nav-wrap li.active > a {
        color: #007bff; }
    .site-mobile-menu .site-nav-wrap .arrow-collapse {
      position: absolute;
      right: 0px;
      top: 10px;
      z-index: 20;
      width: 36px;
      height: 36px;
      text-align: center;
      cursor: pointer;
      border-radius: 50%; }
      .site-mobile-menu .site-nav-wrap .arrow-collapse:hover {
        background: #f8f9fa; }
      .site-mobile-menu .site-nav-wrap .arrow-collapse:before {
        font-size: 12px;
        z-index: 20;
        font-family: "icomoon";
        content: "\f078";
        position: absolute;
        top: 50%;
        left: 50%;
        -webkit-transform: translate(-50%, -50%) rotate(-180deg);
        -ms-transform: translate(-50%, -50%) rotate(-180deg);
        transform: translate(-50%, -50%) rotate(-180deg);
        -webkit-transition: .3s all ease;
        -o-transition: .3s all ease;
        transition: .3s all ease; }
      .site-mobile-menu .site-nav-wrap .arrow-collapse.collapsed:before {
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%); }
    .site-mobile-menu .site-nav-wrap > li {
      display: block;
      position: relative;
      float: left;
      width: 100%; }
      .site-mobile-menu .site-nav-wrap > li > a {
        padding-left: 20px;
        font-size: 20px; }
      .site-mobile-menu .site-nav-wrap > li > ul {
        padding: 0;
        margin: 0;
        list-style: none; }
        .site-mobile-menu .site-nav-wrap > li > ul > li {
          display: block; }
          .site-mobile-menu .site-nav-wrap > li > ul > li > a {
            padding-left: 40px;
            font-size: 16px; }
          .site-mobile-menu .site-nav-wrap > li > ul > li > ul {
            padding: 0;
            margin: 0; }
            .site-mobile-menu .site-nav-wrap > li > ul > li > ul > li {
              display: block; }
              .site-mobile-menu .site-nav-wrap > li > ul > li > ul > li > a {
                font-size: 16px;
                padding-left: 60px; }

.sticky-wrapper {
  position: absolute;
  z-index: 100;
  width: 100%; }
  .sticky-wrapper + .site-blocks-cover {
    margin-top: 96px; }
  .sticky-wrapper .site-navbar {
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease; }
    .sticky-wrapper .site-navbar ul li.active a {
      color: #fff; }
  .sticky-wrapper.is-sticky .site-navbar {
    background-color: #84A1B0; }
    .sticky-wrapper.is-sticky .site-navbar .site-navigation .site-menu > li {
      display: inline-block;
      padding: 10px 5px; }
      .sticky-wrapper.is-sticky .site-navbar .site-navigation .site-menu > li:last-child {
        padding-right: 0; }
        .sticky-wrapper.is-sticky .site-navbar .site-navigation .site-menu > li:last-child > a {
          padding-right: 0; }
      .sticky-wrapper.is-sticky .site-navbar .site-navigation .site-menu > li.has-children > a {
        padding-right: 20px; }
      .sticky-wrapper.is-sticky .site-navbar .site-navigation .site-menu > li > a {
        padding: 10px 10px;
        color: rgba(255, 255, 255, 0.6);
        font-size: 15px; }
        .sticky-wrapper.is-sticky .site-navbar .site-navigation .site-menu > li > a:hover {
          color: #fff !important; }
        .sticky-wrapper.is-sticky .site-navbar .site-navigation .site-menu > li > a.active {
          color: #fff !important; }
      .sticky-wrapper.is-sticky .site-navbar .site-navigation .site-menu > li.active a {
        color: #fff; }


.executive-images {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-top: 50px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: #003366;
  margin-bottom: 20px;
  line-height: 1.2;
}

.quote-mark {
  font-size: 80px;
  color: #94a3b8;
  line-height: 0.5;
  margin-top: -20px;
}

.executive-text {
  font-size: 16px;
  color: #333;
  line-height: 1.8;
  margin-bottom: 15px;
}

.executive-images {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.person {
  text-align: center;
  opacity: 0;
  transform: translateY(50px); 
  animation: fadeUp 1.5s ease-out forwards;
}

.person:nth-child(2) {
  animation-delay: 0.5s;
}

.person img {
  width: 220px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.person img:hover {
  transform: scale(1.05);
}

.name {
  margin-top: 10px;
  font-weight: 600;
  color: #003366;
  font-size: 16px;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.executive-text,
.section-title,
.quote-mark {
  opacity: 0;
  transform: translateX(-60px); 
  animation: slideInLeft 1.2s ease-out forwards;
}


.section-title {
  animation-delay: 0.2s;
}
.quote-mark {
  animation-delay: 0.4s;
}
.executive-text:nth-of-type(1) {
  animation-delay: 0.6s;
}
.executive-text:nth-of-type(2) {
  animation-delay: 0.8s;
}
.executive-text:nth-of-type(3) {
  animation-delay: 1s;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Section: Single Source */
.single-source-section {
  background: linear-gradient(to bottom right, #f8fbff, #eef4f9);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.single-source-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.single-source-content h2 {
  font-size: 60px;
  font-weight: 700;
  color: #003366;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.2);
  line-height: 1.2;
}

.number-image img {
  width: 600px;
  max-width: 200%;
  filter: drop-shadow(5px 5px 10px rgba(0,0,0,0.3));
  transition: transform 0.3s ease;
}
.number-image {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px 0;
}


.number-image img:hover {
  transform: scale(1.05);
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 ช่องต่อแถว */
  gap: 30px; /* ระยะห่างระหว่างช่อง */
  justify-items: center; /* จัดให้อยู่ตรงกลางแนวนอน */
  align-items: start;
  margin: 60px auto;
  max-width: 1200px; /* จำกัดความกว้างไม่ให้ยืดเกิน */
}
.industry-item {
  text-align: center;
  transition: transform 0.3s ease;
}
.industry-item img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  transition: transform 0.5s, box-shadow 0.5s;
}

.industry-item img:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.industry-item p {
  margin-top: 10px;
  font-weight: 600;
  color: #003366;
}

/* Animation Effects */
.fade-in-left {
  opacity: 0;
  transform: translateX(-100px);
  transition: all 1s ease-out;
}
.fade-in-right {
  opacity: 0;
  transform: translateX(100px);
  transition: all 1s ease-out;
}
.fade-in-up {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease-out;
}
.fade-in-scale {
  opacity: 0;
  transform: scale(0.8);
  transition: all 1s ease-out;
}

.visible {
  opacity: 1 !important;
  transform: translate(0, 0) scale(1) !important;
}

.organization-section {
  background: linear-gradient(to bottom, #f8fbff, #ffffff);
  padding: 80px 0;
  text-align: center;
}

.organization-section1 {
  background: linear-gradient(to bottom, #f8fbff, #ffffff);
  padding: 80px 0;
  text-align: left;
  display: flex;
  justify-content: flex-start;
  padding-left: 0px;
  margin-top: -100px; 
}

.organization-section1 img {
  max-width: 1000px;
  width: 90%;
  height: auto;
}

.organization-section2 {
  background: linear-gradient(to bottom, #f8fbff, #ffffff);
  padding: 80px 0;
  text-align: left;
  display: flex;
  justify-content: flex-start;
  padding-left: 770px;
  margin-top: -160px;
  .org-title {
  white-space: nowrap;
  }
}

.org-title {
  font-size: 36px;
  font-weight: 700;
  color: #003366;
  margin-bottom: 40px;
}

.org-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.org-level {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 20px 0;
}

.org-box {
  background-color: #e8edf3;
  color: #003366;
  padding: 15px 25px;
  border-radius: 20px;
  margin: 10px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.org-box.main {
  background-color: #003366;
  color: #fff;
}

.org-team {
  flex: 1;
  margin: 20px;
}

.org-team h3 {
  background-color: #e6eef8;
  color: #003366;
  padding: 10px;
  border-radius: 8px;
  font-weight: 700;
}

.person {
  text-align: center;
  margin-top: 20px;
}

.person img {
  width: 180px;
  border-radius: 10px;
  filter: drop-shadow(3px 3px 10px rgba(0,0,0,0.3));
}

.person .name {
  font-weight: 700;
  margin-top: 10px;
  color: #003366;
}

.person .position {
  color: #666;
  font-size: 14px;
}

.team-members {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.member img {
  width: 160px;
  margin: 10px;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.member img:hover {
  transform: scale(1.05);
}

.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.org-chart {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 60px 20px;
  background-color: #f8fafc;
}

.org-image img {
  max-width: 100%;
  height: auto;
  width: 1000px;
  filter: drop-shadow(3px 3px 10px rgba(0,0,0,0.15));
  transition: transform 0.3s ease;
}

.org-image img:hover {
  transform: scale(1.02);
}

.org-chart1 {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.org-image1 img {
  max-width: none;
  height: auto;
  width: 600px;

  margin-left: -1000px; /* ← ปรับค่าตามต้องการ */
  filter: drop-shadow(3px 3px 10px rgba(0,0,0,0.15));
  transition: transform 0.3s ease;
}

.org-image1 img:hover {
  transform: scale(1.02);
}

.org-image2 img {
  max-width: none;
  height: auto;
  width: 600px;

  margin-left: -170px; /* เลื่อนไปทางซ้าย */
  margin-top: -668px;   /* ← ค่านี้คือเลื่อนขึ้น ปรับเพิ่มได้ตามต้องการ */

  filter: drop-shadow(3px 3px 10px rgba(0,0,0,0.15));
  transition: transform 0.3s ease;
}

.org-image2 img:hover {
  transform: scale(1.02);
}

/* Footer Base */
.footer {
  position: fixed;
  left: 0;
  bottom: -100%;
  width: 100%;
  background:
    radial-gradient(80% 120% at 20% 0%, rgba(56,189,248,0.12), transparent 60%),
    linear-gradient(135deg, #84A1B0, #34627C);
  color: #e5e7eb;
  font-family: 'Kanit', sans-serif;
  transition: bottom 0.45s ease;
  z-index: 999;
}

/* เมื่อ scroll ถึงล่าง */
.footer.show {
  bottom: 0;
}

/* กัน footer ทับเนื้อหา */
.footer-space {
  height: 240px;
}

/* Layout */
.footer-container {
  max-width: 1100px;              /* ⬅️ แคบลง = ชิดขึ้น */
  margin: auto;
  padding: 40px 24px 34px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.footer-col {
  flex: 1;
  min-width: 260px;
}

/* Text */
.footer-col p {
  font-size: 16px;
  line-height: 1.65;
  color: #ffffff;
}

/* Address + Contact Row */
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;                     /* ⬅️ ชิดขึ้นอีก */
}

/* Left */
.footer-left {
  max-width: 55%;                /* ⬅️ ดึงขวาเข้ามา */
  font-size: 16px;
  line-height: 1.65;
  color: #ffffff;
}

/* Right */
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 16px;
  line-height: 1.65;
  color: #ffffff;
  white-space: nowrap;
}

.footer-right div {
  padding-left: 2px;             /* ⬅️ จูนแนวตัวอักษร */
}

/* Social Icons */
.social-icons {
  display: flex;
  align-items: center;
  gap: 14px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #e5e7eb;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: #38bdf8;
  color: #020617;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(56,189,248,0.35);
}

/* Bottom bar */
.footer-bottom {
  text-align: center;
  padding: 14px 10px;
  background: #5B8295(2, 6, 23, 0.95);
  font-size: 15px;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-row {
    flex-direction: column;
    gap: 10px;
  }

  .footer-left {
    max-width: 100%;
  }

  .footer-right {
    align-items: center;
    white-space: normal;
  }

  .social-icons {
    justify-content: center;
  }

  .footer-space {
    height: 280px;
  }
}
/* ระวังไม่ให้เนื้อหาโดน footer ทับ */
body {
  padding-bottom: 140px; /* ลดให้เล็กลงตาม footer */
}

.site-logo {
  margin: 0;
}

.site-logo a {
  display: inline-flex;
  align-items: center;
}

.logo-header {
  height: 50px;     /* ปรับขนาดโลโก้ */
  width: auto;
  transition: 0.3s ease;
}

/* hover effect เล็กน้อย */
.site-logo a:hover .logo-header {
  transform: scale(1.05);
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.8));
}
