/* =========================
   Design system for NK 
========================= */

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


body {
    background: #ffffff;
    color: #374151;
}

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

a {
    color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 .65em;
    line-height: 1.18;
}

/* Hero / Main Title */
h1 {
    font-size: clamp(2.1rem, 5vw, 2.5rem);
    font-weight: 700;
}

/* Section Title */
h2 {
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    font-weight: 700;
}

/* Card / Content Title */
h3 {
    font-size: clamp(1.45rem, 3vw, 2rem);
    font-weight: 700;
}

/* Sub Heading */
h4 {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 600;
}

h5 {
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    font-weight: 600;
}

h6 {
    font-size: clamp(1);
    font-weight: 600;
}

/* Paragraph */
p {
    font-size: clamp(1rem);
    line-height: 1.85;
    margin: 0 0 1.2em;
}

/* Lead Text */
.lead {
    font-size: clamp(1.08rem, 1.5vw, 1.28rem);
    line-height: 1.9;
}

p {
    margin: 0 0 1.2em;
    font-size: 16px;
    line-height: 1.9;
}


/* =========================
   SECTION 1: HERO
========================= */

.index-hero {
    padding: 70px 20px 0;
    background:
        radial-gradient(circle at top center,
            rgba(255, 255, 255, .15) 0%,
            transparent 60%),
        linear-gradient(135deg,
            #0094ff 0%,
            #0084ff 45%,
            #006fe0 100%);
    overflow: hidden;
    border-radius: 0 0 80px 80px;
}

.index-hero-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;

}

.index-hero-content h1 {
    color: #fff;
    line-height: 1.15;
    font-weight: 800;
}

.index-hero-content h2 {
    color: #fff;
    line-height: 1.15;
}

.index-hero-content p {
    color: #fff;

}

.index-hero-content span {
    font-size: 24px;
    font-weight: 500;
}

.hero-price small {
    display: block;
    font-size: 20px;
    font-weight: 500;
    color: rgba(255, 255, 255, .85);
}

.hero-price strong {
    display: block;
    font-size: clamp(48px, 6vw, 60px);
    line-height: 1;
    color: #fff;
    font-weight: 800;
}

.index-hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.pain-buttons-hero {
    margin-top: 50px;
    margin-bottom: 50px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
}

.index-hero-primary-btn {
    padding: 16px 32px;
    background: linear-gradient(135deg,
            #ff8a00,
            #ff6b00);

    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 15px 35px rgba(255, 107, 0, .25);
    transition: .3s;
}

.index-hero-primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(255, 107, 0, .35);
}

.index-hero-image {
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.index-hero-image img {
    width: 120%;
    max-width: 800px;
    display: block;
    margin: 0 auto;
}

/* MOBILE */

@media (max-width: 991px) {

    .index-hero {
        padding: 70px 15px 0;
    }

    .index-hero-image img {
        width: 100%;
    }

    .index-hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        align-items: center;
    }


    .index-hero-content {
        text-align: center;
    }

    .index-hero-actions {
        justify-content: center;
    }

}

@media (max-width: 700px) {

    .pain-buttons-hero {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }


    .index-hero-actions {
        flex-direction: column;
    }

    .index-hero-image {
        display: flex;
        justify-content: center;
        overflow: hidden;
    }

    .index-hero-image img {
        width: 120%;
        max-width: none;
    }

    .index-hero-primary-btn,
    .index-hero-secondary-btn {
        width: 100%;
        text-align: center;
    }

    .index-hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .index-hero-content h1 {
        font-size: 38px;
    }

    .index-hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        align-items: center;
    }

    .index-hero-content p {
        font-size: 16px;
    }

    .pain-cta1 {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        text-align: center;
    }

    .pain-cta1 .icon {
        width: 20px;
        height: 20px;
        display: block;
        flex-shrink: 0;
        position: relative;
        top: -1px;
    }

}


.pain-cta1 {
    position: relative;
    width: 100%;
    max-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px 28px;
    border-radius: 24px;
    background: linear-gradient(135deg,
            #4ef0b4,
            #34E0A1);
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .25);
    box-shadow:
        0 18px 40px rgba(52, 224, 161, .28),
        inset 0 1px 0 rgba(255, 255, 255, .35);
    transition: .3s ease;
    animation: pulseGlow 1.8s infinite;
    text-decoration: none;
}

.pain-cta1 svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    object-fit: contain;
    margin-right: 12px;
}

.pain-cta1 svg path {
    fill: #fff;
}

.pain-cta1:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow:
        0 24px 55px rgba(52, 224, 161, .38),
        inset 0 1px 0 rgba(255, 255, 255, .5);
}

.pain-cta1::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 70%;
    height: 100%;
    background:
        linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.55),
            transparent);

    transform: skewX(-20deg);
    animation: shine 2.8s infinite;
}

.pain-cta2 {
    position: relative;
    width: 100%;
    max-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 22px 28px;
    border-radius: 24px;

    background: linear-gradient(135deg,
            #FFB84D,
            #FF8A00);
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .25);
    box-shadow:
        0 12px 30px rgba(255, 138, 0, .25),
        0 24px 60px rgba(255, 138, 0, .15),
        inset 0 1px 0 rgba(255, 255, 255, .3);

    transition: .3s ease;
    animation: pulseGlow 1.8s infinite;
}

.pain-cta2:hover {
    transform: translateY(-4px);
    box-shadow:
        0 18px 40px rgba(255, 138, 0, .35),
        0 35px 80px rgba(255, 138, 0, .22),
        inset 0 1px 0 rgba(255, 255, 255, .45);
}

.pain-cta2::before {
    content: "";
    position: absolute;

    top: 0;
    left: -120%;

    width: 70%;
    height: 100%;

    background:
        linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, .55),
            transparent);

    animation: shine 3s infinite;
}

.pain-cta2:hover {
    transform: translateY(-4px);
    box-shadow:
        0 18px 40px rgba(255, 138, 0, .35),
        0 35px 80px rgba(255, 138, 0, .22),
        inset 0 1px 0 rgba(255, 255, 255, .45);
}

.pain-cta2::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 70%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.55),
            transparent);

    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -120%;
    }

    100% {
        left: 150%;
    }
}

/* =========================   section 3   ========================= */
.nk-stats-section {
    padding: 80px 20px;

    background: linear-gradient(135deg,
            #0094ff 0%,
            #0084ff 45%,
            #006fe0 100%);
}

.nk-stats-box {
    max-width: 1280px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1.3fr repeat(4, 1fr);
    gap: 20px;
}

.nk-stat-highlight,
.nk-stat-item {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;

    transition: all .3s ease;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.08);
}

.nk-stat-highlight {
    padding: 30px;
}

.nk-stat-item {
    padding: 30px 20px;
    text-align: center;

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

.nk-stat-highlight:hover,
.nk-stat-item:hover {
    transform: translateY(-5px);

    background: rgba(255, 255, 255, 0.18);

    border-color: rgba(255, 255, 255, 0.3);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.15);
}

/* ตัวเลข */

.nk-stat-highlight span,
.nk-stat-item strong {
    display: block;

    font-size: 42px;
    font-weight: 900;
    line-height: 1;

    color: #fff;

    margin-bottom: 12px;
}

/* หัวข้อ */

.nk-stat-highlight strong {
    display: block;

    font-size: 18px;
    font-weight: 700;

    color: #fff;

    margin-bottom: 12px;
}

/* รายละเอียด */

.nk-stat-highlight p {
    margin: 0;

    font-size: 14px;
    line-height: 1.8;

    color: rgba(255, 255, 255, 0.85);
}

.nk-stat-item span {
    display: block;

    font-size: 14px;
    line-height: 1.6;

    color: rgba(255, 255, 255, 0.85);
}

/* Mobile */

@media (max-width: 700px) {

    .nk-stats-section {
        padding: 60px 16px;
    }

    .nk-stats-box {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .nk-stat-highlight {
        grid-column: 1 / -1;
        text-align: center;
        padding: 24px;
    }

    .nk-stat-highlight span,
    .nk-stat-item strong {
        font-size: 32px;
    }

    .nk-stat-item {
        padding: 24px 15px;
    }

}



/* =========================   section 4   ========================= */

.home-pain-section {
    position: relative;
    overflow: hidden;
    padding: 120px 24px;
    background:
        radial-gradient(circle at top left,
            rgba(0, 132, 255, .08),
            transparent 30%),
        linear-gradient(180deg,
            #ffffff 0%,
            #F7FBFF 100%);
}

.home-pain-container {
    max-width: 1280px;
    margin: auto;
    opacity: 1;
    animation: fadeUp .8s ease forwards;
}

.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .3s ease, transform .3s ease;
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}


/* heading */

.home-pain-heading {
    max-width: 780px;
    margin: 0 auto 64px;
    text-align: center;
}

.home-pain-heading span {
    display: inline-block;
    margin-bottom: 18px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(0, 132, 255, .1);
    color: #0084FF;
    font-size: 14px;
    font-weight: 800;
}

.home-pain-heading h2 {
    margin: 0;
    letter-spacing: -1.5px;
}

.home-pain-heading p {
    max-width: 720px;
    margin: 24px auto 0;
    color: #64748b;
    line-height: 1.9;
}

/* grid */

.home-pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* card */

.home-pain-card {
    position: relative;
    overflow: hidden;
    width: 240px;
    min-height: 200px;
    padding: 24px 20px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, .06);
    box-shadow: 0 18px 50px rgba(15, 23, 42, .06);
    transition: .35s ease;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.home-pain-card::before {
    content: "";
    position: absolute;
    top: -90px;
    right: -90px;
    width: 190px;
    height: 190px;
    background:
        radial-gradient(circle,
            rgba(0, 132, 255, .14),
            transparent 70%);
}

.home-pain-card:hover {
    transform: translateY(-8px);

    border-color:
        rgba(0, 132, 255, .24);

    box-shadow:
        0 30px 80px rgba(0, 132, 255, .12);
}

/* featured */

.featured-pain {
    background:
        linear-gradient(180deg,
            #0084FF,
            #006FE0);
}

.featured-pain::before {
    background:
        radial-gradient(circle,
            rgba(255, 255, 255, .18),
            transparent 70%);
}

/* number */

.featured-pain .pain-number {
    color: rgba(255, 255, 255, .16);
}

/* icon */

.pain-icon-2 {
    position: relative;
    z-index: 2;
    width: 64px;
    height: 64px;
    margin-bottom: 28px;
    border-radius: 20px;
    background: rgba(0, 132, 255, .12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pain-icon-2 svg {
    width: 48px;
    height: 48px;
    fill: #0084FF;
}

.featured-pain .pain-icon-2 {
    background: rgba(255, 255, 255, .16);
    color: #ffffff;
}


.home-pain-card p {
    position: relative;
    margin: 0;
    color: #64748b;
    font-size: 16px;
    line-height: 1.8;
}

.home-section2-actions {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 16px;
}


@media (max-width: 1100px) {

    .home-pain-grid {
        display: flex;
        flex-direction: column;
        grid-template-columns: repeat(1, 1fr);
    }

}


@media (max-width: 700px) {

    .home-pain-section {
        padding: 80px 24px;
    }

    .home-pain-heading {
        margin-bottom: 42px;
    }

    .home-pain-heading p {
        font-size: 16px;
    }

    .home-pain-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .home-pain-card {
        width: 300px;
        min-height: auto;
        padding: 18px 24px;
        border-radius: 28px;
    }

}

/* =========================   section 4   ========================= */

/* =========================   section 5   ========================= */

.work-section {
    position: relative;
    overflow: hidden;
    padding: 100px 20px;

    background:
        radial-gradient(circle at 15% 10%,
            rgba(0, 132, 255, .12),
            transparent 32%),

        linear-gradient(180deg,
            #ffffff 0%,
            #f5f9ff 100%);
}

.work-inner {
    max-width: 1280px;
    margin: auto;
}

.work-heading {
    text-align: center;
    margin-bottom: 42px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 8px 16px;
    border-radius: 999px;

    background: rgba(0, 132, 255, .10);

    color: #0084FF;

    font-size: 13px;
    font-weight: 800;

    margin-bottom: 14px;
}


.work-heading p {
    max-width: 900px;
    margin: auto;
    color: #64748B;
    font-size: 16px;
}

.work-layout {
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 34px;
    align-items: flex-start;
}

/* Tabs */

.work-tabs {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.work-tab {
    width: 100%;
    padding: 13px 16px;
    border-radius: 16px;
    border: 1px solid rgba(0, 132, 255, .15);
    background: rgba(255, 255, 255, .85);
    color: #334155;
    font-size: 14px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition: .3s ease;
}

.work-tab:hover,
.work-tab.active {
    background: #0084FF;
    color: #ffffff;
    border-color: #0084FF;
    box-shadow: 0 14px 34px rgba(0, 132, 255, .22);
    transform: translateX(6px);
}

.work-right {
    min-width: 0;
}

/* Grid */

.work-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.image-card {
    position: relative;

    display: block;

    aspect-ratio: 1/1;

    overflow: hidden;

    border-radius: 24px;

    background: #EAF4FF;

    border: 1px solid rgba(0, 132, 255, .10);

    box-shadow:
        0 18px 45px rgba(0, 132, 255, .08);

    transition: .35s ease;
}

.image-card img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    display: block;

    transition: .5s ease;
}

.image-card:hover {

    transform: translateY(-8px);

    border-color: rgba(0, 132, 255, .25);

    box-shadow:
        0 28px 70px rgba(0, 132, 255, .15);
}

.image-card:hover img {
    transform: scale(1.08);
}

/* Overlay */

.work-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: flex-end;
    justify-content: center;

    padding: 18px;

    background:
        linear-gradient(180deg,
            rgba(15, 23, 42, 0) 35%,
            rgba(15, 23, 42, .72) 100%);

    opacity: 0;

    transition: .35s ease;
}

.image-card:hover .work-overlay {
    opacity: 1;
}

/* Pagination */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;

    gap: 14px;

    margin-top: 34px;
}

.pagination button,
#pageNumbers button {

    min-width: 42px;
    height: 42px;

    padding: 0 16px;

    border-radius: 999px;

    border: 1px solid rgba(0, 132, 255, .15);

    background: #ffffff;

    color: #0F172A;

    font-size: 13px;
    font-weight: 800;

    cursor: pointer;

    transition: .3s ease;
}

.pagination button:hover,
#pageNumbers button:hover,
#pageNumbers button.active {

    background: #0084FF;

    color: #ffffff;

    border-color: #0084FF;

    box-shadow:
        0 12px 28px rgba(0, 132, 255, .20);
}

#pageNumbers {
    display: flex;
    gap: 8px;
}

.portfolio-image {
    cursor: pointer;
}

.image-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.image-modal.active {
    display: flex;
}

.image-modal img {
    max-width: 92vw;
    max-height: 90vh;
    border-radius: 12px;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: 0;
    color: #fff;
    font-size: 44px;
    cursor: pointer;
}

/* Tablet */

@media (max-width: 1024px) {

    .work-layout {
        grid-template-columns: 1fr;
    }

    .work-tabs {
        position: static;
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 8px;
    }

    .work-tab {
        width: auto;
        white-space: nowrap;
        text-align: center;
    }

    .work-tab:hover,
    .work-tab.active {
        transform: translateY(-3px);
    }

    .work-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */

@media (max-width: 768px) {

    .work-section {
        padding: 70px 16px;
    }

    .work-heading {
        margin-bottom: 30px;
    }

    .work-heading p {
        font-size: 14px;
    }

    .work-layout {
        gap: 24px;
    }

    .work-tabs {
        margin-left: -16px;
        margin-right: -16px;

        padding: 10px 16px;

        gap: 8px;
    }

    .work-tab {
        padding: 11px 14px;
        border-radius: 999px;
        font-size: 13px;
    }

    .work-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .image-card {
        border-radius: 18px;
        aspect-ratio: 1/1;
    }

    .work-overlay {
        opacity: 1;
        padding: 10px;
    }

    .pagination {
        gap: 8px;
        margin-top: 26px;
    }

    .pagination button,
    #pageNumbers button {
        min-width: 36px;
        height: 36px;
        padding: 0 12px;
        font-size: 12px;
    }

    .image-card:hover {
        transform: none;
    }

    .image-card:hover img {
        transform: none;
    }
}

/* Helper */

.image-card.hide {
    display: none !important;
}

.work-tabs::-webkit-scrollbar {
    display: none;
}

.work-tabs {
    scrollbar-width: none;
}

/* =========================   section 5   ========================= */


/* =========================   section 6   ========================= */
.logo-proof-section {
    padding: 120px 20px;
    background: #ffffff;
    text-align: center;
    overflow: hidden;
}

.logo-proof-header {
    text-align: center;
    margin-bottom: 22px;
}

.logo-proof-header p {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 10px 20px;
    border: 1px solid rgba(0, 132, 255, 0.22);
    border-radius: 999px;
    background: rgba(0, 132, 255, 0.08);
    color: #0084ff;
    font-size: 14px;
    font-weight: 700;
}

.logo-marquee {
    position: relative;
    overflow: hidden;
    max-width: 1280px;
    margin: 0 auto;
}

.logo-marquee::before,
.logo-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    width: 90px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.logo-marquee::before {
    left: 0;
    background: linear-gradient(90deg, #ffffff, transparent);
}

.logo-marquee::after {
    right: 0;
    background: linear-gradient(270deg, #ffffff, transparent);
}

.logo-track {
    display: flex;
    width: max-content;
    gap: 18px;
    animation: logoScroll 24s linear infinite;
    padding: 12px;

}

.logo-marquee:hover .logo-track {
    animation-play-state: paused;
}

.logo-item {
    min-width: 170px;
    height: 58px;
    padding: 22px 22px;
    border-radius: 16px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111827;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    border: 1px solid rgba(0, 132, 255, .08);
    box-shadow:
        0 4px 12px rgba(0, 132, 255, .06),
        0 8px 20px rgba(0, 132, 255, .03);
    transition: .3s ease;
}

.second-row {
    margin-top: 12px;
}

/* reverse */

.logo-track.reverse {
    animation: logoScrollReverse 24s linear infinite;
}

@keyframes logoScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes logoScrollReverse {

    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }

}

@media (max-width: 576px) {
    .logo-proof-section {
        padding: 28px 16px;
    }

    .logo-item {
        min-width: 145px;
        height: 52px;
        font-size: 14px;
    }

    .logo-track {
        animation-duration: 18s;
    }
}

/* =========================   section 6   ========================= */


/* =========================   section 7   ========================= */
.review-slider-section {
    padding: 70px 24px 0;
    background:
        radial-gradient(circle at top right,
            rgba(0, 132, 255, .08),
            transparent 35%),

        linear-gradient(180deg,
            #ffffff,
            #f5f9ff);
    overflow: hidden;
}

.review-container {
    max-width: 1280px;
    margin: auto;
}

.review-slider-section .section-heading {
    text-align: center;
    max-width: 700px;
    margin: auto;
}

.review-slider-section .section-heading h2 {
    margin-bottom: 12px;
}

.review-slider-section .section-heading h2 span {
    color: #0084FF;
}

.review-slider-section .section-heading p {
    color: #64748B;
    font-size: 16px;
}


/* slider */

.review-carousel-wrapper {
    position: relative;
}

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

.review-track {
    display: flex;
    gap: 20px;

}

.review-carousel {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 50px 50px 50px 50px;
}

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

.review-card {
    flex: 0 0 calc((100% - 84px) / 4);
    min-width: 0;
    position: relative;
    min-height: 300px;
    padding: 90px 34px 34px;
    border-radius: 22px;
    background: #ffffff;
    text-align: center;
    border: 1px solid rgba(0, 132, 255, .08);
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    border: 1px solid #0084FF;
    transform: translateY(-2px);
    box-shadow: 0 20px 50px rgba(0, 132, 255, .12);
}

.review-card h4 {
    color: #0084FF;
    font-size: 18px;
}

.review-avatar {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 70px;
    padding: 10px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(0, 132, 255, .25);
    box-shadow: 0 12px 35px rgba(15, 23, 42, .12);
}

.review-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.review-arrow {
    position: absolute;
    top: 58%;
    transform: translateY(-50%);
    z-index: 5;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: #0084FF;
    color: #ffffff;
    font-size: 34px;
    cursor: pointer;
}

.review-stars {
    color: #0084FF;
}

.review-carousel-wrapper .prev {
    left: 0;
}

.review-carousel-wrapper .next {
    right: 0;
}

@media (max-width: 768px) {
    .review-card {
        flex: 0 0 82%;
        min-width: 82%;
    }

    .review-carousel {
        padding: 0 0 30px;
    }

    .review-arrow {
        display: none;
    }
}

/* =========================   section 7   ========================= */


/* =========================   section 9   ========================= */
.faq-section {
    background: #ffffff;
    padding: 80px 20px;
    text-align: center;
}

.faq-list {
    max-width: 980px;
    margin: auto;
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 18px;
}

.faq-item {
    border-radius: 26px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, .06);
    box-shadow: 0 18px 50px rgba(15, 23, 42, .05);
    overflow: hidden;
}

.faq-btn {
    padding: 30px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    list-style: none;
    font-weight: 500;
    font-size: 16px;
}

.faq-btn::-webkit-details-marker {
    display: none;
}

.faq-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(0, 132, 255, .10);
    color: #0084FF;
    transition: .3s ease;
}

.faq-item[open] .faq-icon {
    background: #0084FF;
    color: #ffffff;
    transform: rotate(45deg);
    width: 30px;
    height: 30px;
}

.faq-content {
    padding: 0 30px 28px;
    color: #64748b;
    line-height: 1.9;
    font-size: 14px;
}

/* =========================   section 9   ========================= */

/* =========================   HOME BLOG ========================= */

.home-blog {
    padding: 100px 24px;
    background: #F8FAFC;
}

.home-blog-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.home-blog-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 40px;
}

.home-blog-heading span {
    display: block;
    margin-bottom: 10px;
    color: #0084FF;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .15em;
}

.home-blog-heading h2 {
    margin: 0 0 12px;
    color: #0F172A;
    line-height: 1.2;
}

.home-blog-heading p {
    max-width: 600px;
    margin: 0;
    color: #64748B;
    font-size: 15px;
    line-height: 1.7;
}

.home-blog-all {
    flex-shrink: 0;
    color: #0084FF;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}


/* GRID */

.home-blog-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 24px;
}


/* CARD */

.home-blog-card {
    overflow: hidden;

    border: 1px solid #E2E8F0;
    border-radius: 18px;

    background: #fff;

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.home-blog-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 18px 40px rgba(15, 23, 42, .08);
}

.home-blog-card>a {
    display: flex;
    flex-direction: column;

    height: 100%;

    color: inherit;

    text-decoration: none;
}


/* IMAGE */

.home-blog-image {
    width: 100%;
    aspect-ratio: 16 / 10;

    overflow: hidden;

    background: #E2E8F0;
}

.home-blog-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform .4s ease;
}

.home-blog-card:hover .home-blog-image img {
    transform: scale(1.04);
}


/* CONTENT */

.home-blog-content {
    display: flex;
    flex-direction: column;

    flex: 1;

    padding: 24px;
}

.home-blog-category {
    margin-bottom: 10px;

    color: #0084FF;

    font-size: 12px;
    font-weight: 700;
}

.home-blog-content h3 {
    margin: 0 0 12px;

    color: #0F172A;

    font-size: 20px;
    line-height: 1.45;
}

.home-blog-content p {
    margin: 0 0 18px;

    color: #64748B;

    font-size: 14px;
    line-height: 1.7;
}


/* META */

.home-blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    margin-top: auto;

    color: #94A3B8;

    font-size: 12px;
}

.home-blog-meta span+span::before {
    content: "•";

    margin-right: 8px;

    color: #CBD5E1;
}

.home-blog-read {
    display: block;

    margin-top: 16px;

    color: #0084FF;

    font-size: 13px;
    font-weight: 700;
}


/* TABLET */

@media (max-width: 900px) {

    .home-blog-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* MOBILE */

@media (max-width: 600px) {

    .home-blog {
        padding: 70px 16px;
    }

    .home-blog-heading {
        align-items: flex-start;
        flex-direction: column;

        gap: 15px;
    }

    .home-blog-grid {
        grid-template-columns: 1fr;
    }

}