/*
Theme Name: Moonpie
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE. ***************/

/* ===================== Fonts ===================== */
/* Thin 100 */
@font-face {
    font-family: "Helvetica Neue";
    src: url("/assets/fonts/HelveticaNeueThin.woff2") format("woff2");
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

/* Light 300 */
@font-face {
    font-family: "Helvetica Neue";
    src: url("/assets/fonts/HelveticaNeueLight.woff2") format("woff2");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Helvetica Neue";
    src: url("/assets/fonts/HelveticaNeueLightItalic.woff2") format("woff2");
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

/* Regular 400 */
@font-face {
    font-family: "Helvetica Neue";
    src: url("/assets/fonts/HelveticaNeue.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Helvetica Neue";
    src: url("/assets/fonts/HelveticaNeueItalic.woff2") format("woff2");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

/* Medium 500 */
@font-face {
    font-family: "Helvetica Neue";
    src: url("/assets/fonts/HelveticaNeueMedium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Helvetica Neue";
    src: url("/assets/fonts/HelveticaNeueMediumItalic.woff2") format("woff2");
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

/* Bold 700 */
@font-face {
    font-family: "Helvetica Neue";
    src: url("/assets/fonts/HelveticaNeueBold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Helvetica Neue";
    src: url("/assets/fonts/HelveticaNeueBoldItalic.woff2") format("woff2");
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

/* Black 900 */
@font-face {
    font-family: "Helvetica Neue";
    src: url("/assets/fonts/HelveticaNeueBlack.woff2") format("woff2");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Helvetica Neue";
    src: url("/assets/fonts/HelveticaNeueBlackItalic.woff2") format("woff2");
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

body {
    font-family: "Helvetica Neue";
    font-weight: 400;
}

/* ===================== Common ===================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #22262f;
}

.header-main {
    border-bottom: 1px solid #eee;
}

input[type="checkbox"] {
    margin: 0;
}

/* Buttons (Flatsome) */
.button,
input[type="button"].button,
input[type="reset"].button,
input[type="submit"],
input[type="submit"].button {
    height: 44px;
    line-height: 44px;
}

/* Typography helpers */
.lorafont {
    font-family: "Lora", sans-serif !important;
}

.font40,
.font40 h1,
.font40 h2,
.font40 h3,
.font40 h4,
.font40 h5,
.font40 h6,
.font40 span,
.font40 p {
    font-size: 40px !important;
}

.font32,
.font32 h1,
.font32 h2,
.font32 h3,
.font32 h4,
.font32 h5,
.font32 h6,
.font32 span,
.font32 p {
    font-size: 32px !important;
}

.font30,
.font30 h1,
.font30 h2,
.font30 h3,
.font30 h4,
.font30 h5,
.font30 h6,
.font30 span,
.font30 p {
    font-size: 30px !important;
}

.font28,
.font28 h1,
.font28 h2,
.font28 h3,
.font28 h4,
.font28 h5,
.font28 h6,
.font28 span,
.font28 p {
    font-size: 28px !important;
}

.font23,
.font23 h1,
.font23 h2,
.font23 h3,
.font23 h4,
.font23 h5,
.font23 h6,
.font23 span,
.font23 p {
    font-size: 23px !important;
}

.font20,
.font20 h1,
.font20 h2,
.font20 h3,
.font20 h4,
.font20 h5,
.font20 h6,
.font20 span,
.font20 p {
    font-size: 20px !important;
}

.homelogof img {
    width: 32px !important;
}

/* ===================== About section ===================== */
.leftstabout {
    background: url(assets/images/aboutbg.jpg) center center / cover no-repeat;
    display: flex;
    align-content: center;
    align-items: center;
    flex-basis: 45% !important;
    max-width: 45% !important;
}

.rightstabout {
    flex-basis: 55% !important;
    max-width: 55% !important;
}

.leftstabout .col-inner {
    padding-right: 40px !important;
    padding-left: calc((100vw - 1140px) / 2) !important;
}

/* Eyebrow pill */
.nex_eyebrow_sp {
    padding: 0 25px;
    border: 1px solid #022CEA;
    border-radius: 99px;
    font-size: 16px;
    font-weight: 500;
    color: #022CEA;
    display: inline-block;
    height: 44px;
    line-height: 42px;
}

/* ===================== Home section ===================== */
.leftbghome1 {
    background: url(assets/images/homebg2.jpg) center center / cover no-repeat;
    min-height: 440px;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    display: flex;
    align-content: center;
    align-items: center;
}

.leftbghome1 .col-inner.dark {
    padding-right: 40px !important;
    padding-left: calc((100vw - 1140px) /2) !important;
}

i.icon-menu {
    color: #22262f;
}

.rightbghome1>.col-inner:first-child {
    padding-right: calc((100vw - 1140px) /2) !important;
}

.mgo p {
    margin: 0;
    margin-bottom: 10px;
}

/* List style */
.homeul ul {
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.homeul ul li {
    position: relative;
    padding-left: 25px !important;
    margin: 10px 0 !important;
    font-weight: 700;
}

.homeul ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 14px;
    height: 14px;
    background-image: url("assets/images/dotul.png");
    background-size: contain;
    background-repeat: no-repeat;
}

/* ===================== Accordion ===================== */
.accordion-inner {
    padding: 15px 0;
}

.accordion-title {
    border-top: 1px solid #ddd;
    padding: 15px 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 21px;
    color: #22262F;
}

.accordion-title.active {
    background-color: unset;
    border-color: unset;
    color: #22262F;
    font-weight: 700;
    border-top: 1px solid #dddd;
}

.accordion .toggle {
    border-radius: 999px;
    height: 32px !important;
    width: 32px !important;
    min-height: 32px !important;
    opacity: 1;

    position: relative !important;
    left: unset;
    right: 0 !important;
    top: unset;
    margin-right: 0;

    background: #022cea;
    color: #ffff;
    transform-origin: 50% 47%;
}

.active .toggle {
    background: #A8A8A8 !important;
    color: #fff !important;
}

button.toggle i {
    font-size: 27px;
}

/* ===================== Form background ===================== */
.nex-moonpie-form .nex-card {
    background-image: url("assets/images/backgroundform.svg");
    background-size: cover;
    background-repeat: no-repeat;
}

/* ===================== Case studies ===================== */
.case-studies-wrapper {
    width: 1140px;
    margin: 0 auto;
    position: relative;
}

.case-studies-wrapper .topinner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.case-studies-wrapper .eyebrow {
    margin-bottom: 30px;
}

.case-studies-wrapper .cs-outer {
    margin-top: 50px;
}

.case-studies-wrapper .cs-viewport {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.case-studies-wrapper .cs-track {
    display: flex;
    transition: transform .35s ease;
    will-change: transform;
}

.case-studies-wrapper .cs-slide {
    flex: 0 0 100%;
    width: 100%;
    box-sizing: border-box;
}

.case-studies-wrapper .cs-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
}

span.cs-body-title {
    margin-top: 20px;
    display: flex;
    margin-bottom: 10px;
    font-weight: 500;
}

.case-studies-wrapper .cs-card {
    overflow: hidden;
    transition: .25s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.case-studies-wrapper .cs-thumb {
    width: 100%;
    aspect-ratio: 10/9;
    border-radius: 12px;
}

.case-studies-wrapper .cs-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

#openform {
    border-radius: 12px;
    padding: 0 !important;
}

#openform .nex-card {
    padding: 30px !important;
}

#openform .nex-field {
    margin-bottom: 5px !important;
    height: 40px;
    font-size: 15px;
}

#openform .nex-grid {
    gap: 0px 20px !important;
}

#openform .nex-moonpie-form label {
    font-size: 14px !important;
}

#openform .nex-field.nex-textarea {
    min-height: 50px !important;
}

#openform button.nex-btn {
    height: 45px !important;
    margin-top: -10px !important;
}

.case-studies-wrapper .cs-body {
    font-size: 18px;
    line-height: 1.35;
    margin: 0 0 10px;
    color: #111827;
}

.case-studies-wrapper .cs-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.case-studies-wrapper .cs-tag {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    line-height: 1;
    padding: 5px 10px;
    border-radius: 999px;
    color: #61656C;
    border: 1px solid #61656C;
}

.case-studies-wrapper .cs-nav {
    display: flex;
    gap: 15px;
    align-items: center;
}

.case-studies-wrapper .cs-btn {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    background: #022CEA;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: .25s;
    border: 0;
    margin: 0;
}

.case-studies-wrapper .cs-btn:hover {
    background: #0023c1;
}

.case-studies-wrapper .cs-btn:active {
    transform: scale(.95);
}

.case-studies-wrapper .cs-btn[disabled] {
    opacity: .4;
    cursor: not-allowed;
    transform: none;
}

/* ===================== Partner ===================== */
.partners-wrapper {
    width: 1140px;
    margin: 0 auto;
    position: relative;
}

.partners-wrapper .topinner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.partners-wrapper .partners-body {
    margin-top: 50px;
}

.partners-wrapper .scroller-outer {
    margin-right: calc((100vw - 1140px)/ -2);
}

.partners-wrapper .scroller {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    display: flex;
    gap: 32px;
    flex-wrap: nowrap;
    -ms-overflow-style: none;
    scrollbar-width: none;
    cursor: grab;
    user-select: none;
}

.partners-wrapper .scroller:active {
    cursor: grabbing;
}

.partners-wrapper .scroller::-webkit-scrollbar {
    display: none;
}

.partners-wrapper .item {
    flex: 0 0 auto;
    width: 384px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.partners-wrapper .thumb {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
}

.partners-wrapper .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.partners-wrapper .button-scroll {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    background: #022CEA;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: .25s;
}

.partners-wrapper .button-scroll:hover {
    background: #0023c1;
}

.partners-wrapper .button-scroll:active {
    transform: scale(.95);
}

.partners-wrapper .eyebrow {
    margin-bottom: 30px;
}

.partners-wrapper .topinner h2 {
    font-size: 40px;
    color: #22262F;
    margin-bottom: 0;
}

/* ===================== Reviews ===================== */
.nex-reviews {
    position: relative;
    margin-top: -150px;
}

.reviews-imgbg {
    max-width: 520px;
}

.wraptop .eyebrow {
    margin-bottom: 40px;
    display: flex;
    text-align: center;
    justify-content: center;
    height: 44px;
}

.nex-reviews .nex-stage {
    width: 100%;
    height: 500px;
    position: relative;
    overflow: hidden;
    touch-action: pan-y;
    cursor: grab;
}

.nex-reviews .nex-stage.is-dragging {
    cursor: grabbing;
}

.nex-reviews .nex-fan {
    position: absolute;
    inset: 0;
}

.nex-reviews .nex-card {
    width: 279px;
    height: 376px;
    background: #f1f6ff;
    border-radius: 12px;
    padding: 22px 22px 18px;
    color: #2c2f36;
    position: absolute;
    left: 50%;
    top: 46%;
    transform-origin: center;
    transition: transform .25s ease, opacity .25s ease;
    display: flex;
    flex-direction: column;
    gap: 10px;
    will-change: transform;
}

.nex-reviews .nex-p0 {
    transform: translate(-50%, -50%) translateX(-684px) translateY(77.5px) rotate(-12deg);
    z-index: 1;
    opacity: .92;
}

.nex-reviews .nex-p0:hover {
    transform: translate(-50%, -50%) translateX(-684px) translateY(69.5px) rotate(-12deg);
}

.nex-reviews .nex-p1 {
    transform: translate(-50%, -50%) translateX(-349px) translateY(16px) rotate(-8deg);
    z-index: 2;
    opacity: .96;
}

.nex-reviews .nex-p1:hover {
    transform: translate(-50%, -50%) translateX(-349px) translateY(20px) rotate(-8deg);
}

.nex-reviews .nex-p2 {
    transform: translate(-50%, -50%) translateX(0px) translateY(-10px) rotate(0deg);
    z-index: 4;
    opacity: 1;
}

.nex-reviews .nex-p2:hover {
    transform: translate(-50%, -50%) translateX(0px) translateY(-18px) rotate(0deg);
}

.nex-reviews .nex-p3 {
    transform: translate(-50%, -50%) translateX(349px) translateY(16px) rotate(8deg);
    z-index: 2;
    opacity: .96;
}

.nex-reviews .nex-p3:hover {
    transform: translate(-50%, -50%) translateX(349px) translateY(20px) rotate(8deg);
}

.nex-reviews .nex-p4 {
    transform: translate(-50%, -50%) translateX(684px) translateY(77.5px) rotate(12deg);
    z-index: 1;
    opacity: .92;
}

.nex-reviews .nex-p4:hover {
    transform: translate(-50%, -50%) translateX(684px) translateY(69.5px) rotate(12deg);
}

.nex-reviews .nex-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nex-reviews .nex-mark {
    width: 22px;
    height: 22px;
    border-radius: 8px;
    background: conic-gradient(from 220deg, #7c3aed, #60a5fa, #a78bfa, #7c3aed);
    position: relative;
}

.nex-reviews .nex-mark:after {
    content: "";
    position: absolute;
    inset: 6px;
    background: #f1f6ff;
    border-radius: 6px;
    opacity: .9;
}

.nex-reviews .nex-brand b {
    font-size: 15px;
    font-weight: 700;
}

.nex-reviews .nex-company-logo {
    width: 30px;
    height: 30px;
    border-radius: 99px;
    object-fit: cover;
    background: #fff;
}

.nex-reviews .nex-stars {
    display: flex;
    gap: 4px;
    margin-top: 2px;
    align-items: center;
}

.nex-reviews .nex-stars i {
    font-size: 16px;
    line-height: 1;
    color: #1e5bff;
}

.nex-reviews .nex-quote {
    margin: 6px 0 10px;
    font-size: 16px;
    line-height: 1.55;
    color: #3b3f49;
    flex: 1;
    display: flex;
    align-items: center;
}

.nex-reviews .nex-person {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

.nex-reviews .nex-avatar {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    object-fit: cover;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .16);
    background: #e5e7eb;
}

.nex-reviews .nex-who {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.nex-reviews .nex-name {
    font-weight: 500;
    font-size: 16px;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nex-reviews .nex-role {
    font-weight: 500;
    font-size: 14px;
    color: #022CEA;
    line-height: 1.2;
}

.nex-reviews .nex-progress {
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    width: min(320px, 99vw);
    border-radius: 999px;
    overflow: hidden;
}

.nex-reviews .nex-progress.nex-segmented {
    height: 6px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background: #EBF1F8;
}

.nex-reviews .nex-progress.nex-segmented .nex-seg {
    appearance: none;
    border: 0;
    padding: 0;
    border-radius: 999px;
    margin: 0;
    min-height: auto;
    background: rgba(255, 255, 255, .22);
    cursor: pointer;
    transition: transform .15s ease, background .15s ease;
}

.nex-reviews .nex-progress.nex-segmented .nex-seg.is-active {
    background: #9A9AF6;
}

.ww_reviews {
    position: relative;
}

.wraptop {
    display: flex;
    margin: 0 auto;
    width: 35%;
    flex-direction: column;
    align-content: center;
    align-items: center;
    text-align: center;
}

.wraptop .eyebrow {
    margin-bottom: 40px;
}

/* ===================== Squad ===================== */
.squad-wrapper {
    width: 1140px;
    margin: 0 auto;
    position: relative;
}

.squad-wrapper .topinner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.squad-wrapper .squad-body {
    display: flex;
    gap: 32px;
    margin-top: 50px;
    align-items: flex-start;
}

.squad-wrapper .squad-first {
    flex: 0 0 280px;
}

.squad-wrapper .squad-list {
    flex: 1 1 auto;
    min-width: 0;
}

.squad-wrapper .scroller-outer {
    margin-right: calc((100vw - 1140px)/ -2);
}

.squad-wrapper .scroller {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    display: flex;
    gap: 32px;
    flex-wrap: nowrap;
    -ms-overflow-style: none;
    scrollbar-width: none;
    cursor: grab;
    user-select: none;
}

.squad-wrapper .scroller:active {
    cursor: grabbing;
}

.squad-wrapper .scroller::-webkit-scrollbar {
    display: none;
}

.squad-wrapper .item {
    flex: 0 0 auto;
    width: 280px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.squad-wrapper .thumb {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
}

.squad-wrapper .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.squad-wrapper .meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.mem_contact {
    position: absolute;
    bottom: 15px;
    display: flex;
    justify-content: center;
    gap: 5px;
    padding: 5px;
    border-radius: 99px;
    background: #022cea;

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.squad-wrapper .thumb:hover .mem_contact {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mem_contact i {
    font-size: 1.2em;
}

.mem_contact a {
    width: 30px;
    height: 30px;
    color: #fff;
    border-radius: 99px;
    text-align: center;
    line-height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mem_contact a:hover {
    width: 30px;
    height: 30px;
    background: #5674ff;
    line-height: 30px;
}

.squad-wrapper .name {
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 24px;
    color: #022cea;
    font-family: "Lora";
}

.squad-wrapper .sub {
    font-size: 16px;
    color: #61656C;
    line-height: 1.2;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 10px;
    margin-bottom: 10px;
}

.squad-wrapper .button-scroll {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    background: #022CEA;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: 0.25s;
}

.squad-wrapper .button-scroll:hover {
    background: #0023c1;
}

.squad-wrapper .button-scroll:active {
    transform: scale(0.95);
}

/* Stats block */
.wrap-item {
    background: #022cea;
    color: #fff;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    padding: 32px;
}

.inner-w {
    display: flex;
    flex-direction: column;
}

span.inner-sp1 {
    font-size: 30px;
    font-weight: bold;
}

span.inner-sp2 {
    font-size: 16px;
    font-weight: bold;
}

.content-it p {
    margin: 0;
}

.content-it {
    font-size: 14px;
    font-style: italic;
    border-top: 1px solid #eee;
    padding: 12px 0;
}

.tclear {
    width: 100%;
    height: 1px;
    background: #fff;
    margin-top: 33px;
    margin-bottom: 33px;
}

/* Shared heading blocks */
.eyebrow {
    width: 100%;
    margin-bottom: 30px;
    height: 44px;
    display: flex;
    line-height: 42px;
}

.topinner h2 {
    font-size: 40px;
    color: #22262F;
    margin-bottom: 0;
}

span.eyebrow_sp {
    padding: 0 25px;
    border: 1px solid #022CEA;
    border-radius: 99px;
    font-size: 16px;
    color: #022CEA;
    line-height: 42px;
}

/* ===================== Social cards ===================== */
.nex-social-grid {
    max-width: 270px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.nex-social-card {
    width: 125px;
    height: 125px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    text-align: center;
    transition: .2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #E5E5E5;
    text-decoration: none;
    color: inherit;
}

.nex-social-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .12);
}

.nex-social-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
}

.nex-social-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nex-social-text {
    font-size: 16px;
    font-weight: 600;
    color: #6b7280;
    line-height: 1.2;
}

/* ===================== Footer ===================== */
.footerft p {
    margin: 0;
}

footer#footer ul li {
    list-style-type: none;
    margin: 0;
    margin-bottom: 15px;
}

/* ===================== Boxservice ===================== */
.nex-services-row {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    gap: 24px;
}

.nex-svc-card {
    background: url(assets/images/bgsvr.svg) center center / cover no-repeat;
    position: relative;
    flex: 1;
    border-radius: 12px;
    padding: 70px 28px 28px;
    min-height: 240px;
    transition: .3s ease;
    box-shadow: 0 18px 40px rgba(10, 20, 60, .08);
    overflow: visible;
}

.nex-svc-icon {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background: #022CEA;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 28px;
    transform: translateY(-50%);
    border: 6px solid #fff;
}

.nex-svc-icon {
    width: 112px;
    height: 112px;
    border-radius: 50%;
    background: #022CEA;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 32px;
    transform: translateY(-50%);
    border: 5px solid #fff;
}

.nex-svc-icon-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.nex-svc-title {
    font-size: 20px;
    font-weight: 700;
    color: #022CEA;
    margin-bottom: 12px;
    transition: .3s;
}

.nex-svc-desc {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(10, 27, 63, .75);
    transition: .3s;
}

.nex-svc-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    padding: 12px 18px;
    border-radius: 999px;
    background: #fff;
    color: #022CEA;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .12);
    opacity: 0;
    transform: translateY(10px);
    transition: .3s ease;
    pointer-events: none;
}

.nex-svc-card:hover {
    background: #022CEA;
    transform: translateY(-4px);
    box-shadow: 0 28px 70px rgba(10, 20, 60, .2);
}

.nex-svc-card:hover .nex-svc-title {
    color: #fff;
}

.nex-svc-card:hover .nex-svc-desc {
    color: rgba(255, 255, 255, .85);
}

.nex-svc-card:hover .nex-svc-btn {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* ===================== Button (custom) ===================== */
.nex-btn {
    margin-right: 15px;

    --nex-blue: #0b39ff;
    --nex-blue-dark: #082ed1;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    height: 52px;
    padding: 0 22px;
    border-radius: 999px;

    font-size: 16px;
    font-weight: 500;
    line-height: 1;

    text-decoration: none !important;
    transition: all .2s ease;
    white-space: nowrap;
}

.nex-btn--fill {
    background: var(--nex-blue);
    color: #fff !important;
    border: 2px solid var(--nex-blue);
}

.nex-btn--fill:hover {
    background: var(--nex-blue-dark);
    border-color: var(--nex-blue-dark);
    box-shadow: 0 8px 22px rgba(11, 57, 255, .35);
    transform: translateY(-1px);
}

.nex-btn--outline {
    background: transparent;
    color: var(--nex-blue) !important;
    border: 2px solid var(--nex-blue);
}

.nex-btn--outline:hover {
    background: rgba(11, 57, 255, .08);
    box-shadow: 0 8px 22px rgba(11, 57, 255, .18);
    transform: translateY(-1px);
}

.nex-btn i {
    font-size: 14px;
    transition: transform .2s ease;
}

.nex-btn:hover i {
    transform: translateX(4px);
}

/* ===================== Images Scroll ===================== */
#nex-imagesroll {
    max-width: 900px;
    aspect-ratio: 9 / 12;
    display: flex;
    overflow: hidden;
    gap: 20px;
}

#nex-imagesroll .nex-imagesroll__col {
    flex: 1;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to bottom, transparent, black 12%, black 88%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 12%, black 88%, transparent);
}

#nex-imagesroll .nex-imagesroll__track {
    display: flex;
    flex-direction: column;
    gap: 20px;
    will-change: transform;
}

#nex-imagesroll .nex-imagesroll__track img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    display: block;
}

#nex-imagesroll .nex-imagesroll__col--left .nex-imagesroll__track {
    animation: nexImagesrollUp 40s linear infinite;
}

#nex-imagesroll .nex-imagesroll__col--right .nex-imagesroll__track {
    animation: nexImagesrollDown 40s linear infinite;
}

#nex-imagesroll:hover .nex-imagesroll__track {
    animation-play-state: paused;
}

@keyframes nexImagesrollUp {
    from {
        transform: translateY(0);
    }

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

@keyframes nexImagesrollDown {
    from {
        transform: translateY(-50%);
    }

    to {
        transform: translateY(0);
    }
}

.nav-left {
    justify-content: flex-end;
    display: flex;
}

ul.header-nav.header-nav-main.nav.nav-left.nav-size-large.nav-spacing-xlarge li {
    margin: 0 30px;
}

/* ===================== MEDIA QUERIES (ALL AT END) ===================== */
@media (prefers-reduced-motion: reduce) {
    #nex-imagesroll .nex-imagesroll__track {
        animation: none !important;
    }
}

@media (max-width: 1140px) {
    .nex-reviews .nex-p0 {
        transform: translate(-50%, -50%) translateX(-420px) translateY(72px) rotate(-12deg);
    }

    .nex-reviews .nex-p1 {
        transform: translate(-50%, -50%) translateX(-210px) translateY(18px) rotate(-8deg);
    }

    .nex-reviews .nex-p3 {
        transform: translate(-50%, -50%) translateX(210px) translateY(18px) rotate(8deg);
    }

    .nex-reviews .nex-p4 {
        transform: translate(-50%, -50%) translateX(420px) translateY(72px) rotate(12deg);
    }
}

@media (max-width: 980px) {
    .nex-services-row {
        flex-direction: column;
    }
}

@media (max-width: 849px) {
    .nex-svc-btn {
        opacity: 1;
        transform: none;
        pointer-events: auto;
    }

    .leftstabout,
    .rightstabout {
        flex-basis: 100% !important;
        max-width: 100% !important;
    }
}

@media (max-width: 768px) {

    /* Case studies */
    .case-studies-wrapper {
        width: 100%;
        padding: 0 16px;
        box-sizing: border-box;
    }

    .case-studies-wrapper .cs-grid {
        grid-template-columns: 1fr;
    }

    .case-studies-wrapper .topinner {
        align-items: flex-start;
        flex-direction: column;
    }

    /* Partner */
    .partners-wrapper {
        width: 100%;
        padding: 0 16px;
        box-sizing: border-box;
    }

    .partners-wrapper .scroller-outer {
        margin-right: 0;
    }

    .partners-wrapper .item {
        width: 280px;
    }

    /* Typography helpers (mobile) */
    .font40,
    .font40 h1,
    .font40 h2,
    .font40 h3,
    .font40 h4,
    .font40 h5,
    .font40 h6,
    .font40 span,
    .font40 p {
        font-size: 24px !important;
    }

    .font30,
    .font30 h1,
    .font30 h2,
    .font30 h3,
    .font30 h4,
    .font30 h5,
    .font30 h6,
    .font30 span,
    .font30 p {
        font-size: 24px !important;
    }

    .font32,
    .font32 h1,
    .font32 h2,
    .font32 h3,
    .font32 h4,
    .font32 h5,
    .font32 h6,
    .font32 span,
    .font32 p {
        font-size: 32px !important;
    }

    .font28,
    .font28 h1,
    .font28 h2,
    .font28 h3,
    .font28 h4,
    .font28 h5,
    .font28 h6,
    .font28 span,
    .font28 p {
        font-size: 20px !important;
    }

    .font20,
    .font20 h1,
    .font20 h2,
    .font20 h3,
    .font20 h4,
    .font20 h5,
    .font20 h6,
    .font20 span,
    .font20 p {
        font-size: 16px !important;
    }

    .leftbghome1 {
        min-height: 320px;
    }

    .col.leftbghome1.medium-5.small-11.large-5 {
        padding-left: 40px !important;
    }

    .squad-wrapper {
        width: 100%;
        padding: 0 16px;
        box-sizing: border-box;
    }

    .squad-wrapper .scroller-outer {
        margin-right: 0;
    }

    .squad-wrapper .squad-body {
        flex-direction: column;
        gap: 16px;
    }

    .squad-wrapper .squad-first {
        flex: 0 0 auto;
        width: 100%;
    }

    .squad-wrapper .item {
        width: 280px;
    }

    .squad-wrapper .squad-first .item {
        width: 100% !important;
    }

    .tclear {
        display: none;
    }

    span.inner-sp1 {
        font-size: 28px;
    }

    .wrap-item {
        background: #022cea;
        color: #fff;
        border-radius: 12px;
        display: grid;
        flex-direction: column;
        padding: 15px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .squad-wrapper .squad-body {
        gap: 32px;
    }

    .squad-wrapper .scroller {
        touch-action: pan-x;
    }

    span.inner-sp2 {
        font-size: 14px;
        font-weight: bold;
    }

    .inner-w {
        display: flex;
        flex-direction: column;
        border-right: 1px solid #ffff;
        padding: 10px;
    }

    .inner-w:last-child {
        border-right: unset;
    }

    .cs-nav {
        display: none;
    }

    .topinner h2 {
        font-size: 24px;
        margin: 0 !important;
        color: #22262F;
    }

    .eyebrow {
        justify-content: center;
    }

    .squad-wrapper .button-scroll,
    .cs-nav,
    .cs-nav {
        display: none !important;
    }

    .textww {
        width: 100%;
        text-align: center;
    }

    .nex-reviews .nex-p1 {
        transform: translate(-50%, -50%) translateX(-325px) translateY(18px) rotate(-8deg);
    }

    .nex-reviews .nex-p3 {
        transform: translate(-50%, -50%) translateX(325px) translateY(18px) rotate(8deg);
    }

    .accordion-title {
        font-size: 18px;
    }

    button.toggle i {
        font-size: 18px;
        margin-top: 2px;
    }

    .nex-social-text {
        font-size: 14px !important;
    }

    .nex-social-icon {
        width: 32px !important;
        height: 32px !important;
    }

    .nex-social-grid {
        max-width: 100%;
        display: grid;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 10px !important;
    }

    .nex-social-card {
        width: 81px !important;
        height: 104px !important;
    }

    .squad-wrapper .topinner {
        display: flex;
        justify-content: center;
    }

    .accordion .toggle {
        width: 20px !important;
        height: 24px !important;
        min-height: 20px !important;
    }

    .wrapbtn-st {
        display: flex;
        justify-content: center;
    }

    .leftmb h1,
    .leftmb h2,
    .leftmb h3,
    .leftmb p {
        text-align: left !important;
    }

    .leftstabout,
    .rightstabout {
        flex-basis: 100% !important;
        max-width: 100% !important;
    }

    .leftstabout .col-inner {
        padding: 40px 15px !important;
    }

    .leftmb {
        display: flex;
        gap: 28px;
        margin-bottom: 30px;
    }

    .text.tbt.leftmb {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .font18mb,
    .font18mb h1,
    .font18mb h2,
    .font18mb h3,
    .font18mb h4,
    .font18mb h5,
    .font18mb h6,
    .font18mb span,
    .font18mb p {
        font-size: 18px !important;
    }

    .font14mb,
    .font14mb h1,
    .font14mb h2,
    .font14mb h3,
    .font14mb h4,
    .font14mb h5,
    .font14mb h6,
    .font14mb span,
    .font14mb p {
        font-size: 14px !important;
    }

    .ww_reviews .eyebrow {
        margin-bottom: 20px;
    }

    .leftmb .icon {
        width: 80px;
    }

    .wraptop {
        width: 90%;
    }

    .nex-svc-card {
        margin-bottom: 60px;
    }

    .nex-svc-card:last-child {
        margin-bottom: 0px;
    }

    .wrapbtn-st.nex-eyebrow-left {
        justify-content: flex-start;
    }

    .leftbghome1 {
        background: url(assets/images/homebg2_1.jpg) center center / cover no-repeat;
    }
}

button#top-link {
    width: 40px;
    height: 40px;
    border: 1px solid #c2c2c2;
}

.off-canvas .nav-vertical>li>a {
    padding-bottom: 10px;
    padding-top: 10px;
    text-transform: unset;
}

.off-canvas-left .mfp-content,
.off-canvas-right .mfp-content {
    box-shadow: 0 0 10px 0 rgb(145 145 145 / 27%);
}

.squad-wrapper .scroller {
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
}

.squad-wrapper .item {
    scroll-snap-align: start;
}

@media (max-width: 849px) {
    .squad-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 16px;
        box-sizing: border-box;
    }

    .squad-wrapper .squad-body {
        flex-direction: column;
    }

    .squad-wrapper .squad-list {
        width: 100%;
        min-width: 0;
    }

    .squad-wrapper .scroller-outer {
        margin-right: 0 !important;
    }

    .squad-wrapper .scroller {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x;
    }

    .squad-wrapper .scroller {
        scroll-snap-type: x mandatory;
        scroll-padding-left: 16px;
        scroll-behavior: smooth;
    }

    .squad-wrapper .item {
        scroll-snap-align: start;
    }
}

.squad-wrapper .thumb img {
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: none;
}