*{
    padding:0;
    margin:0;
    box-sizing:border-box;
}
body{
    background-color: #1e1e1e;
    font-family: sans-serif;
    color: #a0a0a0;
    line-height: 1.6;
}
.main-container{
    max-width:1200px;
    display:grid;
    grid-template-columns: 350px 1fr;
    gap:50px;
    margin:auto;
    padding-top:40px;
}
.sidebar{
    height:90vh;
    background-color:#2a2a2a;
    border: 1px solid #3a3a3a;
    border-radius: 16px;
    padding: 40px;
    position: sticky;
    top: 40px;
}
.main-content{
     background-color:#2a2a2a;
    border: 1px solid #3a3a3a;
    border-radius: 16px;
    padding: 40px;
}
/* Profile section */
.profile{
    text-align:center
}
.profile img{
     height: 120px;
    width: 120px;
    border-radius: 50%;
    border: 1px solid #3a3a3a;
}
.profile h2{
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 20px;
    color: #e0e0e0;
}
/* .profile p{
    background-color: #1e1e1e;
    padding: 5px 15px;
    color: #FFBF00;
    border: 1px solid #3a3a3a;
    font-size: 0.8rem;
    border-radius: 8px;
    display: inline-block;
    margin-top: 10px;
} */
 .profile .role {
    background-color: #1e1e1e;
    padding: 5px 15px;
    color: #FFBF00;
    border: 1px solid #3a3a3a;
    font-size: 0.8rem;
    border-radius: 8px;
    display: inline-block;
    margin-top: 10px;
}

.profile .Resume {
    
    background-color: #1e1e1e;      /* Yellow button */
    color: #FFBF00;                 /* Black text */
    padding: 5px 15px;
     font-size: 0.8rem;
    border-radius: 8px;
    display: inline-block;
    margin-top: 10px;
    text-decoration: none;          /* Remove underline */
    border: 1px solid #3a3a3a;
    transition: 0.3s ease;
}

.profile .Resume:hover {
    background-color: #e0a900;      /* Slight hover darker */
    color: #1e1e1e;
}
/* contact information */

.contact{
    margin-top:50px;
    border-top: 2px solid #3a3a3a;
    padding-top:20px;

}
.label{
    font-weight: 500;
    font-size: 0.8rem;
    color: #a0a0a0;
}
.value{
    color: #e0e0e0;
    text-decoration: none;
}
.contact label{
    text-decoration: none;
  
}
.email,.phone{
margin-bottom:15px;
text-decoration: none;

}

/* social media */
.social{
    margin-top:30px;
    border-top: 2px solid #3a3a3a;
    padding:20px;
    text-align:center;
}
.social img{
    height: 24px;
    width: 24px;
    margin-left: 5px;
    filter: grayscale(1) invert(0.7);
    transition: filter 0.3s ease;
}
.social img:hover{
    filter: grayscale(0) invert(0);
}
/* main content */

/* navigation section*/

#navigation{
    border-bottom: 2px solid #3a3a3a;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

nav{
    display:flex;
    justify-content: flex-end;
    gap:20px;
}
nav a{
    text-decoration: none;
    color: #a0a0a0;
    font-weight: 500;
    transition: color 0.3s ease;
}
.active,nav a:hover{
    color: #FFBF00
}

/* about me */
.heading{
     color: #e0e0e0;
    font-size: 2rem;
    margin-bottom: 15px;
}
.line{
    width:60px;
    height:5px;
    background-color: #FFBF00;
    margin-bottom:15px;
}
.content{
    text-align:justify;
    color: #a0a0a0;
}
#about{
    margin-bottom: 40px;
}


/* skills section */
.grid-container{
    display:grid;
    grid-template-columns: repeat(auto-fit,minmax(120px,1fr));
    gap:30px;
}
.item{
padding:20px;
border-radius:10px;
border: 4px solid #3a3a3a;
background-color: #1e1e1e;
text-align: center;
margin-top: 20px;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.item img{
    height: 48px;
    width: 48px;
    filter: invert(75%) sepia(50%) saturate(1000%) hue-rotate(350deg) brightness(110%) contrast(101%);
    margin-bottom: 15px;
}
.item h3{
    font-size: 1rem;
    font-weight:500;
}
.item:hover{
    transform: scale(1.1);
    box-shadow: 0px 0px 10px 5px rgba(0,0,0,0.3); 
}
/* Education Section */
#education{
    margin-top:40px;
}
.edtech{
position:relative;
margin-top:20px;
margin-bottom:40px;
}
.year{
     font-size: 0.9rem;
    color: #a0a0a0;
    margin-bottom: 5px;
}
.degree{
     color: #e0e0e0;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 5px;
}
.college{
        font-style: italic;
    color: #a0a0a0;
    margin-bottom: 10px;
}
.work{
 color: #a0a0a0;
}
.edfirst{
    position:relative;
    /* margin-bottom:20px; */
    padding-left:25px;    
}
.goal{
    height:15px;
    width:15px;
    border-radius:50%;
    border: 3px solid #FFBF00;
    position: absolute;
    top:0px;    
    left:2px;
    z-index:5;
}
.liner{
width: 2px;
border: 2px solid #3a3a3a;
position:absolute;
top:0px;
bottom:0px;
left:5px;
}

/* Projects */
.project-container{
    margin-top:30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap:25px;
}

.project-item{
    background-color: #1e1e1e;
    border-radius: 12px;
    border: 1px solid #3a3a3a;
    overflow: hidden;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.project-item:hover{
    transform: translateY(-10px);
    box-shadow: 0px 0px 10px 5px rgba(0,0,0,0.3);
}
.project-item img{
    height: 180px;
    width: 100%;
    object-fit: cover;
}
.card{
    padding:20px;
}
.card h3{
    color: #e0e0e0;
    margin-bottom: 10px;
}
.card p{
    color: #a0a0a0;
    line-height: 1.6;
    margin-bottom: 15px;
}
.card span{
    background-color: rgba(255, 191, 0, 0.1);
    color: #FFBF00;
    padding: 4px 8px;
    border-radius: 5px;
    font-size: 0.75rem;
    margin-right: 5px;
}

#certifications{
    margin-top:40px;
}
.cert-list{
    font-family: inherit;     /* Use same font as other text */
    font-size: 0.9rem;        /* Match your project text size */
    color: #dcdcdc;           /* Match project text color */
    font-weight: 400;         /* Normal weight */
    line-height: 1.6;
}

@media screen and (max-width:1200px){
    .main-container{
        grid-template-columns: 1fr;
        padding:40px;
    }
    .sidebar{
        position:static;
        height:auto;
    }
}
@media screen and (max-width:750px){
    .project-container{
        grid-template-columns: 1fr;
    }

    #navigation nav{
        display:flex;
        justify-content:center;
        flex-wrap:wrap;
    }
    .sidebar{
        display:flex;
        justify-content:center;
        gap:40px;
    }
}