*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Fade In Animation */
@keyframes fadeIn{
    from{
        opacity: 0;
    }

    to{
        opacity: 1;
    }
}

html{
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body{
    font-family: Arial, sans-serif;
    background-image: linear-gradient(135deg,#1e3a8a,#2563eb,#0f172a,#020617,#0f766e,#134e4a);;
    color: #f8fafc;

    animation:gradientMove 20s ease infinite,fadeIn 1.2s ease;
    
    background-size: 200% 200%;

    
}

@keyframes gradientMove{
    0%{
        background-position: 0% 50%;
    }

    50%{
        background-position: 100% 50%;
    }

    100%{
        background-position: 0% 50%;
    }
}

/* Navbar */
header{
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(2,6,23,0.9);
    backdrop-filter: blur(5px);
}

.navbar{
    width: 90%;
    margin: auto;
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo{
    font-size: 28px;
    font-weight: bold;
    color: ivory;
}

.nav-links{
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a{
    text-decoration: none;
    color: #f8fafc;
    transition: 0.3s;
}

.nav-links a:hover{
    color: #38bdf8;
}

/* Hero */
.hero{
    min-height: 100vh;
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.hero-text{
    flex: 1;
}

.hero-text h1{
    font-size: 65px;
    margin-bottom: 15px;
}

.hero-text h1 span{
    color: #38bdf8;
}

.hero-text h2{
    font-size: 30px;
    color: #94a3b8;
    margin-bottom: 20px;
    margin-top: 20px;
}

.hero-text p{
    max-width: 600px;
    line-height: 1.5;
    margin-bottom: 30px;
    margin-top: 25px;
}

.address{
    font-size: 18px;
    color: ivory;
    margin-top: 10px;
    font-style: italic;
}


.btn{
    padding: 14px 30px;
    border: none;
    background: #38bdf8;
    color: #020617;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: 0.3s;
}

.btn:hover{
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(56,189,248,0.5);
}

/* Hero Circle */
.hero-image{
    flex: 1;
    display: flex;
    justify-content: center;
}

.circle{
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: linear-gradient(135deg,#38bdf8,#2563eb);
    box-shadow: 0 0 40px rgba(56,189,248,0.4);
}
.circle img{
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit:cover;
}   

/* Sections */
section{
    padding: 100px 10%;
}

.section-title{
    text-align: center;
    font-size: 40px;
    margin-bottom: 50px;
    color: #38bdf8;
}

/* About */

.about{
    width: 100%;
    padding: 100px 8%;
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);

    text-align: center;
}

/* About Title */

.about .section-title{
    font-size: 45px;
    margin-bottom: 30px;
    color: #38bdf8;
}

/* About Paragraph */

.about p{
    max-width: 1000px;
    margin: auto;

    font-size: 18px;
    line-height: 2;

    color: #cbd5e1;
}

/* Optional Hover Glow */

.about:hover{
    box-shadow: 0 0 40px rgba(56,189,248,0.08);
    transition: 0.4s;
}

/*programming languages*/

.PL-container{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
    gap: 25px;
}

.language-card{

    background: #0f2e2e;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    transition: 0.3s;
}

.language-card:hover{
    transform: translateY(-10px);
    background: #164040;
}

.language-card i{
    font-size: 50px;
    color: #38bdf8;
  
}
/* Skills */
.skill-container{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.skill-card{
    width: 130px;
    background: #111827;
    padding: 20px 15px;
    border-radius: 15px;
    text-align: center;
    transition: 0.3s;
}

.skill-card:hover{
    transform: translateY(-8px);
    background: #111c34;
}

.skill-card i{
    font-size: 35px;
    color: #38bdf8;
    margin-bottom: 10px;
}

.skill-card h3{
    font-size: 14px;
    color: #f8fafc;
}

/* Projects */
.project-container{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
    gap: 25px;
}

.project-card{
    background: #222222;
    padding: 30px;
    border-radius: 15px;
    transition: 0.3s;
}

.project-card:hover{
    transform: scale(1.03);
    background: #333333;
}

.project-card h3{
    color: #38bdf8;
    margin-bottom: 15px;
    text-decoration: underline;
}

/* Contact */
.contacts{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
}
.contacts li{
    list-style: none;
}

.contacts a{
    text-decoration: none;
    color: #f8fafc;
    font-size: 18px;
    transition: 0.3s;
}

/* Footer */
footer{
    text-align: center;
    padding: 30px;
    background: #0f172a;
    color: #94a3b8;
}

/* Responsive */
@media(max-width: 900px){

    .hero{
        flex-direction: column;
        text-align: center;
        padding-top: 80px;
    }

    .hero-text h1{
        font-size: 50px;
    }

    .circle{
        width: 250px;
        height: 250px;
    }

    .nav-links{
        gap: 15px;
    }
}