@import './root.css';

body .left-apart .retro {
        line-height: 52px;
        font-size: 128px;
    }

/* extra sec */
.extra {
    margin-top: -6px;
}

.extra-text .e-text span {
    font-size: clamp(2.5rem, 28vw, 25rem);
    font-weight: bold;
    position: relative !important;
    color: #fff;
    line-height: 0.7;
    z-index: 101001;
    pointer-events: none;
    /* transition: 1s; */
}

.e-text {
    position: relative;
}

.text-card {
    position: absolute;
    top: 0;
    left: 240px;
    z-index: 99999;
    width: 50vw;
    max-width: 850px;
    /* overflow-x: scroll; */
    /* max-width: 100%; */
}

.e-text:nth-child(3) .text-card {
    width: 45vw;
}

#rtextCard,
#atextCard {
    text-align: right;
    top: 0;
    right: 260px;
    left: auto;
}

.main-title {
    font-size: 37px;
    font-weight: 700;
    text-transform: capitalize;
    color: #f4f4f4;
    margin-bottom: 10px;
}

.text-tag {
    font-size: 32px;
    font-weight: 300;
    color: var(--blue);
    margin-bottom: 35px;

}

.highlight {
    font-size: 32px;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 20px;

}

.highlight {
    font-size: 32px;
    font-weight: 700;
    color: var(--blue);
}

.know-btn {
    font-size: 20px;
    font-weight: 700;
    color: var(--blue);
    text-decoration: underline;
}

/* whats apart sec */

.icon-box {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 40px;
}

.icon-box img {
    width: 95px !important;
    height: 95px !important;
    object-fit: contain;
}

.text-title {
    font-size: 30px;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 2px;
}

.text-box-desc {
    font-weight: 300;
    font-size: 20px;
    color: #514D63;
}

#whats-sets-us-apart {
    min-height: 65vh;
}

.left-apart h2 {
    font-weight: 700;
    font-size: 50px;
    line-height: .9;
    margin-bottom: 50px;
    color: var(--blue) !important;
}

.left-apart p {
    font-size: 24px;
    color: #514D63;
}

/* How we sec */
.bg-blue {
    background-color: var(--blue);
}
body .how-sec .retro {
        line-height: 62px;
        font-size: 118px;
    }
.how-sec h2 {
    font-weight: 700;
    font-size: 50px;
    color: var(--white);
    margin-bottom: 20px;
}

.how-sec p {
    font-weight: 600;
    font-size: 24px;
    line-height: 36px;
    color: var(--white);
    margin-bottom: 30px;
}

.how-card {
    background-color: var(--white);
    border-radius: 22px;
    padding: 25px;
    text-align: left;
    /* border: 1px solid var(--green); */
    height: 100%;
    margin-right: 20px;
    min-height: 385px;
}

.how-card:hover {
    animation: box 1s linear infinite forwards;
    cursor: pointer;
}

@keyframes box {
    from {
        box-shadow: -2px -2px 0px var(--green);

    }

    to {
        box-shadow: 2px 2px 0px var(--green);

    }
}

.how-card h5 {
    font-weight: 600;
    font-size: 30px;
    color: var(--blue);
    margin-bottom: 20px;
}

.how-card p {
    font-weight: 400;
    font-size: 20px;
    line-height: 27px;
    color: var(--blue);
}

.card-slider .slick-track {
    display: flex;
    /* gap: 20px; */
    padding: 15px 0;
}

/* counter */
.slide {
    display: flex;
    gap: 50px;
    justify-content: center;
    align-items: center;
}

.counter {
    animation-duration: 1s;
    animation-delay: 0s;
}

span.counter,
.ct-text {
    font-size: 100px;
    font-weight: 500;
    color: var(--purple);
}

.counter-sec {
    min-height: 450px;
}

.counter-sec h3 {
    font-size: 55px;
    line-height: 1;
    font-weight: 700;
    color: var(--blue);
}

/* Animation for slide2 from bottom to center */
.slide.up-animation {
    animation: slideUp 1.6s ease-out forwards;
}

@keyframes slideUp {
    from {
        top: 100px;
        opacity: 0;
    }

    to {
        top: 0;
        opacity: 1;
    }
}


/* our work  */
.heading h2 {
    font-size: 50px;
    font-weight: 700;
    color: var(--white);

}

.heading p {
    font-size: 24px;
    font-weight: 400;
    letter-spacing: -.1px;
    color: var(--white);
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.contact-left-side h3 {
    font-size: 50px;
    font-weight: 700;
    color: var(--blue);
    line-height: 1;
    margin-bottom: 40px;
}

.contact-left-side p {
    font-size: 20px;
    font-weight: 400;
    color: #434343;
    margin-bottom: 20px;

}

.contact-left-side {
    padding-right: 20px;
}

video.video.ps-3 {
    padding-left: 0 !important;
}

.video {
    border-radius: 40px;
}

/* testimonial  */
#testimonial-section {
    height: clamp(600px, 100vh - 90px, 900px);
    padding: 0;
    overflow: hidden;
    background: white;
    position: relative;
    user-select: none;
}

.client-says-head {
    top: 10%;
    left: 25%;
    z-index: 1;
    width: 70%;
    font-size: 50px;
    font-weight: 700;
    color: var(--blue);
    margin: 0rem;
}

.testimonial-scroll-area {
    height: clamp(600px, 100vh - 90px, 900px);
    /* width: calc(100% - 200px); */
    flex: 0 0 75%;
    margin-left: auto;
    /* margin-right: 8%; */
    gap: 0px;
    border-radius: 12px;
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    /* overflow: hidden auto; */
    overflow: hidden;
    scrollbar-width: none;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
}

.circle-container {
    position: absolute;
    top: 0%;
    left: 2rem;
    width: 25rem;
    flex-basis: 25%;
    height: 100%;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner-ctn {
    position: absolute;
    top: 50%;
    left: -10%;
    transform: translate(-50%, -50%);
    background-color: aliceblue;
}

.ring {
    height: var(--orbit-width);
    width: var(--orbit-width);
    border: 2px solid var(--green);
    position: absolute;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.orbit {
    --rotate-orbit: 30deg;
    height: var(--orbit-width);
    width: var(--orbit-width);
    position: absolute;
    border-radius: 50%;
    transform: translate(-50%, -50%) rotateZ(var(--rotate-orbit));
    z-index: 2;
    zoom: .95;
}

.dot {
    position: absolute;
    border-radius: 50%;
    cursor: pointer;
    transition: all 1s ease;
    width: var(--small-dot-width);
    height: var(--small-dot-width);
    transform: translate(calc(var(--orbit-width) / 2), calc(var(---small-dot-width) / 2));
    background: var(--green);
    z-index: 100;
    margin-top: -10px;
    zoom: 1.05;
}

.dot.active {
    background: var(--orange);
    width: var(--big-dot-width);
    height: var(--big-dot-width);
    transform: translate(calc(var(--orbit-width) / 2 - 20px), calc(var(---big-dot-width) /2));
}

.dot.inactive {
    background: var(--green);
}

.orbit.active~.orbit .dot {
    width: var(--big-dot-width/2);
    height: var(--big-dot-width/2);
}

#testimonial-section2 {
    scroll-margin-block: 80px;
}

.testimonial {
    height: 100%;
    width: 0%;
    flex: 0 0 auto;
    scroll-snap-align: center;
    visibility: hidden;
    user-select: none;
}

.testimonial.active {
    visibility: visible;
    flex-grow: 1;
    max-width: 90%;
}

.testimonial-text {
    margin: 0.5rem 0;
    font-weight: 400;
    color: var(--blue);
    line-height: 1.5;
    font-size: 20px;
    margin-bottom: 30px !important;
}

.testimonial-name {
    margin-top: 30px;
}

.testimonial-name,
.testimonial-designation,
.testimonial-company {
    font-size: 22px;
    font-weight: 500 !important;
    display: block;
    color: var(--blue);
    margin: 0rem;
}

.testimonial-logo img {
    margin: 0.5rem 0;
    /* max-height: 50px; */
}

.fade {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.show {
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

.arrow-slider-nav {
    display: flex;
    gap: 15px;
    position: absolute;
    bottom: 10%;
    right: 8%;
    transform: translate(-50%, -50%);
    z-index: 11;
}

.arrow-slider-prev i,
.arrow-slider-next i {
    border: 2px solid var(--purple);
    border-radius: 100%;
    height: 30px;
    width: 30px;
    color: var(--purple);
    display: inline-flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    transform: scale(1.25);
    cursor: pointer;
}

.arrow-slider-prev i:hover,
.arrow-slider-next i:hover {
    border: 2px solid var(--purple);
    border-radius: 100%;
    height: 30px;
    width: 30px;
    color: var(--purple);
    display: inline-flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    /* display: ; */
}

/* how work */
.gallery-card {
    border-radius: 18px;
    background-color: #fff;
    overflow: hidden;
    position: relative;
}

.gallery-card video {
    position: absolute;
    left: 0;
    right: 0;
    visibility: hidden;
    transition: .5s;
    z-index: 99;
    object-fit: contain;
}

.gallery-card:hover img {
    visibility: hidden;
    z-index: 1;
}

.gallery-card:hover video {
    visibility: visible;
}



/* how work end */
/* home responsive */

@media (max-width:1240px) {


    .left-apart h2,
    .testimonial-content h2,
    .how-sec h2,
    .heading h2,
    .contact-left-side h3 {
        font-size: 35px;
    }

    .retro {
        font-size: 120px;
        line-height: .4;
        vertical-align: middle;
    }

    .counter-sec h3 {
        font-size: 60px;
    }

    span.counter,
    .ct-text {
        font-size: 40px;
    }

    .counter-sec {
        min-height: 250px;
    }
}


@media (max-width:767px) {
    .testimonial-scroll-area {
        width: 100%;
        flex: 0 0 100%;
    }

    .contact-left-side {
        padding-right: 0px;
    }

    body .ps-3 {
        padding-left: 0 !important;
    }

    #home-extra-show {
        padding: 50px 0 200px 0 !important;
    }

    .icon-box {
        display: flex;
        align-items: flex-start;
        justify-content: start;
        gap: 40px;
        flex-direction: column;
    }

    body .left-apart .retro {
        line-height: .5 !important;
        vertical-align: bottom;
    }

    .testimonial-section {
        padding: 0px 10px !important;
    }

    .circle-container {
        display: none;
    }

    .testimonial-content p {
        font-size: 20px !important;
    }

    .counter-sec .slide {
        flex-direction: column;
        gap: 20px !important;
        text-align: center;
    }

    .how-sec p.w-75 {
        font-size: 22px !important;
        line-height: 1.4 !important;
        width: 100% !important;
    }

    .p-100 {
        padding: 50px 0 !important;
    }

    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .extra-text {
        flex-direction: column;
        align-items: flex-start !important;
        align-content: flex-start;
        justify-content: flex-start !important;
        gap: 20px;
    }

    .extra-text .e-text span {
        font-size: 201px !important;
    }

    .testimonial {
        width: 100%;
        padding: 20px;
    }

    #home-extra-show .text-card {
        width: 70% !important;
        left: 140px !important;
        text-align: left !important;
        right: auto !important;
        max-width: 100%;
        word-break: break-word;
    }

    .e-text {
        position: relative;
        width: 100%;
    }

    .text-card>div {
        word-break: break-word;
    }

    .main-title {
        font-size: 24px;
    }

    .text-tag {
        font-size: 20px;
    }

    .highlight {
        font-size: 18px;

    }

    .left-apart h2,
    .testimonial-content h2,
    .how-sec h2,
    .heading h2,
    .contact-left-side h3,
    .testimonial h2 {
        font-size: 30px !important;
    }

    body .retro {
        font-size: 110px !important;
        line-height: 50px !important;
        margin-left: 10px;
        vertical-align: bottom;
    }

    .counter-sec h3 {
        font-size: 40px !important;
    }

    span.counter,
    .ct-text {
        font-size: 40px !important;
    }

    .how-sec p {
        font-size: 22px !important;
    }

    .how-card h5 {
        font-size: 24px !important;
    }

    body .left-apart .retro {
        line-height: 40px !important;
        vertical-align: bottom;
    }
}


@media (max-width:580px) {
    .grid-container {
        grid-template-columns: repeat(1, 1fr) !important;
    }
}

@media (min-width:768px) {
    #testimonial-text {
        width: 75%;
    }
}

@media (min-width:1440px) {
    .left-apart {
        padding-right: 6rem;
    }
}

.coin {
    animation: rotate360 1s linear 1;
    transform-style: preserve-3d;
}

@keyframes rotate360 {
    from {
        transform: rotateX(0deg);
        opacity: .3;
    }

    to {
        transform: rotateX(360deg);
        opacity: 1;

    }
}

@media (min-width:1240px) and (max-width:1440px) {
    .contact-left-side h3 span {
        font-size: 100px;
        line-height: 50px !important;
    }

    .contact-left-side h3 {
        font-size: 75px;
    }
}

@media (min-width:1240px) {
    .ourWork .retro {
        font-size: 120px !important;
    }
}

@media (min-width:1440px) {

    .how-card {
        min-height: 345px;
    }
}

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

/* 
@media (min-width:1240px) and (max-width:1439px) {
    .ourWork .retro {
        font-size: 250px !important;
    }
} */

@media (min-width:1170px) and (max-width:1500px) {


    .text-card {
        width: 550px;
    }

    .main-title {
        font-size: 28px;
        font-weight: 700;
        text-transform: capitalize;
        color: #f4f4f4;
        margin-bottom: 10px;
    }

    .text-tag,
    .highlight {
        font-size: 22px;
    }
}

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

    #home-extra-show.min-vh-100 {
        min-height: max-content !important;
    }

    .e-text:nth-child(1) .text-card, .e-text:nth-child(2) .text-card {
        transform: translateX(-4rem);
    }

    .e-text:nth-child(3) .text-card {
        width: 38vw !important;
        transform: translateX(-4rem);
    }

    .e-text:nth-child(4) .text-card, .e-text:nth-child(5) .text-card {
        transform: translateX(4rem);
    }


    .testimonial {
        padding: 20px;
    }

    .text-card>div {
        word-break: break-word;
    }

    .main-title {
        font-size: 24px;
    }

    .text-tag {
        font-size: 20px;
    }

    .highlight {
        font-size: 18px;

    }
}

@media (max-width:992px) {
    .circle-container {
        display: none;
    }

    .client-says-head,
    .testimonial-scroll-area {
        width: 100% !important;
    }

    /* .client-says-head {
        position: unset !important;
    } */

    .testimonial-scroll-area {
        flex: 0 0 100% !important;
    }

    .client-says-head {
        font-size: 36px;
        left: 0;
    }

    .client-says-head .retro {
               font-size: 155px !important;
        line-height: 40px !important;
        vertical-align: top !important;
    }
}

.counter-sec h3 {
    text-transform: capitalize !important;
}


/** testimonial responsive **/
@media screen and (max-width: 1600px) {
    .e-text:nth-child(3) .text-card {
        width: 40vw;
    }

    #testimonial-spinner {
        transform: scale(0.75) translateX(-5rem);
    }

    /*.client-says-head {*/
        /*transform: scale(0.75);*/
    /*    left: 16%;*/
    /*}*/

    .testimonial-name,
    .testimonial-designation,
    .testimonial-company {
        font-size: 1rem;
    }

    .arrow-slider-nav {
        transform: translate(-50%, -50%) scale(.75);
    }
}

@media screen and (max-width: 1440px) {
    .client-says-head {
        top: 8%;
    }
}

@media screen and (max-width: 1367px) {
    #testimonial-spinner {
        transform: scale(0.7) translateX(-5rem);
    }

    /*.client-says-head {*/
        /*transform: scale(0.7);*/
    /*    top: 5%;*/
    /*    left: 14%;*/
    /*}*/

    .testimonial-name,
    .testimonial-designation,
    .testimonial-company {
        font-size: .875rem;
    }

    .arrow-slider-nav {
        bottom: 8%;
    }
}

@media screen and (max-width: 1200px) {
    #testimonial-spinner {
        display: none;
    }

    .client-says-head {
        left: 12%;
        width: 80%;
        font-size: 50px;
        margin: auto;
    }

    .client-says-head span {
        font-size: 80px !important;
    }

    .testimonial-scroll-area {
        flex: 0 0 80% !important;
        margin: auto;
    }
    .testimonial  {
        width: 100% !important;
    }
}

.mob-show {
    display: none;
}

@media (max-width:767px) {
    .desk-show {
        display: none;
    }

    .mob-show {
        display: block;
    }
}


/** testimonial responsive end **/

/* mob test */
.client-details {
    font-size: 14px;
    font-weight: 500 !important;
    display: block;
    color: var(--blue);
    margin: 0rem;
}

.mob-testimonial p {
    font-size: 16px;
    color: var(--blue);
    line-height: 22px;
}

.mob-show {
    background-color: #f3f3f3;
    padding: 30px 0;
}

.mob-show h2 {
    font-size: 38px;
    color: var(--blue);
    font-weight: 700;
}

.client-logo {
    margin-top: 20px;
}

.testimonial-logo img {
    width: 135px;

}
.client-says-head .retro{
    font-size: 120px;
        line-height: 40px;
        vertical-align: top;
}
.mob-testimonial{
    padding:0 30px;
}
.mob-show .prev.slick-arrow {
    background: var(--purple);
    display: inline-block;
     font-size: 24px;
    border-radius: 100%;
    height: 30px;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.mob-show .next.slick-arrow {
    background: var(--purple);
    display: inline-block;
    font-size: 24px;
    border-radius: 100%;
    height: 30px;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    position: absolute;
    top: 50%;
    right:0;
    transform: translateY(-50%);
}