html, body{
    width: 100%;
    margin: 0%;
    font-family: 'Segoe UI', sans-serif;
    scroll-behavior: smooth;
    background: linear-gradient(to right, hsl(254, 100%, 50%), #333399);
    overflow-x: hidden;
    box-sizing: border-box;
     
}
img{
    max-width: 100%;
    height: auto;
}

header{
    background-color: #111;
    padding: 10px 60px;  /* top-bottom=10px left-right=30 */
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: sticky;
    top: 0;
    z-index: 999;
}
header h2 span{
    color: #00bcd4;

}
nav a{
    color: #fff;
    margin: 0 10px;
    text-decoration: none;
}
nav a:hover{
    color: #00bcd4;
}

.banner{
    width: 80%;
    margin: auto;
    /* background-color: #004e92; */
    height: 550px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: white;
    margin-top: -20px;
    
}
.banner-text h2{
    font-size: 30px;
}
.banner img{
    width: 300px;
    height: 350px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #00bcd4;
    box-shadow: 0 0 5px #00ffff,
                0 0 25px #00ffff;
    position: relative;
}
.banner img source{
    position: relative;
    left: 200px;
}
.typewriter-container{
    font-size: 20px;
    color: white;
    /* margin-top: 10px; */
}
.typewriter_text{
    font-size: 25px;
    text-shadow: 1px 1px 3px #00bcd4;
}
.icons i{
    margin-top: 10px;
    margin-bottom: 10px;
    margin-right: 10px;
    border: 5px solid #00bcd4;
    padding: 10px;
    border-radius: 100%;
    font-size: 22px;
    color: white;
}
.icons i:hover{
    color: #00ffff;
}
button{
    width: fit-content;
    background-color: transparent;
    padding: 8px;
    border: 2px solid #00bcd4;
    
}
button a{
    color: #00ffff;
    font-size: 16px;
    text-decoration: none;
}

button a:hover{
    color: #fff;
}

/* about */
.about-section{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0px 11%;
    box-sizing: border-box;
    width: 100%;
    gap: 30px;
}
.about-main{
    flex: 1 1 300px;
    max-width: 500px;
    margin: 0 auto;
}

.about-main img{
    border: 2px solid #00ffff;
    box-shadow: 0 0 5px #00ffff,
                0 0 25px #00ffff;
    width: 80%;
    height:300px;
    border-radius: 5rem;
    transition: 0.5s ease;
   
}
.about_heading{
    text-align: center;
    color: white;
    font-size: 1.5rem;
}
.about_text{
   flex: 1;
   
}
.about_text h2{
    color: #fff;
    max-width: 100%;
    font-size: 25px;
    text-align: start;
}
.about_text p{
    color: #fff;
    letter-spacing: 1px;
    line-height: 28px;
    font-size: 18px;

}

/* Skills */
.skill-container{
    padding: 0 10%;
    
    
}
.skill-container h2{
    text-align: center;
    font-size: 32px;
    margin-bottom: 20px;
    color: #fff;
}
.skill{
    margin: 20px auto;
    max-width: 600px;
}
.skill p{
    margin: 0;
    font-weight: bold;
    font-size: 18px;
    color: #fff;
}
.progress-bar{
    width: 100%;
    height: 10px;
   background-color: #959595;
    border-radius: 25px;
    margin-top: 8px;
    box-sizing: border-box;
   
}
.progress-bar div{
    height: 10px;
    /* background-color: red; */
    width: 0%;
    border-radius: 5px;
}
.progress-bar div span{
    height: 40px;
    width: 40px;
    border-radius: 50%;
    background-color: blue;
    float: right;
    margin-top: -15px;
    margin-top: -20px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
   
}
.skill1{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    margin: 10px;
    /* padding: 10px -40px; */
}
.skill{
    flex: 1 1 250px;
     max-width: 600px;
     margin: 10px;
}

.html{ 
    /* width: 90%; */
    background-color: #e91e63;
    animation: html 1s linear forwards
}
.css{ 
    width: 80%;
    background-color: #cddc39;
    animation: css 1s linear forwards
}
.js{ 
    width: 70%;
    background-color: #00bc44;
    animation: js 1s linear forwards
}
.bootstrap{
    background-color: #90EE90;
     animation: bootstrap 1s linear forwards
}
.python{
    width: 85%;
    background-color: #ffeb3b;
     animation: python 1s linear forwards
}
.react{ 
    width: 50%;
    background-color: #9c27b0;
    animation: react 1s linear forwards
}
.html span{
    border: 1px solid #e91e63;
    
}
.css span{
    border: 1px solid #cddc39;

}
.js span{
    border: 1px solid #00bc44;
    
}
.bootstrap span{
    border: 1px solid #90EE90;
   
}
.python span{
    border: 1px solid #ffeb3b;
   
}
.react span{
    border: 1px solid #9c27b0;
    
}
@keyframes html{
        100%{
            width: 90%;
        }
}

@keyframes css{
        100%{
            width: 80%;
        }
}

@keyframes js{
        100%{
            width: 60%;
        }
}

@keyframes bootstrap{
        100%{
            width: 75%;
        }
}

@keyframes python{
        100%{
            width: 85%;
        }
}

@keyframes react{
        100%{
            width: 50%;
        }
}

/* project section */

#projects{
    padding: 50px;
    text-align: center;
    color: white;
}

#projects h1{
    font-size: 2rem;
    
}
#projects h1 span{
    color: #00ffff;
    margin-bottom: 20px;
}

.project_container{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}
.project-card{
    width: 300px;
    height: 400px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
    text-align: left;
    border: 2px solid #00bcd4;
}
.project-card:hover{
    transform: translateY(-5px);
}
.project-card img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

.project-card{
    position: relative;
    width: 280px;
    height: 380px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
}
.project-card img{
    width: 100%;
    /* height: 1005; */
    object-fit: cover;
    transition: transform 0.4s ease;
}
.project-card .project_info{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    color: #fff;
    padding: 0px;
    flex-direction: column;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.project-card .project_info h3{
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: #4dd0e1;
}
.project-card:hover img{
    transform: scale(1.1);
}

.project-card:hover .project_info{
    opacity: 1;
}
.project-card a{
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    color: white;
    text-decoration: none;
    border: 5px;
    font-size: 0.9rem;
    background-color: #00bcd4;
    border-radius: 5px;
    position: relative;
    text-align: center;
    top: -4px;
    left: 0px;
}

/* contact */

#contact{
    padding: 0px 0px;
}

.contact-head{
    margin: 80px;
    font-size: 2rem;
}

.contact-container{
    padding: 0px 100px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    max-width: 1000px;
    flex-wrap: wrap;
}
.feedback-form{
    min-width: 200px;
    flex: 1;
    border: 2px solid #00bcd4;
    padding: 20px;
    height: 300px;
    position: relative;
    /* left: 30px; */

}
.feedback-form label{
    display: flex;
    align-items: first baseline;
    padding: 0px;
    font-size: 1.1rem;


}
.feedback-form input, .feedback-form textarea{
    width: 100%;
    padding: 10px;
    margin: 10px 0px;
    border: 1px solid #ccc;
    border-radius: 5px;
    position: relative;
    left: -10px;
}

.feedback-form button{
    background-color: #00bcd4;
    color: block;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    color: white;
    font-size: 1rem;
    margin-top: 30px;
}

.comment-area{
    flex: 1;
    min-width: 300px;
}
.comments{
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.comment-box{
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background-color: white;
    padding: 15px 13px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    border-radius: 12px;
    color: #111;
}

/* Avatar circle with first circle */
.avatar{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #007bff;
    color: #fff;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    flex-shrink: 0;
}

.comment-content{
    flex: 1;
}

.comment-message{
    color: #555;
    line-height: 1.4;
}
.comment-name{
    font-weight: 600;
    margin-bottom: 4px;
    color: #333;
}
span{
    color: #00ffff;
}



