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

body{
font-family:Poppins,sans-serif;
background:#f6f5ef;
color:#222;
}

html{
    scroll-behavior:smooth;
}

@media(max-width:768px){

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

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

}



header{
    display:flex;
    align-items:center;
    padding:15px 60px;
    background:white;
    position:sticky;
    top:0;
}

.logo{
font-size:34px;
font-family:'Cormorant Garamond',serif;
font-weight:bold;
}

nav{
    margin-left:50px;
}
nav a{
margin:0 15px;
text-decoration:none;
color:#444;
}

.header-actions{
    margin-left:auto;
    display:flex;
    align-items:center;
    gap:15px;
}
header .resume-btn{
    background:#59c9b4;
    color:white;
    padding:12px 25px;
    border-radius:8px;
    text-decoration:none;
    margin:0;
}

.header-resume{
background:#59c9b4;
color:white;
padding:12px 25px;
border-radius:8px;
text-decoration:none;
}

.resume-btn{
display:block;
width:180px;
margin:30px auto;
text-align:center;    
background:#59c9b4;
color:white;
padding:12px 20px;
border-radius:40px;
}

.hero{
text-align:center;
padding:100px 20px;
}

.hello{
letter-spacing:4px;
margin-bottom:20px;
}

.hero h1{
font-family:'Cormorant Garamond',serif;
font-size:110px;
line-height:90px;
}

.green{
color:#59c9b4;
}
.black{
color:#1b3a89;
}

.hero h3{
margin-top:25px;
color:#59c9b4;
letter-spacing:2px;
}

.desc{
width:600px;
max-width:90%;
margin:30px auto;
color:#666;
}

.buttons{
margin-top:30px;
}

.primary{
background:#59c9b4;
color:white;
border:none;
padding:10px 30px;
border:2px solid rgba(50, 48, 48, 0.894);
border-radius:40px;
}

.secondary{
background:#59c9b4;
color:white;
padding:10px 30px;
border-radius:40px;
border:2px solid rgba(50, 48, 48, 0.894);
margin-left:10px;
}

#skills{
padding:100px 10%;
background:white;
transition:0.3s ease;
}

#skills h2{
text-align:center;
font-family:'Cormorant Garamond',serif;
font-size:60px;
margin-bottom:50px;
}


.skill-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:30px;
margin: auto;
max-width:1200px;
}

.skill{
padding:25px;
border-radius: 15px;
border-top: 4px solid #59c9b4;
box-shadow: 0 5px 15px rgba(0,0,0,0.8);
}

.skill p{
margin-top:10px;
color:#666;
}

.skill:hover{
    transform:translateY(-8px);
}
.skill h3{
    margin-bottom: 12px;
    color:#222;
}
.resume-section{
padding:100px 10%;
background:#fff;
}

.resume-section h2,
.achievements h2{
text-align:center;
font-size:60px;
font-family:'Cormorant Garamond',serif;
}

.subtitle{
text-align:center;
color:#59c9b4;
margin-bottom:30px;
}

.resume-download{
display:block;
width:150px;
margin:30px auto;
text-align:center;
padding:10px;
background:#59c9b4;
color:white;
text-decoration:none;
border-radius:40px;
}

.resume-grid{
display:flex;
justify-content: space-between;
gap:60px;
margin-top:50px;
}
.resume-box{
    flex:1;
    background:white;
    padding:30px;
    border-radius:20px;
    height:100%;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.timeline{
margin-bottom:35px;
}

.timeline span{
color:#59c9b4;
font-weight:bold;
}

.achievements{
padding:100px 10%;
background:#f5f4ef;
}

.achievement-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
gap:30px;
margin-top:50px;
}

.achievement-card{
background:white;
padding:30px;
border-radius:20px;
box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.profile{
display:flex;
align-items:center;
gap:15px;
margin-top:25px;
}

.circle{
width:50px;
height:50px;
background:#59c9b4;
color:white;
display:flex;
align-items:center;
justify-content:center;
border-radius:50%;
font-weight:bold;
}

.portfolio-section{
    padding:100px 10%;
    background:#f7f5ef;
}

.portfolio-section h2{
    text-align:center;
    font-size:60px;
    font-family:'Cormorant Garamond',serif;
}

.subtitle{
    text-align:center;
    color:#59c9b4;
    margin-bottom:50px;
}

.portfolio-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
    max-width:1200px;
    margin:auto;
}

.project-card{
    background:white;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
    transition:0.3s ease;
}
.project-card:hover{
    transform:translateY(-8px);
}

.project-image{
    height:220px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.project-image h3{
    color:white;
    font-size:42px;
    font-family:'Cormorant Garamond',serif;
}

.purple{
    background:#8a7ab8;
}

.gray{
    background:#b8b8b8;
}

.cream{
    background:#ddd8ca;
}

.project-content{
    padding:25px;
}

.project-content span{
    color:#59c9b4;
    font-size:13px;
    font-weight:bold;
    letter-spacing:2px;
}

.project-content h3{
    margin:12px 0;
}

.project-content p{
    color:#666;
    line-height:1.6;
}

.project-content a{
    display:inline-block;
    margin-top:15px;
    text-decoration:none;
    color:#59c9b4;
    font-weight:bold;
}

.github-btn{
    text-align:center;
    margin-top:40px;
}

.github-btn a{
    text-decoration:none;
    color:black;
    border:2px solid black;
    padding:15px 35px;
    border-radius:40px;
}

@media(max-width:992px){

    .portfolio-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

.contact-section{
    padding:100px 10%;
    background:#f7f5ef;
}

.contact-container{
    display:grid;
    grid-template-columns:400px 1fr;
    gap:40px;
}

.info-card{
    background:white;
    padding:25px;
    border-radius:15px;
    margin-bottom:25px;
    box-shadow:0 5px 15px rgba(0,0,0,0.1);
}

.info-card h4{
    color:#59c9b4;
    letter-spacing:2px;
    margin-bottom:10px;
}

.info-card a{
    color:#222;
    text-decoration:none;
}

.info-card a:hover{
    color:#59c9b4;
}

.contact-form-box{
    background:white;
    padding:40px;
    border-radius:20px;
    box-shadow:0 5px 15px rgba(0,0,0,0.1);
}

.row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
    margin-bottom:20px;
}

label{
    display:block;
    margin-bottom:8px;
    font-size:13px;
    font-weight:600;
    letter-spacing:1px;
}

input,
textarea{
    width:100%;
    padding:15px;
    border:1px solid #ddd;
    border-radius:10px;
    font-size:15px;
}

textarea{
    margin-top:10px;
}

.contact-form-box button{
    margin-top:25px;
    background:#59c9b4;
    color:white;
    border:none;
    padding:15px 35px;
    border-radius:40px;
    cursor:pointer;
}

.footer{
    background:#000;
    color:white;
    text-align:center;
    padding:30px 20px;
}

.social-icons{
    display:flex;
    justify-content:center;
    gap:15px;
    margin:20px 0;
}

.icon{
    width:45px;
    height:45px;
    border-radius:50%;
    background:#25c2b0;
    color:white;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    font-weight:bold;
    font-size:20px;
    transition:0.3s;
}

.icon:hover{
    transform:scale(1.1);
}

.footer p{
    color:#bbb;
    font-size:14px;
}

.theme-btn{
    background:none;
    border:none;
    font-size:22px;
    cursor:pointer;
    color:#222;
}

@media(max-width:900px){

    .contact-container{
        grid-template-columns:1fr;
    }

    .row{
        grid-template-columns:1fr;
    }

}

.dark-mode{
    background:#121212;
    color:white;
}

.dark-mode .black{
   color: rgb(210, 155, 14);
}

.dark-mode header{
    background:#1e1e1e;
}

.dark-mode nav a{
    color:white;
}

.dark-mode #skills,
.dark-mode .portfolio-section,
.dark-mode .resume-section,
.dark-mode .achievements,
.dark-mode .contact-section{
    background:#121212;
}

.dark-mode .skill,
.dark-mode .project-card,
.dark-mode .resume-box,
.dark-mode .achievement-card,
.dark-mode .info-card,
.dark-mode .contact-form-box{
    background:#1e1e1e;
    color:white;
}

.dark-mode .theme-btn{
    color:white;
}
.dark-mode h1,
.dark-mode h2,
.dark-mode h3,
.dark-mode h4{
    color:white;
}

.dark-mode .info-card a{
    color:white;
}

.dark-mode .info-card a:hover{
    color:#59c9b4;
}

@media(max-width:768px){

    header{
        flex-direction:column;
        align-items:center;
        padding:20px;
        gap:15px;
    }

    nav{
        margin-left:0;
        display:flex;
        flex-wrap:wrap;
        justify-content:center;
        gap:10px;
    }

    .header-actions{
        margin-left:0;
        display:flex;
        justify-content:center;
        align-items:center;
        gap:12px;
    }
    
    .hero{
        padding:70px 20px;
    }

    .hero h1{
        font-size:48px;
        line-height:50px;
    }

    .hero h3{
        font-size:20px;
    }

    .desc{
        width:100%;
        font-size:16px;
    }

    .buttons{
        display:flex;
        flex-direction:column;
        align-items:center;
        gap:15px;
    }

    .secondary{
        margin-left:0;
    }

    .skill-grid{
        grid-template-columns:1fr;
    }

    .portfolio-grid{
        grid-template-columns:1fr;
    }
    .resume-grid{
        flex-direction:column;
        gap:25px;
    }
    .achievement-grid{
        grid-template-columns:1fr;
    }

    .contact-container{
        grid-template-columns:1fr;
    }

    .row{
        grid-template-columns:1fr;
    }

    #skills h2,
    .portfolio-section h2,
    .resume-section h2,
    .achievements h2{
        font-size:40px;
    }
}

@media(max-width:768px){

    .project-image h3{
        font-size:30px;
        text-align:center;
        padding:0 15px;
    }

}
