
/* โหลดฟอนต์ Prompt */
@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;500;600&display=swap');

html[lang="th"] body {
  font-family: 'Prompt' !important;
}

body {
 font-family: 'Helvetica Neue', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
}
/* ===== BASE FONT CLASSES ===== */
.font-h1 {
    font-weight: bold;
    line-height: 110%;
    font-size: 56px;
}

.font-h2 {  
    font-weight: bold;
    line-height: 120%;
    font-size: 37px;
}

.font-h3 { 
    font-weight: bold;
    line-height: 120%;
    font-size: 30px;
}

.font-h4 {
    font-weight: bold;
    line-height: 130%;
    font-size: 23px;
}

.font-p-bold {
    font-weight: bold;
    line-height: 140%;
    font-size: 20px;
}

.font-p {
    font-weight: normal;
    line-height: 140%;
    font-size: 20px;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 1024px) {

    /* Tablet */
    .font-h1 {
        font-size: 37px;
        line-height: 120%;
    }

    .font-h2 {
        font-size: 30px;
        line-height: 120%;
    }

    .font-h3 {
        font-size: 23px;
        line-height: 130%;
    }

    .font-h4 {
        font-size: 20px;
        line-height: 140%;
    }

    .font-p-bold,
    .font-p {
        font-size: 18px;
        line-height: 140%;
    }
}

@media (max-width: 768px) {

    /* Mobile */
    .font-h1 {
        font-size: 30px;
        line-height: 120%;
    }

    .font-h2 {
        font-size: 23px;
        line-height: 130%;
    }

    .font-h3 {
        font-size: 20px;
        line-height: 140%;
    }

    .font-h4 {
        font-size: 18px;
        line-height: 140%;
    }

    .font-p-bold,
    .font-p {
        font-size: 16px !important;
        line-height: 140%;
    }
}

.hero-content {
    padding: 1.5rem 1.5rem 0rem 1.5rem !important;
    position: relative;
    z-index: 1;
    color: white;
    /* background: rgba(0, 0, 0, 0.3); */
    padding: 0rem;
    border-radius: 10px;

    
}
.solutions-section {
    padding: 100px 0px 60px 0px  !important;
    text-align: center;
    overflow: hidden;
    background: #FCFCFC;
}

.AIDriven-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: auto;
    color: #1a1a1a;
}

.AIPowered-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: auto;
    color: #1a1a1a;
}

.solution-text-block {
    flex: 2 1 0px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.solution-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 40px;
}

.solution-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #111;
    flex: 1 1 200px;
}

.solution-header p {
    flex: 2 1 0px;
    font-size: 20px;
    color: #6b7280;
    line-height: 1.6;
}

.solution-header .cta-button {
    background-color: #2563eb;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 10px;
    display: inline-block;
    font-weight: 500;
}

.solution-image {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 40px;
}

.solution-image img {
    width: 100%;
    height: auto;
    display: block;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
}

.solution-card {
    border-radius: 16px;
    border: 1px solid #C7C7CC;
    background-color: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 12px;
    align-items: center;
    height: 100px;
}

.solution-card-icon {
    color: #3b82f6;
    font-size: 20px;
}

.solution-card p {
    margin: 0;
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 600px) {
    .solution-header {
        flex-direction: column;
        text-align: center;
    }

    .solution-header .cta-button {
        margin-top: 20px;
    }

    .solution-card {
        flex-direction: row;
    }
}


.support-section {
    padding: 60px 20px;
    text-align: center;
    overflow: hidden;
    background: #FCFCFC;
}

.support-header {
    text-align: center;
    margin-bottom: 40px;
}

.support-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #111;
}

.support-header p {
    font-size: 20px;
    color: #6b7280;
    max-width: 1000px;
    margin: 0 auto 20px auto;
    line-height: 1.6;
}

.cta-button {
    background-color: #2563eb;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
}

/*Card  scrollbar */
.dot-pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 8px;
  }
  
  .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #cbd5e1;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .dot.active {
    background-color: #2563eb;
  }
  

  .support-cards-scroll {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    scroll-behavior: smooth;
    padding: 20px 0;
  }
  

.support-cards-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding-bottom: 10px;
}

.support-cards-scroll {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    scroll-snap-type: x mandatory;
    padding: 20px 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.support-card {
    flex: 0 0 300px;
    min-width: 300px;
    background-color: #fff;
    border: 1px solid #c7c7cc;
    border-radius: 12px;
    padding: 20px;
    scroll-snap-align: start;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* .support-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
} */

.support-card .icon-svg {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 0.3s ease forwards;
    transition: transform 0.3s ease;
}

.support-image {
    flex: 1 1 20%;
    max-width: 480px;
  }
  
  .support-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
  }
/* .support-card:hover .icon-svg {
    transform: scale(1.1) rotate(3deg);
} */

.support-card p {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Optional scrollbar style */

.support-cards-scroll::-webkit-scrollbar {
    height: 8px;
}

.support-cards-scroll::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

/* Animation effect */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*End Card  scrollbar */


.sales-section {
    padding: 60px 20px;

}

.sales-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: auto;
    align-items: flex-start;
    padding: 0px 20px;
}
.sales-container-right {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: auto;
    align-items: flex-start;
    flex-direction: row-reverse;
    padding: 0px 20px;
}

.sales-left {
    flex: 1 1 45%;
}

.sales-left h2 {
    font-size: 28px;
    font-weight: 700;
    color: #111;
    margin-bottom: 10px;
}

.sales-left p {
    font-size: 20px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 20px;
}

.sales-left .cta-button {
    background-color: #2563eb;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    margin-bottom: 20px;
}

.sales-left img {
    width: 100%;
    border-radius: 12px;
    margin-top: 20px;
}

.sales-right {
    flex: 1 1 45%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.accordion-item {
    border: 1px solid #ccc;
    border-radius: 12px;
    overflow: hidden;
    background-color: #fff;
}

.accordion-header {
    width: 100%;
    background: transparent;
    border: none;
    text-align: left;
    padding: 16px 20px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}



.accordion-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}

.accordion-item.active .accordion-content {
    max-height: 300px;
    padding: 12px 20px 20px;
}

.accordion-content p {
    font-size: 0.95rem;
    color: #444;
    margin: 0;
    line-height: 1.6;
}



.accordion-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.accordion-wrapper details {
    border: 1px solid #ccc;
    border-radius: 12px;
    padding: 0;
    background-color: #fff;
    overflow: hidden;
}

.accordion-wrapper summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    cursor: pointer;
    list-style: none;
    font-weight: 600;
    position: relative;
}

.accordion-wrapper summary .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.accordion-wrapper summary .icon svg {
    width: 20px;
    height: 20px;
}

.accordion-wrapper summary .title-collapse {
    color: var(--Grays-Black, var(--Grays-Black, #000));
    font-size: 18px;
    font-weight: bold;
    color: #000;
    line-height: 130%;
    flex-grow: 1;

}

.accordion-wrapper summary .arrow {
    font-size: 0.9rem;
    color: #333;
    transition: transform 0.3s ease;
}

.accordion-wrapper details[open] summary .arrow {
    transform: rotate(180deg);
}




.accordion-wrapper details[open] summary::after {
    transform: rotate(180deg);
}

.accordion-wrapper details p {
    padding: 0 20px 16px 60px;
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.solutions-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 0fr));
    gap: 20px;
}

.finance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 0fr));
    gap: 20px;
  }
  
  .Operations-section {
    padding: 96px 20px;
    color: #1a1a1a;
    background: #FCFCFC;
}


/* --- xl --- */
@media (min-width: 1281px){
 
}
/* --- lg --- */
@media (min-width: 1025px) and (max-width: 1280px){
 
}
/* --- md --- */
@media (min-width: 768px) and (max-width: 1024px){


  
    .solutions-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
    }

    .support-image{
        display: none;
    }
    .solution-header h2 {
        font-size: 28px;
        font-weight: 700;
        flex: 1 1 100px;
    }

    .solution-card {
        border-radius: 16px;
        border: 1px solid #C7C7CC;
        background-color: #fff;
        padding: 20px;
        border-radius: 12px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
        display: flex;
        gap: 12px;
        align-items: center;
        height: auto;
    }
    .h-250{
        height: 250px;
    }

    .AIPowered-section {
        padding: 60px 0px;
        max-width: 1200px;
        margin: auto;
        color: #1a1a1a;
    }
    
}
/* --- sm xs --- */
@media (min-width: 200px) and (max-width: 767px){
    .solutions-section {
        padding: 80px 20px 40px 20px !important;
        text-align: center;
        overflow: hidden;
        background: #FCFCFC;
    }

    .sales-container-right {
        display: flex;
        flex-wrap: wrap;
        gap: 40px;
        max-width: 1200px;
        margin: auto;
        align-items: flex-start;
        flex-direction: row-reverse;
        padding: 0px 0px;
    }
    
    .solutions-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
        gap: 20px;
    }

    .sales-container {
        flex-direction: column;
    }
    .support-image{
        display: none;
    }

    .AIDriven-section {
        padding: 40px 20px;
        max-width: 1200px;
        margin: auto;
        color: #1a1a1a;
    }


    .AIPowered-section {
        padding: 0px 0px;
        max-width: 1200px;
        margin: auto;
        color: #1a1a1a;
    }



    .solution-header h2 {
        font-size: 24px;
        font-weight: 700;
        color: #111;
        flex: 1 1 0px;
    }

    .solution-header p {
        flex: 2 1 0px;
        font-size: 18px;
        color: #6b7280;
        line-height: 1.6;
    }

    .support-header h2 {
        font-size: 24px;
        font-weight: 700;
        margin-bottom: 12px;
        color: #111;
    }
    .support-header p {
        font-size: 18px;
        color: #6b7280;
        max-width: max-content;
        margin: 0 auto 20px auto;
        line-height: 1.6;
        padding: 0 0rem;
    }

    .sales-left p {
        font-size: 18px;
        color: #6b7280;
        line-height: 1.6;
        margin-bottom: 20px;
    }
    .sales-left h2 {
        font-size: 24px;
        font-weight: 700;
        color: #111;
        margin-bottom: 10px;
    }
    .sales-section {
        padding: 40px 20px;
    }

    .solution-header {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 40px;
    }

    .sales-container {
        display: flex;
        flex-wrap: wrap;
        gap: 40px;
        max-width: 1200px;
        margin: auto;
        align-items: center;
        padding: 0px 0px;

        
    }

    .finance-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 20px;
    }

    .Operations-section {
        padding: 40px 20px;
        color: #1a1a1a;
        background: #FCFCFC;
    }

    .solution-card {
        border-radius: 16px;
        border: 1px solid #C7C7CC;
        background-color: #fff;
        padding: 20px;
        border-radius: 12px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
        display: flex;
        gap: 12px;
        align-items: flex-start;
        height: auto;
    }

    .solution-grid {
       display: grid;
        grid-template-columns: repeat(auto-fit, minmax(100%, 0fr));
        gap: 20px;
    }
}




.swiper-button-next,
.swiper-button-prev {
  background-color: #f1f5f9;
  border-radius: 8px;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #2563eb;
  transition: background-color 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: #e0e7ff;
}
