@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

:root{
    --ref-color-2: #FFC300;
}

.container{
    display: flex;
    flex-direction: column;
    margin: 50px auto;
}

.row{
    display: flex;
    flex-direction: row;
    
    gap: 20px;
    margin: 20px auto;
}

.w-90{
    width: 90%;
}

.col{
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 20px auto;
}

.title__underline{
    width: 66.67px;
    height: 10.81px;
    border-radius: 20.53px;
    background-color: var(--ref-color-2);
    margin-left: 1rem;
    position: relative;
    margin-bottom: 2rem;
}

.video-carousel{
    margin: 40px;
    position: relative;
}

.video-carousel::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right,transparent 33%, white);
    z-index: 1000;
}

.video-navigation{
    width: 74.39px;
    height: 47.34px;
    padding: 13.53px 27.05px 13.53px 27.05px;
    border-radius: 59.17px;
    border: 0.85px solid #5006AA;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #5006AA;
}

.video-navigation-container p{
    font-family: Plus Jakarta Sans;
    font-size: 13.53px;
    font-weight: 600;
    line-height: 24.35px;
    color: #5006AA;
}

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

#currentSlide{
    text-decoration: underline;
}

#totalSlides{
    color: #5006AA66;
}

.video-navigation:last-child{
    background-color: #5006AA;
    color: white;
}

.title__underline::before{
    content: '';
    position: absolute;
    top: 50%;
    left: -1rem;
    transform: translateY(-50%);
    width: 10.81px;
    height: 10.81px;
    border-radius: 50%;
    background-color: var(--ref-color-2);
}

.left,.right{
    flex: 1;
    margin: 40px;
}

.video-item img, .work-item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.work-item img{
    border-radius: 15.73px;
    overflow: hidden;
}

.work-item img{
    -webkit-transition: all 1s ease-in;
    -moz-transition: all 1s ease-in;
    -o-transition: all 1s ease-in;
    transition: all 1s ease-in;
}

.chips-container{
    display: flex;
    flex-direction: row;
    gap: 1rem;
    flex-wrap: wrap;
    width: 90%;
}

.chip{
    font-family: Manrope;
    font-size: 17.82px;
    font-weight: 700;
    line-height: 24.95px;
    color: #5006AAB2;
    padding-inline: 1rem;
    width: fit-content;
    padding-block: 0.5rem;
    border-radius: 22px;
    border: 1px solid #5006AAB2;
    justify-content: center;
    align-items: center;
    text-wrap: wrap;
}

.chip-details{
    font-weight: 500;
}

h2.title{
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 20px;
    font-family: "Montserrat", serif;
    line-height: 64.87px;
    color: #310566;
}

.carousel-content{
    width: 397px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: flex-end;
    background-color: white;
    z-index: 1000;
    padding-right: 20px;
}

h3.title{
    font-family: Montserrat;
    font-size: 21.34px;
    font-weight: 500;
    line-height: 26.01px;
    color: #5006AA;
}

h1.subtitle{
    font-family: Montserrat;
    font-size: 36.93px;
    font-weight: 700;
    line-height: 34.71px;
    color: #310566;
}

p.description{
    font-family: Montserrat;
    font-size: 14.77px;
    font-weight: 500;
    line-height: 23.16px;
    color: #310566;
}

.video-slider{
    flex: 1;
    background: white;
    display: flex;
    flex-direction: row;
    gap: 1rem;
    transition: transform 0.3s ease;
}

/* .hand{
    position: relative;
} */

.hand::before{
    content: '';
    position: absolute;
    left: 0;
    top: 300px;
    transform: translateY(-50%);
    width: 100%;
    height: 472px;
    background: url(../img/prestacia/hand.png) no-repeat;
    background-size: contain;
    background-position: right;
    pointer-events: none;
}

.video-item{
    background-color: gray;
    width: 33%;
    border-radius: 23.54px;
    aspect-ratio: 203.62 / 343.67;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    position: relative;
}

.video-item .play{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #FAFAFA;
    background: #5006AA4D;
    display: flex;
    align-items: center;
    justify-content: center
}

.carousel-content-content{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
    position: relative;
    width: 357px;
    height: 276px;
    justify-content: center;
}

.carousel-content-content::before{
    content: '';
    position: absolute;
    top: -5px;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #5006AA0D 88%, transparent 88%);
    border-radius: 23.2px;
    z-index: -2;
}

.video-item .play svg{
    position: relative;
    animation: none;
    transform: none;
    margin-left: 0;
    width: 18px;
    height: 18px;
    fill: unset;
    stroke: unset;
}

.carousel-navigations{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-block: 1rem;
}

.company-icon{
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: white;
}

.row.work-container{
    gap:1rem;
    align-items: flex-start;
    margin-left:calc(5% + 40px);
    position:relative;
    overflow: hidden;
}

.company-info{
    display: flex;
    align-items: center;
    gap: 1rem;
}

.company-title{
    font-family: Montserrat;
    font-weight: 600;
    color: #310566;
    font-size: 18px;
}

.company-description{
    font-family: Montserrat;
    color: #5006AA;
    font-size: 14px;
}

.work-item{
    height: 30vw;
    width: 30vw;
    aspect-ratio: 471.76 / 393.09;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: none;
}

.work-item.active {
    height: 40vw;
    width: 50vw;
    transition: width 0.5s ease-in-out, height 0.5s ease-in-out;
}

.work-item .work-content{
    width:100%;
    height:100%;
    background:gray;
    border-radius: 15.73px;
}

.work-title{
    color: #310566;
    font-family: Manrope;
    font-size: 17.82px;
    font-weight: 700;
    line-height: 24.95px;
    text-transform: uppercase;
}

.pattern{
    position: relative;
}

.pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 336px;
    height: 331px;
    background: url(../img/prestacia/pattern.png) no-repeat;
    background-position: right;
    transform: translateX(-50%);
}

.work-next {
    position: absolute;
    top: 50%;
    left: 50vw;
    transform: translate(-50%,-100%);
    width: 10vw;
    height: 10vw;
    border-radius: 50%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.work-next i{
    font-size: 2rem;
    color: #310566;
}

.text{
    font-family: "Montserrat", serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 30px;
    text-align: justify;
    color: #310566;
    width: 794px;
}
.list{
    font-size: 16px;
    line-height: 1.5;
}
.list ul{
    list-style: none;
    padding: 0;
    margin: 0;
}
.list ul li:before{
    content: "";
    color: #000;
    display: inline-block;
    border-width: 10px;
    border-left-color: var(--ref-color-2);
    border-top-color: transparent;
    border-bottom-color: transparent;
    border-right-color: transparent;
    border-style: solid;
    transform: translate(0px, 4px);
}
.color-text{
    color: var(--text_color);
}
.color-2{
    color: var(--ref-color-2);
}
.banner img{
    width: 100%;
    /* height: auto; */
}
.align-items-center{
    align-items: center;
}
.justify-content-between{
    justify-content: space-between;
}
.next-project{
    width: 25vw;
    height: 25vw;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}
.next-project img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
    cursor: pointer;
}
.next-project img:hover{
    transform: scale(1.1);
    transition: all 0.5s ease;
    filter: brightness(0.5);
}
.w-100{
    width: 100%;
}
.slide-container{
    width: 100%;
    height: auto;
    position: relative;
    overflow: hidden;
}
.slide{
    display:flex;
    align-items: center;
    flex-wrap: wrap; 
    /* width:1040px; */
}
.slide img{
    width: 100%;
}

.video-carousel{
    gap: 0;
}

.carousel-content{
    width: 350px;
}

.carousel-navigations {
    margin-inline: 40px;
}

/* Media Queries for responsiveness */
@media (max-width: 768px) {
    .col {
        flex-direction: column;
        margin-inline: 0;
        width: 100%;

    }

    .carousel-content-content{
        padding: 0;
        width: 100%;
    }

    .carousel-content{
        width: 100%;
    }

    .work-item{
        width: 90%;
        aspect-ratio: 471.76 / 393.09;
    }

    .work-item.active {
        width: 90%;
    }

    .row.work-container{
        margin-left: 5%;
    }

    .work-next{
        display: none;
    }

    .video-carousel.row{
        margin:0 auto;
        width: 90%;
    }

    .left,
    .right {
        margin: 0 auto; /* Reduced margin on smaller screens */
        width: 90%;
    }
    
    .text{
      width: 100%;
    }

    .hand::before{
        display: none;
    }

    h2.title{
        font-size: 24px;
        line-height: 40px;
        width: 90%;
    }
    .chip{
        font-size: 16px;
    }

    .carousel-navigations {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
        width: 90%;
        margin: 0 auto;
        padding: 0;
    }

    .video-navigation {
        width: 60px;
        height: 40px;
        padding: 10px 20px;
    }

    .company-icon {
        width: 50px;
        height: 50px;
    }

    .company-title {
        font-size: 16px;
    }

    .company-description {
        font-size: 12px;
    }

    .work-item {
        height: 60vw;
        width: 60vw;
        transition: none;
    }

    .work-item.active {
        height: 80vw;
        width: 80vw;
        transition: width 0.5s ease-in-out, height 0.5s ease-in-out;
    }

    .work-item .work-content {
        height: 85%;
    }

    .work-item .work-title {
        font-size: 14px;
        height: 15%;
    }
}

@media (max-width: 1280px) {
    .video-carousel.row{
        flex-direction: column;
        gap: 2rem;
    }

    .carousel-navigations {
        margin-inline: 40px;
    }
}

@media (max-width: 600px) {
    .video-item{
        width: 100%;
    }
    .video-carousel::before{
        display: none;
    }
}

@media (max-width: 480px) {
    .video-navigation {
        width: 50px;
        height: 35px;
        padding: 8px 16px;
    }

    .video-navigation-container {
        gap: 0.5rem;
    }

    .video-navigation-container p {
        font-size: 12px;
    }
}

@media (max-width: 1218px){
    .hand::before{
        display: none;
    }
}