

/* Font Setting */
.kanit-black-italic {
  font-family: "Kanit", sans-serif;
  font-weight: 900;
  font-style: italic;
}


body {
  background: var(--bg-body);
  color: var(--text-main);
  font-family: 'Kanit', sans-serif;
  overflow-x: hidden;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.bg-cover {
  background-size: cover !important;
}

/* Reusable Components */
.gold-gradient-text {
  background: linear-gradient(to bottom, var(--primary-glow), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn-success {
  background: linear-gradient(to bottom, var(--primary-glow), var(--primary));
  color: #000;
  font-weight: bold;
  transition: all 0.3s;
  box-shadow: 0 4px 15px var(--shadows);
}

.btn-success:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px var(--primary);
}

.hr-glow {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

/* Tippy Tooltip Override */
.tippy-tooltip, .tippy-backdrop {
  background-color: var(--tippy-bg) !important;
}

.tippy-arrow { 
  border-top-color: var(--tippy-bg) !important; 
}

.service-circle {
  background: var(--bg-service-circle); /* ไล่เฉดวงกลมให้ดูมีมิติ */
  border-radius: 50%;
  width: 250px;  /* ปรับขนาดตามความเหมาะสม */
  height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  margin: 40px auto; /* เผื่อพื้นที่ด้านบนสำหรับไอคอนที่ลอยออกมา */
  box-shadow: 0 10px 30px var(--shadows);
  border: 1px solid var(--border);
}

.service-icon-floating {
  position: absolute;
  top: -40px; /* ให้ไอคอนลอยขึ้นไปครึ่งหนึ่งของวงกลม */
  left: 50%;
  transform: translateX(-50%);
  width: 100px; /* ขนาดไอคอนทองด้านบน */
  /* filter: drop-shadow(0 5px 15px rgba(0,0,0,0.5)); */
}

.text-gold-gradient {
  background: var(--theme-gradient); /* ใช้ตัวแปรสีจากรูปที่คุณส่งมา */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
}

.nav-link.active {
    position: relative;
    opacity: 1 !important;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 10%;
  width: 80%;
  height: 3px;
  background: var(--theme-gradient);
  border-radius: 10px 10px 0 0;
  box-shadow: 0 -4px 10px var(--theme-glow);
}

.feature-card-bg {
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}

.thai-distributed{
  text-align: justify;
  text-justify: distribute;
}