:root {
  --primary: #047cb8;
  --dark: #0b1c2d;
}

body {
  font-family: "Lato", "Noto Sans Thai", system-ui, sans-serif;
  color: #111;
}

/* ================= HEADER ================= */
.hero {
  background: url("../img/banner.jpg") center/cover no-repeat;
  height: 560px;
  position: relative;
  color: #fff;
  padding-top: 60px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}

.black-badge {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 32px;
}

.header-wrap {
  position: absolute;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 10;
}

.header-capsule {
  background: #fff;
  border-radius: 50px;
  padding: 12px 28px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.header-top {
  font-size: 13px;
  color: #555;
}
.header-top i {
  color: var(--primary);
}

.navbar {
  padding: 0;
}
.navbar-brand {
  font-weight: 900;
  letter-spacing: 0.5px;
}
.nav-link {
  font-weight: 600;
  padding: 10px 18px !important;
  color: #111;
}
.nav-link:hover {
  color: var(--primary);
}
.nav-icon {
  font-size: 18px;
}

.header-contact {
  text-align: right;
  font-size: 12px;
  color: #fff;
  margin-bottom: 16px;
  padding-right: 32px;
}

/* ================= SECTIONS ================= */
.section {
  padding: 90px 0;
}
.section-title {
  margin-bottom: 24px;
  color: var(--primary);
}

/* feature */
.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #f2f6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 26px;
  color: var(--primary);
}

/* product */
.product-card {
  transition: 0.4s;
  text-decoration: none;
}

.product-card:hover {
  transition: 0.4s;
  background-color: #444;
  color: #fff;
}

.product-card img {
  height: 210px;
  object-fit: cover;
}

/* partner */
.partner-logo {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  text-align: center;
  font-weight: 700;
}

.partner-logo img {
  height: 80px;
}

.content-title {
  border-left: 4px solid var(--primary);
  color: var(--primary);
  padding-left: 16px;
}

.news-card {
  transition: 0.4s;
  display: block;
  color: #000;
  text-decoration: none;

  border: 1px solid #eee;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;

  border-bottom: 8px solid var(--primary);
  overflow: hidden;
}

.news-card:hover {
  transition: 0.4s;
  box-shadow: rgba(100, 100, 111, 0.6) 0px 7px 29px 0px;
}

.news-card h4 {
  color: var(--primary);
}

.news-card p {
  color: #666;
}

.news-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.read-more-button {
  background-color: var(--primary);
  border: none;
  border-radius: 16px;
  color: #fff;
  padding: 8px 16px;
}

.footer-menu ul {
  list-style-type: none;
  padding: 0;
}

.back-to-news {
  display: inline-block;
  padding: 16px 24px;
  background-color: var(--primary);
  color: #fff;
  border-radius: 16px;
  text-decoration: none;
  margin-top: 32px;
}

/* footer */
footer {
  background: #000;
  color: #aaa;
}
footer a {
  color: #aaa;
  text-decoration: none;
}
footer a:hover {
  color: #fff;
}

/* ================= CONTACT PAGE ================= */
.address-info-card {
  border: 1px solid #eee;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  background: #fff;
}

.contact-item i {
  width: 40px;
  height: 40px;
  background: rgba(4, 124, 184, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.contact-form-wrap {
  border: 1px solid #eee;
}

.form-placeholder {
  border-radius: 8px;
  background: #fff;
  border-radius: 16px;
}

.contact-form .wpcf7-form-control-wrap {
  display: block;
  margin-bottom: 15px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  outline: none;
  transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(4, 124, 184, 0.1);
}

.contact-form input[type="submit"],
.contact-form button {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  transition: 0.3s;
  cursor: pointer;
}

.contact-form input[type="submit"]:hover,
.contact-form button:hover {
  background: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.add-line-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background-color: #02C955;
  color: #fff;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
}

.add-line-button img {
  width: 32px;
}

.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  text-decoration: none;

  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--primary);
  color: #fff;
  text-align: center;
  line-height: 64px;
  z-index: 10;
}

.lang-switch {
  display: inline-block;
  text-decoration: none;
  color: var(--primary);
  margin-right: 16px;
}

.lang-switch span {
  color: #000;
}

.trp-shortcode-switcher {
	top: 4px!important;
}




