* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

.navbar {
    height: 60px;
    width: 100%;
    background-color: black;
    display: flex;
    color: white;
    justify-content: center;
    align-items: center;
    position: relative;

}

.navbar ul {
    list-style-type: none;
    display: inline-flex;
    flex: wrap;
}

.navbar .menu li a {
    text-decoration: none;
    color: white;
    padding: 14px 16px;
}

.navbar .menu li a:hover {
    color: crimson;
}

.logo {
    flex: 2;

    flex-wrap: wrap;
    /* border: 1px solid white; */
}

.logo span {
    display: block;
    padding: 10px;
    padding-left: 50px;

}

.logo:hover {
    color: crimson;
}

.menu {
    flex: 8;
    flex-wrap: wrap;
    /* border: 1px solid white; */
    padding-left: 250px;
}

.icon {
    flex: 2;
    flex-wrap: wrap;
    padding-left: 50px;
    /* font-size: 30px; */
    /* border: 1px solid white; */

}

.icon li {
    float: left;
    text-decoration: none;
    list-style: none;
    padding: 5px;
    cursor: pointer;
}

.icon i {
    font-size: 25px;
    padding: 0px 5px;
    text-align: center;
    cursor: pointer;
}

#arrow {
    cursor: default;

}

/* .icon i:hover{
    color: crimson;
} */

.subnav {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    background-color: rgba(0, 0, 255, 0.705);
    color: white;
    flex-wrap: wrap;
}

.subnav ul {
    flex-wrap: wrap;
    list-style-type: none;
    display: inline-flex;

}

.subnav ul li .a1 {
    color: white;
    text-decoration: none;
    display: block;
    padding: 14px 16px;
}

.subnav ul li .a1:hover {
    background-color: rgb(0, 4, 255);
}

.subnav ul li .a1 i {
    padding: 5px;
    font-size: 12px;
}

.smenu {
    /* border: 1px solid white; */
    flex: 8;
}

.search {
    /* border: 1px solid white; */
    flex: 4;
    /* font-size: 25px; */
    /* text-align: center; */
}

.search input {
    padding: 10px;
    width: auto;
    border: 1px solid black;
    border-radius: 22px;
}

.search i {
    font-size: 17px;

}

.subnav ul li:hover .aadhar-content {
    display: block;
}


.table-content a {
    text-decoration: none;
    color: black;
    display: block;
}

.table-content a:hover {
    background-color: lightblue;
}

.aadhar-content {
    display: none;
    position: absolute;
    left: 3%;
    /*  using for opening dropdown from start*/
    min-width: 600px;
    background-color: white;
    color: black;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.aadhar-content th,
td {
    /* border: 1px solid white; */
    padding: 8px;
    width: 200px;
}

.subnav ul li:hover .uidai {
    display: block;
}

.uidai {
    display: none;
    position: absolute;
    background-color: white;
    color: black;
    left: 3%;
    /*  using for opening dropdown from start*/
    min-width: 600px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.uidai th,
td {
    /* border: 1px solid white; */
    padding: 8px;
    width: 200px;
}

.subnav ul li:hover .ecosystem {
    display: block;
}

.ecosystem {
    display: none;
    position: absolute;
    left: 3%;
    background-color: white;
    color: black;
    min-width: 600px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.ecosystem th,
td {
    /* border: 1px solid white; */
    padding: 8px;
    width: 200px;
}

.subnav ul li:hover .media {
    display: block;
}

.media {
    display: none;
    position: absolute;
    left: 3%;
    background-color: white;
    color: black;
    min-width: 600px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.media th,
td {
    /* border: 1px solid white; */
    padding: 8px;
    width: 200px;
}

.subnav ul li:hover .contact {
    display: block;
}

.contact {
    display: none;
    position: absolute;
    left: 3%;
    background-color: white;
    color: black;
    min-width: 600px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.contact th,
td {
    /* border: 1px solid white; */
    padding: 8px;
    width: 200px;
}

.middle {
    height: 100vh;
    width: 100%;
    background-color: lightblue;
}

.first {
    width: 100%;
    max-height: 2000px;
    /* background-color: lightseagreen; */
}

/* Slideshow container */
.slideshow-container {

    max-width: 2000px;
    max-height: 2000px;
    position: relative;
    margin: auto;
    
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 0%;
    width: 50px;
    height: 250px;
    padding: 100px 15px;
    /* margin-top: -22px; */
    color: black;
    font-weight: bold;
    font-size: 25px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    /* background-color: rgba(0,0,0,0.8); */
    border: 2px solid black;
}


/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {

    .prev,
    .next,
    .text {
        font-size: 11px
    }
}


/* cardbox start */

.card-box1 {
    display: flex;
    justify-content: center;
    height: 350px;
    width: 100%;
    top: 22%;
    position: absolute;
    /* border: 1px solid red; */
    align-items: center;
    padding: 15px;
    gap: 30px;

    background-color: transparent;
    perspective: 1000px;
    /* background-color: white; */
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.card:hover .card-inner {
    transform: rotateY(180deg);
}

.cback,
.cfront {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.cfront{
    background-color: white;
    color: black;
}
.cback{
    background-color: lightgray;
    color: black;
    transform: rotateY(180deg);
}
.cback button{
    background-color: transparent;
    height: 35px;
    width: 100px;
    border-radius: 10px;
    font-weight: 400;
    font-size: 20px;
    cursor: pointer;
    padding: auto;
    opacity: 0.8;
}
.cback button:hover{
    opacity: 1;
    height: 40px;
    width: 120px;
}
.cback h1{
    padding: 100px 40px 20px 40px;
}
/* .cback p{
    margin: -15px;
} */
.card-box1 img {
    height: 320px;
    width: 100%;
}

.card-box1 .card,
.card-box1 .card,
.card-box1 .card,
.card-box1 .card {
    flex: 3;
    max-width: 300px;
    height: 350px;
    /* border: 1px solid red; */

}

.card-box2 {
    top: 50%;
    display: flex;
    justify-content: center;
    width: 100%;
    height: 350px;
    position: absolute;
    /* border: 1px solid red; */
    align-items: center;
    gap: 30px;
    padding: 40px;

}

.card-box2 img {
    height: 315px;
    width: 100%;
}

.card-box2 .card,
.card-box2 .card,
.card-box2 .card {
    flex: 4;
    margin: 10px;
    height: 350px;
    max-width: 350px;

    /* border: 1px solid red; */
}

/*---- cardboxes end------ */

/*......start user login popup...*/


.popup{
    width: 100%;
    max-height:600px;
    border: 1px solid black;
    padding: 20px;
    display: flex;
    gap: 30px;
}
.login{
    height: 500px;
    width: 370px;
    /* border: 1px solid black; */
    position: absolute;
    top:9%;
    right: 3%;
    display: none;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2); 
    border-radius: 5px;
}

.login .p1{
    display: flex;
    width: 100%;
    height: 20%;
    justify-content: center;
    padding: 45px;
    background-color: skyblue;
    
}
.login i{
    position: absolute;
    right: 0%;
    top: 0%;
    padding: 8px;
}
.login i:hover{
    font-size: 20px;
}

.login .p1 img{
    width: 40%;
    height: 116px;
    border-radius: 50%; 
    margin: -10px;   
}
 .login .p2{
    
    width: 100%;
    align-items: center;
    height: 65%;
    background-color: lightgray;
    padding: 61px 10px 10px 10px;
}
.login form{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.login .p2 input{
    height: 15px;
    width: 290px;
    padding:20px;
    margin-top: 23px;
}
.login .p2 .a1{
    position: absolute;
    top: 46%;
    left: 12%;
    font-size: 13px;
}
.login .p2 .a2{
    position: absolute;
    top: 60%;
    left: 12%;
    font-size: 13px;
}
.login .p2 .btn:hover{
    background-color: skyblue;

}
.login .p2 .btn{
    height: 30px;
    width: 80px;
    border-radius: 7px;
    background-color: transparent;
    margin-top: 20px;
    /* margin-left: 90px; */
    font-weight: 600;
    padding: 5px;
    cursor: pointer;
}
.login .check{
    display: flex;
    width: 280px;
    height: 30px;
    font-size: 13px;
    align-items: center;
    margin-top: 15px;
}
.login .check input{
    height: 15px;
    width: 15px;
    margin: 10px 5px 10px 3px;
    
}
.login .check a{
    padding-left: 61px;
}
/* .login .p2 .check{
    display: flex;
}
.check input {
    flex: 1;
    margin-left: 48px;
    
}
.check label{
    flex: 10;
    font-size: 13px;
    padding-top:22px;
} */
.login .p2 p{
    font-size: 15px;
    
    /* margin-right: 75px; */
    color: red;
    
}

.login .p3{
    text-align: center;
    padding: 28px;
    background-color: white;
    height: 15%;
    
}
.login .p3 a:hover{
    color: black;
}
.signup{
    height: 530px;
    width: 370px;
    /* border: 1px solid black ; */
    background-color: lightgray;
    position: absolute;
    top: 9%;
    right: 3%;
    display: none;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2); 
    border-radius: 5px;

}
.signup .p1{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 18px;
}
.signup i{
    position: absolute;
    left: 0%;
    top: 0%;
    padding: 12px;
    font-size: 20px;

}
.signup input{
    height: 30px;
    width: 300px;
    padding:20px;
    margin: 15px;
    
}
.signup .namep{
    position: absolute;
    padding: 0px;
    top: 24%;
    font-size: 13px;
    left: 10%;
    color: red;
}
.signup .mobilep{
    position: absolute;
    padding: 0px;
    top: 38%;
    font-size: 13px;
    left: 10%;
    color: red;
}
.signup .l1{
    position: absolute;
    padding: 0px;
    top: 52%;
    font-size: 13px;
    left: 10%;
    color: red;
}
.signup .l2{
    position: absolute;
    padding: 0px;
    top: 66%;
    font-size: 13px;
    left: 10%;
    color: red;
}
.signup .l3{
    position: absolute;
    padding: 0px;
    top: 83%;
    font-size: 13px;
    left: 10%;
    color: red;
}
.signup .check2{
    display: flex;
    width: 180px;
    height: 40px;
    justify-content: center;
    font-size: 14px;
    align-items: center;
    margin: -5px -12px;
}
.signup .check2 input{
    height: 15px;
    width: 15px;
    margin: 10px 8px;

}
.signup .in1 {
    margin-top: 3px;
}
.signup .btn{
    height: 32px;
    width: 80px;
    border-radius: 7px;
    background-color: transparent;
    margin: 15px 125px;
    font-weight: 600;
    padding: 5px;
    cursor: pointer;
}


.forgot-pass{
    height: 250px;
    width: 350px;
    padding: 20px;
    border: 1px solid black;
    margin: 20px;
    background-color: lightgray;
    position: absolute;
    top: 6%;
    right: 2%;
    display: none;
}
.fpass{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}
.fpass input{
    padding: 10px;
    width: 270px;
}
.fpass label{
    padding-right: 218px;
    padding-bottom: 3px;
}
.fpass .btn{
    width: 70px;
    padding: 8px;
    border-radius: 8px;
    font-size: 12px;
    margin-top: 40px;
    margin-left: 185px;
    background-color: blue;
    border: blue;
    opacity: 1;
    color: white;
}
.fpass .btn:hover{
    opacity: 0.8;
}