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

html{
    scroll-behavior:smooth;
}

body{
    
    font-family:'Inter',sans-serif;
    
    background:#070b17;
    
    color:#fff;
    
    overflow-x:hidden;
    
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
}

ul{
    list-style:none;
}

html {
    scroll-behavior: smooth;
}

#home,
#about,
#experience,
#projects,
#skills,
#contact {
    scroll-margin-top: 100px;
}

/* ===========================
 CONTAINER
 =========================== */
.container{
    
    width:min(1180px,92%);
    
    margin:auto;
    
}

/*====================================
 REVEAL ANIMATION
 ====================================*/
.reveal{
    
    opacity:0;
    
    transform:translateY(60px);
    
    transition:
    opacity .9s ease,
    transform .9s ease;
    
}

.reveal.active{
    
    opacity:1;
    
    transform:translateY(0);
    
}

/*====================================
 SCROLL PROGRESS BAR
 ====================================*/
#progress-bar{
    
    position:fixed;
    
    top:0;
    
    left:0;
    
    width:0;
    
    height:4px;
    
    z-index:9999;
    
    background:linear-gradient(
    90deg,
    #2563EB,
    #60A5FA
    );
    
    box-shadow:0 0 12px rgba(37,99,235,.5);
    
}

/*====================================
 PRE LOADER
 ====================================*/
#preloader{

    position:fixed;

    inset:0;

    background:#0B1220;

    display:flex;

    justify-content:center;

    align-items:center;

    z-index:99999;

    transition:.5s;
}

#preloader.hide{

    opacity:0;

    visibility:hidden;
}

.loader{

    width:70px;

    height:70px;

    border:5px solid rgba(255,255,255,.15);

    border-top:5px solid #3B82F6;

    border-radius:50%;

    animation:spin 1s linear infinite;
}

@keyframes spin{

    to{

        transform:rotate(360deg);

    }

}

/* ===========================
 SCROLL TO TOP
 =========================== */
#scrollTop{

    position:fixed;

    bottom:30px;

    right:30px;

    width:52px;

    height:52px;

    border:none;

    border-radius:50%;

    background:#2563EB;

    color:white;

    font-size:22px;

    cursor:pointer;

    display:none;

    z-index:1000;

    transition:.3s;

    box-shadow:0 10px 30px rgba(37,99,235,.35);

}

#scrollTop:hover{

    transform:translateY(-4px);

}

/* ===========================
 NAVBAR
 =========================== */
.navbar{
    
    position:fixed;
    
    top:0;
    
    left:0;
    
    width:100%;
    
    z-index:999;
    
    backdrop-filter:blur(18px);
    
    background:rgba(7,11,23,.82);
    
    border-bottom:1px solid rgba(255,255,255,.08);
    
}

.navbar .container{
    
    height:82px;
    
    display:flex;
    
    align-items:center;
    
    justify-content:space-between;
    
}

.logo{
    
    font-size:34px;
    
    font-weight:700;
    
    color:white;
    
    font-family:'Space Grotesk',sans-serif;
    
}

nav ul{
    
    display:flex;
    
    gap:42px;
    
}

nav a{
    
    color:#c8d0df;
    
    transition:.3s;
    
    font-size:16px;
    
}

nav a:hover{
    
    color:white;
    
}

.resume-btn{
    
    color:white;
    
    padding:12px 24px;
    
    border-radius:999px;
    
    border:1px solid rgba(90,135,255,.45);
    
    background:#0e1630;
    
    transition:.3s;
    
}

.resume-btn:hover{
    
    background:#1d4ed8;
    
}

.nav-link{
    
    color:#B8BCC8;
    
    transition:.3s;
    
}

.nav-link:hover{
    
    color:#FFFFFF;
    
}

.nav-link.active{
    
    color:#4F7CFF;
    
}

.nav-link.active::after{
    
    content:"";
    
    display:block;
    
    width:100%;
    
    height:2px;
    
    background:#4F7CFF;
    
    margin-top:6px;
    
    border-radius:2px;
    
}

/*=========================
 MOBILE MENU
 =========================*/
.menu-btn{
    
    display:none;
    
    flex-direction:column;
    
    justify-content:center;
    
    gap:6px;
    
    width:42px;
    
    height:42px;
    
    background:none;
    
    border:none;
    
    cursor:pointer;
    
}

.menu-btn span{
    
    width:28px;
    
    height:3px;
    
    border-radius:20px;
    
    background:white;
    
    transition:.35s;
    
}

@media(max-width:992px){
    .nav-links{
        
        position:fixed;
        
        top:82px;
        
        right:-100%;
        
        width:280px;
        
        height:calc(100vh - 82px);
        
        background:#0B1220;
        
        transition:.35s;
        
        border-left:1px solid rgba(255,255,255,.08);
        
        padding:40px;
        
    }
    
    .nav-links ul{
        
        display:flex;
        
        flex-direction:column;
        
        gap:28px;
        
    }
    
    .nav-links.active{
        
        right:0;
        
    }
    
    .resume-btn{
        
        display:none;
        
    }
    
    .menu-btn{
        
        display:flex;
        
    }
}

@media (max-width: 768px) {
    .nav-links{
        
        position:fixed;
        
        top:82px;
        
        right:-100%;
        
        width:280px;
        
        height:calc(100vh - 82px);
        
        background:#0B1220;
        
        transition:.35s;
        
        border-left:1px solid rgba(255,255,255,.08);
        
        padding:40px;
        
    }
    
    .nav-links ul{
        
        display:flex;
        
        flex-direction:column;
        
        gap:28px;
        
    }
    
    .nav-links.active{
        
        right:0;
        
    }
    
    .resume-btn{
        
        display:none;
        
    }
    
    .menu-btn{
        
        display:flex;
        
    }
}

/* ===========================
 MAIN
 =========================== */
main{
    
    padding-top:60px;
    
}

/* ===========================
 HERO
 =========================== */
#typing{
    border-right:3px solid #3B82F6;
}

.typing{
    animation: blink .8s infinite;
}

@keyframes blink{

    50%{

        border-color:transparent;

    }

}

.hero{
    
    min-height:calc(100vh - 82px);
    
    display:flex;
    
    padding:20px 0;
    
    align-items:center;
    
}

.hero-grid{
    
    display:grid;
    
    grid-template-columns:1.1fr .9fr;
    
    align-items:center;
    
    gap:90px;
    
}

.hero-left{
    
    display:flex;
    
    flex-direction:column;
    
}

.badge{
    
    display:inline-flex;
    
    align-items:center;
    
    width:max-content;
    
    padding:10px 18px;
    
    border-radius:999px;
    
    background:rgba(0,255,170,.08);
    
    border:1px solid rgba(0,255,170,.25);
    
    color:#00dca0;
    
    font-size:15px;
    
    margin-bottom:28px;
    
}

.hero-left h1{
    
    font-size:82px;
    
    line-height:0.95;
    
    font-weight:700;
    
    letter-spacing:-3px;
    
    font-family:'Space Grotesk',sans-serif;
    
    margin-bottom:28px;
    
}

.hero-left p{
    
    color:#98a3b8;
    
    font-size:24px;
    
    line-height:1.8;
    
    max-width:650px;
    
    margin-bottom:42px;
    
}

.hero-buttons{
    
    display:flex;
    
    gap:18px;
    
}

.btn-primary{
    
    padding:18px 34px;
    
    background:#2563eb;
    
    color:white;
    
    border-radius:999px;
    
    font-weight:600;
    
}

.btn-secondary{
    
    padding:18px 34px;
    
    border-radius:999px;
    
    border:1px solid rgba(255,255,255,.15);
    
    color:white;
    
}

.hero-right{
    
    display:flex;
    
    justify-content:center;
    
    transition:.35s;
    
}

.hero-right img{
    
    width:460px;
    
    aspect-ratio:1;
    
    border-radius:50%;
    
    object-fit:cover;
    
    border:3px solid rgba(255,255,255,.08);
    
    box-shadow:
    
    0 0 120px rgba(37,99,235,.22);
    
}

.hero-right:hover img{

    transform:scale(1.02);

}

/* ===========================
 ABOUT
 =========================== */
.about{
    padding:40px 0;
}

.about-container{
    display:grid;
    grid-template-columns:1.2fr 0.8fr;
    gap:80px;
    align-items:center;
}

.section-tag{
    display:inline-block;
    color:#4F8CFF;
    font-size:14px;
    letter-spacing:4px;
    font-weight:700;
    margin-bottom:20px;
}

.about-left h2{
    font-size:64px;
    line-height:1.1;
    margin-bottom:30px;
}

.about-left p{
    color:#A8B2C3;
    font-size:20px;
    line-height:1.9;
    max-width:700px;
    margin-bottom:40px;
}

.about-highlights{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:18px;
}

.about-highlights div{
    background:#111827;
    border:1px solid rgba(255,255,255,.08);
    border-radius:16px;
    padding:18px 22px;
    font-size:18px;
    color:white;
}

.about-right{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:25px;
}

.info-card{
    background:#111827;
    border:1px solid rgba(255,255,255,.08);
    border-radius:20px;
    padding:40px 25px;
    text-align:center;
}

.info-card h3{
    font-size:54px;
    color:white;
    margin-bottom:10px;
}

.info-card span{
    color:#94A3B8;
    font-size:18px;
}

/* Mobile */

@media(max-width:900px){
    
    .about-container{
        
        grid-template-columns:1fr;
        
        gap:60px;
        
    }
    
    .about-left h2{
        
        font-size:42px;
        
    }
    
    .about-left p{
        
        font-size:18px;
        
    }
    
    .about-highlights{
        
        grid-template-columns:1fr;
        
    }
    
    .about-right{
        
        grid-template-columns:1fr;
        
    }
    
}

/*====================================
 EXPERIENCE
 ====================================*/
.experience{
    padding:40px 0;
}

.section-title{
    font-size:60px;
    line-height:1.1;
    margin:20px 0 70px;
}

.timeline{
    position:relative;
    margin-left:10px;
    border-left:2px solid rgba(79,140,255,.25);
}

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

.timeline-dot{
    position:absolute;
    left:-11px;
    top:30px;
    width:18px;
    height:18px;
    background:#2563EB;
    border-radius:50%;
    box-shadow:0 0 20px rgba(79,140,255,.6);
}

.timeline-card{
    
    margin-left:50px;
    
    background:#111827;
    
    border:1px solid rgba(255,255,255,.08);
    
    border-radius:24px;
    
    padding:40px;
}

.timeline-date{
    
    color:#4F8CFF;
    
    font-size:16px;
    
    font-weight:600;
    
}

.timeline-card h3{
    
    font-size:34px;
    
    margin:15px 0 10px;
    
}

.timeline-card h4{
    
    color:#A8B2C3;
    
    font-size:22px;
    
    margin-bottom:20px;
    
}

.timeline-card ul{
    
    padding-left:20px;
    
}

.timeline-card li{
    
    color:#CBD5E1;
    
    margin-bottom:16px;
    
    line-height:1.8;
    
    font-size:18px;
    
}

.timeline-card:hover{
    
    transform:translateY(-6px);
    
    transition:.35s;
    
    border-color:#4F8CFF;
    
    box-shadow:0 20px 60px rgba(0,0,0,.45);
    
}

/*====================================
 PROJECTS
 ====================================*/
.projects{
    
    padding:0px 0;
    
}

.projects-grid{
    
    display:flex;
    
    flex-direction:column;
    
    gap:40px;
    
    margin-top:60px;
    
}

.project-header{
    
    display:flex;
    
    justify-content:space-between;
    
    align-items:center;
    
    margin-bottom:20px;
    
}

.project-category{
    
    color:#2563EB;
    
    font-size:14px;
    
    font-weight:700;
    
    letter-spacing:2px;
    
    text-transform:uppercase;
    
}

.project-year{
    
    color:#94A3B8;
    
    font-size:15px;
    
}

.project-card h3{
    
    font-size:32px;
    
    margin-bottom:20px;
    
    line-height:1.2;
    
}

.project-card p{
    
    max-width:1100px;
    
    line-height:1.9;
    
    color:#CBD5E1;
    
    font-size:20px;
    
}

.tech-stack{
    
    display:flex;
    
    flex-wrap:wrap;
    
    gap:12px;
    
    margin-bottom:28px;
    
}

.tech-stack span{
    
    padding:8px 16px;
    
    background:#1E293B;
    
    border-radius:999px;
    
    border:1px solid rgba(255,255,255,.08);
    
    color:#E2E8F0;
    
    font-size:14px;
    
}

.project-features{
    
    display:grid;
    
    grid-template-columns:repeat(2,1fr);
    
    gap:16px;
    
}

.project-features div{
    
    color:#CBD5E1;
    
    font-size:16px;
    
}

.project-title-row{
    
    display:flex;
    
    align-items:center;
    
    gap:12px;
    
}

.project-timeline{
    
    position:relative;
    
    margin-left:10px;
    
    border-left:2px solid rgba(79,140,255,.25);
    
}

.project-item{
    
    position:relative;
    
    margin-bottom:60px;
    
}

.project-dot{
    
    position:absolute;
    
    left:-11px;
    
    top:30px;
    
    width:18px;
    
    height:18px;
    
    border-radius:50%;
    
    background:#2563EB;
    
    box-shadow:0 0 20px rgba(79,140,255,.6);
    
}

.project-card{
    
    margin-left:50px;
    
    background:#111827;
    
    border:1px solid rgba(255,255,255,.08);
    
    border-radius:24px;
    
    padding:40px;
    
    transition:.35s;
    
}

.project-card:hover{
    
    transform:translateY(-6px);
    
    border-color:#2563EB;
    
    box-shadow:0 20px 60px rgba(0,0,0,.45);
    
}

.project-card ul{
    
    margin-top:20px;
    
    margin-bottom:20px;
    
    padding-left:20px;
    
}

.project-card li{
    
    margin-bottom:8px;
    
    line-height:1.8;
    
    color:#CBD5E1;
    
    font-size:17px;
    
}

/*======================
 SKILLS
 =======================*/
.skills{
    
    padding:20px 0;
    
}

.skills-grid{
    
    display:grid;
    
    grid-template-columns:repeat(2,1fr);
    
    gap:32px;
    
    margin-top:60px;
    
}

.skill-card{
    
    background:var(--card-bg);
    
    border:1px solid rgba(255,255,255,.08);
    
    border-radius:28px;
    
    padding:36px;
    
    transition:.35s;
    
}

.skill-card:hover{
    
    transform:translateY(-6px);
    
    border-color:var(--primary);
    
}

.skill-card h3{
    
    font-size:28px;
    
    margin-bottom:30px;
    
    color:var(--white);
    
}

.skill-list{
    
    display:flex;
    
    flex-direction:column;
    
    gap:22px;
    
}

.skill-item span{
    
    display:block;
    
    margin-bottom:8px;
    
    color:#d8dbe4;
    
    font-weight:500;
    
}

.skill-bar{
    
    height:8px;
    
    background:#1F2937;
    
    border-radius:20px;
    
    overflow:hidden;
    
}

.skill-progress{
    
    width:0;
    
    height:100%;
    
    border-radius:20px;
    
    background:linear-gradient(
    90deg,
    #2563EB,
    #3B82F6
    );
    
    transition:width 1.4s ease;
    
}

.skill-tags{
    
    display:flex;
    
    flex-wrap:wrap;
    
    gap:14px;
    
}

.skill-tags span{
    
    padding:12px 20px;
    
    border-radius:999px;
    
    background:#20293B;
    
    border:1px solid rgba(255,255,255,.08);
    
    color:#d7dde8;
    
    font-size:15px;
    
}

.skill-card h3{
    
    display:flex;
    
    align-items:center;
    
    gap:14px;
    
    font-size:28px;
    
    margin-bottom:30px;
    
    color:#FFFFFF;
    
}

.skill-card h3 i{
    
    color:#3B82F6;
    
    font-size:26px;
    
}

/*=========================
 CONTACT
 =========================*/
.contact{
    
    padding:60px 0;
    
    text-align:center;
    
}

.contact-text{
    
    max-width:760px;
    
    margin:30px auto 60px;
    
    color:#A8B2C3;
    
    line-height:1.9;
    
    font-size:20px;
    
}

.contact-grid{
    
    display:grid;
    
    grid-template-columns:repeat(3,1fr);
    
    gap:30px;
    
    margin-bottom:60px;
    
}

.contact-card{
    
    background:#111827;
    
    border:1px solid rgba(255,255,255,.08);
    
    border-radius:24px;
    
    padding:40px;
    
}

.contact-card h3{
    
    margin-bottom:20px;
    
}

.contact-card a,
.contact-card span{
    
    color:#CBD5E1;
    
    font-size:20px;
    
}

.contact-buttons{
    
    display:flex;
    
    justify-content:center;
    
    gap:20px;
    
}

.btn-primary,
.btn-secondary{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/*=========================
 FOOTER
 =========================*/
.footer{
    
    padding:70px 0 40px;
    
    border-top:1px solid rgba(255,255,255,.08);
    
    text-align:center;
    
}

.footer h2{
    
    font-size:34px;
    
    margin-bottom:12px;
    
}

.footer p{
    
    color:#94A3B8;
    
}

.footer-links{
    
    display:flex;
    
    justify-content:center;
    
    gap:28px;
    
    margin:35px 0;
    
    flex-wrap:wrap;
    
}

.footer-links a{
    
    color:#CBD5E1;
    
    transition:.3s;
    
}

.footer-links a:hover{
    
    color:#3B82F6;
    
}

.footer-social{
    
    display:flex;
    
    justify-content:center;
    
    gap:22px;
    
    margin-bottom:35px;
    
}

.footer-social a{
    
    width:48px;
    
    height:48px;
    
    border-radius:50%;
    
    display:flex;
    
    align-items:center;
    
    justify-content:center;
    
    background:#111827;
    
    color:white;
    
    transition:.3s;
    
}

.footer-social a:hover{
    
    background:#2563EB;
    
    transform:translateY(-4px);
    
}

.copyright{
    
    font-size:14px;
    
}
