html{
    scroll-behavior:smooth;
}

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

body{
background:#06071b;
color:white;
}

img{
    max-width:100%;
    height:auto;
}

/* NAVBAR */

header{
    display:flex;
    align-items:center;
    padding:20px 8%;
    background:#0d1025;
    position:sticky;
    top:0;
    z-index:1000;
}

.logo{
    font-size:28px;
    font-weight:bold;
    color:white;
    text-decoration:none;
}

.logo span{
    color:#ff7846;
}

nav{
    flex:1;
    display:flex;
    justify-content:center;
}

nav ul{
    display:flex;
    list-style:none;
    gap:40px;
}

nav a{
    text-decoration:none;
    color:white;
    transition:0.3s;
}

/* Active Menu */

nav a.active{
    color:#ff7846;
}

nav a:hover{
    color:#ff7846;
}   

.hire-btn{
    background:#ff7846;
    padding:10px 20px;
    border:none;
    border-radius:30px;
    color:white;
    text-decoration:none;
    display:inline-block;
    cursor:pointer;
}

/* HOME SECTION */

.home{
    min-height:90vh;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:80px 10%;
    gap:50px;
}

.home-content{
    max-width:600px;
}

.home-content h3{
    color:#ccc;
    font-size:24px;
}

.home-content h1{
    font-size:70px;
    margin:10px 0;
}

.home-content h2{
    color:#ff7846;
    font-size:35px;
    min-height:50px;
}

.home-content p{
    color:#ddd;
    line-height:1.8;
    margin:20px 0;
}

.home-buttons{
    display:flex;
    gap:20px;
    margin-top:20px;
}

.home-image img{
    width:350px;
    height:350px;
    border-radius:50%;
    border:6px solid #ff7846;
    object-fit:cover;
}

/* HERO */

.hero{
padding:80px 10%;
}

.hero h1{
text-align:center;
margin-bottom:50px;
}

.about-container{
display:flex;
justify-content:center;
align-items:center;
gap:80px;
flex-wrap:wrap;
}

.image-box{
position:relative;
}

.image-box img{
    width:280px;
    height:280px;
    border-radius:50%;
    object-fit:cover;
    border:6px solid #ff7846;
    display:block;
}

.circle1{
width:60px;
height:60px;
background:#ff7846;
border-radius:50%;
position:absolute;
top:20px;
left:-20px;
}

.circle2{
width:35px;
height:35px;
background:#ffd166;
border-radius:50%;
position:absolute;
bottom:40px;
right:-15px;
}

.content{
max-width:500px;
}

.content h2{
font-size:40px;
}

.content h3{
color:#ff7846;
margin:10px 0;
}

.info-box{
display:grid;
grid-template-columns:1fr 1fr;
gap:15px;
margin-top:20px;
background:#10142e;
padding:20px;
border-radius:10px;
}

/* CONTACT BUTTONS */

.contact-buttons{
    display:flex;
    gap:20px;
    margin-top:20px;
    flex-wrap:wrap;
}

.btn{
    text-decoration:none;
    padding:12px 30px;
    border-radius:30px;
    font-weight:600;
    display:inline-block;
    transition:0.3s;
}

.contact-btn{
    border:2px solid #ff7846;
    color:#ff7846;
    background:transparent;
}

.contact-btn:hover{
    background:#ff7846;
    color:white;
}

.resume-btn{
    border:2px solid #ff7846;
    color:#ff7846;
    background:transparent;
}

.resume-btn:hover{
    background:#ff7846;
    color:white;
}

/* EDUCATION */

.education{
    padding:80px 10%;
    text-align:center;
}

.education h2{
    margin-bottom:40px;
    color:#fff;
}

.education-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:25px;
}

.education-card{
    background:#10142e;
    padding:25px;
    border-radius:15px;
    transition:0.3s;
}

.education-card:hover{
    transform:translateY(-8px);
    box-shadow:0 0 20px rgba(255,120,70,0.4);
}

.education-card h3{
    color:#ff7846;
    margin-bottom:10px;
}

.education-card p{
    color:#ddd;
    line-height:1.6;
}

/* SKILLS */

.skills{
padding:80px 10%;
text-align:center;
}

.skill-container{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:20px;
margin-top:40px;
}

.skill-card{
background:#10142e;
padding:25px;
border-radius:10px;
}

.skill-card i{
font-size:40px;
color:#ff7846;
margin-bottom:10px;
}

.progress{
    width:100%;
    height:10px;
    background:#222;
    border-radius:20px;
    overflow:hidden;
    margin-top:15px;
}

.progress span{
    display:block;
    height:100%;
    background:#ff7846;
    border-radius:20px;
}

/* PROJECTS */

.projects{
    padding:80px 10%;
    background:#06071b;
    text-align:center;
}

.projects h2{
    color:#fff;
    margin-bottom:40px;
}

.project-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:25px;
}

.project-card{
    background:#10142e;
    border-radius:15px;
    overflow:hidden;
    transition:0.4s;
    box-shadow:0 0 15px rgba(0,0,0,0.2);
}

.project-card:hover{
    transform:translateY(-10px);
    box-shadow:0 0 20px rgba(255,120,70,0.5);
}

.project-card img{
    width:100%;
    height:250px;
    object-fit:cover;
    display:block;
}

.project-card h3{
    color:#ff7846;
    padding:15px 15px 10px;
    font-size:24px;
}

.project-card p{
    color:#ddd;
    padding:0 15px 20px;
    font-size:16px;
    line-height:1.5;
}

/* CONTACT */

.contact{
    padding:80px 10%;
    text-align:center;
    min-height:80vh;
}

.contact-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
    margin-top:40px;
}

/* RESPONSIVE */

@media(max-width:768px){

    header{
        flex-direction:column;
        gap:15px;
        padding:15px;
    }

    .logo{
        font-size:24px;
    }

    nav ul{
        flex-wrap:wrap;
        justify-content:center;
        gap:15px;
    }

    nav a{
        font-size:14px;
    }

    .home{
        flex-direction:column-reverse;
        text-align:center;
        padding:40px 5%;
    }

    .home-content h1{
        font-size:38px;
    }

    .home-content h2{
        font-size:24px;
    }

    .home-content h3{
        font-size:20px;
    }

    .home-image img{
        width:220px;
        height:220px;
    }

    .home-buttons{
        justify-content:center;
        flex-wrap:wrap;
    }

    .about-container{
        flex-direction:column;
        gap:40px;
    }

    .content{
        text-align:center;
    }

    .content h2{
        font-size:30px;
    }

    .education-container,
    .skill-container,
    .project-container,
    .contact-container{
        grid-template-columns:1fr;
    }

    .education-card,
    .skill-card,
    .project-card,
    .contact-card{
        width:100%;
    }

    .project-card img{
        height:200px;
    }

    .feedback-form{
        width:100%;
    }

    .feedback-form input,
    .feedback-form textarea{
        width:100%;
    }

    .popup-box{
        width:90%;
        padding:40px 20px;
    }

    footer{
        padding:25px 15px;
    }

}

.contact-card{
    background:#10142e;
    padding:30px;
    border-radius:15px;
    text-align:center;
    transition:0.3s;
    text-decoration:none;
    color:white;
}

.contact-card{
    word-wrap:break-word;
}

.contact-card:hover{
    transform:translateY(-10px);
    box-shadow:0 0 20px rgba(255,120,70,0.4);
}

.contact-card i{
    font-size:40px;
    color:#ff7846;
    margin-bottom:15px;
}

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

.contact-card p,
.contact-card a{
    color:#ddd;
    text-decoration:none;
}  
 

/* FEEDBACK FORM */

.feedback-form{
    max-width:800px;
    margin:50px auto;
    display:flex;
    flex-direction:column;
    gap:15px;
}

.feedback-form input,
.feedback-form textarea{
    padding:15px;
    border:none;
    border-radius:10px;
    background:#10142e;
    color:white;
    font-size:16px;
}

.feedback-form textarea{
    resize:none;
}

.feedback-form button{
    background:#ff7846;
    color:white;
    border:none;
    padding:15px;
    border-radius:30px;
    cursor:pointer;
    font-size:16px;
    font-weight:600;
}

.feedback-form button:hover{
    opacity:0.9;
}

.success-popup{
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.7);
    justify-content:center;
    align-items:center;
    z-index:9999;
}

.popup-box{
    width:350px;
    background:#10142e;
    padding:50px 30px 30px;
    border-radius:20px;
    text-align:center;
    position:relative;
    box-shadow:0 0 25px rgba(255,120,70,0.4);
}

.check-circle{
    position:absolute;
    top:-35px;
    left:50%;
    transform:translateX(-50%);
    width:70px;
    height:70px;
    background:#ff7846;
    color:white;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:40px;
    font-weight:bold;
}

.popup-box h2{
    color:white;
    margin-bottom:15px;
}

.popup-box p{
    color:#dcdcdc;
    margin-bottom:25px;
}

.popup-box button{
    width:100%;
    padding:12px;
    border:none;
    border-radius:8px;
    background:#ff7846;
    color:white;
    font-size:16px;
    font-weight:600;
    cursor:pointer;
}

.popup-box button:hover{
    opacity:0.9;
}

/* FOOTER */

footer{
background:#0d1025;
padding:40px;
text-align:center;
margin-top:50px;
}
