*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'poppins', sans-serif;
}

body{
    height: 120vh;
    background-color: #1f242d;
}



a{
    color: #fff;
    text-decoration: none;
}

.navbar{
    position: fixed;
    left: 0;
    top: 0;
    padding: 25px 9%;
    /* background-color: slateblue; */
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    visibility: hidden;
    opacity: 0;
    animation: show-content .5s linear forwards;
    animation-delay: 1.2s;
}

@keyframes show-content {
    100%{
        visibility: visible;
        opacity: 1;
    }
}

.navbar .logo{
    font-size: 30px;
    font-weight: 700;
}

.navbar ul{
    display: flex;
}

.navbar ul li{
    list-style: none;
    margin-left: 35px;
}

.navbar ul li a{
    font-size: 20px;
    font-weight: 500;
    transition: .5s;
}


.navbar ul li:hover a,
.navbar ul li.active a{
    /* color: #7cf03d; */
    color: #00bad1;

}

li.cont{
    transition: transform 2s ease-out;
}
li.cont:hover{
    transform: scale(2);
}


.home{
    display: flex;
    align-items: center;
    gap: 50px;
    height: 100vh;
    padding: 60px 9% 0;
    color: #fff;
    visibility: hidden;
    opacity: 0;
    animation: show-content .5s linear forwards;
    animation-delay: 1.6s;
}

.home-info h1{
    font-size: 55px;
}

.home-info h2{
    display: inline-block;
    font-size: 32px;
    margin-top: -10px;
}

.home-info h2 span{
    position: relative;
    display: inline-flex;
    color: transparent;
    -webkit-text-stroke: .7px #00bad1;
    animation: display-text 16s linear infinite;
    animation-delay: calc(-4s * var(--1));
}

@keyframes display-text {
    25%,
    100%{
        display: none;
    }
}

.home-info h2 span::before{
    content: attr(data-text);
    position: absolute;
    width: 0;
    border-right: 2px solid #00bad1;
    color: #00bad1;
    white-space: norwap;
    overflow: hidden;
    animation: fill-text 4s linear infinite;
}

@keyframes fill-text {
    10%,
    100%{
        width: 0;
    }

    70%,
    90%{
        width: 100%;
    }

}

.home-info p{
    font-size: 16px;
    margin: 10px 0 25px;
    margin-top: 60px;
}

.home-info .btn-sci{
    display: flex;
    align-items: center;
}

.btn{
    display: inline-block;
    padding: 10px 30px;
    background: #6afbcf;
    border: 2px solid #6afbcf;
    border-radius: 40px;
    box-shadow: 0 0 10px #0074bc;
    font-size: 16px;
    color: #1f242d;
    font-weight: 600;
    transition: .5s;
}

.btn:hover{
    background: transparent;
    color: #00bad1; 
    box-shadow: none;
}

.home-info .btn-sci .sci{
    margin-left: 20px;
}

.home-info .btn-sci .sci a{
    display: inline-flex;
    padding: 8px;
    border: 2px solid #6afbcf;
    border-radius: 50%;
    font-size: 20px;
    color: #00bad1;
    margin: 0 8px;
    transition: .5s;
}

.home-info .btn-sci .sci a:hover{
    background: #0074bc;
    color: #1f242d;
    box-shadow: 0 0 10px #0074bc;
}

.home-img .img-box{
    position: relative;
    width: 32vw;
    height: 32vw;
    /* background: red;  */
    border-radius: 50%;
    padding: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.home-img .img-box::before,
.home-img .img-box::after{
    content: '';
    position: absolute;
    width: 500px;
    top: 0.2px;
    height: 500px;
    background: conic-gradient(transparent, transparent, transparent, #00bad1);
    transform: rotate(0deg);
    animation: rotate-border 10s linear infinite;
}

.home-img .img-box::after{
    animation-delay: -5s;
}

@keyframes rotate-border{
    100%{
        transform: rotate(360deg);
    }
}


.home-img .img-box .img-item{
    position: relative;
    width: 100%;
    height: 100%;
    background: black;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    z-index: 1;
    overflow: hidden;
}

.home-img .img-box .img-item img{
    position: absolute;
    display: block;
    inset: 0; /* top:0; right:0; bottom:0; left:0; */
    width: 100%;
    height: 100%;
    object-fit: cover; /* ensure the image covers the container */
    mix-blend-mode: lighten;
}

.bars-animation{
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: -1;
}

.bars-animation{
    width: 100%;
    height: 100%;
    background-color: #1f242d;
    transform: translate(-100%);
    animation: show-bars .5s ease-in-out forwards;
    animation-delay: calc(.1s * var(---1));
}

@keyframes show-bars {
    100%{
        transform: translate(0%);
    }
}

.btn-ptf{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.btn-p{
    display: inline-block;
    padding: 7px 20px;
    background: #1a3386;
    border: 2px solid #6afbcf;
    border-radius: 40px;
    box-shadow: 0 0 10px #0074bc;
    font-size: 16px;
    color: #fff;
    font-weight: 600;
    transition: .5s;
}

.btn-p:hover{
    background: #00bad1;
    color: #1f242d;
    box-shadow: none;
}

/* Responsive adjustments for tablet and mobile */
@media (max-width: 1024px) {
    .navbar .logo{
       font-size: 20px;
        text-align: center;
    }
    #dd {
        display: none;
    }
    .home {
        gap: 30px;
        padding-top: 130px;
    }

    .home-info h1 {
        font-size: 48px;
    }

    .home-info h2 {
        font-size: 28px;
    }

    .home-img .img-box {
        width: 26vw;
        height: 26vw;
    }
}

@media (max-width: 768px) {
    .home {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 24px;
        padding: 100px 6% 40px;
        min-height: 100vh;
    }

    .home-img {
        order: -1;
        width: 100%;
        display: grid;
        justify-content: center;
        align-items: center;
    }

    .home-info {
        width: 100%;
        text-align: center;
    }

    .home-info h1 {
        font-size: 40px;
    }

    .home-info h2 {
        font-size: 24px;
    }

    .home-info p {
        font-size: 15px;
        margin-top: 30px;
    }

    .home-info .btn-sci {
        flex-direction: column;
        gap: 18px;
        align-items: center;
    }

    .home-info .btn-sci .sci {
        margin-left: 0;
        justify-content: center;
        flex-wrap: wrap;
    }

    .home-info .btn-sci .sci a {
        margin: 6px;
    }

    .home-img .img-box {
        width: min(280px, 70vw);
        height: min(280px, 70vw);
    }
}

@media (max-width: 500px) {
    .navbar {
        padding: 18px 4%;
    }

    .home {
        padding: 110px 4% 35px;
        gap: 20px;
    }

    .home-info h1 {
        font-size: 32px;
    }

    .home-info h2 {
        font-size: 20px;
    }

    .home-info p {
        font-size: 14px;
    }

    .btn {
        width: 100%;
        padding: 14px 0;
    }

    .home-img .img-box {
        width: min(240px, 80vw);
        height: min(240px, 80vw);
    }
}

@media (max-width: 410px) {
    .navbar {
        padding: 16px 3%;
    }
    .cont{
        font-size: 10px;
    }

    .home {
        padding: 70px 4% 25px;
        gap: 30px;
    }

    .home-img {
        margin-top: 30px;
    }

    .home-info h1 {
        font-size: 28px;
    }

    .home-info h2 {
        font-size: 18px;
    }

    .home-img .img-box {
        width: min(200px, 88vw);
        height: min(200px, 88vw);
    }
}


