
@font-face {
    font-family: "Clash Display";
    src: url("../assets/fonts/ClashDisplay/ClashDisplay-Regular.woff2") format("woff2");
    font-weight: 400;
}

@font-face {
    font-family: "Clash Display";
    src: url("../assets/fonts/ClashDisplay/ClashDisplay-Medium.woff2") format("woff2");
    font-weight: 500;
}

@font-face {
    font-family: "Clash Display";
    src: url("../assets/fonts/ClashDisplay/ClashDisplay-Semibold.woff2") format("woff2");
    font-weight: 600;
}

@font-face {
    font-family: "Clash Display";
    src: url("../assets/fonts/ClashDisplay/ClashDisplay-Bold.woff2") format("woff2");
    font-weight: 700;
}

:root {
  /* Colors */
  --bg-color: #050816;
  --surface-color: #0f172a;
  --surface-light: #1e293b;

  --text-color: #ffffff;
  --text-muted: #94a3b8;

  --primary-color: #7c3aed;
  --secondary-color: #22d3ee;

  /* Layout */
  --container-width: 1200px;
  --section-spacing: 8rem;
  --border-radius: 20px;

  /* Effects */
  --transition: 0.35s ease;
}


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

html,
body{
    overflow-x:hidden;
    width:100%;
}

html{
    scroll-behavior:smooth;
}



body {
  background: var(--bg-color);
  color: var(--text-color);
  font-family:"Inter",sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/*Headings*/

h1,
h2,
h3,
.logo {

    font-family: "Clash Display", sans-serif;

}

.container {
  width: min(1200px, 90%);
  margin: 0 auto;
}

section {
  padding: var(--section-spacing) 0;
}

/*Buttons*/

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.8rem;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary{
    background:var(--primary-color);
    color:white;
    text-decoration: none;
}

.btn-primary:hover{
    transform:translateY(-3px);
}

.btn-secondary{
    border:1px solid rgba(255,255,255,.15);
    color:white;
    text-decoration: none;
}

.btn-secondary:hover{
    background:rgba(255,255,255,.05);
    transform:translateY(-3px);
}

/*Background*/

.background{
    position:fixed;
    inset:0;
    overflow:hidden;
    z-index:-10;
}

.gradient-bg{
    position:absolute;
    inset:0;
    background:
    radial-gradient(circle at top left,#6d28d955 0%,transparent 45%),
    radial-gradient(circle at bottom right,#06b6d455 0%,transparent 45%),
    radial-gradient(circle at center,#0b102200 30%,#050816 100%);
}

.grid{
    position:absolute;
    inset:0;
    background-image:
    linear-gradient(rgba(255,255,255,.015) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.015) 1px,transparent 1px);
    background-size:60px 60px;
    mask-image:
    radial-gradient(circle,#fff 20%,transparent 95%);
}

.glow{
    position:absolute;
    width:550px;
    height:550px;
    border-radius:50%;
    filter:blur(120px);
    opacity:.25;
}

.glow-1{
    background:#7c3aed;
    top:-180px;
    left:-120px;
}

.glow-2{
    background:#06b6d4;
    bottom:-220px;
    right:-150px;
}

/*Mouse Spotlight*/

.spotlight{
    position:absolute;
    width:600px;
    height:600px;
    border-radius:50%;
    pointer-events:none;
    background:
    radial-gradient(circle,
    rgba(124,58,237,.10) 0%,
    rgba(124,58,237,.08) 30%,
    transparent 70%);
    filter:blur(70px);
    transform:translate(-50%,-50%);
    transition: left .08s linear, top .08s linear;
}

/*Navbar*/

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    transition: var(--transition);
    text-decoration: none;
    font-weight:600;
    font-family: "Clash Display", sans-serif;
    transition:.3s ease;
    cursor:pointer;
}

.logo:hover{
    transform:translateY(-2px);
    color:#8b5cf6;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    text-decoration: none;
    position:relative;
    transition:.3s;

}

.nav-links a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-6px;
    width:0;
    height:2px;
    background:#8b5cf6;
    transition:.3s;
}

.nav-links a:hover {
    color: var(--text-color);
}

.nav-links a:hover::after{
    width:100%;
}



.navbar{
    position:fixed;
    top:16px;
    left:50%;
    transform:translateX(-50%);
    width:min(1200px,92%);
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 36px;
    z-index:1000;
    transition:.4s ease;
}

.navbar.scrolled{
    background:rgba(15,23,42,.55);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
    border:1px solid rgba(255,255,255,.08);
    border-radius:18px;
    box-shadow: 0 10px 40px rgba(0,0,0,.25);
}

.menu-toggle{
    display:none;
    flex-direction:column;
    justify-content:center;
    gap:6px;
    width:48px;
    height:48px;
    background:none;
    border:none;
    cursor:pointer;
    position:relative;
    z-index:1002;
}

.menu-toggle span{
    width:28px;
    height:2px;
    border-radius:50px;
    background:#fff;
    transition:.35s ease;
}

.navbar{
    z-index:1001;
}

.mobile-menu{
    position:fixed;

    top:0;
    left:0;

    width:100%;
    height:100vh;

    background:rgba(5,8,22,.98);
    backdrop-filter:blur(20px);

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:2.5rem;

    transform:translateY(-100%);
    opacity:0;
    visibility:hidden;

    transition:.4s ease;

    z-index:999;
}

.mobile-menu.active{
    transform:translateY(0);
    opacity:1;
    visibility:visible;
}

.mobile-menu a{
    color:white;
    text-decoration:none;
    font-size:1.15rem;
    transition:.3s;
}

.mobile-menu a:hover{
    color:var(--primary-color);
}


.menu-toggle:hover{
    transform:scale(1.05);
}

.mobile-menu{
    display:none;
}

body.menu-open{
    overflow:hidden;
}

.menu-toggle.active span:nth-child(1){
    transform:translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2){
    opacity:0;
}

.menu-toggle.active span:nth-child(3){
    transform:translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero{
    padding-top:140px;
    display:flex;
    align-items:center;
}

.hero-container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:5rem;
}

.hero-left{
    flex:6;
}

.hero-right{
    flex:4;
    display:flex;
    justify-content:center;
}

.hero-intro{
    font-size:1.3rem;
    color:var(--text-muted);
    letter-spacing:.08em;
    /* text-transform:uppercase; */
}

.hero-title{
    margin:.25rem 0 1.5rem;
    font-size:clamp(4rem,9vw,7rem);
    line-height:.95;
    font-weight:700;
    font-family: "Clash Display", sans-serif 
}

.hero-heading{
    font-size:2rem;
    font-weight:500;
    font-family: "Clash Display", sans-serif;
    margin:2rem 0;
    max-width:650px;
    font-weight: 500;
}

.hero-description{
    max-width:640px;
    color:var(--text-muted);
    font-size:1.1rem;
    line-height:1.8;
    font-weight: 400;
}

.hero-buttons{
    display:flex;
    gap:1rem;
    margin-top:2.5rem;
}


/* Hero entrance animation — fade only */
.hero-intro,
.hero-title,
.hero-heading,
.hero-description,
.hero-buttons,
.hero-right {
    opacity: 0;
    transform: none;
}


.developer-card{
    width:380px;
    padding:24px;
    border-radius:30px;
    background:rgba(255,255,255,.04);
    backdrop-filter:blur(24px);
    border:1px solid rgba(255,255,255,.08);
    box-shadow:
    0 30px 80px rgba(0,0,0,.35);
    transition:.5s;
}

.profile-image{
    width:100%;
    height:420px;
    border-radius:22px;
    overflow:hidden;
}

.profile-image img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.developer-card:hover{
    transform: translateY(-12px) scale(1.02);
}

/*MY JOURNEY*/

.story{
    padding:120px 0;
    position:relative;
}

.story-heading{
    max-width:760px;
    margin:0 auto 80px;
    text-align:center;
}

.story-heading .section-description{
    max-width:720px;
    margin:0 auto;
}

.timeline{
    position:relative;
    max-width:900px;
    margin:0 auto;
    padding-left:70px;
}

.timeline-line{
    position:absolute;
    left:18px;
    top:0;
    bottom:0;
    width:2px;
    background:linear-gradient(
        to bottom,
        rgba(124,58,237,.9),
        rgba(34,211,238,.3)
    );
}

.timeline-item{
    position:relative;
    margin-bottom:70px;
}

.timeline-item:last-child{
    margin-bottom:0;
}

.timeline-dot{
    position:absolute;
    left:-60px;
    top:18px;
    width:20px;
    height:20px;
    border-radius:50%;
    background:#7c3aed;
    border:4px solid #050816;
    box-shadow:
        0 0 0 8px rgba(124,58,237,.15),
        0 0 25px rgba(124,58,237,.45);
    transition:.35s ease;
}

.timeline-content{
    background:rgba(255,255,255,.04);
    backdrop-filter:blur(18px);
    border:1px solid rgba(255,255,255,.08);
    border-radius:28px;
    padding:40px;
    transition:.35s ease;
}

.timeline-content:hover{
    transform:translateY(-8px);
    border-color:#8b5cf6;
    box-shadow:
        0 20px 60px rgba(0,0,0,.25);
}

.story-year{
    display:inline-block;
    color:#8b5cf6;
    letter-spacing:2px;
    text-transform:uppercase;
    font-size:13px;
    margin-bottom:16px;
}

.timeline-content h3{
    font-size:30px;
    margin-bottom:18px;
    line-height:1.2;
}

.timeline-content p{
    color:#94a3b8;
    line-height:1.9;
}

/* Reveal */

.timeline-item{
    opacity:0;
    transform:translateY(60px);
    transition:
        opacity .8s ease,
        transform .8s ease;
}

.timeline-item.show{
    opacity:1;
    transform:translateY(0);
}

.timeline-item.show .timeline-dot{
    transform:scale(1.15);
}


.section-tag{
    color:#8b5cf6;
    text-transform:uppercase;
    letter-spacing:4px;
    margin-bottom:20px;
    font-size:14px;
}

.section-title{
    font-size: 45px;
    line-height:1.1;
    margin-bottom:30px;
}

.section-description{
    color:#94a3b8;
    line-height:1.9;
    max-width: 1000px;
}

.timeline{
    position:relative;
}



.projects{
    padding:100px 0;
}

.project{
    display:grid;
    grid-template-columns:1.4fr 1fr;
    gap:70px;
    align-items:center;
    margin-top:100px;
}

.project{
    opacity:0;
    transform:translateY(80px);
    transition:
        opacity .8s ease,
        transform .8s ease;
}

.project.show{
    opacity:1;
    transform:translateY(0);
}

.project-image{
    position:relative;
    overflow:hidden;
    border-radius:28px;
    background:#111827;
}

.project-image img{
    width:100%;
    display:block;
    transition:.8s ease;
    position:relative;
}

.project-image::after{
    content:"";
    position:absolute;
    inset:0;
    background:
    linear-gradient(
        to top,
        rgba(0,0,0,.35),
        transparent
    );
    opacity:0;
    transition:.4s;
}

.project:hover .project-image img{
    transform:scale(1.02);
}

.project:hover .project-image::after{
    opacity:1;
}

.project:hover img{
    transform:scale(1.03);
}

.project-number{
    color:#8b5cf6;
    letter-spacing:4px;
    font-size:14px;
}

.project-content h3{
    font-size:40px;
    margin:20px 0;
}

.project-content p{
    color:#94a3b8;
    line-height:1.9;
    margin-bottom:30px;
}

.project-stack{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-bottom:35px;
}

.project-stack span{
    padding:10px 18px;
    border-radius:999px;
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.08);
    font-size:14px;
}

.project-link{
    color:white;
    font-weight:600;
    transition:.3s;
    margin-top: 50px;
}

.project-link:hover{
    color:#8b5cf6;
}

.browser-frame{
    border-radius:24px;
    overflow:hidden;
    background:#0f172a;
    border:1px solid rgba(255,255,255,.08);
    box-shadow:0 30px 70px rgba(0,0,0,.35);
    max-width: 620px;
    margin-left: auto;
}

.browser-top{
    height:48px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 20px;
    border-bottom:1px solid rgba(255,255,255,.08);
    background:rgba(255,255,255,.03);
}

.browser-dots{
    display:flex;
    gap:8px;
}

.browser-dots span{
    width:10px;
    height:10px;
    border-radius:50%;
}

.browser-dots span:nth-child(1){
    background:#ff5f57;
}

.browser-dots span:nth-child(2){
    background:#febc2e;
}

.browser-dots span:nth-child(3){
    background:#28c840;
}

.browser-top p{
    font-size:13px;
    color:#94a3b8;
}

.project.reverse{
    grid-template-columns:1fr 1.4fr;
}

.project.reverse .project-content{
    order:1;
}

.project.reverse .browser-frame{
    order:2;
}


.project-dashboard{
    background:
    linear-gradient(
        145deg,
        rgba(124,58,237,.10),
        rgba(255,255,255,.03)
    );
    border:1px solid rgba(255,255,255,.08);
    border-radius:25px;
    padding:60px;
    backdrop-filter:blur(20px);
    position:relative;
    padding: 34px;

}

.status-badge{
    display:inline-flex;
    padding:10px 18px;
    border-radius:999px;
    background:rgba(34,197,94,.15);
    color:#4ade80;
    margin-bottom:30px;
}

.dashboard-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
    margin:28px 0;
}

.dashboard-grid div{
    padding:22px;
    border-radius:18px;
    background:rgba(255,255,255,.04);
}

.dashboard-grid span{
    display:block;
    color:#94a3b8;
    font-size:14px;
    margin-bottom:10px;
}

.dashboard-grid strong{
    font-size:20px;
}

.progress{
    margin-top:28px;
    margin-bottom: 30px;
}

.progress ul{
    margin-top:20px;
    display:grid;
    gap:15px;
}

.roadmap-item{
    padding:16px 0;
    border-bottom:1px solid rgba(255,255,255,.08);
}

.quote-card{
    margin-top:40px;
    padding:24px;
    border-radius:18px;
    background:rgba(255,255,255,.03);
    border:1px solid rgba(255,255,255,.08);
    color:#cfd5df;
    line-height:1.8;
    font-style:italic;
}

.project-dashboard::before{
    content:"";
    position:absolute;
    inset:-2px;
    border-radius:24px;
    background:linear-gradient(
        135deg,
        rgba(124,58,237,.15),
        rgba(6,182,212,.12)
    );
    filter:blur(40px);
    z-index:-1;
}

/*EXPERIENCE*/

.experience{
    padding:100px 0;
}

.experience-heading{
    margin-bottom:70px;
}

.experience-wrapper{
    display:flex;
    flex-direction:column;
    gap:40px;
}

.experience-card{
    background:rgba(255,255,255,.04);
    backdrop-filter:blur(20px);
    border:1px solid rgba(255,255,255,.08);
    border-radius:30px;
    padding:36px;
    transition:.35s;
    position:relative;
}

.experience-card:hover{
    transform:translateY(-8px);
    border-color:#8b5cf6;
}

.experience-year{
    color:#8b5cf6;
    letter-spacing:2px;
    text-transform:uppercase;
    font-size:14px;
}

.experience-card h3{
    margin:16px 0 8px;
    font-size:32px;
    line-height:1.2;
}

.experience-card h4{
    color:#94a3b8;
    margin-bottom:25px;
    font-weight:500;
}

.experience-card p{
    color:#94a3b8;
    line-height:1.9;
    max-width:800px;
}

.experience-tags{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:35px;
}

.experience-tags span{
    padding:10px 18px;
    border-radius:999px;
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.08);
    font-size:14px;
}

.experience-card::before{
    content:"";
    position:absolute;
    left:0;
    top:35px;
    width:4px;
    height:0;
    background:#8b5cf6;
    border-radius:10px;
    transition:.4s;
}

.experience-card:hover::before{
    height:calc(100% - 70px);
}

.toolbox{
    padding:80px 0;
}

.toolbox-heading{
    margin-bottom:70px;
}

.tool-groups{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:24px;
}

.tool-group{
    background:rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.08);
    border-radius:28px;
    padding:35px;
    transition:.35s;
}

.tool-group:hover{
    transform:translateY(-8px);
    border-color:#8b5cf6;
}

.tool-group h3{
    margin-bottom:25px;
}

.tool-list{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
}

.tool-list span{
    padding:10px 18px;
    border-radius:999px;
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.08);
}

/*BEYOND*/

.beyond{
    padding:100px 0;
}

.beyond-heading{
    max-width:700px;
    margin-bottom:70px;
}

.beyond-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:30px;
}

.beyond-card{
    padding:32px;
    border-radius:28px;
    background:rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.08);
    transition:.35s;
}

.beyond-card:hover{
    transform:translateY(-8px);
    border-color:#8b5cf6;
}

.beyond-card span{
    font-size:42px;
}

.beyond-card h3{
    margin:25px 0 15px;
    font-size:28px;
}

.beyond-card p{
    color:#94a3b8;
    line-height:1.8;
}

/*CONTACT*/

.contact{
    padding:100px 0;
}

.contact-wrapper{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:80px;
    align-items:center;
}

.contact-right{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.contact-card{
    display:flex;
    align-items:center;
    gap:22px;
    padding:28px;
    border-radius:24px;
    background:rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.08);
    text-decoration:none;
    color:white;
    transition:.35s;
}

.contact-card:hover{
    transform:translateX(10px);
    border-color:#8b5cf6;
}

.contact-card span{
    font-size:34px;
}

.contact-card p{
    color:#94a3b8;
    margin-top:6px;
}

.contact-left .btn{
    margin-top:28px;
}

.footer{
    padding:30px 0;
    border-top:1px solid rgba(255,255,255,.08);
    text-align:center;
}

.footer p{
    color:#94a3b8;
}

.skip-link{
    position:absolute;
    left:-999px;
    top:20px;
    background:#8b5cf6;
    color:#fff;
    padding:12px 18px;
    border-radius:8px;
    z-index:9999;
}

.skip-link:focus{
    left:20px;
}