:root {
    --primary-color: #cbfe1c;
    --dark-bg: #0b0e13;
    --font-heading: 'Days One', sans-serif;
    --font-body: 'Chakra Petch', sans-serif;
    --darker-primary: #a9d70f;
    --gray: #9ca3af;
    --offcanvas-bg: #0c1018;
    --navbar-mobile-height: 4.5rem;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    background-color: var(--dark-bg);
    color: #fff;
    font-family: var(--font-body);
    overflow-x: clip;
    width: 100%;
    position: relative;
}

::selection {
    background: var(--primary-color);
    color: var(--dark-bg);
}

.text-primary-color {
    color: var(--primary-color) !important;
}

/*NAV*/
.custom-navbar {
    background-color: var(--dark-bg);
    border-bottom: 1px solid #1f2937;
    padding-top: 1rem;
    padding-bottom: 1rem;
    position: sticky;
    top: 0;
    z-index: 50;
}

.logo-text {
    color: var(--primary-color) !important;
    font-size: 1.25rem;
    font-weight: bold;
}

.custom-toggler {
    border: 2px solid var(--primary-color);
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
}

.custom-toggler i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.nav-link {
    color: #f1f1f1 !important;
    margin-right: 1.5rem;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-item .nav-link.active {
    color: var(--primary-color) !important;
    font-weight: bold;
}

.nav-icon {
    color: #f1f1f1;
    font-size: 1.125rem;
    transition: color 0.3s;
}

.nav-icon:hover {
    color: var(--primary-color);
}

.btn-primary-custom {
    color: var(--dark-bg);
    font-weight: bold;
    border-radius: 0.5rem;
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--primary-color);
    transition: background-position 0.6s ease-in-out, color 0.6s ease-in-out;
    position: relative;
    z-index: 1;
    overflow: hidden;
    background: linear-gradient(to right,
            var(--darker-primary) 0%,
            var(--darker-primary) 50%,
            var(--primary-color) 50%,
            var(--primary-color) 100%);
    background-size: 200% 100%;
    background-position: right bottom;
}

.btn-primary-custom::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 40%;
    height: 100%;
    transform: skewX(-20deg);
    background: linear-gradient(to right, transparent 0%, rgba(255, 255, 255, 0.8) 50%, transparent 100%);
    transition: transform 0.6s ease-in-out, left 0.6s ease-in-out;
    z-index: 2;
}

.btn-primary-custom:hover {
    background-position: left bottom;
    color: var(--dark-bg);
}

.btn-primary-custom:hover::before {
    left: 140%;
}

.btn-outline-custom {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: bold;
    border-radius: 0.5rem;
    padding: 0.5rem 1.5rem;
    transition: background-position 0.6s ease-in-out, color 0.6s ease-in-out;
    position: relative;
    z-index: 1;
    overflow: hidden;
    background: linear-gradient(to right,
            var(--darker-primary) 0%,
            var(--darker-primary) 50%,
            transparent 50%,
            transparent 100%);
    background-size: 200% 100%;
    background-position: right bottom;
}

.btn-outline-custom::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 40%;
    height: 100%;
    transform: skewX(-20deg);
    background: linear-gradient(to right, transparent 0%, rgba(255, 255, 255, 0.8) 50%, transparent 100%);
    transition: transform 0.6s ease-in-out, left 0.6s ease-in-out;
    z-index: 2;
}

.btn-outline-custom:hover {
    background-position: left bottom;
    color: var(--dark-bg);
}

.btn-outline-custom:hover::before {
    left: 140%;
}

@media (max-width: 991px) {
    .custom-navbar {
        height: var(--navbar-mobile-height);
    }

    .logo-text {
        margin-right: auto !important;
        margin-left: -0.5rem !important;
    }

    #mobileNavCollapse {
        position: fixed;
        top: var(--navbar-mobile-height);
        left: 0;
        width: 100%;
        max-height: calc(100vh - var(--navbar-mobile-height) - 1rem);
        background-color: var(--offcanvas-bg);
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        padding: 1.5rem;
        overflow-y: auto;
    }

    #mobileNavCollapse.show {
        transform: translateX(0);
    }

    .custom-navbar .container {
        position: relative;
        z-index: 1050;
    }

    .navbar-nav {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        padding-bottom: 2rem;
        border-bottom: 1px solid #1f2937;
    }

    .nav-link {
        font-size: 1.5rem;
        padding: 0.5rem 0;
    }

    .right-icons {
        display: flex;
        flex-direction: column;
        align-items: flex-start !important;
        padding-top: 1.5rem;
        gap: 1rem;
    }

    .right-icons .btn-primary-custom {
        width: 100%;
        text-align: center;
        margin-top: 1rem;
    }
}

@media (max-width: 300px) {
    :root {
        --navbar-mobile-height: 2.5rem;
    }

    .custom-navbar {
        padding-top: 0.3rem;
        padding-bottom: 0.3rem;
    }

    .logo-text {
        font-size: 0.5rem;
    }

    .custom-toggler {
        padding: 0.15rem 0.35rem;
    }

    .custom-toggler i {
        font-size: 0.7rem;
    }

    #mobileNavCollapse {
        top: var(--navbar-mobile-height);
        max-height: calc(100vh - var(--navbar-mobile-height) - 0.2rem);
        padding: 0.4rem;
    }

    .navbar-nav {
        gap: 0.1rem;
        padding-bottom: 0.6rem;
    }

    .nav-link {
        font-size: 0.9rem;
        padding: 0.2rem 0;
    }

    .right-icons {
        padding-top: 0.4rem;
        gap: 0.2rem;
    }

    .btn-primary-custom {
        font-size: 0.65rem;
        padding: 0.2rem 0.6rem;
    }

    .navbar-nav.d-lg-none .nav-item a i {
        font-size: 0.6rem;
        margin-left: 0.4rem !important;
    }
}

@media (min-width: 992px) {
    .navbar-nav {
        margin-left: 0 !important;
        margin-right: auto !important;
    }
}

/*Hero Section*/
.hero-section {
    min-height: 100vh;
    padding-top: 80px;
    background: linear-gradient(#000000e0, #000000e0), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.main-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: bold;
    line-height: 1.25;
    margin-bottom: 1.5rem;
}

.hero-desc {
    color: #d1d5db;
    margin-bottom: 2rem;
    line-height: 1.625;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.125rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.hero-buttons a {
    min-width: 200px;
    text-align: center;
    font-size: 1rem;
}

.custom-img-border {
    background: linear-gradient(to right, var(--primary-color), #4ade80);
    padding: 0.5rem;
    border-radius: 1rem;
    position: relative;
    overflow: hidden;
}

.stats-card {
    position: absolute;
    bottom: -1.5rem;
    left: -2rem;
    background-color: var(--dark-bg);
    border: 1px solid var(--primary-color);
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
    min-width: 120px;
    max-width: 200px;
    width: auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 10;
    padding: 0.5rem 1rem;
}

.stats-card i {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.small-text {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1;
    margin-bottom: 0.1rem;
}

.stats-card .fw-bold {
    font-size: 2rem;
    line-height: 1;
}

@media (min-width: 1024px) {
    .main-title {
        font-size: 3.75rem;
    }

    .hero-desc {
        font-size: 1.125rem;
        margin-left: 0;
        margin-right: 0;
    }

    .hero-section .row {
        min-height: calc(100vh - 80px - 4rem);
        display: flex;
        align-items: stretch;
    }

    .hero-section .col-lg-6 {
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: left;
    }

    .hero-buttons {
        justify-content: flex-start;
    }

    .hero-section .custom-img-border {
        width: 100%;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-section img {
        display: block;
        width: 100%;
        max-height: 100%;
        height: auto;
        object-fit: contain;
    }
}

@media (max-width: 1023px) {
    .hero-section .col-lg-6 {
        text-align: center;
        margin-bottom: 2rem;
    }

    .custom-img-border {
        margin-left: auto;
        margin-right: auto;
    }

    .main-title {
        font-size: 4vw;
    }

    .hero-desc {
        font-size: 1.2vw;
        margin-left: auto;
        margin-right: auto;
        max-width: 500px;
    }

    .stats-card {
        padding: 0.4rem 0.8rem;
        width: auto;
    }

    .stats-card i {
        font-size: 1rem;
    }

    .small-text {
        font-size: 0.7rem;
    }

    .stats-card .fw-bold {
        font-size: 0.9rem;
    }
}

@media (max-width: 640px) {
    .hero-buttons a {
        width: 100%;
        min-width: auto;
        font-size: 0.9rem;
    }

    .main-title {
        font-size: 1.5rem;
    }

    .hero-desc {
        font-size: 0.9rem;
    }

    .stats-card {
        bottom: -0.3rem;
        left: -0.2rem;
        width: auto;
        min-width: auto;
        padding: 0.2rem 0.55rem;
        gap: 0.5rem;
    }

    .stats-card i {
        font-size: 0.45rem;
    }

    .small-text {
        font-size: 0.55rem;
    }

    .stats-card .fw-bold {
        font-size: 0.5rem;
    }
}

@media (max-width: 320px) {

    .main-title {
        font-size: 1rem;
    }

    .stats-card {
        bottom: 0;
        left: 0;
        width: auto;
        padding: 0;
        gap: 0;
        transform: scale(0.75);
        transform-origin: bottom left;
    }

    .stats-card i {
        font-size: 0.4rem;
    }

    .small-text {
        font-size: 0.3rem;
    }

    .stats-card .fw-bold {
        font-size: 0.4rem;
    }
}

/*latest-games section*/
#latest-games {
    padding-top: 200px !important;
    padding-bottom: 200px !important;
    scroll-margin-top: 100px;
    background-clip: padding-box;
}

.custom-carousel-control {
    z-index: 5 !important;
}

.btn-view-all {
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 10px 30px;
    border-radius: 8px;
    font-weight: bold;
    background: transparent;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-view-all:hover {
    background-color: var(--primary-color) !important;
    color: #000 !important;
    box-shadow: 0 0 20px var(--primary-color);
    transform: translateY(-3px);
}

.games-section {
    color: #fff;
}

.games-label {
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: .18em;
    font-size: .85rem;
    position: relative;
    display: inline-block;
    padding: 0 .6rem;
}

.games-label::before,
.games-label::after {
    content: "";
    position: absolute;
    top: 50%;
    height: 2px;
    width: 48px;
    transform: translateY(-50%);
    background: linear-gradient(90deg, transparent, var(--primary-color));
    opacity: .95;
}

.games-label::before {
    left: -56px;
}

.games-label::after {
    right: -56px;
    background: linear-gradient(270deg, transparent, var(--primary-color));
}

.custom-carousel-control {
    width: auto;
    height: auto;
    position: static;
    transform: none;
    border: none;
    background: transparent;
    margin: 0 5px;
    opacity: 1;
}

.btn-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #444;
    color: #fff;
    background: transparent;
    transition: all .3s ease;
}

.btn-circle i {
    font-size: 18px;
}

.btn-circle:hover,
.custom-carousel-control:hover .btn-circle {
    transform: translateY(-3px);
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #000;
    box-shadow: 0 0 20px var(--primary-color);
}

.game-card {
    padding: 0.35rem;
    box-sizing: border-box;
}

.card-visual {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: #070707;
    width: 100%;
    padding-top: 75%;
    transition: transform .28s ease, box-shadow .28s ease;
}

.card-visual:hover {
    transform: translateY(-6px);
}

.game-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s ease;
}

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

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 60%, rgba(11, 14, 19, 0.95) 100%);
    opacity: 0.7;
    transition: all .3s ease;
    z-index: 1;
}

.card-visual:hover .game-overlay {
    opacity: 1;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 30%, rgba(203, 254, 28, 0.6) 100%);
}

.game-tags {
    position: absolute;
    left: 1rem;
    top: -2rem;
    display: flex;
    gap: .5rem;
    transition: top .32s ease;
    z-index: 6;
}

.card-visual:hover .game-tags {
    top: 1rem;
}

.tag {
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-size: .68rem;
    font-weight: 800;
    padding: .33rem .6rem;
    border-radius: 999px;
    backdrop-filter: blur(5px);
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tag i {
    color: var(--primary-color);
}

.game-title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.2rem;
    transform: translateY(100%);
    transition: transform .32s ease;
    z-index: 6;
    text-align: left;
}

.game-title h3 {
    margin: 0;
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    transition: color .3s ease;
}

.card-visual:hover .game-title h3 {
    color: #000 !important;
    text-shadow: none;
}

.card-visual:hover .game-title {
    transform: translateY(0%);
}

.game-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 14px;
    border: 2px solid transparent;
    transition: all .28s ease;
    z-index: 7;
}

.card-visual:hover .game-border {
    border-color: var(--primary-color);
    box-shadow: 0 0 30px rgba(203, 254, 28, 0.4);
}

.carousel-inner {
    overflow: hidden;
}

@media (max-width: 1024px) {
    .games-section .col-lg-4 {
        width: 50% !important;
        flex: 0 0 50% !important;
    }

    .carousel-item .col-lg-4:nth-child(3) {
        display: none !important;
    }
}

@media (max-width: 768px) {

    .games-section .col-lg-4,
    .games-section .col-md-6 {
        width: 100% !important;
        flex: 0 0 100% !important;
    }

    .carousel-item .col-md-6:nth-child(2) {
        display: none !important;
    }

    .btn-circle {
        width: 42px !important;
        height: 42px !important;
    }

    .btn-circle i {
        font-size: 14px !important;
    }
}

@media (max-width: 640px) {
    .games-section .d-flex.justify-content-center.align-items-center {
        display: block !important;
        text-align: center !important;
    }

    .mx-3 {
        display: none !important;
    }

    .btn-view-all,
    .btn-outline-primary {
        display: block !important;
        width: 100% !important;
        margin-top: 15px !important;
        padding: 10px !important;
        font-size: 0.8rem !important;
    }

    .custom-carousel-control {
        position: static !important;
        display: inline-flex !important;
        margin: 0 4px !important;
    }

    .game-tags {
        top: -2rem !important;
        transition: top .32s ease !important;
    }

    .card-visual:hover .game-tags {
        top: 0.5rem !important;
    }

    .game-title {
        transform: translateY(100%) !important;
    }

    .card-visual:hover .game-title {
        transform: translateY(0%) !important;
    }

    .game-title h3 {
        font-size: 0.85rem !important;
    }

    .tag {
        font-size: 0.55rem !important;
        padding: 0.2rem 0.4rem !important;
    }
}

@media (max-width: 400px) {

    .h2,
    h2 {
        font-size: 1.1rem !important;
    }

    .game-title h3 {
        font-size: 0.75rem !important;
    }

    .tag {
        font-size: 0.5rem !important;
        padding: 0.15rem 0.3rem !important;
    }

    .btn-circle {
        width: 35px !important;
        height: 35px !important;
    }
}

@media (max-width: 250px) {
    .games-label {
        font-size: 0.42rem !important;
        padding: 0 0.2rem !important;
    }

    .games-label::before,
    .games-label::after {
        width: 8px !important;
    }

    .games-label::before {
        left: -10px !important;
    }

    .games-label::after {
        right: -10px !important;
    }

    .h2,
    h2 {
        font-size: 0.75rem !important;
    }

    .btn-circle {
        width: 26px !important;
        height: 26px !important;
    }

    .btn-circle i {
        font-size: 9px !important;
    }

    .game-tags {
        left: 0.2rem !important;
        gap: 0.15rem !important;
    }

    .tag {
        font-size: 0.4rem !important;
        padding: 0.08rem 0.15rem !important;
        gap: 0.1rem !important;
    }

    .tag i {
        font-size: 0.38rem !important;
    }

    .game-title {
        padding: 0.25rem !important;
    }

    .game-title h3 {
        font-size: 0.6rem !important;
    }

    .btn-view-all {
        font-size: 0.6rem !important;
        padding: 5px !important;
    }
}

@media (max-width: 200px) {
    .btn-circle {
        width: 16px !important;
        height: 16px !important;
    }

    .btn-circle i {
        font-size: 6px !important;
    }

    .game-tags {
        left: 0.4rem !important;
        gap: 0.05rem !important;
        top: -3rem !important;
    }

    .card-visual:hover .game-tags {
        top: 0.2rem !important;
    }

    .tag {
        font-size: 0.25rem !important;
        padding: 0.5px 1.5px !important;
        gap: 0.05rem !important;
        letter-spacing: -0.03em !important;
        border-width: 0.5px !important;
    }

    .tag i {
        font-size: 0.25rem !important;
    }

    .game-title {
        padding-left: 0.4rem !important;
        padding-bottom: 0.2rem !important;
    }

    .game-title h3 {
        font-size: 0.45rem !important;
        line-height: 1 !important;
    }

    .btn-view-all {
        font-size: 0.5rem !important;
        padding: 3px !important;
        margin-top: 5px !important;
    }

    .games-label {
        font-size: 0.3rem !important;
    }

    .h2,
    h2 {
        font-size: 0.55rem !important;
    }
}

/*What We Do Section*/
#what-we-do {
    padding-top: 100px !important;
    margin-top: -100px !important;
    background-clip: padding-box;
}

.title p {
    color: var(--primary-color);
    letter-spacing: 2px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-transform: uppercase;
}

.title p::before {
    content: "";
    width: 60px;
    height: 2px;
    background: linear-gradient(to left, var(--primary-color), transparent);
}

.title p::after {
    content: "";
    width: 60px;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), transparent);
}

.title h2 {
    font-family: var(--font-heading) !important;
    text-transform: uppercase;
    font-size: 2.5rem;
}

.sub-h {
    font-family: var(--font-body);
}

.sub-h span {
    color: var(--primary-color);
}

.ourwork .icon {
    width: 30%;
    height: 70px;
    border-radius: 10px;
    background-color: #1e2939;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.item:hover .icon {
    background-color: var(--primary-color);
    color: var(--dark-bg);
}

.item {
    position: relative;
}

.item .inner {
    background-color: #1a1a1a;
    border: 2px solid #1e2939;
    transition: border 0.3s ease;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    height: 350px;
}

.item:hover .inner {
    border: 2px solid var(--primary-color);
}

.item .inner::before {
    content: "";
    position: absolute;
    bottom: -35px;
    right: -36px;
    width: 0;
    height: 0;
    border-top: 20px solid var(--primary-color);
    border-right: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 20px solid transparent;
    rotate: -43deg;
    transition: all 0.3s;
    z-index: 2;
}

.item:hover .inner::before {
    bottom: 0px;
    right: 0px;
}

.item .inner::after {
    content: "";
    position: absolute;
    top: -35px;
    left: -36px;
    width: 0;
    height: 0;
    border-top: 20px solid var(--primary-color);
    border-right: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 20px solid transparent;
    rotate: 135deg;
    transition: all 0.3s;
    z-index: 2;
}

.item:hover .inner::after {
    top: 0px;
    left: 0px;
}

.icon-playst {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 15px;
}

.icon-playst img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.work-contain {
    position: relative;
    padding-bottom: 40px;
}

.work-contain::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 20%;
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-color) 50%, transparent 100%);
    box-shadow: 0px 0px 15px 2px rgba(203, 254, 28, 0.4);
    border-radius: 15px;
}

.contin {
    background: radial-gradient(ellipse 50% 35% at center, rgba(203, 254, 28, 0.28) 0%, transparent 75%),
        var(--dark-bg);
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.contin::before,
.contin::after {
    content: "";
    position: absolute;
    top: 0;
    width: 20%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.contin::before {
    left: 0;
    background: linear-gradient(to right, var(--dark-bg), transparent);
}

.contin::after {
    right: 0;
    background: linear-gradient(to left, var(--dark-bg), transparent);
}

.imgaesmove-left,
.imgaesmove-right {
    display: flex;
    overflow: hidden !important;
}

.imgaesmove-right .group,
.imgaesmove-left .group {
    display: flex;
    gap: 5rem;
    flex-shrink: 0;
    padding: 10px 0;
}

.imgaesmove-right .group {
    animation: moveright 35s infinite linear;
}

.imgaesmove-left .group {
    animation: moveleft 35s infinite linear;
}

.imgaesmove-right .card,
.imgaesmove-left .card {
    width: 150px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    border: none !important;
    flex-shrink: 0;
}

.imgaesmove-right .card img,
.imgaesmove-left .card img {
    max-height: 80px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(203, 254, 28, 0.4));
}

@keyframes moveright {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(0);
    }
}

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

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

@media (min-width: 481px) and (max-width: 991px) {

    .item .inner,
    .icon-playst {
        height: 250px !important;
        min-height: 250px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 0 !important;
        overflow: hidden !important;
        margin-bottom: 0 !important;
        border-radius: 15px !important;
        text-align: center !important;
    }

    .icon-playst img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
    }

    .inner.ourwork {
        padding: 15px !important;
    }

    .ourwork .icon {
        width: 50px !important;
        height: 50px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: 15px !important;
        flex-shrink: 0 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .ourwork .icon i {
        font-size: 24px !important;
    }

    .inner.ourwork h3 {
        font-size: 1.1rem !important;
        line-height: 1.3 !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }

    #what-we-do .row {
        --bs-gutter-y: 20px !important;
        --bs-gutter-x: 20px !important;
    }
}

@media (max-width: 480px) {
    #what-we-do .row {
        --bs-gutter-y: 10px !important;
    }

    #what-we-do .row>div {
        padding: 5px !important;
    }

    .item .inner,
    .icon-playst {
        height: 125px !important;
        min-height: 125px !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        overflow: hidden !important;
        margin-bottom: 0 !important;
        border-radius: 12px !important;
    }

    .icon-playst img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
    }

    .inner.ourwork {
        padding: 5px !important;
    }

    .ourwork .icon {
        margin: 0 auto 8px auto !important;
        width: 35px !important;
        height: 35px !important;
        flex-shrink: 0 !important;
    }

    .ourwork .icon i {
        font-size: 14px !important;
    }

    .inner.ourwork h3 {
        font-size: 0.62rem !important;
        line-height: 1.2 !important;
        margin: 0 !important;
    }

    .item .inner::before,
    .item .inner::after {
        border-width: 8px !important;
    }

    .title h2 {
        font-size: 1.2rem !important;
    }

    .title p {
        font-size: 0.6rem !important;
        gap: 10px !important;
    }

    .title p::before,
    .title p::after {
        width: 25px !important;
    }

    .imgaesmove-right .group,
    .imgaesmove-left .group {
        gap: 15px !important;
    }

    .imgaesmove-right .card,
    .imgaesmove-left .card {
        width: 80px !important;
        height: 60px !important;
    }
}

@media (max-width: 280px) {
    #what-we-do .row {
        --bs-gutter-y: 6px !important;
    }

    #what-we-do .row>div {
        padding: 3px !important;
    }

    .item .inner,
    .icon-playst {
        height: 95px !important;
        min-height: 95px !important;
        border-radius: 8px !important;
    }

    .inner.ourwork h3 {
        font-size: 0.5rem !important;
    }

    .ourwork .icon {
        width: 22px !important;
        height: 22px !important;
        margin-bottom: 3px !important;
    }

    .ourwork .icon i {
        font-size: 9px !important;
    }

    .title p {
        font-size: 0.45rem !important;
        gap: 5px !important;
    }

    .title p::before,
    .title p::after {
        width: 15px !important;
    }

    .title h2 {
        font-size: 0.85rem !important;
    }

    .imgaesmove-right .card,
    .imgaesmove-left .card {
        width: 70px !important;
        height: 45px !important;
    }
}

/*team-members section*/
#team-members {
    padding-top: 150px !important;
    scroll-margin-top: 100px;
}

.team-sub-p {
    color: #e0e0e0;
    font-weight: 500;
    font-family: var(--font-body);
    max-width: 600px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.team-contain .inner {
    overflow: hidden;
    border-radius: 1rem;
    position: relative;
    cursor: pointer;
}

.team-contain .inner:before {
    content: "";
    backdrop-filter: grayscale() brightness(0.9);
    z-index: 1;
    height: 100%;
    transition: all 0.8s;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    transform: translateY(0);
}

.team-contain .inner:hover::before {
    transform: translateY(-100%);
}

.team-contain .text h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: #ffffff;
    text-shadow: 2px 2px 5px #000000;
    width: 80%;
}

.team-contain .text .green-txt {
    color: #e0e0e0;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 3px #000;
}

.team-contain .inner:hover .text .green-txt {
    color: var(--primary-color) !important;
}

.team-contain .text .gray-txt {
    color: #bdbdbd;
    font-size: 13px;
    font-weight: 600;
    text-shadow: 1px 1px 2px #000;
}

.team-contain .text .right-p {
    rotate: 90deg;
    color: #e0e0e0;
    font-size: 0.75rem;
    font-weight: 800;
    bottom: 22px;
    right: -12px;
    font-family: var(--font-heading);
    transition: all 0.3s ease;
    letter-spacing: 1px;
    text-shadow: 1px 1px 3px #000;
}

.team-contain .inner:hover .text .right-p {
    color: var(--primary-color) !important;
    text-shadow: 0 0 10px rgba(203, 254, 28, 0.5);
}

.team-contain .text {
    top: auto !important;
    bottom: 30px !important;
    left: 20px !important;
    z-index: 2;
}

@media (max-width: 1400px) {
    .team-contain .text {
        top: 65% !important;
        left: 20px !important;
    }

    .team-contain .text h3 {
        font-size: 0.9rem !important;
        margin-bottom: 2px !important;
    }

    .team-contain .text .green-txt {
        font-size: 10px !important;
    }

    .team-contain .text .right-p {
        font-size: 0.55rem !important;
        bottom: 22px !important;
        right: -12px !important;
        rotate: 90deg !important;
    }
}

@media (max-width: 1024px) {
    .team-contain .col-lg-3 {
        width: 50% !important;
        margin-bottom: 25px;
    }

    .team-contain .text {
        top: 65% !important;
    }

    .team-contain .text h3 {
        font-size: 1.15rem !important;
    }
}

@media (max-width: 768px) {
    .team-contain .col-lg-3 {
        width: 100% !important;
        max-width: 92%;
        margin: 0 auto 20px auto;
    }

    .team-contain .text {
        top: 70% !important;
    }

    .team-contain .text h3 {
        font-size: 1.25rem !important;
    }
}

@media (max-width: 430px) {
    .team-contain .text h3 {
        font-size: 1rem !important;
    }

    .team-contain .text .green-txt {
        font-size: 12px !important;
    }
}

@media (max-width: 330px) {
    .team-contain .text {
        bottom: 8px !important;
        left: 5px !important;
        width: auto !important;
    }

    .team-contain .text h3 {
        font-size: 0.7rem !important;
        line-height: 0.8 !important;
        margin: 0 !important;
        letter-spacing: -0.4px !important;
    }

    .team-contain .text .green-txt,
    .team-contain .text .gray-txt {
        font-size: 8.5px !important;
        line-height: 0.9 !important;
        margin: 0 !important;
    }

    .team-contain .text .right-p {
        display: block !important;
        font-size: 0.45rem !important;
        right: 5px !important;
        bottom: 22px !important;
        position: absolute !important;
        z-index: 5 !important;
        white-space: nowrap !important;
    }
}

@media (max-width: 250px) {
    .team-contain .text h3 {
        font-size: 0.4rem !important;
        letter-spacing: -0.5px !important;
    }

    .team-contain .text .green-txt,
    .team-contain .text .gray-txt {
        font-size: 5.5px !important;
    }

    .team-contain .text .right-p {
        font-size: 0.28rem !important;
        right: 3px !important;
        bottom: 18px !important;
    }
}

@media (max-width: 200px) {
    .team-contain .text {
        bottom: 2px !important;
        left: 3px !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .team-contain .text h3 {
        font-size: 0.35rem !important;
        line-height: 0.7 !important;
        letter-spacing: -0.6px !important;
        margin-bottom: 1px !important;
        white-space: nowrap !important;
    }

    .team-contain .text .green-txt,
    .team-contain .text .gray-txt {
        font-size: 4.8px !important;
        line-height: 0.7 !important;
        margin: 0 !important;
        display: block !important;
    }

    .team-contain .text .right-p {
        font-size: 0.25rem !important;
        right: 2px !important;
        bottom: 12px !important;
        rotate: 90deg !important;
        opacity: 0.8;
    }
}

/*contact section*/
.contact {
    background-color: #0b0e13;
    padding-top: 100px !important;
    margin-top: -50px !important;
}

.contact .title p:first-of-type:not(.sub-p) {
    color: var(--primary-color);
    letter-spacing: 2px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-transform: uppercase;
}

.contact .title .sub-p {
    color: #9ca3af !important;
    letter-spacing: normal !important;
    font-weight: 500 !important;
    text-transform: none !important;
    display: block !important;
    margin-top: 10px !important;
}

.contact .title h2 {
    font-family: var(--font-heading) !important;
    text-transform: uppercase;
}

.contact .card {
    background-color: #1e2939;
    border: none;
}

.contact .card i {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--dark-bg);
}

.text-address h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
}

.text-address p {
    color: #9ca3af;
}

.contact .lastcard {
    background: linear-gradient(90deg, rgba(202, 254, 31, 1) 20%, rgba(22, 224, 114, 1) 100%);
}

.lastcard h4,
.lastcard p {
    color: #000 !important;
    font-weight: 500;
}

.social-logo i {
    color: #cbfe1c !important;
    background: #000 !important;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.social-logo i:hover {
    background-color: #263b20 !important;
    transform: translateY(-3px);
}

.form-card {
    background-color: #1e2939;
}

form label {
    color: #d1d5dc;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
}

form input,
form textarea,
form select {
    background-color: #2d3748 !important;
    border: 1px solid #364153 !important;
    color: #fff !important;
}

form select {
    background-image: url("../images/chevron-down-solid-full.svg") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.75rem center !important;
    background-size: 16px 12px !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
}

form input::placeholder,
form textarea::placeholder {
    color: #8e949e !important;
    font-size: 0.9rem;
}

form input:focus,
form textarea:focus,
form select:focus {
    outline: none;
    border: 1px solid var(--primary-color) !important;
    box-shadow: 0 0 8px rgba(203, 254, 28, 0.2);
}

.contact .btnstart {
    color: #000 !important;
    font-weight: bold;
    border-radius: 0.5rem;
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--primary-color);
    transition: background-position 0.6s ease-in-out, color 0.6s ease-in-out;
    position: relative;
    z-index: 1;
    overflow: hidden;
    background: linear-gradient(to right,
            var(--darker-primary) 0%,
            var(--darker-primary) 50%,
            var(--primary-color) 50%,
            var(--primary-color) 100%);
    background-size: 200% 100%;
    background-position: right bottom;
}

.contact .btnstart i {
    color: #000 !important;
    background: transparent !important;
    width: auto !important;
    height: auto !important;
    margin-left: 8px;
}

.contact .btnstart::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 40%;
    height: 100%;
    transform: skewX(-20deg);
    background: linear-gradient(to right, transparent 0%, rgba(255, 255, 255, 0.8) 50%, transparent 100%);
    transition: transform 0.6s ease-in-out, left 0.6s ease-in-out;
    z-index: 2;
}

.contact .btnstart:hover {
    background-position: left bottom;
    color: #000 !important;
}

.contact .btnstart:hover::before {
    left: 140%;
}

.formfoot h3 {
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.formfoot p {
    color: #9ca3af !important;
}

@media (max-width: 380px) {
    .contact .title h2 {
        font-size: 1.4rem !important;
    }

    .contact .card {
        padding: 10px !important;
    }

    .contact .card i {
        width: 35px !important;
        height: 35px !important;
        font-size: 1rem !important;
    }

    .text-address h4 {
        font-size: 0.85rem !important;
    }

    .text-address p {
        font-size: 0.7rem !important;
    }

    .social-logo i {
        width: 30px !important;
        height: 30px !important;
        font-size: 0.8rem !important;
    }

    form label {
        font-size: 10px !important;
    }

    form input::placeholder,
    form textarea::placeholder {
        font-size: 0.65rem !important;
    }

    .formfoot h3 {
        font-size: 1rem !important;
    }

    .formfoot p {
        font-size: 0.7rem !important;
    }
}

@media (max-width: 260px) {
    .contact .container {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }

    .form-card {
        padding: 10px 5px !important;
    }

    .contact .title h2 {
        font-size: 0.8rem !important;
        margin-bottom: 2px !important;
    }

    .text-address h4 {
        font-size: 0.5rem !important;
        margin-bottom: 0 !important;
    }

    .text-address p {
        font-size: 0.4rem !important;
        line-height: 0.9 !important;
    }

    .contact .card {
        padding: 4px !important;
        margin-bottom: 5px !important;
        gap: 1px !important;
        display: flex !important;
        align-items: center !important;
    }

    .contact .card i {
        width: 20px !important;
        height: 20px !important;
        font-size: 0.6rem !important;
        flex-shrink: 0 !important;
    }

    .lastcard h4 {
        font-size: 0.75rem !important;
    }

    .lastcard p {
        font-size: 0.5rem !important;
    }

    .social-logo {
        display: flex !important;
        gap: 5px !important;
        justify-content: center !important;
        margin-top: 5px !important;
    }

    .social-logo i {
        width: 15px !important;
        height: 15px !important;
        font-size: 0.5rem !important;
    }

    form input,
    form textarea,
    form select {
        padding: 4px 6px !important;
        font-size: 0.6rem !important;
        margin-bottom: 5px !important;
    }

    form label {
        font-size: 7.5px !important;
        margin-bottom: 1px !important;
    }

    .contact .btnstart {
        padding: 5px !important;
        font-size: 0.65rem !important;
    }

    .formfoot h3 {
        font-size: 0.75rem !important;
    }

    .formfoot p {
        font-size: 0.5rem !important;
    }
}

/*footer*/
footer .column1 .icon i,
footer .column1 .icon a {
    color: var(--primary-color) !important;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.25rem;
}

footer .column1 .icon a:hover {
    color: var(--primary-color) !important;
}

footer .column1 p {
    color: #838a96;
    font-size: 1rem;
    font-weight: 400;
}

.footsocial i {
    color: #99a1af;
    transition: all 0.3s ease;
}

.footsocial i:hover {
    color: var(--primary-color);
}

footer h2 {
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

footer a {
    color: #838a96;
    transition: all 0.3s ease;
    text-decoration: none;
}

footer a:hover {
    color: var(--primary-color);
}

.linksfoot {
    position: relative;
    margin-top: 20px;
    padding-top: 30px;
}

.linksfoot::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    top: 0;
    left: 0;
    background-color: #364153;
}

.linksfoot p {
    color: #777d88;
}

@media (max-width: 1024px) {
    footer .row {
        display: flex !important;
        flex-wrap: wrap !important;
    }

    footer .content {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        margin-bottom: 2.5rem !important;
    }

    footer .column1 p {
        font-size: 0.9rem !important;
        max-width: 90%;
    }
}

@media (max-width: 991px) {
    .linksfoot {
        padding-top: 20px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .linksfoot p,
    .linksfoot .policy a {
        font-size: 0.75rem !important;
    }

    .linksfoot .policy a {
        margin-right: 15px !important;
    }
}

@media (max-width: 769px) {
    .linksfoot {
        flex-direction: column !important;
        text-align: center !important;
        gap: 12px !important;
    }

    .linksfoot p {
        margin-bottom: 0 !important;
    }

    .linksfoot .policy {
        display: flex !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
    }

    .linksfoot .policy a {
        margin-right: 0 !important;
    }
}

@media (max-width: 640px) {
    footer {
        padding: 2.5rem 1rem !important;
    }

    footer .content {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        text-align: left !important;
        margin-bottom: 2rem !important;
    }

    .footsocial {
        justify-content: left !important;
    }

    footer h2 {
        font-size: 1.1rem !important;
    }

    footer a,
    footer .column1 p {
        font-size: 0.85rem !important;
    }
}

@media (max-width: 395px) {
    footer.p-5 {
        padding: 10px 5px !important;
    }

    footer .container {
        padding: 0 !important;
        margin: 0 !important;
        max-width: 100% !important;
    }

    footer .row {
        margin: 0 !important;
    }

    footer .row>* {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    footer .column1 .icon {
        margin-bottom: 3px !important;
        text-align: left !important;
    }

    footer .column1 .icon i {
        font-size: 0.55rem !important;
        margin-right: 2px !important;
    }

    footer .column1 .icon a {
        font-size: 0.65rem !important;
    }

    footer h2 {
        font-size: 0.6rem !important;
        margin-bottom: 2px !important;
        text-align: left !important;
    }

    footer .content p,
    footer .content a {
        font-size: 0.45rem !important;
        margin-bottom: 2px !important;
        text-align: left !important;
        line-height: 1 !important;
    }

    .footsocial {
        justify-content: flex-start !important;
        gap: 8px !important;
        margin: 5px 0 !important;
    }

    .footsocial i {
        font-size: 0.55rem !important;
        margin-right: 0 !important;
    }

    .linksfoot {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 8px 0 0 0 !important;
        margin-top: 5px !important;
        gap: 4px !important;
        border-top: 1px solid #364153;
    }

    .linksfoot p {
        font-size: 0.45rem !important;
        margin: 0 !important;
        text-align: left !important;
        white-space: nowrap !important;
    }

    .linksfoot .policy {
        display: flex !important;
        justify-content: flex-start !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .linksfoot .policy a {
        font-size: 0.45rem !important;
        margin: 0 !important;
        white-space: nowrap !important;
    }

    footer .content {
        margin-bottom: 10px !important;
    }
}