@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    --red: #8A1538;
    --black: #181818;
    --grey: #959CB2;
    --white: #ffff;
    --green: #008c87;
}

body {
    background-image: url('gray-abstract-wireframe-technology-background_53876-101941.webp');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 100% 100%;
    z-index: 2;
    overflow-x: hidden;
}

nav .logo {
    margin-left: 20px;
    width: 70%;
}

.item img {
    height: 150px;
    width: 10px;
}

span {
    font-size: 70px;
}

.dropdown-menu li {
    position: relative;
}

.dropdown-menu .submenu {
    display: none;
    position: absolute;
    right: 101%;
    top: -5px;
    padding-left: 1rem;

}

.dropdown-menu>li:hover>.submenu {
    display: block;
}

/* #navbar-container {
    margin-bottom: 28em;
} */

#nave {
    width: 100%;
    padding: auto;
    justify-content: space-around;
    margin-top: 3%;
    margin-bottom: 20px;
    display: flex;
}

.navbar-toggler {
    height: 60px;
    width: 74px;
}

span.navbar-toggler-icon {
    height: 50px;
    width: 50px;
}

#nave a {
    text-decoration: none;
    color: var(--black);
    font-family: Poppins;
    font-size: 1em;
    border-bottom: 5px solid transparent;
}

#nave button {
    font-family: Poppins;
    font-size: 1em;
    margin-top: -0.5%;
    color: var(--white);
    background-color: var(--red);
    border: none;
    border-radius: 5px;
    height: 40px;
    width: 160px;
    padding: 5px;
}

#but a {
    color: #ffffff;
}

#hover:hover {

    border-bottom: 4px solid var(--red);
}


.caro-inn{
    width: 100% !important;
    height: 83vh;
}
.carousel-item h5 {
    transform: translateY(-440px);
    float: left;
    font-size: 28px;
}

.carousel-item h6{

    transform: translate(-400px,-470px);
    font-size: 15px;
    width: 100%;
    
}

#top-img{
    margin-bottom: 100px;
}

.d-flex {
    width: 100%;
}

.blob {
    width: 50%;
    position: relative;
}
.card-img img {
    height: 200px;
    width: 200px;
}

.about {
    text-align: center;
    padding: 5%;
}

.about h2 {
    font-weight: 300;
}

.about p {
    font-size: 22px;
    font-weight: 300;
}

.about img {
    transform: translateX(-25%);
}

.blob img {
    border-radius: 40% 60% 60% 40% / 70% 30% 70% 30%;

    width: 100vmin;
    height: 90vmin;
    box-shadow: -10vmin 10vmin 0 rgba(255, 255, 255, 0.07);
    float: right;
    animation: morph 8s linear infinite alternate;
}

.cont p {
    font-size: 20px;
    text-align: justify;
    width: 90%;
}

.second-cont {
    display: flex;
}

.cir-img img {
    transform: translate(-450px, 70px);
}

.cir-img1 img {
    transform: translate(-500px, 70px);
}

.cir-img2 img {
    transform: translate(-300px, 70px);
}

/* solution starts */
#solution {
    margin: 20px 0;
}

.solution {
    width: 100%;
    height: 100%;
}

h1 {
    text-align: center;
    margin: 20 auto 10px;
    color: black;
}

.solution .firstp {
    color: rgb(199, 197, 197);
    font-size: 20px;
    text-align: center;
    margin-bottom: 20px;

}

.gripper {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.ycol {
    flex-basis: 30%;
    overflow: hidden;
}

.ycard {
    width: 350px;
    height: 240px;
    margin: auto;
    perspective: 1000px;
    cursor: pointer;
}

.innerBox {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    border-radius: 10px;
    transition: transform 1s;
    transform-style: preserve-3d;
}

.cardFront,
.cardBack {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
}

.cardFront {
    background-position: center;
    background-size: cover;
}

.front-1 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(./images/ai.jpg);
}

.front-2 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(./images/a2.jpg);
}

.front-3 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(./images/a3.jpg);
}

.front-4 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(./images/datamanagement.jpg);
}

.front-5 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(./images/a5.jpg);
}

.front-6 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(./images/nt1.jpg);
}

.gripper span {
    font-size: 18px;
    display: inline-block;
    width: 100px;
    padding: 14px 0;
    margin-top: 80px;
    color: white;
    transition: transform 1s;
}

.cardBack {
    background-color: rgb(187, 186, 186);
    transform: rotateX(180deg);
}

.ycard:hover .innerBox {
    transform: rotateX(-180deg);
}

.ycard:hover span {
    transform: translateY(140px);
}

.backp {
    display: inline-block;
    color: #fff;
    padding: 100px 20px;

}

/* solution ends */

/* media-query 600px */

@media (min-width: 600px) {
    .ycard {
        grid-template-columns: repeat(2, 1fr);
    }

    .about img {
        border-radius: none;
    }
}

/* end-media-query 600px */


/* media-query 900px */

@media (min-width: 900px) {
    .ycard {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* end-media-query 900px */

/* solution */


@keyframes morph {
    0% {
        border-radius: 40% 60% 60% 40% / 70% 30% 70% 30%;
    }

    100% {
        border-radius: 40% 60%;
    }
}

html,
body {
    height: 100%;
}

@media (max-width: 767px) {
    .carousel-inner .carousel-item>div {
        display: none;
    }

    .carousel-inner .carousel-item>div:first-child {
        display: block;
    }

    .blob img {
        width: 50vmin;
        height: 60vmin;
    }

    /* .carousel-item h2 {
        transform: translateY(10px);
        float: left;
        color: var(--red);
        font-size: 15px;
    } */

    .d-flex {
        display: block;
    }

    /* .blob1 img {
        width: 70vmin;
        height: 50vmin;
        transform: translateX(0%);
        margin-left: 25%;
    } */

    .second-cont {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin: auto;
        justify-content: center;
    }

    .second-cont p {
        width: 350px;
    }
     
    .about img{
        width: 50vw;
       text-align: center;
        height: 50vh;
        
        transform: translateX(50%);
       border:none;
       border-radius: 0%;
       animation: none;
    }
    .h-46 {
        display: none;
    }
}

.carousel-inner .carousel-item.active,
.carousel-inner .carousel-item-next,
.carousel-inner .carousel-item-prev {
    display: flex;
    justify-content: center;
    padding-top: 10%;

}

/* medium and up screens */
@media (min-width: 768px) {

    .carousel-inner .carousel-item-end.active,
    .carousel-inner .carousel-item-next {
        transform: translateX(25%);
    }
   
    .carousel-inner .carousel-item-start.active,
    .carousel-inner .carousel-item-prev {
        transform: translateX(-25%);
    }
    
   

    .w-50{
        margin: auto;
    }
}


.carousel-inner .carousel-item-end,
.carousel-inner .carousel-item-start {
    transform: translateX(0);
}

.circle {
    display: grid;
    width: 90%;
    margin: auto;
    grid-template-columns: repeat(auto-fit, minmax(150px, 4fr));
    grid-gap: 10%;
    justify-content: space-around;
    text-align: center;
    justify-content: center;
}

.cir1 {
    border-radius: 50%;
    background-color: var(--green);
    height: 180px;
    width: 180px;
    color: #ffff;
    padding: 1em;
    margin-top: 1em;

}

.cir1 h3 {
    padding: 15px;
    font-size: 22px;
}

/* Footer  */

.mainfooter {
    color: white;
    display: flex;
    justify-content: space-around;
    position: relative;
    width: 100%;
}

.footer {
    color: white;
    display: flex;
    padding-top: 270px;
    justify-content: space-around;
    position: relative;
    width: 1200px;
}

.h1-head {
    font-weight: 500;
    font-size: 25px;
    color: #ffffff8c;
}

.foot1 a {
    display: block;
}

.f1-icons {
    display: flex;
    padding-top: 5px;
}

.f1-icons a {
    margin-right: 10px;
}

.mainfooter hr {
    margin-top: 310px;
}

.mainfooter p {
    text-align: center;
    color: white;
    padding-top: 35px;
}

.footer a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.313);
}

.footer a:hover {
    text-decoration: none;
    color: #ffffff;
}

.opacity {
    opacity: 50%;
    padding-top: 10px;
}

/* SVG footer */
.custom-shape-divider-top-1669964051 {
    top: 0;
    left: 0;
    height: 630px;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    background-color: var(--red);
    position: absolute;
}

.custom-shape-divider-top-1669964051 svg {
    width: calc(145% + 1.3px);
    height: 238px;
    transform: rotateY(180deg);
}

.custom-shape-divider-top-1669964051 .shape-fill {
    fill: #FFFFFF;
    z-index: -5;
}

/* SVG footer */

@media(max-width: 1020px) {
    .con-para {
        width: 512px;
    }

    .product-head {
        grid-template-columns: auto auto auto auto;
        width: 75%;
    }

    .pro-topimage {
        width: 100%;
    }
}

@media(max-width:800px) {
    .footer {
        width: 900px;
    }

    .con-image {
        width: 100%;
    }
    .h-46 {

        display: none;
    }

    .con-data-image {
        height: 350px;
        width: 60%;
    }

    .footer {
        width: 700px;
        padding-top: 220px;
    }

    .h1-head {
        font-size: 1.6rem;
        font-weight: 100;
    }

    .opacity a {
        font-size: 1rem;
    }

    .para-copy {
        font-size: 13px;
    }

    .custom-shape-divider-top-1669964051 svg {
        height: 200px;
    }

    .custom-shape-divider-top-1669964051 {
        height: 590px;
    }

    .ms-paragraph {
        width: 600px;
    }

    .product-head {
        grid-template-columns: auto auto auto;
        width: 75%;
    }

    .pro-topimage {
        width: 100%;
    }
    .carousel-inner{
        height: 60vh;
    }
    .carousel-item h5 {
        transform: translateY(-900%);
        float: left;
        font-size: 18px;
    }
    
    .carousel-item h6{
        float: left;
        transform: translate(-150px,-900%);
        font-size: 15px;
        width: 100%;
        
    }
}

@media(max-width: 600px) {
    .con-image {
        width: 100%;
    }

    .con-data-image {
        height: 300px;
        width: 55%;
    }

    .con-para {
        width: 300px;
    }

    .footer {
        width: 100%;
        float: right;
        padding-top: 210px;
    }

    .h1-head {
        font-size: 1.2rem;
        font-weight: 100;
    }

    .opacity a {
        font-size: 12px;
    }

    .para-copy {
        font-size: 10px;
    }

    .custom-shape-divider-top-1669964051 svg {
        height: 180px;
    }

    .custom-shape-divider-top-1669964051 {
        height: 550px;
    }

    .custom-shape-divider-top-1669964051 hr {
        margin-top: 280px;
    }

    .ms-paragraph {
        width: 400px;
    }

    .product-head {
        grid-template-columns: auto auto auto;
        width: 80%;
    }

    .pro-topimage {
        width: 100%;
    }
    .carousel-inner{
        height: 50vh;
    }
    .carousel-item h5 {
        
        transform: translateY(-50%);
        float: left;
        font-size: 18px;
    }
    
    .carousel-item h6{
        float: left;
        transform: translate(-100px,-100%);
        font-size: 15px;
        width: 100%;
        
    }
}

@media(max-width: 450px) {
    .con-image {
        width: 100%;
    }

    .con-data-image {
        height: 250px;
        width: 65%;
    }

    .footer {
        display: block;
        padding-top: 0px;
        text-align: center;
    }

    .f1-icons {
        justify-content: center;
    }

    .custom-shape-divider-top-1669964051 svg {
        height: 0;
    }

    .h1-head {
        font-size: 1.4rem;
        font-weight: 100;
        padding-top: 30px;
    }

    .custom-shape-divider-top-1669964051 hr {
        margin-top: 470px;
    }

    .ms-paragraph {
        width: 250px;
    }

    .product-head {
        grid-template-columns: auto;
        width: 40%;
    }

    .pro-topimage {
        width: 100%;
    }

    .circle {
        width: 100%;
        grid-gap: 0;
    }

    .h-46 {

        display: none;
    }
    .carousel-inner{
        height: 40vh;
    }

    .carousel-item h5 {
        
        transform: translate(0px,-50%);
        float: left;
        font-size: 18px;
    }
    
    .carousel-item h6{
        float: left;
        transform: translate(0px,-30%);
        font-size: 15px;
        width: 100%;
        
    }
}

@media(max-width: 376px) {
   
    .carousel-item p {
    font-size: 12px;
    }
    .carousel-inner{
        height: 35vh;
    }
   
    .about img {
        margin: 10px;
        width: 350px;
        transform: translateX(70%);
        border: none;
        border-radius: 0%;
        animation: none;
    }

    .about p {
        font-size: 12px;
        margin: auto;
        text-align: justify;
    }

    .solution p {
        font-size: 15px;
    }
    .carousel-item h5 {
    transform: translateY(50%);
    float: left;
    font-size: 15px;
}

.carousel-item h6{
    float: left;
    transform: translate(-70px,-30px);
    font-size: 10px;
    width: 100%;
    
}

  

}