@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

:root{
    --body-color:#fafafa;
    --white:#fff;

    --text-dark:#222;
    --text-light:#666;
    --primary:#6e57e0;
    --primary-hover:#4a3ecf;
    --accent:#00c9ff;

    --shadow:0 10px 30px rgba(0,0,0,0.08);
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins', sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:var(--body-color);
}

.btn{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:10px 20px;
    background:#111;
    color:#fff;
    border:none;
    border-radius:10px;
    text-decoration:none;
    cursor:pointer;
    transition:0.3s;
}

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

.blue-btn{
    background:var(--primary);
}

.blue-btn:hover{
    background:var(--primary-hover);
}

nav{
    position:fixed;
    width:100%;
    height:80px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:0 8%;
    background:rgba(255,255,255,0.9);
    backdrop-filter:blur(10px);
    z-index:100;
}

.nav-logo{
    display:flex;
    align-items:center;
    font-size:28px;
    font-weight:600;
}

.nav-logo span{
    color:var(--primary);
}

.nav-menu{
    display:flex;
}

.nav_menu_list{
    display:flex;
    list-style:none;
}

.nav-link{
    text-decoration:none;
    margin:0 15px;
    color:var(--text-light);
    position:relative;
    transition:0.3s;
}

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

.nav-link::after{
    content:'';
    position:absolute;
    bottom:-5px;
    left:0;
    width:0;
    height:2px;
    background:#ff3b30;
    transition:0.3s;
}

.nav-link:hover::after,
.nav-link.active::after{
    width:100%;
}

.nav-link.active{
    color:#ff3b30;
}

.dark-btn{
    margin-left:10px;
    width:40px;
    height:40px;
    border:none;
    border-radius:50%;
    background:#111;
    color:#fff;
    cursor:pointer;
}


.wrapper{
    padding-top:100px;
}

.featured-box{
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:100vh;
    padding:0 8%;
}

.featured-name{
    font-size:55px;
    font-weight:700;
    color:var(--text-dark);
}

.featured-text-info{
    margin:15px 0;
    color:var(--text-light);
}

.featured-text-btn{
    display:flex;
    gap:15px;
    margin-top:15px;
}


.social_icons{
    display:flex;
    gap:15px;
    margin-top:20px;
}

.icon{
    width:45px;
    height:45px;
    border-radius:50%;
    background:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    box-shadow:var(--shadow);
    cursor:pointer;
    transition:0.3s;
}

.icon:hover{
    transform:translateY(-5px);
    background:var(--primary);
    color:#fff;
}

.featured-image{
    display:flex;
    justify-content:center;
}

.image{
    width:300px;
    height:300px;
    border-radius:50%;
    overflow:hidden;
    animation:float 5s ease-in-out infinite;
}

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

@keyframes float{
    50%{transform:translateY(10px);}
}


.section{
    padding:80px 8%;
}

.top-header{
    text-align:center;
    margin-bottom:50px;
}

.row{
    display:flex;
    gap:30px;
}

.col{
    width:50%;
}

.about-info{
    background:#fff;
    padding:25px;
    border-radius:15px;
    box-shadow:var(--shadow);
    text-align:center;
}

.skills-box{
    margin-bottom:20px;
}

.skills-list span{
    display:inline-block;
    background:var(--primary);
    color:#fff;
    padding:5px 10px;
    margin:5px;
    border-radius:5px;
}

.project-container{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
}

.project-box{
    width:48%;
    background:#fff;
    padding:25px;
    border-radius:15px;
    box-shadow:var(--shadow);
    transition:0.3s;
}

.project-box:hover{
    transform:translateY(-10px) scale(1.02);
}

.contact-info{
    background:var(--accent);
    color:#fff;
    padding:30px;
    border-radius:15px;
}

.form-control{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.form-inputs{
    display:flex;
    gap:10px;
}

.input-field,
.textarea{
    width:100%;
    padding:12px;
    border:1px solid #ddd;
    border-radius:10px;
    outline:none;
}

.textarea{
    height:150px;
}


footer{
    text-align:center;
    padding:20px;
    background:#111;
    color:#fff;
}


@media(max-width:900px){
    .featured-box{
        flex-direction:column;
        text-align:center;
    }

    .row{
        flex-direction:column;
    }

    .col{
        width:100%;
    }

    .project-box{
        width:100%;
    }

    .form-inputs{
        flex-direction:column;
    }

    .image{
        animation:none;
    }
}

body.dark-mode{
    background:#0f172a;
    color:#fff;
}

body.dark-mode nav{
    background:#1e293b;
}

body.dark-mode .project-box,
body.dark-mode .about-info{
    background:#1e293b;
}

body.dark-mode .btn{
    background:#2563eb;
}

body.dark-mode .icon{
    background: #1e293b;
    color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}
body.dark-mode .featured-name{
    color:#fff;
    text-shadow:0 0 20px rgba(110,87,224,0.4);
}


body.dark-mode .icon:hover{
    background: var(--primary);
    color: #fff;
}
@media(max-width:900px){
    nav{
    transition: all 0.3s ease;
}
    .nav-menu{
        position:fixed;
        top:80px;
        left:0;
        width:100%;
        height:100vh;
        background:#fff;
        display:flex;
        justify-content:center;
        align-items:center;
        transform:translateX(-100%);
        transition:0.3s;
    }

    .nav-menu.responsive{
        transform:translateX(0);
    }

    .nav_menu_list{
        flex-direction:column;
        gap:30px;
    }
}