@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:'poppins',sans-serif;

}
 body{
    background-color: #081b29;
    color: #ededed;

}
.header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 10%;
    background: #051129;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}
.logo{
    font-size: 25px;
    color: #ededed;
    text-decoration: none;
    font-weight: 600;
    cursor: default;
    opacity: 0;
    animation: slideRight 1s ease forwards;

}
.navbar a {
    font-size: 18px;
    color: #ededed;
    text-decoration: none;
    font-weight: 500;
    margin-left: 35px;
    transition: .3s;
    opacity: 0;
    animation: slideTop 1s ease forwards;
    animation-delay:calc(.2s* var(--i));


}
.navbar a:hover,
.navbar a.active{
    color: #00abf0;

}
.home{
    height: 100vh;
    background: url("Ankush Profile.jpg") no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    padding: 0 10%;

}
.home-content{
        max-width: 600px;

}
.home-content h1{
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    opacity: 0;
    animation: slideRight 1s ease forwards;
    animation-delay: 1s;

}
.home-content h3{
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    opacity: 0;
    animation: slideBottom 1s ease forwards;
    animation-delay: .7s;

}
.home-content h3 span{
color: #00abf0;
}
/* Typed.js cursor color */
.typed-cursor{
    color: #00abf0;
}
.home-content h3:nth-of-type(2){
    margin-bottom: 30px;
    animation: slideTop 1s ease forwards;
    animation-delay: .7s;
}
.home-content p{
    font-size: 16px;
    margin: 20px 0 40px;
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: 1s;
}
.home-content .btn-box{
    display: flex;
    justify-content: flex-start;
    gap: 24px;
    width: auto;
    height: 50px;
    opacity: 0;
    animation: slideBottom 1s ease forwards;
    animation-delay: .7s;
}
.btn-box a{
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;    
    min-width: 150px;
    width: auto;
    padding: 0 24px;
    height: 100%;
    background: cyan;
    border: 2px solid cyan;
    border-radius: 8px;
    font-size: 19px;
    color: #081b29;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 1  ;
    overflow: hidden;
    transition: .5s;
    border-radius: 20px;
    white-space: nowrap;
}
.btn-box a:hover{
    color:cyan;
    box-shadow: 0 0 5px cyan,
    0 0 25px cyan, 0 0 50px cyan,
    0 0 100px cyan, 0 0 200px cyan
}
.about{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 2rem;
    padding-bottom: 1.5rem;
}
.btn-box a:nth-child(2){
    background: transparent;
    color:cyan;
    min-width: 220px;
}
.btn-box a:nth-child(2):hover{
    color: #081b29;
}
.btn-box a:nth-child(2)::before{
    background: cyan;
}
.btn-box a::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #081b29;
    z-index: -1;
    transition: .5s;
}
.btn-box a:hover::before{
    width: 100%;
}
.home-sci{
    position: absolute;
    bottom: 40px;
    width: 220px;
    display: flex;
    justify-content: space-between;

}
.home-sci a{
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid #00abf0;
    border-radius: 50%;
    font-size: 20px;
    color: #00abf0;
    text-decoration: none;
    z-index: 1;
    overflow: hidden;
    transition: .5s ease;
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: calc(.2s* var(--i));

    
}
.home-sci a:hover {
    color: #081b29;
}
.home-sci a::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #00abf0;
    z-index:-1;
    transition: .5s;
}
.home-sci a:hover::before{
    width: 100%;
}
.home-content .btn-box{
    display: flex;
    justify-content: flex-start;
    gap: 24px;
    width: auto;
    height: 50px;
    opacity: 0;
    animation: slideBottom 1s ease forwards;
    animation-delay: .7s;
}
.btn-box1 a{
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;    
    width: 200px;
    height: 100%;
    background: cyan;
    border: 2px solid #00abf0;
    border-radius: 8px;
    font-size: 19px;
    color: #081b29;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 1  ;
    overflow: hidden;
    transition: .5s;
    border-radius: 20PX;
}
.btn-box1 a:hover{
    color:cyan;
    box-shadow: 0 0 5px cyan,
    0 0 25px cyan, 0 0 50px cyan,
    0 0 100px cyan, 0 0 200px cyan
}
.btn-box1 a:nth-child(2){
    background: transparent;
    color: #00abf0;
}
.btn-box1 a:nth-child(2):hover{
    color: #081b29;
}
.btn-box1 a:nth-child(2)::before{
    background: #00abf0;
}
.btn-box1 a::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #081b29;
    z-index: -1;
    transition: .5s;
}
.btn-box1 a:hover::before{
    width: 100%;
}
.about{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 1.5rem;

}
.about-img img{
    max-width: 700px;
    height: auto;
    width: 100%;
    border-radius: 8px;

}
.about-text h2{
    font-size: 60px;

}
.about-text h2 span{
    color: #00abf0;
}
.about-text .about-role{
 font-size: 29px;
 font-weight: 600;
 color: #ffffff;
 line-height: 1.7;
 margin: 10px 0 12px;
 display: inline-block;
}
.about-text p{
    color: aliceblue;
    font-size: 20px;
    line-height: 1.4;
    margin-top: 0;
    margin-bottom: 2rem;
}
.container{
    padding: 90px;
}
.sub-title{
    text-align: center;
    font-size: 60px;
    padding-bottom: 70px;
}

/* Skills section */
.skills{ 
    margin-top: 8px; /* about aur skills ke beech kam gap */
}
.skills .container{
    /* Global .container has heavy 90px padding; lighten only for skills */
    padding-top: 10px;
    padding-bottom: 30px;
}
.skills .sub-title{ padding-bottom: 28px; }
.skills .sub-title span{ color: #00abf0; }
.skills .skills-grid{
    display: grid;
    grid-template-columns: repeat(5, minmax(140px, 1fr));
    gap: 36px 46px; /* row col */
    justify-items: center;
    perspective: 900px;
}
.skill{ display: flex; flex-direction: column; align-items: center; gap: 10px; }
.skill{
    transform: translate(var(--fromX, 0px), var(--fromY, 0px)) rotate(var(--fromR, 0deg));
    opacity: 0;
    transition: transform .9s cubic-bezier(.2,.65,.2,1), opacity .6s ease;
}
.skill.in{
    transform: translate(0,0) rotate(0deg);
    opacity: 1;
    transition-delay: var(--delay, 0ms);
}
.skill .sphere{
    width: 95px; height: 95px; border-radius: 50%; position: relative;
    background: radial-gradient(60px 60px at 35% 30%, rgba(255,255,255,0.95), rgba(255,255,255,0) 45%),
                radial-gradient(120px 120px at 70% 75%, rgba(0,0,0,0.12), rgba(0,0,0,0) 60%),
                #ffffff;
    box-shadow: inset 0 6px 12px rgba(0,0,0,0.05), inset 0 -6px 12px rgba(0,0,0,0.08), 0 6px 18px rgba(0,0,0,0.15);
    display: grid; place-items: center; transform-style: preserve-3d;
    transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
    border: 1px solid rgba(0,0,0,0.08); will-change: transform;
}
.skill:hover .sphere{ box-shadow: inset 0 6px 12px rgba(0,0,0,0.06), inset 0 -6px 12px rgba(0,0,0,0.09), 0 12px 26px rgba(0,0,0,0.18); border-color: #00abf0; transform: scale(1.03); }
.skill .sphere img{ width: 40%; height: 40%; object-fit: contain; transform: translateZ(20px); pointer-events: none; filter: drop-shadow(0 1px 1px rgba(0,0,0,0.15)); }
.skill .skill-name{
    font-size: 14px; font-weight: 600; color: #081b29; background: cyan; border: 2px solid cyan;
    border-radius: 999px; padding: 6px 12px; line-height: 1; white-space: nowrap; pointer-events: none;
}

/* Broken meteor look using clip-path variations */
.skills .skills-grid > .skill:nth-child(5n+1) .sphere{ clip-path: polygon(10% 12%, 40% 6%, 68% 12%, 90% 24%, 100% 54%, 86% 86%, 58% 96%, 34% 88%, 14% 76%, 4% 48%); border-radius: 16px; }
.skills .skills-grid > .skill:nth-child(5n+2) .sphere{ clip-path: polygon(14% 8%, 60% 2%, 92% 18%, 98% 58%, 78% 94%, 36% 98%, 8% 78%, 2% 40%); border-radius: 16px; }
.skills .skills-grid > .skill:nth-child(5n+3) .sphere{ clip-path: polygon(6% 20%, 30% 6%, 64% 10%, 90% 34%, 96% 66%, 76% 94%, 42% 98%, 12% 78%); border-radius: 16px; }
.skills .skills-grid > .skill:nth-child(5n+4) .sphere{ clip-path: polygon(12% 10%, 44% 4%, 82% 12%, 96% 42%, 88% 82%, 56% 94%, 24% 88%, 6% 56%); border-radius: 16px; }
.skills .skills-grid > .skill:nth-child(5n) .sphere{ clip-path: polygon(8% 16%, 34% 4%, 72% 8%, 94% 28%, 98% 64%, 86% 92%, 48% 98%, 16% 86%, 4% 52%); border-radius: 16px; }

/* Ensure same styling applies to .meteor elems as well */
.skill .meteor{
    width: 95px; height: 95px; border-radius: 50%; position: relative;
    background: radial-gradient(60px 60px at 35% 30%, rgba(255,255,255,0.95), rgba(255,255,255,0) 45%),
                radial-gradient(120px 120px at 70% 75%, rgba(0,0,0,0.12), rgba(0,0,0,0) 60%),
                #ffffff;
    box-shadow: inset 0 6px 12px rgba(0,0,0,0.05), inset 0 -6px 12px rgba(0,0,0,0.08), 0 6px 18px rgba(0,0,0,0.15);
    display: grid; place-items: center; transform-style: preserve-3d;
    transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
    border: 1px solid rgba(0,0,0,0.08); will-change: transform;
}
.skill:hover .meteor{ box-shadow: inset 0 6px 12px rgba(0,0,0,0.06), inset 0 -6px 12px rgba(0,0,0,0.09), 0 12px 26px rgba(0,0,0,0.18); border-color: #00abf0; transform: scale(1.03); }
.skill .meteor img{ width: 50%; height: 50%; object-fit: contain; transform: translateZ(20px); pointer-events: none; filter: drop-shadow(0 1px 1px rgba(0,0,0,0.15)); }

.skills .skills-grid > .skill:nth-child(5n+1) .meteor{ clip-path: polygon(10% 12%, 40% 6%, 68% 12%, 90% 24%, 100% 54%, 86% 86%, 58% 96%, 34% 88%, 14% 76%, 4% 48%); border-radius: 16px; }
.skills .skills-grid > .skill:nth-child(5n+2) .meteor{ clip-path: polygon(14% 8%, 60% 2%, 92% 18%, 98% 58%, 78% 94%, 36% 98%, 8% 78%, 2% 40%); border-radius: 16px; }
.skills .skills-grid > .skill:nth-child(5n+3) .meteor{ clip-path: polygon(6% 20%, 30% 6%, 64% 10%, 90% 34%, 96% 66%, 76% 94%, 42% 98%, 12% 78%); border-radius: 16px; }
.skills .skills-grid > .skill:nth-child(5n+4) .meteor{ clip-path: polygon(12% 10%, 44% 4%, 82% 12%, 96% 42%, 88% 82%, 56% 94%, 24% 88%, 6% 56%); border-radius: 16px; }
.skills .skills-grid > .skill:nth-child(5n) .meteor{ clip-path: polygon(8% 16%, 34% 4%, 72% 8%, 94% 28%, 98% 64%, 86% 92%, 48% 98%, 16% 86%, 4% 52%); border-radius: 16px; }

/* Responsive columns for smaller screens */
@media (max-width: 1200px){
  .skills .skills-grid{ grid-template-columns: repeat(4, minmax(130px, 1fr)); gap: 32px 36px; }
}
@media (max-width: 900px){
  .skills .skills-grid{ grid-template-columns: repeat(3, minmax(120px, 1fr)); gap: 28px 32px; }
}
@media (max-width: 600px){
  .skills .skills-grid{ grid-template-columns: repeat(2, minmax(110px, 1fr)); gap: 24px 28px; }
}

/* Experience section */
.experience{ margin-top: 10px; }
.experience .container{ padding-top: 20px; padding-bottom: 36px; padding-left: 40px; padding-right: 40px; }
.experience .sub-title span{ color: #00abf0; }
.exp-timeline{ position: relative; margin: 0 auto; max-width: 1100px; padding: 6px 0 0 0; }
.exp-timeline::before{ content: ""; position: absolute; left: 32px; top: 0; bottom: 0; width: 2px; background: rgba(0,171,240,0.35); }
.exp-item{ position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 18px; margin-bottom: 22px; }
.exp-dot{ width: 12px; height: 12px; background: #00abf0; border-radius: 50%; position: absolute; left: 26px; top: 10px; box-shadow: 0 0 0 6px rgba(0,171,240,0.12); }
.exp-card{ background: rgba(255,255,255,0.03); border: 1px solid rgba(0,171,240,0.25); border-left: 4px solid #00abf0; border-radius: 12px; padding: 16px 18px; line-height: 1.6; max-width: none; word-break: normal; hyphens: none; }
.exp-card h3{ font-size: 22px; margin: 0 0 6px 0; }
.exp-meta{ font-size: 13px; color: #bcd0e0; margin-bottom: 8px; }
.exp-card ul{ margin: 0; padding-left: 18px; }
.exp-card li{ margin: 4px 0; }

@media (max-width: 700px){
  .exp-timeline::before{ left: 12px; }
  .exp-item{ grid-template-columns: 44px 1fr; }
  .exp-dot{ left: 6px; }
}



















@keyframes slideRight{
    0%{
        transform: translateX(-100px);
        opacity: 0;
    }
    100%{
        transform: translateX(0px);
        opacity: 1;
    }
}
@keyframes slideTop{
    0%{
        transform: translateY(100px);
        opacity: 0;
    }
    100%{
        transform: translateY(0px);
        opacity: 1;
    }
}
@keyframes slideBottom{
    0%{
        transform: translateY(-100px);
        opacity: 0;
    }
    100%{
        transform: translateY(0px);
        opacity: 1;
    }
}
@keyframes slideLeft{
    0%{
        transform: translateX(100px);
        opacity: 0;
    }
    100%{
        transform: translateX(0px);
        opacity: 1;
    }
}

/* Experience Cards (under Skills) */
.experience-cards{ margin-top: 14px; }
.experience-cards .container{ padding-top: 20px; padding-bottom: 24px; padding-left: 40px; padding-right: 40px; }
.experience-cards .sub-title span{ color: #00abf0; }
.exp-grid{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.exp-card{ background: rgba(255,255,255,0.03); border: 1px solid rgba(0,171,240,0.25); border-radius: 14px; padding: 14px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.exp-card:hover{ transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0,171,240,0.15); border-color: #00abf0; }
.exp-header{ display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: center; margin-bottom: 8px; }
.exp-logo{ width: 52px; height: 52px; border-radius: 10px; background: #ffffff; border: 1px solid rgba(0,0,0,0.08); display: grid; place-items: center; overflow: hidden; position: relative; }
.exp-logo img{ width: 100%; height: 100%; object-fit: contain; padding: 6px; background: #ffffff; }
.exp-logo img + .exp-initial{ display: none; }
.exp-initial{ font-weight: 800; color: #00abf0; }
.exp-title h3{ font-size: 18px; margin: 0 0 2px 0; }
.exp-title p{ font-size: 13px; color: #bcd0e0; margin: 0; }
.exp-card ul{ padding-left: 18px; margin: 8px 0 0 0; }
.exp-card li{ margin: 4px 0; }

@media (max-width: 700px){
  .exp-grid{ grid-template-columns: 1fr; }
}

/* Projects Showcase */
.projects-showcase{ margin-top: 16px; }
.projects-showcase .container{ padding-top: 10px; }
.projects-showcase .sub-title span{ color: #00abf0; }
.projects-showcase .sub-title{ padding-bottom: 28px; }
.proj-filters{ display:flex; flex-wrap:wrap; gap:10px; justify-content:center; margin-bottom: 24px; }
.proj-filter{ background: transparent; color:#00abf0; border:2px solid #00abf0; border-radius:999px; padding:8px 14px; font-weight:600; cursor:pointer; transition:.3s ease; }
.proj-filter:hover,.proj-filter.active{ background:#00abf0; color:#081b29; }
.proj-grid{ display:grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap:18px; }
.proj-card{ position:relative; display:block; color:#ededed; text-decoration:none; border-radius:16px; overflow:hidden; background: rgba(255,255,255,0.03); border:1px solid rgba(0,171,240,0.25); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.proj-card::before{ content:""; position:absolute; inset:0; background: radial-gradient(120px 80px at -10% -10%, rgba(0,171,240,0.25), transparent 60%), radial-gradient(120px 80px at 110% 110%, rgba(0,171,240,0.25), transparent 60%); opacity:.35; pointer-events:none; }
.proj-card:hover{ transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0,171,240,0.15); border-color:#00abf0; }
.proj-thumb{ display:grid; place-items:center; height:140px; background: linear-gradient(135deg, rgba(0,171,240,0.18), rgba(0,171,240,0.05)); }
.proj-thumb img{ width:72px; height:72px; object-fit:contain; filter: drop-shadow(0 2px 2px rgba(0,0,0,0.25)); }
.proj-body{ padding:12px 14px 14px; }
.proj-body h3{ margin:0 0 6px 0; font-size:18px; }
.proj-body .tags{ margin:0; font-size:13px; color:#bcd0e0; }

/* project reveal */
.proj-card{ opacity:0; transform: translateY(10px); }
.proj-card.in{ opacity:1; transform: translateY(0); transition: opacity .4s ease, transform .4s ease; }
