body { font-family: 'Sarabun', sans-serif; }
        .aia-red-bg { background-color: #D31145; }
        .aia-red-text { color: #D31145; }
        .hover-scale:hover .card-img { transform: scale(1.05); transition: transform 0.3s ease; }

/* Scroll Animation */
        .reveal { opacity: 0; transform: translateY(40px); transition: 0.8s; }
        .reveal.active { opacity: 1; transform: translateY(0); }

.pill-wrap {
  display: flex;
  gap: 10px;         
  flex-wrap: wrap;    
}

.pill {
  padding: 10px 18px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  font-size: 14px;
  color: #374151;
  background-color: #fff;
  white-space: nowrap;
}


.info-table {
  border-radius: 8px;
  overflow: hidden;
  background-color: #fff;
}


.info-table td {
  border: 1px solid #e5e7eb; /* เส้นบาง */
  padding: 16px 20px;
  vertical-align: top;
}

.info-table .label {
  width: 30%;
  font-weight: 600;
  background-color: #ffffff;
}

.info-table .value {
  width: 70%;
  font-weight: 700;
  color: #0f172a;
}

/* card */
.section-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #0f172a;
}

.card-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  position: relative;
  padding: 32px 24px 24px;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  background-color: #fff;
}

.card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #0f172a;
}

.card p {
  font-size: 16px;
  line-height: 1.6;
  color: #475569;
}

/* วงกลมเลขมุมบนซ้าย */
.badge {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 36px;
  height: 36px;
  border: 2px solid #dc2626;
  color: #dc2626;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  background-color: #fff;
}
.video-wrap {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 16px;
}

.video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
h3 {
  font-size: clamp(18px, 4vw, 28px);
}

/* Line */
.line-floating-btn {
        position: fixed;
        bottom: 30px;
        right: 30px;
        z-index: 9999;
        display: flex;
        align-items: center;
        background-color: #00B900;
        color: white;
        padding: 12px 20px;
        border-radius: 50px;
        text-decoration: none;
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        transition: all 0.3s ease;
        /* เอฟเฟกต์เคลื่อนไหว (ดึงดูดสายตา) */
        animation: pulse-green 2s infinite;
    }

    .line-floating-btn:hover {
        transform: scale(1.1);
        background-color: #009900;
    }

    .line-floating-btn img {
        width: 30px;
        height: 30px;
        margin-right: 10px;
    }

    .line-floating-btn span {
        font-weight: bold;
        font-size: 16px;
    }

@media (max-width: 768px) {
  .card-wrap {
    grid-template-columns: 1fr;
  }
  h3 {
    font-size: 1.2rem;
  }
  .text-xl .font-bold .mb-4 h3 {
    font-size: 1rem;
  }
  .line-floating-btn {
            bottom: 20px;
            right: 20px;
            padding: 12px;
        }
        .line-floating-btn span {
            display: none;
        }
        .line-floating-btn img {
            margin-right: 0;
        }
}
@keyframes pulse-green {
        0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 185, 0, 0.7); }
        70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(0, 185, 0, 0); }
        100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 185, 0, 0); }
    }

