@import url('https://fonts.googleapis.com/css2?family=Prompt:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Thai+Looped:wght@100;200;300;400;500;600;700&display=swap');

body{font-family: 'Poppins', 'Prompt', 'IBM Plex Sans Thai Looped', sans-serif; font-size: 16px;}

.ibm-font, .ibm-font p{font-family: 'IBM Plex Sans Thai Looped', 'Prompt', sans-serif;}
.prompt-font{font-family: 'Prompt', sans-serif;}
.logo-ft{ background-color: white; border-radius: 8px; padding: 5px; width: 200px;}

.home:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 99.9%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}
.home-text{
    display: table-cell;
    vertical-align: middle;
    justify-content: center;
    align-items: center;
    position: relative;
    flex-direction: column;
}

p.textshow {
    color: #f5841f;
    font-size: 18px;
    font-weight: 600;
}
p.text1{ color: #333; font-family: 'IBM Plex Sans Thai Looped', 'Prompt', sans-serif;}
.diagonal.home-left {
    position: absolute;
    bottom: 0;
    left: 0;
    background: none;
    z-index: 1;
}
.diagonal.home-left, .diagonal.home-right path {
    fill: #f5f5f5;
    stroke: #f5f5f5;
    stroke-width: 4;
}
.diagonal.home-right {
    position: absolute;
    bottom: 0;
    right: 0 !important;
    background: none;
    z-index: 1;
    left: auto;
}
@media screen and (max-width: 767px){
.diagonal, .diagonal-gray, .diagonal-white { height: 70px;}
.diagonal, .diagonal-gray, .diagonal-white {height: 70px;}
}

.diagonal-gray {
    position: relative;
    left: 0;
    bottom: 0;
    pointer-events: none;
    background: #fff;
    float: left;
    z-index: 1;
    margin-top: 0px;
}
.diagonal-gray path {
    fill: #f5f5f5;
}
.diagonal-white {
    background: #f5f5f5;
    margin-bottom: -6px;
    margin-top: 60px;
}
.diagonal-white path {
    fill: #fff;
    stroke: #f5f5f5;
    stroke-width: 0;
}
.dgray2-bg { background-color: #e8e8e8;}

.social{position: relative; z-index: 2; }
.social a i{ color: #FFF; background-color: black; line-height: 26px; width: 26px; height: 26px; border-radius: 4px;}
.social a i:hover{color: #dfdede;}

.home-down {
    color: #fff;
    font-size: 40px;
    padding-top: 40px;
    padding-left: 20px;
    display: inline-block;
    transition: all 0.3s ease;
}
.bounce {
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    border-radius: 50%;
    animation: bounce 2s infinite;
    -webkit-animation: bounce 2s infinite;
    -moz-animation: bounce 2s infinite;
    -o-animation: bounce 2s infinite;
}
.home-down:hover{color: #dfdede;}
.dgray-bg { background: #f5f5f5; padding-top: 5rem;}
.about-image img { width: 100%; box-shadow: 0px 0px 85px 0px rgba(0, 0, 0, 0.14); margin-top: -10%; margin-left: calc(20% - 15px);}
.about-image {background: #e8e8e8; padding-bottom: 70px;}
.top-0 { margin-top: 0px;}
.top-20 {margin-top: -20px;}
.bg-search{ background: transparent; margin-top: -45px; position: relative;z-index: 1; }

@media screen and (max-width: 991px){
.about-image img {  margin: 0;}
.about-image {background: none; }
.dgray-bg{  padding-top: 2rem;}
.bg-navbar {  background-color: rgb(0 0 0 / 10%) !important;}

.BarMenu{ height: none;   background-color:none; color: none ; position: none;  top:none;  width: none;   }
.BarMenu .nav-link.active {  color:none;}
.BarMenuWhite {  height: none;  background-color:none; color: none ; position: none;  top:none;   width: none;    }

}

/*** Navbar ***/
.bgcanvas-dark{ background-color: rgb(0 0 0 / 80%); color: #FFF;}

.text-task { font-size: 16px;  letter-spacing: 1px;  margin-bottom: 8px; color: #000; font-weight: 600;}
.title-project {  font-size: 2rem; font-weight: 400;}
.title-stack {  font-size: 1.5rem; font-weight: 400;}

.footer p { font-size: 14px; color: #757575; line-height: 27px;  padding-top: 10px;}

/*** Change color Navbar ***/
.BarMenu{ height: auto;   background-color: rgba(0,0,0,0); color: #FFF ; /*position: fixed;*/  top:0px;  width: 100%;  }
.BarMenu .nav-link{color: #FFF ;}
.BarMenu .nav-link.active {  color:#f5841f;}
.BarMenuWhite {  height: 80px;  background-color:rgba(255,255,255,0.8); color: #000 ; position: fixed;  width: 100%;    }
.BarMenuWhite .nav-link{color: #000 ;}
.BarMenuWhite .nav-link.active {  color:#f5841f;}

@media screen and (max-width: 991px){
    .BarMenuWhite .nav-link{color: #FFF ;}
}

.list-1 ul{padding: 0; margin: 0; font-family: 'IBM Plex Sans Thai Looped', 'Prompt', sans-serif;}
.list-1 ul li{ padding-left: 10px; margin-left: 20px; list-style-type: circle; color: #333;}

.contact-info ul {list-style: none; margin: 0; padding: 0;}
.contact-info li {padding-left: 10px;}

.contact2-info ul {list-style: none; margin: 0; padding: 0;}
.contact2-info li {padding-left: 10px; line-height: 30px;}

/*** PAGE ***/
.page {min-height: 300px;}
.home-text{z-index:1;}
.fixedtop {  position: fixed; top: 0; right: 0; left: 0; z-index:2;}
.logo2-ft{ background-color: white; border-radius: 8px; padding: 5px; width: 200px; position: relative; top:-80px; z-index:3;}
.shadow2 { box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;}
.navbar-toggler{background-color: rgba(0, 0, 0, 0.3);}
@media screen and (max-width: 668px){
    .fixedtop{z-index:4;}
}
@media (max-width: 991.98px) {
    .shadow2 {box-shadow: 0 .5rem 1rem rgba(0,0,0,0)!important; }
}
@media screen and (max-width: 766px){
    .bg-search{background-color: #f5f5f5; margin-top: -1px !important; margin: 0;}
    .card-aside-column{flex: 0 0 auto; width: 100%; }
}
@media (min-width: 576px) and (max-width:  765px) {
    .container-bg-search{background-color: #f5f5f5; margin-top: 0; margin: 0; max-width:100% !important}
}

.bg-page { background: #f5f5f5; padding-top: 30px;}

/*** breadcrumb ***/
.breadcrumb li{font-size: 0.8em;}
.card-aside-column { min-width: 200px;  flex: 0 0 20%; margin-left: 10px;  margin-right: 20px; margin-bottom: 10px;}

.dec-legend{ font-size: 16px;}
.core-box { text-align: center; background-color: white; padding: 20px 5px; /*box-shadow: 0 0 4px rgba(0, 0, 0, 0.07);*/
  border-radius: 4px; margin: 10px;}
.core-box img{ height: 50px; width: auto; }
.text-small{font-size: 0.8em;}
.legend2{font-size: 1.1rem; color: #63b1f5; font-weight: 600;}
.border2{border: 1px solid #c4dbef;}

@media screen and (max-width: 575px){
    .core-box {margin-right: 0px !important;margin-left: 0px !important;}
}

@media (max-width: 599px) {
    
 }
/*** Medium devices (tablets, 768px and up) ***/
@media (min-width: 768px) {
    /*.home {min-height: 608px;}*/ 
    .display-text-pro{font-size: 4rem;}
}
@media (min-width: 992px) { 
    .home-down.bounce {  float: left;  padding: 50px 74px 0px;}
 }

/***  Small devices (landscape phones, less than 768px) ***/
@media (max-width: 767.98px) {
    /*.home {min-height: 646px;}  */
  
}
@media (min-width: 845px) and (max-width: 991.98px) { 
    .display-text-pro{font-size: 2.9rem;}
 }
@media (min-width: 309px) and (max-width: 844px) { 
    .display-text-pro{font-size: 2rem; padding-top: 10px !important; margin-bottom: 0px !important;}
    .typed-text-output{font-size: 20px !important;}
    .typed-cursor{font-size: 20px !important;}
 }
@media (min-width: 653px) and (max-width: 653px) { 
    .social{margin-top: -50px !important;}
    .home-down.bounce{padding: -25px 74px 0px !important;}
    .typed-cursor{font-size: 20px !important;}
}
@media (min-width: 812px) and (max-width: 844px) { 
    .typed-cursor{font-size: 20px !important;}
   
}
.navbar{padding-top:0.1rem; padding-bottom:0.1rem;}

.intro-display{font-size: 1.5rem; font-weight: 300;}
.price { font-size: 1.5rem; font-weight: bold;  color: #228ff6;}
.price2 {color: #808080;font-size: 1rem; }
.description ul {  list-style-type: none;  padding-left: 0;}
.description li { margin-bottom: 10px; padding-left: 20px; background: url('../images/bullet.svg') no-repeat left center; background-size: 10px 10px; }
.product-title { font-size: 1.8rem; font-weight: 600; color: #333;}
.font-ibm { font-family: 'IBM Plex Sans Thai Looped', 'Prompt', sans-serif;}
/* UXUI */
.gradient-text {
    background: linear-gradient(90deg, #0077B5 0%, #00A3E0 100%); /* เปลี่ยนเป็นโทนสีน้ำเงิน-ฟ้า */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header-divider {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #0077B5 0%, #00A3E0 100%); /* เปลี่ยนเป็นโทนสีน้ำเงิน-ฟ้า */
    border-radius: 2px;
}

.section-icon-wrapper {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #0077B5 0%, #00A3E0 100%); /* เปลี่ยนเป็นโทนสีน้ำเงิน-ฟ้า */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.section-divider {
    height: 2px;
    background: linear-gradient(90deg, rgba(0, 119, 181, 0.1) 0%, rgba(0, 163, 224, 0.5) 50%, rgba(0, 119, 181, 0.1) 100%);
    margin-top: 1rem;
}

.trend-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trend-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.trend-number {
    width: 36px;
    height: 36px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 12px;
    font-size: 1rem;
}

.example-box {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 12px;
    margin-top: 16px;
}

.example-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    color: #555;
    font-size: 0.9rem;
}

.feature-list {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.image-comparison {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.image-with-caption {
    flex: 1;
    min-width: 200px;
}

.image-caption {
    font-size: 0.8rem;
    text-align: center;
    margin-top: 6px;
    color: #666;
}

/* Color Variants - Trend Cards with Pastel Shades */
.trend-card-blue {
    background: linear-gradient(135deg, #E9F3FB 0%, #EDF7FD 100%); /* ฟ้าพาสเทลอ่อนสุดๆ */
    box-shadow: 0 4px 6px rgba(237, 247, 253, 0.1);
}

.trend-card-pink {
    background: linear-gradient(135deg, #fff0f0 0%, #f4dede 100%); /* ชมพูพาสเทลอ่อนสุดๆ */
    box-shadow: 0 4px 6px rgba(249, 217, 217, 0.1);
}

.trend-card-green {
    background: linear-gradient(135deg, #E4F2E4 0%, #E8F5E8 100%); /* เขียวพาสเทลอ่อนสุดๆ */
    box-shadow: 0 4px 6px rgba(232, 245, 232, 0.1);
}

.trend-card-purple {
    background: linear-gradient(135deg, #f1e8f9 0%, #f6e7fc 100%); /* ม่วงพาสเทลอ่อนสุดๆ */
    box-shadow: 0 4px 6px rgba(240, 215, 249, 0.1);
}

.trend-card-yellow {
    background: linear-gradient(135deg, #faf7eb 0%, #f9f1dc 100%); /* เหลืองพาสเทลอ่อนสุดๆ */
    box-shadow: 0 4px 6px rgba(249, 226, 161, 0.1);
}

.trend-card-peach {
    background: linear-gradient(135deg, #fcf7f1 0%, #fce3d3 100%); /* พีชพาสเทลอ่อนสุดๆ */
    box-shadow: 0 4px 6px rgba(249, 199, 169, 0.1);
}

.trend-card-lavender {
    background: linear-gradient(135deg, #f6f1fa 0%, #f6e7f9 100%); /* ลาเวนเดอร์พาสเทลอ่อนสุดๆ */
    box-shadow: 0 4px 6px rgba(240, 201, 246, 0.1);
}

.trend-card-mint {
    background: linear-gradient(135deg, #ebf3f1 0%, #d0e7e2 100%); /* มินต์พาสเทลอ่อนสุดๆ */
    box-shadow: 0 4px 6px rgba(212, 241, 236, 0.1);
}

.trend-card-cyan {
    background: linear-gradient(135deg, #e9eff3 0%, #d5e6ea 100%); /* ซีเอ็นพาสเทลอ่อนสุดๆ */
    box-shadow: 0 4px 6px rgba(212, 245, 252, 0.1);
}

/* lightbox */
/* lightbox */
.lb-image {
    max-width: 100% !important;
    max-height: none !important;
    width: auto !important;
    height: auto !important;
    display: block;
    margin: 0 auto !important; /* จัดรูปให้อยู่กึ่งกลางแนวนอน */
}

.lb-outerContainer {
    width: 80% !important;
    max-width: none !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    margin: 0 auto !important; /* จัด container ให้อยู่กึ่งกลางหน้าจอ */
}

.lb-container {
    width: 100% !important;
    max-width: none !important;
    padding: 20px 0 !important;
}

.icon-border {
    color: white; /* ไอคอนสีขาว */
    border: 2px solid black; /* เส้นขอบสีดำ */
    padding: 10px; /* เพิ่มพื้นที่รอบๆ ไอคอน เพื่อให้เส้นขอบไม่ติดกับไอคอน */
    border-radius: 50%; /* ทำให้ขอบไอคอนกลม (ถ้าอยากให้เป็นสี่เหลี่ยมสามารถลบออกได้) */
}

.tech-wrapper {  background-color: #f5f5f5; box-shadow: 0 0 20px rgba(0, 0, 0, 0.1); border-radius: 4px; max-width: 1160px; width: 100%; text-align: center; border: 1px solid #dee2e6; }
.tech-box { border: 1px solid #dee2e6; padding: 20px 10px; transition: box-shadow 0.2s ease; }
.tech-box:hover { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); }
.tech-icon { width: 50px;  height: 50px;  transition: transform 0.2s ease;}
.tech-icon:hover { transform: scale(1.15); }
.icon-label { font-size: 0.85rem; margin-top: 6px; color: #212529;}



