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

body {
  font-family: 'Kanit', sans-serif; /* หรือฟอนต์ที่ต้องการ */
  line-height: 1.6;
  background: #f9f9f9;
  color: #333;
}

/* --- Logo --- */
.logo {
  text-align: center;
  padding: 15px 0;
  background-color: #fff;
}

.logo img {
  width: 100%;
  height:auto ;
  display: block;
}

/* --- ข้อความวิ่ง marquee --- */
.font-run {
  background-color: #009688;
  color: white;
  font-size: 1rem;
  overflow: hidden;
  white-space: nowrap;
}

.marquee p {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 15s linear infinite;
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* --- เมนูนำทาง (header) --- */
header {
  background-color: #100454af;
}

.nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.nav ul li {
  position: relative;
}

.nav ul li a {
  display: block;
  padding: 15px 20px;
  color: white;
  text-decoration: none;
  font-weight: 600;
}

.nav ul ul {
  display: none; /* ซ่อนเมนูย่อยเริ่มต้น */
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #00695c; /* สีเดียวกับเมนูหลัก */
  min-width: 180px;
  padding: 0;
  margin: 0;
  list-style: none;
  z-index: 999;
}

.nav ul ul li {
  width: 100%;
}

.nav ul ul li a {
  display: block;
  padding: 12px 20px;
  color: #fff;
  font-weight: 400;
  text-decoration: none;
  white-space: nowrap;
}

/* Hover สีเมนู */
.nav ul li a:hover,
.nav ul ul li a:hover {
  background-color: #181aa6;
  color: #f1f1f1;
}

.visaitad1 {
  background: white;
  padding: 20px;
  border-radius: 10px;
}

.visaitad1 h1 {
  margin: 20px 0 10px;
  color: #333;
}

.visaitad1 img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}
/* Footer */
footer {
  background: #333;
  color: white;
  padding: 20px 10px;
  margin-top: 30px;
}

.footer-top-con {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-top-item {
  flex: 1 1 250px;
}

.footer-top-item h6 {
  margin-bottom: 10px;
  font-size: 18px;
  color: #ffd700;
}

.footer-top-item p {
  font-size: 14px;
}

.footer-top-item iframe {
  width: 100%;
  height: auto;
  border: none;
}

/* Responsive navbar */
@media (max-width: 768px) {
  .nav ul li {
    display: block;
    text-align: left;
  }
}
  .nav ul li ul {
    position: static;
  }


/* --- Responsive --- */

/* มือถือเล็ก */
@media (max-width: 480px) {
  .content {
    flex-direction: column;
  }

}