/* ===== Google Font ===== */
@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;
    scroll-behavior:smooth;
    font-family:'Poppins',sans-serif;
}

body{
    background:#050816;
    color:#fff;
    overflow-x:hidden;
}

/* ===== Header ===== */

header{
    width:100%;
    position:fixed;
    top:0;
    left:0;
    z-index:999;
    background:rgba(5,8,22,.85);
    backdrop-filter:blur(15px);
}

nav{
    max-width:1200px;
    margin:auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px;
}

.logo{
    color:#00d4ff;
    font-size:30px;
    font-weight:700;
}

nav ul{
    display:flex;
    list-style:none;
}

nav ul li{
    margin-left:30px;
}

nav ul li a{
    color:#fff;
    text-decoration:none;
    transition:.3s;
}

nav ul li a:hover{
    color:#00d4ff;
}
#themeToggle{

padding:10px 15px;

border:none;

border-radius:50px;

cursor:pointer;

background:#00d4ff;

font-size:18px;

}

/* ===== Hero ===== */

.hero{
    min-height:100vh;
    max-width:1200px;
    margin:auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:120px 20px;
}

.left{
    width:55%;
}

.left h1{
    font-size:60px;
    margin-bottom:20px;
}

.left h1 span{
    color:#00d4ff;
}

.left h3{
    color:#7B61FF;
    margin-bottom:20px;
    font-size:28px;
}

.left p{
    color:#ddd;
    line-height:1.8;
    margin-bottom:30px;
}

.btn{
    display:inline-block;
    background:#00d4ff;
    color:#000;
    text-decoration:none;
    padding:15px 35px;
    border-radius:50px;
    font-weight:700;
    transition:.3s;
}

.btn:hover{
    transform:translateY(-5px);
    box-shadow:0 0 25px #00d4ff;
}

/* ===== Image ===== */

.right{
    width:40%;
    display:flex;
    justify-content:center;
}

.right img{
    width:350px;
    height:350px;
    border-radius:50%;
    object-fit:cover;
    border:6px solid #00d4ff;
    box-shadow:0 0 40px #00d4ff;
}

/* ===== Responsive ===== */

@media(max-width:900px){

.hero{
    flex-direction:column-reverse;
    text-align:center;
}

.left{
    width:100%;
}

.right{
    width:100%;
    margin-bottom:40px;
}

.left h1{
    font-size:40px;
}

nav ul{
    display:none;
}

* ================= COMMON SECTION ================= */

section{
    padding:100px,20px;
}

.container{
    max-width:1200px;
    margin:auto;
}

section h2{
    text-align:center;
    font-size:40px;
    color:#00d4ff;
    margin-bottom:50px;
}

/* ================= ABOUT ================= */

.about p{
    font-size:18px;
    color:#dcdcdc;
    text-align:center;
    max-width:900px;
    margin:auto;
    line-height:1.8;
}

/* ================= SKILLS ================= */

.skill-box{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:25px;
}

.skill-card{
    background:rgba(255,255,255,.08);
    padding:30px;
    border-radius:15px;
    text-align:center;
    font-size:20px;
    font-weight:600;
    transition:.4s;
    border:1px solid rgba(255,255,255,.1);
}

.skill-card:hover{
    transform:translateY(-10px);
    background:#00d4ff;
    color:#000;
}

/* ================= EDUCATION ================= */

.edu-card{
    background:rgba(255,255,255,.08);
    padding:40px;
    border-radius:15px;
    text-align:center;
    border-left:5px solid #00d4ff;
}

/* ================= PROJECTS ================= */

.project-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:30px;
}

.project-card{
    background:rgba(255,255,255,.08);
    padding:30px;
    border-radius:20px;
    transition:.4s;
}

.project-card:hover{
    transform:translateY(-10px);
    box-shadow:0 0 30px #00d4ff;
}

.project-card h3{
    color:#00d4ff;
    margin-bottom:15px;
}

/* ================= CONTACT ================= */

.contact{
    text-align:center;
}

.contact p{
    margin:15px 0;
    font-size:18px;
}

.contact a{
    color:#00d4ff;
    text-decoration:none;
}

.contact a:hover{
    text-decoration:underline;
}

/* ================= FOOTER ================= */

footer{
    background:#02040d;
    text-align:center;
    padding:30px;
    color:#888;
}

/* ================= SCROLLBAR ================= */

::-webkit-scrollbar{
    width:8px;
}

::-webkit-scrollbar-thumb{
    background:#00d4ff;
    border-radius:20px;
}

::-webkit-scrollbar-track{
    background:#050816;
}
/* Animation */

.hidden{
    opacity:0;
    transform:translateY(80px);
    transition:1s;
}

.show{
    opacity:1;
    transform:translateY(0);
}

/* Active Menu */

.active{
    color:#00d4ff !important;
}

/* Hero Animation */

.right img{
    animation:float 4s ease-in-out infinite;
}

@keyframes float{

0%{
transform:translateY(0px);
}

50%{
transform:translateY(-20px);
}

100%{
transform:translateY(0px);
}

}
/* ================= Statistics ================= */

.stats-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

gap:25px;

}

.stat-card{

background:rgba(255,255,255,.08);

padding:35px;

border-radius:20px;

text-align:center;

transition:.4s;

}

.stat-card:hover{

transform:translateY(-10px);

box-shadow:0 0 30px #00d4ff;

}

.stat-card h1{

font-size:55px;

color:#00d4ff;

margin-bottom:10px;

}

.stat-card p{

font-size:18px;

}
/* ================= CONTACT FORM ================= */

.contact form{

max-width:700px;

margin:auto;

display:flex;

flex-direction:column;

gap:20px;

}

.contact input,

.contact textarea{

padding:18px;

background:rgba(255,255,255,.08);

border:none;

border-radius:12px;

color:#fff;

font-size:16px;

outline:none;

}

.contact textarea{

resize:none;

}

.contact input::placeholder,

.contact textarea::placeholder{

color:#bbb;

}

.contact button{

cursor:pointer;

}
.light{

background:#ffffff;

color:#000;

}

.light header{

background:#ffffff;

}

.light .skill-card,

.light .project-card,

.light .certificate-card,

.light .edu-card{

background:#f3f3f3;

color:#000;
}

}/