.kpi-hero-banner {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    transition: background-image 0.8s ease;
}

.kpi-info-text {
    backdrop-filter: blur(2px);
    background-color: rgba(29, 29, 29, 0.431);
}

.banner-title {
    border: 2px solid #24e7fdae;
}


.preloader .preloader__image {
    width: 80px;
}

/* optional translucent overlay to improve text readability */
.animated-gp .overlay {
    width: 100%;
    height: 100vh;
    color: white;
    backdrop-filter: blur(2px);
    background: rgba(0, 0, 0, 0.517);
    box-sizing: border-box;
}

/* keyframes for smooth sliding effect */
@keyframes moveBg {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}


.custom-navbar {
    display: none;
}

.custom-navbar.open {
    display: block;
}

@media (min-width: 992px) {
    .custom-navbar {
        display: block !important;
        /* Desktop pe by default open */
    }
}

.navbar {
    background-color: #0f0f0f53;
    backdrop-filter: blur(8px);
    padding: 20px 0;
}

.navbar-brand {
    width: 100%;
}

.navbar-brand img {
    width: 200px;
}

.mobile-view {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px 10px;
}

.navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 0.85rem;
    padding-left: 0.85rem;
    color: #f2f2f2;
}


/* 🔹 Main dropdown opens on hover */
.dropdown .nav-link {
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    color: #ffffff;
    background-color: #112fefdf;
}

.dropdown-menu {
    background: #191919d5;
    backdrop-filter: blur(3px);
}

.dropdown-menu li a {
    color: #fff;
}

.nav-item.dropdown:hover>.dropdown-menu {
    display: block;
    transform: translateY(-10px);
}

/* 🔹 Submenu positioning */
.dropdown-submenu {
    position: relative;
}

/* 🔹 Submenu hidden by default */
.dropdown-submenu>.dropdown-menu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    margin-top: -1px;
}

/* 🔹 Submenu visible on hover */
.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

.kpi-hero-banner {
    height: 100vh;
    width: 100%;
}

.main-banner-div {
    width: 100%;
}

.kpi-image img {
    width: 100%;
    max-width: 600px;
    border-radius: 50%;
}

.kpi-image {
    overflow: hidden;
    border-radius: 50%;
    max-width: 500px;
    height: 500px;
    /* border: 5px solid #1533f3ac; */

}

.kpi-image video {
    max-width: 500px;
    height: 500px;
    border-radius: 50%;
    object-fit: cover;
    transform: scale(1.35);
}

.banner-title h1 {
    font-size: 45px;
    font-weight: 600;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.banner-title .main-text {
    font-size: 50px;
}

.banner-title p {
    color: #f3f3f3;
}

.kpi-image {
    position: relative;
}

/* our client */

.swiper-slide .brand-logo {
    background-color: #fff;
    border-radius: 10px;
}

img {
    width: 100%;
}

.brand-one {
    background-color: #000000ec;
}

.services,
.showcase {
    position: relative;
    padding: 100px 0 80px;

}

.overlayer {
    position: relative;
    display: inline-block;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 22px;
    border: 2px solid #fff;
    padding: 2px;
}

.overlayer img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.4s ease;
    border-radius: 15px;
}

/* Dark overlay layer */
.overlayer::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.587);
    backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity 0.4s ease;

}

/* Title styling */
.overlay-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 40px;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.overlayer:hover::after {
    opacity: 1;
}

.overlayer:hover img {
    transform: scale(1.05);
}

.overlayer:hover .overlay-title {
    opacity: 1;
}




/* services card  */

.services .card {
    border: none;
    transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
    overflow: hidden;
    border-radius: 20px;
    min-height: 350px;
    box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.2);

}

@media (max-width: 768px) {
    .services .card {
        min-height: 350px;
    }
}

@media (max-width: 420px) {
    .services .card {
        min-height: 300px;
    }
}

.services .card.card-has-bg {
    transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
    background-size: 120%;
    background-repeat: no-repeat;
    background-position: center center;
}

.services .card.card-has-bg:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: inherit;
    -webkit-filter: grayscale(1);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);
}

.services .card.card-has-bg:hover {
    transform: scale(0.98);
    box-shadow: 0 0 5px -2px rgba(0, 0, 0, 0.3);
    background-size: 130%;
    transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
}

.services .card.card-has-bg:hover .card-img-overlay {
    transition: all 800ms cubic-bezier(0.19, 1, 0.22, 1);
    background: #24e7fdd0;
    background: linear-gradient(0deg, rgba(33, 92, 255, 0.379) 0%, #24e7fdd0 100%);
}

.services .card .card-footer {
    background: none;
    border-top: none;
}

.services .card .card-footer .media img {
    border: solid 3px rgba(255, 255, 255, 0.3);
}

.services .card .card-title {
    font-weight: 400;
    color: #fff;
    line-height: 1.5;
    font-size: 20px;
}

.services .card .card-meta {
    color: rgba(255, 255, 255, 0.874);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 28px;
}

.services .card .card-body {
    transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
}

.services .card:hover {
    cursor: pointer;
    transition: all 800ms cubic-bezier(0.19, 1, 0.22, 1);
}

.services .card:hover .card-body {
    margin-top: 30px;
    transition: all 800ms cubic-bezier(0.19, 1, 0.22, 1);
}

.services .card .card-img-overlay {
    transition: all 800ms cubic-bezier(0.19, 1, 0.22, 1);

    background: #0623e2d4;
    background: linear-gradient(0deg, rgba(33, 255, 255, 0.5) 0%, #0623e2d2 100%);
}

/* client testimonials */
.testimonial-section {
    padding: 100px 0;
    background: #f8f8f8;
    position: relative;
}

.testimonial-section .swiper-slide {
    width: 100%;
    height: 100%;
}

.testimonial-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    height: 280px;
    padding-top: 30px;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 15px;
    color: #555;
}

.testimonial-card h4 {
    font-weight: bold;
    color: #333;
}

.swiper-button-next,
.swiper-button-prev {
    top: 60% !important;
    color: #000;
}



/* client logo section */

.marquee {
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: 20px;
    mask-image: linear-gradient(var(--mask-direction, to right),
            hsl(0 0% 0% / 0),
            hsl(0 0% 0% / 1) 20%,
            hsl(0 0% 0% / 1) 80%,
            hsl(0 0% 0% / 0));
}


.marquee__group {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 20px;
    min-width: 100%;
    animation: scroll-x 50s linear infinite;
}

.marquee__group__reverse {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 20px;
    min-width: 100%;
    animation: scroll-reverse 50s linear infinite;
}

.marquee__group__reverse:hover,
.marquee__group:hover {
    animation-play-state: paused;
}

@keyframes scroll-reverse {
    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0%);
    }
}

@keyframes scroll-x {
    from {
        transform: translateX(0px);
    }

    to {
        transform: translateX(-50%);
    }
}


.client-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: auto;
    max-width: 100vw;
    background-color: #f3f6fd;
    /* background-color: #000; */
    padding: 50px 0;
}

.marquee .marquee__group__reverse .brand-logo,
.marquee .marquee__group .brand-logo {
    display: grid;
    place-items: center;
    fill: navy;
    background: rgb(255, 255, 255);
    width: 180px;
    height: 100%;
    padding: 10px;
    border-radius: 0.5rem;
}

.advertisement {
    position: relative;
    /* background-image: url(../images/city.jpg);
    background-size: fill;
    background-repeat: no-repeat;
    background-position: center; */
    background-color: #d5d5d5;
    padding: 30px 0 1px;
    width: 100%;
    height: 430px;
    background-image: url(../images/bg-clouds.png);
    background-position: 0 0;
    background-size: cover;
    background-repeat: repeat-x;
    animation: 85s linear infinite cloudanimation;
    /* margin-top: 150px; */
    border-bottom: 5px solid black;
}

.advertisement .title h1 {
    font-weight: 800;
    text-shadow: 2px 2px 5px rgba(141, 141, 141, 0.411);
}

@keyframes cloudanimation {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 100% 0;
    }
}

.billboard-div {
    position: relative;
    height: 430px;
}

/* */

.rain-pic {
    width: 100%;
    height: 100%;
    position: absolute;

}

.rain-pic img {
    width: 100%;
    max-width: 700px;
    /* padding-top: 250px; */
}


@media (min-width:1024px) {
    .rain-pic {
        top: 50% !important;
    }

}

@media (max-width:1024px) {
    .banner-title .main-text {
        font-size: 30px;
    }

    .banner-title h1 {
        font-size: 32px;
    }

    .banner-title p {
        font-size: 16px !important;
    }

    .kpi-image {
        max-width: 400px;
        height: 400px;
    }

    .kpi-image video {
        max-width: 400px;
        height: 400px;
        transform: scale(1.3);
    }
    .main-banner-div{
        padding: 0 10px;
        gap: 10px!important;
    }
}

@media (max-width:576px) {
    .banner-title .main-text {
        font-size: 25px;
    }

    .banner-title h1 {
        font-size: 20px;
    }

    .banner-title p {
        font-size: 16px !important;
    }

    .kpi-hero-banner {
        height: 70vh;
        width: 100%;
    }

    .navbar {
        padding: 10px 0;
    }

    .main-banner-div {
        margin-top: 150px;
        padding: 5px;
        text-align: center;
    }

    .kpi-image {
        display: none;
    }
    .kpi-info-text {

    margin-top: 150px;
}

}

@media (max-width:768px) {
    .kpi-image {
        display: none;
    }

    .main-banner-div {
        gap: 0 !important;
        margin-top: 100px;
        padding: 5px 20px;
        text-align: center;
    }
}

@media (min-width:390px) {
    .rain-pic {
        top: 54.4%;
    }
}