.headertagline1 {
    color: #fff;
    font-size: 3vw;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 150px;
    padding: 10px 0px;
    font-family:Helvetica;
}
.headcont1{
    z-index: 2;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content:center;
    height: calc(100vh - 100px);
    min-height: 600px;
    margin-top: 1px;
    width: 80%;
}
.headerparagraph1{
    color: #fff;
    font-size: 1.5vw;
    margin-left: 150px;
    margin-top: 50px;
    line-height: 1.5;
    font-family:Helvetica;
    font-weight:lighter;
    
}
.conttagline{
    height: fit-content;
    display: flex;
    justify-content: start;
    font-family:Arial, Helvetica, sans-serif;
    align-items: start;
    /* background-image: url('../images/cover.png');  */
    /* background-size: cover;
    background-position:bottom center;
    background-repeat: no-repeat;   */
    background-color: #00000000;
    flex-direction: column;
    border-bottom: 5px solid #333;
    position: relative;
    z-index: 2;
}


.learnmore {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background-color: #35d779;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-left: 150px;
    margin-top: 50px;
}

.learnmore:hover {
    background-color: #ffffff;
}

.caret {
    margin-left: 30px;
    transition: transform 0.3s ease;
    font-size: 24px;
    font-weight: bold;
    
}

.learnmore:hover .caret {
    transform: rotate(180deg);
}



 .neural-network {
    position: absolute;
    top: 0px;
    width: 100%;
    z-index: 0;
    background-color: #00000000;
    overflow: hidden;
}

.canvas {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
} 




.card{
    flex: 300px 300px;
    height: 420px;
    width: 300px;
    color: #ffffff;
    transition: transform 0.5s ease;
    position: relative;
    font-family: sans-serif;
    letter-spacing: 0.5px;
    overflow: hidden;
    z-index: 1;
    background-size: cover;
    background-position:center;
    background-repeat: no-repeat; 
}
.cardhead{
    position: absolute;
    margin: 0;
    padding: 0px 30px;
    bottom: 20px;
    font-size: 20px;
    font-weight:bold;
    transition: transform 0.4s ease;
}
.cardcontent{
    opacity: 0;
    position:absolute;
    margin-top: 50px;
    transform: translateX(350px);
    line-height: 1.5;
    font-size: 15px;
    color:#dbd8d8;
    padding: 30px;
    top: 70px;
    transition: transform 0.4s ease-in-out;
}
.card:hover .cardhead{
    transform: translateY(-300px);

}

.card:hover .cardcontent{
    transform: translateX(0px);
    opacity: 1;

}
.card:hover{
    transform: scale(1.05);
}
.seethis{
    position: absolute;
    margin: 0;
    bottom: 20px;
    transform: translateY(350px);
    right: 30px;
    transition: transform 0.4s ease;
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    padding: 5px 20px 5px 0px;
    opacity: 0;
}
.card:hover .seethis{
    transform: translateY(0px);
    opacity: 1;
}
.caret2{
    position: absolute;
    margin-left: 20px;

    transition: transform 0.5s ease;
}
.seethis:hover .caret2{
    transform: rotate(180deg);

}
.overlay1{
    height: 100%;
    width: 100%;
    background-color: #181818;
    position: absolute;
    display: none;
    background-color: rgba(2, 2, 2, 0.73);
    z-index: -1;
    
}
.card:hover .overlay1{
    display: block;

}

.centthecont{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.cardcol{
    display: flex;
    justify-content: center;
    background-color: #000000;
    /* max-width: 1500px; */
    align-items: center;
    flex-wrap: wrap;
    gap: 70px;
    height: fit-content;
    margin:100px 30px 100px 30px;
}
.scrolltext{
    color: #fff;
    bottom: -50px;
    width: 100%;
    text-align: center;
    font-size: 20px;
    display: none;
}
.dots-container {
    display: none;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.dot {
    cursor: pointer;
    height: 10px;
    width: 10px;
    background-color: #555;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #35d779;
}

@media (max-width: 900px) {
    .dots-container{
        display: flex;
    }
    .cardcol{
        margin: 100px 30px 30px 30px;
    }
    .headertagline1 {
        color: #fff;
        font-size: 4.5vw;
        font-family:sans-serif;
        margin-bottom: 0;
        margin-left: 0px;
    }
    .headcont1{
        height: fit-content;
        width: calc(100% - 60px);
    }
    .headerparagraph1{
        font-size: 3vw;
        margin-left: 0px;
        margin-top: 30px;

    
    }
    .learnmore{
        position: relative;
        margin-top: 30px;
        margin-bottom:50px;
        margin-left: 0px;
    }
    .conttagline{
        height: fit-content;
        align-items: center;
        justify-content: start;
    }
    .cardcol {
        display: flex;
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 60px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 20px 0px;

       
    }
    .cardcol::-webkit-scrollbar {
        display: none;
    }
    .cardcol {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .card {
        flex: 0 0 300px;
        margin: 0px 10px;
        scroll-snap-align:center;
        scroll-snap-stop: always;
        transition: transform 0.5s ease;

    }


    .card:first-child {
        margin-left: 30px;
    }

    .card:last-child {
        margin-right: 30px;
    }
    .scrolltext{
        display: block;
    }

}

@media(max-width:500px){
    .headcont1{
        min-height: fit-content;
        margin-top: 50px;
    }
.learnmore{
    padding: 10px;
    font-size: 3vw;

}
.caret{
    margin-left: 10px;
    font-size: 3vw;
}
.card{
    height: 400px;
    width: 280px;
    flex: 0 0 280px;

}
.cardcol{
    gap: 30px;
}
.cardhead{
    font-size: 18px;
}
.card:hover .cardhead{
    transform: translateY(-270px);

}
.cardcontent{
    top:60px ;
    position:absolute;
    transform: translateX(350px);
    line-height: 1.5;
    font-size: 14px;
}
.seethis{
    font-size: 16px;
}

}
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
  }
  
  .fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
  }
