*{
    box-sizing:border-box;
    padding: 0;
    margin: 0;
    font-family: poppins,sans-serif;
    text-decoration: none;
}
body{
    overflow-x: hidden;
    overflow-y: auto;
}
.hero-header{
    width:100%;
    height: 100%;
    min-height: 100vh;
    background: #222;
    overflow: hidden;
}
.wrapper{
    width: 1280px;
    max-width: 95%;
    margin: 0 auto;
    padding: 0 20px;
}
header{
    padding: 40px 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

ul li {
    color:#e5e5e5
}

.logo{
    display: inline-flex;
    justify-content: center;
    align-items: center;

}
.logo i{
    height: 45px;
    width: 45px;
    background-color: #007ced;
    border-radius: 50%;
    color:#fff;
    font-weight: 700;
    font-size: 1.5rem;
    padding: 10px;
    margin-right: 5px;
    cursor: pointer;
    text-align: center;
}
.logo .logo-text{
    font-size: 24px;
    font-weight: 500;
    color:#fff;

}
nav .togglebtn{
    width: 35px;
    height: 35px;
    position: absolute;
    top:45px;
    right: 3%;
    z-index: 5;
    cursor: pointer;
    display: none;

}
nav .togglebtn span{
    display: block;
    background-color: #007ced;
    margin: 5px 0px;
    width: 100%;
    height:3px;
    transition: 0.3s;
    transition-property: transform, opacity;
}


nav .navlinks{
    list-style-type: none;
}
nav .navlinks li{
    display: inline-block;
}

nav .navlinks li a{
    color: #e5e5e5;
    margin-right: 2.5rem;
}
nav .navlinks li a:hover{
    color:#007ced;
    transform: rotate(360deg);
}

.container{
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-top:4rem;

}
.container2{
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-top:4rem;

}

.container3{
    display: flex;
    justify-content: space-around;
    align-items: left;
    padding-top:4rem;
}

.container .hero-pic{
    width: 350px;
    height: 350px;
    border-radius: 45%;
    overflow: hidden;
    border: 14px solid #444;
    box-shadow: 5px 7px 25px rgba(0,0,0,.5);
    animation: animate 1s ease-in-out 1 forwards;
}
.container2 .hero-pic2{
    width: 100%;
    max-width: 95%;
    height: auto;
    overflow: hidden;
    border: 15px solid #444;
    box-shadow: 5px 7px 25px rgba(0,0,0,.5);
}

.container3 .hero-pic3{
    width: 100%;
    max-width: 95%;
    height: auto;
    overflow: hidden;
    border: 12px solid #444;
    box-shadow: 5px 7px 25px rgba(0,0,0.5);
}

.hero-pic2 img{
    height: 100%;
    width:100%;
    transition: .5s;
}

.hero-pic3 img{
    height: 100%;
    width: 100%;
    transition: .5s;
}


.hero-pic img{
    height: 100%;
    width:100%;
    transition: .5s;

}
.hero-pic img:hover{
    transform: scale(1.2);
}

.hero-pic3 img:hover{
    transform: scale(1.15);
}

.hero-text{
    max-width: 500px;
    display: flex;
    flex-direction: column;
    
}


.hero-text h5{
    color:#e5e5e5;
    font-size: 14px;
    opacity: 0;
    animation: animate 1s ease-in-out .3s forwards;

}
.hero-text h5 span{
    color:#007ced;
    font-size: 16px;
    
}

.hero-text ul {
    color:#d5d5d5;
    font-size: 20px;
}

.hero-text h3{
    color:#007ced;
    font-size: 45px;
    opacity: 0;
    animation: animate 1s ease-in-out .3s forwards;
}

.hero-text h3 span{
    color:#007ced;
    font-size: 20px;
}

.hero-text h1{
    color: #007ced;
    font-size: 3rem;
    opacity: 0;
    animation: animate 1s ease-in-out .5s forwards;

}
.hero-text p{
    color:#e5e5e5;
    opacity: 0;
    animation: animate 1s ease-in-out .7s forwards;
}
.btn-group{
    margin:45px 0;
    opacity: 0;
    animation: animate 1s ease-in-out .85s forwards;
}
.btn-group .btn{
    border-color: #d5d5d5;
    color: #fff;
    background-color: #333;
    padding: 12px 25px;
    margin: 5px 0;
    margin-right:7px;
    border-radius: 30px;
    border:2px solid #007ced;
    box-shadow: 0 10px 10px -8px rgb(0 0 0 / 78%)

}

.btn:hover {
    background-color: #007ced;
    border-color: #007ced;
    color: #fff;
    transition: 0.3s ease-in-out;
}


.hero-text .social i{
    color: #e5e5e5;
    font-size: 18px;
    margin-right: 10px;
    transform: 0.5s;
    opacity: 0;
    animation: animate 1s ease-in-out 1s forwards;
}
.hero-text .social i:hover{
    color:#007ced;
    transform: rotate(360deg);
}


.container5{
    margin-top: 4rem;
    width: 100%;
    max-width: 1000px;
    height: auto;
    padding: 1.25rem 0.625rem;
    margin: 0 auto;
    background-color: #222;
    box-shadow: 5px 13px 30px rgba(0,0,0,0.1);
}

.container5 .slide{
    position: relative;
    min-height: 600px;
    overflow: visible;
}

.container5 .slide .item{
    width: 200px;
    height: 300px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 20px;
    box-shadow: 0 30px 50px #000;
    background-position: 50% 50%;
    background-size: cover;
    display: inline-block;
    transition: .5s;

}

.slide .item:nth-child(1),
.slide .item:nth-child(2){
    top: 0;
    left: 0;
    transform: translate(0,0);
    border-radius: 0;
    width: 100%;
    height: 100%;

}

.slide .item:nth-child(3){
    left: 75%;
}

.slide .item:nth-child(4){
    left: calc(30% + 660px);
}

 .slide .item:nth-child(n + 5){
    left: calc(50% + 880px);
    opacity: 0;
} 


.item .content{
    position: absolute;
    top: 50%;
    left: 50px;
    width: 650px;
    text-align: left;
    color: #FFFFFF;
    transform: translate(0, -50%);
    font-family: system-ui;
    font-weight: bold;
    display: none;
}

.slide .item:nth-child(2) .content{
    display: block;

}

.content .name{
    font-size: 40px;
    color: #007ced;
    text-decoration: underline;
    text-transform: uppercase;
    font-weight: bold;
    opacity: 0;
    animation: animate 1s ease-in-out 1 forwards;

}

.content .des{
    font-size: 20px;
    margin-top: 10px;
    margin-bottom: 20px;
    opacity: 0;
    animation: animate 1s ease-in-out .3s forwards;
}

.content button{
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    opacity: 0;
    animation: animate 1s ease-in-out .6s forwards;
}

@keyframes animate{
    from{
        opacity: 0;
        transform: translate(0, 100px);
        filter: blur(33px);
    }

    to{
        opacity: 1;
        transform: translate(0);
        filter: blur(0);

    }
}

.button{
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: 20px;

    
}

.button button{
    width: 40px;
    height: 35px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    margin: 0 5px;
    border: 1px solid #000;
    transition: 0.3s;
}

.button button:hover{
    background: #ababaa;
    color: #fff;
}



/* Responsive design and dispalying navbar for le small of the screens*/
@media(max-width:930px)
{
    nav .togglebtn{
        display: initial;
    }
    /* for toggle button**/
    .click {
        top:45px;

    }
    .click span{
        position: absolute;
        margin-top:12px;

    }
    .click span:first-child{
        transform: rotate(-40deg);

    }
    .click span:nth-child(2)
    {
        opacity: 0;
        margin:0;
    }
    .click span:last-child{
        transform: rotate(45deg);
        top:0;
    }
    nav .navlinks{
        position: absolute;
        top:110px;
        right:-100%;
        bottom: 0;
        width: 60;
        height: 100vh;
        background-color: #222;
        z-index: 3;
        box-shadow: 5px 13px 30px rgba(0,0,0,0.1);
        transition: 0.5s;
        padding: 25px 0px;
    }
    nav .navlinks li{
        display: block;

    }
    nav .navlinks li a{
        display: block;
        margin-bottom: 15px;
        text-align: center;
    }
    nav .navlinks.open{
        right:0;
    }
}
@media(max-width:768px)
{
    .container, .container2, .container3 {
        flex-direction: column;
        align-items: center;
        padding: top 2rem
    }
    .container2 .hero-pic2, .container3 .hero-pic3 {
        width: 90%;
        height: auto;
    }
    .hero-text{
        padding:20px;
        text-align: center;
    }
    .item .content {
        width: 90%;
        left: 5%;
    }
    .content .name {
        font-size: 28px;
    }
    .content .des {
        font-size: 16px;
    }
    .container5 {
        width: 90%;
        height: auto;
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin-top: 1.5rem;
        margin: 0 auto;
        padding: 20px 10px;
    }
    .container5 .slide{
        position: static;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

        
    .container5 .slide .item {
        position: static;
        transform: none;
        width: 100%;
        margin: 0 auto;
    }

    .item .content {
        position: static;
        width: 90%;
        transform: none;
        text-align: center;
    }
    .content .name {
        font-size: 24px;
    }

    .content .des {
        font-size: 16px;
    }

    .button {
        position: static;
        margin-top: 20px;
    }
    nav .navlinks {
        position: fixed;
        top: 80px; /* just below header */
        right: -100%;
        width: 250px;
        height: calc(100vh - 80px); /* adjusts based on header height */
        background-color: #222;
        z-index: 999;
        box-shadow: 5px 13px 30px rgba(0,0,0,0.1);
        transition: right 0.4s ease;
        padding: 25px;
    }

    nav .navlinks.open {
        right: 0;
    }

    nav .navlinks li {
        display: block;
        margin-bottom: 20px;
        text-align: center;
    }
}
@media(max-width: 600px)
{
    .container5{
        width: 90%;
        height: auto;
        top: auto;
        left: auto;
        transform: none;
        position: relative;
    }
    .slide .item {
        position: static;
        width: 100%;
        height: auto;
        margin-bottom: 20px;
    }
}

.fade-in {
  animation: fadeIn ease 2s;
  -webkit-animation: fadeIn ease 2s;
  -moz-animation: fadeIn ease 2s;
  -o-animation: fadeIn ease 2s;
  -ms-animation: fadeIn ease 2s;
}

@keyframes fadeIn{
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}

@-moz-keyframes fadeIn {
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}

@-webkit-keyframes fadeIn {
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}

@-o-keyframes fadeIn {
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}

@-ms-keyframes fadeIn {
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}



