:root {
  --primary: #4da6ff;        /* ฟ้าหลัก */
  --primary-dark: #1e88e5;   /* ฟ้าเข้ม */
  --light-blue: #e3f2fd;     /* ฟ้าอ่อนพื้นหลัง */
  --text-dark: #333;
  --white: #ffffff;
}

body {
  font-family: 'Prompt', sans-serif;
  background-color: var(--light-blue);
  color: var(--text-dark);
}

/* 🔹 กำหนดความสูง top bar */

.contact-phone {
  color: #fff;
  letter-spacing: 0.5px;
}

.contact-phone i {
  color: #0d6efd; /* ฟ้า Bootstrap */
  font-size: 16px;
}

.contact-phone:hover {
  color: #0d6efd;
  transition: 0.3s;
}

.social-icons a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  transition: 0.3s;
}

/* สีแต่ละ Social */
.social.facebook { background: #1877f2; }
.social.line { background: #06c755; }
.social.youtube { background: #ff0000; }
.social.tiktok { background: #000; }

/* Hover */
.social-icons a:hover {
  transform: translateY(-3px);
  opacity: 0.85;
}

.navbar-brand img {
  border-radius: 8px;
}

.navbar-brand span {
  font-size: 20px;
  letter-spacing: 1px;
}
.top-bar {
  height: 40px;
  display: flex;
  align-items: center;
  font-size: 14px;
}
/* TOP BAR */
.topbar {
  background: linear-gradient(90deg, #4da6ff, #1e88e5);
  padding: 6px 0;
  font-size: 14px;
}

/* container ข้างใน */
.topbar .container {
  background: rgba(255,255,255,0.1);
  border-radius: 50px; /* 🔥 โค้งมน */
  padding: 8px 20px;
  backdrop-filter: blur(10px); /* 🔥 ฟีลแก้ว */
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* ลิงก์ */
.topbar a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

/* hover */
.topbar a:hover {
  color: #e3f2fd;
  text-decoration: underline;
}



/* 🔹 ปรับ navbar */
.navbar {
  background: linear-gradient(90deg, #4da6ff, #1e88e5) !important;
  padding: 12px 0;
}

/* 🔹 โลโก้ */
.navbar-brand {
  color: #fff !important;
  font-weight: bold;
}

/* 🔹 เมนู */
.navbar-nav .nav-link {
  color: #fff !important;
  font-weight: 500;
  margin: 0 8px;
  transition: 0.3s;
}

/* hover */
.navbar-nav .nav-link:hover {
  color: #e3f2fd !important;
}

/* 🔹 dropdown */
.dropdown-menu {
  border-radius: 12px;
  border: none;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.dropdown-item:hover {
  background: #f1f5f9;
  color: #1e88e5;
}

/* 🔹 search */
.search-input {
  border-radius: 20px;
  border: none;
}

.search-btn {
  border-radius: 20px;
  background: #fff;
  color: #1e88e5;
  font-weight: 500;
  border: none;
}

.search-btn:hover {
  background: #e3f2fd;
}

* {
  box-sizing: border-box;
}

/* ขนาดสไลด์ */
.hero-slide {
  height: 90vh;
  background-size: cover;
  background-position: center;
  position: relative;
}

/* overlay ดำโปร่ง */
.hero-slide .overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  top: 0;
  left: 0;
}

/* text อยู่ด้านหน้า */
.hero-slide .container {
  position: relative;
  z-index: 2;
}



/* =========================
   🎯 HERO SLIDER
========================= */
.hero-slide {
  height: 90vh;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-slide .overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(30,136,229,0.5); /* ฟ้าโปร่ง */
  top: 0;
  left: 0;
}

.hero-slide h1 {
  font-size: 48px;
}

.hero-slide p {
  font-size: 18px;
}

/* =========================
   🔘 BUTTON
========================= */
.btn-primary {
  background: var(--primary);
  border: none;
  border-radius: 25px;
  padding: 10px 25px;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

/* =========================
   📦 CARD (สินค้า)
========================= */
.card {
  border: none;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.card:hover {
  transform: translateY(-5px);
  transition: 0.3s;
}


.trust-section {
  background: #f1f5f9;
}

.trust-item {
  text-align: center;
}

/* ไอคอน */
.icon-box {
  width: 70px;
  height: 70px;
  margin: 0 auto;
  background: #e3f2fd;
  color: #1e88e5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ไอคอนขนาด */
.icon-box i {
  font-size: 30px;
}

/* ข้อความ */
.trust-item p {
  color: #1e88e5;
  font-size: 16px;
  line-height: 1.5;
}

/* hover effect (เพิ่มความโปร 🔥) */
.trust-item:hover .icon-box {
  background: #1e88e5;
  color: #fff;
  transition: 0.3s;
}

/* กล่องแต่ละ item */
.trust-item {
  padding: 20px;
  border-radius: 15px;
  transition: all 0.3s ease;
}

/* 🔥 ตอน hover */
.trust-item:hover {
  background: #ffffff;
  border: 2px solid #4da6ff; /* สีฟ้า */
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transform: translateY(-5px);
}

.trust-item {
  padding: 20px;
  border-radius: 15px;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.trust-item:hover .icon-box {
  background: #4da6ff;
  color: #fff;
  transform: scale(1.1);
}

/* SECTION */
.category-section {
  background: #f5f7fa;
}

/* CARD */
.category-card {
  background: #fff;
  border-radius: 20px;
  padding: 15px;
  transition: all 0.3s ease;
  position: relative;
  height: 100%;
}

/* IMAGE BOX */
.category-img {
  background: #f1f5f9;
  border-radius: 15px;
  padding: 20px;
  position: relative;
  text-align: center;
}

/* IMAGE */
.category-img img {
  max-width: 100%;
  height: 140px;
  object-fit: contain;
}

/* ARROW ICON */
.arrow {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 35px;
  height: 35px;
  background: #1e3a5f;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

/* CONTENT */
.category-content {
  margin-top: 15px;
}

.category-content h5 {
  font-weight: 600;
  margin-bottom: 5px;
}

.category-content span {
  font-size: 13px;
  background: #eef2f7;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-block;
}

/* 🔥 HOVER EFFECT */
.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* hover ลูกเล่นเพิ่ม */
.category-card:hover .arrow {
  background: #4da6ff;
}

/* image zoom */
.category-card:hover img {
  transform: scale(1.05);
  transition: 0.3s;
}


.factory-section {
  background: #f8fafc;
}

/* slide ชิดกัน */
.factorySwiper .swiper-slide {
  width: auto;
}

/* กล่องโลโก้ */
.factory-item {
  background: #fff;
  border: 2px solid transparent;
  border-radius: 15px;
  padding: 20px 30px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* โลโก้ */
.factory-item img {
  height: 100px;
  object-fit: contain;
  transition: 0.3s;
}

/* 🔥 hover */
.factory-item:hover {
  border: 2px solid #4da6ff;
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* 🔥 active (ตอนคลิก) */
.factory-item.active {
  border: 2px solid #4da6ff;
  transform: scale(1.08);
}

/* spacing ให้ "ชิด" */
.factorySwiper .swiper-wrapper {
  gap: 0;
}





.service-section {
  background: #f8fafc;
  padding: 80px 0;
}

.service-image img {
  width: 100%;
  border-radius: 20px;
  margin-right: 20px; /* 🔥 ไม่ชิด content */
}




/* accordion */
.accordion-item {
  border-bottom: 1px solid #ddd;
  padding: 20px 0;
}


.accordion-item + .accordion-item {
  margin-top: 10px; /* 🔥 เพิ่มช่องไฟ */
}


/* header */
.accordion-header {
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0; /* 🔥 เพิ่มระยะ */
}

/* icon */
.accordion-header .icon {
  font-size: 22px;
  color: #1e88e5;
}

/* content */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  font-size: 15px;
  color: #555;
  line-height: 1.7; /* 🔥 อ่านง่ายขึ้น */
  padding-right: 20px; /* 🔥 ไม่ชิดขอบขวา */
}

/* active */
.accordion-item.active .accordion-content {
  max-height: 300px;
  margin-top: 15px;
}

.accordion-item.active .icon {
  content: "-";
}



.service-section h2 {
  margin-bottom: 30px;
  padding-left: 40px;
}





.category-section {
  background: #f8fafc;
}

/* card */
.category-card {
  display: block;
  text-align: center;
  background: #f1f5f9;
  border-radius: 20px;
  padding: 25px 15px;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

/* image box */
.category-img {
  margin-bottom: 15px;
}

.category-img img {
  height: 120px;
  object-fit: contain;
  transition: 0.3s;
}

/* title */
.category-card h5 {
  font-size: 16px;
  font-weight: 500;
  margin: 0;
}

/* 🔥 hover effect */
.category-card:hover {
  background: #ffffff;
  transform: translateY(-8px);
  border: 2px solid #4da6ff;
  box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.category-card:hover img {
  transform: scale(1.05);
}

/* 🔥 active (เหมือนที่คุณวงไว้ในรูป) */
.category-card.active {
  background: #ffffff;
  border: 2px solid #4da6ff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}


/* SECTION */
.shop-section {
  background: #f8fafc;
}

/* 🔹 FILTER */
.filter-box {
  background: #fff;
  padding: 20px;
  border-radius: 15px;
}

.filter-box h5 {
  font-weight: 600;
  margin-bottom: 10px;
}

.filter-box ul {
  list-style: none;
  padding: 0;
}

.filter-box li {
  font-size: 14px;
  margin-bottom: 8px;
}

/* 🔹 PRODUCT CARD */
.product-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  transition: 0.3s;
  border: 1px solid #eee;
}

/* image */
.product-img {
  background: #f1f5f9;
  text-align: center;
  padding: 20px;
}

.product-img img {
  height: 150px;
  object-fit: contain;
  transition: 0.3s;
}

/* info */
.product-info {
  padding: 15px;
}

.product-info h6 {
  font-size: 15px;
  margin-bottom: 5px;
}

.product-info .sku {
  font-size: 12px;
  color: #888;
}

.price {
  font-size: 18px;
  font-weight: bold;
  color: #e53935;
  margin: 10px 0;
}

/* 🔥 hover */
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.product-card:hover img {
  transform: scale(1.05);
}

/* 🔹 BUTTON */
.btn-primary {
  background: #4da6ff;
  border: none;
}

.btn-primary:hover {
  background: #1e88e5;
}



/* dropdown box */
.dropdown-menu {
  border-radius: 12px;
  padding: 10px 0;
  border: none;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* item */
.dropdown-item {
  padding: 10px 20px;
  font-size: 14px;
}

/* hover */
.dropdown-item:hover {
  background: #f1f5f9;
  color: #1e88e5;
}

.product-section{
background:#87CEFA;
padding:80px 0;
color:#fff;
}

/* Title */
.product-title{
color:#FFFFFF;
font-size:32px;
font-weight:700;
}

/* Description */
.product-desc{
color:#FFFFFF;
}

/* IMAGE */
.main-image-box{
background:#111;
padding:20px;
border-radius:15px;
text-align:center;
}

.main-image{
max-width:100%;
height:350px;
object-fit:contain;
}

/* THUMB */
.thumb-list{
margin-top:15px;
display:flex;
gap:10px;
}

.thumb-list img{
width:70px;
height:70px;
object-fit:cover;
border-radius:10px;
cursor:pointer;
opacity:0.7;
transition:0.3s;
}

.thumb-list img:hover{
opacity:1;
border:2px solid #d4af37;
}

/* OPTION */
.option-group{
display:flex;
gap:10px;
flex-wrap:wrap;
}

.option-btn{
padding:8px 18px;
border-radius:30px;
border:1px solid #555;
background:#111;
color:#fff;
cursor:pointer;
transition:0.3s;
}

.option-btn.active,
.option-btn:hover{
background:#d4af37;
color:#000;
border:none;
}

/* UPLOAD */
.upload-box{
background:#111;
padding:15px;
border-radius:10px;
border:1px dashed #d4af37;
}

/* DOWNLOAD */
.btn-download{
display:inline-block;
padding:10px 20px;
background:#1a2a4a;
color:#fff;
border-radius:10px;
margin-right:10px;
text-decoration:none;
transition:0.3s;
}

.btn-download:hover{
background:#d4af37;
color:#000;
}



.product-price {
  font-size: 26px;
  font-weight: bold;
  color: #007bff;
  margin-bottom: 20px;
}

.product-buttons {
  display: flex;
  gap: 15px;
}

.btn-cart {
  background: #e6f2ff;
  color: #007bff;
  border: none;
  padding: 12px 20px;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-cart:hover {
  background: #cce5ff;
}

.btn-buy {
  background: linear-gradient(135deg, #4facfe, #00c6ff);
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
}

.btn-buy:hover {
  opacity: 0.9;
}



.product-detail-section {
  padding: 60px 20px;
  background: #F8FAFC;
}

.section-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 30px;
  color: #1a2b4c;
}

.accordion {
  max-width: 800px;
  margin: auto;
}

.accordion-item {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.accordion-header {
  padding: 15px 20px;
  cursor: pointer;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #e6f2ff;
  color: #007bff;
}

.accordion-header:hover {
  background: #d9ecff;
}

.accordion-content {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: 0.3s ease;
  color: #555;
}

.accordion-item.active .accordion-content {
  padding: 15px 20px;
  max-height: 300px;
}

.icon {
  font-size: 18px;
}



 /* ===== TEXT ===== */
.service-text p {
  font-size: 18px;
  line-height: 1.9;
  color: #555;
  max-width: 600px;
}

/* ===== BADGE ===== */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #e0f7ff, #c9efff);
  color: #0d6efd;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(13,110,253,0.15);
}

/* ===== TITLE ===== */
.section-title {
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.3;
}

/* ===== IMAGE / LOGO ===== */
.service-image-wrap {
  position: relative;
  text-align: center;
}

/* Glow background */
.service-image-wrap::before {
  content: "";
  position: absolute;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(13,110,253,0.25), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  filter: blur(40px);
}

/* LOGO IMAGE */
.service-image {
  position: relative;
  z-index: 1;
  max-width: 420px; /* 🔥 ขยายโลโก้ */
  width: 100%;
  transition: 0.5s ease;
  filter: drop-shadow(0 25px 40px rgba(0,0,0,0.2));
}

/* Hover effect */
.service-image:hover {
  transform: scale(1.08) rotate(-2deg);
}

/* Floating animation */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

.service-image {
  animation: float 4s ease-in-out infinite;
}

/* ===== CONTACT CARD ===== */
.contact-card {
  background: linear-gradient(135deg, #0d6efd, #00c6ff);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 20px 50px rgba(13,110,253,0.25);
}

.contact-title {
  color: #fff;
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 20px;
}

/* BUTTONS */
.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.contact-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 50px;
  background: rgba(255,255,255,0.2);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
  backdrop-filter: blur(6px);
}

/* Hover button */
.contact-btn:hover {
  background: #fff;
  color: #0d6efd;
  transform: translateY(-3px);
}


/* SECTION */
.pricing-section {
  background: linear-gradient(135deg, #0d6efd, #00c6ff);
  color: #fff;
}

.pricing-title {
  font-size: 2.5rem;
  font-weight: 800;
}

/* SWIPER */
.pricingSlider {
  padding: 20px 0;
}

/* CARD */
.price-card {
  background: rgba(255,255,255,0.1);
  border-radius: 18px;
  padding: 30px;
  text-align: left;
  transition: 0.4s;
  backdrop-filter: blur(10px);
  transform: scale(0.95);
  cursor: pointer;
}

/* ACTIVE */
.price-card.active {
  background: #ffc107;
  color: #000;
  transform: scale(1.05);
}

/* HOVER */
.price-card:hover {
  transform: scale(1.05);
}

/* TEXT */
.price-card h6 {
  opacity: 0.8;
}

.price-card h3 {
  font-size: 2rem;
  font-weight: 800;
  margin: 15px 0;
}

.price-card h3 span {
  font-size: 14px;
  opacity: 0.7;
}

/* LIST */
.price-card ul {
  list-style: none;
  padding: 0;
}

.price-card ul li {
  margin-bottom: 10px;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ICON ✔ */
.price-card ul li i {
  color: #00ffae;
}

/* ACTIVE ICON */
.price-card.active ul li i {
  color: #000;
}




.testimonial-section {
  background: #f8f9fb;
}

.sub-title {
  color: #999;
  font-size: 14px;
}

.main-title {
  font-size: 2.5rem;
  font-weight: 800;
}

.main-title span {
  color: #1E88E5;
}

.testimonial-card {
  background: #fff;
  padding: 25px;
  border-radius: 15px;
  text-align: left;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transform: scale(0.9);
  transition: 0.4s;
}

.swiper-slide-active .testimonial-card {
  transform: scale(1);
}

.stars {
  color: #1E88E5;
  font-weight: bold;
}

.user {
  display: flex;
  align-items: center;
  margin-top: 15px;
}

.user img {
  border-radius: 50%;
  margin-right: 10px;
}


.blog-section {
  background: #fff;
}

.blog-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  transition: 0.4s;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.blog-card img {
  width: 100%;
  display: block;
}

.blog-content {
  padding: 20px;
}

.tag {
  background: #ff9800;
  color: #fff;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
}

.blog-card:hover {
  transform: translateY(-8px);
}

.blog-card a {
  text-decoration: none;
  color: #0d6efd;
  font-weight: bold;
}

.btn-blog {
  background: #ffc107;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  color: #000;
}


 /* SECTION */
.hero-section {
  padding: 140px 0 80px;
  margin-top: 60px;
  position: relative;
}

/* เงานุ่มๆ ใต้ navbar */
.hero-section::before {
  content: "";
  position: absolute;
  top: -40px;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.15), transparent);
  z-index: 0;
}

/* TEXT */
.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.3;
  padding: 140px 0 80px;
}

.hero-desc {
  margin: 20px 0;
  font-size: 18px;
  opacity: 0.9;
}

/* BUTTON */
.hero-buttons {
  display: flex;
  gap: 15px;
}

.btn-primary {
  background: #ffc107;
  color: #000;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
}

.btn-outline {
  border: 2px solid #fff;
  padding: 12px 25px;
  border-radius: 30px;
  color: #fff;
  text-decoration: none;
}

/* IMAGE WRAP */
.hero-image-wrap {
  position: relative;
  transform: rotate(-5deg); /* 🔥 เอียง */
}

/* IMAGE */
.hero-image {
  width: 100%;
  max-width: 500px;   /* 🔥 คุมความกว้าง */
  height: 320px;      /* 🔥 คุมความสูง */
  object-fit: cover;  /* 🔥 ครอปภาพให้พอดี */
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.35);
}

/* Hover */
.hero-image-wrap:hover .hero-image {
  transform: scale(1.05);
}

/* Glow Effect */
.hero-image-wrap::before {
  content: "";
  position: absolute;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(255,255,255,0.3), transparent);
  top: -10%;
  left: -10%;
  z-index: -1;
}




@keyframes floatHero {
  0% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-15px) rotate(-5deg); }
  100% { transform: translateY(0) rotate(-5deg); }
}

.hero-image-wrap {
  animation: floatHero 5s ease-in-out infinite;
}



/* SECTION */
.feature-section {
  background: #f8f9fb;
}

/* TITLE */
.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #222;
}

/* CARD */
.feature-card {
  background: #fff;
  padding: 30px 20px;
  border-radius: 16px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  height: 100%;

  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 0.8s ease forwards;
}

/* ICON */
.feature-card .icon {
  font-size: 40px;
  margin-bottom: 15px;
}

/* TEXT */
.feature-card h5 {
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: #666;
}

/* 🔥 BORDER HOVER EFFECT */
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(45deg, #0d6efd, #00c6ff);
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: 0.4s;
}

/* HOVER */
.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}



.feature-card {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


 

 .blog-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 20px;
}

/* IMAGE */
.blog-image {
  width: 100%;
  border-radius: 15px;
  margin-bottom: 20px;
}

/* CONTENT */
.blog-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
}

.blog-content h3 {
  margin-top: 25px;
  font-weight: 700;
}

/* SIDEBAR */
.sidebar .widget {
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.widget h5 {
  font-weight: 700;
  margin-bottom: 15px;
}

/* CATEGORY */
.widget ul {
  list-style: none;
  padding: 0;
}

.widget ul li {
  margin-bottom: 10px;
}

.widget ul li a {
  text-decoration: none;
  color: #333;
  transition: 0.3s;
}

.widget ul li a:hover {
  color: #0d6efd;
}

/* TAG */
.tags a {
  display: inline-block;
  padding: 5px 12px;
  margin: 5px;
  background: #f1f1f1;
  border-radius: 20px;
  font-size: 13px;
  text-decoration: none;
  color: #333;
  transition: 0.3s;
}

.tags a:hover {
  background: #0d6efd;
  color: #fff;
}

/* RELATED */
.blog-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  transition: 0.3s;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.blog-card img {
  width: 100%;
}

.blog-card h6 {
  padding: 15px;
}

.blog-card:hover {
  transform: translateY(-6px);
}


/* FOOTER */
.footer {
  background: linear-gradient(135deg, #0d6efd, #00c6ff);
  color: #fff;
  padding: 70px 0 30px;
  position: relative;
}

/* GLOW EFFECT */
.footer::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.1);
  filter: blur(100px);
  top: -50px;
  left: -50px;
}

/* LOGO */
.footer-logo {
  width: 140px;
  margin-bottom: 15px;
}

/* TEXT */
.footer-box p {
  font-size: 14px;
  opacity: 0.9;
}

/* TITLE */
.footer-box h5 {
  margin-bottom: 15px;
  font-weight: 700;
}

/* LIST */
.footer-box ul {
  list-style: none;
  padding: 0;
}

.footer-box ul li {
  margin-bottom: 8px;
}

.footer-box ul li a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

/* HOVER LINK */
.footer-box ul li a:hover {
  padding-left: 5px;
  color: #ffc107;
}

/* SOCIAL */
.footer-social {
  margin-top: 10px;
}

.footer-social a {
  display: inline-flex;
  width: 35px;
  height: 35px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  margin-right: 5px;
  transition: 0.3s;
}

/* HOVER SOCIAL */
.footer-social a:hover {
  background: #ffc107;
  color: #000;
  transform: translateY(-3px);
}

/* CTA */
.footer-cta h4 {
  font-weight: 800;
  margin-bottom: 15px;
}

.btn-footer {
  background: #ffc107;
  color: #000;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.3s;
}

.btn-footer:hover {
  background: #fff;
  color: #0d6efd;
}

/* BOTTOM */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 15px;
  font-size: 13px;
  opacity: 0.8;
}












/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {

   .hero-title {
    font-size: 2rem;
  }

  .hero-image-wrap {
    margin-top: 40px;
    transform: rotate(0); /* มือถือไม่เอียง */
  }


  .service-text p {
    font-size: 16px;
  }

  .service-image {
    max-width: 320px;
    margin-top: 30px;
  }

  .contact-buttons {
    flex-direction: column;
  }

  .contact-btn {
    justify-content: center;
  }

 .contact-phone {
    font-size: 14px;
  }

  .contact-phone i {
    font-size: 14px;
  }

  .social-icons a {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }


}

/* ปรับมือถือ */
@media (max-width: 768px) {


/* จัด layout กลาง */
  .topbar .container {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .contact-phone {
    font-size: 13px;
  }

  .social-icons {
    justify-content: center;
  }

  .social-icons a {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }

  .hero-slide {
    height: 70vh;
  }

  .hero-slide h1 {
    font-size: 28px;
  }
  
  .content-box {
    padding-left: 15px;
    padding-right: 15px;
  }
  .category-img img {
    height: 100px;
  }

  .category-img img {
    height: 100px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .service-image {
    max-width: 260px;
  }

   .pricing-title {
    font-size: 1.8rem;
  }

   .pricing-title {
    font-size: 1.8rem;
  }


    .footer {
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

}



/* ===== SMALL MOBILE (<= 480px) ===== */
@media (max-width: 480px) {

  .contact-phone {
    font-size: 12px;
  }

  .contact-phone i {
    display: none; /* ซ่อนไอคอนให้โล่งขึ้น */
  }

  .social-icons a {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

}





