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

body{
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto;
background:#ffffff;
color:#111;
line-height:1.6;
}

/* HERO */

.hero{
text-align:center;
padding:80px 20px 60px 20px;
border-bottom:1px solid #eee;
}

.hero h1{
font-size:40px;
font-weight:700;
margin-bottom:10px;
}

.tagline{
color:#555;
margin-bottom:25px;
}

.contact a{
color:black;
margin:0 12px;
font-size:22px;
transition:0.3s;
}

.contact a:hover{
transform:translateY(-3px);
opacity:0.6;
}

/* DOWNLOAD BUTTON */

.download-btn{
display:inline-block;
margin-top:30px;
padding:12px 26px;
border:2px solid black;
text-decoration:none;
color:black;
font-weight:600;
transition:0.3s;
}

.download-btn:hover{
background:black;
color:white;
}

/* CONTAINER */

.container{
max-width:900px;
margin:auto;
padding:60px 20px;
}

/* CARD STYLE (FAANG STYLE) */

.card{
margin-bottom:40px;
padding:30px;
border:1px solid #eee;
border-radius:10px;
background:white;

opacity:0;
transform:translateY(20px);
animation:fadeUp 0.8s forwards;
}

.card:nth-child(2){
animation-delay:0.2s;
}

.card:nth-child(3){
animation-delay:0.4s;
}

.card:nth-child(4){
animation-delay:0.6s;
}

.card:nth-child(5){
animation-delay:0.8s;
}

h2{
font-size:22px;
margin-bottom:15px;
border-bottom:2px solid black;
display:inline-block;
padding-bottom:5px;
}

h3{
margin-top:15px;
font-size:17px;
}

.date{
color:#666;
font-size:14px;
margin-bottom:10px;
}

ul{
margin-top:10px;
padding-left:20px;
}

ul li{
margin-bottom:8px;
}

/* FOOTER */

footer{
text-align:center;
padding:30px;
border-top:1px solid #eee;
color:#777;
font-size:14px;
}

/* ANIMATION */

@keyframes fadeUp{

to{
opacity:1;
transform:translateY(0);
}

}

/* MOBILE */

@media(max-width:768px){

.hero h1{
font-size:30px;
}

.card{
padding:20px;
}

}

.contact a{
color:black;
margin:0 12px;
font-size:16px;
text-decoration:none;
display:inline-flex;
align-items:center;
gap:6px;
transition:0.3s;
}

.contact a:hover{
opacity:0.6;
transform:translateY(-2px);
}

.project-link{
margin-left:10px;
padding:4px 10px;
border:1px solid black;
border-radius:20px;
font-size:12px;
text-decoration:none;
color:black;
font-weight:600;
transition:0.25s;
}

.project-link:hover{
background:black;
color:white;
transform:translateY(-1px);
}

.github-stats{
display:flex;
gap:20px;
flex-wrap:wrap;
margin-top:20px;
}

.github-stats img{
width:100%;
max-width:400px;
border-radius:8px;
}

.dsa-container{
display:flex;
gap:20px;
flex-wrap:wrap;
margin-top:20px;
}

.dsa-box{
border:1px solid #eee;
padding:20px;
border-radius:10px;
flex:1;
min-width:220px;
}

.dsa-box h3{
margin-bottom:10px;
}

.dsa-box a{
margin-left:10px;
padding:4px 10px;
border:1px solid black;
border-radius:20px;
font-size:12px;
text-decoration:none;
color:black;
font-weight:600;
transition:0.25s;
}

.dsa-box a:hover{
background:black;
color:white;
transform:translateY(-1px);
}

.github-dashboard{
display:flex;
gap:20px;
flex-wrap:wrap;
margin-top:20px;
}

.github-box{
flex:1;
min-width:200px;
padding:20px;
border:1px solid #eee;
border-radius:10px;
text-align:center;
background:white;
}

.github-box h3{
margin-bottom:10px;
font-size:16px;
}

.github-box a{
margin-left:10px;
padding:4px 10px;
border:1px solid black;
border-radius:20px;
font-size:12px;
text-decoration:none;
color:black;
font-weight:600;
transition:0.25s;
}

.github-box a:hover{
background:black;
color:white;
transform:translateY(-1px);
}

.github-box p{
font-size:22px;
font-weight:600;
}

.github-graph{
margin-top:30px;
text-align:center;
}

.github-graph img{
width:100%;
max-width:900px;
border-radius:8px;
border:1px solid #eee;
}

.github-graph img:hover{
transform:translateY(-4px);
box-shadow:0 10px 25px rgba(0,0,0,0.08);
}
.coding-container{
display:flex;
gap:20px;
flex-wrap:wrap;
margin-top:20px;
}

.coding-box{
flex:1;
min-width:240px;
padding:25px;
border:1px solid #eee;
border-radius:10px;
text-align:center;
background:white;
transition:0.25s;
}

.coding-box:hover{
transform:translateY(-4px);
box-shadow:0 8px 20px rgba(0,0,0,0.08);
}

.coding-box h3{
margin-bottom:10px;
}

.coding-box a{
display:inline-block;
margin-top:10px;
text-decoration:none;
font-weight:600;
border-bottom:1px solid black;
color:black;
}

.coding-stats{
display:flex;
flex-wrap:wrap;
gap:25px;
justify-content:center;
margin-top:25px;
}

.coding-stats img{
width:100%;
max-width:420px;
border-radius:10px;
border:1px solid #eee;
background:white;
transition:0.3s;
}

.coding-stats img:hover{
transform:translateY(-4px);
box-shadow:0 10px 25px rgba(0,0,0,0.08);
}

footer{
text-align:center;
padding:30px;
border-top:1px solid #eee;
color:#777;
font-size:14px;
}

.visitor{
margin-top:10px;
}

.visitor img{
margin-top:6px;
}

.github-box a,
.coding-box a {
color: black;
text-decoration: none;
font-weight: 600;
border-bottom: 1px solid black;
}

.tools-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(120px,1fr));
gap:20px;
margin-top:25px;
}

.tool{
text-align:center;
padding:15px;
border:1px solid #eee;
border-radius:10px;
background:white;
transition:all 0.3s ease;
}

.tool img{
width:40px;
height:40px;
margin-bottom:8px;
}

.tool p{
font-size:14px;
font-weight:500;
}

.tool:hover{
transform:translateY(-5px);
box-shadow:0 10px 20px rgba(0,0,0,0.08);
}

.cs-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:15px;
margin-top:20px;
}

.cs-item{
border:1px solid #eee;
padding:15px;
border-radius:8px;
text-align:center;
background:white;
font-size:15px;
font-weight:600;
color:#111;
transition:0.3s;
}

.cs-item:hover{
transform:translateY(-3px);
box-shadow:0 6px 15px rgba(0,0,0,0.08);
}

.navbar{
position:sticky;
top:0;
background:white;
border-bottom:1px solid #eee;
z-index:1000;
}

.nav-container{
max-width:900px;
margin:auto;
padding:12px 20px;
display:flex;
justify-content:center;
gap:25px;
}

.nav-container a{
margin-left:10px;
padding:4px 10px;
border:1px solid black;
border-radius:20px;
font-size:12px;
text-decoration:none;
color:black;
font-weight:600;
transition:0.25s;
}

.nav-container a:hover{
background:black;
color:white;
transform:translateY(-1px);
}

html{
scroll-behavior:smooth;
}

.scroll-progress{
position:fixed;
top:0;
left:0;
height:7.5px;
background:black;
width:0%;
z-index:2000;
}

.explore-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:15px;
margin-top:20px;
}

.explore-item{
border:1px solid #eee;
padding:15px;
border-radius:8px;
text-align:center;
background:white;
font-size:15px;
font-weight:600;
color:#111;
transition:0.3s;
}

.explore-item:hover{
transform:translateY(-3px);
box-shadow:0 6px 15px rgba(0,0,0,0.08);
}

.hero-image img{
width:220px;
border-radius:50%;
border:3px solid black;
}

#intro{
position:fixed;
top:0;
left:0;
width:100%;
height:100vh;
background:white;
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
z-index:3000;
transition:opacity 1s ease;
}

#intro img{
width:220px;
border-radius:50%;
margin-bottom:20px;
}

#intro h1{
font-size:32px;
font-weight:600;
}

.fade-out{
opacity:0;
pointer-events:none;
}

#intro img{
width:220px;
border-radius:50%;
margin-bottom:20px;
animation:introZoom 2s ease;
}

@keyframes introZoom{

0%{
transform:scale(0.8);
opacity:0;
}

100%{
transform:scale(1);
opacity:1;
}

}

.dsa-box:hover{
transform:translateY(-4px);
box-shadow:0 10px 25px rgba(0,0,0,0.08);
}

/* NAVBAR FADE SYSTEM */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #eee;
    z-index: 1000;

    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;

    transition: all 0.4s ease;
}

/* ACTIVE STATE */
.navbar.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}


.project-card {
  position: relative;
  display: inline-block;
}

.project-title {
  cursor: pointer;
}

/* Preview box hidden by default */
.preview-box {
  position: absolute;
  top: 120%;
  left: 0;
  width: 500px;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 10;
}

.preview-box img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Show on hover */
.project-card:hover .preview-box {
  opacity: 1;
  transform: translateY(0);
}

.project-card:hover {
  transform: translateY(-3px);
  transition: 0.2s ease;
}

/* ANIMATION */

@keyframes fadeUp{

to{
opacity:1;
transform:translateY(0);
}

}

/* MOBILE */

@media(max-width:768px){

.hero h1{
font-size:30px;
}

.card{
padding:20px;
}
}
