.contact-section {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-card {
    padding: 35px;
    font-size: 26px;
    font-weight: 800;
    border: 1px solid rgba(7, 103, 194, 0.3);
    border-radius: 14px;
    background: linear-gradient(145deg, #ffffff, #f4f9ff);
    box-shadow: 0 8px 25px rgba(7, 103, 194, 0.08);
}

.contact-title {
    color: #0960b9;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.contact-title img {
    width: 32px;
}

.contact-group {
    margin-bottom: 20px;
}

.contact-label {
    font-size: 19px;
    font-weight: 900;
    color: #0960b9;
    margin-bottom: 5px;
    display: block;
}

.contact-number {
    font-size: 19px;
    font-weight: 800;
    display: block;
    margin-bottom: 3px;
}

.line-section {
    text-align: center;
    margin-top: 25px;
}

.line-title {
    font-size: 19px;
    font-weight: 900;
    color: #0960b9;
    margin-bottom: 10px;
}

.line-section img {
    width: 150px;
    height: 150px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.line-section img:hover {
    transform: scale(1.05);
}



.sidebar-card {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    margin-bottom: 25px;
    padding: 14px;
}

.sidebar-title {
    font-size: 18px;
    font-weight: 700;
    color: #0b5fa5;
    border-left: 4px solid #0289f0;
    padding-left: 10px;
    margin-bottom: 15px;
}

.category-header {
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(90deg, #0289f0, #00b4ff);
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    margin-top: 15px;
}

.product-list,
.menu-list {
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
}

.product-list li,
.menu-list li {
    margin-bottom: 8px;
}

.product-list a,
.menu-list a {
    text-decoration: none;
    color: #333;
    padding: 6px 10px;
    display: block;
    border-radius: 6px;
    transition: 0.3s ease;
}

.product-list a:hover,
.menu-list a:hover {
    background-color: #e6f4ff;
    color: #0289f0;
    transform: translateX(5px);
}
/* ===== หัวข้อตรงแสดง ชื่อบริษัท ===== */

.mb-4{
    text-align:center;
    margin-bottom:60px !important;
}

.company-heading{
    font-size:42px !important;
    font-weight:800 !important;
    margin-bottom:16px !important;
}

.company-desc{
    font-size:16px !important;
    line-height:2 !important;
    max-width:900px;
    margin:0 auto;
}
@media(max-width:768px){
    .company-heading{
        font-size:28px !important;
    }

    .company-desc{
        font-size:16px !important;
    }
}
.product-link{
    text-decoration:none !important;
    color:inherit;
    display:block;
}

.product-link:hover{
    text-decoration:none !important;
}
.product-card{
    cursor:pointer;
}
/* ===== Bigger Product Card ===== */

.product-card{
    border-radius:25px !important;
    box-shadow:0 20px 50px rgba(0,0,0,0.08) !important;
}

.product-card img{
    width:100%;
    height: auto;
    max-height:230px;
    object-fit:cover;
}

.product-card h6{
    font-size:20px !important;
    padding:25px !important;
}
/* ===== Product Button ดูรายละเอียด ===== */

.product-content{
    padding:25px;
    text-align:center;
}

.btn-detail{
    display:inline-block;
    margin-top:15px;
    padding:10px 25px;
    background:linear-gradient(90deg,#0289f0,#00c6ff);
    color:#fff !important;
    border-radius:30px;
    font-weight:500;
    text-decoration:none !important;
    transition:0.3s;
}

.btn-detail:hover{
    background:linear-gradient(90deg,#0d3c91,#0289f0);
    transform:translateY(-3px);
    box-shadow:0 10px 20px rgba(0,0,0,0.15);
}
/* ลดระยะห่างชื่อ กับ ปุ่ม ให้ชิดขึ้น */

.product-content h6{
    margin-bottom:3px !important;   /* เดิม 20-30 ลดลงเหลือ 8 */
}

.btn-detail{
    margin-top:0px !important;      /* เอาช่องว่างบนปุ่มออก */
}
.company-section {
  padding: 16px;
  max-width: 900px;
  margin: auto;
}

/* หัวข้อ */
.company-title {
  font-size: clamp(20px, 5.5vw, 34px);
  font-weight: 700;
  line-height: 1.25;
  color: #1f4f8f;
  margin-bottom: 12px;
}

/* เนื้อหา */
.company-text {
  font-size: clamp(15px, 4vw, 18px);
  line-height: 1.7;
  color: #555;
  margin-bottom: 18px;
}

/* รูป */
.company-image {
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 3px solid #2c66b0;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  display: block;
}
/* ⭐ จัดกลาง */
.btn-center {
    width: 100%;
    margin: 40px 0;
}

/* ⭐ ปุ่มสไตล์ธุรกิจ */
.btn-construction {
    display: block;
    width: fit-content;
    margin: 0 auto;

    padding: 14px 36px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;

    background: linear-gradient(135deg, #1e88e5, #42a5f5);
    border-radius: 8px;

    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
    transition: all 0.25s ease;
}

/* ⭐ Hover */
.btn-construction:hover {
    background: linear-gradient(135deg, #1565c0, #1e88e5);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.25);
}
/* ⭐ ปุ่มดูรายละเอียด */
.btn-detail {
    display: inline-block;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;

    background: linear-gradient(135deg, #1e88e5, #42a5f5);
    border-radius: 6px;

    box-shadow: 0 3px 8px rgba(0,0,0,0.18);
    transition: all 0.25s ease;
}

/* ⭐ Hover */
.btn-detail:hover {
    background: linear-gradient(135deg, #1565c0, #1e88e5);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}
@media (max-width:768px){

    .btn-detail{
        display:block;
        width:100%;
        padding:14px 0;
        font-size:15px;
    }

}
/* ปุ่ม toggle ซ่อนบนคอม */
.toggle-btn {
    display: none;
    width: 100%;
    padding: 12px;
    background: #0d6efd;
    color: #fff;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

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

    /* แสดงปุ่ม */
    .toggle-btn {
        display: block;
    }

    /* ซ่อนเนื้อหาเริ่มต้น */
    .toggle-content {
        display: none;
    }

    /* ตอนเปิด */
    .toggle-content.active {
        display: block;
    }
}
.video-wrapper{
    position:relative;
    padding-bottom:56.25%; /* 16:9 */
    height:0;
    overflow:hidden;
    border-radius:16px;
    box-shadow:0 10px 30px rgba(0,0,0,0.15);
}

.video-wrapper iframe{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}
*{
    box-sizing:border-box;
}

img{
    max-width:100%;
    height:auto;
}

  /* ฟอนต์หลัก */
  .caption-main {
    font-size: 48px;
    font-weight: 700;
  }
  .caption-sub {
    font-size: 36px;
  }

  /* สีข้อความ */
  .text-white { color: #ffffff; }
  .text-yellow { color: #f4e400ff; }

  /* Responsive */
  @media(max-width:1024px){
    .caption-main { font-size: 36px; }
    .caption-sub { font-size: 24px; }
  }
  @media(max-width:768px){
    .caption-main { font-size: 28px; }
    .caption-sub { font-size: 20px; }
  }






.section-title{
    font-weight:700;
    font-size:22px;
    margin-bottom:25px;
    position:relative;
    padding-bottom:10px;
    color:#0d3c91;
}
.section-title:after{
    content:"";
    width:60px;
    height:3px;
    background:#0d6efd;
    position:absolute;
    left:0;
    bottom:0;
}

.about-image{
    border-radius:12px;
    box-shadow:0 10px 25px rgba(0,0,0,0.15);
}

.product-card{
    border:none;
    border-radius:12px;
    overflow:hidden;
    transition:0.3s;
    box-shadow:0 5px 15px rgba(0,0,0,0.08);
    margin-bottom:20px;
}
.product-card:hover{
    transform:translateY(-5px);
    box-shadow:0 15px 30px rgba(0,0,0,0.2);
}
.product-card img{
    height:200px;
    object-fit:cover;
}
.product-card h6{
    font-weight:600;
    padding:15px;
    text-align:center;
}

.company-heading{
    font-size:28px;
    font-weight:700;
    color:#0d3c91;
    margin-bottom:15px;
}
.company-desc{
    color:#555;
    line-height:1.8;
}


