html {
    scroll-behavior: smooth;
}

.loading {
    left: 50%;
    top: 50%;
    font-size: 50px;
    font-family: var(--rr-ff-heading);
    font-weight: bold;
    text-transform: uppercase;
    position: absolute;
    overflow: hidden;
    white-space: nowrap;
    transform: translate(-50%, -50%);

    &:before {
        color: #333;
        content: attr(data-loading-text);
    }

    &:after {
        top: 0;
        left: 0;
        width: 0;
        opacity: 1;
        color: var(--rr-color-theme-primary);
        overflow: hidden;
        position: absolute;
        content: attr(data-loading-text);
        animation: loading 6s infinite;
    }

    @keyframes loading {
        0% {
            width: 0;
        }

        100% {
            width: 100%;
        }
    }
}

.logo-darkk {
    /* width: 100px;
    height: 100px; */
    animation: rotateZoomOut 2s ease-in-out forwards;
    transform-origin: center;
    opacity: 1;
}

@keyframes rotateZoomOut {
    0% {
        transform: rotate(0deg) scale(1);
        opacity: 1;
    }

    50% {
        transform: rotate(180deg) scale(1.1);
        opacity: 1;
    }

    100% {
        transform: rotate(360deg) scale(0.5);
        opacity: 0;
    }
}



.loading img {
    width: 200px;
}


a:hover {
    background: linear-gradient(to right, #672e89, #021970);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}


.rr-white-btn {
    background: linear-gradient(to right, #672e89, #021970) !important;
    font-family: var(--rr-ff-heading);
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    padding: 20px 40px;
    border-radius: 100px;
    transition: all 0.5s ease-in-out;
    overflow: hidden;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
    border: 1px solid #ffffff !important;
}

.rr-primary-btn {
    background: linear-gradient(to right, #672e89, #021970) !important;
    font-family: var(--rr-ff-heading);
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    padding: 20px 40px;
    border-radius: 100px;
    transition: all 0.5s ease-in-out;
    overflow: hidden;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
    border: 1px solid #ffffff !important;
}

section {
    padding: 60px 40px;
}


/* navbar */
section.hero-section-2 {
    padding: 0;
}

.header .primary-header-inner .header-logo img {
    max-width: 100px;
}

.header-menu-wrap .active {
    background: linear-gradient(to right, #672e89, #021970);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.hero-section-2 .hero-img-2 img {
    height: 100%;
    filter: brightness(0.2);
    object-fit: cover;
}

.hero-content-2 .title {
    font-size: 50px;
}

.hero-content-2 {
    padding: 220px 0 180px 0;
}

.hero-section-2 .hero-img-2 video {
    filter: brightness(.6);
    transform: rotateY(180deg); /* Flip horizontally */
}

.gradient-text {
    background: linear-gradient(to right, #672e89, #021970);
    background-clip: text;
    -webkit-background-clip: text;
    /* Needed for Chrome & Safari */
    color: transparent;
    -webkit-text-fill-color: transparent;
    /* Needed for Safari */
}

.hero-content-2 p {
    color: #ffffff;
    width: 80%;
    line-height: 35px;
    font-weight: 300;
}

.hero-section-2 {
    height: 100vh;
}



/* end */

.bg-btnn {
    background: linear-gradient(to right, #180c20, #040e34);
    font-family: var(--rr-ff-heading);
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    padding: 20px 40px;
    border-radius: 100px;
    transition: all 0.5s ease-in-out;
    overflow: hidden;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
    border: 1px solid #ffffff;
}

.project-card .project-content .project-btn {
    background: linear-gradient(to right, #672e89, #021970);
    color: #ffffff;
    height: 65px;
    width: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.project-counter .title {
    font-size: 120px;
    line-height: 1;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #ffffff;
}

.project-counter p {
    font-family: var(--rr-ff-heading);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 0;
    text-transform: uppercase;
    padding-left: 10px;
    color: #fff;
}

.project-card .project-content {
    padding: 30px 20px 30px 40px;
}

.white-bg {
    /* background: linear-gradient(to right, #180c20, #040e34); */
    background: linear-gradient(to right, #0d0a10, #00020a);
}

/* about us */
.about-3 .section-heading {
    margin-left: 0;
}

.section-heading .section-title {
    font-size: 48px;
    line-height: 1.3;
    font-weight: 700;
    display: block;
    margin-bottom: 0;
    text-transform: initial;
    position: relative;
    color: #fff;
}

.section-heading .sub-heading {
    font-family: var(--rr-ff-heading);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 25px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.img-reveal .img-overlay {
    background: rgb(238 238 238 / 40%);
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.about-video-box .about-thumb .play-btn a {
    background: linear-gradient(to right, #672e89, #021970);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 10px;
    padding: 16px 40px;
    border-radius: 100px;
    font-family: var(--rr-ff-heading);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    /* border: 2px solid var(--rr-color-heading-primary); */
}

.about-items .about-item .icon img {
    filter: invert(1);
}

.about-items .about-item .icon {
    background: linear-gradient(to right, #672e89, #021970);
    height: 85px;
    width: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #a3a3a3;
    border-radius: 50%;
}

.about-items .about-item .content .title .odometer-auto-theme {
    line-height: 1;
    font-family: inherit;
    color: white;
}

.about-items .about-item .content .title {
    font-family: var(--rr-ff-heading);
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    color: white;
}

.about-items .about-item .content p {
    font-family: var(--rr-ff-heading);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 0;
    text-transform: uppercase;
    color: white;
}

.about-items {
    border: 1px solid #ffffff;
}

/* end */

/* services */
.service-item .icon img {
    filter: invert(1);
}

.service-item .icon {
    background: linear-gradient(to right, #672e89, #021970);
    height: 98px;
    width: 98px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}


.service-wrap.wrap-2 .service-item {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgb(255 255 255 / 12%);
    padding: 40px;
    border: 1px solid #fff;
    height: 480px;
    display: flex;
    flex-direction: column;
}

.service-btnn {
    margin-top: auto !important;
}

.content.white-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}



/* end */

/* our projects */
.project-carousel .swiper-slide.swiper-slide-active .project-card .project-content {
    visibility: visible;
    opacity: 1;
    background: rgb(114 114 114 / 40%);
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
}


/* end */

/* sponsor */
.service-wrap.wrap-2 {
    background: none;
}

.sponsor-section {
    background: none;
    padding: 100px 0;
}

/* end */

/* testimonials */
.testi-item {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgb(201 201 201 / 40%);
}

.testi-item .testi-thumb img {
    filter: invert(1);
    width: 50px;
}

.testi-item .content .title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.testi-item .content p {
    color: white;
    font-size: 17px;
    font-weight: 500;
    margin-bottom: 0;
}

.testi-item .testi-author-info .name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 0;
    text-transform: uppercase;
    color: white;
}

/* make appointment */
.appointment-content .appointment-contact li .icon {
    background: linear-gradient(to right, #672e89, #021970);
    color: #ffffff;
    font-size: 18px;
    height: 35px;
    width: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.appointment-form {
    background-color: var(--rr-color-common-white);
    max-width: 590px;
    width: 100%;
    padding: 50px;
    border-radius: 40px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgb(201 201 201 / 40%);
}

.appointment-form .form-item .title {
    font-family: var(--rr-ff-body);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 15px;
    color: white;
}

/* end */

/* footer */
.footer-section {
    background: none;
    position: relative;
    z-index: 1;
}

.footer-top .title {
    font-size: 52px;
}

.footer-top {
    padding-bottom: 30px !important;
}

.social-icons.d-block.gap-3 {
    margin-bottom: 30px;
}

.social-icons.d-block.gap-3 a {
    color: #fff;
    font-size: 20px !important;
    padding: 10px;
}

/* end */

/* testimonials */
.testi-item .content .title {
    font-size: 22px;
}

/* end */

/* about us */
.about-content-5 .about-list li p {
    color: #fff;
}

.about-content-5 .desc {
    color: #fff;
}

.about-content-5 .about-list li p span {
    font-weight: 700;
    color: #ffffff;
}

.about-content-5 .about-list li .number {
    background: linear-gradient(to right, #672e89, #021970);
}

section.service-section.service-3 .service-wrap.wrap-2.pt-140.pb-140 {
    padding-top: 0;
}

section.team-section.pt-140.pb-140 {
    padding-top: 0;
}

/* about page */
section.hero-section-2.all-sec.overflow-hidden .hero-img-2 img {
    filter: brightness(0.5);
}

section.hero-section-2.all-sec.overflow-hidden .page-header-content .title {
    font-size: 65px;
}

section.hero-section-2.all-sec.overflow-hidden .page-header-content {
    padding: 400px 0 200px;
}

section.hero-section-2.all-sec.overflow-hidden {
    height: 90vh;
}

.about-service {
    background: none;
    border: none;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 20px;
    margin-bottom: 0;
    padding-bottom: 70px;
    border-bottom: none;
}

/* end */

/* contact page */
.office-item {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgb(255 255 255 / 12%);
}

.office-item:hover {
    background: linear-gradient(to right, #180c20, #040e34);
    border: 1px solid white;
    color: white;
}

.office-item .office-content .title {
    color: white;
}

.office-item .office-content .title:before {
    background: white;
}

.office-item .office-content a,
.office-item .office-content span {
    color: white;
}

.office-item .office-content a {
    color: white;
}

.office-item .office-img {
    background: white;
}

/* project details */

.project-details-items .project-details-item .content span {
    font-size: 12px;
}

.project-details-items .project-details-item .content .title {
    font-size: 12px;
}

.project-details-content .details-title {
    line-height: 60px;
    color: #ffffff;
}

.project-details-items {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgb(255 255 255 / 12%);
}

.project-details-items .project-details-item .content span {
    color: #ffffff;
}

.project-details-items .project-details-item .icon {
    background: linear-gradient(to right, #180c20, #040e34);
    color: #ffffff;
}

.project-details-content p {
    color: white;
}


/* end */

/* services page */
section.process-section.py-5 h2 {
    color: #fff;
}

section.process-section .process-section {
    /* background: #f8f9fa; */
    position: relative;
}

section.process-section .process-step {
    margin-bottom: 60px;
    position: relative;
    /* Required for the ::after to position correctly */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.3s, transform 0.3s;
}

section.process-section .step-content {
    background: linear-gradient(to right, #180c20, #040e34);
    padding: 30px 25px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

section.process-section .step-content h4 {
    color: #fff;
}

section.process-section .step-content p {
    color: #fff;
    margin-bottom: 0;
}

section.process-section .process-step.left::before,
section.process-section .process-step.right::before {
    content: "";
    position: absolute;
    top: 50%;
    width: 15px;
    height: 15px;
    background-color: #fff;
    border-radius: 50%;
    transform: translateY(-50%);
}

section.process-section .process-step.left::before {
    right: 775px;
}

section.process-section .process-step.right::before {
    left: 780px;
}

/* Animation keyframes */
@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Animate when in view */
section.process-section .animate-left {
    animation: slideInLeft 1s ease forwards;
}

section.process-section .animate-right {
    animation: slideInRight 1s ease forwards;
}

/* Hide initially */
section.process-section .process-step {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.3s, transform 0.3s;
}

/* White line for LEFT step (line goes to the right side) */
section.process-section .process-step.left::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 45%;
    width: 120px;
    height: 2px;
    background-color: white;
    transform: translateY(-50%);
}

/* White line for RIGHT step (line goes to the left side) */
section.process-section .process-step.right::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 45%;
    width: 120px;
    height: 2px;
    background-color: white;
    transform: translateY(-50%);
}