@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('theme.css');

*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--smoke-color);
    font-family: var(--body-font);
    color: var(--theme-color);
    line-height: 1.6;
}

/* --------------upper-header-css----------- */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

/* Slant Effect */
.left-bg {
    clip-path: polygon(0 0, 100% 0, 92% 100%, 0% 100%);
}

/* Underline */
.style-underline {
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.style-underline:hover {
    border-bottom: 1px solid white;
}

/* Social Icons */
.upper-icons {
    background-color: #27569f;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.upper-icons:hover {
    background-color: white;
    color: #27569f;
    transform: translateY(-2px);
}

/* --------------hero-section-css------- */
.wave-shape {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    overflow: hidden;
    z-index: 10;
}

.river-wave {
    background: url("../img/wave.svg") repeat-x;
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    /* Extra width for smooth scrolling */
    height: 100%;
    animation: river-wave 35s linear infinite;
    transform: translate3d(0, 0, 0);
}

.river-wave:nth-of-type(2) {
    animation: river-wave 20s linear infinite;
    animation-delay: -10s;
    opacity: 0.8;
}

@keyframes river-wave {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* -------------about-section-css---------- */
.box-shape {
    top: -75px;
    left: -90px;
    position: absolute;
    z-index: 0;
}

.spin {
    animation: spin 20s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ---------------solution-section-css----------- */
.floating-slow {
    animation: float 5s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-30px);
    }
}

/* -----------------service-section-css----------- */
.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.32, 0.72, 0, 1);
}

.service-card {
    flex: 0 0 100%;
    padding: 0 15px;
}

@media (min-width: 1024px) {
    .service-card {
        flex: 0 0 33.333%;
    }
}

.card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}


/* ------------------work-procss-section-css--------- */
.process-card {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 285px;
}

.process-img {
    width: 188px;
    height: 210px;
    margin: 0 auto 30px auto;
    padding: 8px;
    position: relative;
    z-index: 2;
    background-color: var(--dark-blue);
}

/* ---------------clients-section-css------------ */

.animation-marquee {
    animation: marqueeLeft 25s linear infinite;
}

.animation-marquee-reverse {
    animation: marqueeRight 25s linear infinite;
}

@keyframes marqueeLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 10px));
    }

    /* Perfectly cuts at half of the duplicated size */
}

@keyframes marqueeRight {
    0% {
        transform: translateX(calc(-50% - 10px));
    }

    100% {
        transform: translateX(0);
    }
}

/* ======================about-page-sectio================ */




/* ----------footer-css------------- */


.footer-bg {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Moving Background Image */
.footer-bg::before {
    content: "";
    position: absolute;

    top: 0;
    left: 0;

    width: 500px;
    /* image area only */
    height: 100%;

    background-image: url("../img/footer-img.png");
    background-repeat: no-repeat;
    background-position: left center;
    /* background-size: cover; */

    animation: moveBg 5s ease-in-out infinite alternate;

    z-index: -999;
}

/* Overlay only on image */
.footer-bg::after {
    content: "";
    position: absolute;

    top: 0;
    left: 0;

    width: 500px;
    /* same as image width */
    height: 100%;
    filter: blur(50px);
    background: linear-gradient(to bottom right,
            #ffffff7e,
            #dbeafe65,
            rgba(191, 219, 254, 0.2));

    z-index: -1;
}

/* Animation */
@keyframes moveBg {
    0% {
        transform: translateX(0px);
    }

    100% {
        transform: translateX(50px);
    }
}