/* hero section */
.hero-section {
    padding-top: 110px;
    padding-bottom: 30px;
}

.hero-section .bg-grid {
    transform: scale(5);
    opacity: 0;
}

.hero-section .heading-text {
    opacity: 0;
}

.hero-section .right-curve {
    top: -50%;
    right: -30%;
    opacity: 0.4;
    transform: rotate(-180deg);
    transform-origin: top right;
    /* transition: transform 0.5s linear, opacity 0.3s linear; */
    transition: transform 0.5s cubic-bezier(.54, 0, .01, .99);
}

.hero-section .right-curve.show {
    transform: rotate(0);
}

/* project  section*/
.project-carousel .img-wrapper {
    overflow: hidden;
    position: relative;
}

/* portfolio section */
.portfolio-cards-wrapper {
    display: flex;
    flex-direction: column;
    gap: 70px;
}

.portfolio-card {
    display: grid;
    grid-template-columns: 1fr minmax(200px, 420px);
    gap: 24px;
    row-gap: 36px;
}

.portfolio-card .card-body-wrapper {
    position: relative;
}

.portfolio-card .glow-bar {
    width: 2px;
    height: calc(100% + 100px);
    position: absolute;
    border-radius: 8px;
    display: inline-block;
    z-index: -1;
}

.portfolio-card .glow-bar.glow-left,
.portfolio-card .glow-bar.glow-right {
    background: linear-gradient(0deg, #000000 0%, #989aff 50.33%, #000000 100%);
    top: -50px;
}

.portfolio-card .glow-bar.glow-top,
.portfolio-card .glow-bar.glow-bottom {
    height: 2px;
    width: calc(100% + 100px);
    background: linear-gradient(90deg, #000000 0%, #989aff 50.33%, #000000 100%);
    left: -50px;
}

.portfolio-card .card-header .glow-bar.glow-left,
.portfolio-card .card-header .glow-bar.glow-right {
    background: linear-gradient(0deg, #ffffff00 0%, #FFFFFF 50%, #ffffff00 100%);
}

.portfolio-card .card-header .glow-bar.glow-top,
.portfolio-card .card-header .glow-bar.glow-bottom {
    background: linear-gradient(270deg, #ffffff00 0%, #FFFFFF 50%, #ffffff00 100%);
}

.portfolio-card .glow-bar.glow-left {
    left: 0;
}

.portfolio-card .glow-bar.glow-right {
    right: 0;
}

.portfolio-card .glow-bar.glow-top {
    top: 0;
}

.portfolio-card .glow-bar.glow-bottom {
    bottom: 0;
}

.portfolio-card .card-header .img-wrapper {
    box-shadow: 0px 24px 100px -32px #FFFFFF33;
    overflow: hidden;
}

.card-body-wrapper {
    display: flex;
    padding: 2px;
    background: linear-gradient(180deg, #C894FF 0%, #220046 100%);
}

.portfolio-card .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 36px;
    background: radial-gradient(96.78% 100% at 50.12% 0%, #410085 0%, #1A0035 85.1%);
}

.portfolio-card .card-body-wrapper .glow-bar.glow-left,
.portfolio-card .card-body-wrapper .glow-bar.glow-right {
    background: linear-gradient(0deg, #000000 0%, #C894FF 50.33%, #000000 100%);
}

.portfolio-card .card-body-wrapper .glow-bar.glow-top,
.portfolio-card .card-body-wrapper .glow-bar.glow-bottom {
    background: linear-gradient(90deg, #000000 0%, #C894FF 50.33%, #000000 100%);
}

/* portfolio card color  */
/* dark-blue */
.portfolio-card.bg-card-dark-blue .card-body-wrapper {
    background: linear-gradient(180deg, #989AFF 0%, #000242 100%);
}

.portfolio-card.bg-card-dark-blue .card-body-wrapper .card-body {
    background: radial-gradient(96.78% 100% at 50.12% 0%, #000272 0%, #00012C 85.1%);
}

.portfolio-card.bg-card-dark-blue .card-body-wrapper .glow-bar.glow-left,
.portfolio-card.bg-card-dark-blue .card-body-wrapper .glow-bar.glow-right {
    background: linear-gradient(0deg, #000000 0%, #989AFF 50.33%, #000000 100%);
}

.portfolio-card.bg-card-dark-blue .card-body-wrapper .glow-bar.glow-top,
.portfolio-card.bg-card-dark-blue .card-body-wrapper .glow-bar.glow-bottom {
    background: linear-gradient(90deg, #000000 0%, #989AFF 50.33%, #000000 100%);
}

/* green */
.portfolio-card.bg-card-green .card-body-wrapper {
    background: linear-gradient(180deg, #98FFB2 0%, #003e10 100%);
}

.portfolio-card.bg-card-green .card-body-wrapper .card-body {
    background: radial-gradient(96.78% 100% at 50.12% 0%, #00741E 0%, #00270A 85.1%);
}

.portfolio-card.bg-card-green .card-body-wrapper .glow-bar.glow-left,
.portfolio-card.bg-card-green .card-body-wrapper .glow-bar.glow-right {
    background: linear-gradient(0deg, #000000 0%, #98FFB2 50.33%, #000000 100%);
}

.portfolio-card.bg-card-green .card-body-wrapper .glow-bar.glow-top,
.portfolio-card.bg-card-green .card-body-wrapper .glow-bar.glow-bottom {
    background: linear-gradient(90deg, #000000 0%, #98FFB2 50.33%, #000000 100%);
}

/* text content section start */
.text-content-section {
    display: flex;
    align-items: center;
    min-height: 140vh;
    padding-top: 20vh;
    padding-bottom: 20vh;
}

/* text content section end */
/* services section start */
.service-image {
    opacity: 0;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(.74, -0.01, .24, 1);
}

.service-image.animate {
    opacity: 1;
    transition: opacity 0.2s cubic-bezier(.74, -0.01, .24, 1);
}

.services-section {
    padding-top: 16vh;
    min-height: 100vh;
    padding-bottom: 16vh;
}

.services-section .card-wrapper {
    width: 100%;
    perspective: 300px;
    margin-bottom: 50px;
}

.services-section .service-item {
    padding: 42px;
    border: 1px solid;
    border-image-source: linear-gradient(180deg, rgba(255, 255, 255, 0.24) 0%, #ffffff 50.96%, rgba(255, 255, 255, 0.24) 100%);
    border-image-slice: 1;
    position: relative;
    color: #fff;
    background-color: #000000;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform-style: preserve-3d;
    overflow: hidden;
    backface-visibility: hidden;
}

.services-section .service-item::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    top: var(--y);
    left: var(--x);
    transform: translateX(-50%) translateY(-50%);
    background: #d41919bb;
    filter: blur(80px);
    mix-blend-mode: plus-lighter;
    transition: opacity 0.3s cubic-bezier(.36, .05, .34, .99);
    opacity: 0;
}

.services-section .service-item:hover::before {
    opacity: 1;
}

.services-section .service-item::after {
    content: "";
    position: absolute;
    inset: 4px;
    background: #0000001a;
}

/* how to work section start  */
.how-to-work-section {
    display: flex;
    align-items: center;
    position: relative;
    min-height: 100vh;
}

.how-to-work-section .blended-text {
    display: inline-block;
    position: relative;
    text-align: center;
    color: transparent;
}

.black-screen .how-to-work-section .blended-text {
    color: #fff;
}

/* how to work section end */
/* testimonial-section start */
.testimonial-section .testimonial-bg-image {
    width: 100%;
    bottom: 0;
}

.testimonial-section .testimonial-text {
    line-height: 130%;
}

.testimonial-section .top-overlay {
    height: 200px;
    background: linear-gradient(180deg, #000000 0%, #00000000 100%);
    -webkit-mask-image: linear-gradient(90deg, #0000 0%, #00000005 7.2%, #00000009 10.29%, #00000013 14.7%, #00000026 21%, #0000004d 30%, #000 60%);
    mask-image: linear-gradient(90deg, #0000 0%, #00000005 7.2%, #00000009 10.29%, #00000013 14.7%, #00000026 21%, #0000004d 30%, #000 60%);
}

/* testimonial section end */
/* contact section start */
.contact-section .option-btn {
    padding: 8px 16px;
    border-radius: 100px;
    background-color: #292828;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-wrap: nowrap;
}

.contact-section .option-btn:active {
    scale: 0.98;
}

.contact-section .option-btn:hover {
    background-color: #434040;
}

.contact-section input[type="checkbox"]:checked+label.option-btn,
.contact-section input[type="radio"]:checked+label.option-btn {
    background-color: #d41919;
}

.contact-section .custom-input,
.contact-section .custom-textarea {
    background-color: transparent;
    border-color: transparent;
}

.contact-section .custom-input,
.contact-section .custom-textarea {
    color: #fff;
    padding-bottom: 10px;
    border-bottom: 1px solid #a0a0a0;
}

.contact-section .custom-textarea {
    min-height: 100px;
    max-height: 300px;
}

.contact-section .custom-input:focus,
.contact-section .custom-textarea:focus {
    outline: none;
}

/* contact section end */
/* footer section start */
.footer-section {
    padding-top: 200px;
    padding-bottom: 200px;
    position: relative;
    padding-right: 6vw;
    padding-left: 6vw;
}

.footer-section .blur-panel-container {
    display: flex;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 46%;
    z-index: 2;
    /* padding: 0 4px; */
    perspective: 1200px;
    overflow: hidden;
}

.footer-section .show-mesmerizing-msg {
    position: absolute;
    bottom: 16%;
    left: 24px;
}

@media screen and (max-width: 1920.97px) {
    .hero-section .right-curve {
        right: -38%;
    }
}

@media screen and (max-width: 1279.97px) {
    .hero-section .right-curve {
        top: -40%;
        right: -50%;
    }
}

@media screen and (max-width: 1199.97px) {
    .portfolio-card {
        grid-template-columns: 1fr;
    }

    .services-section .service-item:hover::before {
        opacity: 0;
    }
}

@media screen and (max-width: 991.97px) {
    .hero-section .right-curve {
        top: -34%;
        right: -30%;
    }

    .services-section .service-item {
        padding: 32px;
    }

    .footer-section {
        padding-top: 160px;
        padding-bottom: 160px;
    }
}

@media screen and (max-width: 767.97px) {
    .portfolio-card .card-body {
        padding: 28px;
    }

    .hero-section .right-curve {
        max-width: 150%;
        width: 100%;
        top: -20%;
        right: -50%;
    }


    /* portfolio section */
    .portfolio-cards-wrapper {
        gap: 60px;
    }

    .portfolio-card .glow-bar.glow-left,
    .portfolio-card .glow-bar.glow-right {
        height: calc(100% + 70px);
        top: -35px;
    }

    /* text content section start */
    .text-content-section {
        min-height: unset;
        padding-top: 10vh;
        padding-bottom: 10vh;
    }

    .services-section .card-wrapper {
        margin-bottom: 30px;
    }

    .services-section .service-item {
        padding: 28px;
    }

    .testimonial-section .testimonial-bg-image {
        max-width: 400%;
        width: 240% !important;
        top: 50%;
        transform: translateY(-50%);
        bottom: auto;
    }

    .testimonials-card {
        padding: 28px;
    }

    .footer-section {
        padding-top: 130px;
        padding-bottom: 130px;
    }
}

@media screen and (max-width: 640px) {
    .hero-section .right-curve {
        max-width: 250%;
        width: 150%;
        top: -40%;
        right: -80%;
    }
}

@media screen and (max-width: 575.97px) {
    .services-section .service-item {
        padding: 24px;
    }

    /* portfolio section */
    .portfolio-cards-wrapper {
        gap: 50px;
    }

    .portfolio-card .glow-bar.glow-top,
    .portfolio-card .glow-bar.glow-bottom {
        width: calc(100% + 40px);
        left: -20px;
    }

    .portfolio-card .glow-bar.glow-left,
    .portfolio-card .glow-bar.glow-right {
        height: calc(100% + 50px);
        top: -25px;
    }

    .testimonial-text {
        font-size: 16px;
    }
}

@media screen and (max-width: 480px) {
    .hero-section .right-curve {
        max-width: 250%;
        width: 164%;
        top: -24%;
        right: -74%;
    }
}