@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins' sans-serif;
}



a{
    color: wheat;
    text-decoration: none;
}

.navbar{
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    padding: 25px 9%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    visibility: hidden;
    opacity: 0;
    animation: show-content 1.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;
}

.home{
    display: flex;
    align-items: center;
    gap: 50px;
    height: 100vh;
    padding: 60px 9% 0;
    color: #fff;
     visibility: hidden;
    opacity: 0;
    animation: show-content 1.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;
    background: slateblue;
}

.home-info h2 span{
    display: inline-block;
    color: #7cf03d;
    border-right: 2px solid #7cf03d;
    padding-right: 4px;
    animation: blink-cursor 0.8s steps(1) infinite;
}

@keyframes blink-cursor {
    0%, 100% { border-color: #7cf03d; }
    50% { border-color: transparent; }
}

.home-info p{
    font-size: 16px;
    margin: 10px 0 25px;
}

.home-info .btn-sci{
    display: flex;
    align-items: center;
}

.btn{
    display: inline-block;
    padding: 10px 30px;
    background: #7cf03d;
    border: 2px solid #7cf03d;
    border-radius: 40px;
    box-shadow: 0 0 10px #7cf03d;
    font-size: 16px;
    color: #1f242d;
    font-weight: 600;
    transition: .5s;
}

.btn:hover{
    background: transparent;
    color: #7cf03d;
    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 #7cf03d;
    border-radius: 50%;
    font-size: 20px;
    color: #7cf03d;
    margin: 0 8px;
}

.home-info .btn-sci .sci a:hover{
    background: #7cf03d;
    color: #1f242d;
    box-shadow: 0 0 10px #7cf03d;
}

.home-img .img-box {
    position: relative;
    width: 32vw;
    height: 32vw;
    border: 2px  solid #999;
    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;
    height: 500px;
    background: conic-gradient(transparent, transparent, transparent, #7cf03d);
    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: #1f242d;
    border-radius: 50%;
    border: .1px solid red;
    display: flex;
    justify-content: center;
    z-index: 1;
    overflow: hidden;
}

.home-img .img-box .img-item img{
    position: absolute;
    top: 0px;
    display: block;
    height: 100%;
    width: 100%;
    object-fit: cover;
    mix-blend-mode: lighten;
}

.bars-animation{
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: -1;
}

.bars-animation .bar{
    width: 100%;
    height: 100%;
    background: #1f242d;
    /*border: 2px solid red;*/
    transform: translateY(-100%);
    animation: show-bars .5s ease-in-out forwards;
    animation-delay: calc(.1s*var(--i));
}

@keyframes show-bars {
    100%{
       transform: translateY(0%); 
    }
}

/* Portfolio Section */
.portfolio {
    padding: 40px 0;
    background: #23272f;
    color: #fff;
    text-align: center;
}
.portfolio-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    margin-top: 24px;
}
.project-card {
    background: #1f242d;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(124, 240, 61, 0.08);
    padding: 24px;
    width: 300px;
    text-align: left;
    transition: transform 0.2s;
}
.project-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 4px 24px #7cf03d44;
}
.project-card img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 12px;
}
.project-card h3 {
    margin: 8px 0 4px;
    color: #7cf03d;
}
.project-card span {
    display: block;
    font-size: 0.95em;
    color: #aaa;
    margin-bottom: 8px;
}
.project-card a {
    color: #7cf03d;
    text-decoration: underline;
    font-weight: 500;
}

/* Service Section */
.service {
    padding: 40px 0;
    background: #1f242d;
    color: #fff;
    text-align: center;
}
.service-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    margin-top: 24px;
}
.service-card {
    background: #23272f;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(124, 240, 61, 0.08);
    padding: 24px;
    width: 260px;
    text-align: left;
    transition: transform 0.2s;
}
.service-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 4px 24px #7cf03d44;
}
.service-card h3 {
    color: #7cf03d;
    margin-bottom: 8px;
}
.service-card p {
    color: #ccc;
    font-size: 1em;
}

/* Contact Section */
.contact {
    padding: 40px 0;
    background: #23272f;
    color: #fff;
    text-align: center;
}
.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 24px;
}
.contact-container form {
    background: #1f242d;
    border-radius: 12px;
    padding: 24px;
    min-width: 280px;
    box-shadow: 0 2px 12px rgba(124, 240, 61, 0.08);
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.contact-container input,
.contact-container textarea {
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #7cf03d;
    background: #23272f;
    color: #fff;
    font-size: 1em;
    outline: none;
    resize: none;
}
.contact-container input:focus,
.contact-container textarea:focus {
    border-color: #fff;
}
.contact-container .btn {
    background: #7cf03d;
    color: #1f242d;
    border: none;
    border-radius: 6px;
    padding: 10px 0;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}
.contact-container .btn:hover {
    background: #5bbf2a;
}
.contact-info {
    background: #1f242d;
    border-radius: 12px;
    padding: 24px;
    min-width: 220px;
    box-shadow: 0 2px 12px rgba(124, 240, 61, 0.08);
    text-align: left;
    color: #ccc;
}
.contact-info p {
    margin: 12px 0;
    font-size: 1em;
}
.contact-info strong {
    color: #7cf03d;
}

.about {
    background: #23272f;
    color: #fff;
    padding: 40px 0;
}
.about-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 24px;
}
