@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}
body{
    background: #121212;
    color:white;
    font-family: "Poppins", sans-serif;
    line-height: 1.6;
}
/* container section */
.container{
    width: 85%;
    margin: 0 auto;
    padding: 0 20px;
    color: #fff;
}


/* navigetion bar design */
.container .navbar{
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: space-between;
    line-height: 60px;
    position: sticky;
    top: 0;
    padding: 0 10px;
    z-index: 999;
    background-color: #121212;
}
.container .navbar .logo{
    font-size: 1.6rem;
    cursor: pointer;
    font-weight: 700;
}
.container .navbar .nav-menu ul{
    list-style: none;
    position: relative;
    opacity: 1;
}
.container .navbar .nav-menu ul li{
    display: inline;
    margin: 0 10px;
}
.container .navbar .nav-menu ul li:hover a{
    color: rgb(11, 227, 235);
}
.nav-menu ul li a{
    text-decoration: none;
    color: #fff;
    font-weight: 500;
}
.active{
    border-bottom: 1px solid white;
}
.nav-menu .drop-down{
        color: #fff;
        background: none;
        border: none;
        outline: none;
        cursor: pointer;
        display: none;
}



/* hero-section design */
.hero-section{
    display: flex;
    height: 100vh;
    align-items: center;
    justify-content: space-between;
    padding: 80px 0;
}
.hero-text{
    max-width: 60%;
}
.hero-section .hero-text .greeting{
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 10px;
}
.hero-section .hero-text h1{
    font-size: 3.3rem;
    font-weight: 700;
    margin-bottom: 20px;
}
.hero-section .hero-text .bio{
    font-size: 1.1rem;
    color: #a0a0a0;
    margin-bottom: 20px;
}
.hero-section .hero-text .btn{
    display: inline-block;
    background-color: #4f9dff;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
    transition: backgroung-color 0.3s;
    border: none;
    cursor: pointer;
    text-decoration: none;
}
.hero-section .hero-text .btn:hover{
    background-color: #586b70;
    color: #16f8b4;
}
.hero-section .hero-image{
    height: auto;
    width: 380px;
    overflow: hidden;
    border-radius: 50%;
    border: 3px solid #1e1e1e;
}
.hero-section .hero-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* skill section design */
.skill-section{
    margin-bottom: 10vh;
}
.skill-section h2, .portfolio-section h2{
    font-size: 2.5rem;
    font-weight: 600;
    margin-top: 50px;
    margin-bottom: 20px;
}
.skills-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 100%;
}
.skill-item p{
    margin-bottom: 5px;
    font-weight: 600;
}
.progress-bar{
    background-color: #1e1e1e;
    height: 12px;
    border-radius: 8px;
    overflow: hidden;
}
.progress-fill{
    background: linear-gradient(90deg, orange, #4f9dff);
    height: 100%;
    animation: jsr 2.2s ease-in-out;
}
.skill-section span{
    color: green;
    padding-left: 5px;
}
@keyframes jsr{
    0%{
        width: 0%;
    }
    100%{
        width: 100%;
    }
}


/* fortfolio-section design */
.portfolio-section{
    margin-bottom: 40px;
}

.portfolio-section .portfolio-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 100%;
}
.portfolio-section .portfolio-grid .project-card{
    background-color: #1e1e1e;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #333333;
    position: relative;
}
.portfolio-section .portfolio-grid .project-card:hover{
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.portfolio-section .portfolio-grid .project-card:hover button{
    display: block;
}
.portfolio-section .portfolio-grid .project-card h3{
   font-size: 1.5rem;
   font-weight: 600;
   margin-bottom: 10px; 
}
.portfolio-section .portfolio-grid .project-card p{
    color: #a0a0a0;

}
.portfolio-section .portfolio-grid .project-card button{
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: none;
    border: 1px solid #853c7b;
    border-radius: 4px;
    outline: none;
    padding: 5px;
    font-size: 1rem;
    color: #ffffff;
    cursor: pointer;
    display: none;
}
.portfolio-section .portfolio-grid .project-card button:active{
    cursor: progress;
    background: #586b70;
}
.portfolio-section .project-card button a{
    color: #ffffff;
    text-decoration: none;
}



/* about and contact and footer */
section {
    padding: 80px 0;
    color: #fff;
    background: #090909;
}


.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 25px;
}

/* ABOUT SECTION */
.about{
    margin-bottom: 40px;
}
.about-text {
    max-width: 100%;
    font-size: 18px;
    line-height: 1.8;
    color: #d0d0d0;
}

/* CONTACT SECTION */
.contact {
    background: #0c0c0c;
    border-top: 1px solid #1f1f1f;
    border-bottom: 1px solid #1f1f1f;
}

.contact-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
}

.contact-info p {
    font-size: 18px;
}

.contact-info .desc {
    color: #b3b3b3;
}

.info-item {
    margin-top: 10px;
    color: #ddd;
}

/* Contact Form */
.contact-form {
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    border: none;
    outline: none;
    border-radius: 6px;
    background: #141414;
    color: #fff;
    font-size: 16px;
}

.contact-form textarea {
    height: 140px;
    resize: none;
}

.contact-form button {
    padding: 14px;
    border: none;
    background: #2563eb;
    color: #fff;
    font-size: 17px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover {
    background: #1d4ed8;
}

/* FOOTER */
.footer {
    background: #090909;
    padding: 50px 0 25px;
    border-top: 1px solid #1a1a1a;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-brand {
    font-size: 26px;
    font-weight: 700;
}

.footer-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.footer-links a {
    color: #cfcfcf;
    text-decoration: none;
    font-size: 16px;
}

.footer-links a:hover {
    color: #fff;
}

.footer-socials a {
    color: #cfcfcf;
    margin-right: 18px;
    font-size: 20px;
    transition: 0.3s;
}

.footer-socials a:hover {
    color: #fff;
}

.footer-copy {
    text-align: center;
    margin-top: 30px;
    color: #6e6e6e;
    font-size: 15px;
    padding-top: 10px;
}





/* responsive design  mobile version*/
@media (max-width:650px){
    .container{
        width: 95%;
    }
  /* navbar design for mobile */
    .nav-menu ul{
        padding:5px 0 15px 0;
        z-index: 99;
        line-height: normal;
    }
     .container .navbar .nav-menu ul li{
        display: none;
     }
    .nav-menu .drop-down{
        display: block;
        margin-bottom: 10px;
       
    }
    .container .navbar .nav-menu{
        display: grid;
        margin-top: 20px;
    }
    .container .navbar .nav-menu ul{
           opacity: 0;
            transition: .4s ease-in-out;
            background-color: #121212;
            border-radius: 5px;
    }
    .container .navbar .nav-menu ul li{
        margin-bottom: 18px;
        display: block;
    }
    .container .navbar .nav-menu ul li:last-child{
        margin-bottom: 0;
    }



    /* hero section design for mobile */
    .hero-section{
        flex-direction: column;
        text-align: center;
        padding: 40px 0;
    }
    .hero-text{
        max-width: 100%;
        margin-bottom: 20px;
    }
     .hero-section .hero-text h1{
         font-size: 2.5rem;
        
     }
    .hero-image{
       height: 90%;
       width: 90%;
    }



    /* skill section design */
    .skill-section .skills-grid{
        grid-template-columns: repeat(1, 1fr);
    }

    /* portfolio design for mobile */
     .portfolio-section .portfolio-grid{
        grid-template-columns: repeat(1, 1fr);
    }

    .portfolio-section .portfolio-grid .project-card button{
        display: block;
        bottom: 5px;

    }


}





