*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    background-color: #0f172a;
    color: #f8fafc;
    font-family: 'Segoe UI', Tahoma,  sans-serif;
    line-height: 1.6;
}
/* navbar-section */
.navbar{
    padding: 15px 40px;
    position: sticky;
    top: 0;
    background-color: #020617;
    z-index: 100;
}
.navbar ul{
    display: flex;
    justify-content: flex-end;
    gap: 30px;
    list-style: none;
}
.navbar a{
    text-decoration: none;
    color: #e5e7eb;
    font-size: 15px;
    transition: color 0.3s ease;
}
.navbar a:hover{
    color: #38bdf8;
}
/* hero-section */
.hero{
    min-height: 100vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px 80px;
    gap: 40px;
}
.hero-content h1{
    font-size: 48px;
    margin-bottom: 10px;
}
.hero-content h2{
    font-size: 22px;
    font-weight: normal;
    color: #38bdf8;
    margin-bottom: 15px;
}
.hero-content p{
    max-width: 500px;
    margin-bottom: 25px;
    color: #cbd5f5;
}
.button{
    display: inline-block;
    padding: 12px 26px;
    background-color: #38bdf8;
    color: #020617;
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    transition: color 0.3s ease;

}
.button:hover{
    background-color: #0ea5e9;
    color: #020617;
}
.hero-image img{
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #38bdf8;
}
@media (max-width: 768px){
    .hero{
        flex-direction: column-reverse;
        text-align: center;
        padding: 40px 20px;
    }
    .hero-image img{
        width: 160px;
        height: 160px;
        margin-bottom: 20px;
    }
    .navbar ul{
        justify-content: center;
    }
}
/* about-section */
.about{
    padding: 80px 80px;
    background-color: #020617;
}
.about h2{
    font-size: 36px;
    margin-bottom: 20px;
    color: #38bdf8;
}
.about p{
    max-width: 800px;
    font-size: 17px;
    color: #cbd5f5;
}
/* about-section Responsive */
@media (max-width: 768px){
    .about{
        padding: 60px 20px;
        text-align: center;
    }
}
/* skills-section */
.skills{
    padding: 80px 80px;
    background-color: #020617;
}
.skills h2{
    font-size: 36px;
    margin-bottom: 40px;
    color: #38bdf8;
    text-align: center;
}
.skills-container{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px, 1fr));
    gap: 30px;
}
.skill-card{
    background-color: #020617;
    padding: 25px;
    border-radius: 12px;
    text-align: left;
    transition: transform 0.3s ease;
}
.skill-card:hover{
    transform: translateY(-5px);
}
.skill-card i{
    font-size: 40px;
    color: #38bdf8;
    margin-bottom: 15px;
}
.skill-card h3{
    margin-bottom: 8px;
    color: #cbd5f5;
}
/* progress-bar */
.progress-bar{
    width: 100%;
    height: 8px;
    background-color: #1e293b;
    border-radius: 10px;
    overflow: visible;
    margin-top: 12px;
}
.progress{
    height: 100%;
    background: linear-gradient(90deg, #38bdf8, #0ea5e9);
    border-radius: 10px;
    position: relative;
    transition: width 1s ease-in-out;
}
.progress::after{
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(50%, -50%);
    width: 12px;
    height: 12px;
    background-color: #38bdf8;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(56, 189, 248, 0.9);
}
.skill-card:hover .progress{
    filter: brightness(1.2);
}
.skill-card{
    display: flex;
    flex-direction: column;
}
@media(max-width:768){
    .skills{
        padding: 60px 20px;
    }
    .skills-container{
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .skill-card{
        padding: 20px;
        text-align: center;
    }
    .skill-card h3{
        font-size: 18px;
    }
    .skill-card p{
        font-size: 14px;
    }
    .progress-bar{
        width: 100%;
        height: 6px;
        margin-top: 10px;
    }
    .progress{
        height: 100%;
    }
    .progress::after{
        width: 10px;
        height: 10px;
        box-shadow: 0 0 5px rgba(56, 189, 248, 0.8);
    }
}
/* project-section */
.projects{
    padding: 80px 80px;
    background-color: #0f172a;
}
.projects h2{
    font-size: 36px;
    margin-bottom: 40px;
    color: #38bdf8;
    text-align: center;
    }
.projects-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.project{
    background-color: #020617;
    padding: 30px;
    border-radius: 14px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project:hover{
    transform: translateY(-8px);
    box-shadow: 0 1px 30px rgba(56, 189, 248, 0.15);
}
.project i{
    font-size: 34px;
    color: #38bdf8;
    margin-bottom: 15px;
}
.project h3{
    margin-bottom: 10px;
    font-size: 20px;
    color: #f8fafc;
}
.project p{
    font-size: 14px;
    color: #cbd5f5;
    margin-bottom: 10px;
}
@media (max-width: 768px){
    .projects{
        padding: 60px 20px;
    }
    .project{
        padding: 22px;
        text-align: center;
    }
    .project i{
        margin-bottom: 12px;
    }
}
/* contact-section */
.contact{
    padding: 80px 80px;
    background-color: #020617;
}
.contact h2{
    font-size: 36px;
    margin-bottom: 40px;
    color: #38bdf8;
    text-align: center;
}
.contact-container{
    display: flex;
    gap: 50px;
    justify-content: space-between;
    align-items: flex-start;
}
.contact-info{
    flex: 1;
}
.contact-info h3{
    margin-top: 20px;
    font-size: 22px;
    color: #f8fafc;
}
.contact-info p{
    margin-bottom: 15px;
    font-size: 15px;
    color: #cbd5f5;
}
.contact-info i{
    color: #38bdf8;
    margin-top: 10px;

}
.contact-info a{
    color: #cbd5f5;
    text-decoration: none;
    transition: color 0.3s ease;
}
.contact-info a:hover{
    color: #38bdf8;
}
.contact-card{
    flex: 1;
    background-color: #0f172a;
    padding: 30px;
    border-radius: 14px;
}
.contact-card h3{
    margin-bottom: 20px;
    font-size: 22px;
    color: #f8fafc;
}
.contact-card input{
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 15px;
    background-color: #020617;
    border: 1px solid #1e293b;
    border-radius: 8px;
    color: #f8fafc;
    font-size: 14px;
}
.contact-card input:focus{
    outline: none;
    border-color: #38bdf8;
}
.contact-card button{
    width: 100%;
    padding: 12px;
    background-color: #38bdf8;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.contact-card button:hover{
    background-color: #0ea5e9;
}
@media (max-width: 768px){
    .contact{
        padding: 60px 20px;
    }
    .contact-container{
        flex-direction: column;
        gap: 30px;
    }
    .contact-info{
        text-align: center;
    }
    .contact-card{
        padding: 25px;
    }
}
/* footer-section */
.footer{
    background-color: #020617;
    padding: 25px 20px;
    text-align: center;
}
.footer p{
    font-size: 14px;
    color: #94a3b8;

}
.footer{
    border-top: 1px solid #1e293b;
}
@media (max-width: 768px){
    .footer{
        padding: 20px 15px;
    }
}