: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;
}
.hero::before{
  content:'';
  position:absolute;
  inset:0;
  background:rgba(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,.15);
}
.header-top{
  font-size:13px;
  color:#555;
}
.header-top i{color:var(--primary);}

.navbar{padding:0;}
.navbar-brand{
  font-weight:900;
  letter-spacing:.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,.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-radius: 16px;
  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 */
footer{
  background:#000;
  color:#aaa;
}
footer a{
  color:#aaa;
  text-decoration:none;
}
footer a:hover{color:#fff;}