/* ========================= style.css ========================= */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body{
    background-color: #0f172a;
    color: white;
    font-family: 'Poppins', sans-serif;
}

/* ================= NAVBAR ================= */

.navbar{
    width: 100%;
    padding: 20px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    background-color: rgba(15,23,42,0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.logo{
    font-size: 30px;
    font-weight: 700;
}

.logo span{
    color: #38bdf8;
}

.nav-links{
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a{
    text-decoration: none;
    color: white;
    transition: 0.3s;
}

.nav-links a:hover{
    color: #38bdf8;
}

/* ================= HERO SECTION ================= */

.hero{
    min-height: 100vh;
    padding: 120px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.hero-text h3{
    color: #38bdf8;
    font-size: 24px;
}

.hero-text h1{
    font-size: 70px;
    margin-top: 10px;
}

.hero-text h2{
    margin-top: 10px;
    color: #cbd5e1;
}

.hero-text p{
    margin-top: 20px;
    color: #94a3b8;
    line-height: 1.8;
    max-width: 600px;
}

.typing-text{
    margin-top: 20px;
    font-size: 22px;
    color: #38bdf8;
    font-weight: 600;
    min-height: 35px;
}

.hero-buttons{
    margin-top: 30px;
    display: flex;
    gap: 20px;
}

.btn{
    text-decoration: none;
    padding: 12px 28px;
    background-color: #38bdf8;
    color: #0f172a;
    border-radius: 10px;
    font-weight: 600;
    transition: 0.3s;
}

.btn:hover{
    transform: translateY(-5px);
    box-shadow: 0 0 20px #38bdf8;
}

.secondary-btn{
    background: transparent;
    border: 2px solid #38bdf8;
    color: white;
}

.secondary-btn:hover{
    background-color: #38bdf8;
    color: #0f172a;
}

/* ================= HERO IMAGE ================= */

.image-box{
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: linear-gradient(135deg,#38bdf8,#2563eb);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 120px;
    box-shadow: 0 0 40px rgba(56,189,248,0.5);
}

/* ================= COMMON SECTION ================= */

section{
    padding: 100px 10%;
}

.section-title{
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2{
    font-size: 40px;
    color: #38bdf8;
}

/* ================= ABOUT ================= */

.about-content{
    background-color: #1e293b;
    padding: 40px;
    border-radius: 20px;
    line-height: 1.9;
    color: #cbd5e1;
}

/* ================= SKILLS ================= */

.skills-container{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(150px,1fr));
    gap: 25px;
}

.skill-card{
    background-color: #1e293b;
    padding: 30px;
    text-align: center;
    border-radius: 15px;
    transition: 0.3s;
}

.skill-card:hover{
    transform: translateY(-10px);
    box-shadow: 0 0 20px rgba(56,189,248,0.3);
}

/* ================= PROJECTS ================= */

.projects-container{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
    gap: 30px;
}

.project-card{
    background-color: #1e293b;
    padding: 30px;
    border-radius: 20px;
    transition: 0.3s;
}

.project-card:hover{
    transform: translateY(-10px);
    box-shadow: 0 0 20px rgba(56,189,248,0.3);
}

.project-card h3{
    color: #38bdf8;
    margin-bottom: 15px;
}

.project-card p{
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 20px;
}

.project-card a{
    color: #38bdf8;
    text-decoration: none;
    font-weight: 600;
}

/* ================= CERTIFICATES ================= */

.certificate-container{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    gap: 25px;
}

.certificate-card{
    background-color: #1e293b;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    transition: 0.3s;
}

.certificate-card:hover{
    transform: translateY(-10px);
    box-shadow: 0 0 20px rgba(56,189,248,0.3);
}

/* ================= CONTACT ================= */

.contact{
    text-align: center;
}

.contact p{
    color: #cbd5e1;
    margin-bottom: 30px;
}

.social-links{
    display: flex;
    justify-content: center;
    gap: 25px;
}

.social-links a{
    width: 60px;
    height: 60px;
    background-color: #1e293b;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 24px;
    transition: 0.3s;
}

.social-links a:hover{
    background-color: #38bdf8;
    color: #0f172a;
    transform: translateY(-5px);
}

/* ================= FOOTER ================= */

footer{
    background-color: #020617;
    text-align: center;
    padding: 30px;
    color: #94a3b8;
}

/* ================= RESPONSIVE ================= */

@media(max-width:900px){

    .hero{
        flex-direction: column;
        text-align: center;
    }

    .hero-text h1{
        font-size: 50px;
    }

    .nav-links{
        display: none;
    }

    .hero-buttons{
        justify-content: center;
    }
}