*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

body{
    background:#050816;
    color:white;
    overflow-x:hidden;
}


/* ================= CONTAINER ================= */

.container {
    width:80%;
    max-width:1400px;

    margin:auto;

    padding-left:8%;
    padding-right:8%;
}


/* ================= NAVBAR ================= */

#navbar{
    width:100%;

    position:fixed;
    top:20px;
    

    z-index:1000;

    background:rgba(5,8,22,0.7);

    backdrop-filter:blur(12px);

    border-bottom:1px solid rgba(255,255,255,0.05);
}

/* 3 SECTION LINE */

.navbar-wrapper{
    display:flex;

    align-items:center;

    justify-content:space-between;

    padding:22px 0;
}

/* ================= LOGO ================= */

.logo img{
    width:170px;
    
}

/* ================= MENU ================= */

.nav-menu{
    display:flex;

    align-items:center;

    gap:35px;
}

.nav-menu a{
    text-decoration:none;

    color:#d1d5db;

    font-size:16px;
    font-weight:500;

    position:relative;

    transition:0.4s;
}

/* HOVER LINE */

.nav-menu a::after{
    content:'';

    position:absolute;

    left:0;
    bottom:-8px;

    width:0%;
    height:2px;

    background:#8b5cf6;

    transition:0.4s;
}

.nav-menu a:hover::after{
    width:100%;
}

.nav-menu a:hover{
    color:white;
}

/* ================= BUTTON ================= */

.nav-btn button{
    padding:10px 34px;

    border:none;

    border-radius:50px;

    background:linear-gradient(
        45deg,
        #7c3aed,
        #8b5cf6
    );

    color:white;

    font-size:15px;
    font-weight:600;

    cursor:pointer;

    transition:0.4s;
}

.nav-btn button:hover{
    transform:translateY(-5px);

    box-shadow:
    0 15px 35px rgba(139,92,246,0.4);
}


/* ================= HERO ================= */

.hero{
    width:100%;

    padding-top:150px;
    padding-bottom:80px;
}

/* SAME CONTAINER ALIGNMENT */

.hero-wrapper{
    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:60px;
}

/* LEFT */

.hero-left{
    width:60%;
    margin-left: -90px;
}

.hero-left h3{
    font-size:24px;

    color:#8b5cf6;

    margin-bottom:20px;
}

.hero-left h1{
    font-size:35px;

    line-height:1.1;

    margin-bottom:20px;
}

/* TYPING TEXT EFFECT */

#typing-text{
    color:#8b5cf6;
    border-right:3px solid #8b5cf6;
    padding-right:5px;

    white-space:nowrap;
    overflow:hidden;

    animation:blink .7s infinite;
}

@keyframes blink{
    50%{
        border-color:transparent;
    }
}



.hero-left p{
    font-size:18px;

    color:#94a3b8;

    line-height:1.8;
    margin-bottom:20px;
}


/* ================= HERO BUTTONS ================= */

.hero-buttons{
    display:flex;
    align-items:center;
    gap:20px;

    margin-top:40px;
}

/* PRIMARY BUTTON */

.primary-btn{
    position:relative;

    padding:12px 40px;

    border-radius:60px;

    text-decoration:none;

    background:linear-gradient(
        135deg,
        #7c3aed,
        #8b5cf6
    );

    color:white;

    font-size:16px;
    font-weight:600;

    overflow:hidden;

    transition:0.4s ease;

    box-shadow:
    0 12px 30px rgba(124,58,237,0.35);
}

.primary-btn:hover{
    transform:translateY(-6px);

    box-shadow:
    0 18px 45px rgba(139,92,246,0.5);
}

/* SHINE EFFECT */

.primary-btn::before{
    content:'';

    position:absolute;

    top:0;
    left:-100%;

    width:100%;
    height:100%;

    background:linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.35),
        transparent
    );

    transition:0.6s;
}

.primary-btn:hover::before{
    left:100%;
}

/* SECONDARY BUTTON */

.secondary-btn{
    padding:10px 40px;

    border-radius:60px;

    text-decoration:none;

    border:1.5px solid rgba(139,92,246,0.4);

    background:rgba(255,255,255,0.03);

    backdrop-filter:blur(10px);

    color:white;

    font-size:16px;
    font-weight:600;

    transition:0.4s;
}

.secondary-btn:hover{
    background:#8b5cf6;

    border-color:#8b5cf6;

    transform:translateY(-5px);

    box-shadow:
    0 15px 35px rgba(139,92,246,0.4);
}



/* CONTACT MODAL */

.contact-modal{
    position:fixed;
    inset:0;

    background:rgba(0,0,0,0.7);

    display:flex;
    justify-content:center;
    align-items:center;

    opacity:0;
    visibility:hidden;

    transition:.4s;

    z-index:9999;
}

.contact-modal.active{
    opacity:1;
    visibility:visible;
}

.modal-box{
    width:90%;
    max-width:500px;

    background:#101828;

    padding:40px;

    border-radius:20px;

    position:relative;
}

.modal-box h2{
    margin-bottom:25px;
    color:#fff;
}

.close-modal{
    position:absolute;
    top:15px;
    right:20px;

    font-size:32px;
    cursor:pointer;
    color:#fff;
}

.modal-box form{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.modal-box input,
.modal-box textarea{
    width:100%;

    padding:15px;

    border:none;
    outline:none;

    border-radius:12px;

    background:#1e293b;

    color:#fff;

    font-size:15px;
}

.modal-box button{
    padding:15px;

    border:none;

    border-radius:12px;

    background:linear-gradient(
        45deg,
        #7c3aed,
        #8b5cf6
    );

    color:#fff;

    font-size:16px;
    font-weight:600;

    cursor:pointer;

    transition:.3s;
}

.modal-box button:hover{
    transform:translateY(-4px);
}



/* ================= TECH ICONS ================= */

.tech-icons{
    display:flex;
    align-items:center;
    gap:15px;
    margin-top:35px;
    flex-wrap:wrap;
}

.tech-item{
    display:flex;
    align-items:center;
    gap:0;

    padding:10px 16px;

    border:1px solid rgba(255,255,255,0.08);
    border-radius:50px;

    background:rgba(255,255,255,0.03);
    backdrop-filter:blur(10px);

    transition:0.4s;
    cursor:pointer;
}

.tech-item i{
    font-size:17px;
    color:#428eff;
    
}

.tech-item span{
    font-size:10px;
    color:#d1d5db;
    font-weight:500;
    margin-left:3px;
}

.tech-item:hover{
    transform:translateY(-5px);
    background:rgba(139,92,246,0.15);
    border-color:#8b5cf6;
}

/* RIGHT */

.hero-right{
    width:40%;
    
}

.hero-right img{
    width:145%;
    margin-left: -40px;
    border-radius:30px;
}

/* ABOUT SECTION */

.about-section{
    background:#050816;
    padding:100px 7%;
    color:#fff;
}

.about-container{
    display:grid;
    grid-template-columns: 320px 1fr 420px;
    gap:40px;
    align-items:center;
    margin-left: 47px;
}

/* IMAGE */

.about-image{
    position:relative;
    padding:4px;
    border-radius:24px;

    background:linear-gradient(
        120deg,
        #7c5cff,
        rgba(124,92,255,0.1),
        rgba(124,92,255,0)
    );

    display:inline-block;
}

.about-image img{
    width:80%;
    display:block;
    border-radius:20px;
    background:#050816;
}

.about-image::before{
    content:'';
    position:absolute;
    inset:0;
    border-radius:24px;
    background:linear-gradient(
        120deg,
        rgba(124,92,255,.7),
        rgba(124,92,255,0)
    );
    filter:blur(25px);
    z-index:-1;
}

.experience-box{
    position:absolute;
    left:-20px;
    bottom:20px;
    background:#101828;
    padding:25px;
    border-radius:20px;
    width:140px;
    box-shadow:0 0 20px rgba(108,99,255,.3);
}

.experience-box h2{
    font-size:42px;
    color:#7c5cff;
    margin-bottom:10px;
}

.experience-box p{
    line-height:1.5;
    color:#ddd;
}

/* CONTENT */

.about-tag{
    color:#8b5cf6;
    font-size:14px;
}

.about-content h2{
    font-size:20px;
    line-height:1.3;
    margin:20px 0;
    font-weight:700;
}

.about-content h2 span{
    color:#7c5cff;
}

.about-content p{
    color:#b8b8b8;
    line-height:1.8;
    margin-bottom:30px;
    max-width:500px;
}

.about-btn{
    display:inline-block;
    padding:14px 28px;
    background:linear-gradient(90deg,#6d5cff,#8b5cf6);
    border-radius:12px;
    color:#fff;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

.about-btn:hover{
    transform:translateY(-4px);
}

/* STATS */

.stat-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:15px;
}

.stat-top i{
    font-size:26px;
    color:#7c5cff;
}

.stat-card h3{
    font-size:40px;
    margin:0;
}

.about-stats{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
}

.stat-card{
    background:#101828;
    padding:35px 30px;
    border-radius:20px;
    transition:.3s;
    border:1px solid rgba(255,255,255,.05);
}

.stat-card:hover{
    transform:translateY(-5px);
    border-color:#7c5cff;
}

.stat-card h3{
    font-size:40px;
    margin-bottom:10px;
    color:#fff;
}

.stat-card p{
    color:#bbb;
}

/* SKILLS SECTION */

.skills-section{
    padding:100px 7%;
    background:#050816;
    color:#fff;
    margin-left: 50px;
}

.section-title{
    margin-bottom:50px;
}

.section-title span{
    color:#8b5cf6;
    font-size:14px;
}

.section-title h2{
    font-size:42px;
    margin-top:10px;
}

/* GRID */

.skills-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:0;
}

/* CARD */

.skill-card{
    background:#101828;
    padding:30px 20px;
    border-radius:20px;
    text-align:center;
    transition:.3s;
    border:1px solid rgba(255,255,255,.05);
}

.skill-card:hover{
    transform:translateY(-8px);
    border-color:#7c5cff;
}

.skill-card i{
    font-size:65px;
    margin-bottom:20px;
    color:#7c5cff;
}

.skill-card h3{
    margin-bottom: 20px;
}

/* PROGRESS BAR */

.skill-bar{
    width:100%;
    height:10px;
    background:#1b2435;
    border-radius:20px;
    overflow:hidden;
    position:relative;
}

.skill-progress{
    height:100%;
    background:linear-gradient(90deg,#6d5cff,#8b5cf6);
    border-radius:20px;
    position:relative;
    width: 100%;
}

.skill-progress span{
    position:absolute;
    right:0;
    top: 128px;
    font-size:14px;
    color:#ddd;
}

/* PROJECT SECTION */

.project-section{
    padding:100px 7%;
    background:#050816;
    color:#fff;
    margin-left: 45px;
}

.project-container{
    width: 96%;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:25px;
    
}

/* CARD */

.project-card{
    background:#101828;
    border-radius:24px;
    overflow:hidden;
    transition:.4s;
    border:1px solid rgba(255,255,255,.05);
}

.project-card:hover{
    transform:translateY(-10px);
    border-color:#7c5cff;
}

/* IMAGE */

.project-image{
    overflow:hidden;
}

.project-image img{
    width:100%;
    height:160px;
    object-fit:cover;
    transition:.5s;
}

.project-card:hover img{
    transform:scale(1.08);
}

/* CONTENT */

.project-content{
    padding:25px;
}

.project-content span{
    color:#8b5cf6;
    font-size:14px;
}

.project-content h3{
    font-size:24px;
    margin:15px 0;
}

.project-content p{
    color:#b8b8b8;
    line-height:1.7;
    margin-bottom:25px;
}

.project-content a{
    display:inline-flex;
    align-items:center;
    gap:10px;
    color:#fff;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

.project-content a:hover{
    color:#8b5cf6;
}

.project-content a i{
    transition:.3s;
}

.project-content a:hover i{
    transform:translateX(5px);
}

/* PROJECT CTA SECTION */

.project-cta{
    width: 94%;
    padding:80px 7%;
    background:#050816;
    margin-left: 50px;
}

/* BOX */

.project-cta-box{
    background:linear-gradient(
        90deg,
        #2d2f78,
        #5b4dff
    );

    border-radius:18px;

    padding:35px 45px;

    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:30px;

    position:relative;
    overflow:hidden;
}

/* LEFT CONTENT */

.project-cta-content h2{
    color:#fff;
    font-size:38px;
    margin-bottom:10px;
    font-weight:700;
}

.project-cta-content p{
    color:#d4d4d4;
    font-size:17px;
}

/* BUTTON */

.project-cta-btn{
    background:#020617;
    color:#fff;
    text-decoration:none;

    padding:20px 35px;

    border-radius:14px;

    display:flex;
    align-items:center;
    gap:12px;

    font-weight:600;
    transition:.3s;
    white-space:nowrap;
}

.project-cta-btn:hover{
    transform:translateY(-4px);
    background:#000;
}

.project-cta-btn i{
    font-size:18px;
}


/* FOOTER */

.footer{
    width: 96%;
    background:#050816;
    padding:40px 7%;
    border-top:1px solid rgba(255,255,255,.05);
    margin-left: 40px;
}

/* CONTAINER */

.footer-container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:30px;
    flex-wrap:wrap;
}

/* LOGO */

.footer-logo h2{
    color:#fff;
    font-size:34px;
    font-weight:700;
}

.footer-logo h2 span{
    color:#7c5cff;
}

.footer-logo p{
    color:#a1a1aa;
    margin-top:10px;
    font-size:15px;
}

/* MENU */

.footer-menu{
    display:flex;
    gap:30px;
    flex-wrap:wrap;
}

.footer-menu a{
    color:#d4d4d8;
    text-decoration:none;
    transition:.3s;
    font-size:16px;
}

.footer-menu a:hover{
    color:#8b5cf6;
}

/* SOCIAL */

.footer-social h3{
    color:#fff;
    margin-bottom:15px;
    font-size:18px;
}

.social-icons{
    display:flex;
    gap:15px;
}

.social-icons a{
    width:42px;
    height:42px;
    background:#101828;

    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    color:#fff;
    text-decoration:none;

    transition:.3s;
}

.social-icons a:hover{
    background:#7c5cff;
    transform:translateY(-4px);
}

/* ================= MOBILE MENU ================= */

.menu-toggle{
    display:none;
    font-size:28px;
    color:#fff;
    cursor:pointer;
}

/* ================= RESPONSIVE ================= */

@media(max-width:1200px){

    .hero-left{
        margin-left:0;
    }

    .hero-right img{
        width:100%;
        margin-left:0;
    }

    .about-container{
        grid-template-columns:1fr;
        margin-left:0;
    }

    .skills-section,
    .project-section,
    .project-cta,
    .footer{
        margin-left:0;
        width:100%;
    }
}


/* TABLET */

@media(max-width:992px){

    .container{
        width:90%;
        padding-left:0;
        padding-right:0;
    }

    .hero-wrapper{
        flex-direction:column-reverse;
        text-align:center;
    }

    .hero-left{
        width:100%;
    }

    .hero-right{
        width:100%;
    }

    .hero-right img{
        width:80%;
    }

    .hero-buttons{
        justify-content:center;
        flex-wrap:wrap;
    }

    .tech-icons{
        justify-content:center;
    }

    .about-content{
        text-align:center;
    }

    .about-content p{
        max-width:100%;
    }

    .about-stats{
        grid-template-columns:1fr 1fr;
    }

    .project-cta-box{
        flex-direction:column;
        text-align:center;
    }

    .footer-container{
        flex-direction:column;
        text-align:center;
    }

}


/* MOBILE */

@media(max-width:768px){

    #navbar{
        top:0;
        padding:10px 0;
    }

    .navbar-wrapper{
        padding:15px 0;
    }

    .logo img{
        width:140px;
    }

    .menu-toggle{
        display:block;
    }

    .nav-btn{
        display:none;
    }

    .nav-menu{
        position:absolute;
        top:100%;
        left:0;

        width:100%;

        background:#0f172a;

        flex-direction:column;

        gap:25px;

        padding:30px 0;

        display:none;
    }

    .nav-menu.active{
        display:flex;
    }

    .hero{
        padding-top:130px;
    }

    .hero-left h1{
        font-size:42px;
    }

    .hero-left h3{
        font-size:22px;
    }

    .hero-left p{
        font-size:16px;
    }

    .hero-right img{
        width:100%;
    }

    .about-image img{
        width:100%;
    }

    .experience-box{
        width:120px;
        padding:18px;
    }

    .section-title h2{
        font-size:32px;
    }

    .about-content h2{
        font-size:32px;
    }

    .about-stats{
        grid-template-columns:1fr;
    }

    .skills-container{
        grid-template-columns:1fr;
    }

    .project-container{
        grid-template-columns:1fr;
    }

    .project-cta-content h2{
        font-size:28px;
    }

}


/* SMALL MOBILE */

@media(max-width:480px){

    .hero-left h1{
        font-size:34px;
    }

    .hero-buttons{
        flex-direction:column;
    }

    .primary-btn,
    .secondary-btn{
        width:100%;
        text-align:center;
    }

    .project-cta-btn{
        width:100%;
        justify-content:center;
    }

    .footer-menu{
        justify-content:center;
        gap:15px;
    }

}








