.gallery-slider {
    padding: 80px 0;
    background: #000000;
    overflow: hidden;
    position: relative;
}

.gallery-slider .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 18px;
}

.gallery-slider .ts-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 60px;
    align-items: center;
}

.gallery-slider .ts-hero-left .ts-mini {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid #cde96c;
    font-size: 13px;
    margin-bottom: 18px;
    color: #cde96c;
}

.gallery-slider .ts-hero-left h1 {
    font-size: 56px;
    line-height: 1.05;
    font-weight: 900;
    margin-bottom: 18px;
    color: #ffffff;
}
.gallery-slider .ts-hero-left h1 span{
background: linear-gradient(90deg, #c3f11e, #dfce0f, #2f3f01);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}
.gallery-slider .ts-hero-left h1 span::after {
content: "";
    position: absolute;
    right: -193px;
    bottom: 2px;
    background-image: url(../images/growth.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 100%;
    height: 50px;
}
.gallery-slider .ts-hero-left p {
    font-size: 15px;
    line-height: 1.6;
    color: rgb(244 255 206);
    max-width: 420px;
    margin-bottom: 22px;
}

.gallery-slider .ts-btn {
    display: inline-flex;
    padding: 13px 22px;
    border-radius: 999px;
    background: #cde96c;
    color: #070707;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: 0.25s;
}

.gallery-slider .ts-btn:hover {
    transform: translateY(-2px);
}

.gallery-slider .ts-points {
    margin-top: 20px;
    padding: 0;
    list-style: none;
}

.gallery-slider .ts-points li {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.65);
    margin: 8px 0;
}

.gallery-slider .ts-hero-right {
    height: 640px;
    position: relative;
}

.gallery-slider .ts-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    height: 100%;
}

.gallery-slider .ts-col {
    height: 100%;
    overflow: hidden;
    border-radius: 26px;
    position: relative;
}

.gallery-slider .ts-col::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgb(0, 0, 0),
            rgba(255, 255, 255, 0) 20%,
            rgba(255, 255, 255, 0) 80%,
            rgb(0, 0, 0));
    pointer-events: none;
    z-index: 2;
}

.gallery-slider .ts-track {
    display: flex;
    flex-direction: column;
    gap: 16px;
    will-change: transform;
    height: max-content;
    pointer-events: none;
}

.gallery-slider .ts-card {
    border-radius: 22px;
    overflow: hidden;
    height: 230px;
    position: relative;
    z-index: 5;
}


.gallery-slider .ts-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 6;
    pointer-events: auto;
}

.gallery-slider .ts-col.down .ts-track {
    animation: tsDown 22s linear infinite;
}

.gallery-slider .ts-col.up .ts-track {
    animation: tsUp 22s linear infinite;
}

.gallery-slider .ts-col:hover .ts-track {
    animation-play-state: paused;
}

@keyframes tsDown {
    from {
        transform: translateY(-50%);
    }

    to {
        transform: translateY(0%);
    }
}

@keyframes tsUp {
    from {
        transform: translateY(0%);
    }

    to {
        transform: translateY(-50%);
    }
}
/*Popup Modal */

.ts-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.86);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 18px;
}

.ts-modal.show {
    display: flex;
}

.ts-modal img {
    max-width: min(92vw, 980px);
    max-height: 86vh;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.75);
}

.ts-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

.ts-card {
    position: relative;
    z-index: 5;
}

.ts-track {
    pointer-events: none;
}

.ts-card img {
    position: relative;
    z-index: 6;
    pointer-events: auto;
}



.gallery-slider .gs-bg-video{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.gallery-slider .gs-overlay{
  position: absolute;
  inset: 0;
  z-index: 1;
background: #000000;
background: linear-gradient(0deg, rgba(0, 0, 0, 1) 16%, rgba(0, 0, 0, 0.794) 61%, rgba(0, 0, 0, 1) 90%);
}

.gallery-slider .container{
  position: relative;
  z-index: 2;
}


/* responsive */
@media(max-width: 990px){
.gallery-slider .ts-hero-left h1 span::after {
    right: -138px;
    height: 34px;
}
    .gallery-slider .ts-cols {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media(max-width: 1000px) {
    .gallery-slider .ts-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .gallery-slider .ts-hero-left h1 {
        font-size: 42px;
    }

    .gallery-slider .ts-hero-right {
        height: 520px;
    }
}

@media(max-width: 520px) {

    .gallery-slider .ts-hero-right {
        height: 520px;
    }
}

.gallery-slider .ts-hero-right {
    transform: skewX(-10deg);
}

@media (min-width:1200px) and (max-width:1500px){
.gallery-slider .ts-hero-left h1 {
    font-size: 40px !important;
}
.gallery-slider .ts-hero-left h1 span::after {
    right: -144px;
}
.gallery-slider .ts-hero-left p {
    font-size: 13px;
}
}
@media (min-width:1900px) and (max-width:2500px){
    .gallery-slider .container {
    max-width: 1700px;
}
.gallery-slider .ts-hero-left .ts-mini {
    font-size: 18px;
}
.gallery-slider .ts-hero-left p {
    font-size: 20px;
}
.gallery-slider .ts-btn {
    font-size: 18px;
}
}
