@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

html{
    scroll-behavior: smooth;
}

section{
    scroll-margin-top:80px;
}

body{
    background:#0B1120;
    color:white;
    overflow-x:hidden;
}
/* ===========================
        NAVIGATION BAR
=========================== */

.header{
    

    position:fixed;
    top:0;
    left:0;

    width:100%;

    z-index:1000;

    background:rgba(11,17,32,0.85);

    backdrop-filter:blur(10px);

    border-bottom:1px solid rgba(255,255,255,.08);
}

.navbar{

    max-width:1400px;

    margin:auto;

    height:90px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:0 40px;
}

.logo{

    text-decoration:none;

    font-size:34px;

    font-weight:800;

    color:white;

    letter-spacing:2px;

    transition:.3s;
}

.logo span{

    color:#38BDF8;
}

.logo:hover{

    transform:scale(1.08);
}

.nav-menu{

    display:flex;

    list-style:none;

    gap:35px;
}

.nav-menu a{

    text-decoration:none;

    color:white;

    font-size:17px;

    transition:.3s;
}

.nav-menu a:hover{

    color:#38BDF8;
}

.resume-btn{

    text-decoration:none;

    color:white;

    padding:12px 28px;

    border-radius:50px;

    background:#38BDF8;

    font-weight:600;

    transition:.3s;
}

.resume-btn:hover{

    transform:translateY(-3px);

    box-shadow:0 10px 25px rgba(56,189,248,.35);
}
/*==========================
        HERO SECTION
==========================*/


.hero{

    width:100%;
    min-height:calc(100vh - 65px);

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:100px 8% 0px;

    gap:60px;
}
.hero-content{

    width:55%;

    padding-top:20px;
}

.hero-badge{

    display:inline-block;

    padding:10px 18px;

    border-radius:50px;

    background:rgba(56,189,248,.12);

    border:1px solid rgba(56,189,248,.35);

    color:#38BDF8;

    margin-bottom:10px;

    font-size:15px;

    font-weight:600;
}
.hero-greeting{

    color:#38BDF8;

    font-size:20px;

    margin:0 0 15px;
}

.hero h1{
    font-size:54px;
    line-height:1.1;
    margin-bottom:8px;
}

.hero h1 span{

    color:#38BDF8;
}

.hero-role{

    .cursor{

    color:#38BDF8;

    animation:blink .8s infinite;
}

@keyframes blink{

    50%{

        opacity:0;
    }

}

    font-size:24px;

    font-weight:600;

    color:#D1D5DB;

    margin-bottom:15px;
}


.hero-description{

    font-size:16px;

    line-height:1.8;

    color:#94A3B8;

    max-width:560px;

    margin-bottom:25px;
}

.hero-buttons{

    display:flex;

    gap:20px;
}
/*==========================
      SOCIAL ICONS
==========================*/

.hero-social{

    display:flex;

    gap:18px;

    margin-top:35px;
}

.hero-social a{

    width:52px;

    height:52px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    text-decoration:none;

    background:#111827;

    color:#38BDF8;

    border:1px solid rgba(56,189,248,.3);

    font-size:20px;

    transition:.35s;
}

.hero-social a:hover{

    background:#38BDF8;

    color:white;

    transform:translateY(-8px);

    box-shadow:0 12px 25px rgba(56,189,248,.4);
}

.btn{

    text-decoration:none;

    padding:13px 28px;

    border-radius:50px;

    font-weight:600;

    transition:.3s;
}

.btn-primary{

    background:#38BDF8;

    color:white;
}

.btn-primary:hover{

    transform:translateY(-5px);

    box-shadow:0 10px 30px rgba(56,189,248,.4);
}

.btn-secondary{

    border:2px solid #38BDF8;

    color:white;
}

.btn-secondary:hover{

    background:#38BDF8;
}
.hero-image{

    flex:1;

    display:flex;

    justify-content:center;

    align-items:center;

    position:relative;
}
.hero-image img{

    width:410px;

    height:410px;

    object-fit:cover;

    border-radius:50%;

    border:5px solid #38BDF8;

    box-shadow:
    0 0 30px rgba(56,189,248,.35),
    0 0 70px rgba(56,189,248,.18);

    transition:.4s;
}

.hero-image img:hover{

    transform:scale(1.03);
}

.tech{

    position:absolute;

    padding:10px 18px;

    background:#111827;

    border:1px solid rgba(56,189,248,.35);

    border-radius:50px;

    color:#38BDF8;

    font-size:15px;

    font-weight:600;

    box-shadow:0 10px 25px rgba(0,0,0,.25);

    animation:float 4s ease-in-out infinite;
}

.python{

    top:0;
    left:50%;
    transform:translateX(-50%);
}

.html{

    top:90px;
    left:20px;
}

.css{

    bottom:90px;
    left:30px;
}

.esp{

    top:90px;
    right:20px;
}

.matlab{

    bottom:90px;
    right:10px;
}

.iot{

    bottom:0;
    left:50%;
    transform:translateX(-50%);
}
@keyframes float{

    0%{

        transform:translateY(0px);
    }

    50%{

        transform:translateY(-12px);
    }

    100%{

        transform:translateY(0px);
    }

}

/*==========================
        ABOUT
==========================*/

.about{

    padding:85px 3.5%;

}

.section-title{

    text-align:center;

    margin-bottom:25px;

}

.section-title h2{

    font-size:42px;

    color:#fff;

}

.section-title p{

    color:#38BDF8;

    margin-top:2px;

    font-size:18px;

}

.about-container{

    display:grid;

    grid-template-columns:1.3fr 1fr;

    gap:50px;

    align-items:start;

}

.about-text{

    background:#111827;

    padding:35px;

    border-radius:20px;

    border:1px solid rgba(255,255,255,.08);

}

.about-text h3{

    font-size:28px;

    margin-bottom:20px;

    color:#38BDF8;

}

.about-text p{

    color:#CBD5E1;

    line-height:1.9;

    margin-bottom:18px;

    font-size:17px;

}

.about-cards{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:20px;

}

.about-card{

    background:#111827;

    padding:28px;

    border-radius:20px;

    border:1px solid rgba(255,255,255,.08);

    transition:.3s;

}

.about-card:hover{

    transform:translateY(-8px);

    border-color:#38BDF8;

}

.about-card h4{

    font-size:20px;

    margin-bottom:15px;

    color:#38BDF8;

}

.about-card p{

    color:#CBD5E1;

    line-height:1.7;

}

.skills,
.projects,
.contact{

    padding:100px 8%;

    min-height:300px;

}

/*======================================
        CERTIFICATIONS
=======================================*/

.certifications{

    padding:100px 8%;

}

.certificate-filters{

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:15px;

    margin-top:45px;

    margin-bottom:55px;

}

.filter-btn{

    padding:10px 22px;

    border:none;

    border-radius:30px;

    background:#1f2937;

    color:#d1d5db;

    cursor:pointer;

    font-size:15px;

    font-weight:600;

    transition:
        background-color .3s ease,
        color .3s ease,
        transform .25s ease,
        box-shadow .25s ease;

}

.filter-btn:hover{

    transform:translateY(-2px);

    box-shadow:0 10px 20px rgba(56,189,248,.18);

}

.filter-btn.active{

    background:#38bdf8;

    color:#0f172a;

    box-shadow:0 8px 20px rgba(56,189,248,.30);

}

.certificate-container{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(260px,280px));

    justify-content:center;

    gap:25px;

}

/*======================================
        CERTIFICATE CARD
=======================================*/

.certificate-card{

    width:270px;

    background:#161b22;

    border-radius:18px;

    overflow:hidden;


    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;

    border:1px solid rgba(255,255,255,.08);

    cursor:pointer;

}


.certificate-card:hover{

    transform:translateY(-8px);

    border-color:#38bdf8;

    box-shadow:
        0 18px 35px rgba(0,0,0,.35),
        0 0 18px rgba(56,189,248,.15);

}

.certificate-image{

    width:100%;

    height:150px;

    overflow:hidden;

}

.certificate-image img{

    width:100%;
    height:100%;
    object-fit:contain;
    background:white;
    padding:8px;

    transition: transform .35s ease;

}
.certificate-card:hover img{

    transform:scale(1.08);

}

.certificate-info{

    padding:15px;

}

.certificate-info h3{

    font-size:17px;

    margin-bottom:6px;

    color:white;

}

.certificate-info p{

    color:#9ca3af;

    font-size:14px;

    margin-bottom:15px;

}

.certificate-info a{

    text-decoration:none;

    

    font-weight:600;

    font-size:14px;

}

.certificate-info a:hover{

    color:white;

}

.certificate-footer{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-top:18px;

}

.certificate-year{

    color:#9ca3af;

    font-size:13px;

}

.certificate-btn{

    display:flex;
    align-items:center;
    justify-content:center;

    min-width:90px;
    height:36px;

    background:#38bdf8;

    color:#0f172a !important;

    text-decoration:none;

    border-radius:8px;

    font-size:13px;

    font-weight:700;

    transition:.3s;

}

.certificate-btn:hover{

    background:white;

    color:#0f172a !important;

    transform:translateY(-2px);

}
.certificate-card{
    cursor: pointer;
}
.certificate-card:focus-visible{

    outline:2px solid #38bdf8;

    outline-offset:4px;

}







/*======================================
            SKILLS
======================================*/

.skills{

    padding:100px 10%;

}

.skills-container{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:30px;

    margin-top:50px;

}

.skill-card{

    background:#161b22;

    border:1px solid rgba(255,255,255,.08);

    border-radius:18px;

    padding:30px;

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;

}

.skill-card:hover{

    transform:translateY(-8px);

    border-color:#38bdf8;

    box-shadow:0 20px 40px rgba(56,189,248,.15);

}

.skill-card h3{

    color:white;

    margin-bottom:20px;

    font-size:22px;

}

.skill-tags{

    display:flex;

    flex-wrap:wrap;

    gap:12px;

}

.skill-tags span{

    background:#0f172a;

    color:#38bdf8;

    border:1px solid rgba(56,189,248,.35);

    padding:10px 18px;

    border-radius:999px;

    font-size:14px;

    font-weight:600;

    transition:.3s;

}

.skill-tags span:hover{

    background:#38bdf8;

    color:#0f172a;

    transform:translateY(-3px);

}

/*================ PROJECTS ================*/

.projects{

    padding:100px 10%;

}

.projects-container{

    display:flex;

    flex-wrap:wrap;

    justify-content:center;

    gap:35px;

}

.project-card{

    width:380px;

    background:#111827;

    border-radius:20px;

    overflow:hidden;

    border:1px solid rgba(255,255,255,.06);

    transition:.35s;

}

.project-card:hover{

    transform:translateY(-10px);

    box-shadow:0 20px 40px rgba(0,0,0,.35);

}

.project-card img{

    width:100%;

    height:220px;

    object-fit:contain;

    background:#0b1120;

    padding:15px;

}

.project-content{

    padding:22px;

}

.project-content h3{

    font-size:24px;

    line-height:1.4;

    margin-bottom:15px;

}

.project-content p{

    color:#cbd5e1;

    font-size:15px;

    line-height:1.7;

    margin-bottom:20px;

}

.project-tags{

    display:flex;

    flex-wrap:wrap;

    gap:10px;

    margin-bottom:25px;

}

.project-tags span{

    background:#1f2937;

    color:#38bdf8;

    border-radius:30px;

    padding:8px 14px;

    font-size:14px;

}

.project-btn{

    display:block;

    width:100%;

    text-align:center;

    text-decoration:none;

    padding:14px;

    border-radius:12px;

    background:#38bdf8;

    color:#fff;

    font-weight:600;

    transition:.3s;

}

.project-btn:hover{

    background:#0ea5e9;

}