:root {
    --white: #fff;
    --black: #000;
    --gray: #5f6368;
    --lite: #bfbfbf;
    --dark: #0F2A2E;

    --green: #B6D907;

    --neon_green: #B6D907;
}

*,
html {
    scroll-behavior: smooth;
}

*,
*:after,
*:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}


/*********************************
      CUSTOM SCROLL BAR
**********************************/
::-webkit-scrollbar {
    height: 12px;
    width: 2px;
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: gray;
    -webkit-box-shadow: 0px 1px 2px var(--dark);
}

::-webkit-scrollbar-corner {
    background: var(--dark);
}


/*********************************
       DEFAULT ELEMENTS
**********************************/
body {
    margin: 0;
    overflow-x: hidden !important;
}

a {
    text-decoration: none !important;
    min-width: fit-content;
    width: fit-content;
    width: -webkit-fit-content;
    width: -moz-fit-content;
}

a,
button {
    transition: 0.5s;
}

.img-container {
    padding: 0;
    margin: 0;
}

.img-container img {
    width: 100%;
    height: 100%;
}

.card-content,
.fixed-flex {
    display: flex;
}

.flex-content {
    width: 100%;
}

.align_center {
    align-items: center;
}

.t_center {
    text-align: center;
}

.padding_1 {
    padding: 1vw;
}

.padding_2 {
    padding: 2vw;
}

.padding_3 {
    padding: 3vw;
}

.padding_4 {
    padding: 4vw;
}

.big {
    font-size: 5vw;
}

.medium {
    font-size: 2vw;
}

.small {
    font-size: 1.3vw;
}

.relative {
    position: relative;
}

.btn {
    padding: 0.6rem 1rem;
    color: inherit;
    position: relative;
    white-space: nowrap;
}

.arrow-btn {
    position: relative;
    color: inherit;
    display: flex;
    align-items: center;
}

.arrow-btn:before {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    height: 1px;
    width: 100%;
    background-color: currentcolor;
}

.arrow-btn:after {
    content: "\f061";
    font-family: "FontAwesome";
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translate(0px, -50%) rotate(-45deg);
    transition: 0.5s;
}

.arrow-btn:hover:after {
    transform: translate(0px, -50%) rotate(0deg);
}

@media screen and (max-width:720px) {
    .card-content {
        flex-wrap: wrap;
    }

    .big {
        font-size: 1.8em;
    }

    .medium {
        font-size: 1.4em;
    }

    .small {
        font-size: 1em;
    }

    .btn {
        padding: 0.5rem 1rem;
    }

    a,
    p,
    .btn {
        font-size: 12px;
    }
}

@media screen and (max-width:520px) {
    .big {
        font-size: 20px;
    }

    .medium {
        font-size: 16px;
    }

    .small {
        font-size: 14px;
    }
}

/*SMALL SCREEN*/
@media (max-width:300px) {

    .padding_1,
    .padding_2,
    .padding_3,
    .padding_4 {
        padding: 0.5rem;
    }

    .big {
        font-size: 1.3em;
    }

    .medium {
        font-size: 1em;
    }

    .small {
        font-size: 0.7em;
    }

    a,
    p,
    .btn {
        font-size: 10px;
    }

}

/*********************************
  GSAP HORIZONTAL SCROLLTRIGGER
**********************************/
.gsap-horizontal-scrolltrigger {
    background-color: var(--dark);
    color: var(--white);
    padding-top: 120px;
}

.core-cards {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 24px 0 0 0 !important;
    padding: 0;
}

.core-cards .title,
.core-cards .sub_title {
    font-weight: 400;
}

.core-cards em {
    color: var(--neon_green);
}

.core-cards .title-header {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40vw;
    z-index: 1;
    text-transform: uppercase;
}

.core-cards .title-header .title {
    font-size: 3vw;
}

.core-cards .title-header:after,
.core-cards .title-header:before {
    content: "";
    position: absolute;
    top: 50%;
    right: -2rem;
    transform: translate(0%, -50%) rotate(90deg);
    width: 93px;
    height: 60px;
    background-image: url("https://raw.githubusercontent.com/bboysdreamsfell/GSAP-Horizontal-ScrollTrigger/refs/heads/main/images/arrow.svg");
    z-index: 1;
}

.core-cards .title-header:before {
    right: -6rem;
}


.core-card {
    display: flex;
    gap: 2.5rem;
    padding: 1rem;
    position: relative;
    padding: 2rem;
    max-width: 55vw;
    flex: 0 0 auto;
    align-items: center;
}

.core-card img {
    max-height: 60vh;
    object-fit: cover;
    object-position: top;
}

.core-card p {
    font-weight: 200;
    opacity: 0.6;
}

.core-card .arrow-btn {
    color: var(--neon_green);
    text-transform: uppercase;
}

@media (max-width:920px) {

    .core-cards .title-header,
    .core-card {
        width: 70vw;
        min-width: 70vw;
    }
}

@media (max-width:720px) {

    .core-cards .title-header,
    .core-card {
        width: 100vw;
        min-width: 100vw;
    }

    .core-cards .title-header .title {
        font-size: 20px;
    }

    .core-cards .title-header:before {
        right: 1.6rem;
    }

    .core-cards .title-header:after,
    .core-cards .title-header:before {
        right: 0rem;
        width: 85px;
        height: 55px;
    }
}

.split-section {
    padding: 120px 20px;
}

.split-wrapper {
    display: flex;
    align-items: flex-start;
    max-width: 1200px;
    margin: auto;
    gap: 60px;
}

/* LEFT */
.left-panel {
    width: 60%;
    padding-top: 130px;
}

.left-panel h2 {
    font-size: 40px;
    margin-bottom: 30px;
    color: #282828;
}

.left-panel img {
    width: 80%;
    border-radius: 12px;
}

/* RIGHT */
.right-panel {
    width: 40%;
    min-height: 80vh;
}

.right-panel .info {
    display: flex;
    flex-direction: column;
    margin-bottom: 80px;
    font-size: 20px;
}

.right-panel span {
    font-size: 30px;
    color: #282828;
    font-weight: 600;
}

@media (max-width: 1024px) {
    .split-wrapper {
        gap: 40px;
    }

    .left-panel {
        width: 50%;
        padding-top: 80px;
    }

    .right-panel {
        width: 50%;
    }

    .left-panel h2 {
        font-size: 32px;
    }

    .right-panel span {
        font-size: 22px;
    }
}

/* ============================
   MOBILE (STACK + NO PIN)
============================ */
@media (max-width: 768px) {
    .split-wrapper {
        flex-direction: column;
        gap: 50px;
    }

    .left-panel,
    .right-panel {
        width: 100%;
        padding-top: 0;
    }

    .left-panel img {
        width: 100%;
    }

    .left-panel h2 {
        font-size: 28px;
    }

    .right-panel .info {
        margin-bottom: 40px;
    }

    .right-panel span {
        font-size: 20px;
    }
}

.client-review {
    position: relative;
    min-height: 100vh;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: center;
    justify-content: center;
    background-color: #0F2A2E;
    overflow: hidden;
}

.client-review h2{
    font-size: 3.5vw;
    color: white;
    font-weight: 600;
    text-align: center;
}

/* STACK */
.stack {
    position: relative;
    width: 100%;
    max-width: 1000px;
    min-height: 520px;
}

/* CARD */
.client-card {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #0d4f7a, #0a6c92);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 40px;
    opacity: 0;
    transform: scale(.92) translateY(40px);
    transition:
        transform 700ms cubic-bezier(.22, .61, .36, 1),
        opacity 500ms ease;
    z-index: 0;
}

/* IMAGE */
.client-card img {
    width: clamp(160px, 25vw, 240px);
    height: clamp(160px, 25vw, 240px);
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

/* TEXT */
.client-card .content {
    max-width: 480px;
    color: #fff;
}

.client-card p {
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.5;
    margin-bottom: 20px;
}

.client-card span {
    font-size: 14px;
    opacity: .9;
}

/* ACTIVE */
.client-card.active {
    opacity: 1;
    transform: scale(1) translateY(0);
    z-index: 3;
}

/* BEHIND */
.client-card.behind {
    opacity: .4;
    transform: scale(.95) translateY(-30px);
    z-index: 1;
}

/* NAV BUTTONS */
.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, .3);
    color: #fff;
    font-size: 32px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    z-index: 10;
}

.prev {
    left: 24px;
}

.next {
    right: 24px;
}

/* ---------------- TABLET ---------------- */
@media (max-width: 1024px) {
    .client-card {
        padding: 32px;
        gap: 32px;
    }

    .nav {
        width: 56px;
        height: 56px;
        font-size: 28px;
    }
}

/* ---------------- MOBILE ---------------- */
@media (max-width: 768px) {
    .stack {
        min-height: 600px;
    }

    .client-card {
        flex-direction: column;
        text-align: center;
        justify-content: center;
        padding: 28px 22px;
    }

    .client-card img {
        margin-bottom: 20px;
    }

    .nav {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }

    .prev {
        left: 10px;
    }

    .next {
        right: 10px;
    }
}

/* ---------------- SMALL MOBILE ---------------- */
@media (max-width: 480px) {
    .client-card p {
        font-size: 16px;
    }

    .client-card span {
        font-size: 13px;
    }
}