/* ===================================
    Crafto - Logistics 
====================================== */
/* font */
@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@400;500;600;700;800&display=swap');
/* variable */
:root {      
    --alt-font: "Prompt", sans-serif;
    --primary-font: "Prompt", sans-serif;
    --base-color: #ffc700;
    --dark-gray: #141414;
    --medium-gray: #707070;
    --aluminium-grey: rgba(255, 255, 255, 0.4);
}
/* reset */
body{
    font-size: 18px;
    line-height: 30px;
}
a:hover{
    color: var(--dark-gray);
}
/* header */
.navbar .navbar-nav .nav-link {
    font-size: 18px;
    font-weight: 600;
}
.navbar .navbar-nav .dropdown.open .dropdown-menu {
    background-color: var(--dark-gray);
}
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a {
    font-size: 17px;
    font-weight: 500;
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
header .navbar-brand img {
    max-height: 50px;
}
.header-top-bar div>a {
    color: var(--light-gray);
}
.header-top-bar div>a:hover {
    color: var(--white);
}
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a i {
    font-size: 30px;
}
.navbar .navbar-nav .dropdown .dropdown-menu a i {
    width: 35px;
}
header .btn.btn-box-shadow.btn-base-color,
.btn.btn-base-color {
    color: var(--dark-gray);
}
header .btn.btn-box-shadow.btn-base-color:hover,
.btn.btn-box-shadow.btn-base-color:hover {
    color: var(--dark-gray);
}
header .btn.btn-small {
    font-size: 15px; 
    padding: 10px 18px;
}
/* btn */
.btn.btn-hover-animation-switch.btn-link {
    padding-top: 0;
}
.btn { 
    text-transform: inherit;
    font-weight: 600;
    letter-spacing: 0;
}
.btn.btn-extra-large {
    font-size: 18px;
    padding: 16px 32px;
}
.btn.btn-large {
    font-size: 17px;
    padding: 14px 28px;
}
.btn.btn-medium {
    font-size: 16px; 
    padding: 12px 24px;
}
.btn.btn-small {
    font-size: 15px;
}
.btn.btn-very-small {
    font-size: 14px; 
    padding: 9px 20px;
}

/* counter style */
.counter-style-04 .vertical-counter:after {
    color: var(--base-color);
}
.review-star-icon i {
    color: var(--base-color);
}

/* footer style */
footer ul li {
    margin-bottom: 1px;
}
footer p {
    line-height: 28px;
}
/* page title */
.page-title-double-large h1 {
    font-size: 4.375rem;
    line-height: 4.688rem;
}
.page-title-double-large h2 {
    font-size: 16px;
    line-height: 28px;
}

/* top bottom left right class */
.right-12 {
    right: 12%;
}

.bg-jungle-green {
    background-color: #2ebb79;
}
/* Outside box */
.outside-box-top-205px {
    margin-top: -205px;
}
/* Transparent background color */
.bg-gradient-gray-light-dark-transparent {
    background-image: linear-gradient(to top, #f7f7f7 0%, transparent 100%);
}
@media (max-width: 1399px) {
    .xl-h-180px {
        height: 180px;
    }
    .xl-w-180px {
        width: 180px;
    }
}
@media (max-width: 1199px) {
    .outside-box-top-200px {
        margin-top: -150px;
    }
}
@media (max-width: 991px) {
    .outside-box-top-200px {
        margin-top: 0;
    }
    .navbar .navbar-nav .dropdown.open .dropdown-menu {
        padding-bottom: 15px;
    }

    .dropdown-menu[data-bs-popper] {
        top: 100%;
        left: unset;
        right: 0px;
        margin-top: var(--bs-dropdown-spacer);
    }
}


.header-navbar-rht {
    margin: 0;
	margin-left: 0;
	padding: 0;
}
.header-navbar-rht >  li {
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	display: -webkit-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
    padding-right: 20px;
	justify-content: center;
	-webkit-justify-content: center;
	-ms-flex-pack: center;
	position: relative;
}
.header-navbar-rht li:last-child {
	padding-right:0px;
}
.header-navbar-rht > li > a {
	font-size: 16px;
	font-weight: 500;
	color: #26292c;
}
.header-navbar-rht li .dropdown-menu {
	border: 0;
	box-shadow: 0px 0px 28px 15px rgba(0, 0, 0, 0.06);
	border-radius: 10px;
}
.header-navbar-rht .dropdown-toggle.show + .dropdown-menu {
	visibility: visible;
	opacity: 1;
	margin-top: 0;
	-webkit-transform: translateY(0);
	-ms-transform: translateY(0);
	transform: translateY(0);
}
.header-navbar-rht li .dropdown-menu {
	visibility: hidden;
	opacity: 0;
	-webkit-transition: all .2s ease;
	transition: all .2s ease;
	display: block;
	-webkit-transform: translateY(20px);
	-ms-transform: translateY(20px);
	transform: translateY(20px);
}
.header-navbar-rht .dropdown-toggle::after {
	display: none;
}
.header-navbar-rht li .dropdown-menu .dropdown-item {
	border-top: 1px solid transparent;
	padding: 10px 15px;
}
.header-navbar-rht li .dropdown-menu .dropdown-item:first-child {
	border-top: 0;
	border-radius: 5px 5px 0 0;
}
.header-navbar-rht li .dropdown-menu .dropdown-item:last-child {
	border-radius: 0 0 5px 5px;
}

.img-skillsoft {
    width: 300px;
    padding-right: 50px;
}

@media (min-width: 768px) {
    .nav-mobile {
        display: none;
    }
}



.topcategory-sec {
    padding: 60px 0px 60px;
    /* background: #fcbc2a; */
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
}
.topcategory-sec .categories-item {
    border: 1px solid #E0EBFF;
	/* box-shadow: 0px 4px 34px #E0EBFF; */
    padding: 30px;
	margin-bottom: 24px;
    border-radius: 10px;
    -webkit-transition: 0.7s;
    -moz-transition: 0.7s;
    -o-transition: 0.7s;
    transition: 0.7s;
}
.topcategory-sec .categories-item p {
    margin-bottom: 0;
    -webkit-transition: 0.7s;
    -moz-transition: 0.7s;
    -o-transition: 0.7s;
    transition: 0.7s;
}
.topcategory-sec .categories-content h3 {
    font-weight: 700;
    font-size: 20px;
    color: #392C7D;
    margin-top: 0;
    -webkit-transition: 0.7s;
    -moz-transition: 0.7s;
    -o-transition: 0.7s;
    transition: 0.7s;
}
.topcategory-sec .categories-icon {
    margin-bottom: 20px;
}
.topcategory-sec .categories-icon {
    margin-bottom: 20px;
}
.categories-icon img {
    width: 80px;
}
.swiper-slide {
    display: flex;
    align-items: stretch;
}

.services-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 100%;
    border-radius: 20px;
}

.categories-item {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.categories-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* bg color */
.bg-cabaret-red {
    background-color: #d94f6f;
}
.bg-ghost-white{
    background-color: #F4F6FF;
}
.bg-cosmic-latte-white{
    background-color: #F2FBF9;
}
.bg-chablis-red{
    background-color: #FEF3F5;
}
.bg-lavender-violet{
    background-color: #F5EDFC;
}
.bg-clear-green {
    background-color: #E9F6F5;
}
.bg-linen-white {
    background-color: #FBF3EE;
}
.bg-lavender-violet-light {
    background-color: #ECF7FC;
}
.bg-midnight-blue {
    background-color: #242e45;
}
.bg-gradient-flamingo-amethyst-green {
    background-image: linear-gradient(to right, #E3545C, #c84d9d, #885dd1, #2f86bc, #01a89e);
}
.bg-gradient-very-light-gray {
    background-image: linear-gradient(to bottom, #f9eaec, #f9eaec, #faf5f9, #fcfafc, #ffffff);
}
.bg-gradient-very-ghost-white {
    background-image: linear-gradient(to bottom, #f4f6ff, #f7f8ff, #fafaff, #fdfdff, #ffffff);
}

.feature-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 100%;
    border-radius: 15px; /* ปรับให้กล่องโค้งมน */
}

@media (max-width: 768px) { /* สำหรับมือถือ */
    .banner-main {
        background-position: center top; /* ปรับตำแหน่งภาพให้เหมาะกับจอเล็ก */
    }
    h1, .h1 {
        font-size: 3.375rem;
        line-height: 4.375rem;
    }
    .last-paragraph-no-margin {
        display: block;  /* บังคับให้ขึ้นบรรทัดใหม่ */
        text-align: left; /* จัดกึ่งกลางข้อความ */
    }

    .img-skillsoft {
        display: block;
        margin: 0 auto 20px; /* จัดให้อยู่ตรงกลางและเพิ่มระยะห่าง */
        padding-right: 0px;
        padding-top: 30px;
    }

    .skillsoft{
        flex-direction: column; /* เปลี่ยนการจัดเรียงเป็นแนวตั้ง */
        align-items: center; /* จัดให้อยู่กึ่งกลาง */
        text-align: center; /* จัดเนื้อหาให้อยู่ตรงกลาง */
    }
}

@media (min-width: 769px) and (max-width: 1024px) { /* สำหรับแท็บเล็ต */
    .banner-main {
        background-position: center center;
        height: 450px!important;
    }
    h1, .h1 {
        font-size: 3.375rem;
        line-height: 4.375rem;
    }
    .slider-navigation-style-06 {
        left: 30px;
    }
    .slider-navigation-style-06.swiper-button-next {
        right: 30px;
    }
}

@media (min-width: 1025px) { /* สำหรับโน้ตบุ๊กและพีซี */
    .banner-main {
        background-position: center center;
    }
}

.btn-danger {
    --bs-btn-hover-color: #dc3545;
}