/* SLIDER */

.slider-container {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.swiper-slide {
    position: relative;
}

.swiper-slide img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    filter: brightness(50%);
}

.swiper-slide video {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    filter: brightness(40%);
}


.banner-content {
    position: absolute;
    max-width: 800px;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}


.slider-title-wrapper {
    height: 50vh;
    /* border: 1px solid red; */
    display: flex;
    padding-bottom: 1rem;
    align-items: flex-end;
}

.slider-title {
    color: white;
    font-size: 3rem;
    z-index: 2;
}

.slider-title span {
    font-weight: 600;
}

.slider-title span.space {
    display: inline-block;
    width: 16px;
}

.slider-desc-wrapper {
    width: 300px;
    height: 50vh;
    opacity: 0;
}

.slider-desc-wrapper.animate {
    animation: fadeLeft 1s forwards 1.5s;
}

@keyframes fadeLeft {
    from {
        opacity: 0;
        transform: translateX(200px);
    }

    to {
        opacity: 1;
        transform: translateX(0px);
    }
}

.slider-desc-wrapper p::before {
    content: "";
    display: block;
    width: 100px;
    height: 4px;
    background-color: var(--color-primary);
    margin-bottom: 16px;
}

.slider-desc-wrapper p {
    color: white;
    font-size: 1.2rem;
}

@media screen and (max-width: 768px) {

    .slider-title-wrapper {
        padding-bottom: 8px
    }

    .slider-title {
        font-size: 2rem;
    }

    .slider-desc-wrapper p {
        font-size: 1rem;
    }

    @keyframes fadeLeft {
        from {
            opacity: 0;
            transform: translateX(100px);
        }

        to {
            opacity: 1;
            transform: translateX(0px);
        }
    }
}

.char {
    opacity: 0;
    filter: blur(5px);
    transition: opacity 1s, filter 1s;
}

.char.even {
    animation: fadeIn 1.5s forwards 0.6s;
}

.char.odd {
    animation: fadeIn 1.5s forwards 0.8s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        filter: blur(5px);
    }

    to {
        opacity: 1;
        filter: blur(0px);
    }
}

#banner .swiper-slide::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.5);
    transform: translateX(-50%);
}

/* custom swiper nav button */
.swiper-button-next,
.swiper-button-prev {
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 10px;
    z-index: 2;
    height: 50px;
    width: 50px;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.1);
}

.banner-next {
    right: 10%;
}

.banner-prev {
    left: 10%;
}

@media screen and (max-width: 768px) {
    .swiper-button-next {
        top: unset;
        bottom: 2rem;
        right: calc(50% - 60px);
    }

    .swiper-button-prev {
        top: unset;
        bottom: 2rem;
        left: calc(50% - 60px);
    }

    .project-next,
    .project-prev {
        bottom: 0;
    }

}


.swiper-button-next::after,
.swiper-button-prev::after {
    content: "";
    width: 30px;
    height: 30px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.swiper-button-next::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' d='M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z'/%3E%3C/svg%3E");
}

.swiper-button-prev::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' d='M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z'/%3E%3C/svg%3E");
}

/* OVERVIEW */
.img-box {
    width: 100%;
    aspect-ratio: 21/9;
    overflow: hidden;
    border-radius: 16px;
}

.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.statistic-wrapper h5 {
    font-size: 2rem;
    font-weight: 600;
}

.overview-title {
    line-height: 1.5;
}

.overview-title span {
    color: var(--color-primary);
    font-weight: 600;

}

#overview {
    background-image: radial-gradient(circle at right, rgba(0, 153, 255, 0.2) 0%, rgba(255, 255, 255, 0) 30%);
}

@media screen and (max-width: 992px) {
    #overview {
        background-image: radial-gradient(circle at right, rgba(0, 153, 255, 0.2) 0%, rgba(255, 255, 255, 0) 40%);
    }
}

/* CLIENTS */

.client-card {
    height: 80px;
    overflow: hidden;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 1);
    border-radius: 8px;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width: 768px) {
    .client-card {
        height: 60px;
        padding: 8px;
    }
}

.client-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* SERVICE */
.service-box {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    display: block;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    height: 100%;
}

.service-box .service-box-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-box:hover {
    border: 1px solid var(--color-primary);
}

.service-header {
    padding: 2rem;
}

.service-box .service-title {
    font-size: 2rem;
    line-height: 1.2;
    margin: 0;
}

.service-box .service-title span {
    font-weight: 600;
    background: linear-gradient(135deg, var(--color-gradient-start) 0%, var(--color-gradient-start) 75%, var(--color-gradient-end) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-box .service-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.service-box .service-image::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, var(--color-dark) 0%, rgba(255, 255, 255, 0) 35%);
}


.service-box .service-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* SOLUTIONS */

#solutions {
    background-image: linear-gradient(#1C1E31 .1rem, transparent .1rem), linear-gradient(90deg, #1C1E31 .1rem, transparent .1rem);
    background-size: 4rem 4rem;
    background-position: center center;
}

#solutions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to bottom, var(--color-dark) 0%, rgba(255, 255, 255, 0) 15%);
    z-index: 0;
}

#solutions::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to top, var(--color-dark) 0%, rgba(255, 255, 255, 0) 15%);
    z-index: 0;
}


.solutions-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    background-image: radial-gradient(rgba(0, 153, 255, 0.2) 0%, rgba(255, 255, 255, 0) 60%);
    z-index: 3;
}

.solution-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* glass morphism solution card */
.solution-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    aspect-ratio: 1 / 1;
    overflow: hidden;
    padding: 1rem;
    transition: all 0.3s ease-in-out;
    position: relative;
    display: block;
    text-decoration: none;
}


.solution-card .card-inner {
    position: relative;
    height: 100%;
    width: 100%;
}

.solution-card .solution-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
    border-radius: 0.5rem;
    position: relative;
}

.solution-card .solution-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease-in-out;
}

/* dark bottom solution image */
.solution-card .solution-image::after {
    content: "";
    height: 100%;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.5) 30%);
}

.solution-card .solution-name {
    position: absolute;
    bottom: 0rem;
    left: 0rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0;
    padding: 1rem;
}


.solution-card:hover {
    border: 1px solid var(--color-primary);
}

.solution-card:hover .solution-name {
    color: var(--color-primary);
}

.solution-card:hover img {
    transform: scale(1.1);
}

@media screen and (max-width: 992px) {
    .solution-card {
        padding: 0.8rem;
    }

    .solution-card .solution-name {
        font-size: 1rem;
        padding: 0.8rem;
        font-weight: 300;
    }

    .solution-card .solution-image::after {
        background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.5) 50%);
    }
}


/* PROJECT */
/* .projects-container {
                                                                max-width: 1000px;
                                                                margin: 0 auto;
                                                            } */
#project-slider {
    padding: 2rem 0;
    padding-bottom: 4rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
    overflow: hidden;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    position: relative;
    aspect-ratio: 3 / 4;
}

.project-card .card-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.project-card .project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
    border-radius: 0.5rem;
    position: relative;
}

.project-card .project-info {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
}

.project-card .project-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0;
    transition: all 0.3s ease-in-out;
}

.project-card .project-desc {
    margin-top: 0.5rem;
    display: none;
    transition: all 0.3s ease-in-out;
}

.project-card .project-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to top, #00034e 0%, rgba(0, 0, 0, 0) 50%);
    transition: all 0.3s ease-in-out;
}

.project-card .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-card:hover .project-image::after {
    background-image: linear-gradient(to top, #00034e 0%, rgba(0, 0, 0, 0) 100%);
}

.project-card:hover .project-desc {
    display: block;
}

@media screen and (max-width: 768px) {
    .project-card .project-name {
        font-size: 1.2rem;
    }

    .project-card .project-desc {
        display: block;
    }
}

/* TESTIMONIAL */

.testimonial-card {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    padding: 2rem;
}

.testimonial-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.client-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.client-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-company {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.testimonial-text {
    color: rgba(255, 255, 255, 0.8);

}

.client-name {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.quote-icon {
    margin-bottom: 1rem;
}

.quote-icon svg {
    width: 40px;
    height: 40px;
    fill: var(--color-primary);
}

/* dots owl carousel */
.owl-carousel .owl-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.owl-carousel .owl-dots .owl-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    margin: 0 5px;
}

.owl-carousel .owl-dots .owl-dot.active {
    background-color: var(--color-primary);
}