@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@100..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Sukhumvit Set", "Noto Sans Thai", "Sarabun", sans-serif;
}

h1 {
    font-size: 50px;
    line-height: 64px;
    color: #222;
    font-family: "Sukhumvit Set", "Noto Sans Thai", "Sarabun", sans-serif;
}

h2 {
    font-size: 46px;
    line-height: 54px;
    color: #222;
    font-family: "Sukhumvit Set", "Noto Sans Thai", "Sarabun", sans-serif;
}

h3 {
    font-size: 32px;
    color: #222;
    font-family: "Sukhumvit Set", "Noto Sans Thai", "Sarabun", sans-serif;
}

h4 {
    font-size: 28px;
    color: #222;
    font-weight: 300;
    transition: 0.5s ease;
    font-family: "Sukhumvit Set", "Noto Sans Thai", "Sarabun", sans-serif;
}

h5 {
    font-size: 24px;
    color: white;
    font-weight: 300;
    transition: 0.5s ease;
    font-family: "Sukhumvit Set", "Noto Sans Thai", "Sarabun", sans-serif;
}

h6 {
    font-weight: 700;
    font-size: 12px;
    font-family: "Sukhumvit Set", "Noto Sans Thai", "Sarabun", sans-serif;
}

p {
    font-size: 20px;
    color: #808080;
    margin: 15px 0 20px 0;
    font-family: "Sukhumvit Set", "Noto Sans Thai", "Sarabun", sans-serif;
}

.section-p1 {
    /* padding: 80px min(5vw, 8%); */
    padding: 80px clamp(8%, 5vw, 25vw);
    /* padding: min(25vw, max(5vw, 8%));; */
}

.section-p2 {
    padding: 0px 40px;
}

.logo {
    width: 140px; /* Adjust to desired width */
    height: auto; /* Maintain aspect ratio */
}

.icon {
    width: 75px; /* Adjust to desired width */
    height: auto; /* Maintain aspect ratio */
}

.btn {
    display: inline-block;
    background-color: #7c10ff;
    /* background: linear-gradient(to right, #ab10ff, #7c10ff); */
    color: #ffffff;
    padding: 12px;
    border-radius: 999px;
    border-style: solid;
    border-color: #7c10ff;
    text-decoration: none;
    font-size: 16px;
    transition: background 0.3s;
    /* margin-right: 14px; */
    margin: 20px 12px;
    /* width: auto; */
    width: 180px;
    text-align: center;
    align-self: flex-start; /* ✅ Optional: prevents flex stretch */
    border-width: 2px;
}

.btn:hover {
    background-color: #4a00b0;
    color: white;
    /* background: linear-gradient(to right, #8f0dd5, #5c0cbd); */
}

.btn-trans-white {
    background-color: transparent;
    border-color: white;
    border-style: solid;
    color: white;
}

.btn-trans-white:hover,
.btn-trans-ci:hover {
    background-color: white;
    color: #7c10ff;
}

.btn-trans-ci {
    background-color: transparent;
    border-color: #7c10ff;;
    border-style: solid;
    color: #7c10ff;;
}

.glassmorphic-card {
    background: linear-gradient(
  135deg,
  rgba(255, 255, 255, 0.05),
  rgba(255, 255, 255, 0)
);

    border-radius: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2); /* Soft shadow */
    backdrop-filter: blur(20px); /* Frosted effect */
    -webkit-backdrop-filter: blur(20px); /* Safari support */
    border: 1px solid rgba(255, 255, 255, 0.18); /* Light border for contrast */
    padding: 24px 30px;
    color: white;
}

.shadow-text {
    text-shadow: 0 1px 3px rgba(0,0,0,0.25);
}

.secondary-bg-color {
    background-color: rgb(244, 244, 244);
}

/* Header Start */



#hero {
    display: flex;
    justify-content: left;
    align-items: center;

    margin-top: -80px;
    padding-top: 80px;
    height: 100vh;
    height: 100dvh;
    width: 100%;
    background-size: cover;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 1) 30%, transparent 70%), var(--hero-img);
    /* background-position: top 25% right 0; */
}

#hero h2,
#hero h3,
#hero h4 {
    color: white;
}

#description {
    background-color: black;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top 50% right 0;
    text-shadow: 0 1px 3px rgba(0,0,0,0.25);
    padding-bottom: 0px;
}

.desc-container {
    /* max-width: 750px; */
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.desc-container h3,
.desc-container h4 {
    color: white;
}

.desc-container p {
    color: #e0e0e0;
}

#description .desc-column {
    flex: 1;
}

#description .icon-container {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    flex-wrap: wrap;
    padding: 0 80px 0 80px;
    gap: 20px;
}

#description .icon-item {
    justify-content: center;
    align-items: center;
    text-align: center;
}


#statistics {
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.1) 100%), url(img/storage_1.jpeg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top 50% right 0;
    text-shadow: 0 1px 3px rgba(0,0,0,0.25);
    padding-top: 200px;
    padding-bottom: 200px;
}



.stat {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
}

.stat-box {
    padding: 20px;
    /* flex: 1; */
    align-items: flex-start;
}

.stat-box h2,
.stat-box h3,
.stat-box h4,
.stat-box h5 {
    color: white;
}

/* .ci-gradient-text {
    background: linear-gradient(to right, #b22cff, #6f00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
} */

.ci-gradient-text {
    background: linear-gradient(to right, #bf10ff, #7c10ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.ci-gradient-bg {
    background-color: #7c10ff;
}

#services {
    padding-bottom: 0px;
}

.topic {
    display: flex;
    direction: row;
    justify-content: left;
    align-items: center;
    flex-wrap: wrap;
}

.topic .btn {
    margin-left: 40px;
    align-self: center;
    justify-self: right;
}

.topic .logo {
    margin-right: 10px;
}

#feature {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2.5%;
}

#feature .feature-box {
    flex: 1; /* equal width for all flex boxes */
    padding: 25px;
    margin: 10px 0;
    border-radius: 40px;
    transition: 0.5s ease;
    height: 500px;
    width: auto;
    max-width: min(25%, 350px);
    min-width: 250px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 15%, transparent 50%), var(--img);

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

#feature .feature-box:hover {
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5);
}

#feature .feature-box:hover h4, 
#feature .feature-box:hover h5 {
    color: aquamarine;
}

#feature .feature-box h5::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #892fff; /* Customize dot color */
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
  }

#feature .feature-box h4 {
    color: white;
}

#feature .feature-box .btn {
    align-self: center;
    margin-top: auto;
    margin-bottom: 0;
}

#ship #feature {
    justify-content: left;
    gap: 20px;
}

.ship-container h3 {
    padding-left: 20px;
}

.ship-img-grid {
    display: grid;
    grid-template-columns: repeat(4, 100px);
    grid-template-rows: repeat(2, 100px);
    gap: 20px;
    padding: 20px;
    justify-content: left;
    align-items: center;
}

.ship-img-grid img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 20%;
    transition: 0.5s ease;
}

.ship-img-grid img:hover {
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5);
}

.platform-img-grid {
    display: grid;
    grid-template-columns: repeat(6, 80px);
    /* grid-template-columns: repeat(auto-fit, minmax(50px, 1fr)); */
    grid-template-rows: repeat(1, 80px);
    gap: 10px;
    padding: 20px 0;
    justify-content: left;
    align-items: center;
}



.platform-img-grid img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 20%;
    transition: 0.5s ease;
}

.platform-img-grid img:hover {
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5);
}


.ms-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    /* padding-top: 40px; */
}

.ms-column {
    flex: 1;
}

.ms-column img {
    width: 100%;
    height: auto;
    /* max-width: 100%; */
}

#oms h2,
#oms h3,
#oms ul {
    color: white;
}

#oms ul,
#wms ul {
    font-size: 22px;
    padding-left: 20px;
}

#wms h2,
#wms h3 {
    text-align: left;
    justify-content: flex-start;
}

#wms {
    padding-top: 0px;
    padding-bottom: 0px;
}

#wms .ms-column:last-child {
    display: flex;
    align-items: flex-end;  
}


/* #customer-wins {
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.25) 100%), url(img/storage_1.jpeg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top 50% right 0;
    text-shadow: 0 1px 3px rgba(0,0,0,0.25);
    padding-top: 150px;
    padding-bottom: 150px;
}

#customer-wins .topic {
    padding-bottom: 40px;
}

#customer-wins .topic h2 {
    color: white;
}

.wins-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
    text-align: center;
}

.wins-box {
    padding: 20px;
    flex: 1;
    align-items: flex-start;
    min-width: 250px;
}

.wins-box h3 {
    color: white;
}

.wins-box p {
    color: #e0e0e0;
} */


#customer-wins .topic {
    padding-bottom: 40px;
}


.wins-container {
    display: flex;
    justify-content: center;
    /* align-items: flex-start; */
    flex-wrap: wrap;
    text-align: center;
    gap: 40px;
}

.wins-box {
    padding: 20px;
    flex: 1;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    
    justify-content: center;
    /* width: 35%; */
    /* height: 2; */

    border-radius: 40px;
    /* box-shadow: 0px 0px 25px  #7c10ff;
    background-image: linear-gradient(to bottom right, #b172ff 20%, #7c10ff 100%); */
}

.wins-box h3 {
    color: white;
}

.wins-box p {
    color: white;
}

.wins-container .wins-box:nth-child(1) {
    box-shadow: 10px 10px 15px  #ff91b2;
    background-image: linear-gradient(to bottom right, #ff709b 0%, black 100%);
}

.wins-container .wins-box:nth-child(2) {
    box-shadow: 10px 10px 15px  #9bff9e;
    background-image: linear-gradient(to bottom right, #76ff7a 0%, #14c51a 100%);
}

.wins-container .wins-box:nth-child(3) {
    box-shadow: 10px 10px 15px  #91e6fb;
    background-image: linear-gradient(to bottom right, #5bd2ef 0%, #2880ed 100%);
}

.wins-container .wins-box:nth-child(4) {
    box-shadow: 10px 10px 15px  #d995f8;
    background-image: linear-gradient(to bottom right, #c260f0 0%, #852af1 100%);
}


#warehouse {
    display: flex;
    flex-wrap: wrap;
    /* height: 75dvh; */
    width: 100%;
    align-items: center;

    background-size: cover;
    /* background-image: linear-gradient(to left, rgb(255, 255, 255, .75) 20%, rgb(255, 255, 255, .25) 100%), url(img/warehouse/wh2_aerial.JPG); */
    background-position: center;
}

.half-column {
    /* width: 50%; */
    flex: 1;
    min-width: 250px;
    align-items: center;
}

.half-column img {
    object-fit: cover;
    width: 90%;
    height: auto;
    border-radius: 40px;
    /* padding: 0 40px; */
}


#warehouse p {
    color: #808080;
}


.cs-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.cs-column {
    flex: 1;
    min-width: 250px;
}

.cs-img-container img {
    height: 500px;
    width: auto;
}


.cs-item-container {
    display: flex;
    /* flex-wrap: wrap; */
    padding-top: 25px;
}

.cs-item-container h4 {
    font-size: 24px;
    font-weight: 600;
}

.cs-item-container h4 span {
    font-weight: 800;
    color: #892fff;
}

.cs-item-container p {
    font-size: 20;
    color: #808080;
    margin-top: 0;
}

.cs-item-container a {
    font-size: 20;
}

.cs-item {
    /* display: flex; */
    /* flex-direction: row; */
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.cs-item img {
    object-position: center;
    margin: 10px;
}

.cs-img-container {
    margin: 5%;
    /* background-color: #26263a; */
}

.cs-img-container img {
    object-fit: cover;
    border-radius: 40px;
    width: 100%;
    /* background-color: white; */
}


#summary img {
    height: 75dvh;
    width: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#summary h2 {
    padding-bottom: 20px;
    text-align: center;
}

#how-to-start h2 {
    padding-bottom: 20px;
    text-align: center;
}

.how-to-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.how-to-box {
    flex: 1;
    min-width: 250px;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

#customers {
    padding: 0px 0 80px 0;
}

#customers h2 {
    padding:40px;
    text-align: center;
}

.carousel-container {
    width: 100vw;
    /* overflow: hidden; */
    cursor: grab;
}

.carousel-track {
    display: flex;
    gap: 20px;
    scroll-behavior: auto;
    overflow-x: scroll;
    scrollbar-width: none; /* Firefox */
    padding: 10px 0;
  }

.carousel-track::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}

.carousel-track img {
    width: 150px;
    height: auto;
    user-select: none;
    pointer-events: none;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 20px;
}

#testimonial .topic {
    padding-bottom: 40px;
}


.testimonial-carousel-wrapper {
    width: 100%;
    /* overflow: hidden; */
}

.testimonial-carousel {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 20px;
}

/* .testimonial-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
} */


.testimonial-box {
    flex: 1 1 300px;
    border-radius: 40px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;

    max-width: 400px;
    min-width: 300px;
}

.testimonial-box img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    padding: 0;
    border-radius: 40px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.testimonial-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    /* padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 30px; */
    padding: 20px 30px 30px 30px;
}

.testimonial-message {
    flex-grow: 1;
    height: 200px;
    margin-bottom: 20px; /* spacing before profile */
}

.testimonial-profile {
    margin-top: auto;
    display: inline;
}

.testimonial-profile {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.testimonial-profile .profile-box {
    padding-left: 10px;
    height: 80px;
}

/* .testimonial-box .testimonial-profile img {
    width: 100px;
} */

.customer-logo img {
    width: 100px;
    height: auto;
    border-radius: 50%;
}

.testimonial-profile p {
    margin-top: 0;
    color: black;
}

.testimonial-dots {
    text-align: center;
    margin-top: 16px;
}

.testimonial-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 6px;
    border-radius: 50%;
    background-color: #ccc;
    transition: background-color 0.3s;
}

.testimonial-dot.active {
    background-color: #7c10ff;
}

.cta-container {
    /* align-items: center; */
    text-align: left;
    padding: 60px;
    border-radius: 40px;
    transition: 0.5s ease;
    background-size: cover;
    background-position: top 50% right 70%;
    position: relative;
    color: white;
    /* flex-direction: row; */
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.75) 30%, transparent 50%), url(img/warehouse/wh2.png);
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.25);
}





/* Responsive styles tablet*/
@media (max-width: 1024px) {
    #navbar {
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 0;
        background: #6100df;
        width: 100%;
        display: none;
    }

    #navbar li {
        padding: 15px 0;
        text-align: center;
    }

    #mobile-menu {
        display: block;
    }

    #navbar.active {
        display: flex;
    }

    #header {
        padding: 10px 20px;
    }

    #header .call-to-action:not(:first-child) {
        margin-left: auto;
    }

    #header .call-to-action {
        display: none;
    }

    #header .call-to-action {
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    #header .call-to-action .btn {
        margin-top: 0;
        margin-bottom: 0;
        padding-top: 5px;
        padding-bottom: 5px;
        width: 150px;
    }

    #hero {
        flex-wrap: wrap;
        background-position: center;
        height: 60dvh;
    }

    .section-p2 {
        padding: 0 20px
    }

    h2 {
        font-size: 36px;
    }
    h3 {
        font-size: 26px;
    }
    h4 {
        font-size: 23px;
    }
    h5 {
        font-size: 20px;
    }

    #feature {
        justify-content: center;
    }

    #feature .feature-box {
        max-width: 100%;
        min-width: 40%;
    }

    .ship-img-grid {
        /* grid-template-columns: repeat(2, 100px); */
        justify-content: center;
        align-items: center;
    }

    .topic {
        text-align: center;
    }

    .section-p1 {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .img-wrapper {
        /* max-width: 100%; */
        width: 100%;
    }
    .text-wrapper {
        width: 100%;
    }

    #oms .ms-container img {
        width: 100%;
    }

    .ms-column {
        width: 100%;
        min-width: 100%;
    }

    #wms .ms-column img {
        width: 60%;
        height: auto;
    }

    #wms {
        padding-top: 40px;
    }

    #wms .ms-column:last-child {
        display: flex;
        align-items: flex-end; 
        justify-content: center; 
    }

    #description .icon-container {
        padding: 0 40px 0 40px;
    }

    .platform-img-grid {
        grid-template-columns: repeat(auto-fit, 80px);
        justify-content: center;
        align-items: center;
    }
    
    .wins-box {
        min-width: 80%;
    }

    #warehouse {
        display: flex;
        flex-wrap: wrap;
        /* height: 75dvh; */
        width: 100%;
        align-items: center;
        background-size: cover;
        /* background-image: linear-gradient(to left, rgb(255, 255, 255, .75) 20%, rgb(255, 255, 255, .25) 100%), url(img/warehouse/wh2_aerial.JPG); */
        background-position: center;
    }

    .half-column {
        flex: 1;
        min-width: 100%;
        align-items: center;
    }

    .half-column img {
        min-width: 100%;
        margin-bottom: 20px;
    }

    #cs .cs-img-container {
        display: flex;
        justify-content: center;
    }

    #cs .cs-img-container img {
        width: 80%;
        height: auto;
    }
    .cs-column {
        min-width: 100%;
    }

    #summary img {
        height: auto;
        width: 100%;
    }

    .how-to-box {
        min-width: 100%;
    }

    #customers .logo {
        width: 100px;
    }

    .testimonial-carousel-wrapper {
        position: relative;
        overflow-x: hidden;
    }

    .testimonial-carousel {
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 16px;
        padding: 0 10px;
    }

    .testimonial-box {
        flex: 0 0 60%;
        scroll-snap-align: center;
        min-width: 60%;
        max-width: 60%;
        margin: 10px;
    }

    .testimonial-carousel::-webkit-scrollbar {
        display: none;
    }

    .testimonial-box:first-child {
        margin-left: 100%;
    }
}

@media (max-width: 480px) {
    .call-to-action a:first-child {
        display: none;
    }

    #hero {
        height: 100dvh;
    }

    #feature .feature-box {
        min-width: 100%;
    }

    .ship-img-grid {
        grid-template-columns: repeat(auto-fit, 100px);
        justify-content: center;
        align-items: center;
        padding: 20px 0;
        gap: 10px;
    }

    #wms .ms-column img {
        width: 100%;
        height: auto;
    }

    .cs-item-container {
        flex-wrap: wrap;
        padding-top: 0;
    }

    #cs .cs-img-container img {
        width: 100%;
        height: auto;
    }

    .testimonial-carousel {
        gap: 0px;
    }

    .testimonial-content {
        padding: 10px 20px;
    }

    .testimonial-message {
        height: 240px;
    }

    .testimonial-profile p {
        font-size: 18px;
    }

    .customer-logo img {
        width: 75px;
        height: auto;
        border-radius: 50%;
    }

    .testimonial-box {
        flex: 0 0 80%;
        min-width: 80%;
        max-width: 80%;

    }

    .testimonial-box:first-child {
        margin-left: 700px;
    }

}